Documentation ¶
Index ¶
- Variables
- 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
- type APIKey
- type APIResponse
- type ApiCreateDomainRequest
- func (r ApiCreateDomainRequest) Accept(accept string) ApiCreateDomainRequest
- func (r ApiCreateDomainRequest) ContentType(contentType string) ApiCreateDomainRequest
- func (r ApiCreateDomainRequest) CreateDomainRequest(createDomainRequest CreateDomainRequest) ApiCreateDomainRequest
- func (r ApiCreateDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
- type ApiDelDomainRequest
- type ApiGetDomainRequest
- type ApiGetDomainsRequest
- func (r ApiGetDomainsRequest) Accept(accept string) ApiGetDomainsRequest
- func (r ApiGetDomainsRequest) Execute() (*DomainResponseWithResults, *http.Response, error)
- func (r ApiGetDomainsRequest) Filter(filter string) ApiGetDomainsRequest
- func (r ApiGetDomainsRequest) OrderBy(orderBy string) ApiGetDomainsRequest
- func (r ApiGetDomainsRequest) Page(page int64) ApiGetDomainsRequest
- func (r ApiGetDomainsRequest) PageSize(pageSize int64) ApiGetDomainsRequest
- func (r ApiGetDomainsRequest) Sort(sort string) ApiGetDomainsRequest
- type ApiPutDomainRequest
- func (r ApiPutDomainRequest) Accept(accept string) ApiPutDomainRequest
- func (r ApiPutDomainRequest) ContentType(contentType string) ApiPutDomainRequest
- func (r ApiPutDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
- func (r ApiPutDomainRequest) PutDomainRequest(putDomainRequest PutDomainRequest) ApiPutDomainRequest
- type ApiUpdateDomainRequest
- func (r ApiUpdateDomainRequest) Accept(accept string) ApiUpdateDomainRequest
- func (r ApiUpdateDomainRequest) ContentType(contentType string) ApiUpdateDomainRequest
- func (r ApiUpdateDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
- func (r ApiUpdateDomainRequest) UpdateDomainRequest(updateDomainRequest UpdateDomainRequest) ApiUpdateDomainRequest
- type BasicAuth
- type Configuration
- type CreateDomainRequest
- func (o *CreateDomainRequest) GetCnameAccessOnly() bool
- func (o *CreateDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)
- func (o *CreateDomainRequest) GetCnames() []string
- func (o *CreateDomainRequest) GetCnamesOk() ([]string, bool)
- func (o *CreateDomainRequest) GetDigitalCertificateId() int64
- func (o *CreateDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)
- func (o *CreateDomainRequest) GetEdgeApplicationId() int64
- func (o *CreateDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)
- func (o *CreateDomainRequest) GetIsActive() bool
- func (o *CreateDomainRequest) GetIsActiveOk() (*bool, bool)
- func (o *CreateDomainRequest) GetName() string
- func (o *CreateDomainRequest) GetNameOk() (*string, bool)
- func (o CreateDomainRequest) MarshalJSON() ([]byte, error)
- func (o *CreateDomainRequest) SetCnameAccessOnly(v bool)
- func (o *CreateDomainRequest) SetCnames(v []string)
- func (o *CreateDomainRequest) SetDigitalCertificateId(v int64)
- func (o *CreateDomainRequest) SetEdgeApplicationId(v int64)
- func (o *CreateDomainRequest) SetIsActive(v bool)
- func (o *CreateDomainRequest) SetName(v string)
- func (o CreateDomainRequest) ToMap() (map[string]interface{}, error)
- type DomainLinks
- func (o *DomainLinks) GetNext() string
- func (o *DomainLinks) GetNextOk() (*string, bool)
- func (o *DomainLinks) GetPrevious() string
- func (o *DomainLinks) GetPreviousOk() (*string, bool)
- func (o DomainLinks) MarshalJSON() ([]byte, error)
- func (o *DomainLinks) SetNext(v string)
- func (o *DomainLinks) SetPrevious(v string)
- func (o DomainLinks) ToMap() (map[string]interface{}, error)
- type DomainResponseWithResult
- func (o *DomainResponseWithResult) GetResults() DomainResults
- func (o *DomainResponseWithResult) GetResultsOk() (*DomainResults, bool)
- func (o *DomainResponseWithResult) GetSchemaVersion() int64
- func (o *DomainResponseWithResult) GetSchemaVersionOk() (*int64, bool)
- func (o DomainResponseWithResult) MarshalJSON() ([]byte, error)
- func (o *DomainResponseWithResult) SetResults(v DomainResults)
- func (o *DomainResponseWithResult) SetSchemaVersion(v int64)
- func (o DomainResponseWithResult) ToMap() (map[string]interface{}, error)
- type DomainResponseWithResults
- func (o *DomainResponseWithResults) GetCount() int64
- func (o *DomainResponseWithResults) GetCountOk() (*int64, bool)
- func (o *DomainResponseWithResults) GetDomainName() string
- func (o *DomainResponseWithResults) GetDomainNameOk() (*string, bool)
- func (o *DomainResponseWithResults) GetEnvironment() string
- func (o *DomainResponseWithResults) GetEnvironmentOk() (*string, bool)
- func (o *DomainResponseWithResults) GetLinks() DomainLinks
- func (o *DomainResponseWithResults) GetLinksOk() (*DomainLinks, bool)
- func (o *DomainResponseWithResults) GetResults() []DomainResults
- func (o *DomainResponseWithResults) GetResultsOk() ([]DomainResults, bool)
- func (o *DomainResponseWithResults) GetSchemaVersion() int64
- func (o *DomainResponseWithResults) GetSchemaVersionOk() (*int64, bool)
- func (o *DomainResponseWithResults) GetTotalPages() int64
- func (o *DomainResponseWithResults) GetTotalPagesOk() (*int64, bool)
- func (o DomainResponseWithResults) MarshalJSON() ([]byte, error)
- func (o *DomainResponseWithResults) SetCount(v int64)
- func (o *DomainResponseWithResults) SetDomainName(v string)
- func (o *DomainResponseWithResults) SetEnvironment(v string)
- func (o *DomainResponseWithResults) SetLinks(v DomainLinks)
- func (o *DomainResponseWithResults) SetResults(v []DomainResults)
- func (o *DomainResponseWithResults) SetSchemaVersion(v int64)
- func (o *DomainResponseWithResults) SetTotalPages(v int64)
- func (o DomainResponseWithResults) ToMap() (map[string]interface{}, error)
- type DomainResults
- func (o *DomainResults) GetCnameAccessOnly() bool
- func (o *DomainResults) GetCnameAccessOnlyOk() (*bool, bool)
- func (o *DomainResults) GetCnames() []string
- func (o *DomainResults) GetCnamesOk() ([]string, bool)
- func (o *DomainResults) GetDigitalCertificateId() int64
- func (o *DomainResults) GetDigitalCertificateIdOk() (*int64, bool)
- func (o *DomainResults) GetDomainName() string
- func (o *DomainResults) GetDomainNameOk() (*string, bool)
- func (o *DomainResults) GetEdgeApplicationId() int64
- func (o *DomainResults) GetEdgeApplicationIdOk() (*int64, bool)
- func (o *DomainResults) GetEnvironment() string
- func (o *DomainResults) GetEnvironmentOk() (*string, bool)
- func (o *DomainResults) GetId() int64
- func (o *DomainResults) GetIdOk() (*int64, bool)
- func (o *DomainResults) GetIsActive() bool
- func (o *DomainResults) GetIsActiveOk() (*bool, bool)
- func (o *DomainResults) GetName() string
- func (o *DomainResults) GetNameOk() (*string, bool)
- func (o *DomainResults) HasCnameAccessOnly() bool
- func (o *DomainResults) HasCnames() bool
- func (o *DomainResults) HasDigitalCertificateId() bool
- func (o *DomainResults) HasDomainName() bool
- func (o *DomainResults) HasEdgeApplicationId() bool
- func (o *DomainResults) HasEnvironment() bool
- func (o *DomainResults) HasIsActive() bool
- func (o DomainResults) MarshalJSON() ([]byte, error)
- func (o *DomainResults) SetCnameAccessOnly(v bool)
- func (o *DomainResults) SetCnames(v []string)
- func (o *DomainResults) SetDigitalCertificateId(v int64)
- func (o *DomainResults) SetDigitalCertificateIdNil()
- func (o *DomainResults) SetDomainName(v string)
- func (o *DomainResults) SetEdgeApplicationId(v int64)
- func (o *DomainResults) SetEnvironment(v string)
- func (o *DomainResults) SetId(v int64)
- func (o *DomainResults) SetIsActive(v bool)
- func (o *DomainResults) SetName(v string)
- func (o DomainResults) ToMap() (map[string]interface{}, error)
- func (o *DomainResults) UnsetDigitalCertificateId()
- type DomainsApiService
- func (a *DomainsApiService) CreateDomain(ctx context.Context) ApiCreateDomainRequest
- func (a *DomainsApiService) CreateDomainExecute(r ApiCreateDomainRequest) (*DomainResponseWithResult, *http.Response, error)
- func (a *DomainsApiService) DelDomain(ctx context.Context, id string) ApiDelDomainRequest
- func (a *DomainsApiService) DelDomainExecute(r ApiDelDomainRequest) (*http.Response, error)
- func (a *DomainsApiService) GetDomain(ctx context.Context, id string) ApiGetDomainRequest
- func (a *DomainsApiService) GetDomainExecute(r ApiGetDomainRequest) (*DomainResponseWithResult, *http.Response, error)
- func (a *DomainsApiService) GetDomains(ctx context.Context) ApiGetDomainsRequest
- func (a *DomainsApiService) GetDomainsExecute(r ApiGetDomainsRequest) (*DomainResponseWithResults, *http.Response, error)
- func (a *DomainsApiService) PutDomain(ctx context.Context, domainId string) ApiPutDomainRequest
- func (a *DomainsApiService) PutDomainExecute(r ApiPutDomainRequest) (*DomainResponseWithResult, *http.Response, error)
- func (a *DomainsApiService) UpdateDomain(ctx context.Context, domainId string) ApiUpdateDomainRequest
- func (a *DomainsApiService) UpdateDomainExecute(r ApiUpdateDomainRequest) (*DomainResponseWithResult, *http.Response, error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableBool
- type NullableCreateDomainRequest
- func (v NullableCreateDomainRequest) Get() *CreateDomainRequest
- func (v NullableCreateDomainRequest) IsSet() bool
- func (v NullableCreateDomainRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDomainRequest) Set(val *CreateDomainRequest)
- func (v *NullableCreateDomainRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDomainRequest) Unset()
- type NullableDomainLinks
- func (v NullableDomainLinks) Get() *DomainLinks
- func (v NullableDomainLinks) IsSet() bool
- func (v NullableDomainLinks) MarshalJSON() ([]byte, error)
- func (v *NullableDomainLinks) Set(val *DomainLinks)
- func (v *NullableDomainLinks) UnmarshalJSON(src []byte) error
- func (v *NullableDomainLinks) Unset()
- type NullableDomainResponseWithResult
- func (v NullableDomainResponseWithResult) Get() *DomainResponseWithResult
- func (v NullableDomainResponseWithResult) IsSet() bool
- func (v NullableDomainResponseWithResult) MarshalJSON() ([]byte, error)
- func (v *NullableDomainResponseWithResult) Set(val *DomainResponseWithResult)
- func (v *NullableDomainResponseWithResult) UnmarshalJSON(src []byte) error
- func (v *NullableDomainResponseWithResult) Unset()
- type NullableDomainResponseWithResults
- func (v NullableDomainResponseWithResults) Get() *DomainResponseWithResults
- func (v NullableDomainResponseWithResults) IsSet() bool
- func (v NullableDomainResponseWithResults) MarshalJSON() ([]byte, error)
- func (v *NullableDomainResponseWithResults) Set(val *DomainResponseWithResults)
- func (v *NullableDomainResponseWithResults) UnmarshalJSON(src []byte) error
- func (v *NullableDomainResponseWithResults) Unset()
- type NullableDomainResults
- func (v NullableDomainResults) Get() *DomainResults
- func (v NullableDomainResults) IsSet() bool
- func (v NullableDomainResults) MarshalJSON() ([]byte, error)
- func (v *NullableDomainResults) Set(val *DomainResults)
- func (v *NullableDomainResults) UnmarshalJSON(src []byte) error
- func (v *NullableDomainResults) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePutDomainRequest
- func (v NullablePutDomainRequest) Get() *PutDomainRequest
- func (v NullablePutDomainRequest) IsSet() bool
- func (v NullablePutDomainRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutDomainRequest) Set(val *PutDomainRequest)
- func (v *NullablePutDomainRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutDomainRequest) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateDomainRequest
- func (v NullableUpdateDomainRequest) Get() *UpdateDomainRequest
- func (v NullableUpdateDomainRequest) IsSet() bool
- func (v NullableUpdateDomainRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDomainRequest) Set(val *UpdateDomainRequest)
- func (v *NullableUpdateDomainRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDomainRequest) Unset()
- type PutDomainRequest
- func (o *PutDomainRequest) GetCnameAccessOnly() bool
- func (o *PutDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)
- func (o *PutDomainRequest) GetCnames() []string
- func (o *PutDomainRequest) GetCnamesOk() ([]string, bool)
- func (o *PutDomainRequest) GetDigitalCertificateId() int64
- func (o *PutDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)
- func (o *PutDomainRequest) GetEdgeApplicationId() int64
- func (o *PutDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)
- func (o *PutDomainRequest) GetIsActive() bool
- func (o *PutDomainRequest) GetIsActiveOk() (*bool, bool)
- func (o *PutDomainRequest) GetName() string
- func (o *PutDomainRequest) GetNameOk() (*string, bool)
- func (o PutDomainRequest) MarshalJSON() ([]byte, error)
- func (o *PutDomainRequest) SetCnameAccessOnly(v bool)
- func (o *PutDomainRequest) SetCnames(v []string)
- func (o *PutDomainRequest) SetDigitalCertificateId(v int64)
- func (o *PutDomainRequest) SetEdgeApplicationId(v int64)
- func (o *PutDomainRequest) SetIsActive(v bool)
- func (o *PutDomainRequest) SetName(v string)
- func (o PutDomainRequest) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type UpdateDomainRequest
- func (o *UpdateDomainRequest) GetCnameAccessOnly() bool
- func (o *UpdateDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)
- func (o *UpdateDomainRequest) GetCnames() []string
- func (o *UpdateDomainRequest) GetCnamesOk() ([]string, bool)
- func (o *UpdateDomainRequest) GetDigitalCertificateId() int64
- func (o *UpdateDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)
- func (o *UpdateDomainRequest) GetEdgeApplicationId() int64
- func (o *UpdateDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)
- func (o *UpdateDomainRequest) GetIsActive() bool
- func (o *UpdateDomainRequest) GetIsActiveOk() (*bool, bool)
- func (o *UpdateDomainRequest) GetName() string
- func (o *UpdateDomainRequest) GetNameOk() (*string, bool)
- func (o *UpdateDomainRequest) HasCnameAccessOnly() bool
- func (o *UpdateDomainRequest) HasCnames() bool
- func (o *UpdateDomainRequest) HasDigitalCertificateId() bool
- func (o *UpdateDomainRequest) HasEdgeApplicationId() bool
- func (o *UpdateDomainRequest) HasIsActive() bool
- func (o *UpdateDomainRequest) HasName() bool
- func (o UpdateDomainRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateDomainRequest) SetCnameAccessOnly(v bool)
- func (o *UpdateDomainRequest) SetCnames(v []string)
- func (o *UpdateDomainRequest) SetDigitalCertificateId(v int64)
- func (o *UpdateDomainRequest) SetDigitalCertificateIdNil()
- func (o *UpdateDomainRequest) SetEdgeApplicationId(v int64)
- func (o *UpdateDomainRequest) SetIsActive(v bool)
- func (o *UpdateDomainRequest) SetName(v string)
- func (o UpdateDomainRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateDomainRequest) UnsetDigitalCertificateId()
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DomainsApi *DomainsApiService // contains filtered or unexported fields }
APIClient manages communication with the Domain API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateDomainRequest ¶
type ApiCreateDomainRequest struct { ApiService *DomainsApiService // contains filtered or unexported fields }
func (ApiCreateDomainRequest) Accept ¶
func (r ApiCreateDomainRequest) Accept(accept string) ApiCreateDomainRequest
func (ApiCreateDomainRequest) ContentType ¶
func (r ApiCreateDomainRequest) ContentType(contentType string) ApiCreateDomainRequest
func (ApiCreateDomainRequest) CreateDomainRequest ¶
func (r ApiCreateDomainRequest) CreateDomainRequest(createDomainRequest CreateDomainRequest) ApiCreateDomainRequest
func (ApiCreateDomainRequest) Execute ¶
func (r ApiCreateDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
type ApiDelDomainRequest ¶
type ApiDelDomainRequest struct { ApiService *DomainsApiService // contains filtered or unexported fields }
func (ApiDelDomainRequest) Accept ¶
func (r ApiDelDomainRequest) Accept(accept string) ApiDelDomainRequest
type ApiGetDomainRequest ¶
type ApiGetDomainRequest struct { ApiService *DomainsApiService // contains filtered or unexported fields }
func (ApiGetDomainRequest) Accept ¶
func (r ApiGetDomainRequest) Accept(accept string) ApiGetDomainRequest
func (ApiGetDomainRequest) Execute ¶
func (r ApiGetDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
type ApiGetDomainsRequest ¶
type ApiGetDomainsRequest struct { ApiService *DomainsApiService // contains filtered or unexported fields }
func (ApiGetDomainsRequest) Accept ¶
func (r ApiGetDomainsRequest) Accept(accept string) ApiGetDomainsRequest
func (ApiGetDomainsRequest) Execute ¶
func (r ApiGetDomainsRequest) Execute() (*DomainResponseWithResults, *http.Response, error)
func (ApiGetDomainsRequest) Filter ¶ added in v0.23.0
func (r ApiGetDomainsRequest) Filter(filter string) ApiGetDomainsRequest
func (ApiGetDomainsRequest) OrderBy ¶ added in v0.23.0
func (r ApiGetDomainsRequest) OrderBy(orderBy string) ApiGetDomainsRequest
func (ApiGetDomainsRequest) Page ¶ added in v0.23.0
func (r ApiGetDomainsRequest) Page(page int64) ApiGetDomainsRequest
func (ApiGetDomainsRequest) PageSize ¶ added in v0.23.0
func (r ApiGetDomainsRequest) PageSize(pageSize int64) ApiGetDomainsRequest
func (ApiGetDomainsRequest) Sort ¶ added in v0.23.0
func (r ApiGetDomainsRequest) Sort(sort string) ApiGetDomainsRequest
type ApiPutDomainRequest ¶
type ApiPutDomainRequest struct { ApiService *DomainsApiService // contains filtered or unexported fields }
func (ApiPutDomainRequest) Accept ¶
func (r ApiPutDomainRequest) Accept(accept string) ApiPutDomainRequest
func (ApiPutDomainRequest) ContentType ¶
func (r ApiPutDomainRequest) ContentType(contentType string) ApiPutDomainRequest
func (ApiPutDomainRequest) Execute ¶
func (r ApiPutDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
func (ApiPutDomainRequest) PutDomainRequest ¶
func (r ApiPutDomainRequest) PutDomainRequest(putDomainRequest PutDomainRequest) ApiPutDomainRequest
type ApiUpdateDomainRequest ¶
type ApiUpdateDomainRequest struct { ApiService *DomainsApiService // contains filtered or unexported fields }
func (ApiUpdateDomainRequest) Accept ¶
func (r ApiUpdateDomainRequest) Accept(accept string) ApiUpdateDomainRequest
func (ApiUpdateDomainRequest) ContentType ¶
func (r ApiUpdateDomainRequest) ContentType(contentType string) ApiUpdateDomainRequest
func (ApiUpdateDomainRequest) Execute ¶
func (r ApiUpdateDomainRequest) Execute() (*DomainResponseWithResult, *http.Response, error)
func (ApiUpdateDomainRequest) UpdateDomainRequest ¶
func (r ApiUpdateDomainRequest) UpdateDomainRequest(updateDomainRequest UpdateDomainRequest) ApiUpdateDomainRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateDomainRequest ¶
type CreateDomainRequest struct { Cnames []string `json:"cnames"` CnameAccessOnly bool `json:"cname_access_only"` Name string `json:"name"` IsActive bool `json:"is_active"` EdgeApplicationId int64 `json:"edge_application_id"` DigitalCertificateId NullableInt64 `json:"digital_certificate_id"` }
CreateDomainRequest struct for CreateDomainRequest
func NewCreateDomainRequest ¶
func NewCreateDomainRequest(cnames []string, cnameAccessOnly bool, name string, isActive bool, edgeApplicationId int64, digitalCertificateId NullableInt64) *CreateDomainRequest
NewCreateDomainRequest instantiates a new CreateDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateDomainRequestWithDefaults ¶
func NewCreateDomainRequestWithDefaults() *CreateDomainRequest
NewCreateDomainRequestWithDefaults instantiates a new CreateDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateDomainRequest) GetCnameAccessOnly ¶
func (o *CreateDomainRequest) GetCnameAccessOnly() bool
GetCnameAccessOnly returns the CnameAccessOnly field value
func (*CreateDomainRequest) GetCnameAccessOnlyOk ¶
func (o *CreateDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)
GetCnameAccessOnlyOk returns a tuple with the CnameAccessOnly field value and a boolean to check if the value has been set.
func (*CreateDomainRequest) GetCnames ¶
func (o *CreateDomainRequest) GetCnames() []string
GetCnames returns the Cnames field value
func (*CreateDomainRequest) GetCnamesOk ¶
func (o *CreateDomainRequest) GetCnamesOk() ([]string, bool)
GetCnamesOk returns a tuple with the Cnames field value and a boolean to check if the value has been set.
func (*CreateDomainRequest) GetDigitalCertificateId ¶
func (o *CreateDomainRequest) GetDigitalCertificateId() int64
GetDigitalCertificateId returns the DigitalCertificateId field value If the value is explicit nil, the zero value for int64 will be returned
func (*CreateDomainRequest) GetDigitalCertificateIdOk ¶
func (o *CreateDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)
GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateDomainRequest) GetEdgeApplicationId ¶
func (o *CreateDomainRequest) GetEdgeApplicationId() int64
GetEdgeApplicationId returns the EdgeApplicationId field value
func (*CreateDomainRequest) GetEdgeApplicationIdOk ¶
func (o *CreateDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)
GetEdgeApplicationIdOk returns a tuple with the EdgeApplicationId field value and a boolean to check if the value has been set.
func (*CreateDomainRequest) GetIsActive ¶
func (o *CreateDomainRequest) GetIsActive() bool
GetIsActive returns the IsActive field value
func (*CreateDomainRequest) GetIsActiveOk ¶
func (o *CreateDomainRequest) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value and a boolean to check if the value has been set.
func (*CreateDomainRequest) GetName ¶
func (o *CreateDomainRequest) GetName() string
GetName returns the Name field value
func (*CreateDomainRequest) GetNameOk ¶
func (o *CreateDomainRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateDomainRequest) MarshalJSON ¶
func (o CreateDomainRequest) MarshalJSON() ([]byte, error)
func (*CreateDomainRequest) SetCnameAccessOnly ¶
func (o *CreateDomainRequest) SetCnameAccessOnly(v bool)
SetCnameAccessOnly sets field value
func (*CreateDomainRequest) SetCnames ¶
func (o *CreateDomainRequest) SetCnames(v []string)
SetCnames sets field value
func (*CreateDomainRequest) SetDigitalCertificateId ¶
func (o *CreateDomainRequest) SetDigitalCertificateId(v int64)
SetDigitalCertificateId sets field value
func (*CreateDomainRequest) SetEdgeApplicationId ¶
func (o *CreateDomainRequest) SetEdgeApplicationId(v int64)
SetEdgeApplicationId sets field value
func (*CreateDomainRequest) SetIsActive ¶
func (o *CreateDomainRequest) SetIsActive(v bool)
SetIsActive sets field value
func (*CreateDomainRequest) SetName ¶
func (o *CreateDomainRequest) SetName(v string)
SetName sets field value
func (CreateDomainRequest) ToMap ¶ added in v0.23.0
func (o CreateDomainRequest) ToMap() (map[string]interface{}, error)
type DomainLinks ¶
DomainLinks struct for DomainLinks
func NewDomainLinks ¶
func NewDomainLinks(previous string, next string) *DomainLinks
NewDomainLinks instantiates a new DomainLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDomainLinksWithDefaults ¶
func NewDomainLinksWithDefaults() *DomainLinks
NewDomainLinksWithDefaults instantiates a new DomainLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DomainLinks) GetNext ¶
func (o *DomainLinks) GetNext() string
GetNext returns the Next field value
func (*DomainLinks) GetNextOk ¶
func (o *DomainLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set.
func (*DomainLinks) GetPrevious ¶
func (o *DomainLinks) GetPrevious() string
GetPrevious returns the Previous field value
func (*DomainLinks) GetPreviousOk ¶
func (o *DomainLinks) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value and a boolean to check if the value has been set.
func (DomainLinks) MarshalJSON ¶
func (o DomainLinks) MarshalJSON() ([]byte, error)
func (*DomainLinks) SetPrevious ¶
func (o *DomainLinks) SetPrevious(v string)
SetPrevious sets field value
func (DomainLinks) ToMap ¶ added in v0.23.0
func (o DomainLinks) ToMap() (map[string]interface{}, error)
type DomainResponseWithResult ¶
type DomainResponseWithResult struct { SchemaVersion int64 `json:"schema_version"` Results DomainResults `json:"results"` }
DomainResponseWithResult struct for DomainResponseWithResult
func NewDomainResponseWithResult ¶
func NewDomainResponseWithResult(schemaVersion int64, results DomainResults) *DomainResponseWithResult
NewDomainResponseWithResult instantiates a new DomainResponseWithResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDomainResponseWithResultWithDefaults ¶
func NewDomainResponseWithResultWithDefaults() *DomainResponseWithResult
NewDomainResponseWithResultWithDefaults instantiates a new DomainResponseWithResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DomainResponseWithResult) GetResults ¶
func (o *DomainResponseWithResult) GetResults() DomainResults
GetResults returns the Results field value
func (*DomainResponseWithResult) GetResultsOk ¶
func (o *DomainResponseWithResult) GetResultsOk() (*DomainResults, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (*DomainResponseWithResult) GetSchemaVersion ¶
func (o *DomainResponseWithResult) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value
func (*DomainResponseWithResult) GetSchemaVersionOk ¶
func (o *DomainResponseWithResult) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value and a boolean to check if the value has been set.
func (DomainResponseWithResult) MarshalJSON ¶
func (o DomainResponseWithResult) MarshalJSON() ([]byte, error)
func (*DomainResponseWithResult) SetResults ¶
func (o *DomainResponseWithResult) SetResults(v DomainResults)
SetResults sets field value
func (*DomainResponseWithResult) SetSchemaVersion ¶
func (o *DomainResponseWithResult) SetSchemaVersion(v int64)
SetSchemaVersion sets field value
func (DomainResponseWithResult) ToMap ¶ added in v0.23.0
func (o DomainResponseWithResult) ToMap() (map[string]interface{}, error)
type DomainResponseWithResults ¶
type DomainResponseWithResults struct { Count int64 `json:"count"` TotalPages int64 `json:"total_pages"` SchemaVersion int64 `json:"schema_version"` DomainName string `json:"domain_name"` Environment string `json:"environment"` Links DomainLinks `json:"links"` Results []DomainResults `json:"results"` }
DomainResponseWithResults struct for DomainResponseWithResults
func NewDomainResponseWithResults ¶
func NewDomainResponseWithResults(count int64, totalPages int64, schemaVersion int64, domainName string, environment string, links DomainLinks, results []DomainResults) *DomainResponseWithResults
NewDomainResponseWithResults instantiates a new DomainResponseWithResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDomainResponseWithResultsWithDefaults ¶
func NewDomainResponseWithResultsWithDefaults() *DomainResponseWithResults
NewDomainResponseWithResultsWithDefaults instantiates a new DomainResponseWithResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DomainResponseWithResults) GetCount ¶
func (o *DomainResponseWithResults) GetCount() int64
GetCount returns the Count field value
func (*DomainResponseWithResults) GetCountOk ¶
func (o *DomainResponseWithResults) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*DomainResponseWithResults) GetDomainName ¶
func (o *DomainResponseWithResults) GetDomainName() string
GetDomainName returns the DomainName field value
func (*DomainResponseWithResults) GetDomainNameOk ¶
func (o *DomainResponseWithResults) GetDomainNameOk() (*string, bool)
GetDomainNameOk returns a tuple with the DomainName field value and a boolean to check if the value has been set.
func (*DomainResponseWithResults) GetEnvironment ¶
func (o *DomainResponseWithResults) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*DomainResponseWithResults) GetEnvironmentOk ¶
func (o *DomainResponseWithResults) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*DomainResponseWithResults) GetLinks ¶
func (o *DomainResponseWithResults) GetLinks() DomainLinks
GetLinks returns the Links field value
func (*DomainResponseWithResults) GetLinksOk ¶
func (o *DomainResponseWithResults) GetLinksOk() (*DomainLinks, bool)
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (*DomainResponseWithResults) GetResults ¶
func (o *DomainResponseWithResults) GetResults() []DomainResults
GetResults returns the Results field value
func (*DomainResponseWithResults) GetResultsOk ¶
func (o *DomainResponseWithResults) GetResultsOk() ([]DomainResults, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (*DomainResponseWithResults) GetSchemaVersion ¶
func (o *DomainResponseWithResults) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value
func (*DomainResponseWithResults) GetSchemaVersionOk ¶
func (o *DomainResponseWithResults) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value and a boolean to check if the value has been set.
func (*DomainResponseWithResults) GetTotalPages ¶
func (o *DomainResponseWithResults) GetTotalPages() int64
GetTotalPages returns the TotalPages field value
func (*DomainResponseWithResults) GetTotalPagesOk ¶
func (o *DomainResponseWithResults) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value and a boolean to check if the value has been set.
func (DomainResponseWithResults) MarshalJSON ¶
func (o DomainResponseWithResults) MarshalJSON() ([]byte, error)
func (*DomainResponseWithResults) SetCount ¶
func (o *DomainResponseWithResults) SetCount(v int64)
SetCount sets field value
func (*DomainResponseWithResults) SetDomainName ¶
func (o *DomainResponseWithResults) SetDomainName(v string)
SetDomainName sets field value
func (*DomainResponseWithResults) SetEnvironment ¶
func (o *DomainResponseWithResults) SetEnvironment(v string)
SetEnvironment sets field value
func (*DomainResponseWithResults) SetLinks ¶
func (o *DomainResponseWithResults) SetLinks(v DomainLinks)
SetLinks sets field value
func (*DomainResponseWithResults) SetResults ¶
func (o *DomainResponseWithResults) SetResults(v []DomainResults)
SetResults sets field value
func (*DomainResponseWithResults) SetSchemaVersion ¶
func (o *DomainResponseWithResults) SetSchemaVersion(v int64)
SetSchemaVersion sets field value
func (*DomainResponseWithResults) SetTotalPages ¶
func (o *DomainResponseWithResults) SetTotalPages(v int64)
SetTotalPages sets field value
func (DomainResponseWithResults) ToMap ¶ added in v0.23.0
func (o DomainResponseWithResults) ToMap() (map[string]interface{}, error)
type DomainResults ¶
type DomainResults struct { Id int64 `json:"id"` Name string `json:"name"` Cnames *[]string `json:"cnames,omitempty"` CnameAccessOnly *bool `json:"cname_access_only,omitempty"` IsActive *bool `json:"is_active,omitempty"` EdgeApplicationId *int64 `json:"edge_application_id,omitempty"` DigitalCertificateId NullableInt64 `json:"digital_certificate_id,omitempty"` DomainName *string `json:"domain_name,omitempty"` Environment *string `json:"environment,omitempty"` }
DomainResults struct for DomainResults
func NewDomainResults ¶
func NewDomainResults(id int64, name string) *DomainResults
NewDomainResults instantiates a new DomainResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDomainResultsWithDefaults ¶
func NewDomainResultsWithDefaults() *DomainResults
NewDomainResultsWithDefaults instantiates a new DomainResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DomainResults) GetCnameAccessOnly ¶
func (o *DomainResults) GetCnameAccessOnly() bool
GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.
func (*DomainResults) GetCnameAccessOnlyOk ¶
func (o *DomainResults) GetCnameAccessOnlyOk() (*bool, bool)
GetCnameAccessOnlyOk returns a tuple with the CnameAccessOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainResults) GetCnames ¶
func (o *DomainResults) GetCnames() []string
GetCnames returns the Cnames field value if set, zero value otherwise.
func (*DomainResults) GetCnamesOk ¶
func (o *DomainResults) GetCnamesOk() ([]string, bool)
GetCnamesOk returns a tuple with the Cnames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainResults) GetDigitalCertificateId ¶
func (o *DomainResults) GetDigitalCertificateId() int64
GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DomainResults) GetDigitalCertificateIdOk ¶
func (o *DomainResults) GetDigitalCertificateIdOk() (*int64, bool)
GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DomainResults) GetDomainName ¶
func (o *DomainResults) GetDomainName() string
GetDomainName returns the DomainName field value if set, zero value otherwise.
func (*DomainResults) GetDomainNameOk ¶
func (o *DomainResults) GetDomainNameOk() (*string, bool)
GetDomainNameOk returns a tuple with the DomainName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainResults) GetEdgeApplicationId ¶
func (o *DomainResults) GetEdgeApplicationId() int64
GetEdgeApplicationId returns the EdgeApplicationId field value if set, zero value otherwise.
func (*DomainResults) GetEdgeApplicationIdOk ¶
func (o *DomainResults) GetEdgeApplicationIdOk() (*int64, bool)
GetEdgeApplicationIdOk returns a tuple with the EdgeApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainResults) GetEnvironment ¶
func (o *DomainResults) GetEnvironment() string
GetEnvironment returns the Environment field value if set, zero value otherwise.
func (*DomainResults) GetEnvironmentOk ¶
func (o *DomainResults) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainResults) GetId ¶
func (o *DomainResults) GetId() int64
GetId returns the Id field value
func (*DomainResults) GetIdOk ¶
func (o *DomainResults) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DomainResults) GetIsActive ¶
func (o *DomainResults) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*DomainResults) GetIsActiveOk ¶
func (o *DomainResults) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DomainResults) GetName ¶
func (o *DomainResults) GetName() string
GetName returns the Name field value
func (*DomainResults) GetNameOk ¶
func (o *DomainResults) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*DomainResults) HasCnameAccessOnly ¶
func (o *DomainResults) HasCnameAccessOnly() bool
HasCnameAccessOnly returns a boolean if a field has been set.
func (*DomainResults) HasCnames ¶
func (o *DomainResults) HasCnames() bool
HasCnames returns a boolean if a field has been set.
func (*DomainResults) HasDigitalCertificateId ¶
func (o *DomainResults) HasDigitalCertificateId() bool
HasDigitalCertificateId returns a boolean if a field has been set.
func (*DomainResults) HasDomainName ¶
func (o *DomainResults) HasDomainName() bool
HasDomainName returns a boolean if a field has been set.
func (*DomainResults) HasEdgeApplicationId ¶
func (o *DomainResults) HasEdgeApplicationId() bool
HasEdgeApplicationId returns a boolean if a field has been set.
func (*DomainResults) HasEnvironment ¶
func (o *DomainResults) HasEnvironment() bool
HasEnvironment returns a boolean if a field has been set.
func (*DomainResults) HasIsActive ¶
func (o *DomainResults) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (DomainResults) MarshalJSON ¶
func (o DomainResults) MarshalJSON() ([]byte, error)
func (*DomainResults) SetCnameAccessOnly ¶
func (o *DomainResults) SetCnameAccessOnly(v bool)
SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.
func (*DomainResults) SetCnames ¶
func (o *DomainResults) SetCnames(v []string)
SetCnames gets a reference to the given []string and assigns it to the Cnames field.
func (*DomainResults) SetDigitalCertificateId ¶
func (o *DomainResults) SetDigitalCertificateId(v int64)
SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.
func (*DomainResults) SetDigitalCertificateIdNil ¶
func (o *DomainResults) SetDigitalCertificateIdNil()
SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil
func (*DomainResults) SetDomainName ¶
func (o *DomainResults) SetDomainName(v string)
SetDomainName gets a reference to the given string and assigns it to the DomainName field.
func (*DomainResults) SetEdgeApplicationId ¶
func (o *DomainResults) SetEdgeApplicationId(v int64)
SetEdgeApplicationId gets a reference to the given int64 and assigns it to the EdgeApplicationId field.
func (*DomainResults) SetEnvironment ¶
func (o *DomainResults) SetEnvironment(v string)
SetEnvironment gets a reference to the given string and assigns it to the Environment field.
func (*DomainResults) SetIsActive ¶
func (o *DomainResults) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
func (DomainResults) ToMap ¶ added in v0.23.0
func (o DomainResults) ToMap() (map[string]interface{}, error)
func (*DomainResults) UnsetDigitalCertificateId ¶
func (o *DomainResults) UnsetDigitalCertificateId()
UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil
type DomainsApiService ¶
type DomainsApiService service
DomainsApiService DomainsApi service
func (*DomainsApiService) CreateDomain ¶
func (a *DomainsApiService) CreateDomain(ctx context.Context) ApiCreateDomainRequest
CreateDomain /domains
It enables you to include a new domain into an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDomainRequest
func (*DomainsApiService) CreateDomainExecute ¶
func (a *DomainsApiService) CreateDomainExecute(r ApiCreateDomainRequest) (*DomainResponseWithResult, *http.Response, error)
Execute executes the request
@return DomainResponseWithResult
func (*DomainsApiService) DelDomain ¶
func (a *DomainsApiService) DelDomain(ctx context.Context, id string) ApiDelDomainRequest
DelDomain /domains/:id
It enables you to delete a domain.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The id of the domain to be deleted. @return ApiDelDomainRequest
func (*DomainsApiService) DelDomainExecute ¶
func (a *DomainsApiService) DelDomainExecute(r ApiDelDomainRequest) (*http.Response, error)
Execute executes the request
func (*DomainsApiService) GetDomain ¶
func (a *DomainsApiService) GetDomain(ctx context.Context, id string) ApiGetDomainRequest
GetDomain /domains/:id
It returns details of a domain.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The id of the domain to be consulted. @return ApiGetDomainRequest
func (*DomainsApiService) GetDomainExecute ¶
func (a *DomainsApiService) GetDomainExecute(r ApiGetDomainRequest) (*DomainResponseWithResult, *http.Response, error)
Execute executes the request
@return DomainResponseWithResult
func (*DomainsApiService) GetDomains ¶
func (a *DomainsApiService) GetDomains(ctx context.Context) ApiGetDomainsRequest
GetDomains /domains
It returns the list of domains of an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetDomainsRequest
func (*DomainsApiService) GetDomainsExecute ¶
func (a *DomainsApiService) GetDomainsExecute(r ApiGetDomainsRequest) (*DomainResponseWithResults, *http.Response, error)
Execute executes the request
@return DomainResponseWithResults
func (*DomainsApiService) PutDomain ¶
func (a *DomainsApiService) PutDomain(ctx context.Context, domainId string) ApiPutDomainRequest
PutDomain /domains:/:domain_id
It overwrites all fields of a domain, while preserving the id. Optional fields not filled in will be replaced by the default values.
To update only some fields in a domain, consider using the PATCH method instead of PUT.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param domainId @return ApiPutDomainRequest
func (*DomainsApiService) PutDomainExecute ¶
func (a *DomainsApiService) PutDomainExecute(r ApiPutDomainRequest) (*DomainResponseWithResult, *http.Response, error)
Execute executes the request
@return DomainResponseWithResult
func (*DomainsApiService) UpdateDomain ¶
func (a *DomainsApiService) UpdateDomain(ctx context.Context, domainId string) ApiUpdateDomainRequest
UpdateDomain /domains/:domain_id
It updates one or more fields in a Domain, preserving the value of the fields not informed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param domainId @return ApiUpdateDomainRequest
func (*DomainsApiService) UpdateDomainExecute ¶
func (a *DomainsApiService) UpdateDomainExecute(r ApiUpdateDomainRequest) (*DomainResponseWithResult, *http.Response, error)
Execute executes the request
@return DomainResponseWithResult
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MappedNullable ¶ added in v0.23.0
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateDomainRequest ¶
type NullableCreateDomainRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateDomainRequest ¶
func NewNullableCreateDomainRequest(val *CreateDomainRequest) *NullableCreateDomainRequest
func (NullableCreateDomainRequest) Get ¶
func (v NullableCreateDomainRequest) Get() *CreateDomainRequest
func (NullableCreateDomainRequest) IsSet ¶
func (v NullableCreateDomainRequest) IsSet() bool
func (NullableCreateDomainRequest) MarshalJSON ¶
func (v NullableCreateDomainRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateDomainRequest) Set ¶
func (v *NullableCreateDomainRequest) Set(val *CreateDomainRequest)
func (*NullableCreateDomainRequest) UnmarshalJSON ¶
func (v *NullableCreateDomainRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateDomainRequest) Unset ¶
func (v *NullableCreateDomainRequest) Unset()
type NullableDomainLinks ¶
type NullableDomainLinks struct {
// contains filtered or unexported fields
}
func NewNullableDomainLinks ¶
func NewNullableDomainLinks(val *DomainLinks) *NullableDomainLinks
func (NullableDomainLinks) Get ¶
func (v NullableDomainLinks) Get() *DomainLinks
func (NullableDomainLinks) IsSet ¶
func (v NullableDomainLinks) IsSet() bool
func (NullableDomainLinks) MarshalJSON ¶
func (v NullableDomainLinks) MarshalJSON() ([]byte, error)
func (*NullableDomainLinks) Set ¶
func (v *NullableDomainLinks) Set(val *DomainLinks)
func (*NullableDomainLinks) UnmarshalJSON ¶
func (v *NullableDomainLinks) UnmarshalJSON(src []byte) error
func (*NullableDomainLinks) Unset ¶
func (v *NullableDomainLinks) Unset()
type NullableDomainResponseWithResult ¶
type NullableDomainResponseWithResult struct {
// contains filtered or unexported fields
}
func NewNullableDomainResponseWithResult ¶
func NewNullableDomainResponseWithResult(val *DomainResponseWithResult) *NullableDomainResponseWithResult
func (NullableDomainResponseWithResult) Get ¶
func (v NullableDomainResponseWithResult) Get() *DomainResponseWithResult
func (NullableDomainResponseWithResult) IsSet ¶
func (v NullableDomainResponseWithResult) IsSet() bool
func (NullableDomainResponseWithResult) MarshalJSON ¶
func (v NullableDomainResponseWithResult) MarshalJSON() ([]byte, error)
func (*NullableDomainResponseWithResult) Set ¶
func (v *NullableDomainResponseWithResult) Set(val *DomainResponseWithResult)
func (*NullableDomainResponseWithResult) UnmarshalJSON ¶
func (v *NullableDomainResponseWithResult) UnmarshalJSON(src []byte) error
func (*NullableDomainResponseWithResult) Unset ¶
func (v *NullableDomainResponseWithResult) Unset()
type NullableDomainResponseWithResults ¶
type NullableDomainResponseWithResults struct {
// contains filtered or unexported fields
}
func NewNullableDomainResponseWithResults ¶
func NewNullableDomainResponseWithResults(val *DomainResponseWithResults) *NullableDomainResponseWithResults
func (NullableDomainResponseWithResults) Get ¶
func (v NullableDomainResponseWithResults) Get() *DomainResponseWithResults
func (NullableDomainResponseWithResults) IsSet ¶
func (v NullableDomainResponseWithResults) IsSet() bool
func (NullableDomainResponseWithResults) MarshalJSON ¶
func (v NullableDomainResponseWithResults) MarshalJSON() ([]byte, error)
func (*NullableDomainResponseWithResults) Set ¶
func (v *NullableDomainResponseWithResults) Set(val *DomainResponseWithResults)
func (*NullableDomainResponseWithResults) UnmarshalJSON ¶
func (v *NullableDomainResponseWithResults) UnmarshalJSON(src []byte) error
func (*NullableDomainResponseWithResults) Unset ¶
func (v *NullableDomainResponseWithResults) Unset()
type NullableDomainResults ¶
type NullableDomainResults struct {
// contains filtered or unexported fields
}
func NewNullableDomainResults ¶
func NewNullableDomainResults(val *DomainResults) *NullableDomainResults
func (NullableDomainResults) Get ¶
func (v NullableDomainResults) Get() *DomainResults
func (NullableDomainResults) IsSet ¶
func (v NullableDomainResults) IsSet() bool
func (NullableDomainResults) MarshalJSON ¶
func (v NullableDomainResults) MarshalJSON() ([]byte, error)
func (*NullableDomainResults) Set ¶
func (v *NullableDomainResults) Set(val *DomainResults)
func (*NullableDomainResults) UnmarshalJSON ¶
func (v *NullableDomainResults) UnmarshalJSON(src []byte) error
func (*NullableDomainResults) Unset ¶
func (v *NullableDomainResults) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullablePutDomainRequest ¶
type NullablePutDomainRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutDomainRequest ¶
func NewNullablePutDomainRequest(val *PutDomainRequest) *NullablePutDomainRequest
func (NullablePutDomainRequest) Get ¶
func (v NullablePutDomainRequest) Get() *PutDomainRequest
func (NullablePutDomainRequest) IsSet ¶
func (v NullablePutDomainRequest) IsSet() bool
func (NullablePutDomainRequest) MarshalJSON ¶
func (v NullablePutDomainRequest) MarshalJSON() ([]byte, error)
func (*NullablePutDomainRequest) Set ¶
func (v *NullablePutDomainRequest) Set(val *PutDomainRequest)
func (*NullablePutDomainRequest) UnmarshalJSON ¶
func (v *NullablePutDomainRequest) UnmarshalJSON(src []byte) error
func (*NullablePutDomainRequest) Unset ¶
func (v *NullablePutDomainRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateDomainRequest ¶
type NullableUpdateDomainRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDomainRequest ¶
func NewNullableUpdateDomainRequest(val *UpdateDomainRequest) *NullableUpdateDomainRequest
func (NullableUpdateDomainRequest) Get ¶
func (v NullableUpdateDomainRequest) Get() *UpdateDomainRequest
func (NullableUpdateDomainRequest) IsSet ¶
func (v NullableUpdateDomainRequest) IsSet() bool
func (NullableUpdateDomainRequest) MarshalJSON ¶
func (v NullableUpdateDomainRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateDomainRequest) Set ¶
func (v *NullableUpdateDomainRequest) Set(val *UpdateDomainRequest)
func (*NullableUpdateDomainRequest) UnmarshalJSON ¶
func (v *NullableUpdateDomainRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateDomainRequest) Unset ¶
func (v *NullableUpdateDomainRequest) Unset()
type PutDomainRequest ¶
type PutDomainRequest struct { Cnames []string `json:"cnames"` CnameAccessOnly bool `json:"cname_access_only"` Name string `json:"name"` IsActive bool `json:"is_active"` EdgeApplicationId int64 `json:"edge_application_id"` DigitalCertificateId NullableInt64 `json:"digital_certificate_id"` }
PutDomainRequest struct for PutDomainRequest
func NewPutDomainRequest ¶
func NewPutDomainRequest(cnames []string, cnameAccessOnly bool, name string, isActive bool, edgeApplicationId int64, digitalCertificateId NullableInt64) *PutDomainRequest
NewPutDomainRequest instantiates a new PutDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPutDomainRequestWithDefaults ¶
func NewPutDomainRequestWithDefaults() *PutDomainRequest
NewPutDomainRequestWithDefaults instantiates a new PutDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PutDomainRequest) GetCnameAccessOnly ¶
func (o *PutDomainRequest) GetCnameAccessOnly() bool
GetCnameAccessOnly returns the CnameAccessOnly field value
func (*PutDomainRequest) GetCnameAccessOnlyOk ¶
func (o *PutDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)
GetCnameAccessOnlyOk returns a tuple with the CnameAccessOnly field value and a boolean to check if the value has been set.
func (*PutDomainRequest) GetCnames ¶
func (o *PutDomainRequest) GetCnames() []string
GetCnames returns the Cnames field value
func (*PutDomainRequest) GetCnamesOk ¶
func (o *PutDomainRequest) GetCnamesOk() ([]string, bool)
GetCnamesOk returns a tuple with the Cnames field value and a boolean to check if the value has been set.
func (*PutDomainRequest) GetDigitalCertificateId ¶
func (o *PutDomainRequest) GetDigitalCertificateId() int64
GetDigitalCertificateId returns the DigitalCertificateId field value If the value is explicit nil, the zero value for int64 will be returned
func (*PutDomainRequest) GetDigitalCertificateIdOk ¶
func (o *PutDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)
GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PutDomainRequest) GetEdgeApplicationId ¶
func (o *PutDomainRequest) GetEdgeApplicationId() int64
GetEdgeApplicationId returns the EdgeApplicationId field value
func (*PutDomainRequest) GetEdgeApplicationIdOk ¶
func (o *PutDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)
GetEdgeApplicationIdOk returns a tuple with the EdgeApplicationId field value and a boolean to check if the value has been set.
func (*PutDomainRequest) GetIsActive ¶
func (o *PutDomainRequest) GetIsActive() bool
GetIsActive returns the IsActive field value
func (*PutDomainRequest) GetIsActiveOk ¶
func (o *PutDomainRequest) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value and a boolean to check if the value has been set.
func (*PutDomainRequest) GetName ¶
func (o *PutDomainRequest) GetName() string
GetName returns the Name field value
func (*PutDomainRequest) GetNameOk ¶
func (o *PutDomainRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (PutDomainRequest) MarshalJSON ¶
func (o PutDomainRequest) MarshalJSON() ([]byte, error)
func (*PutDomainRequest) SetCnameAccessOnly ¶
func (o *PutDomainRequest) SetCnameAccessOnly(v bool)
SetCnameAccessOnly sets field value
func (*PutDomainRequest) SetCnames ¶
func (o *PutDomainRequest) SetCnames(v []string)
SetCnames sets field value
func (*PutDomainRequest) SetDigitalCertificateId ¶
func (o *PutDomainRequest) SetDigitalCertificateId(v int64)
SetDigitalCertificateId sets field value
func (*PutDomainRequest) SetEdgeApplicationId ¶
func (o *PutDomainRequest) SetEdgeApplicationId(v int64)
SetEdgeApplicationId sets field value
func (*PutDomainRequest) SetIsActive ¶
func (o *PutDomainRequest) SetIsActive(v bool)
SetIsActive sets field value
func (*PutDomainRequest) SetName ¶
func (o *PutDomainRequest) SetName(v string)
SetName sets field value
func (PutDomainRequest) ToMap ¶ added in v0.23.0
func (o PutDomainRequest) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type UpdateDomainRequest ¶
type UpdateDomainRequest struct { Cnames *[]string `json:"cnames,omitempty"` CnameAccessOnly *bool `json:"cname_access_only,omitempty"` Name *string `json:"name,omitempty"` IsActive *bool `json:"is_active,omitempty"` EdgeApplicationId *int64 `json:"edge_application_id,omitempty"` DigitalCertificateId NullableInt64 `json:"digital_certificate_id,omitempty"` }
UpdateDomainRequest struct for UpdateDomainRequest
func NewUpdateDomainRequest ¶
func NewUpdateDomainRequest() *UpdateDomainRequest
NewUpdateDomainRequest instantiates a new UpdateDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateDomainRequestWithDefaults ¶
func NewUpdateDomainRequestWithDefaults() *UpdateDomainRequest
NewUpdateDomainRequestWithDefaults instantiates a new UpdateDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateDomainRequest) GetCnameAccessOnly ¶
func (o *UpdateDomainRequest) GetCnameAccessOnly() bool
GetCnameAccessOnly returns the CnameAccessOnly field value if set, zero value otherwise.
func (*UpdateDomainRequest) GetCnameAccessOnlyOk ¶
func (o *UpdateDomainRequest) GetCnameAccessOnlyOk() (*bool, bool)
GetCnameAccessOnlyOk returns a tuple with the CnameAccessOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDomainRequest) GetCnames ¶
func (o *UpdateDomainRequest) GetCnames() []string
GetCnames returns the Cnames field value if set, zero value otherwise.
func (*UpdateDomainRequest) GetCnamesOk ¶
func (o *UpdateDomainRequest) GetCnamesOk() ([]string, bool)
GetCnamesOk returns a tuple with the Cnames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDomainRequest) GetDigitalCertificateId ¶
func (o *UpdateDomainRequest) GetDigitalCertificateId() int64
GetDigitalCertificateId returns the DigitalCertificateId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateDomainRequest) GetDigitalCertificateIdOk ¶
func (o *UpdateDomainRequest) GetDigitalCertificateIdOk() (*int64, bool)
GetDigitalCertificateIdOk returns a tuple with the DigitalCertificateId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateDomainRequest) GetEdgeApplicationId ¶
func (o *UpdateDomainRequest) GetEdgeApplicationId() int64
GetEdgeApplicationId returns the EdgeApplicationId field value if set, zero value otherwise.
func (*UpdateDomainRequest) GetEdgeApplicationIdOk ¶
func (o *UpdateDomainRequest) GetEdgeApplicationIdOk() (*int64, bool)
GetEdgeApplicationIdOk returns a tuple with the EdgeApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDomainRequest) GetIsActive ¶
func (o *UpdateDomainRequest) GetIsActive() bool
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*UpdateDomainRequest) GetIsActiveOk ¶
func (o *UpdateDomainRequest) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDomainRequest) GetName ¶
func (o *UpdateDomainRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateDomainRequest) GetNameOk ¶
func (o *UpdateDomainRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDomainRequest) HasCnameAccessOnly ¶
func (o *UpdateDomainRequest) HasCnameAccessOnly() bool
HasCnameAccessOnly returns a boolean if a field has been set.
func (*UpdateDomainRequest) HasCnames ¶
func (o *UpdateDomainRequest) HasCnames() bool
HasCnames returns a boolean if a field has been set.
func (*UpdateDomainRequest) HasDigitalCertificateId ¶
func (o *UpdateDomainRequest) HasDigitalCertificateId() bool
HasDigitalCertificateId returns a boolean if a field has been set.
func (*UpdateDomainRequest) HasEdgeApplicationId ¶
func (o *UpdateDomainRequest) HasEdgeApplicationId() bool
HasEdgeApplicationId returns a boolean if a field has been set.
func (*UpdateDomainRequest) HasIsActive ¶
func (o *UpdateDomainRequest) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (*UpdateDomainRequest) HasName ¶
func (o *UpdateDomainRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateDomainRequest) MarshalJSON ¶
func (o UpdateDomainRequest) MarshalJSON() ([]byte, error)
func (*UpdateDomainRequest) SetCnameAccessOnly ¶
func (o *UpdateDomainRequest) SetCnameAccessOnly(v bool)
SetCnameAccessOnly gets a reference to the given bool and assigns it to the CnameAccessOnly field.
func (*UpdateDomainRequest) SetCnames ¶
func (o *UpdateDomainRequest) SetCnames(v []string)
SetCnames gets a reference to the given []string and assigns it to the Cnames field.
func (*UpdateDomainRequest) SetDigitalCertificateId ¶
func (o *UpdateDomainRequest) SetDigitalCertificateId(v int64)
SetDigitalCertificateId gets a reference to the given NullableInt64 and assigns it to the DigitalCertificateId field.
func (*UpdateDomainRequest) SetDigitalCertificateIdNil ¶
func (o *UpdateDomainRequest) SetDigitalCertificateIdNil()
SetDigitalCertificateIdNil sets the value for DigitalCertificateId to be an explicit nil
func (*UpdateDomainRequest) SetEdgeApplicationId ¶
func (o *UpdateDomainRequest) SetEdgeApplicationId(v int64)
SetEdgeApplicationId gets a reference to the given int64 and assigns it to the EdgeApplicationId field.
func (*UpdateDomainRequest) SetIsActive ¶
func (o *UpdateDomainRequest) SetIsActive(v bool)
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
func (*UpdateDomainRequest) SetName ¶
func (o *UpdateDomainRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (UpdateDomainRequest) ToMap ¶ added in v0.23.0
func (o UpdateDomainRequest) ToMap() (map[string]interface{}, error)
func (*UpdateDomainRequest) UnsetDigitalCertificateId ¶
func (o *UpdateDomainRequest) UnsetDigitalCertificateId()
UnsetDigitalCertificateId ensures that no value is present for DigitalCertificateId, not even an explicit nil