Versions in this module Expand all Collapse all v2 v2.0.1 Nov 7, 2022 v2.0.0 Nov 7, 2022 Changes in this version + var ContextAPIKeys = contextKey("apiKeys") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextHttpSignatureAuth = contextKey("httpsignature") + var ContextOAuth2 = contextKey("token") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + DomainsApi *DomainsApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiGetByIDRequest struct + ApiService *DomainsApiService + func (r ApiGetByIDRequest) Execute() (*Domain, *http.Response, error) + type ApiGetPageRequest struct + ApiService *DomainsApiService + func (r ApiGetPageRequest) After(after string) ApiGetPageRequest + func (r ApiGetPageRequest) Archived(archived bool) ApiGetPageRequest + func (r ApiGetPageRequest) CreatedAfter(createdAfter time.Time) ApiGetPageRequest + func (r ApiGetPageRequest) CreatedAt(createdAt time.Time) ApiGetPageRequest + func (r ApiGetPageRequest) CreatedBefore(createdBefore time.Time) ApiGetPageRequest + func (r ApiGetPageRequest) Execute() (*CollectionResponseWithTotalDomainForwardPaging, *http.Response, error) + func (r ApiGetPageRequest) Limit(limit int32) ApiGetPageRequest + func (r ApiGetPageRequest) Sort(sort []string) ApiGetPageRequest + func (r ApiGetPageRequest) UpdatedAfter(updatedAfter time.Time) ApiGetPageRequest + func (r ApiGetPageRequest) UpdatedAt(updatedAt time.Time) ApiGetPageRequest + func (r ApiGetPageRequest) UpdatedBefore(updatedBefore time.Time) ApiGetPageRequest + type BasicAuth struct + Password string + UserName string + type CollectionResponseWithTotalDomainForwardPaging struct + Paging *ForwardPaging + Results []Domain + Total int32 + func NewCollectionResponseWithTotalDomainForwardPaging(total int32, results []Domain) *CollectionResponseWithTotalDomainForwardPaging + func NewCollectionResponseWithTotalDomainForwardPagingWithDefaults() *CollectionResponseWithTotalDomainForwardPaging + func (o *CollectionResponseWithTotalDomainForwardPaging) GetPaging() ForwardPaging + func (o *CollectionResponseWithTotalDomainForwardPaging) GetPagingOk() (*ForwardPaging, bool) + func (o *CollectionResponseWithTotalDomainForwardPaging) GetResults() []Domain + func (o *CollectionResponseWithTotalDomainForwardPaging) GetResultsOk() ([]Domain, bool) + func (o *CollectionResponseWithTotalDomainForwardPaging) GetTotal() int32 + func (o *CollectionResponseWithTotalDomainForwardPaging) GetTotalOk() (*int32, bool) + func (o *CollectionResponseWithTotalDomainForwardPaging) HasPaging() bool + func (o *CollectionResponseWithTotalDomainForwardPaging) SetPaging(v ForwardPaging) + func (o *CollectionResponseWithTotalDomainForwardPaging) SetResults(v []Domain) + func (o *CollectionResponseWithTotalDomainForwardPaging) SetTotal(v int32) + func (o CollectionResponseWithTotalDomainForwardPaging) MarshalJSON() ([]byte, error) + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type Domain struct + CorrectCname *string + Created *time.Time + Domain string + Id string + IsResolving bool + IsSslEnabled *bool + IsSslOnly *bool + IsUsedForBlogPost bool + IsUsedForEmail bool + IsUsedForKnowledge bool + IsUsedForLandingPage bool + IsUsedForSitePage bool + ManuallyMarkedAsResolving *bool + PrimaryBlogPost *bool + PrimaryEmail *bool + PrimaryKnowledge *bool + PrimaryLandingPage *bool + PrimarySitePage *bool + SecondaryToDomain *string + Updated *time.Time + func NewDomain(id string, domain string, isResolving bool, isUsedForBlogPost bool, ...) *Domain + func NewDomainWithDefaults() *Domain + func (o *Domain) GetCorrectCname() string + func (o *Domain) GetCorrectCnameOk() (*string, bool) + func (o *Domain) GetCreated() time.Time + func (o *Domain) GetCreatedOk() (*time.Time, bool) + func (o *Domain) GetDomain() string + func (o *Domain) GetDomainOk() (*string, bool) + func (o *Domain) GetId() string + func (o *Domain) GetIdOk() (*string, bool) + func (o *Domain) GetIsResolving() bool + func (o *Domain) GetIsResolvingOk() (*bool, bool) + func (o *Domain) GetIsSslEnabled() bool + func (o *Domain) GetIsSslEnabledOk() (*bool, bool) + func (o *Domain) GetIsSslOnly() bool + func (o *Domain) GetIsSslOnlyOk() (*bool, bool) + func (o *Domain) GetIsUsedForBlogPost() bool + func (o *Domain) GetIsUsedForBlogPostOk() (*bool, bool) + func (o *Domain) GetIsUsedForEmail() bool + func (o *Domain) GetIsUsedForEmailOk() (*bool, bool) + func (o *Domain) GetIsUsedForKnowledge() bool + func (o *Domain) GetIsUsedForKnowledgeOk() (*bool, bool) + func (o *Domain) GetIsUsedForLandingPage() bool + func (o *Domain) GetIsUsedForLandingPageOk() (*bool, bool) + func (o *Domain) GetIsUsedForSitePage() bool + func (o *Domain) GetIsUsedForSitePageOk() (*bool, bool) + func (o *Domain) GetManuallyMarkedAsResolving() bool + func (o *Domain) GetManuallyMarkedAsResolvingOk() (*bool, bool) + func (o *Domain) GetPrimaryBlogPost() bool + func (o *Domain) GetPrimaryBlogPostOk() (*bool, bool) + func (o *Domain) GetPrimaryEmail() bool + func (o *Domain) GetPrimaryEmailOk() (*bool, bool) + func (o *Domain) GetPrimaryKnowledge() bool + func (o *Domain) GetPrimaryKnowledgeOk() (*bool, bool) + func (o *Domain) GetPrimaryLandingPage() bool + func (o *Domain) GetPrimaryLandingPageOk() (*bool, bool) + func (o *Domain) GetPrimarySitePage() bool + func (o *Domain) GetPrimarySitePageOk() (*bool, bool) + func (o *Domain) GetSecondaryToDomain() string + func (o *Domain) GetSecondaryToDomainOk() (*string, bool) + func (o *Domain) GetUpdated() time.Time + func (o *Domain) GetUpdatedOk() (*time.Time, bool) + func (o *Domain) HasCorrectCname() bool + func (o *Domain) HasCreated() bool + func (o *Domain) HasIsSslEnabled() bool + func (o *Domain) HasIsSslOnly() bool + func (o *Domain) HasManuallyMarkedAsResolving() bool + func (o *Domain) HasPrimaryBlogPost() bool + func (o *Domain) HasPrimaryEmail() bool + func (o *Domain) HasPrimaryKnowledge() bool + func (o *Domain) HasPrimaryLandingPage() bool + func (o *Domain) HasPrimarySitePage() bool + func (o *Domain) HasSecondaryToDomain() bool + func (o *Domain) HasUpdated() bool + func (o *Domain) SetCorrectCname(v string) + func (o *Domain) SetCreated(v time.Time) + func (o *Domain) SetDomain(v string) + func (o *Domain) SetId(v string) + func (o *Domain) SetIsResolving(v bool) + func (o *Domain) SetIsSslEnabled(v bool) + func (o *Domain) SetIsSslOnly(v bool) + func (o *Domain) SetIsUsedForBlogPost(v bool) + func (o *Domain) SetIsUsedForEmail(v bool) + func (o *Domain) SetIsUsedForKnowledge(v bool) + func (o *Domain) SetIsUsedForLandingPage(v bool) + func (o *Domain) SetIsUsedForSitePage(v bool) + func (o *Domain) SetManuallyMarkedAsResolving(v bool) + func (o *Domain) SetPrimaryBlogPost(v bool) + func (o *Domain) SetPrimaryEmail(v bool) + func (o *Domain) SetPrimaryKnowledge(v bool) + func (o *Domain) SetPrimaryLandingPage(v bool) + func (o *Domain) SetPrimarySitePage(v bool) + func (o *Domain) SetSecondaryToDomain(v string) + func (o *Domain) SetUpdated(v time.Time) + func (o Domain) MarshalJSON() ([]byte, error) + type DomainsApiService service + func (a *DomainsApiService) GetByID(ctx context.Context, domainId string) ApiGetByIDRequest + func (a *DomainsApiService) GetByIDExecute(r ApiGetByIDRequest) (*Domain, *http.Response, error) + func (a *DomainsApiService) GetPage(ctx context.Context) ApiGetPageRequest + func (a *DomainsApiService) GetPageExecute(r ApiGetPageRequest) (*CollectionResponseWithTotalDomainForwardPaging, *http.Response, error) + type Error struct + Category string + Context *map[string][]string + CorrelationId string + Errors []ErrorDetail + Links *map[string]string + Message string + SubCategory *string + func NewError(message string, correlationId string, category string) *Error + func NewErrorWithDefaults() *Error + func (o *Error) GetCategory() string + func (o *Error) GetCategoryOk() (*string, bool) + func (o *Error) GetContext() map[string][]string + func (o *Error) GetContextOk() (*map[string][]string, bool) + func (o *Error) GetCorrelationId() string + func (o *Error) GetCorrelationIdOk() (*string, bool) + func (o *Error) GetErrors() []ErrorDetail + func (o *Error) GetErrorsOk() ([]ErrorDetail, bool) + func (o *Error) GetLinks() map[string]string + func (o *Error) GetLinksOk() (*map[string]string, bool) + func (o *Error) GetMessage() string + func (o *Error) GetMessageOk() (*string, bool) + func (o *Error) GetSubCategory() string + func (o *Error) GetSubCategoryOk() (*string, bool) + func (o *Error) HasContext() bool + func (o *Error) HasErrors() bool + func (o *Error) HasLinks() bool + func (o *Error) HasSubCategory() bool + func (o *Error) SetCategory(v string) + func (o *Error) SetContext(v map[string][]string) + func (o *Error) SetCorrelationId(v string) + func (o *Error) SetErrors(v []ErrorDetail) + func (o *Error) SetLinks(v map[string]string) + func (o *Error) SetMessage(v string) + func (o *Error) SetSubCategory(v string) + func (o Error) MarshalJSON() ([]byte, error) + type ErrorDetail struct + Code *string + Context *map[string][]string + In *string + Message string + SubCategory *string + func NewErrorDetail(message string) *ErrorDetail + func NewErrorDetailWithDefaults() *ErrorDetail + func (o *ErrorDetail) GetCode() string + func (o *ErrorDetail) GetCodeOk() (*string, bool) + func (o *ErrorDetail) GetContext() map[string][]string + func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool) + func (o *ErrorDetail) GetIn() string + func (o *ErrorDetail) GetInOk() (*string, bool) + func (o *ErrorDetail) GetMessage() string + func (o *ErrorDetail) GetMessageOk() (*string, bool) + func (o *ErrorDetail) GetSubCategory() string + func (o *ErrorDetail) GetSubCategoryOk() (*string, bool) + func (o *ErrorDetail) HasCode() bool + func (o *ErrorDetail) HasContext() bool + func (o *ErrorDetail) HasIn() bool + func (o *ErrorDetail) HasSubCategory() bool + func (o *ErrorDetail) SetCode(v string) + func (o *ErrorDetail) SetContext(v map[string][]string) + func (o *ErrorDetail) SetIn(v string) + func (o *ErrorDetail) SetMessage(v string) + func (o *ErrorDetail) SetSubCategory(v string) + func (o ErrorDetail) MarshalJSON() ([]byte, error) + type ForwardPaging struct + Next *NextPage + func NewForwardPaging() *ForwardPaging + func NewForwardPagingWithDefaults() *ForwardPaging + func (o *ForwardPaging) GetNext() NextPage + func (o *ForwardPaging) GetNextOk() (*NextPage, bool) + func (o *ForwardPaging) HasNext() bool + func (o *ForwardPaging) SetNext(v NextPage) + func (o ForwardPaging) MarshalJSON() ([]byte, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type NextPage struct + After string + Link *string + func NewNextPage(after string) *NextPage + func NewNextPageWithDefaults() *NextPage + func (o *NextPage) GetAfter() string + func (o *NextPage) GetAfterOk() (*string, bool) + func (o *NextPage) GetLink() string + func (o *NextPage) GetLinkOk() (*string, bool) + func (o *NextPage) HasLink() bool + func (o *NextPage) SetAfter(v string) + func (o *NextPage) SetLink(v string) + func (o NextPage) MarshalJSON() ([]byte, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableCollectionResponseWithTotalDomainForwardPaging struct + func NewNullableCollectionResponseWithTotalDomainForwardPaging(val *CollectionResponseWithTotalDomainForwardPaging) *NullableCollectionResponseWithTotalDomainForwardPaging + func (v *NullableCollectionResponseWithTotalDomainForwardPaging) Set(val *CollectionResponseWithTotalDomainForwardPaging) + func (v *NullableCollectionResponseWithTotalDomainForwardPaging) UnmarshalJSON(src []byte) error + func (v *NullableCollectionResponseWithTotalDomainForwardPaging) Unset() + func (v NullableCollectionResponseWithTotalDomainForwardPaging) Get() *CollectionResponseWithTotalDomainForwardPaging + func (v NullableCollectionResponseWithTotalDomainForwardPaging) IsSet() bool + func (v NullableCollectionResponseWithTotalDomainForwardPaging) MarshalJSON() ([]byte, error) + type NullableDomain struct + func NewNullableDomain(val *Domain) *NullableDomain + func (v *NullableDomain) Set(val *Domain) + func (v *NullableDomain) UnmarshalJSON(src []byte) error + func (v *NullableDomain) Unset() + func (v NullableDomain) Get() *Domain + func (v NullableDomain) IsSet() bool + func (v NullableDomain) MarshalJSON() ([]byte, error) + type NullableError struct + func NewNullableError(val *Error) *NullableError + func (v *NullableError) Set(val *Error) + func (v *NullableError) UnmarshalJSON(src []byte) error + func (v *NullableError) Unset() + func (v NullableError) Get() *Error + func (v NullableError) IsSet() bool + func (v NullableError) MarshalJSON() ([]byte, error) + type NullableErrorDetail struct + func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail + func (v *NullableErrorDetail) Set(val *ErrorDetail) + func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error + func (v *NullableErrorDetail) Unset() + func (v NullableErrorDetail) Get() *ErrorDetail + func (v NullableErrorDetail) IsSet() bool + func (v NullableErrorDetail) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableForwardPaging struct + func NewNullableForwardPaging(val *ForwardPaging) *NullableForwardPaging + func (v *NullableForwardPaging) Set(val *ForwardPaging) + func (v *NullableForwardPaging) UnmarshalJSON(src []byte) error + func (v *NullableForwardPaging) Unset() + func (v NullableForwardPaging) Get() *ForwardPaging + func (v NullableForwardPaging) IsSet() bool + func (v NullableForwardPaging) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableNextPage struct + func NewNullableNextPage(val *NextPage) *NullableNextPage + func (v *NullableNextPage) Set(val *NextPage) + func (v *NullableNextPage) UnmarshalJSON(src []byte) error + func (v *NullableNextPage) Unset() + func (v NullableNextPage) Get() *NextPage + func (v NullableNextPage) IsSet() bool + func (v NullableNextPage) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string