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 ApiActivateDynDnsRequest
- type ApiCreateRecordsRequest
- type ApiDeleteDynDnsRequest
- type ApiDeleteRecordRequest
- type ApiDisableDynDnsRequest
- type ApiGetRecordRequest
- type ApiGetZoneRequest
- type ApiGetZonesRequest
- type ApiNormalizeRecordRequest
- type ApiPatchZoneRequest
- type ApiUpdateDynDnsRequest
- type ApiUpdateRecordRequest
- type ApiUpdateZoneRequest
- type BasicAuth
- type Configuration
- type CustomerZone
- func (o *CustomerZone) GetId() string
- func (o *CustomerZone) GetIdOk() (*string, bool)
- func (o *CustomerZone) GetName() string
- func (o *CustomerZone) GetNameOk() (*string, bool)
- func (o *CustomerZone) GetRecords() []RecordResponse
- func (o *CustomerZone) GetRecordsOk() ([]RecordResponse, bool)
- func (o *CustomerZone) GetType() ZoneTypes
- func (o *CustomerZone) GetTypeOk() (*ZoneTypes, bool)
- func (o *CustomerZone) HasId() bool
- func (o *CustomerZone) HasName() bool
- func (o *CustomerZone) HasRecords() bool
- func (o *CustomerZone) HasType() bool
- func (o CustomerZone) MarshalJSON() ([]byte, error)
- func (o *CustomerZone) SetId(v string)
- func (o *CustomerZone) SetName(v string)
- func (o *CustomerZone) SetRecords(v []RecordResponse)
- func (o *CustomerZone) SetType(v ZoneTypes)
- type DynDnsRequest
- func (o *DynDnsRequest) GetDescription() string
- func (o *DynDnsRequest) GetDescriptionOk() (*string, bool)
- func (o *DynDnsRequest) GetDomains() []string
- func (o *DynDnsRequest) GetDomainsOk() ([]string, bool)
- func (o *DynDnsRequest) HasDescription() bool
- func (o DynDnsRequest) MarshalJSON() ([]byte, error)
- func (o *DynDnsRequest) SetDescription(v string)
- func (o *DynDnsRequest) SetDomains(v []string)
- type DynamicDNSApiService
- func (a *DynamicDNSApiService) ActivateDynDns(ctx context.Context) ApiActivateDynDnsRequest
- func (a *DynamicDNSApiService) ActivateDynDnsExecute(r ApiActivateDynDnsRequest) (*DynamicDns, *http.Response, error)
- func (a *DynamicDNSApiService) DeleteDynDns(ctx context.Context, bulkId string) ApiDeleteDynDnsRequest
- func (a *DynamicDNSApiService) DeleteDynDnsExecute(r ApiDeleteDynDnsRequest) (*http.Response, error)
- func (a *DynamicDNSApiService) DisableDynDns(ctx context.Context) ApiDisableDynDnsRequest
- func (a *DynamicDNSApiService) DisableDynDnsExecute(r ApiDisableDynDnsRequest) (*http.Response, error)
- func (a *DynamicDNSApiService) UpdateDynDns(ctx context.Context, bulkId string) ApiUpdateDynDnsRequest
- func (a *DynamicDNSApiService) UpdateDynDnsExecute(r ApiUpdateDynDnsRequest) (*http.Response, error)
- type DynamicDns
- func (o *DynamicDns) GetBulkId() string
- func (o *DynamicDns) GetBulkIdOk() (*string, bool)
- func (o *DynamicDns) GetDescription() string
- func (o *DynamicDns) GetDescriptionOk() (*string, bool)
- func (o *DynamicDns) GetDomains() []string
- func (o *DynamicDns) GetDomainsOk() ([]string, bool)
- func (o *DynamicDns) GetUpdateUrl() string
- func (o *DynamicDns) GetUpdateUrlOk() (*string, bool)
- func (o *DynamicDns) HasBulkId() bool
- func (o *DynamicDns) HasDescription() bool
- func (o *DynamicDns) HasDomains() bool
- func (o *DynamicDns) HasUpdateUrl() bool
- func (o DynamicDns) MarshalJSON() ([]byte, error)
- func (o *DynamicDns) SetBulkId(v string)
- func (o *DynamicDns) SetDescription(v string)
- func (o *DynamicDns) SetDomains(v []string)
- func (o *DynamicDns) SetUpdateUrl(v string)
- type GenericOpenAPIError
- type ModelError
- func (o *ModelError) GetCode() string
- func (o *ModelError) GetCodeOk() (*string, bool)
- func (o *ModelError) GetMessage() string
- func (o *ModelError) GetMessageOk() (*string, bool)
- func (o *ModelError) HasCode() bool
- func (o *ModelError) HasMessage() bool
- func (o ModelError) MarshalJSON() ([]byte, error)
- func (o *ModelError) SetCode(v string)
- func (o *ModelError) SetMessage(v string)
- type NullableBool
- type NullableCustomerZone
- func (v NullableCustomerZone) Get() *CustomerZone
- func (v NullableCustomerZone) IsSet() bool
- func (v NullableCustomerZone) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerZone) Set(val *CustomerZone)
- func (v *NullableCustomerZone) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerZone) Unset()
- type NullableDynDnsRequest
- func (v NullableDynDnsRequest) Get() *DynDnsRequest
- func (v NullableDynDnsRequest) IsSet() bool
- func (v NullableDynDnsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDynDnsRequest) Set(val *DynDnsRequest)
- func (v *NullableDynDnsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDynDnsRequest) Unset()
- type NullableDynamicDns
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModelError
- type NullableRecord
- type NullableRecordResponse
- func (v NullableRecordResponse) Get() *RecordResponse
- func (v NullableRecordResponse) IsSet() bool
- func (v NullableRecordResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRecordResponse) Set(val *RecordResponse)
- func (v *NullableRecordResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRecordResponse) Unset()
- type NullableRecordTypes
- func (v NullableRecordTypes) Get() *RecordTypes
- func (v NullableRecordTypes) IsSet() bool
- func (v NullableRecordTypes) MarshalJSON() ([]byte, error)
- func (v *NullableRecordTypes) Set(val *RecordTypes)
- func (v *NullableRecordTypes) UnmarshalJSON(src []byte) error
- func (v *NullableRecordTypes) Unset()
- type NullableRecordUpdate
- func (v NullableRecordUpdate) Get() *RecordUpdate
- func (v NullableRecordUpdate) IsSet() bool
- func (v NullableRecordUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableRecordUpdate) Set(val *RecordUpdate)
- func (v *NullableRecordUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableRecordUpdate) Unset()
- type NullableString
- type NullableTime
- type NullableZone
- type NullableZoneTypes
- type Record
- func (o *Record) GetContent() string
- func (o *Record) GetContentOk() (*string, bool)
- func (o *Record) GetDisabled() bool
- func (o *Record) GetDisabledOk() (*bool, bool)
- func (o *Record) GetName() string
- func (o *Record) GetNameOk() (*string, bool)
- func (o *Record) GetPrio() int32
- func (o *Record) GetPrioOk() (*int32, bool)
- func (o *Record) GetTtl() int32
- func (o *Record) GetTtlOk() (*int32, bool)
- func (o *Record) GetType() RecordTypes
- func (o *Record) GetTypeOk() (*RecordTypes, bool)
- func (o *Record) HasContent() bool
- func (o *Record) HasDisabled() bool
- func (o *Record) HasName() bool
- func (o *Record) HasPrio() bool
- func (o *Record) HasTtl() bool
- func (o *Record) HasType() bool
- func (o Record) MarshalJSON() ([]byte, error)
- func (o *Record) SetContent(v string)
- func (o *Record) SetDisabled(v bool)
- func (o *Record) SetName(v string)
- func (o *Record) SetPrio(v int32)
- func (o *Record) SetTtl(v int32)
- func (o *Record) SetType(v RecordTypes)
- type RecordResponse
- func (o *RecordResponse) GetChangeDate() string
- func (o *RecordResponse) GetChangeDateOk() (*string, bool)
- func (o *RecordResponse) GetContent() string
- func (o *RecordResponse) GetContentOk() (*string, bool)
- func (o *RecordResponse) GetDisabled() bool
- func (o *RecordResponse) GetDisabledOk() (*bool, bool)
- func (o *RecordResponse) GetId() string
- func (o *RecordResponse) GetIdOk() (*string, bool)
- func (o *RecordResponse) GetName() string
- func (o *RecordResponse) GetNameOk() (*string, bool)
- func (o *RecordResponse) GetPrio() int32
- func (o *RecordResponse) GetPrioOk() (*int32, bool)
- func (o *RecordResponse) GetRootName() string
- func (o *RecordResponse) GetRootNameOk() (*string, bool)
- func (o *RecordResponse) GetTtl() int32
- func (o *RecordResponse) GetTtlOk() (*int32, bool)
- func (o *RecordResponse) GetType() RecordTypes
- func (o *RecordResponse) GetTypeOk() (*RecordTypes, bool)
- func (o *RecordResponse) HasChangeDate() bool
- func (o *RecordResponse) HasContent() bool
- func (o *RecordResponse) HasDisabled() bool
- func (o *RecordResponse) HasId() bool
- func (o *RecordResponse) HasName() bool
- func (o *RecordResponse) HasPrio() bool
- func (o *RecordResponse) HasRootName() bool
- func (o *RecordResponse) HasTtl() bool
- func (o *RecordResponse) HasType() bool
- func (o RecordResponse) MarshalJSON() ([]byte, error)
- func (o *RecordResponse) SetChangeDate(v string)
- func (o *RecordResponse) SetContent(v string)
- func (o *RecordResponse) SetDisabled(v bool)
- func (o *RecordResponse) SetId(v string)
- func (o *RecordResponse) SetName(v string)
- func (o *RecordResponse) SetPrio(v int32)
- func (o *RecordResponse) SetRootName(v string)
- func (o *RecordResponse) SetTtl(v int32)
- func (o *RecordResponse) SetType(v RecordTypes)
- type RecordTypes
- type RecordUpdate
- func (o *RecordUpdate) GetContent() string
- func (o *RecordUpdate) GetContentOk() (*string, bool)
- func (o *RecordUpdate) GetDisabled() bool
- func (o *RecordUpdate) GetDisabledOk() (*bool, bool)
- func (o *RecordUpdate) GetPrio() int32
- func (o *RecordUpdate) GetPrioOk() (*int32, bool)
- func (o *RecordUpdate) GetTtl() int32
- func (o *RecordUpdate) GetTtlOk() (*int32, bool)
- func (o *RecordUpdate) HasContent() bool
- func (o *RecordUpdate) HasDisabled() bool
- func (o *RecordUpdate) HasPrio() bool
- func (o *RecordUpdate) HasTtl() bool
- func (o RecordUpdate) MarshalJSON() ([]byte, error)
- func (o *RecordUpdate) SetContent(v string)
- func (o *RecordUpdate) SetDisabled(v bool)
- func (o *RecordUpdate) SetPrio(v int32)
- func (o *RecordUpdate) SetTtl(v int32)
- type RecordsApiService
- func (a *RecordsApiService) CreateRecords(ctx context.Context, zoneId string) ApiCreateRecordsRequest
- func (a *RecordsApiService) CreateRecordsExecute(r ApiCreateRecordsRequest) ([]RecordResponse, *http.Response, error)
- func (a *RecordsApiService) DeleteRecord(ctx context.Context, zoneId string, recordId string) ApiDeleteRecordRequest
- func (a *RecordsApiService) DeleteRecordExecute(r ApiDeleteRecordRequest) (*http.Response, error)
- func (a *RecordsApiService) GetRecord(ctx context.Context, zoneId string, recordId string) ApiGetRecordRequest
- func (a *RecordsApiService) GetRecordExecute(r ApiGetRecordRequest) (*RecordResponse, *http.Response, error)
- func (a *RecordsApiService) NormalizeRecord(ctx context.Context) ApiNormalizeRecordRequest
- func (a *RecordsApiService) NormalizeRecordExecute(r ApiNormalizeRecordRequest) (*Record, *http.Response, error)
- func (a *RecordsApiService) UpdateRecord(ctx context.Context, zoneId string, recordId string) ApiUpdateRecordRequest
- func (a *RecordsApiService) UpdateRecordExecute(r ApiUpdateRecordRequest) (*RecordResponse, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Zone
- func (o *Zone) GetId() string
- func (o *Zone) GetIdOk() (*string, bool)
- func (o *Zone) GetName() string
- func (o *Zone) GetNameOk() (*string, bool)
- func (o *Zone) GetType() ZoneTypes
- func (o *Zone) GetTypeOk() (*ZoneTypes, bool)
- func (o *Zone) HasId() bool
- func (o *Zone) HasName() bool
- func (o *Zone) HasType() bool
- func (o Zone) MarshalJSON() ([]byte, error)
- func (o *Zone) SetId(v string)
- func (o *Zone) SetName(v string)
- func (o *Zone) SetType(v ZoneTypes)
- type ZoneTypes
- type ZonesApiService
- func (a *ZonesApiService) GetZone(ctx context.Context, zoneId string) ApiGetZoneRequest
- func (a *ZonesApiService) GetZoneExecute(r ApiGetZoneRequest) (*CustomerZone, *http.Response, error)
- func (a *ZonesApiService) GetZones(ctx context.Context) ApiGetZonesRequest
- func (a *ZonesApiService) GetZonesExecute(r ApiGetZonesRequest) ([]Zone, *http.Response, error)
- func (a *ZonesApiService) PatchZone(ctx context.Context, zoneId string) ApiPatchZoneRequest
- func (a *ZonesApiService) PatchZoneExecute(r ApiPatchZoneRequest) (*http.Response, error)
- func (a *ZonesApiService) UpdateZone(ctx context.Context, zoneId string) ApiUpdateZoneRequest
- func (a *ZonesApiService) UpdateZoneExecute(r ApiUpdateZoneRequest) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // 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") )
var AllowedRecordTypesEnumValues = []RecordTypes{
"A",
"AAAA",
"CNAME",
"MX",
"NS",
"SOA",
"SRV",
"TXT",
"CAA",
}
All allowed values of RecordTypes enum
var AllowedZoneTypesEnumValues = []ZoneTypes{
"NATIVE",
"SLAVE",
}
All allowed values of ZoneTypes enum
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 { DynamicDNSApi *DynamicDNSApiService RecordsApi *RecordsApiService ZonesApi *ZonesApiService // contains filtered or unexported fields }
APIClient manages communication with the DNS API API v1.0.1 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 ApiActivateDynDnsRequest ¶
type ApiActivateDynDnsRequest struct { ApiService *DynamicDNSApiService // contains filtered or unexported fields }
func (ApiActivateDynDnsRequest) DynDnsRequest ¶
func (r ApiActivateDynDnsRequest) DynDnsRequest(dynDnsRequest DynDnsRequest) ApiActivateDynDnsRequest
Dynamic Dns configuration.
func (ApiActivateDynDnsRequest) Execute ¶
func (r ApiActivateDynDnsRequest) Execute() (*DynamicDns, *http.Response, error)
type ApiCreateRecordsRequest ¶
type ApiCreateRecordsRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiCreateRecordsRequest) Execute ¶
func (r ApiCreateRecordsRequest) Execute() ([]RecordResponse, *http.Response, error)
func (ApiCreateRecordsRequest) Record ¶
func (r ApiCreateRecordsRequest) Record(record []Record) ApiCreateRecordsRequest
type ApiDeleteDynDnsRequest ¶
type ApiDeleteDynDnsRequest struct { ApiService *DynamicDNSApiService // contains filtered or unexported fields }
type ApiDeleteRecordRequest ¶
type ApiDeleteRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
type ApiDisableDynDnsRequest ¶
type ApiDisableDynDnsRequest struct { ApiService *DynamicDNSApiService // contains filtered or unexported fields }
type ApiGetRecordRequest ¶
type ApiGetRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiGetRecordRequest) Execute ¶
func (r ApiGetRecordRequest) Execute() (*RecordResponse, *http.Response, error)
type ApiGetZoneRequest ¶
type ApiGetZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiGetZoneRequest) Execute ¶
func (r ApiGetZoneRequest) Execute() (*CustomerZone, *http.Response, error)
func (ApiGetZoneRequest) RecordName ¶
func (r ApiGetZoneRequest) RecordName(recordName string) ApiGetZoneRequest
The record names that should be included (same as name field of Record)
func (ApiGetZoneRequest) RecordType ¶
func (r ApiGetZoneRequest) RecordType(recordType string) ApiGetZoneRequest
A comma-separated list of record types that should be included
func (ApiGetZoneRequest) Suffix ¶
func (r ApiGetZoneRequest) Suffix(suffix string) ApiGetZoneRequest
The FQDN used to filter all the record names that end with it.
type ApiGetZonesRequest ¶
type ApiGetZonesRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
type ApiNormalizeRecordRequest ¶
type ApiNormalizeRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiNormalizeRecordRequest) Execute ¶
func (r ApiNormalizeRecordRequest) Execute() (*Record, *http.Response, error)
func (ApiNormalizeRecordRequest) Record ¶
func (r ApiNormalizeRecordRequest) Record(record Record) ApiNormalizeRecordRequest
type ApiPatchZoneRequest ¶
type ApiPatchZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiPatchZoneRequest) Record ¶
func (r ApiPatchZoneRequest) Record(record []Record) ApiPatchZoneRequest
records
type ApiUpdateDynDnsRequest ¶
type ApiUpdateDynDnsRequest struct { ApiService *DynamicDNSApiService // contains filtered or unexported fields }
func (ApiUpdateDynDnsRequest) DynDnsRequest ¶
func (r ApiUpdateDynDnsRequest) DynDnsRequest(dynDnsRequest DynDnsRequest) ApiUpdateDynDnsRequest
Dynamic Dns configuration.
type ApiUpdateRecordRequest ¶
type ApiUpdateRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiUpdateRecordRequest) Execute ¶
func (r ApiUpdateRecordRequest) Execute() (*RecordResponse, *http.Response, error)
func (ApiUpdateRecordRequest) RecordUpdate ¶
func (r ApiUpdateRecordRequest) RecordUpdate(recordUpdate RecordUpdate) ApiUpdateRecordRequest
type ApiUpdateZoneRequest ¶
type ApiUpdateZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiUpdateZoneRequest) Execute ¶
func (r ApiUpdateZoneRequest) Execute() (*http.Response, error)
func (ApiUpdateZoneRequest) Record ¶
func (r ApiUpdateZoneRequest) Record(record []Record) ApiUpdateZoneRequest
records
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 CustomerZone ¶
type CustomerZone struct { // The zone id. Id *string `json:"id,omitempty"` // The zone name Name *string `json:"name,omitempty"` Type *ZoneTypes `json:"type,omitempty"` Records []RecordResponse `json:"records,omitempty"` }
CustomerZone struct for CustomerZone
func NewCustomerZone ¶
func NewCustomerZone() *CustomerZone
NewCustomerZone instantiates a new CustomerZone 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 NewCustomerZoneWithDefaults ¶
func NewCustomerZoneWithDefaults() *CustomerZone
NewCustomerZoneWithDefaults instantiates a new CustomerZone 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 (*CustomerZone) GetId ¶
func (o *CustomerZone) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CustomerZone) GetIdOk ¶
func (o *CustomerZone) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerZone) GetName ¶
func (o *CustomerZone) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CustomerZone) GetNameOk ¶
func (o *CustomerZone) 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 (*CustomerZone) GetRecords ¶
func (o *CustomerZone) GetRecords() []RecordResponse
GetRecords returns the Records field value if set, zero value otherwise.
func (*CustomerZone) GetRecordsOk ¶
func (o *CustomerZone) GetRecordsOk() ([]RecordResponse, bool)
GetRecordsOk returns a tuple with the Records field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerZone) GetType ¶
func (o *CustomerZone) GetType() ZoneTypes
GetType returns the Type field value if set, zero value otherwise.
func (*CustomerZone) GetTypeOk ¶
func (o *CustomerZone) GetTypeOk() (*ZoneTypes, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CustomerZone) HasId ¶
func (o *CustomerZone) HasId() bool
HasId returns a boolean if a field has been set.
func (*CustomerZone) HasName ¶
func (o *CustomerZone) HasName() bool
HasName returns a boolean if a field has been set.
func (*CustomerZone) HasRecords ¶
func (o *CustomerZone) HasRecords() bool
HasRecords returns a boolean if a field has been set.
func (*CustomerZone) HasType ¶
func (o *CustomerZone) HasType() bool
HasType returns a boolean if a field has been set.
func (CustomerZone) MarshalJSON ¶
func (o CustomerZone) MarshalJSON() ([]byte, error)
func (*CustomerZone) SetId ¶
func (o *CustomerZone) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CustomerZone) SetName ¶
func (o *CustomerZone) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CustomerZone) SetRecords ¶
func (o *CustomerZone) SetRecords(v []RecordResponse)
SetRecords gets a reference to the given []RecordResponse and assigns it to the Records field.
func (*CustomerZone) SetType ¶
func (o *CustomerZone) SetType(v ZoneTypes)
SetType gets a reference to the given ZoneTypes and assigns it to the Type field.
type DynDnsRequest ¶
type DynDnsRequest struct { Domains []string `json:"domains"` // Dynamic Dns description. Description *string `json:"description,omitempty"` }
DynDnsRequest struct for DynDnsRequest
func NewDynDnsRequest ¶
func NewDynDnsRequest(domains []string) *DynDnsRequest
NewDynDnsRequest instantiates a new DynDnsRequest 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 NewDynDnsRequestWithDefaults ¶
func NewDynDnsRequestWithDefaults() *DynDnsRequest
NewDynDnsRequestWithDefaults instantiates a new DynDnsRequest 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 (*DynDnsRequest) GetDescription ¶
func (o *DynDnsRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DynDnsRequest) GetDescriptionOk ¶
func (o *DynDnsRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DynDnsRequest) GetDomains ¶
func (o *DynDnsRequest) GetDomains() []string
GetDomains returns the Domains field value
func (*DynDnsRequest) GetDomainsOk ¶
func (o *DynDnsRequest) GetDomainsOk() ([]string, bool)
GetDomainsOk returns a tuple with the Domains field value and a boolean to check if the value has been set.
func (*DynDnsRequest) HasDescription ¶
func (o *DynDnsRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (DynDnsRequest) MarshalJSON ¶
func (o DynDnsRequest) MarshalJSON() ([]byte, error)
func (*DynDnsRequest) SetDescription ¶
func (o *DynDnsRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DynDnsRequest) SetDomains ¶
func (o *DynDnsRequest) SetDomains(v []string)
SetDomains sets field value
type DynamicDNSApiService ¶
type DynamicDNSApiService service
DynamicDNSApiService DynamicDNSApi service
func (*DynamicDNSApiService) ActivateDynDns ¶
func (a *DynamicDNSApiService) ActivateDynDns(ctx context.Context) ApiActivateDynDnsRequest
ActivateDynDns Method for ActivateDynDns
Activate Dynamic Dns for a bundle of (sub)domains. The url from response will be used to update the ips of the (sub)domains. The following quota applies: 2 requests per minute per IP address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiActivateDynDnsRequest
func (*DynamicDNSApiService) ActivateDynDnsExecute ¶
func (a *DynamicDNSApiService) ActivateDynDnsExecute(r ApiActivateDynDnsRequest) (*DynamicDns, *http.Response, error)
Execute executes the request
@return DynamicDns
func (*DynamicDNSApiService) DeleteDynDns ¶
func (a *DynamicDNSApiService) DeleteDynDns(ctx context.Context, bulkId string) ApiDeleteDynDnsRequest
DeleteDynDns Method for DeleteDynDns
Disable Dynamic Dns for bulk id. The following quota applies: 2 requests per minute per IP address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param bulkId Dynamic Dns configuration identifier. @return ApiDeleteDynDnsRequest
func (*DynamicDNSApiService) DeleteDynDnsExecute ¶
func (a *DynamicDNSApiService) DeleteDynDnsExecute(r ApiDeleteDynDnsRequest) (*http.Response, error)
Execute executes the request
func (*DynamicDNSApiService) DisableDynDns ¶
func (a *DynamicDNSApiService) DisableDynDns(ctx context.Context) ApiDisableDynDnsRequest
DisableDynDns Method for DisableDynDns
Disable Dynamic Dns. The following quota applies: 2 requests per minute per IP address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDisableDynDnsRequest
func (*DynamicDNSApiService) DisableDynDnsExecute ¶
func (a *DynamicDNSApiService) DisableDynDnsExecute(r ApiDisableDynDnsRequest) (*http.Response, error)
Execute executes the request
func (*DynamicDNSApiService) UpdateDynDns ¶
func (a *DynamicDNSApiService) UpdateDynDns(ctx context.Context, bulkId string) ApiUpdateDynDnsRequest
UpdateDynDns Method for UpdateDynDns
Update Dynamic Dns for bulk id. The following quota applies: 2 requests per minute per IP address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param bulkId Dynamic Dns configuration identifier. @return ApiUpdateDynDnsRequest
func (*DynamicDNSApiService) UpdateDynDnsExecute ¶
func (a *DynamicDNSApiService) UpdateDynDnsExecute(r ApiUpdateDynDnsRequest) (*http.Response, error)
Execute executes the request
type DynamicDns ¶
type DynamicDns struct { // DynDns configuration identifier. BulkId *string `json:"bulkId,omitempty"` // Use the url with GET to update the ips of (sub)domains. Query parameters: ipv4, ipv6. UpdateUrl *string `json:"updateUrl,omitempty"` Domains []string `json:"domains,omitempty"` // Dynamic Dns description. Description *string `json:"description,omitempty"` }
DynamicDns struct for DynamicDns
func NewDynamicDns ¶
func NewDynamicDns() *DynamicDns
NewDynamicDns instantiates a new DynamicDns 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 NewDynamicDnsWithDefaults ¶
func NewDynamicDnsWithDefaults() *DynamicDns
NewDynamicDnsWithDefaults instantiates a new DynamicDns 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 (*DynamicDns) GetBulkId ¶
func (o *DynamicDns) GetBulkId() string
GetBulkId returns the BulkId field value if set, zero value otherwise.
func (*DynamicDns) GetBulkIdOk ¶
func (o *DynamicDns) GetBulkIdOk() (*string, bool)
GetBulkIdOk returns a tuple with the BulkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DynamicDns) GetDescription ¶
func (o *DynamicDns) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DynamicDns) GetDescriptionOk ¶
func (o *DynamicDns) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DynamicDns) GetDomains ¶
func (o *DynamicDns) GetDomains() []string
GetDomains returns the Domains field value if set, zero value otherwise.
func (*DynamicDns) GetDomainsOk ¶
func (o *DynamicDns) GetDomainsOk() ([]string, bool)
GetDomainsOk returns a tuple with the Domains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DynamicDns) GetUpdateUrl ¶
func (o *DynamicDns) GetUpdateUrl() string
GetUpdateUrl returns the UpdateUrl field value if set, zero value otherwise.
func (*DynamicDns) GetUpdateUrlOk ¶
func (o *DynamicDns) GetUpdateUrlOk() (*string, bool)
GetUpdateUrlOk returns a tuple with the UpdateUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DynamicDns) HasBulkId ¶
func (o *DynamicDns) HasBulkId() bool
HasBulkId returns a boolean if a field has been set.
func (*DynamicDns) HasDescription ¶
func (o *DynamicDns) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DynamicDns) HasDomains ¶
func (o *DynamicDns) HasDomains() bool
HasDomains returns a boolean if a field has been set.
func (*DynamicDns) HasUpdateUrl ¶
func (o *DynamicDns) HasUpdateUrl() bool
HasUpdateUrl returns a boolean if a field has been set.
func (DynamicDns) MarshalJSON ¶
func (o DynamicDns) MarshalJSON() ([]byte, error)
func (*DynamicDns) SetBulkId ¶
func (o *DynamicDns) SetBulkId(v string)
SetBulkId gets a reference to the given string and assigns it to the BulkId field.
func (*DynamicDns) SetDescription ¶
func (o *DynamicDns) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DynamicDns) SetDomains ¶
func (o *DynamicDns) SetDomains(v []string)
SetDomains gets a reference to the given []string and assigns it to the Domains field.
func (*DynamicDns) SetUpdateUrl ¶
func (o *DynamicDns) SetUpdateUrl(v string)
SetUpdateUrl gets a reference to the given string and assigns it to the UpdateUrl field.
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 ModelError ¶
type ModelError struct { // The error code. Code *string `json:"code,omitempty"` // The error message. Message *string `json:"message,omitempty"` }
ModelError struct for ModelError
func NewModelError ¶
func NewModelError() *ModelError
NewModelError instantiates a new ModelError 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 NewModelErrorWithDefaults ¶
func NewModelErrorWithDefaults() *ModelError
NewModelErrorWithDefaults instantiates a new ModelError 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 (*ModelError) GetCode ¶
func (o *ModelError) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ModelError) GetCodeOk ¶
func (o *ModelError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetMessage ¶
func (o *ModelError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ModelError) GetMessageOk ¶
func (o *ModelError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) HasCode ¶
func (o *ModelError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ModelError) HasMessage ¶
func (o *ModelError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ModelError) MarshalJSON ¶
func (o ModelError) MarshalJSON() ([]byte, error)
func (*ModelError) SetCode ¶
func (o *ModelError) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ModelError) SetMessage ¶
func (o *ModelError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
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 NullableCustomerZone ¶
type NullableCustomerZone struct {
// contains filtered or unexported fields
}
func NewNullableCustomerZone ¶
func NewNullableCustomerZone(val *CustomerZone) *NullableCustomerZone
func (NullableCustomerZone) Get ¶
func (v NullableCustomerZone) Get() *CustomerZone
func (NullableCustomerZone) IsSet ¶
func (v NullableCustomerZone) IsSet() bool
func (NullableCustomerZone) MarshalJSON ¶
func (v NullableCustomerZone) MarshalJSON() ([]byte, error)
func (*NullableCustomerZone) Set ¶
func (v *NullableCustomerZone) Set(val *CustomerZone)
func (*NullableCustomerZone) UnmarshalJSON ¶
func (v *NullableCustomerZone) UnmarshalJSON(src []byte) error
func (*NullableCustomerZone) Unset ¶
func (v *NullableCustomerZone) Unset()
type NullableDynDnsRequest ¶
type NullableDynDnsRequest struct {
// contains filtered or unexported fields
}
func NewNullableDynDnsRequest ¶
func NewNullableDynDnsRequest(val *DynDnsRequest) *NullableDynDnsRequest
func (NullableDynDnsRequest) Get ¶
func (v NullableDynDnsRequest) Get() *DynDnsRequest
func (NullableDynDnsRequest) IsSet ¶
func (v NullableDynDnsRequest) IsSet() bool
func (NullableDynDnsRequest) MarshalJSON ¶
func (v NullableDynDnsRequest) MarshalJSON() ([]byte, error)
func (*NullableDynDnsRequest) Set ¶
func (v *NullableDynDnsRequest) Set(val *DynDnsRequest)
func (*NullableDynDnsRequest) UnmarshalJSON ¶
func (v *NullableDynDnsRequest) UnmarshalJSON(src []byte) error
func (*NullableDynDnsRequest) Unset ¶
func (v *NullableDynDnsRequest) Unset()
type NullableDynamicDns ¶
type NullableDynamicDns struct {
// contains filtered or unexported fields
}
func NewNullableDynamicDns ¶
func NewNullableDynamicDns(val *DynamicDns) *NullableDynamicDns
func (NullableDynamicDns) Get ¶
func (v NullableDynamicDns) Get() *DynamicDns
func (NullableDynamicDns) IsSet ¶
func (v NullableDynamicDns) IsSet() bool
func (NullableDynamicDns) MarshalJSON ¶
func (v NullableDynamicDns) MarshalJSON() ([]byte, error)
func (*NullableDynamicDns) Set ¶
func (v *NullableDynamicDns) Set(val *DynamicDns)
func (*NullableDynamicDns) UnmarshalJSON ¶
func (v *NullableDynamicDns) UnmarshalJSON(src []byte) error
func (*NullableDynamicDns) Unset ¶
func (v *NullableDynamicDns) 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 NullableModelError ¶
type NullableModelError struct {
// contains filtered or unexported fields
}
func NewNullableModelError ¶
func NewNullableModelError(val *ModelError) *NullableModelError
func (NullableModelError) Get ¶
func (v NullableModelError) Get() *ModelError
func (NullableModelError) IsSet ¶
func (v NullableModelError) IsSet() bool
func (NullableModelError) MarshalJSON ¶
func (v NullableModelError) MarshalJSON() ([]byte, error)
func (*NullableModelError) Set ¶
func (v *NullableModelError) Set(val *ModelError)
func (*NullableModelError) UnmarshalJSON ¶
func (v *NullableModelError) UnmarshalJSON(src []byte) error
func (*NullableModelError) Unset ¶
func (v *NullableModelError) Unset()
type NullableRecord ¶
type NullableRecord struct {
// contains filtered or unexported fields
}
func NewNullableRecord ¶
func NewNullableRecord(val *Record) *NullableRecord
func (NullableRecord) Get ¶
func (v NullableRecord) Get() *Record
func (NullableRecord) IsSet ¶
func (v NullableRecord) IsSet() bool
func (NullableRecord) MarshalJSON ¶
func (v NullableRecord) MarshalJSON() ([]byte, error)
func (*NullableRecord) Set ¶
func (v *NullableRecord) Set(val *Record)
func (*NullableRecord) UnmarshalJSON ¶
func (v *NullableRecord) UnmarshalJSON(src []byte) error
func (*NullableRecord) Unset ¶
func (v *NullableRecord) Unset()
type NullableRecordResponse ¶
type NullableRecordResponse struct {
// contains filtered or unexported fields
}
func NewNullableRecordResponse ¶
func NewNullableRecordResponse(val *RecordResponse) *NullableRecordResponse
func (NullableRecordResponse) Get ¶
func (v NullableRecordResponse) Get() *RecordResponse
func (NullableRecordResponse) IsSet ¶
func (v NullableRecordResponse) IsSet() bool
func (NullableRecordResponse) MarshalJSON ¶
func (v NullableRecordResponse) MarshalJSON() ([]byte, error)
func (*NullableRecordResponse) Set ¶
func (v *NullableRecordResponse) Set(val *RecordResponse)
func (*NullableRecordResponse) UnmarshalJSON ¶
func (v *NullableRecordResponse) UnmarshalJSON(src []byte) error
func (*NullableRecordResponse) Unset ¶
func (v *NullableRecordResponse) Unset()
type NullableRecordTypes ¶
type NullableRecordTypes struct {
// contains filtered or unexported fields
}
func NewNullableRecordTypes ¶
func NewNullableRecordTypes(val *RecordTypes) *NullableRecordTypes
func (NullableRecordTypes) Get ¶
func (v NullableRecordTypes) Get() *RecordTypes
func (NullableRecordTypes) IsSet ¶
func (v NullableRecordTypes) IsSet() bool
func (NullableRecordTypes) MarshalJSON ¶
func (v NullableRecordTypes) MarshalJSON() ([]byte, error)
func (*NullableRecordTypes) Set ¶
func (v *NullableRecordTypes) Set(val *RecordTypes)
func (*NullableRecordTypes) UnmarshalJSON ¶
func (v *NullableRecordTypes) UnmarshalJSON(src []byte) error
func (*NullableRecordTypes) Unset ¶
func (v *NullableRecordTypes) Unset()
type NullableRecordUpdate ¶
type NullableRecordUpdate struct {
// contains filtered or unexported fields
}
func NewNullableRecordUpdate ¶
func NewNullableRecordUpdate(val *RecordUpdate) *NullableRecordUpdate
func (NullableRecordUpdate) Get ¶
func (v NullableRecordUpdate) Get() *RecordUpdate
func (NullableRecordUpdate) IsSet ¶
func (v NullableRecordUpdate) IsSet() bool
func (NullableRecordUpdate) MarshalJSON ¶
func (v NullableRecordUpdate) MarshalJSON() ([]byte, error)
func (*NullableRecordUpdate) Set ¶
func (v *NullableRecordUpdate) Set(val *RecordUpdate)
func (*NullableRecordUpdate) UnmarshalJSON ¶
func (v *NullableRecordUpdate) UnmarshalJSON(src []byte) error
func (*NullableRecordUpdate) Unset ¶
func (v *NullableRecordUpdate) 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 NullableZone ¶
type NullableZone struct {
// contains filtered or unexported fields
}
func NewNullableZone ¶
func NewNullableZone(val *Zone) *NullableZone
func (NullableZone) Get ¶
func (v NullableZone) Get() *Zone
func (NullableZone) IsSet ¶
func (v NullableZone) IsSet() bool
func (NullableZone) MarshalJSON ¶
func (v NullableZone) MarshalJSON() ([]byte, error)
func (*NullableZone) Set ¶
func (v *NullableZone) Set(val *Zone)
func (*NullableZone) UnmarshalJSON ¶
func (v *NullableZone) UnmarshalJSON(src []byte) error
func (*NullableZone) Unset ¶
func (v *NullableZone) Unset()
type NullableZoneTypes ¶
type NullableZoneTypes struct {
// contains filtered or unexported fields
}
func NewNullableZoneTypes ¶
func NewNullableZoneTypes(val *ZoneTypes) *NullableZoneTypes
func (NullableZoneTypes) Get ¶
func (v NullableZoneTypes) Get() *ZoneTypes
func (NullableZoneTypes) IsSet ¶
func (v NullableZoneTypes) IsSet() bool
func (NullableZoneTypes) MarshalJSON ¶
func (v NullableZoneTypes) MarshalJSON() ([]byte, error)
func (*NullableZoneTypes) Set ¶
func (v *NullableZoneTypes) Set(val *ZoneTypes)
func (*NullableZoneTypes) UnmarshalJSON ¶
func (v *NullableZoneTypes) UnmarshalJSON(src []byte) error
func (*NullableZoneTypes) Unset ¶
func (v *NullableZoneTypes) Unset()
type Record ¶
type Record struct { Name *string `json:"name,omitempty"` Type *RecordTypes `json:"type,omitempty"` Content *string `json:"content,omitempty"` // Time to live for the record, recommended 3600. Ttl *int32 `json:"ttl,omitempty"` Prio *int32 `json:"prio,omitempty"` // When is true, the record is not visible for lookup. Disabled *bool `json:"disabled,omitempty"` }
Record struct for Record
func NewRecord ¶
func NewRecord() *Record
NewRecord instantiates a new Record 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 NewRecordWithDefaults ¶
func NewRecordWithDefaults() *Record
NewRecordWithDefaults instantiates a new Record 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 (*Record) GetContent ¶
GetContent returns the Content field value if set, zero value otherwise.
func (*Record) GetContentOk ¶
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetDisabled ¶
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*Record) GetDisabledOk ¶
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetNameOk ¶
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 (*Record) GetPrioOk ¶
GetPrioOk returns a tuple with the Prio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetTtlOk ¶
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetType ¶
func (o *Record) GetType() RecordTypes
GetType returns the Type field value if set, zero value otherwise.
func (*Record) GetTypeOk ¶
func (o *Record) GetTypeOk() (*RecordTypes, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) HasContent ¶
HasContent returns a boolean if a field has been set.
func (*Record) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (Record) MarshalJSON ¶
func (*Record) SetContent ¶
SetContent gets a reference to the given string and assigns it to the Content field.
func (*Record) SetDisabled ¶
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*Record) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Record) SetPrio ¶
SetPrio gets a reference to the given int32 and assigns it to the Prio field.
func (*Record) SetType ¶
func (o *Record) SetType(v RecordTypes)
SetType gets a reference to the given RecordTypes and assigns it to the Type field.
type RecordResponse ¶
type RecordResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // Root zone name. RootName *string `json:"rootName,omitempty"` Type *RecordTypes `json:"type,omitempty"` Content *string `json:"content,omitempty"` // The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z' ChangeDate *string `json:"changeDate,omitempty"` // Time to live for the record, recommended 3600. Ttl *int32 `json:"ttl,omitempty"` Prio *int32 `json:"prio,omitempty"` // When is true, the record is not visible for lookup. Disabled *bool `json:"disabled,omitempty"` }
RecordResponse struct for RecordResponse
func NewRecordResponse ¶
func NewRecordResponse() *RecordResponse
NewRecordResponse instantiates a new RecordResponse 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 NewRecordResponseWithDefaults ¶
func NewRecordResponseWithDefaults() *RecordResponse
NewRecordResponseWithDefaults instantiates a new RecordResponse 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 (*RecordResponse) GetChangeDate ¶
func (o *RecordResponse) GetChangeDate() string
GetChangeDate returns the ChangeDate field value if set, zero value otherwise.
func (*RecordResponse) GetChangeDateOk ¶
func (o *RecordResponse) GetChangeDateOk() (*string, bool)
GetChangeDateOk returns a tuple with the ChangeDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetContent ¶
func (o *RecordResponse) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*RecordResponse) GetContentOk ¶
func (o *RecordResponse) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetDisabled ¶
func (o *RecordResponse) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*RecordResponse) GetDisabledOk ¶
func (o *RecordResponse) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetId ¶
func (o *RecordResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RecordResponse) GetIdOk ¶
func (o *RecordResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetName ¶
func (o *RecordResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RecordResponse) GetNameOk ¶
func (o *RecordResponse) 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 (*RecordResponse) GetPrio ¶
func (o *RecordResponse) GetPrio() int32
GetPrio returns the Prio field value if set, zero value otherwise.
func (*RecordResponse) GetPrioOk ¶
func (o *RecordResponse) GetPrioOk() (*int32, bool)
GetPrioOk returns a tuple with the Prio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetRootName ¶
func (o *RecordResponse) GetRootName() string
GetRootName returns the RootName field value if set, zero value otherwise.
func (*RecordResponse) GetRootNameOk ¶
func (o *RecordResponse) GetRootNameOk() (*string, bool)
GetRootNameOk returns a tuple with the RootName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetTtl ¶
func (o *RecordResponse) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*RecordResponse) GetTtlOk ¶
func (o *RecordResponse) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) GetType ¶
func (o *RecordResponse) GetType() RecordTypes
GetType returns the Type field value if set, zero value otherwise.
func (*RecordResponse) GetTypeOk ¶
func (o *RecordResponse) GetTypeOk() (*RecordTypes, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordResponse) HasChangeDate ¶
func (o *RecordResponse) HasChangeDate() bool
HasChangeDate returns a boolean if a field has been set.
func (*RecordResponse) HasContent ¶
func (o *RecordResponse) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*RecordResponse) HasDisabled ¶
func (o *RecordResponse) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*RecordResponse) HasId ¶
func (o *RecordResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*RecordResponse) HasName ¶
func (o *RecordResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*RecordResponse) HasPrio ¶
func (o *RecordResponse) HasPrio() bool
HasPrio returns a boolean if a field has been set.
func (*RecordResponse) HasRootName ¶
func (o *RecordResponse) HasRootName() bool
HasRootName returns a boolean if a field has been set.
func (*RecordResponse) HasTtl ¶
func (o *RecordResponse) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (*RecordResponse) HasType ¶
func (o *RecordResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (RecordResponse) MarshalJSON ¶
func (o RecordResponse) MarshalJSON() ([]byte, error)
func (*RecordResponse) SetChangeDate ¶
func (o *RecordResponse) SetChangeDate(v string)
SetChangeDate gets a reference to the given string and assigns it to the ChangeDate field.
func (*RecordResponse) SetContent ¶
func (o *RecordResponse) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*RecordResponse) SetDisabled ¶
func (o *RecordResponse) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*RecordResponse) SetId ¶
func (o *RecordResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RecordResponse) SetName ¶
func (o *RecordResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RecordResponse) SetPrio ¶
func (o *RecordResponse) SetPrio(v int32)
SetPrio gets a reference to the given int32 and assigns it to the Prio field.
func (*RecordResponse) SetRootName ¶
func (o *RecordResponse) SetRootName(v string)
SetRootName gets a reference to the given string and assigns it to the RootName field.
func (*RecordResponse) SetTtl ¶
func (o *RecordResponse) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
func (*RecordResponse) SetType ¶
func (o *RecordResponse) SetType(v RecordTypes)
SetType gets a reference to the given RecordTypes and assigns it to the Type field.
type RecordTypes ¶
type RecordTypes string
RecordTypes Holds supported dns record types.
const ( A RecordTypes = "A" AAAA RecordTypes = "AAAA" CNAME RecordTypes = "CNAME" MX RecordTypes = "MX" NS RecordTypes = "NS" SOA RecordTypes = "SOA" SRV RecordTypes = "SRV" TXT RecordTypes = "TXT" CAA RecordTypes = "CAA" )
List of recordTypes
func NewRecordTypesFromValue ¶
func NewRecordTypesFromValue(v string) (*RecordTypes, error)
NewRecordTypesFromValue returns a pointer to a valid RecordTypes for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RecordTypes) IsValid ¶
func (v RecordTypes) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RecordTypes) Ptr ¶
func (v RecordTypes) Ptr() *RecordTypes
Ptr returns reference to recordTypes value
func (*RecordTypes) UnmarshalJSON ¶
func (v *RecordTypes) UnmarshalJSON(src []byte) error
type RecordUpdate ¶
type RecordUpdate struct { // When is true, the record is not visible for lookup. Disabled *bool `json:"disabled,omitempty"` Content *string `json:"content,omitempty"` // Time to live for the record, recommended 3600. Ttl *int32 `json:"ttl,omitempty"` Prio *int32 `json:"prio,omitempty"` }
RecordUpdate struct for RecordUpdate
func NewRecordUpdate ¶
func NewRecordUpdate() *RecordUpdate
NewRecordUpdate instantiates a new RecordUpdate 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 NewRecordUpdateWithDefaults ¶
func NewRecordUpdateWithDefaults() *RecordUpdate
NewRecordUpdateWithDefaults instantiates a new RecordUpdate 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 (*RecordUpdate) GetContent ¶
func (o *RecordUpdate) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*RecordUpdate) GetContentOk ¶
func (o *RecordUpdate) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordUpdate) GetDisabled ¶
func (o *RecordUpdate) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*RecordUpdate) GetDisabledOk ¶
func (o *RecordUpdate) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordUpdate) GetPrio ¶
func (o *RecordUpdate) GetPrio() int32
GetPrio returns the Prio field value if set, zero value otherwise.
func (*RecordUpdate) GetPrioOk ¶
func (o *RecordUpdate) GetPrioOk() (*int32, bool)
GetPrioOk returns a tuple with the Prio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordUpdate) GetTtl ¶
func (o *RecordUpdate) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*RecordUpdate) GetTtlOk ¶
func (o *RecordUpdate) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordUpdate) HasContent ¶
func (o *RecordUpdate) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*RecordUpdate) HasDisabled ¶
func (o *RecordUpdate) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*RecordUpdate) HasPrio ¶
func (o *RecordUpdate) HasPrio() bool
HasPrio returns a boolean if a field has been set.
func (*RecordUpdate) HasTtl ¶
func (o *RecordUpdate) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (RecordUpdate) MarshalJSON ¶
func (o RecordUpdate) MarshalJSON() ([]byte, error)
func (*RecordUpdate) SetContent ¶
func (o *RecordUpdate) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*RecordUpdate) SetDisabled ¶
func (o *RecordUpdate) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*RecordUpdate) SetPrio ¶
func (o *RecordUpdate) SetPrio(v int32)
SetPrio gets a reference to the given int32 and assigns it to the Prio field.
func (*RecordUpdate) SetTtl ¶
func (o *RecordUpdate) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
type RecordsApiService ¶
type RecordsApiService service
RecordsApiService RecordsApi service
func (*RecordsApiService) CreateRecords ¶
func (a *RecordsApiService) CreateRecords(ctx context.Context, zoneId string) ApiCreateRecordsRequest
CreateRecords Method for CreateRecords
Creates records for a customer zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @return ApiCreateRecordsRequest
func (*RecordsApiService) CreateRecordsExecute ¶
func (a *RecordsApiService) CreateRecordsExecute(r ApiCreateRecordsRequest) ([]RecordResponse, *http.Response, error)
Execute executes the request
@return []RecordResponse
func (*RecordsApiService) DeleteRecord ¶
func (a *RecordsApiService) DeleteRecord(ctx context.Context, zoneId string, recordId string) ApiDeleteRecordRequest
DeleteRecord Method for DeleteRecord
Delete a record from the customer zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @param recordId The id of the record. @return ApiDeleteRecordRequest
func (*RecordsApiService) DeleteRecordExecute ¶
func (a *RecordsApiService) DeleteRecordExecute(r ApiDeleteRecordRequest) (*http.Response, error)
Execute executes the request
func (*RecordsApiService) GetRecord ¶
func (a *RecordsApiService) GetRecord(ctx context.Context, zoneId string, recordId string) ApiGetRecordRequest
GetRecord Method for GetRecord
Returns the record from the customer zone with the mentioned id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @param recordId The id of the record. @return ApiGetRecordRequest
func (*RecordsApiService) GetRecordExecute ¶
func (a *RecordsApiService) GetRecordExecute(r ApiGetRecordRequest) (*RecordResponse, *http.Response, error)
Execute executes the request
@return RecordResponse
func (*RecordsApiService) NormalizeRecord ¶
func (a *RecordsApiService) NormalizeRecord(ctx context.Context) ApiNormalizeRecordRequest
NormalizeRecord Method for NormalizeRecord
Returns the normalized record.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiNormalizeRecordRequest
func (*RecordsApiService) NormalizeRecordExecute ¶
func (a *RecordsApiService) NormalizeRecordExecute(r ApiNormalizeRecordRequest) (*Record, *http.Response, error)
Execute executes the request
@return Record
func (*RecordsApiService) UpdateRecord ¶
func (a *RecordsApiService) UpdateRecord(ctx context.Context, zoneId string, recordId string) ApiUpdateRecordRequest
UpdateRecord Method for UpdateRecord
Update a record from the customer zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @param recordId The id of the record. @return ApiUpdateRecordRequest
func (*RecordsApiService) UpdateRecordExecute ¶
func (a *RecordsApiService) UpdateRecordExecute(r ApiUpdateRecordRequest) (*RecordResponse, *http.Response, error)
Execute executes the request
@return RecordResponse
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 Zone ¶
type Zone struct { // The zone name. Name *string `json:"name,omitempty"` // The zone id. Id *string `json:"id,omitempty"` Type *ZoneTypes `json:"type,omitempty"` }
Zone struct for Zone
func NewZone ¶
func NewZone() *Zone
NewZone instantiates a new Zone 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 NewZoneWithDefaults ¶
func NewZoneWithDefaults() *Zone
NewZoneWithDefaults instantiates a new Zone 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 (*Zone) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetNameOk ¶
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 (*Zone) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Zone) MarshalJSON ¶
type ZoneTypes ¶
type ZoneTypes string
ZoneTypes Represents the possible zone types.
func NewZoneTypesFromValue ¶
NewZoneTypesFromValue returns a pointer to a valid ZoneTypes for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*ZoneTypes) UnmarshalJSON ¶
type ZonesApiService ¶
type ZonesApiService service
ZonesApiService ZonesApi service
func (*ZonesApiService) GetZone ¶
func (a *ZonesApiService) GetZone(ctx context.Context, zoneId string) ApiGetZoneRequest
GetZone Method for GetZone
Returns a customer zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @return ApiGetZoneRequest
func (*ZonesApiService) GetZoneExecute ¶
func (a *ZonesApiService) GetZoneExecute(r ApiGetZoneRequest) (*CustomerZone, *http.Response, error)
Execute executes the request
@return CustomerZone
func (*ZonesApiService) GetZones ¶
func (a *ZonesApiService) GetZones(ctx context.Context) ApiGetZonesRequest
GetZones Method for GetZones
Returns list of customer zones.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetZonesRequest
func (*ZonesApiService) GetZonesExecute ¶
func (a *ZonesApiService) GetZonesExecute(r ApiGetZonesRequest) ([]Zone, *http.Response, error)
Execute executes the request
@return []Zone
func (*ZonesApiService) PatchZone ¶
func (a *ZonesApiService) PatchZone(ctx context.Context, zoneId string) ApiPatchZoneRequest
PatchZone Method for PatchZone
Replaces all records of the same name and type with the ones provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @return ApiPatchZoneRequest
func (*ZonesApiService) PatchZoneExecute ¶
func (a *ZonesApiService) PatchZoneExecute(r ApiPatchZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZonesApiService) UpdateZone ¶
func (a *ZonesApiService) UpdateZone(ctx context.Context, zoneId string) ApiUpdateZoneRequest
UpdateZone Method for UpdateZone
Replaces all records in the zone with the ones provided
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The id of the customer zone. @return ApiUpdateZoneRequest
func (*ZonesApiService) UpdateZoneExecute ¶
func (a *ZonesApiService) UpdateZoneExecute(r ApiUpdateZoneRequest) (*http.Response, error)
Execute executes the request