idns

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 21 Imported by: 1

README

Go API client for idns

Azion Intelligent DNS API

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: 3.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

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.

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 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 v3.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

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

type ApiPostZoneRecordRequest

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

func (ApiPostZoneRecordRequest) Execute

func (ApiPostZoneRecordRequest) Record

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

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 CreateRecord

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

CreateRecord Object returned by create zone record

func NewCreateRecord

func NewCreateRecord() *CreateRecord

NewCreateRecord instantiates a new CreateRecord 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 NewCreateRecordWithDefaults

func NewCreateRecordWithDefaults() *CreateRecord

NewCreateRecordWithDefaults instantiates a new CreateRecord 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 (*CreateRecord) GetResults

func (o *CreateRecord) GetResults() Record

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

func (*CreateRecord) GetResultsOk

func (o *CreateRecord) GetResultsOk() (*Record, 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 (*CreateRecord) GetSchemaVersion

func (o *CreateRecord) GetSchemaVersion() int32

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

func (*CreateRecord) GetSchemaVersionOk

func (o *CreateRecord) 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 (*CreateRecord) HasResults

func (o *CreateRecord) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*CreateRecord) HasSchemaVersion

func (o *CreateRecord) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (CreateRecord) MarshalJSON

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

func (*CreateRecord) SetResults

func (o *CreateRecord) SetResults(v Record)

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

func (*CreateRecord) SetSchemaVersion

func (o *CreateRecord) SetSchemaVersion(v int32)

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

type CreateZone

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

CreateZone Object returned by create zone

func NewCreateZone

func NewCreateZone() *CreateZone

NewCreateZone instantiates a new CreateZone 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 NewCreateZoneWithDefaults

func NewCreateZoneWithDefaults() *CreateZone

NewCreateZoneWithDefaults instantiates a new CreateZone 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 (*CreateZone) GetResults

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

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

func (*CreateZone) GetResultsOk

func (o *CreateZone) 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 (*CreateZone) GetSchemaVersion

func (o *CreateZone) GetSchemaVersion() int32

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

func (*CreateZone) GetSchemaVersionOk

func (o *CreateZone) 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 (*CreateZone) HasResults

func (o *CreateZone) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*CreateZone) HasSchemaVersion

func (o *CreateZone) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (CreateZone) MarshalJSON

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

func (*CreateZone) SetResults

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

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

func (*CreateZone) SetSchemaVersion

func (o *CreateZone) SetSchemaVersion(v int32)

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

type DNSSECApiService

type DNSSECApiService service

DNSSECApiService DNSSECApi service

func (*DNSSECApiService) GetZoneDnsSec

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

Execute executes the request

@return GetOrPatchDnsSecResponse

func (*DNSSECApiService) PutZoneDnsSec

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

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"`
	AlgorithmType    *DnsSecDelegationSignerDigestType `json:"algorithm_type,omitempty"`
	Digest           *string                           `json:"digest,omitempty"`
	KeyTag           *int32                            `json:"key_tag,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) GetAlgorithmType

func (o *DnsSec) GetAlgorithmType() DnsSecDelegationSignerDigestType

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

func (*DnsSec) GetAlgorithmTypeOk

func (o *DnsSec) 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 (*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) GetDigest

func (o *DnsSec) GetDigest() string

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

func (*DnsSec) GetDigestOk

func (o *DnsSec) 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 (*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) GetKeyTag

func (o *DnsSec) GetKeyTag() int32

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

func (*DnsSec) GetKeyTagOk

func (o *DnsSec) 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 (*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) HasAlgorithmType

func (o *DnsSec) HasAlgorithmType() bool

HasAlgorithmType returns a boolean if a field has been set.

func (*DnsSec) HasDelegationSigner

func (o *DnsSec) HasDelegationSigner() bool

HasDelegationSigner returns a boolean if a field has been set.

func (*DnsSec) HasDigest

func (o *DnsSec) HasDigest() bool

HasDigest 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) HasKeyTag

func (o *DnsSec) HasKeyTag() bool

HasKeyTag 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) SetAlgorithmType

func (o *DnsSec) SetAlgorithmType(v DnsSecDelegationSignerDigestType)

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

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

func (o *DnsSec) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest 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) SetKeyTag

func (o *DnsSec) SetKeyTag(v int32)

SetKeyTag gets a reference to the given int32 and assigns it to the KeyTag 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"`
}

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

func (o *DnsSecDelegationSigner) HasDigestType() bool

HasDigestType returns a boolean if a field has been set.

func (DnsSecDelegationSigner) MarshalJSON

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

func (*DnsSecDelegationSigner) SetDigestType

SetDigestType gets a reference to the given DnsSecDelegationSignerDigestType and assigns it to the DigestType 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 Errors

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

Errors struct for Errors

func NewErrors

func NewErrors() *Errors

NewErrors instantiates a new Errors 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 NewErrorsWithDefaults

func NewErrorsWithDefaults() *Errors

NewErrorsWithDefaults instantiates a new Errors 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 (*Errors) GetErrors

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

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

func (*Errors) GetErrorsOk

func (o *Errors) 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 (*Errors) HasErrors

func (o *Errors) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (Errors) MarshalJSON

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

func (*Errors) SetErrors

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

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

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 GeneralError

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

GeneralError struct for GeneralError

func NewGeneralError

func NewGeneralError() *GeneralError

NewGeneralError instantiates a new GeneralError 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 NewGeneralErrorWithDefaults

func NewGeneralErrorWithDefaults() *GeneralError

NewGeneralErrorWithDefaults instantiates a new GeneralError 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 (*GeneralError) GetDetail

func (o *GeneralError) GetDetail() string

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

func (*GeneralError) GetDetailOk

func (o *GeneralError) 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 (*GeneralError) HasDetail

func (o *GeneralError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (GeneralError) MarshalJSON

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

func (*GeneralError) SetDetail

func (o *GeneralError) SetDetail(v string)

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

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type 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 []Record `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() []Record

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

func (*GetRecordsResponseResults) GetRecordsOk

func (o *GetRecordsResponseResults) GetRecordsOk() ([]Record, 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 []Record)

SetRecords gets a reference to the given []Record 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 GetZoneModel

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

GetZoneModel Object returned by get zone

func NewGetZoneModel

func NewGetZoneModel() *GetZoneModel

NewGetZoneModel instantiates a new GetZoneModel 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 NewGetZoneModelWithDefaults

func NewGetZoneModelWithDefaults() *GetZoneModel

NewGetZoneModelWithDefaults instantiates a new GetZoneModel 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 (*GetZoneModel) GetResults

func (o *GetZoneModel) GetResults() Zone

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

func (*GetZoneModel) GetResultsOk

func (o *GetZoneModel) 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 (*GetZoneModel) GetSchemaVersion

func (o *GetZoneModel) GetSchemaVersion() int32

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

func (*GetZoneModel) GetSchemaVersionOk

func (o *GetZoneModel) 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 (*GetZoneModel) HasResults

func (o *GetZoneModel) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*GetZoneModel) HasSchemaVersion

func (o *GetZoneModel) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (GetZoneModel) MarshalJSON

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

func (*GetZoneModel) SetResults

func (o *GetZoneModel) SetResults(v Zone)

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

func (*GetZoneModel) SetSchemaVersion

func (o *GetZoneModel) SetSchemaVersion(v int32)

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

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 NullableCreateRecord

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

func NewNullableCreateRecord

func NewNullableCreateRecord(val *CreateRecord) *NullableCreateRecord

func (NullableCreateRecord) Get

func (NullableCreateRecord) IsSet

func (v NullableCreateRecord) IsSet() bool

func (NullableCreateRecord) MarshalJSON

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

func (*NullableCreateRecord) Set

func (v *NullableCreateRecord) Set(val *CreateRecord)

func (*NullableCreateRecord) UnmarshalJSON

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

func (*NullableCreateRecord) Unset

func (v *NullableCreateRecord) Unset()

type NullableCreateZone

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

func NewNullableCreateZone

func NewNullableCreateZone(val *CreateZone) *NullableCreateZone

func (NullableCreateZone) Get

func (v NullableCreateZone) Get() *CreateZone

func (NullableCreateZone) IsSet

func (v NullableCreateZone) IsSet() bool

func (NullableCreateZone) MarshalJSON

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

func (*NullableCreateZone) Set

func (v *NullableCreateZone) Set(val *CreateZone)

func (*NullableCreateZone) UnmarshalJSON

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

func (*NullableCreateZone) Unset

func (v *NullableCreateZone) 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 NullableErrors

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

func NewNullableErrors

func NewNullableErrors(val *Errors) *NullableErrors

func (NullableErrors) Get

func (v NullableErrors) Get() *Errors

func (NullableErrors) IsSet

func (v NullableErrors) IsSet() bool

func (NullableErrors) MarshalJSON

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

func (*NullableErrors) Set

func (v *NullableErrors) Set(val *Errors)

func (*NullableErrors) UnmarshalJSON

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

func (*NullableErrors) Unset

func (v *NullableErrors) 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 NullableGeneralError

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

func NewNullableGeneralError

func NewNullableGeneralError(val *GeneralError) *NullableGeneralError

func (NullableGeneralError) Get

func (NullableGeneralError) IsSet

func (v NullableGeneralError) IsSet() bool

func (NullableGeneralError) MarshalJSON

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

func (*NullableGeneralError) Set

func (v *NullableGeneralError) Set(val *GeneralError)

func (*NullableGeneralError) UnmarshalJSON

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

func (*NullableGeneralError) Unset

func (v *NullableGeneralError) 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 NullableGetZoneModel

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

func NewNullableGetZoneModel

func NewNullableGetZoneModel(val *GetZoneModel) *NullableGetZoneModel

func (NullableGetZoneModel) Get

func (NullableGetZoneModel) IsSet

func (v NullableGetZoneModel) IsSet() bool

func (NullableGetZoneModel) MarshalJSON

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

func (*NullableGetZoneModel) Set

func (v *NullableGetZoneModel) Set(val *GetZoneModel)

func (*NullableGetZoneModel) UnmarshalJSON

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

func (*NullableGetZoneModel) Unset

func (v *NullableGetZoneModel) 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 NullableRecord

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

func NewNullableRecord

func NewNullableRecord(val *Record) *NullableRecord

func (NullableRecord) Get

func (v NullableRecord) Get() *Record

func (NullableRecord) IsSet

func (v NullableRecord) IsSet() bool

func (NullableRecord) MarshalJSON

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

func (*NullableRecord) Set

func (v *NullableRecord) Set(val *Record)

func (*NullableRecord) UnmarshalJSON

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

func (*NullableRecord) Unset

func (v *NullableRecord) Unset()

type NullableRecordsCollection

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

func NewNullableRecordsCollection

func NewNullableRecordsCollection(val *RecordsCollection) *NullableRecordsCollection

func (NullableRecordsCollection) Get

func (NullableRecordsCollection) IsSet

func (v NullableRecordsCollection) IsSet() bool

func (NullableRecordsCollection) MarshalJSON

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

func (*NullableRecordsCollection) Set

func (*NullableRecordsCollection) UnmarshalJSON

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

func (*NullableRecordsCollection) Unset

func (v *NullableRecordsCollection) Unset()

type NullableRecordsCollectionResults

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

func (NullableRecordsCollectionResults) Get

func (NullableRecordsCollectionResults) IsSet

func (NullableRecordsCollectionResults) MarshalJSON

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

func (*NullableRecordsCollectionResults) Set

func (*NullableRecordsCollectionResults) UnmarshalJSON

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

func (*NullableRecordsCollectionResults) 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 NullableZonesCollection

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

func NewNullableZonesCollection

func NewNullableZonesCollection(val *ZonesCollection) *NullableZonesCollection

func (NullableZonesCollection) Get

func (NullableZonesCollection) IsSet

func (v NullableZonesCollection) IsSet() bool

func (NullableZonesCollection) MarshalJSON

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

func (*NullableZonesCollection) Set

func (*NullableZonesCollection) UnmarshalJSON

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

func (*NullableZonesCollection) Unset

func (v *NullableZonesCollection) Unset()
type NullableZonesCollectionLinks struct {
	// contains filtered or unexported fields
}
func NewNullableZonesCollectionLinks(val *ZonesCollectionLinks) *NullableZonesCollectionLinks

func (NullableZonesCollectionLinks) Get

func (NullableZonesCollectionLinks) IsSet

func (NullableZonesCollectionLinks) MarshalJSON

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

func (*NullableZonesCollectionLinks) Set

func (*NullableZonesCollectionLinks) UnmarshalJSON

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

func (*NullableZonesCollectionLinks) Unset

func (v *NullableZonesCollectionLinks) Unset()

type PostOrPutRecordResponse

type PostOrPutRecordResponse struct {
	// The schema version
	SchemaVersion *int32  `json:"schema_version,omitempty"`
	Results       *Record `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() Record

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

func (*PostOrPutRecordResponse) GetResultsOk

func (o *PostOrPutRecordResponse) GetResultsOk() (*Record, 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 Record)

SetResults gets a reference to the given Record 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 Record

type Record 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"`
	RecordType  *string  `json:"record_type,omitempty"`
	Ttl         *int32   `json:"ttl,omitempty"`
}

Record struct for Record

func NewRecord

func NewRecord() *Record

NewRecord instantiates a new Record object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRecordWithDefaults

func NewRecordWithDefaults() *Record

NewRecordWithDefaults instantiates a new Record object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Record) GetAnswersList

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

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

func (*Record) GetAnswersListOk

func (o *Record) 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 (*Record) GetDescription

func (o *Record) GetDescription() string

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

func (*Record) GetDescriptionOk

func (o *Record) 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 (*Record) GetEntry

func (o *Record) GetEntry() string

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

func (*Record) GetEntryOk

func (o *Record) 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 (*Record) GetPolicy

func (o *Record) GetPolicy() string

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

func (*Record) GetPolicyOk

func (o *Record) 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 (*Record) GetRecordId

func (o *Record) GetRecordId() int32

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

func (*Record) GetRecordIdOk

func (o *Record) 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 (*Record) GetRecordType

func (o *Record) GetRecordType() string

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

func (*Record) GetRecordTypeOk

func (o *Record) 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 (*Record) GetTtl

func (o *Record) GetTtl() int32

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

func (*Record) GetTtlOk

func (o *Record) 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 (*Record) HasAnswersList

func (o *Record) HasAnswersList() bool

HasAnswersList returns a boolean if a field has been set.

func (*Record) HasDescription

func (o *Record) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Record) HasEntry

func (o *Record) HasEntry() bool

HasEntry returns a boolean if a field has been set.

func (*Record) HasPolicy

func (o *Record) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (*Record) HasRecordId

func (o *Record) HasRecordId() bool

HasRecordId returns a boolean if a field has been set.

func (*Record) HasRecordType

func (o *Record) HasRecordType() bool

HasRecordType returns a boolean if a field has been set.

func (*Record) HasTtl

func (o *Record) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (Record) MarshalJSON

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

func (*Record) SetAnswersList

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

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

func (*Record) SetDescription

func (o *Record) SetDescription(v string)

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

func (*Record) SetEntry

func (o *Record) SetEntry(v string)

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

func (*Record) SetPolicy

func (o *Record) SetPolicy(v string)

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

func (*Record) SetRecordId

func (o *Record) SetRecordId(v int32)

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

func (*Record) SetRecordType

func (o *Record) SetRecordType(v string)

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

func (*Record) SetTtl

func (o *Record) SetTtl(v int32)

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

func (Record) ToMap added in v0.25.0

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

type RecordsApiService

type RecordsApiService service

RecordsApiService RecordsApi service

func (*RecordsApiService) DeleteZoneRecord

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

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

Execute executes the request

@return string

func (*RecordsApiService) GetZoneRecords

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

Execute executes the request

@return GetRecordsResponse

func (*RecordsApiService) PostZoneRecord

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

Execute executes the request

@return PostOrPutRecordResponse

func (*RecordsApiService) PutZoneRecord

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

Execute executes the request

@return PostOrPutRecordResponse

type RecordsCollection

type RecordsCollection 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      *ZonesCollectionLinks     `json:"links,omitempty"`
	Results    *RecordsCollectionResults `json:"results,omitempty"`
}

RecordsCollection struct for RecordsCollection

func NewRecordsCollection

func NewRecordsCollection() *RecordsCollection

NewRecordsCollection instantiates a new RecordsCollection 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 NewRecordsCollectionWithDefaults

func NewRecordsCollectionWithDefaults() *RecordsCollection

NewRecordsCollectionWithDefaults instantiates a new RecordsCollection 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 (*RecordsCollection) GetCount

func (o *RecordsCollection) GetCount() int32

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

func (*RecordsCollection) GetCountOk

func (o *RecordsCollection) 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 (*RecordsCollection) GetLinksOk

func (o *RecordsCollection) GetLinksOk() (*ZonesCollectionLinks, 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 (*RecordsCollection) GetResults

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

func (*RecordsCollection) GetResultsOk

func (o *RecordsCollection) GetResultsOk() (*RecordsCollectionResults, 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 (*RecordsCollection) GetSchemaVersion

func (o *RecordsCollection) GetSchemaVersion() int32

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

func (*RecordsCollection) GetSchemaVersionOk

func (o *RecordsCollection) 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 (*RecordsCollection) GetTotalPages

func (o *RecordsCollection) GetTotalPages() int32

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

func (*RecordsCollection) GetTotalPagesOk

func (o *RecordsCollection) 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 (*RecordsCollection) HasCount

func (o *RecordsCollection) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *RecordsCollection) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RecordsCollection) HasResults

func (o *RecordsCollection) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*RecordsCollection) HasSchemaVersion

func (o *RecordsCollection) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*RecordsCollection) HasTotalPages

func (o *RecordsCollection) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (RecordsCollection) MarshalJSON

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

func (*RecordsCollection) SetCount

func (o *RecordsCollection) SetCount(v int32)

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

func (o *RecordsCollection) SetLinks(v ZonesCollectionLinks)

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

func (*RecordsCollection) SetResults

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

func (*RecordsCollection) SetSchemaVersion

func (o *RecordsCollection) SetSchemaVersion(v int32)

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

func (*RecordsCollection) SetTotalPages

func (o *RecordsCollection) SetTotalPages(v int32)

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

type RecordsCollectionResults

type RecordsCollectionResults struct {
	ZoneId *int32  `json:"zone_id,omitempty"`
	Domain *string `json:"domain,omitempty"`
	// Zone records collection
	Records []Record `json:"records,omitempty"`
}

RecordsCollectionResults struct for RecordsCollectionResults

func NewRecordsCollectionResults

func NewRecordsCollectionResults() *RecordsCollectionResults

NewRecordsCollectionResults instantiates a new RecordsCollectionResults 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 NewRecordsCollectionResultsWithDefaults

func NewRecordsCollectionResultsWithDefaults() *RecordsCollectionResults

NewRecordsCollectionResultsWithDefaults instantiates a new RecordsCollectionResults 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 (*RecordsCollectionResults) GetDomain

func (o *RecordsCollectionResults) GetDomain() string

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

func (*RecordsCollectionResults) GetDomainOk

func (o *RecordsCollectionResults) 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 (*RecordsCollectionResults) GetRecords

func (o *RecordsCollectionResults) GetRecords() []Record

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

func (*RecordsCollectionResults) GetRecordsOk

func (o *RecordsCollectionResults) GetRecordsOk() ([]Record, 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 (*RecordsCollectionResults) GetZoneId

func (o *RecordsCollectionResults) GetZoneId() int32

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

func (*RecordsCollectionResults) GetZoneIdOk

func (o *RecordsCollectionResults) 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 (*RecordsCollectionResults) HasDomain

func (o *RecordsCollectionResults) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*RecordsCollectionResults) HasRecords

func (o *RecordsCollectionResults) HasRecords() bool

HasRecords returns a boolean if a field has been set.

func (*RecordsCollectionResults) HasZoneId

func (o *RecordsCollectionResults) HasZoneId() bool

HasZoneId returns a boolean if a field has been set.

func (RecordsCollectionResults) MarshalJSON

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

func (*RecordsCollectionResults) SetDomain

func (o *RecordsCollectionResults) SetDomain(v string)

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

func (*RecordsCollectionResults) SetRecords

func (o *RecordsCollectionResults) SetRecords(v []Record)

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

func (*RecordsCollectionResults) SetZoneId

func (o *RecordsCollectionResults) SetZoneId(v int32)

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

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

type ZonesApiService service

ZonesApiService ZonesApi service

func (*ZonesApiService) DeleteZone

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

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

Execute executes the request

@return string

func (*ZonesApiService) GetZone

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

Execute executes the request

@return GetZoneResponse

func (*ZonesApiService) GetZones

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

Execute executes the request

@return GetZonesResponse

func (*ZonesApiService) PostZone

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

Execute executes the request

@return PostOrPutZoneResponse

func (*ZonesApiService) PutZone

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

Execute executes the request

@return PostOrPutZoneResponse

type ZonesCollection

type ZonesCollection 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      *ZonesCollectionLinks `json:"links,omitempty"`
	// Hosted zones collection
	Results []Zone `json:"results,omitempty"`
}

ZonesCollection struct for ZonesCollection

func NewZonesCollection

func NewZonesCollection() *ZonesCollection

NewZonesCollection instantiates a new ZonesCollection 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 NewZonesCollectionWithDefaults

func NewZonesCollectionWithDefaults() *ZonesCollection

NewZonesCollectionWithDefaults instantiates a new ZonesCollection 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 (*ZonesCollection) GetCount

func (o *ZonesCollection) GetCount() int32

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

func (*ZonesCollection) GetCountOk

func (o *ZonesCollection) 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.

func (o *ZonesCollection) GetLinks() ZonesCollectionLinks

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

func (*ZonesCollection) GetLinksOk

func (o *ZonesCollection) GetLinksOk() (*ZonesCollectionLinks, 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 (*ZonesCollection) GetResults

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

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

func (*ZonesCollection) GetResultsOk

func (o *ZonesCollection) 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 (*ZonesCollection) GetSchemaVersion

func (o *ZonesCollection) GetSchemaVersion() int32

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

func (*ZonesCollection) GetSchemaVersionOk

func (o *ZonesCollection) 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 (*ZonesCollection) GetTotalPages

func (o *ZonesCollection) GetTotalPages() int32

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

func (*ZonesCollection) GetTotalPagesOk

func (o *ZonesCollection) 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 (*ZonesCollection) HasCount

func (o *ZonesCollection) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *ZonesCollection) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ZonesCollection) HasResults

func (o *ZonesCollection) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*ZonesCollection) HasSchemaVersion

func (o *ZonesCollection) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*ZonesCollection) HasTotalPages

func (o *ZonesCollection) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (ZonesCollection) MarshalJSON

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

func (*ZonesCollection) SetCount

func (o *ZonesCollection) SetCount(v int32)

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

func (o *ZonesCollection) SetLinks(v ZonesCollectionLinks)

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

func (*ZonesCollection) SetResults

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

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

func (*ZonesCollection) SetSchemaVersion

func (o *ZonesCollection) SetSchemaVersion(v int32)

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

func (*ZonesCollection) SetTotalPages

func (o *ZonesCollection) SetTotalPages(v int32)

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

type ZonesCollectionLinks struct {
	Previous NullableString `json:"previous,omitempty"`
	Next     NullableString `json:"next,omitempty"`
}

ZonesCollectionLinks struct for ZonesCollectionLinks

func NewZonesCollectionLinks() *ZonesCollectionLinks

NewZonesCollectionLinks instantiates a new ZonesCollectionLinks 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 NewZonesCollectionLinksWithDefaults

func NewZonesCollectionLinksWithDefaults() *ZonesCollectionLinks

NewZonesCollectionLinksWithDefaults instantiates a new ZonesCollectionLinks 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 (*ZonesCollectionLinks) GetNext

func (o *ZonesCollectionLinks) GetNext() string

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

func (*ZonesCollectionLinks) GetNextOk

func (o *ZonesCollectionLinks) 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 (*ZonesCollectionLinks) GetPrevious

func (o *ZonesCollectionLinks) GetPrevious() string

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

func (*ZonesCollectionLinks) GetPreviousOk

func (o *ZonesCollectionLinks) 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 (*ZonesCollectionLinks) HasNext

func (o *ZonesCollectionLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*ZonesCollectionLinks) HasPrevious

func (o *ZonesCollectionLinks) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (ZonesCollectionLinks) MarshalJSON

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

func (*ZonesCollectionLinks) SetNext

func (o *ZonesCollectionLinks) SetNext(v string)

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

func (*ZonesCollectionLinks) SetNextNil

func (o *ZonesCollectionLinks) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*ZonesCollectionLinks) SetPrevious

func (o *ZonesCollectionLinks) SetPrevious(v string)

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

func (*ZonesCollectionLinks) SetPreviousNil

func (o *ZonesCollectionLinks) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*ZonesCollectionLinks) UnsetNext

func (o *ZonesCollectionLinks) UnsetNext()

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

func (*ZonesCollectionLinks) UnsetPrevious

func (o *ZonesCollectionLinks) UnsetPrevious()

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

Jump to

Keyboard shortcuts

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