idns

package
v0.133.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 20 Imported by: 1

README

Go API client for idns

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import idns "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), idns.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), idns.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), idns.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), idns.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.azionapi.net

Class Method HTTP request Description
DNSSECAPI GetZoneDnsSec Get /intelligent_dns/{zone_id}/dnssec Retrieve the DNSSEC zone status
DNSSECAPI PutZoneDnsSec Patch /intelligent_dns/{zone_id}/dnssec Update the DNSSEC zone
RecordsAPI DeleteZoneRecord Delete /intelligent_dns/{zone_id}/records/{record_id} Remove an Intelligent DNS zone record
RecordsAPI GetZoneRecords Get /intelligent_dns/{zone_id}/records Get a collection of Intelligent DNS zone records
RecordsAPI PostZoneRecord Post /intelligent_dns/{zone_id}/records Create a new Intelligent DNS zone record
RecordsAPI PutZoneRecord Put /intelligent_dns/{zone_id}/records/{record_id} Update an Intelligent DNS zone record
ZonesAPI DeleteZone Delete /intelligent_dns/{zone_id} Remove an Intelligent DNS hosted zone
ZonesAPI GetZone Get /intelligent_dns/{zone_id} Get an Intelligent DNS hosted zone
ZonesAPI GetZones Get /intelligent_dns Get a collection of Intelligent DNS zones
ZonesAPI PostZone Post /intelligent_dns Add a new Intelligent DNS zone
ZonesAPI PutZone Put /intelligent_dns/{zone_id} Update an Intelligent DNS hosted zone

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil added in v0.25.0

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DNSSECAPI *DNSSECAPIService

	RecordsAPI *RecordsAPIService

	ZonesAPI *ZonesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Intelligent DNS API 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

type APIKey struct {
	Key    string
	Prefix string
}

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 ApiDeleteZoneRecordRequest

type ApiDeleteZoneRecordRequest struct {
	ApiService *RecordsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteZoneRecordRequest) Execute

type ApiDeleteZoneRequest

type ApiDeleteZoneRequest struct {
	ApiService *ZonesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteZoneRequest) Execute

func (r ApiDeleteZoneRequest) Execute() (string, *http.Response, error)

type ApiGetZoneDnsSecRequest

type ApiGetZoneDnsSecRequest struct {
	ApiService *DNSSECAPIService
	// contains filtered or unexported fields
}

func (ApiGetZoneDnsSecRequest) Execute

type ApiGetZoneRecordsRequest

type ApiGetZoneRecordsRequest struct {
	ApiService *RecordsAPIService
	// contains filtered or unexported fields
}

func (ApiGetZoneRecordsRequest) Execute

func (ApiGetZoneRecordsRequest) Page added in v0.102.0

Identifies which page should be returned, if the return is paginated.

func (ApiGetZoneRecordsRequest) PageSize added in v0.102.0

Identifies how many items should be returned per page.

type ApiGetZoneRequest

type ApiGetZoneRequest struct {
	ApiService *ZonesAPIService
	// contains filtered or unexported fields
}

func (ApiGetZoneRequest) Execute

type ApiGetZonesRequest

type ApiGetZonesRequest struct {
	ApiService *ZonesAPIService
	// contains filtered or unexported fields
}

func (ApiGetZonesRequest) Execute

func (ApiGetZonesRequest) OrderBy added in v0.101.0

func (r ApiGetZonesRequest) OrderBy(orderBy string) ApiGetZonesRequest

Identifies which property the return should be sorted by.

func (ApiGetZonesRequest) Page added in v0.101.0

Identifies which page should be returned, if the return is paginated.

func (ApiGetZonesRequest) PageSize added in v0.101.0

func (r ApiGetZonesRequest) PageSize(pageSize int64) ApiGetZonesRequest

Identifies how many items should be returned per page.

func (ApiGetZonesRequest) Sort added in v0.101.0

Defines whether objects are shown in ascending or descending order depending on the value set in order_by.

type ApiPostZoneRecordRequest

type ApiPostZoneRecordRequest struct {
	ApiService *RecordsAPIService
	// contains filtered or unexported fields
}

func (ApiPostZoneRecordRequest) Execute

func (ApiPostZoneRecordRequest) RecordPostOrPut added in v0.31.0

func (r ApiPostZoneRecordRequest) RecordPostOrPut(recordPostOrPut RecordPostOrPut) ApiPostZoneRecordRequest

type ApiPostZoneRequest

type ApiPostZoneRequest struct {
	ApiService *ZonesAPIService
	// contains filtered or unexported fields
}

func (ApiPostZoneRequest) Execute

func (ApiPostZoneRequest) Zone

type ApiPutZoneDnsSecRequest

type ApiPutZoneDnsSecRequest struct {
	ApiService *DNSSECAPIService
	// contains filtered or unexported fields
}

func (ApiPutZoneDnsSecRequest) DnsSec

func (ApiPutZoneDnsSecRequest) Execute

type ApiPutZoneRecordRequest

type ApiPutZoneRecordRequest struct {
	ApiService *RecordsAPIService
	// contains filtered or unexported fields
}

func (ApiPutZoneRecordRequest) Execute

func (ApiPutZoneRecordRequest) RecordPostOrPut added in v0.31.0

func (r ApiPutZoneRecordRequest) RecordPostOrPut(recordPostOrPut RecordPostOrPut) ApiPutZoneRecordRequest

type ApiPutZoneRequest

type ApiPutZoneRequest struct {
	ApiService *ZonesAPIService
	// contains filtered or unexported fields
}

func (ApiPutZoneRequest) Execute

func (ApiPutZoneRequest) Zone

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DNSSECAPIService added in v0.101.0

type DNSSECAPIService service

DNSSECAPIService DNSSECAPI service

func (*DNSSECAPIService) GetZoneDnsSec added in v0.101.0

func (a *DNSSECAPIService) GetZoneDnsSec(ctx context.Context, zoneId int32) ApiGetZoneDnsSecRequest

GetZoneDnsSec Retrieve the DNSSEC zone status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiGetZoneDnsSecRequest

func (*DNSSECAPIService) GetZoneDnsSecExecute added in v0.101.0

Execute executes the request

@return GetOrPatchDnsSecResponse

func (*DNSSECAPIService) PutZoneDnsSec added in v0.101.0

func (a *DNSSECAPIService) PutZoneDnsSec(ctx context.Context, zoneId int32) ApiPutZoneDnsSecRequest

PutZoneDnsSec Update the DNSSEC zone

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiPutZoneDnsSecRequest

func (*DNSSECAPIService) PutZoneDnsSecExecute added in v0.101.0

Execute executes the request

@return GetOrPatchDnsSecResponse

type DnsSec

type DnsSec struct {
	IsEnabled        *bool                   `json:"is_enabled,omitempty"`
	Status           *string                 `json:"status,omitempty"`
	DelegationSigner *DnsSecDelegationSigner `json:"delegation_signer,omitempty"`
}

DnsSec struct for DnsSec

func NewDnsSec

func NewDnsSec() *DnsSec

NewDnsSec instantiates a new DnsSec 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 NewDnsSecWithDefaults

func NewDnsSecWithDefaults() *DnsSec

NewDnsSecWithDefaults instantiates a new DnsSec 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 (*DnsSec) GetDelegationSigner

func (o *DnsSec) GetDelegationSigner() DnsSecDelegationSigner

GetDelegationSigner returns the DelegationSigner field value if set, zero value otherwise.

func (*DnsSec) GetDelegationSignerOk

func (o *DnsSec) GetDelegationSignerOk() (*DnsSecDelegationSigner, bool)

GetDelegationSignerOk returns a tuple with the DelegationSigner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSec) GetIsEnabled

func (o *DnsSec) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*DnsSec) GetIsEnabledOk

func (o *DnsSec) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSec) GetStatus

func (o *DnsSec) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*DnsSec) GetStatusOk

func (o *DnsSec) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSec) HasDelegationSigner

func (o *DnsSec) HasDelegationSigner() bool

HasDelegationSigner returns a boolean if a field has been set.

func (*DnsSec) HasIsEnabled

func (o *DnsSec) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*DnsSec) HasStatus

func (o *DnsSec) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (DnsSec) MarshalJSON

func (o DnsSec) MarshalJSON() ([]byte, error)

func (*DnsSec) SetDelegationSigner

func (o *DnsSec) SetDelegationSigner(v DnsSecDelegationSigner)

SetDelegationSigner gets a reference to the given DnsSecDelegationSigner and assigns it to the DelegationSigner field.

func (*DnsSec) SetIsEnabled

func (o *DnsSec) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*DnsSec) SetStatus

func (o *DnsSec) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (DnsSec) ToMap added in v0.25.0

func (o DnsSec) ToMap() (map[string]interface{}, error)

type DnsSecDelegationSigner

type DnsSecDelegationSigner struct {
	DigestType    *DnsSecDelegationSignerDigestType `json:"digest_type,omitempty"`
	AlgorithmType *DnsSecDelegationSignerDigestType `json:"algorithm_type,omitempty"`
	Digest        *string                           `json:"digest,omitempty"`
	KeyTag        *int32                            `json:"key_tag,omitempty"`
}

DnsSecDelegationSigner struct for DnsSecDelegationSigner

func NewDnsSecDelegationSigner

func NewDnsSecDelegationSigner() *DnsSecDelegationSigner

NewDnsSecDelegationSigner instantiates a new DnsSecDelegationSigner 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 NewDnsSecDelegationSignerWithDefaults

func NewDnsSecDelegationSignerWithDefaults() *DnsSecDelegationSigner

NewDnsSecDelegationSignerWithDefaults instantiates a new DnsSecDelegationSigner 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 (*DnsSecDelegationSigner) GetAlgorithmType added in v0.30.0

GetAlgorithmType returns the AlgorithmType field value if set, zero value otherwise.

func (*DnsSecDelegationSigner) GetAlgorithmTypeOk added in v0.30.0

func (o *DnsSecDelegationSigner) GetAlgorithmTypeOk() (*DnsSecDelegationSignerDigestType, bool)

GetAlgorithmTypeOk returns a tuple with the AlgorithmType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSecDelegationSigner) GetDigest added in v0.30.0

func (o *DnsSecDelegationSigner) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*DnsSecDelegationSigner) GetDigestOk added in v0.30.0

func (o *DnsSecDelegationSigner) GetDigestOk() (*string, bool)

GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSecDelegationSigner) GetDigestType

GetDigestType returns the DigestType field value if set, zero value otherwise.

func (*DnsSecDelegationSigner) GetDigestTypeOk

GetDigestTypeOk returns a tuple with the DigestType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSecDelegationSigner) GetKeyTag added in v0.30.0

func (o *DnsSecDelegationSigner) GetKeyTag() int32

GetKeyTag returns the KeyTag field value if set, zero value otherwise.

func (*DnsSecDelegationSigner) GetKeyTagOk added in v0.30.0

func (o *DnsSecDelegationSigner) GetKeyTagOk() (*int32, bool)

GetKeyTagOk returns a tuple with the KeyTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSecDelegationSigner) HasAlgorithmType added in v0.30.0

func (o *DnsSecDelegationSigner) HasAlgorithmType() bool

HasAlgorithmType returns a boolean if a field has been set.

func (*DnsSecDelegationSigner) HasDigest added in v0.30.0

func (o *DnsSecDelegationSigner) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*DnsSecDelegationSigner) HasDigestType

func (o *DnsSecDelegationSigner) HasDigestType() bool

HasDigestType returns a boolean if a field has been set.

func (*DnsSecDelegationSigner) HasKeyTag added in v0.30.0

func (o *DnsSecDelegationSigner) HasKeyTag() bool

HasKeyTag returns a boolean if a field has been set.

func (DnsSecDelegationSigner) MarshalJSON

func (o DnsSecDelegationSigner) MarshalJSON() ([]byte, error)

func (*DnsSecDelegationSigner) SetAlgorithmType added in v0.30.0

SetAlgorithmType gets a reference to the given DnsSecDelegationSignerDigestType and assigns it to the AlgorithmType field.

func (*DnsSecDelegationSigner) SetDigest added in v0.30.0

func (o *DnsSecDelegationSigner) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

func (*DnsSecDelegationSigner) SetDigestType

SetDigestType gets a reference to the given DnsSecDelegationSignerDigestType and assigns it to the DigestType field.

func (*DnsSecDelegationSigner) SetKeyTag added in v0.30.0

func (o *DnsSecDelegationSigner) SetKeyTag(v int32)

SetKeyTag gets a reference to the given int32 and assigns it to the KeyTag field.

func (DnsSecDelegationSigner) ToMap added in v0.25.0

func (o DnsSecDelegationSigner) ToMap() (map[string]interface{}, error)

type DnsSecDelegationSignerDigestType

type DnsSecDelegationSignerDigestType struct {
	Id   *int32  `json:"id,omitempty"`
	Slug *string `json:"slug,omitempty"`
}

DnsSecDelegationSignerDigestType struct for DnsSecDelegationSignerDigestType

func NewDnsSecDelegationSignerDigestType

func NewDnsSecDelegationSignerDigestType() *DnsSecDelegationSignerDigestType

NewDnsSecDelegationSignerDigestType instantiates a new DnsSecDelegationSignerDigestType 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 NewDnsSecDelegationSignerDigestTypeWithDefaults

func NewDnsSecDelegationSignerDigestTypeWithDefaults() *DnsSecDelegationSignerDigestType

NewDnsSecDelegationSignerDigestTypeWithDefaults instantiates a new DnsSecDelegationSignerDigestType 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 (*DnsSecDelegationSignerDigestType) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*DnsSecDelegationSignerDigestType) GetIdOk

func (o *DnsSecDelegationSignerDigestType) GetIdOk() (*int32, 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 (*DnsSecDelegationSignerDigestType) GetSlug

GetSlug returns the Slug field value if set, zero value otherwise.

func (*DnsSecDelegationSignerDigestType) GetSlugOk

func (o *DnsSecDelegationSignerDigestType) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DnsSecDelegationSignerDigestType) HasId

HasId returns a boolean if a field has been set.

func (*DnsSecDelegationSignerDigestType) HasSlug

HasSlug returns a boolean if a field has been set.

func (DnsSecDelegationSignerDigestType) MarshalJSON

func (o DnsSecDelegationSignerDigestType) MarshalJSON() ([]byte, error)

func (*DnsSecDelegationSignerDigestType) SetId

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*DnsSecDelegationSignerDigestType) SetSlug

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (DnsSecDelegationSignerDigestType) ToMap added in v0.25.0

func (o DnsSecDelegationSignerDigestType) ToMap() (map[string]interface{}, error)

type ErrorResponse

type ErrorResponse struct {
	Detail *string `json:"detail,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetDetail

func (o *ErrorResponse) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ErrorResponse) GetDetailOk

func (o *ErrorResponse) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorResponse) HasDetail

func (o *ErrorResponse) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

func (o ErrorResponse) MarshalJSON() ([]byte, error)

func (*ErrorResponse) SetDetail

func (o *ErrorResponse) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (ErrorResponse) ToMap added in v0.25.0

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

type ErrorsResponse

type ErrorsResponse struct {
	Errors []string `json:"errors,omitempty"`
}

ErrorsResponse struct for ErrorsResponse

func NewErrorsResponse

func NewErrorsResponse() *ErrorsResponse

NewErrorsResponse instantiates a new ErrorsResponse 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 NewErrorsResponseWithDefaults

func NewErrorsResponseWithDefaults() *ErrorsResponse

NewErrorsResponseWithDefaults instantiates a new ErrorsResponse 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 (*ErrorsResponse) GetErrors

func (o *ErrorsResponse) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*ErrorsResponse) GetErrorsOk

func (o *ErrorsResponse) GetErrorsOk() ([]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorsResponse) HasErrors

func (o *ErrorsResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (ErrorsResponse) MarshalJSON

func (o ErrorsResponse) MarshalJSON() ([]byte, error)

func (*ErrorsResponse) SetErrors

func (o *ErrorsResponse) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (ErrorsResponse) ToMap added in v0.25.0

func (o ErrorsResponse) ToMap() (map[string]interface{}, error)

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 GetOrPatchDnsSecResponse

type GetOrPatchDnsSecResponse struct {
	// The schema version
	SchemaVersion *int32  `json:"schema_version,omitempty"`
	Results       *DnsSec `json:"results,omitempty"`
}

GetOrPatchDnsSecResponse Object returned by get zone DNSSEC

func NewGetOrPatchDnsSecResponse

func NewGetOrPatchDnsSecResponse() *GetOrPatchDnsSecResponse

NewGetOrPatchDnsSecResponse instantiates a new GetOrPatchDnsSecResponse 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 NewGetOrPatchDnsSecResponseWithDefaults

func NewGetOrPatchDnsSecResponseWithDefaults() *GetOrPatchDnsSecResponse

NewGetOrPatchDnsSecResponseWithDefaults instantiates a new GetOrPatchDnsSecResponse 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 (*GetOrPatchDnsSecResponse) GetResults

func (o *GetOrPatchDnsSecResponse) GetResults() DnsSec

GetResults returns the Results field value if set, zero value otherwise.

func (*GetOrPatchDnsSecResponse) GetResultsOk

func (o *GetOrPatchDnsSecResponse) GetResultsOk() (*DnsSec, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetOrPatchDnsSecResponse) GetSchemaVersion

func (o *GetOrPatchDnsSecResponse) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*GetOrPatchDnsSecResponse) GetSchemaVersionOk

func (o *GetOrPatchDnsSecResponse) GetSchemaVersionOk() (*int32, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetOrPatchDnsSecResponse) HasResults

func (o *GetOrPatchDnsSecResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*GetOrPatchDnsSecResponse) HasSchemaVersion

func (o *GetOrPatchDnsSecResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (GetOrPatchDnsSecResponse) MarshalJSON

func (o GetOrPatchDnsSecResponse) MarshalJSON() ([]byte, error)

func (*GetOrPatchDnsSecResponse) SetResults

func (o *GetOrPatchDnsSecResponse) SetResults(v DnsSec)

SetResults gets a reference to the given DnsSec and assigns it to the Results field.

func (*GetOrPatchDnsSecResponse) SetSchemaVersion

func (o *GetOrPatchDnsSecResponse) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (GetOrPatchDnsSecResponse) ToMap added in v0.25.0

func (o GetOrPatchDnsSecResponse) ToMap() (map[string]interface{}, error)

type GetRecordsResponse

type GetRecordsResponse struct {
	// The schema version
	SchemaVersion *int32 `json:"schema_version,omitempty"`
	// Number of records
	Count *int32 `json:"count,omitempty"`
	// The total pages
	TotalPages *int32                     `json:"total_pages,omitempty"`
	Links      *GetZonesResponseLinks     `json:"links,omitempty"`
	Results    *GetRecordsResponseResults `json:"results,omitempty"`
}

GetRecordsResponse Object returned by get zone record

func NewGetRecordsResponse

func NewGetRecordsResponse() *GetRecordsResponse

NewGetRecordsResponse instantiates a new GetRecordsResponse 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 NewGetRecordsResponseWithDefaults

func NewGetRecordsResponseWithDefaults() *GetRecordsResponse

NewGetRecordsResponseWithDefaults instantiates a new GetRecordsResponse 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 (*GetRecordsResponse) GetCount

func (o *GetRecordsResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*GetRecordsResponse) GetCountOk

func (o *GetRecordsResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*GetRecordsResponse) GetLinksOk

func (o *GetRecordsResponse) GetLinksOk() (*GetZonesResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRecordsResponse) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*GetRecordsResponse) GetResultsOk

func (o *GetRecordsResponse) GetResultsOk() (*GetRecordsResponseResults, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRecordsResponse) GetSchemaVersion

func (o *GetRecordsResponse) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*GetRecordsResponse) GetSchemaVersionOk

func (o *GetRecordsResponse) GetSchemaVersionOk() (*int32, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRecordsResponse) GetTotalPages

func (o *GetRecordsResponse) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*GetRecordsResponse) GetTotalPagesOk

func (o *GetRecordsResponse) GetTotalPagesOk() (*int32, bool)

GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRecordsResponse) HasCount

func (o *GetRecordsResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *GetRecordsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*GetRecordsResponse) HasResults

func (o *GetRecordsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*GetRecordsResponse) HasSchemaVersion

func (o *GetRecordsResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*GetRecordsResponse) HasTotalPages

func (o *GetRecordsResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (GetRecordsResponse) MarshalJSON

func (o GetRecordsResponse) MarshalJSON() ([]byte, error)

func (*GetRecordsResponse) SetCount

func (o *GetRecordsResponse) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

SetLinks gets a reference to the given GetZonesResponseLinks and assigns it to the Links field.

func (*GetRecordsResponse) SetResults

SetResults gets a reference to the given GetRecordsResponseResults and assigns it to the Results field.

func (*GetRecordsResponse) SetSchemaVersion

func (o *GetRecordsResponse) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (*GetRecordsResponse) SetTotalPages

func (o *GetRecordsResponse) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

func (GetRecordsResponse) ToMap added in v0.25.0

func (o GetRecordsResponse) ToMap() (map[string]interface{}, error)

type GetRecordsResponseResults

type GetRecordsResponseResults struct {
	ZoneId     *int32  `json:"zone_id,omitempty"`
	ZoneDomain *string `json:"zone_domain,omitempty"`
	// Zone records collection
	Records []RecordGet `json:"records,omitempty"`
}

GetRecordsResponseResults struct for GetRecordsResponseResults

func NewGetRecordsResponseResults

func NewGetRecordsResponseResults() *GetRecordsResponseResults

NewGetRecordsResponseResults instantiates a new GetRecordsResponseResults 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 NewGetRecordsResponseResultsWithDefaults

func NewGetRecordsResponseResultsWithDefaults() *GetRecordsResponseResults

NewGetRecordsResponseResultsWithDefaults instantiates a new GetRecordsResponseResults 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 (*GetRecordsResponseResults) GetRecords

func (o *GetRecordsResponseResults) GetRecords() []RecordGet

GetRecords returns the Records field value if set, zero value otherwise.

func (*GetRecordsResponseResults) GetRecordsOk

func (o *GetRecordsResponseResults) GetRecordsOk() ([]RecordGet, 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 (*GetRecordsResponseResults) GetZoneDomain added in v0.25.0

func (o *GetRecordsResponseResults) GetZoneDomain() string

GetZoneDomain returns the ZoneDomain field value if set, zero value otherwise.

func (*GetRecordsResponseResults) GetZoneDomainOk added in v0.25.0

func (o *GetRecordsResponseResults) GetZoneDomainOk() (*string, bool)

GetZoneDomainOk returns a tuple with the ZoneDomain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRecordsResponseResults) GetZoneId

func (o *GetRecordsResponseResults) GetZoneId() int32

GetZoneId returns the ZoneId field value if set, zero value otherwise.

func (*GetRecordsResponseResults) GetZoneIdOk

func (o *GetRecordsResponseResults) GetZoneIdOk() (*int32, bool)

GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRecordsResponseResults) HasRecords

func (o *GetRecordsResponseResults) HasRecords() bool

HasRecords returns a boolean if a field has been set.

func (*GetRecordsResponseResults) HasZoneDomain added in v0.25.0

func (o *GetRecordsResponseResults) HasZoneDomain() bool

HasZoneDomain returns a boolean if a field has been set.

func (*GetRecordsResponseResults) HasZoneId

func (o *GetRecordsResponseResults) HasZoneId() bool

HasZoneId returns a boolean if a field has been set.

func (GetRecordsResponseResults) MarshalJSON

func (o GetRecordsResponseResults) MarshalJSON() ([]byte, error)

func (*GetRecordsResponseResults) SetRecords

func (o *GetRecordsResponseResults) SetRecords(v []RecordGet)

SetRecords gets a reference to the given []RecordGet and assigns it to the Records field.

func (*GetRecordsResponseResults) SetZoneDomain added in v0.25.0

func (o *GetRecordsResponseResults) SetZoneDomain(v string)

SetZoneDomain gets a reference to the given string and assigns it to the ZoneDomain field.

func (*GetRecordsResponseResults) SetZoneId

func (o *GetRecordsResponseResults) SetZoneId(v int32)

SetZoneId gets a reference to the given int32 and assigns it to the ZoneId field.

func (GetRecordsResponseResults) ToMap added in v0.25.0

func (o GetRecordsResponseResults) ToMap() (map[string]interface{}, error)

type GetZoneResponse

type GetZoneResponse struct {
	// The schema version
	SchemaVersion *int32 `json:"schema_version,omitempty"`
	Results       *Zone  `json:"results,omitempty"`
}

GetZoneResponse Object returned by get zone

func NewGetZoneResponse

func NewGetZoneResponse() *GetZoneResponse

NewGetZoneResponse instantiates a new GetZoneResponse 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 NewGetZoneResponseWithDefaults

func NewGetZoneResponseWithDefaults() *GetZoneResponse

NewGetZoneResponseWithDefaults instantiates a new GetZoneResponse 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 (*GetZoneResponse) GetResults

func (o *GetZoneResponse) GetResults() Zone

GetResults returns the Results field value if set, zero value otherwise.

func (*GetZoneResponse) GetResultsOk

func (o *GetZoneResponse) GetResultsOk() (*Zone, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetZoneResponse) GetSchemaVersion

func (o *GetZoneResponse) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*GetZoneResponse) GetSchemaVersionOk

func (o *GetZoneResponse) GetSchemaVersionOk() (*int32, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetZoneResponse) HasResults

func (o *GetZoneResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*GetZoneResponse) HasSchemaVersion

func (o *GetZoneResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (GetZoneResponse) MarshalJSON

func (o GetZoneResponse) MarshalJSON() ([]byte, error)

func (*GetZoneResponse) SetResults

func (o *GetZoneResponse) SetResults(v Zone)

SetResults gets a reference to the given Zone and assigns it to the Results field.

func (*GetZoneResponse) SetSchemaVersion

func (o *GetZoneResponse) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (GetZoneResponse) ToMap added in v0.25.0

func (o GetZoneResponse) ToMap() (map[string]interface{}, error)

type GetZonesResponse

type GetZonesResponse struct {
	// The schema version
	SchemaVersion *int32 `json:"schema_version,omitempty"`
	// Number of records
	Count *int32 `json:"count,omitempty"`
	// The total pages
	TotalPages *int32                 `json:"total_pages,omitempty"`
	Links      *GetZonesResponseLinks `json:"links,omitempty"`
	// Hosted zones collection
	Results []Zone `json:"results,omitempty"`
}

GetZonesResponse Object returned by get zones

func NewGetZonesResponse

func NewGetZonesResponse() *GetZonesResponse

NewGetZonesResponse instantiates a new GetZonesResponse 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 NewGetZonesResponseWithDefaults

func NewGetZonesResponseWithDefaults() *GetZonesResponse

NewGetZonesResponseWithDefaults instantiates a new GetZonesResponse 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 (*GetZonesResponse) GetCount

func (o *GetZonesResponse) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*GetZonesResponse) GetCountOk

func (o *GetZonesResponse) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*GetZonesResponse) GetLinksOk

func (o *GetZonesResponse) GetLinksOk() (*GetZonesResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetZonesResponse) GetResults

func (o *GetZonesResponse) GetResults() []Zone

GetResults returns the Results field value if set, zero value otherwise.

func (*GetZonesResponse) GetResultsOk

func (o *GetZonesResponse) GetResultsOk() ([]Zone, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetZonesResponse) GetSchemaVersion

func (o *GetZonesResponse) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*GetZonesResponse) GetSchemaVersionOk

func (o *GetZonesResponse) GetSchemaVersionOk() (*int32, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetZonesResponse) GetTotalPages

func (o *GetZonesResponse) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*GetZonesResponse) GetTotalPagesOk

func (o *GetZonesResponse) GetTotalPagesOk() (*int32, bool)

GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetZonesResponse) HasCount

func (o *GetZonesResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *GetZonesResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*GetZonesResponse) HasResults

func (o *GetZonesResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*GetZonesResponse) HasSchemaVersion

func (o *GetZonesResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*GetZonesResponse) HasTotalPages

func (o *GetZonesResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (GetZonesResponse) MarshalJSON

func (o GetZonesResponse) MarshalJSON() ([]byte, error)

func (*GetZonesResponse) SetCount

func (o *GetZonesResponse) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (o *GetZonesResponse) SetLinks(v GetZonesResponseLinks)

SetLinks gets a reference to the given GetZonesResponseLinks and assigns it to the Links field.

func (*GetZonesResponse) SetResults

func (o *GetZonesResponse) SetResults(v []Zone)

SetResults gets a reference to the given []Zone and assigns it to the Results field.

func (*GetZonesResponse) SetSchemaVersion

func (o *GetZonesResponse) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (*GetZonesResponse) SetTotalPages

func (o *GetZonesResponse) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

func (GetZonesResponse) ToMap added in v0.25.0

func (o GetZonesResponse) ToMap() (map[string]interface{}, error)
type GetZonesResponseLinks struct {
	Previous NullableString `json:"previous,omitempty"`
	Next     NullableString `json:"next,omitempty"`
}

GetZonesResponseLinks struct for GetZonesResponseLinks

func NewGetZonesResponseLinks() *GetZonesResponseLinks

NewGetZonesResponseLinks instantiates a new GetZonesResponseLinks 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 NewGetZonesResponseLinksWithDefaults

func NewGetZonesResponseLinksWithDefaults() *GetZonesResponseLinks

NewGetZonesResponseLinksWithDefaults instantiates a new GetZonesResponseLinks 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 (*GetZonesResponseLinks) GetNext

func (o *GetZonesResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetZonesResponseLinks) GetNextOk

func (o *GetZonesResponseLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next 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 (*GetZonesResponseLinks) GetPrevious

func (o *GetZonesResponseLinks) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetZonesResponseLinks) GetPreviousOk

func (o *GetZonesResponseLinks) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous 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 (*GetZonesResponseLinks) HasNext

func (o *GetZonesResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*GetZonesResponseLinks) HasPrevious

func (o *GetZonesResponseLinks) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (GetZonesResponseLinks) MarshalJSON

func (o GetZonesResponseLinks) MarshalJSON() ([]byte, error)

func (*GetZonesResponseLinks) SetNext

func (o *GetZonesResponseLinks) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*GetZonesResponseLinks) SetNextNil

func (o *GetZonesResponseLinks) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*GetZonesResponseLinks) SetPrevious

func (o *GetZonesResponseLinks) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*GetZonesResponseLinks) SetPreviousNil

func (o *GetZonesResponseLinks) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (GetZonesResponseLinks) ToMap added in v0.25.0

func (o GetZonesResponseLinks) ToMap() (map[string]interface{}, error)

func (*GetZonesResponseLinks) UnsetNext

func (o *GetZonesResponseLinks) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*GetZonesResponseLinks) UnsetPrevious

func (o *GetZonesResponseLinks) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type MappedNullable added in v0.25.0

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 NullableDnsSec

type NullableDnsSec struct {
	// contains filtered or unexported fields
}

func NewNullableDnsSec

func NewNullableDnsSec(val *DnsSec) *NullableDnsSec

func (NullableDnsSec) Get

func (v NullableDnsSec) Get() *DnsSec

func (NullableDnsSec) IsSet

func (v NullableDnsSec) IsSet() bool

func (NullableDnsSec) MarshalJSON

func (v NullableDnsSec) MarshalJSON() ([]byte, error)

func (*NullableDnsSec) Set

func (v *NullableDnsSec) Set(val *DnsSec)

func (*NullableDnsSec) UnmarshalJSON

func (v *NullableDnsSec) UnmarshalJSON(src []byte) error

func (*NullableDnsSec) Unset

func (v *NullableDnsSec) Unset()

type NullableDnsSecDelegationSigner

type NullableDnsSecDelegationSigner struct {
	// contains filtered or unexported fields
}

func (NullableDnsSecDelegationSigner) Get

func (NullableDnsSecDelegationSigner) IsSet

func (NullableDnsSecDelegationSigner) MarshalJSON

func (v NullableDnsSecDelegationSigner) MarshalJSON() ([]byte, error)

func (*NullableDnsSecDelegationSigner) Set

func (*NullableDnsSecDelegationSigner) UnmarshalJSON

func (v *NullableDnsSecDelegationSigner) UnmarshalJSON(src []byte) error

func (*NullableDnsSecDelegationSigner) Unset

func (v *NullableDnsSecDelegationSigner) Unset()

type NullableDnsSecDelegationSignerDigestType

type NullableDnsSecDelegationSignerDigestType struct {
	// contains filtered or unexported fields
}

func (NullableDnsSecDelegationSignerDigestType) Get

func (NullableDnsSecDelegationSignerDigestType) IsSet

func (NullableDnsSecDelegationSignerDigestType) MarshalJSON

func (*NullableDnsSecDelegationSignerDigestType) Set

func (*NullableDnsSecDelegationSignerDigestType) UnmarshalJSON

func (v *NullableDnsSecDelegationSignerDigestType) UnmarshalJSON(src []byte) error

func (*NullableDnsSecDelegationSignerDigestType) Unset

type NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableErrorsResponse

type NullableErrorsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorsResponse

func NewNullableErrorsResponse(val *ErrorsResponse) *NullableErrorsResponse

func (NullableErrorsResponse) Get

func (NullableErrorsResponse) IsSet

func (v NullableErrorsResponse) IsSet() bool

func (NullableErrorsResponse) MarshalJSON

func (v NullableErrorsResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorsResponse) Set

func (*NullableErrorsResponse) UnmarshalJSON

func (v *NullableErrorsResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorsResponse) Unset

func (v *NullableErrorsResponse) 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 NullableGetOrPatchDnsSecResponse

type NullableGetOrPatchDnsSecResponse struct {
	// contains filtered or unexported fields
}

func (NullableGetOrPatchDnsSecResponse) Get

func (NullableGetOrPatchDnsSecResponse) IsSet

func (NullableGetOrPatchDnsSecResponse) MarshalJSON

func (v NullableGetOrPatchDnsSecResponse) MarshalJSON() ([]byte, error)

func (*NullableGetOrPatchDnsSecResponse) Set

func (*NullableGetOrPatchDnsSecResponse) UnmarshalJSON

func (v *NullableGetOrPatchDnsSecResponse) UnmarshalJSON(src []byte) error

func (*NullableGetOrPatchDnsSecResponse) Unset

type NullableGetRecordsResponse

type NullableGetRecordsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetRecordsResponse

func NewNullableGetRecordsResponse(val *GetRecordsResponse) *NullableGetRecordsResponse

func (NullableGetRecordsResponse) Get

func (NullableGetRecordsResponse) IsSet

func (v NullableGetRecordsResponse) IsSet() bool

func (NullableGetRecordsResponse) MarshalJSON

func (v NullableGetRecordsResponse) MarshalJSON() ([]byte, error)

func (*NullableGetRecordsResponse) Set

func (*NullableGetRecordsResponse) UnmarshalJSON

func (v *NullableGetRecordsResponse) UnmarshalJSON(src []byte) error

func (*NullableGetRecordsResponse) Unset

func (v *NullableGetRecordsResponse) Unset()

type NullableGetRecordsResponseResults

type NullableGetRecordsResponseResults struct {
	// contains filtered or unexported fields
}

func (NullableGetRecordsResponseResults) Get

func (NullableGetRecordsResponseResults) IsSet

func (NullableGetRecordsResponseResults) MarshalJSON

func (v NullableGetRecordsResponseResults) MarshalJSON() ([]byte, error)

func (*NullableGetRecordsResponseResults) Set

func (*NullableGetRecordsResponseResults) UnmarshalJSON

func (v *NullableGetRecordsResponseResults) UnmarshalJSON(src []byte) error

func (*NullableGetRecordsResponseResults) Unset

type NullableGetZoneResponse

type NullableGetZoneResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetZoneResponse

func NewNullableGetZoneResponse(val *GetZoneResponse) *NullableGetZoneResponse

func (NullableGetZoneResponse) Get

func (NullableGetZoneResponse) IsSet

func (v NullableGetZoneResponse) IsSet() bool

func (NullableGetZoneResponse) MarshalJSON

func (v NullableGetZoneResponse) MarshalJSON() ([]byte, error)

func (*NullableGetZoneResponse) Set

func (*NullableGetZoneResponse) UnmarshalJSON

func (v *NullableGetZoneResponse) UnmarshalJSON(src []byte) error

func (*NullableGetZoneResponse) Unset

func (v *NullableGetZoneResponse) Unset()

type NullableGetZonesResponse

type NullableGetZonesResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetZonesResponse

func NewNullableGetZonesResponse(val *GetZonesResponse) *NullableGetZonesResponse

func (NullableGetZonesResponse) Get

func (NullableGetZonesResponse) IsSet

func (v NullableGetZonesResponse) IsSet() bool

func (NullableGetZonesResponse) MarshalJSON

func (v NullableGetZonesResponse) MarshalJSON() ([]byte, error)

func (*NullableGetZonesResponse) Set

func (*NullableGetZonesResponse) UnmarshalJSON

func (v *NullableGetZonesResponse) UnmarshalJSON(src []byte) error

func (*NullableGetZonesResponse) Unset

func (v *NullableGetZonesResponse) Unset()
type NullableGetZonesResponseLinks struct {
	// contains filtered or unexported fields
}

func (NullableGetZonesResponseLinks) Get

func (NullableGetZonesResponseLinks) IsSet

func (NullableGetZonesResponseLinks) MarshalJSON

func (v NullableGetZonesResponseLinks) MarshalJSON() ([]byte, error)

func (*NullableGetZonesResponseLinks) Set

func (*NullableGetZonesResponseLinks) UnmarshalJSON

func (v *NullableGetZonesResponseLinks) UnmarshalJSON(src []byte) error

func (*NullableGetZonesResponseLinks) Unset

func (v *NullableGetZonesResponseLinks) 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 NullablePostOrPutRecordResponse

type NullablePostOrPutRecordResponse struct {
	// contains filtered or unexported fields
}

func (NullablePostOrPutRecordResponse) Get

func (NullablePostOrPutRecordResponse) IsSet

func (NullablePostOrPutRecordResponse) MarshalJSON

func (v NullablePostOrPutRecordResponse) MarshalJSON() ([]byte, error)

func (*NullablePostOrPutRecordResponse) Set

func (*NullablePostOrPutRecordResponse) UnmarshalJSON

func (v *NullablePostOrPutRecordResponse) UnmarshalJSON(src []byte) error

func (*NullablePostOrPutRecordResponse) Unset

type NullablePostOrPutZoneResponse

type NullablePostOrPutZoneResponse struct {
	// contains filtered or unexported fields
}

func (NullablePostOrPutZoneResponse) Get

func (NullablePostOrPutZoneResponse) IsSet

func (NullablePostOrPutZoneResponse) MarshalJSON

func (v NullablePostOrPutZoneResponse) MarshalJSON() ([]byte, error)

func (*NullablePostOrPutZoneResponse) Set

func (*NullablePostOrPutZoneResponse) UnmarshalJSON

func (v *NullablePostOrPutZoneResponse) UnmarshalJSON(src []byte) error

func (*NullablePostOrPutZoneResponse) Unset

func (v *NullablePostOrPutZoneResponse) Unset()

type NullableRecordGet added in v0.31.0

type NullableRecordGet struct {
	// contains filtered or unexported fields
}

func NewNullableRecordGet added in v0.31.0

func NewNullableRecordGet(val *RecordGet) *NullableRecordGet

func (NullableRecordGet) Get added in v0.31.0

func (v NullableRecordGet) Get() *RecordGet

func (NullableRecordGet) IsSet added in v0.31.0

func (v NullableRecordGet) IsSet() bool

func (NullableRecordGet) MarshalJSON added in v0.31.0

func (v NullableRecordGet) MarshalJSON() ([]byte, error)

func (*NullableRecordGet) Set added in v0.31.0

func (v *NullableRecordGet) Set(val *RecordGet)

func (*NullableRecordGet) UnmarshalJSON added in v0.31.0

func (v *NullableRecordGet) UnmarshalJSON(src []byte) error

func (*NullableRecordGet) Unset added in v0.31.0

func (v *NullableRecordGet) Unset()

type NullableRecordPostOrPut added in v0.31.0

type NullableRecordPostOrPut struct {
	// contains filtered or unexported fields
}

func NewNullableRecordPostOrPut added in v0.31.0

func NewNullableRecordPostOrPut(val *RecordPostOrPut) *NullableRecordPostOrPut

func (NullableRecordPostOrPut) Get added in v0.31.0

func (NullableRecordPostOrPut) IsSet added in v0.31.0

func (v NullableRecordPostOrPut) IsSet() bool

func (NullableRecordPostOrPut) MarshalJSON added in v0.31.0

func (v NullableRecordPostOrPut) MarshalJSON() ([]byte, error)

func (*NullableRecordPostOrPut) Set added in v0.31.0

func (*NullableRecordPostOrPut) UnmarshalJSON added in v0.31.0

func (v *NullableRecordPostOrPut) UnmarshalJSON(src []byte) error

func (*NullableRecordPostOrPut) Unset added in v0.31.0

func (v *NullableRecordPostOrPut) 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 PostOrPutRecordResponse

type PostOrPutRecordResponse struct {
	// The schema version
	SchemaVersion *int32           `json:"schema_version,omitempty"`
	Results       *RecordPostOrPut `json:"results,omitempty"`
}

PostOrPutRecordResponse Object returned by create or update zone record

func NewPostOrPutRecordResponse

func NewPostOrPutRecordResponse() *PostOrPutRecordResponse

NewPostOrPutRecordResponse instantiates a new PostOrPutRecordResponse 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 NewPostOrPutRecordResponseWithDefaults

func NewPostOrPutRecordResponseWithDefaults() *PostOrPutRecordResponse

NewPostOrPutRecordResponseWithDefaults instantiates a new PostOrPutRecordResponse 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 (*PostOrPutRecordResponse) GetResults

func (o *PostOrPutRecordResponse) GetResults() RecordPostOrPut

GetResults returns the Results field value if set, zero value otherwise.

func (*PostOrPutRecordResponse) GetResultsOk

func (o *PostOrPutRecordResponse) GetResultsOk() (*RecordPostOrPut, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostOrPutRecordResponse) GetSchemaVersion

func (o *PostOrPutRecordResponse) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*PostOrPutRecordResponse) GetSchemaVersionOk

func (o *PostOrPutRecordResponse) GetSchemaVersionOk() (*int32, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostOrPutRecordResponse) HasResults

func (o *PostOrPutRecordResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*PostOrPutRecordResponse) HasSchemaVersion

func (o *PostOrPutRecordResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (PostOrPutRecordResponse) MarshalJSON

func (o PostOrPutRecordResponse) MarshalJSON() ([]byte, error)

func (*PostOrPutRecordResponse) SetResults

func (o *PostOrPutRecordResponse) SetResults(v RecordPostOrPut)

SetResults gets a reference to the given RecordPostOrPut and assigns it to the Results field.

func (*PostOrPutRecordResponse) SetSchemaVersion

func (o *PostOrPutRecordResponse) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (PostOrPutRecordResponse) ToMap added in v0.25.0

func (o PostOrPutRecordResponse) ToMap() (map[string]interface{}, error)

type PostOrPutZoneResponse

type PostOrPutZoneResponse struct {
	// The schema version
	SchemaVersion *int32 `json:"schema_version,omitempty"`
	// The created hosted zone
	Results []Zone `json:"results,omitempty"`
}

PostOrPutZoneResponse Object returned by create or update zone

func NewPostOrPutZoneResponse

func NewPostOrPutZoneResponse() *PostOrPutZoneResponse

NewPostOrPutZoneResponse instantiates a new PostOrPutZoneResponse 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 NewPostOrPutZoneResponseWithDefaults

func NewPostOrPutZoneResponseWithDefaults() *PostOrPutZoneResponse

NewPostOrPutZoneResponseWithDefaults instantiates a new PostOrPutZoneResponse 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 (*PostOrPutZoneResponse) GetResults

func (o *PostOrPutZoneResponse) GetResults() []Zone

GetResults returns the Results field value if set, zero value otherwise.

func (*PostOrPutZoneResponse) GetResultsOk

func (o *PostOrPutZoneResponse) GetResultsOk() ([]Zone, bool)

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostOrPutZoneResponse) GetSchemaVersion

func (o *PostOrPutZoneResponse) GetSchemaVersion() int32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*PostOrPutZoneResponse) GetSchemaVersionOk

func (o *PostOrPutZoneResponse) GetSchemaVersionOk() (*int32, bool)

GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PostOrPutZoneResponse) HasResults

func (o *PostOrPutZoneResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*PostOrPutZoneResponse) HasSchemaVersion

func (o *PostOrPutZoneResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (PostOrPutZoneResponse) MarshalJSON

func (o PostOrPutZoneResponse) MarshalJSON() ([]byte, error)

func (*PostOrPutZoneResponse) SetResults

func (o *PostOrPutZoneResponse) SetResults(v []Zone)

SetResults gets a reference to the given []Zone and assigns it to the Results field.

func (*PostOrPutZoneResponse) SetSchemaVersion

func (o *PostOrPutZoneResponse) SetSchemaVersion(v int32)

SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.

func (PostOrPutZoneResponse) ToMap added in v0.25.0

func (o PostOrPutZoneResponse) ToMap() (map[string]interface{}, error)

type RecordGet added in v0.31.0

type RecordGet struct {
	RecordId    *int32   `json:"record_id,omitempty"`
	Entry       *string  `json:"entry,omitempty"`
	Description *string  `json:"description,omitempty"`
	AnswersList []string `json:"answers_list,omitempty"`
	Policy      *string  `json:"policy,omitempty"`
	Weight      *int32   `json:"weight,omitempty"`
	RecordType  *string  `json:"record_type,omitempty"`
	Ttl         *int32   `json:"ttl,omitempty"`
}

RecordGet struct for RecordGet

func NewRecordGet added in v0.31.0

func NewRecordGet() *RecordGet

NewRecordGet instantiates a new RecordGet 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 NewRecordGetWithDefaults added in v0.31.0

func NewRecordGetWithDefaults() *RecordGet

NewRecordGetWithDefaults instantiates a new RecordGet 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 (*RecordGet) GetAnswersList added in v0.31.0

func (o *RecordGet) GetAnswersList() []string

GetAnswersList returns the AnswersList field value if set, zero value otherwise.

func (*RecordGet) GetAnswersListOk added in v0.31.0

func (o *RecordGet) GetAnswersListOk() ([]string, bool)

GetAnswersListOk returns a tuple with the AnswersList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordGet) GetDescription added in v0.31.0

func (o *RecordGet) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RecordGet) GetDescriptionOk added in v0.31.0

func (o *RecordGet) 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 (*RecordGet) GetEntry added in v0.31.0

func (o *RecordGet) GetEntry() string

GetEntry returns the Entry field value if set, zero value otherwise.

func (*RecordGet) GetEntryOk added in v0.31.0

func (o *RecordGet) GetEntryOk() (*string, bool)

GetEntryOk returns a tuple with the Entry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordGet) GetPolicy added in v0.31.0

func (o *RecordGet) GetPolicy() string

GetPolicy returns the Policy field value if set, zero value otherwise.

func (*RecordGet) GetPolicyOk added in v0.31.0

func (o *RecordGet) GetPolicyOk() (*string, bool)

GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordGet) GetRecordId added in v0.31.0

func (o *RecordGet) GetRecordId() int32

GetRecordId returns the RecordId field value if set, zero value otherwise.

func (*RecordGet) GetRecordIdOk added in v0.31.0

func (o *RecordGet) GetRecordIdOk() (*int32, bool)

GetRecordIdOk returns a tuple with the RecordId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordGet) GetRecordType added in v0.31.0

func (o *RecordGet) GetRecordType() string

GetRecordType returns the RecordType field value if set, zero value otherwise.

func (*RecordGet) GetRecordTypeOk added in v0.31.0

func (o *RecordGet) GetRecordTypeOk() (*string, bool)

GetRecordTypeOk returns a tuple with the RecordType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordGet) GetTtl added in v0.31.0

func (o *RecordGet) GetTtl() int32

GetTtl returns the Ttl field value if set, zero value otherwise.

func (*RecordGet) GetTtlOk added in v0.31.0

func (o *RecordGet) 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 (*RecordGet) GetWeight added in v0.32.0

func (o *RecordGet) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*RecordGet) GetWeightOk added in v0.32.0

func (o *RecordGet) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordGet) HasAnswersList added in v0.31.0

func (o *RecordGet) HasAnswersList() bool

HasAnswersList returns a boolean if a field has been set.

func (*RecordGet) HasDescription added in v0.31.0

func (o *RecordGet) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RecordGet) HasEntry added in v0.31.0

func (o *RecordGet) HasEntry() bool

HasEntry returns a boolean if a field has been set.

func (*RecordGet) HasPolicy added in v0.31.0

func (o *RecordGet) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (*RecordGet) HasRecordId added in v0.31.0

func (o *RecordGet) HasRecordId() bool

HasRecordId returns a boolean if a field has been set.

func (*RecordGet) HasRecordType added in v0.31.0

func (o *RecordGet) HasRecordType() bool

HasRecordType returns a boolean if a field has been set.

func (*RecordGet) HasTtl added in v0.31.0

func (o *RecordGet) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (*RecordGet) HasWeight added in v0.32.0

func (o *RecordGet) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (RecordGet) MarshalJSON added in v0.31.0

func (o RecordGet) MarshalJSON() ([]byte, error)

func (*RecordGet) SetAnswersList added in v0.31.0

func (o *RecordGet) SetAnswersList(v []string)

SetAnswersList gets a reference to the given []string and assigns it to the AnswersList field.

func (*RecordGet) SetDescription added in v0.31.0

func (o *RecordGet) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RecordGet) SetEntry added in v0.31.0

func (o *RecordGet) SetEntry(v string)

SetEntry gets a reference to the given string and assigns it to the Entry field.

func (*RecordGet) SetPolicy added in v0.31.0

func (o *RecordGet) SetPolicy(v string)

SetPolicy gets a reference to the given string and assigns it to the Policy field.

func (*RecordGet) SetRecordId added in v0.31.0

func (o *RecordGet) SetRecordId(v int32)

SetRecordId gets a reference to the given int32 and assigns it to the RecordId field.

func (*RecordGet) SetRecordType added in v0.31.0

func (o *RecordGet) SetRecordType(v string)

SetRecordType gets a reference to the given string and assigns it to the RecordType field.

func (*RecordGet) SetTtl added in v0.31.0

func (o *RecordGet) SetTtl(v int32)

SetTtl gets a reference to the given int32 and assigns it to the Ttl field.

func (*RecordGet) SetWeight added in v0.32.0

func (o *RecordGet) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight field.

func (RecordGet) ToMap added in v0.31.0

func (o RecordGet) ToMap() (map[string]interface{}, error)

type RecordPostOrPut added in v0.31.0

type RecordPostOrPut struct {
	Id          *int32   `json:"id,omitempty"`
	Entry       *string  `json:"entry,omitempty"`
	Description *string  `json:"description,omitempty"`
	AnswersList []string `json:"answers_list,omitempty"`
	Policy      *string  `json:"policy,omitempty"`
	Weight      *int32   `json:"weight,omitempty"`
	RecordType  *string  `json:"record_type,omitempty"`
	Ttl         *int32   `json:"ttl,omitempty"`
}

RecordPostOrPut struct for RecordPostOrPut

func NewRecordPostOrPut added in v0.31.0

func NewRecordPostOrPut() *RecordPostOrPut

NewRecordPostOrPut instantiates a new RecordPostOrPut 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 NewRecordPostOrPutWithDefaults added in v0.31.0

func NewRecordPostOrPutWithDefaults() *RecordPostOrPut

NewRecordPostOrPutWithDefaults instantiates a new RecordPostOrPut 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 (*RecordPostOrPut) GetAnswersList added in v0.31.0

func (o *RecordPostOrPut) GetAnswersList() []string

GetAnswersList returns the AnswersList field value if set, zero value otherwise.

func (*RecordPostOrPut) GetAnswersListOk added in v0.31.0

func (o *RecordPostOrPut) GetAnswersListOk() ([]string, bool)

GetAnswersListOk returns a tuple with the AnswersList field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordPostOrPut) GetDescription added in v0.31.0

func (o *RecordPostOrPut) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*RecordPostOrPut) GetDescriptionOk added in v0.31.0

func (o *RecordPostOrPut) 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 (*RecordPostOrPut) GetEntry added in v0.31.0

func (o *RecordPostOrPut) GetEntry() string

GetEntry returns the Entry field value if set, zero value otherwise.

func (*RecordPostOrPut) GetEntryOk added in v0.31.0

func (o *RecordPostOrPut) GetEntryOk() (*string, bool)

GetEntryOk returns a tuple with the Entry field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordPostOrPut) GetId added in v0.31.0

func (o *RecordPostOrPut) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*RecordPostOrPut) GetIdOk added in v0.31.0

func (o *RecordPostOrPut) GetIdOk() (*int32, 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 (*RecordPostOrPut) GetPolicy added in v0.31.0

func (o *RecordPostOrPut) GetPolicy() string

GetPolicy returns the Policy field value if set, zero value otherwise.

func (*RecordPostOrPut) GetPolicyOk added in v0.31.0

func (o *RecordPostOrPut) GetPolicyOk() (*string, bool)

GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordPostOrPut) GetRecordType added in v0.31.0

func (o *RecordPostOrPut) GetRecordType() string

GetRecordType returns the RecordType field value if set, zero value otherwise.

func (*RecordPostOrPut) GetRecordTypeOk added in v0.31.0

func (o *RecordPostOrPut) GetRecordTypeOk() (*string, bool)

GetRecordTypeOk returns a tuple with the RecordType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordPostOrPut) GetTtl added in v0.31.0

func (o *RecordPostOrPut) GetTtl() int32

GetTtl returns the Ttl field value if set, zero value otherwise.

func (*RecordPostOrPut) GetTtlOk added in v0.31.0

func (o *RecordPostOrPut) 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 (*RecordPostOrPut) GetWeight added in v0.32.0

func (o *RecordPostOrPut) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*RecordPostOrPut) GetWeightOk added in v0.32.0

func (o *RecordPostOrPut) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecordPostOrPut) HasAnswersList added in v0.31.0

func (o *RecordPostOrPut) HasAnswersList() bool

HasAnswersList returns a boolean if a field has been set.

func (*RecordPostOrPut) HasDescription added in v0.31.0

func (o *RecordPostOrPut) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RecordPostOrPut) HasEntry added in v0.31.0

func (o *RecordPostOrPut) HasEntry() bool

HasEntry returns a boolean if a field has been set.

func (*RecordPostOrPut) HasId added in v0.31.0

func (o *RecordPostOrPut) HasId() bool

HasId returns a boolean if a field has been set.

func (*RecordPostOrPut) HasPolicy added in v0.31.0

func (o *RecordPostOrPut) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (*RecordPostOrPut) HasRecordType added in v0.31.0

func (o *RecordPostOrPut) HasRecordType() bool

HasRecordType returns a boolean if a field has been set.

func (*RecordPostOrPut) HasTtl added in v0.31.0

func (o *RecordPostOrPut) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (*RecordPostOrPut) HasWeight added in v0.32.0

func (o *RecordPostOrPut) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (RecordPostOrPut) MarshalJSON added in v0.31.0

func (o RecordPostOrPut) MarshalJSON() ([]byte, error)

func (*RecordPostOrPut) SetAnswersList added in v0.31.0

func (o *RecordPostOrPut) SetAnswersList(v []string)

SetAnswersList gets a reference to the given []string and assigns it to the AnswersList field.

func (*RecordPostOrPut) SetDescription added in v0.31.0

func (o *RecordPostOrPut) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*RecordPostOrPut) SetEntry added in v0.31.0

func (o *RecordPostOrPut) SetEntry(v string)

SetEntry gets a reference to the given string and assigns it to the Entry field.

func (*RecordPostOrPut) SetId added in v0.31.0

func (o *RecordPostOrPut) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*RecordPostOrPut) SetPolicy added in v0.31.0

func (o *RecordPostOrPut) SetPolicy(v string)

SetPolicy gets a reference to the given string and assigns it to the Policy field.

func (*RecordPostOrPut) SetRecordType added in v0.31.0

func (o *RecordPostOrPut) SetRecordType(v string)

SetRecordType gets a reference to the given string and assigns it to the RecordType field.

func (*RecordPostOrPut) SetTtl added in v0.31.0

func (o *RecordPostOrPut) SetTtl(v int32)

SetTtl gets a reference to the given int32 and assigns it to the Ttl field.

func (*RecordPostOrPut) SetWeight added in v0.32.0

func (o *RecordPostOrPut) SetWeight(v int32)

SetWeight gets a reference to the given int32 and assigns it to the Weight field.

func (RecordPostOrPut) ToMap added in v0.31.0

func (o RecordPostOrPut) ToMap() (map[string]interface{}, error)

type RecordsAPIService added in v0.101.0

type RecordsAPIService service

RecordsAPIService RecordsAPI service

func (*RecordsAPIService) DeleteZoneRecord added in v0.101.0

func (a *RecordsAPIService) DeleteZoneRecord(ctx context.Context, zoneId int32, recordId int32) ApiDeleteZoneRecordRequest

DeleteZoneRecord Remove an Intelligent DNS zone record

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@param recordId The zone record id
@return ApiDeleteZoneRecordRequest

func (*RecordsAPIService) DeleteZoneRecordExecute added in v0.101.0

func (a *RecordsAPIService) DeleteZoneRecordExecute(r ApiDeleteZoneRecordRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*RecordsAPIService) GetZoneRecords added in v0.101.0

func (a *RecordsAPIService) GetZoneRecords(ctx context.Context, zoneId int32) ApiGetZoneRecordsRequest

GetZoneRecords Get a collection of Intelligent DNS zone records

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiGetZoneRecordsRequest

func (*RecordsAPIService) GetZoneRecordsExecute added in v0.101.0

Execute executes the request

@return GetRecordsResponse

func (*RecordsAPIService) PostZoneRecord added in v0.101.0

func (a *RecordsAPIService) PostZoneRecord(ctx context.Context, zoneId int32) ApiPostZoneRecordRequest

PostZoneRecord Create a new Intelligent DNS zone record

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiPostZoneRecordRequest

func (*RecordsAPIService) PostZoneRecordExecute added in v0.101.0

Execute executes the request

@return PostOrPutRecordResponse

func (*RecordsAPIService) PutZoneRecord added in v0.101.0

func (a *RecordsAPIService) PutZoneRecord(ctx context.Context, zoneId int32, recordId int32) ApiPutZoneRecordRequest

PutZoneRecord Update an Intelligent DNS zone record

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@param recordId The zone record id
@return ApiPutZoneRecordRequest

func (*RecordsAPIService) PutZoneRecordExecute added in v0.101.0

Execute executes the request

@return PostOrPutRecordResponse

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Zone

type Zone struct {
	// Hosted zone id
	Id *int32 `json:"id,omitempty"`
	// Hosted zone name
	Name *string `json:"name,omitempty"`
	// Hosted zone domain
	Domain *string `json:"domain,omitempty"`
	// If hosted zone is active
	IsActive *bool         `json:"is_active,omitempty"`
	Retry    NullableInt32 `json:"retry,omitempty"`
	NxTtl    NullableInt32 `json:"nx_ttl,omitempty"`
	SoaTtl   NullableInt32 `json:"soa_ttl,omitempty"`
	Refresh  NullableInt32 `json:"refresh,omitempty"`
	Expiry   NullableInt32 `json:"expiry,omitempty"`
	// List of nameservers
	Nameservers []string `json:"nameservers,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) GetDomain

func (o *Zone) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*Zone) GetDomainOk

func (o *Zone) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Zone) GetExpiry

func (o *Zone) GetExpiry() int32

GetExpiry returns the Expiry field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Zone) GetExpiryOk

func (o *Zone) GetExpiryOk() (*int32, bool)

GetExpiryOk returns a tuple with the Expiry 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 (*Zone) GetId

func (o *Zone) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Zone) GetIdOk

func (o *Zone) GetIdOk() (*int32, 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 (*Zone) GetIsActive

func (o *Zone) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*Zone) GetIsActiveOk

func (o *Zone) 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 (*Zone) GetName

func (o *Zone) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Zone) GetNameOk

func (o *Zone) 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 (*Zone) GetNameservers

func (o *Zone) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Zone) GetNameserversOk

func (o *Zone) GetNameserversOk() ([]string, bool)

GetNameserversOk returns a tuple with the Nameservers 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 (*Zone) GetNxTtl

func (o *Zone) GetNxTtl() int32

GetNxTtl returns the NxTtl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Zone) GetNxTtlOk

func (o *Zone) GetNxTtlOk() (*int32, bool)

GetNxTtlOk returns a tuple with the NxTtl 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 (*Zone) GetRefresh

func (o *Zone) GetRefresh() int32

GetRefresh returns the Refresh field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Zone) GetRefreshOk

func (o *Zone) GetRefreshOk() (*int32, bool)

GetRefreshOk returns a tuple with the Refresh 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 (*Zone) GetRetry

func (o *Zone) GetRetry() int32

GetRetry returns the Retry field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Zone) GetRetryOk

func (o *Zone) GetRetryOk() (*int32, bool)

GetRetryOk returns a tuple with the Retry 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 (*Zone) GetSoaTtl

func (o *Zone) GetSoaTtl() int32

GetSoaTtl returns the SoaTtl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Zone) GetSoaTtlOk

func (o *Zone) GetSoaTtlOk() (*int32, bool)

GetSoaTtlOk returns a tuple with the SoaTtl 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 (*Zone) HasDomain

func (o *Zone) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*Zone) HasExpiry

func (o *Zone) HasExpiry() bool

HasExpiry returns a boolean if a field has been set.

func (*Zone) HasId

func (o *Zone) HasId() bool

HasId returns a boolean if a field has been set.

func (*Zone) HasIsActive

func (o *Zone) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*Zone) HasName

func (o *Zone) HasName() bool

HasName returns a boolean if a field has been set.

func (*Zone) HasNameservers

func (o *Zone) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*Zone) HasNxTtl

func (o *Zone) HasNxTtl() bool

HasNxTtl returns a boolean if a field has been set.

func (*Zone) HasRefresh

func (o *Zone) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (*Zone) HasRetry

func (o *Zone) HasRetry() bool

HasRetry returns a boolean if a field has been set.

func (*Zone) HasSoaTtl

func (o *Zone) HasSoaTtl() bool

HasSoaTtl returns a boolean if a field has been set.

func (Zone) MarshalJSON

func (o Zone) MarshalJSON() ([]byte, error)

func (*Zone) SetDomain

func (o *Zone) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*Zone) SetExpiry

func (o *Zone) SetExpiry(v int32)

SetExpiry gets a reference to the given NullableInt32 and assigns it to the Expiry field.

func (*Zone) SetExpiryNil

func (o *Zone) SetExpiryNil()

SetExpiryNil sets the value for Expiry to be an explicit nil

func (*Zone) SetId

func (o *Zone) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Zone) SetIsActive

func (o *Zone) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*Zone) SetName

func (o *Zone) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Zone) SetNameservers

func (o *Zone) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*Zone) SetNxTtl

func (o *Zone) SetNxTtl(v int32)

SetNxTtl gets a reference to the given NullableInt32 and assigns it to the NxTtl field.

func (*Zone) SetNxTtlNil

func (o *Zone) SetNxTtlNil()

SetNxTtlNil sets the value for NxTtl to be an explicit nil

func (*Zone) SetRefresh

func (o *Zone) SetRefresh(v int32)

SetRefresh gets a reference to the given NullableInt32 and assigns it to the Refresh field.

func (*Zone) SetRefreshNil

func (o *Zone) SetRefreshNil()

SetRefreshNil sets the value for Refresh to be an explicit nil

func (*Zone) SetRetry

func (o *Zone) SetRetry(v int32)

SetRetry gets a reference to the given NullableInt32 and assigns it to the Retry field.

func (*Zone) SetRetryNil

func (o *Zone) SetRetryNil()

SetRetryNil sets the value for Retry to be an explicit nil

func (*Zone) SetSoaTtl

func (o *Zone) SetSoaTtl(v int32)

SetSoaTtl gets a reference to the given NullableInt32 and assigns it to the SoaTtl field.

func (*Zone) SetSoaTtlNil

func (o *Zone) SetSoaTtlNil()

SetSoaTtlNil sets the value for SoaTtl to be an explicit nil

func (Zone) ToMap added in v0.25.0

func (o Zone) ToMap() (map[string]interface{}, error)

func (*Zone) UnsetExpiry

func (o *Zone) UnsetExpiry()

UnsetExpiry ensures that no value is present for Expiry, not even an explicit nil

func (*Zone) UnsetNxTtl

func (o *Zone) UnsetNxTtl()

UnsetNxTtl ensures that no value is present for NxTtl, not even an explicit nil

func (*Zone) UnsetRefresh

func (o *Zone) UnsetRefresh()

UnsetRefresh ensures that no value is present for Refresh, not even an explicit nil

func (*Zone) UnsetRetry

func (o *Zone) UnsetRetry()

UnsetRetry ensures that no value is present for Retry, not even an explicit nil

func (*Zone) UnsetSoaTtl

func (o *Zone) UnsetSoaTtl()

UnsetSoaTtl ensures that no value is present for SoaTtl, not even an explicit nil

type ZonesAPIService added in v0.101.0

type ZonesAPIService service

ZonesAPIService ZonesAPI service

func (*ZonesAPIService) DeleteZone added in v0.101.0

func (a *ZonesAPIService) DeleteZone(ctx context.Context, zoneId int32) ApiDeleteZoneRequest

DeleteZone Remove an Intelligent DNS hosted zone

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiDeleteZoneRequest

func (*ZonesAPIService) DeleteZoneExecute added in v0.101.0

func (a *ZonesAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*ZonesAPIService) GetZone added in v0.101.0

func (a *ZonesAPIService) GetZone(ctx context.Context, zoneId int32) ApiGetZoneRequest

GetZone Get an Intelligent DNS hosted zone

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiGetZoneRequest

func (*ZonesAPIService) GetZoneExecute added in v0.101.0

Execute executes the request

@return GetZoneResponse

func (*ZonesAPIService) GetZones added in v0.101.0

GetZones Get a collection of Intelligent DNS zones

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetZonesRequest

func (*ZonesAPIService) GetZonesExecute added in v0.101.0

Execute executes the request

@return GetZonesResponse

func (*ZonesAPIService) PostZone added in v0.101.0

PostZone Add a new Intelligent DNS zone

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPostZoneRequest

func (*ZonesAPIService) PostZoneExecute added in v0.101.0

Execute executes the request

@return PostOrPutZoneResponse

func (*ZonesAPIService) PutZone added in v0.101.0

func (a *ZonesAPIService) PutZone(ctx context.Context, zoneId int32) ApiPutZoneRequest

PutZone Update an Intelligent DNS hosted zone

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param zoneId The hosted zone id
@return ApiPutZoneRequest

func (*ZonesAPIService) PutZoneExecute added in v0.101.0

Execute executes the request

@return PostOrPutZoneResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL