dns

package module
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

Go API client for dns

Cloud DNS service helps IONOS Cloud customers to automate DNS Zone and Record management.

Overview

The IONOS Cloud SDK for GO provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in GO . The SDK for GO wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.

Installing

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/ionos-cloud/sdk-go-bundle/products/dns.git

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/ionos-cloud/sdk-go-bundle/products/dns.git
Go Modules

If you are using Go modules, your go get will default to the latest tagged release version of the SDK. To get a specific release version of the SDK use @ in your go get command.

To get the latest SDK repository, use @latest.

go get github.com/ionos-cloud/sdk-go-bundle/products/dns@latest

Environment Variables

Environment Variable Description
IONOS_USERNAME Specify the username used to login, to authenticate against the IONOS Cloud API
IONOS_PASSWORD Specify the password used to login, to authenticate against the IONOS Cloud API
IONOS_TOKEN Specify the token used to login, if a token is being used instead of username and password
IONOS_API_URL Specify the API URL. It will overwrite the API endpoint default value api.ionos.com. Note: the host URL does not contain the /cloudapi/v6 path, so it should not be included in the IONOS_API_URL environment variable
IONOS_LOG_LEVEL Specify the Log Level used to log messages. Possible values: Off, Debug, Trace
IONOS_PINNED_CERT Specify the SHA-256 public fingerprint here, enables certificate pinning

⚠️ Note: To overwrite the api endpoint - api.ionos.com, the environment variable IONOS_API_URL can be set, and used with NewConfigurationFromEnv() function.

Examples

Examples for creating resources using the Go SDK can be found here

Authentication

All available server URLs are:

By default, https://dns.de-fra.ionos.com is used, however this can be overriden at authentication, either by setting the IONOS_API_URL environment variable or by specifying the hostUrl parameter when initializing the sdk client.

Basic Authentication
  • Type: HTTP basic authentication

Example

import (
	"context"
	"fmt"
	"github.com/ionos-cloud/sdk-go-bundle/shared"
	dns "github.com/ionos-cloud/sdk-go-bundle/products/dns"
	"log"
)

func basicAuthExample() error {
	cfg := shared.NewConfiguration("username_here", "pwd_here", "", "hostUrl_here")
	cfg.LogLevel = Trace
	apiClient := dns.NewAPIClient(cfg)
	return nil
}
Token Authentication

There are 2 ways to generate your token:

Generate token using sdk for auth:
    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        dns "github.com/ionos-cloud/sdk-go-bundle/products/dns"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_USERNAME and IONOS_PASSWORD as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        jwt, _, err := auth.TokensApi.TokensGenerate(context.Background()).Execute()
        if err != nil {
            return fmt.Errorf("error occurred while generating token (%w)", err)
        }
        if !jwt.HasToken() {
            return fmt.Errorf("could not generate token")
        }
        cfg := shared.NewConfiguration("", "", *jwt.GetToken(), "hostUrl_here")
        cfg.LogLevel = Trace
        apiClient := dns.NewAPIClient(cfg)
        return nil
    }
Generate token using ionosctl:

Install ionosctl as explained here Run commands to login and generate your token.

    ionosctl login
    ionosctl token generate
    export IONOS_TOKEN="insert_here_token_saved_from_generate_command"

Save the generated token and use it to authenticate:

    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
         dns "github.com/ionos-cloud/sdk-go-bundle/products/dns"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_TOKEN as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        cfg.LogLevel = Trace
        apiClient := dns.NewAPIClient(cfg)
        return nil
    }

Certificate pinning:

You can enable certificate pinning if you want to bypass the normal certificate checking procedure, by doing the following:

Set env variable IONOS_PINNED_CERT=<insert_sha256_public_fingerprint_here>

You can get the sha256 fingerprint most easily from the browser by inspecting the certificate.

Depth

Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.

Depth Description
0 Only direct properties are included. Children are not included.
1 Direct properties and children's references are returned.
2 Direct properties and children's properties are returned.
3 Direct properties, children's properties, and descendants' references are returned.
4 Direct properties, children's properties, and descendants' properties are returned.
5 Returns all available properties.
Changing the base URL

Base URL for the HTTP operation can be changed by using the following function:

requestProperties.SetURL("https://api.ionos.com/cloudapi/v6")

Debugging

You can inject any logger that implements Printf as a logger instead of using the default sdk logger. There are log levels that you can set: Off, Debug and Trace. Off - does not show any logs Debug - regular logs, no sensitive information Trace - we recommend you only set this field for debugging purposes. Disable it in your production environments because it can log sensitive data. It logs the full request and response without encryption, even for an HTTPS call. Verbose request and response logging can also significantly impact your application's performance.

package main

    import (
        dns "github.com/ionos-cloud/sdk-go-bundle/products/dns"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        "github.com/sirupsen/logrus"
    )

func main() {
    // create your configuration. replace username, password, token and url with correct values, or use NewConfigurationFromEnv()
    // if you have set your env variables as explained above
    cfg := shared.NewConfiguration("username", "password", "token", "hostUrl")
    // enable request and response logging. this is the most verbose loglevel
    shared.SdkLogLevel = Trace
    // inject your own logger that implements Printf
    shared.SdkLogger = logrus.New()
    // create you api client with the configuration
    apiClient := dns.NewAPIClient(cfg)
}

Documentation for API Endpoints

All URIs are relative to https://dns.de-fra.ionos.com

API Endpoints table
Class Method HTTP request Description
DNSSECApi ZonesKeysDelete Delete /zones/{zoneId}/keys Delete a DNSSEC key
DNSSECApi ZonesKeysGet Get /zones/{zoneId}/keys Retrieve a DNSSEC key
DNSSECApi ZonesKeysPost Post /zones/{zoneId}/keys Create a DNSSEC key
QuotaApi QuotaGet Get /quota Retrieve resources quota
RecordsApi RecordsGet Get /records Retrieve all records from primary zones
RecordsApi SecondaryzonesRecordsGet Get /secondaryzones/{secondaryZoneId}/records Retrieve records for a secondary zone
RecordsApi ZonesRecordsDelete Delete /zones/{zoneId}/records/{recordId} Delete a record
RecordsApi ZonesRecordsFindById Get /zones/{zoneId}/records/{recordId} Retrieve a record
RecordsApi ZonesRecordsGet Get /zones/{zoneId}/records Retrieve records
RecordsApi ZonesRecordsPost Post /zones/{zoneId}/records Create a record
RecordsApi ZonesRecordsPut Put /zones/{zoneId}/records/{recordId} Update a record
ReverseRecordsApi ReverserecordsDelete Delete /reverserecords/{reverserecordId} Delete a reverse DNS record
ReverseRecordsApi ReverserecordsFindById Get /reverserecords/{reverserecordId} Retrieve a reverse DNS record
ReverseRecordsApi ReverserecordsGet Get /reverserecords Retrieves existing reverse DNS records
ReverseRecordsApi ReverserecordsPost Post /reverserecords Create a reverse DNS record
ReverseRecordsApi ReverserecordsPut Put /reverserecords/{reverserecordId} Update a reverse DNS record
SecondaryZonesApi SecondaryzonesAxfrGet Get /secondaryzones/{secondaryZoneId}/axfr Get status of zone transfer
SecondaryZonesApi SecondaryzonesAxfrPut Put /secondaryzones/{secondaryZoneId}/axfr Start zone transfer
SecondaryZonesApi SecondaryzonesDelete Delete /secondaryzones/{secondaryZoneId} Delete a secondary zone
SecondaryZonesApi SecondaryzonesFindById Get /secondaryzones/{secondaryZoneId} Retrieve a secondary zone
SecondaryZonesApi SecondaryzonesGet Get /secondaryzones Retrieve secondary zones
SecondaryZonesApi SecondaryzonesPost Post /secondaryzones Create a secondary zone
SecondaryZonesApi SecondaryzonesPut Put /secondaryzones/{secondaryZoneId} Update a secondary zone
ZoneFilesApi ZonesZonefileGet Get /zones/{zoneId}/zonefile Retrieve a zone file
ZoneFilesApi ZonesZonefilePut Put /zones/{zoneId}/zonefile Updates a zone with a file
ZonesApi ZonesDelete Delete /zones/{zoneId} Delete a zone
ZonesApi ZonesFindById Get /zones/{zoneId} Retrieve a zone
ZonesApi ZonesGet Get /zones Retrieve zones
ZonesApi ZonesPost Post /zones Create a zone
ZonesApi ZonesPut Put /zones/{zoneId} Update a zone

Documentation For Models

All URIs are relative to https://dns.de-fra.ionos.com

API models list

[Back to API list] [Back to Model list]

Documentation

Index

Constants

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "products/dns/v2.0.1"
)

Variables

This section is empty.

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

func CacheExpires

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

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

func DeepCopy added in v2.0.1

func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func IsZero

func IsZero(v interface{}) bool

Types

type APIClient

type APIClient struct {
	DNSSECApi *DNSSECApiService

	QuotaApi *QuotaApiService

	RecordsApi *RecordsApiService

	ReverseRecordsApi *ReverseRecordsApiService

	SecondaryZonesApi *SecondaryZonesApiService

	ZoneFilesApi *ZoneFilesApiService

	ZonesApi *ZonesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Cloud - DNS API API v1.16.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *shared.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() *shared.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 Algorithm

type Algorithm string

Algorithm Algorithm used to generate signing keys (both Key Signing Keys and Zone Signing Keys).

const (
	ALGORITHM_RSASHA256 Algorithm = "RSASHA256"
)

List of algorithm

func (Algorithm) Ptr

func (v Algorithm) Ptr() *Algorithm

Ptr returns reference to algorithm value

func (*Algorithm) UnmarshalJSON

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

type ApiQuotaGetRequest

type ApiQuotaGetRequest struct {
	ApiService *QuotaApiService
	// contains filtered or unexported fields
}

func (ApiQuotaGetRequest) Execute

func (r ApiQuotaGetRequest) Execute() (Quota, *shared.APIResponse, error)

type ApiRecordsGetRequest

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

func (ApiRecordsGetRequest) Execute

func (ApiRecordsGetRequest) FilterName

func (r ApiRecordsGetRequest) FilterName(filterName string) ApiRecordsGetRequest

func (ApiRecordsGetRequest) FilterState

func (r ApiRecordsGetRequest) FilterState(filterState ProvisioningState) ApiRecordsGetRequest

func (ApiRecordsGetRequest) FilterZoneId

func (r ApiRecordsGetRequest) FilterZoneId(filterZoneId string) ApiRecordsGetRequest

func (ApiRecordsGetRequest) Limit

func (ApiRecordsGetRequest) Offset

type ApiReverserecordsDeleteRequest

type ApiReverserecordsDeleteRequest struct {
	ApiService *ReverseRecordsApiService
	// contains filtered or unexported fields
}

func (ApiReverserecordsDeleteRequest) Execute

func (r ApiReverserecordsDeleteRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)

type ApiReverserecordsFindByIdRequest

type ApiReverserecordsFindByIdRequest struct {
	ApiService *ReverseRecordsApiService
	// contains filtered or unexported fields
}

func (ApiReverserecordsFindByIdRequest) Execute

type ApiReverserecordsGetRequest

type ApiReverserecordsGetRequest struct {
	ApiService *ReverseRecordsApiService
	// contains filtered or unexported fields
}

func (ApiReverserecordsGetRequest) Execute

func (ApiReverserecordsGetRequest) FilterRecordIp

func (r ApiReverserecordsGetRequest) FilterRecordIp(filterRecordIp []string) ApiReverserecordsGetRequest

func (ApiReverserecordsGetRequest) Limit

func (ApiReverserecordsGetRequest) Offset

type ApiReverserecordsPostRequest

type ApiReverserecordsPostRequest struct {
	ApiService *ReverseRecordsApiService
	// contains filtered or unexported fields
}

func (ApiReverserecordsPostRequest) Execute

func (ApiReverserecordsPostRequest) ReverseRecordCreate

func (r ApiReverserecordsPostRequest) ReverseRecordCreate(reverseRecordCreate ReverseRecordCreate) ApiReverserecordsPostRequest

type ApiReverserecordsPutRequest

type ApiReverserecordsPutRequest struct {
	ApiService *ReverseRecordsApiService
	// contains filtered or unexported fields
}

func (ApiReverserecordsPutRequest) Execute

func (ApiReverserecordsPutRequest) ReverseRecordEnsure

func (r ApiReverserecordsPutRequest) ReverseRecordEnsure(reverseRecordEnsure ReverseRecordEnsure) ApiReverserecordsPutRequest

type ApiSecondaryzonesAxfrGetRequest

type ApiSecondaryzonesAxfrGetRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesAxfrGetRequest) Execute

type ApiSecondaryzonesAxfrPutRequest

type ApiSecondaryzonesAxfrPutRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesAxfrPutRequest) Execute

func (r ApiSecondaryzonesAxfrPutRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)

type ApiSecondaryzonesDeleteRequest

type ApiSecondaryzonesDeleteRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesDeleteRequest) Execute

func (r ApiSecondaryzonesDeleteRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)

type ApiSecondaryzonesFindByIdRequest

type ApiSecondaryzonesFindByIdRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesFindByIdRequest) Execute

type ApiSecondaryzonesGetRequest

type ApiSecondaryzonesGetRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesGetRequest) Execute

func (ApiSecondaryzonesGetRequest) FilterState

func (ApiSecondaryzonesGetRequest) FilterZoneName

func (r ApiSecondaryzonesGetRequest) FilterZoneName(filterZoneName string) ApiSecondaryzonesGetRequest

func (ApiSecondaryzonesGetRequest) Limit

func (ApiSecondaryzonesGetRequest) Offset

type ApiSecondaryzonesPostRequest

type ApiSecondaryzonesPostRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesPostRequest) Execute

func (ApiSecondaryzonesPostRequest) SecondaryZoneCreate

func (r ApiSecondaryzonesPostRequest) SecondaryZoneCreate(secondaryZoneCreate SecondaryZoneCreate) ApiSecondaryzonesPostRequest

type ApiSecondaryzonesPutRequest

type ApiSecondaryzonesPutRequest struct {
	ApiService *SecondaryZonesApiService
	// contains filtered or unexported fields
}

func (ApiSecondaryzonesPutRequest) Execute

func (ApiSecondaryzonesPutRequest) SecondaryZoneEnsure

func (r ApiSecondaryzonesPutRequest) SecondaryZoneEnsure(secondaryZoneEnsure SecondaryZoneEnsure) ApiSecondaryzonesPutRequest

type ApiSecondaryzonesRecordsGetRequest

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

func (ApiSecondaryzonesRecordsGetRequest) Execute

func (ApiSecondaryzonesRecordsGetRequest) Limit

func (ApiSecondaryzonesRecordsGetRequest) Offset

type ApiZonesDeleteRequest

type ApiZonesDeleteRequest struct {
	ApiService *ZonesApiService
	// contains filtered or unexported fields
}

func (ApiZonesDeleteRequest) Execute

func (r ApiZonesDeleteRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)

type ApiZonesFindByIdRequest

type ApiZonesFindByIdRequest struct {
	ApiService *ZonesApiService
	// contains filtered or unexported fields
}

func (ApiZonesFindByIdRequest) Execute

type ApiZonesGetRequest

type ApiZonesGetRequest struct {
	ApiService *ZonesApiService
	// contains filtered or unexported fields
}

func (ApiZonesGetRequest) Execute

func (ApiZonesGetRequest) FilterState

func (r ApiZonesGetRequest) FilterState(filterState ProvisioningState) ApiZonesGetRequest

func (ApiZonesGetRequest) FilterZoneName

func (r ApiZonesGetRequest) FilterZoneName(filterZoneName string) ApiZonesGetRequest

func (ApiZonesGetRequest) Limit

func (ApiZonesGetRequest) Offset

func (r ApiZonesGetRequest) Offset(offset int32) ApiZonesGetRequest

type ApiZonesKeysDeleteRequest

type ApiZonesKeysDeleteRequest struct {
	ApiService *DNSSECApiService
	// contains filtered or unexported fields
}

func (ApiZonesKeysDeleteRequest) Execute

func (r ApiZonesKeysDeleteRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)

type ApiZonesKeysGetRequest

type ApiZonesKeysGetRequest struct {
	ApiService *DNSSECApiService
	// contains filtered or unexported fields
}

func (ApiZonesKeysGetRequest) Execute

type ApiZonesKeysPostRequest

type ApiZonesKeysPostRequest struct {
	ApiService *DNSSECApiService
	// contains filtered or unexported fields
}

func (ApiZonesKeysPostRequest) DnssecKeyCreate

func (r ApiZonesKeysPostRequest) DnssecKeyCreate(dnssecKeyCreate DnssecKeyCreate) ApiZonesKeysPostRequest

func (ApiZonesKeysPostRequest) Execute

type ApiZonesPostRequest

type ApiZonesPostRequest struct {
	ApiService *ZonesApiService
	// contains filtered or unexported fields
}

func (ApiZonesPostRequest) Execute

func (ApiZonesPostRequest) ZoneCreate

func (r ApiZonesPostRequest) ZoneCreate(zoneCreate ZoneCreate) ApiZonesPostRequest

type ApiZonesPutRequest

type ApiZonesPutRequest struct {
	ApiService *ZonesApiService
	// contains filtered or unexported fields
}

func (ApiZonesPutRequest) Execute

func (ApiZonesPutRequest) ZoneEnsure

func (r ApiZonesPutRequest) ZoneEnsure(zoneEnsure ZoneEnsure) ApiZonesPutRequest

type ApiZonesRecordsDeleteRequest

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

func (ApiZonesRecordsDeleteRequest) Execute

func (r ApiZonesRecordsDeleteRequest) Execute() (map[string]interface{}, *shared.APIResponse, error)

type ApiZonesRecordsFindByIdRequest

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

func (ApiZonesRecordsFindByIdRequest) Execute

type ApiZonesRecordsGetRequest

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

func (ApiZonesRecordsGetRequest) Execute

type ApiZonesRecordsPostRequest

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

func (ApiZonesRecordsPostRequest) Execute

func (ApiZonesRecordsPostRequest) RecordCreate

type ApiZonesRecordsPutRequest

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

func (ApiZonesRecordsPutRequest) Execute

func (ApiZonesRecordsPutRequest) RecordEnsure

type ApiZonesZonefileGetRequest

type ApiZonesZonefileGetRequest struct {
	ApiService *ZoneFilesApiService
	// contains filtered or unexported fields
}

func (ApiZonesZonefileGetRequest) Execute

type ApiZonesZonefilePutRequest

type ApiZonesZonefilePutRequest struct {
	ApiService *ZoneFilesApiService
	// contains filtered or unexported fields
}

func (ApiZonesZonefilePutRequest) Body

func (ApiZonesZonefilePutRequest) Execute

type CommonZone

type CommonZone struct {
	// The zone name
	ZoneName string `json:"zoneName"`
	// The hosted zone is used for...
	Description *string `json:"description,omitempty"`
}

CommonZone Indicates the fields for a zone to be created

func NewCommonZone

func NewCommonZone(zoneName string) *CommonZone

NewCommonZone instantiates a new CommonZone 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 NewCommonZoneWithDefaults

func NewCommonZoneWithDefaults() *CommonZone

NewCommonZoneWithDefaults instantiates a new CommonZone 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 (*CommonZone) GetDescription

func (o *CommonZone) GetDescription() string

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

func (*CommonZone) GetDescriptionOk

func (o *CommonZone) 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 (*CommonZone) GetZoneName

func (o *CommonZone) GetZoneName() string

GetZoneName returns the ZoneName field value

func (*CommonZone) GetZoneNameOk

func (o *CommonZone) GetZoneNameOk() (*string, bool)

GetZoneNameOk returns a tuple with the ZoneName field value and a boolean to check if the value has been set.

func (*CommonZone) HasDescription

func (o *CommonZone) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CommonZone) SetDescription

func (o *CommonZone) SetDescription(v string)

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

func (*CommonZone) SetZoneName

func (o *CommonZone) SetZoneName(v string)

SetZoneName sets field value

func (CommonZone) ToMap

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

type CommonZoneRead

type CommonZoneRead struct {
	// The zone ID (UUID).
	Id       string                       `json:"id"`
	Type     string                       `json:"type"`
	Href     string                       `json:"href"`
	Metadata MetadataWithStateNameservers `json:"metadata"`
}

CommonZoneRead struct for CommonZoneRead

func NewCommonZoneRead

func NewCommonZoneRead(id string, type_ string, href string, metadata MetadataWithStateNameservers) *CommonZoneRead

NewCommonZoneRead instantiates a new CommonZoneRead 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 NewCommonZoneReadWithDefaults

func NewCommonZoneReadWithDefaults() *CommonZoneRead

NewCommonZoneReadWithDefaults instantiates a new CommonZoneRead 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 (*CommonZoneRead) GetHref

func (o *CommonZoneRead) GetHref() string

GetHref returns the Href field value

func (*CommonZoneRead) GetHrefOk

func (o *CommonZoneRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*CommonZoneRead) GetId

func (o *CommonZoneRead) GetId() string

GetId returns the Id field value

func (*CommonZoneRead) GetIdOk

func (o *CommonZoneRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CommonZoneRead) GetMetadata

GetMetadata returns the Metadata field value

func (*CommonZoneRead) GetMetadataOk

func (o *CommonZoneRead) GetMetadataOk() (*MetadataWithStateNameservers, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*CommonZoneRead) GetType

func (o *CommonZoneRead) GetType() string

GetType returns the Type field value

func (*CommonZoneRead) GetTypeOk

func (o *CommonZoneRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CommonZoneRead) SetHref

func (o *CommonZoneRead) SetHref(v string)

SetHref sets field value

func (*CommonZoneRead) SetId

func (o *CommonZoneRead) SetId(v string)

SetId sets field value

func (*CommonZoneRead) SetMetadata

func (o *CommonZoneRead) SetMetadata(v MetadataWithStateNameservers)

SetMetadata sets field value

func (*CommonZoneRead) SetType

func (o *CommonZoneRead) SetType(v string)

SetType sets field value

func (CommonZoneRead) ToMap

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

type CommonZoneReadList

type CommonZoneReadList struct {
	// ID (UUID) created to identify this action.
	Id   string `json:"id"`
	Type string `json:"type"`
	Href string `json:"href"`
	// Pagination offset.
	Offset float32 `json:"offset"`
	// Pagination limit.
	Limit float32 `json:"limit"`
	Links Links   `json:"_links"`
}

CommonZoneReadList struct for CommonZoneReadList

func NewCommonZoneReadList

func NewCommonZoneReadList(id string, type_ string, href string, offset float32, limit float32, links Links) *CommonZoneReadList

NewCommonZoneReadList instantiates a new CommonZoneReadList 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 NewCommonZoneReadListWithDefaults

func NewCommonZoneReadListWithDefaults() *CommonZoneReadList

NewCommonZoneReadListWithDefaults instantiates a new CommonZoneReadList 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 (*CommonZoneReadList) GetHref

func (o *CommonZoneReadList) GetHref() string

GetHref returns the Href field value

func (*CommonZoneReadList) GetHrefOk

func (o *CommonZoneReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*CommonZoneReadList) GetId

func (o *CommonZoneReadList) GetId() string

GetId returns the Id field value

func (*CommonZoneReadList) GetIdOk

func (o *CommonZoneReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CommonZoneReadList) GetLimit

func (o *CommonZoneReadList) GetLimit() float32

GetLimit returns the Limit field value

func (*CommonZoneReadList) GetLimitOk

func (o *CommonZoneReadList) GetLimitOk() (*float32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *CommonZoneReadList) GetLinks() Links

GetLinks returns the Links field value

func (*CommonZoneReadList) GetLinksOk

func (o *CommonZoneReadList) GetLinksOk() (*Links, bool)

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

func (*CommonZoneReadList) GetOffset

func (o *CommonZoneReadList) GetOffset() float32

GetOffset returns the Offset field value

func (*CommonZoneReadList) GetOffsetOk

func (o *CommonZoneReadList) GetOffsetOk() (*float32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*CommonZoneReadList) GetType

func (o *CommonZoneReadList) GetType() string

GetType returns the Type field value

func (*CommonZoneReadList) GetTypeOk

func (o *CommonZoneReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CommonZoneReadList) SetHref

func (o *CommonZoneReadList) SetHref(v string)

SetHref sets field value

func (*CommonZoneReadList) SetId

func (o *CommonZoneReadList) SetId(v string)

SetId sets field value

func (*CommonZoneReadList) SetLimit

func (o *CommonZoneReadList) SetLimit(v float32)

SetLimit sets field value

func (o *CommonZoneReadList) SetLinks(v Links)

SetLinks sets field value

func (*CommonZoneReadList) SetOffset

func (o *CommonZoneReadList) SetOffset(v float32)

SetOffset sets field value

func (*CommonZoneReadList) SetType

func (o *CommonZoneReadList) SetType(v string)

SetType sets field value

func (CommonZoneReadList) ToMap

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

type DNSSECApiService

type DNSSECApiService service

DNSSECApiService DNSSECApi service

func (*DNSSECApiService) ZonesKeysDelete

func (a *DNSSECApiService) ZonesKeysDelete(ctx _context.Context, zoneId string) ApiZonesKeysDeleteRequest

* ZonesKeysDelete Delete a DNSSEC key * Disable DNSSEC keys and remove associated DNSKEY records for your DNS zone.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesKeysDeleteRequest

func (*DNSSECApiService) ZonesKeysDeleteExecute

func (a *DNSSECApiService) ZonesKeysDeleteExecute(r ApiZonesKeysDeleteRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*DNSSECApiService) ZonesKeysGet

func (a *DNSSECApiService) ZonesKeysGet(ctx _context.Context, zoneId string) ApiZonesKeysGetRequest

* ZonesKeysGet Retrieve a DNSSEC key * Get DNSSEC keys for your DNS zone. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesKeysGetRequest

func (*DNSSECApiService) ZonesKeysGetExecute

* Execute executes the request * @return DnssecKeyReadList

func (*DNSSECApiService) ZonesKeysPost

func (a *DNSSECApiService) ZonesKeysPost(ctx _context.Context, zoneId string) ApiZonesKeysPostRequest

* ZonesKeysPost Create a DNSSEC key * Enable DNSSEC keys and create associated DNSKEY records for your DNS zone.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesKeysPostRequest

func (*DNSSECApiService) ZonesKeysPostExecute

* Execute executes the request * @return DnssecKeyReadCreation

type DnssecKey

type DnssecKey struct {
	KeyTag *int32 `json:"keyTag,omitempty"`
	// A string that denotes the digest algorithm. This value must conform to the guidelines in [RFC-8624 Section 3.3](https://datatracker.ietf.org/doc/html/rfc8624#section-3.3).
	DigestAlgorithmMnemonic *string  `json:"digestAlgorithmMnemonic,omitempty"`
	Digest                  *string  `json:"digest,omitempty"`
	KeyData                 *KeyData `json:"keyData,omitempty"`
	// Represents the composed value of the The RDATA for a DNSKEY. The format should be the following: Flags | Protocol | Algorithm | Public Key The values must conform to the guidelines in [RFC-4034 Section 2.1](https://www.rfc-editor.org/rfc/rfc4034#section-2.1).
	ComposedKeyData *string `json:"composedKeyData,omitempty"`
}

DnssecKey struct for DnssecKey

func NewDnssecKey

func NewDnssecKey() *DnssecKey

NewDnssecKey instantiates a new DnssecKey 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 NewDnssecKeyWithDefaults

func NewDnssecKeyWithDefaults() *DnssecKey

NewDnssecKeyWithDefaults instantiates a new DnssecKey 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 (*DnssecKey) GetComposedKeyData

func (o *DnssecKey) GetComposedKeyData() string

GetComposedKeyData returns the ComposedKeyData field value if set, zero value otherwise.

func (*DnssecKey) GetComposedKeyDataOk

func (o *DnssecKey) GetComposedKeyDataOk() (*string, bool)

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

func (*DnssecKey) GetDigest

func (o *DnssecKey) GetDigest() string

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

func (*DnssecKey) GetDigestAlgorithmMnemonic

func (o *DnssecKey) GetDigestAlgorithmMnemonic() string

GetDigestAlgorithmMnemonic returns the DigestAlgorithmMnemonic field value if set, zero value otherwise.

func (*DnssecKey) GetDigestAlgorithmMnemonicOk

func (o *DnssecKey) GetDigestAlgorithmMnemonicOk() (*string, bool)

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

func (*DnssecKey) GetDigestOk

func (o *DnssecKey) 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 (*DnssecKey) GetKeyData

func (o *DnssecKey) GetKeyData() KeyData

GetKeyData returns the KeyData field value if set, zero value otherwise.

func (*DnssecKey) GetKeyDataOk

func (o *DnssecKey) GetKeyDataOk() (*KeyData, bool)

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

func (*DnssecKey) GetKeyTag

func (o *DnssecKey) GetKeyTag() int32

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

func (*DnssecKey) GetKeyTagOk

func (o *DnssecKey) 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 (*DnssecKey) HasComposedKeyData

func (o *DnssecKey) HasComposedKeyData() bool

HasComposedKeyData returns a boolean if a field has been set.

func (*DnssecKey) HasDigest

func (o *DnssecKey) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*DnssecKey) HasDigestAlgorithmMnemonic

func (o *DnssecKey) HasDigestAlgorithmMnemonic() bool

HasDigestAlgorithmMnemonic returns a boolean if a field has been set.

func (*DnssecKey) HasKeyData

func (o *DnssecKey) HasKeyData() bool

HasKeyData returns a boolean if a field has been set.

func (*DnssecKey) HasKeyTag

func (o *DnssecKey) HasKeyTag() bool

HasKeyTag returns a boolean if a field has been set.

func (*DnssecKey) SetComposedKeyData

func (o *DnssecKey) SetComposedKeyData(v string)

SetComposedKeyData gets a reference to the given string and assigns it to the ComposedKeyData field.

func (*DnssecKey) SetDigest

func (o *DnssecKey) SetDigest(v string)

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

func (*DnssecKey) SetDigestAlgorithmMnemonic

func (o *DnssecKey) SetDigestAlgorithmMnemonic(v string)

SetDigestAlgorithmMnemonic gets a reference to the given string and assigns it to the DigestAlgorithmMnemonic field.

func (*DnssecKey) SetKeyData

func (o *DnssecKey) SetKeyData(v KeyData)

SetKeyData gets a reference to the given KeyData and assigns it to the KeyData field.

func (*DnssecKey) SetKeyTag

func (o *DnssecKey) SetKeyTag(v int32)

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

func (DnssecKey) ToMap

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

type DnssecKeyCreate

type DnssecKeyCreate struct {
	Properties DnssecKeyParameters `json:"properties"`
}

DnssecKeyCreate struct for DnssecKeyCreate

func NewDnssecKeyCreate

func NewDnssecKeyCreate(properties DnssecKeyParameters) *DnssecKeyCreate

NewDnssecKeyCreate instantiates a new DnssecKeyCreate 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 NewDnssecKeyCreateWithDefaults

func NewDnssecKeyCreateWithDefaults() *DnssecKeyCreate

NewDnssecKeyCreateWithDefaults instantiates a new DnssecKeyCreate 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 (*DnssecKeyCreate) GetProperties

func (o *DnssecKeyCreate) GetProperties() DnssecKeyParameters

GetProperties returns the Properties field value

func (*DnssecKeyCreate) GetPropertiesOk

func (o *DnssecKeyCreate) GetPropertiesOk() (*DnssecKeyParameters, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*DnssecKeyCreate) SetProperties

func (o *DnssecKeyCreate) SetProperties(v DnssecKeyParameters)

SetProperties sets field value

func (DnssecKeyCreate) ToMap

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

type DnssecKeyParameters

type DnssecKeyParameters struct {
	KeyParameters  KeyParameters  `json:"keyParameters"`
	NsecParameters NsecParameters `json:"nsecParameters"`
	// Signature validity in days
	Validity int32 `json:"validity"`
}

DnssecKeyParameters Parameters used to sign zone.

func NewDnssecKeyParameters

func NewDnssecKeyParameters(keyParameters KeyParameters, nsecParameters NsecParameters, validity int32) *DnssecKeyParameters

NewDnssecKeyParameters instantiates a new DnssecKeyParameters 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 NewDnssecKeyParametersWithDefaults

func NewDnssecKeyParametersWithDefaults() *DnssecKeyParameters

NewDnssecKeyParametersWithDefaults instantiates a new DnssecKeyParameters 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 (*DnssecKeyParameters) GetKeyParameters

func (o *DnssecKeyParameters) GetKeyParameters() KeyParameters

GetKeyParameters returns the KeyParameters field value

func (*DnssecKeyParameters) GetKeyParametersOk

func (o *DnssecKeyParameters) GetKeyParametersOk() (*KeyParameters, bool)

GetKeyParametersOk returns a tuple with the KeyParameters field value and a boolean to check if the value has been set.

func (*DnssecKeyParameters) GetNsecParameters

func (o *DnssecKeyParameters) GetNsecParameters() NsecParameters

GetNsecParameters returns the NsecParameters field value

func (*DnssecKeyParameters) GetNsecParametersOk

func (o *DnssecKeyParameters) GetNsecParametersOk() (*NsecParameters, bool)

GetNsecParametersOk returns a tuple with the NsecParameters field value and a boolean to check if the value has been set.

func (*DnssecKeyParameters) GetValidity

func (o *DnssecKeyParameters) GetValidity() int32

GetValidity returns the Validity field value

func (*DnssecKeyParameters) GetValidityOk

func (o *DnssecKeyParameters) GetValidityOk() (*int32, bool)

GetValidityOk returns a tuple with the Validity field value and a boolean to check if the value has been set.

func (*DnssecKeyParameters) SetKeyParameters

func (o *DnssecKeyParameters) SetKeyParameters(v KeyParameters)

SetKeyParameters sets field value

func (*DnssecKeyParameters) SetNsecParameters

func (o *DnssecKeyParameters) SetNsecParameters(v NsecParameters)

SetNsecParameters sets field value

func (*DnssecKeyParameters) SetValidity

func (o *DnssecKeyParameters) SetValidity(v int32)

SetValidity sets field value

func (DnssecKeyParameters) ToMap

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

type DnssecKeyReadCreation

type DnssecKeyReadCreation struct {
	Properties DnssecKeyParameters `json:"properties"`
	Id         string              `json:"id"`
	Type       string              `json:"type"`
	Href       string              `json:"href"`
}

DnssecKeyReadCreation struct for DnssecKeyReadCreation

func NewDnssecKeyReadCreation

func NewDnssecKeyReadCreation(properties DnssecKeyParameters, id string, type_ string, href string) *DnssecKeyReadCreation

NewDnssecKeyReadCreation instantiates a new DnssecKeyReadCreation 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 NewDnssecKeyReadCreationWithDefaults

func NewDnssecKeyReadCreationWithDefaults() *DnssecKeyReadCreation

NewDnssecKeyReadCreationWithDefaults instantiates a new DnssecKeyReadCreation 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 (*DnssecKeyReadCreation) GetHref

func (o *DnssecKeyReadCreation) GetHref() string

GetHref returns the Href field value

func (*DnssecKeyReadCreation) GetHrefOk

func (o *DnssecKeyReadCreation) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*DnssecKeyReadCreation) GetId

func (o *DnssecKeyReadCreation) GetId() string

GetId returns the Id field value

func (*DnssecKeyReadCreation) GetIdOk

func (o *DnssecKeyReadCreation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*DnssecKeyReadCreation) GetProperties

func (o *DnssecKeyReadCreation) GetProperties() DnssecKeyParameters

GetProperties returns the Properties field value

func (*DnssecKeyReadCreation) GetPropertiesOk

func (o *DnssecKeyReadCreation) GetPropertiesOk() (*DnssecKeyParameters, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*DnssecKeyReadCreation) GetType

func (o *DnssecKeyReadCreation) GetType() string

GetType returns the Type field value

func (*DnssecKeyReadCreation) GetTypeOk

func (o *DnssecKeyReadCreation) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*DnssecKeyReadCreation) SetHref

func (o *DnssecKeyReadCreation) SetHref(v string)

SetHref sets field value

func (*DnssecKeyReadCreation) SetId

func (o *DnssecKeyReadCreation) SetId(v string)

SetId sets field value

func (*DnssecKeyReadCreation) SetProperties

func (o *DnssecKeyReadCreation) SetProperties(v DnssecKeyParameters)

SetProperties sets field value

func (*DnssecKeyReadCreation) SetType

func (o *DnssecKeyReadCreation) SetType(v string)

SetType sets field value

func (DnssecKeyReadCreation) ToMap

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

type DnssecKeyReadList

type DnssecKeyReadList struct {
	Id         *string                      `json:"id,omitempty"`
	Type       *string                      `json:"type,omitempty"`
	Href       *string                      `json:"href,omitempty"`
	Metadata   *DnssecKeyReadListMetadata   `json:"metadata,omitempty"`
	Properties *DnssecKeyReadListProperties `json:"properties,omitempty"`
}

DnssecKeyReadList struct for DnssecKeyReadList

func NewDnssecKeyReadList

func NewDnssecKeyReadList() *DnssecKeyReadList

NewDnssecKeyReadList instantiates a new DnssecKeyReadList 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 NewDnssecKeyReadListWithDefaults

func NewDnssecKeyReadListWithDefaults() *DnssecKeyReadList

NewDnssecKeyReadListWithDefaults instantiates a new DnssecKeyReadList 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 (*DnssecKeyReadList) GetHref

func (o *DnssecKeyReadList) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*DnssecKeyReadList) GetHrefOk

func (o *DnssecKeyReadList) GetHrefOk() (*string, bool)

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

func (*DnssecKeyReadList) GetId

func (o *DnssecKeyReadList) GetId() string

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

func (*DnssecKeyReadList) GetIdOk

func (o *DnssecKeyReadList) GetIdOk() (*string, bool)

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

func (*DnssecKeyReadList) GetMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*DnssecKeyReadList) GetMetadataOk

func (o *DnssecKeyReadList) GetMetadataOk() (*DnssecKeyReadListMetadata, bool)

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

func (*DnssecKeyReadList) GetProperties

GetProperties returns the Properties field value if set, zero value otherwise.

func (*DnssecKeyReadList) GetPropertiesOk

func (o *DnssecKeyReadList) GetPropertiesOk() (*DnssecKeyReadListProperties, bool)

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

func (*DnssecKeyReadList) GetType

func (o *DnssecKeyReadList) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DnssecKeyReadList) GetTypeOk

func (o *DnssecKeyReadList) GetTypeOk() (*string, bool)

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

func (*DnssecKeyReadList) HasHref

func (o *DnssecKeyReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*DnssecKeyReadList) HasId

func (o *DnssecKeyReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*DnssecKeyReadList) HasMetadata

func (o *DnssecKeyReadList) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*DnssecKeyReadList) HasProperties

func (o *DnssecKeyReadList) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*DnssecKeyReadList) HasType

func (o *DnssecKeyReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (*DnssecKeyReadList) SetHref

func (o *DnssecKeyReadList) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*DnssecKeyReadList) SetId

func (o *DnssecKeyReadList) SetId(v string)

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

func (*DnssecKeyReadList) SetMetadata

func (o *DnssecKeyReadList) SetMetadata(v DnssecKeyReadListMetadata)

SetMetadata gets a reference to the given DnssecKeyReadListMetadata and assigns it to the Metadata field.

func (*DnssecKeyReadList) SetProperties

func (o *DnssecKeyReadList) SetProperties(v DnssecKeyReadListProperties)

SetProperties gets a reference to the given DnssecKeyReadListProperties and assigns it to the Properties field.

func (*DnssecKeyReadList) SetType

func (o *DnssecKeyReadList) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (DnssecKeyReadList) ToMap

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

type DnssecKeyReadListMetadata

type DnssecKeyReadListMetadata struct {
	// The ID (UUID) of the DNS zone of which record belongs to.
	ZoneId *string     `json:"zoneId,omitempty"`
	Items  []DnssecKey `json:"items,omitempty"`
}

DnssecKeyReadListMetadata Metadata of the resource with not state information.

func NewDnssecKeyReadListMetadata

func NewDnssecKeyReadListMetadata() *DnssecKeyReadListMetadata

NewDnssecKeyReadListMetadata instantiates a new DnssecKeyReadListMetadata 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 NewDnssecKeyReadListMetadataWithDefaults

func NewDnssecKeyReadListMetadataWithDefaults() *DnssecKeyReadListMetadata

NewDnssecKeyReadListMetadataWithDefaults instantiates a new DnssecKeyReadListMetadata 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 (*DnssecKeyReadListMetadata) GetItems

func (o *DnssecKeyReadListMetadata) GetItems() []DnssecKey

GetItems returns the Items field value if set, zero value otherwise.

func (*DnssecKeyReadListMetadata) GetItemsOk

func (o *DnssecKeyReadListMetadata) GetItemsOk() ([]DnssecKey, bool)

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

func (*DnssecKeyReadListMetadata) GetZoneId

func (o *DnssecKeyReadListMetadata) GetZoneId() string

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

func (*DnssecKeyReadListMetadata) GetZoneIdOk

func (o *DnssecKeyReadListMetadata) GetZoneIdOk() (*string, 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 (*DnssecKeyReadListMetadata) HasItems

func (o *DnssecKeyReadListMetadata) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*DnssecKeyReadListMetadata) HasZoneId

func (o *DnssecKeyReadListMetadata) HasZoneId() bool

HasZoneId returns a boolean if a field has been set.

func (*DnssecKeyReadListMetadata) SetItems

func (o *DnssecKeyReadListMetadata) SetItems(v []DnssecKey)

SetItems gets a reference to the given []DnssecKey and assigns it to the Items field.

func (*DnssecKeyReadListMetadata) SetZoneId

func (o *DnssecKeyReadListMetadata) SetZoneId(v string)

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

func (DnssecKeyReadListMetadata) ToMap

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

type DnssecKeyReadListProperties

type DnssecKeyReadListProperties struct {
	KeyParameters  DnssecKeyReadListPropertiesKeyParameters  `json:"keyParameters"`
	NsecParameters DnssecKeyReadListPropertiesNsecParameters `json:"nsecParameters"`
}

DnssecKeyReadListProperties Properties of the key.

func NewDnssecKeyReadListProperties

func NewDnssecKeyReadListProperties(keyParameters DnssecKeyReadListPropertiesKeyParameters, nsecParameters DnssecKeyReadListPropertiesNsecParameters) *DnssecKeyReadListProperties

NewDnssecKeyReadListProperties instantiates a new DnssecKeyReadListProperties 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 NewDnssecKeyReadListPropertiesWithDefaults

func NewDnssecKeyReadListPropertiesWithDefaults() *DnssecKeyReadListProperties

NewDnssecKeyReadListPropertiesWithDefaults instantiates a new DnssecKeyReadListProperties 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 (*DnssecKeyReadListProperties) GetKeyParameters

GetKeyParameters returns the KeyParameters field value

func (*DnssecKeyReadListProperties) GetKeyParametersOk

GetKeyParametersOk returns a tuple with the KeyParameters field value and a boolean to check if the value has been set.

func (*DnssecKeyReadListProperties) GetNsecParameters

GetNsecParameters returns the NsecParameters field value

func (*DnssecKeyReadListProperties) GetNsecParametersOk

GetNsecParametersOk returns a tuple with the NsecParameters field value and a boolean to check if the value has been set.

func (*DnssecKeyReadListProperties) SetKeyParameters

SetKeyParameters sets field value

func (*DnssecKeyReadListProperties) SetNsecParameters

SetNsecParameters sets field value

func (DnssecKeyReadListProperties) ToMap

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

type DnssecKeyReadListPropertiesKeyParameters

type DnssecKeyReadListPropertiesKeyParameters struct {
	Algorithm *Algorithm `json:"algorithm,omitempty"`
}

DnssecKeyReadListPropertiesKeyParameters struct for DnssecKeyReadListPropertiesKeyParameters

func NewDnssecKeyReadListPropertiesKeyParameters

func NewDnssecKeyReadListPropertiesKeyParameters() *DnssecKeyReadListPropertiesKeyParameters

NewDnssecKeyReadListPropertiesKeyParameters instantiates a new DnssecKeyReadListPropertiesKeyParameters 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 NewDnssecKeyReadListPropertiesKeyParametersWithDefaults

func NewDnssecKeyReadListPropertiesKeyParametersWithDefaults() *DnssecKeyReadListPropertiesKeyParameters

NewDnssecKeyReadListPropertiesKeyParametersWithDefaults instantiates a new DnssecKeyReadListPropertiesKeyParameters 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 (*DnssecKeyReadListPropertiesKeyParameters) GetAlgorithm

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*DnssecKeyReadListPropertiesKeyParameters) GetAlgorithmOk

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

func (*DnssecKeyReadListPropertiesKeyParameters) HasAlgorithm

HasAlgorithm returns a boolean if a field has been set.

func (*DnssecKeyReadListPropertiesKeyParameters) SetAlgorithm

SetAlgorithm gets a reference to the given Algorithm and assigns it to the Algorithm field.

func (DnssecKeyReadListPropertiesKeyParameters) ToMap

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

type DnssecKeyReadListPropertiesNsecParameters

type DnssecKeyReadListPropertiesNsecParameters struct {
	NsecMode *NsecMode `json:"nsecMode,omitempty"`
}

DnssecKeyReadListPropertiesNsecParameters struct for DnssecKeyReadListPropertiesNsecParameters

func NewDnssecKeyReadListPropertiesNsecParameters

func NewDnssecKeyReadListPropertiesNsecParameters() *DnssecKeyReadListPropertiesNsecParameters

NewDnssecKeyReadListPropertiesNsecParameters instantiates a new DnssecKeyReadListPropertiesNsecParameters 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 NewDnssecKeyReadListPropertiesNsecParametersWithDefaults

func NewDnssecKeyReadListPropertiesNsecParametersWithDefaults() *DnssecKeyReadListPropertiesNsecParameters

NewDnssecKeyReadListPropertiesNsecParametersWithDefaults instantiates a new DnssecKeyReadListPropertiesNsecParameters 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 (*DnssecKeyReadListPropertiesNsecParameters) GetNsecMode

GetNsecMode returns the NsecMode field value if set, zero value otherwise.

func (*DnssecKeyReadListPropertiesNsecParameters) GetNsecModeOk

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

func (*DnssecKeyReadListPropertiesNsecParameters) HasNsecMode

HasNsecMode returns a boolean if a field has been set.

func (*DnssecKeyReadListPropertiesNsecParameters) SetNsecMode

SetNsecMode gets a reference to the given NsecMode and assigns it to the NsecMode field.

func (DnssecKeyReadListPropertiesNsecParameters) ToMap

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

type Error

type Error struct {
	// HTTP status code of the operation as specified by [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-6).
	HttpStatus *int32          `json:"httpStatus,omitempty"`
	Messages   []ErrorMessages `json:"messages,omitempty"`
}

Error struct for Error

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetHttpStatus

func (o *Error) GetHttpStatus() int32

GetHttpStatus returns the HttpStatus field value if set, zero value otherwise.

func (*Error) GetHttpStatusOk

func (o *Error) GetHttpStatusOk() (*int32, bool)

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

func (*Error) GetMessages

func (o *Error) GetMessages() []ErrorMessages

GetMessages returns the Messages field value if set, zero value otherwise.

func (*Error) GetMessagesOk

func (o *Error) GetMessagesOk() ([]ErrorMessages, bool)

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

func (*Error) HasHttpStatus

func (o *Error) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error) HasMessages

func (o *Error) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (*Error) SetHttpStatus

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.

func (*Error) SetMessages

func (o *Error) SetMessages(v []ErrorMessages)

SetMessages gets a reference to the given []ErrorMessages and assigns it to the Messages field.

func (Error) ToMap

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

type ErrorMessages

type ErrorMessages struct {
	// Internal error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Human readable explanation of the issue.
	Message *string `json:"message,omitempty"`
}

ErrorMessages struct for ErrorMessages

func NewErrorMessages

func NewErrorMessages() *ErrorMessages

NewErrorMessages instantiates a new ErrorMessages 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 NewErrorMessagesWithDefaults

func NewErrorMessagesWithDefaults() *ErrorMessages

NewErrorMessagesWithDefaults instantiates a new ErrorMessages 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 (*ErrorMessages) GetErrorCode

func (o *ErrorMessages) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ErrorMessages) GetErrorCodeOk

func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)

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

func (*ErrorMessages) GetMessage

func (o *ErrorMessages) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorMessages) GetMessageOk

func (o *ErrorMessages) GetMessageOk() (*string, bool)

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

func (*ErrorMessages) HasErrorCode

func (o *ErrorMessages) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessages) HasMessage

func (o *ErrorMessages) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ErrorMessages) SetErrorCode

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorMessages) SetMessage

func (o *ErrorMessages) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorMessages) ToMap

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

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type KeyData

type KeyData struct {
	// Represents the key's metadata and usage information.
	Flags *int32 `json:"flags,omitempty"`
	// Represents the public key data in Base64 encoding.
	PubKey *string `json:"pubKey,omitempty"`
}

KeyData Represents the separate components of the RDATA for a DNSKEY. The values must conform to the guidelines in [RFC-4034 Section 2.1](https://www.rfc-editor.org/rfc/rfc4034#section-2.1).

func NewKeyData

func NewKeyData() *KeyData

NewKeyData instantiates a new KeyData 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 NewKeyDataWithDefaults

func NewKeyDataWithDefaults() *KeyData

NewKeyDataWithDefaults instantiates a new KeyData 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 (*KeyData) GetFlags

func (o *KeyData) GetFlags() int32

GetFlags returns the Flags field value if set, zero value otherwise.

func (*KeyData) GetFlagsOk

func (o *KeyData) GetFlagsOk() (*int32, bool)

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

func (*KeyData) GetPubKey

func (o *KeyData) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*KeyData) GetPubKeyOk

func (o *KeyData) GetPubKeyOk() (*string, bool)

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

func (*KeyData) HasFlags

func (o *KeyData) HasFlags() bool

HasFlags returns a boolean if a field has been set.

func (*KeyData) HasPubKey

func (o *KeyData) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (*KeyData) SetFlags

func (o *KeyData) SetFlags(v int32)

SetFlags gets a reference to the given int32 and assigns it to the Flags field.

func (*KeyData) SetPubKey

func (o *KeyData) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

func (KeyData) ToMap

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

type KeyParameters

type KeyParameters struct {
	Algorithm Algorithm `json:"algorithm"`
	KskBits   KskBits   `json:"kskBits"`
	ZskBits   ZskBits   `json:"zskBits"`
}

KeyParameters Key parameters used to sign the zone.

func NewKeyParameters

func NewKeyParameters(algorithm Algorithm, kskBits KskBits, zskBits ZskBits) *KeyParameters

NewKeyParameters instantiates a new KeyParameters 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 NewKeyParametersWithDefaults

func NewKeyParametersWithDefaults() *KeyParameters

NewKeyParametersWithDefaults instantiates a new KeyParameters 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 (*KeyParameters) GetAlgorithm

func (o *KeyParameters) GetAlgorithm() Algorithm

GetAlgorithm returns the Algorithm field value

func (*KeyParameters) GetAlgorithmOk

func (o *KeyParameters) GetAlgorithmOk() (*Algorithm, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.

func (*KeyParameters) GetKskBits

func (o *KeyParameters) GetKskBits() KskBits

GetKskBits returns the KskBits field value

func (*KeyParameters) GetKskBitsOk

func (o *KeyParameters) GetKskBitsOk() (*KskBits, bool)

GetKskBitsOk returns a tuple with the KskBits field value and a boolean to check if the value has been set.

func (*KeyParameters) GetZskBits

func (o *KeyParameters) GetZskBits() ZskBits

GetZskBits returns the ZskBits field value

func (*KeyParameters) GetZskBitsOk

func (o *KeyParameters) GetZskBitsOk() (*ZskBits, bool)

GetZskBitsOk returns a tuple with the ZskBits field value and a boolean to check if the value has been set.

func (*KeyParameters) SetAlgorithm

func (o *KeyParameters) SetAlgorithm(v Algorithm)

SetAlgorithm sets field value

func (*KeyParameters) SetKskBits

func (o *KeyParameters) SetKskBits(v KskBits)

SetKskBits sets field value

func (*KeyParameters) SetZskBits

func (o *KeyParameters) SetZskBits(v ZskBits)

SetZskBits sets field value

func (KeyParameters) ToMap

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

type KskBits

type KskBits int32

KskBits Key signing key length in bits. kskBits >= zskBits

const (
	KSKBITS__1024 KskBits = 1024
	KSKBITS__2048 KskBits = 2048
	KSKBITS__4096 KskBits = 4096
)

List of kskBits

func (KskBits) Ptr

func (v KskBits) Ptr() *KskBits

Ptr returns reference to kskBits value

func (*KskBits) UnmarshalJSON

func (v *KskBits) UnmarshalJSON(src []byte) error
type Links struct {
	// URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.
	Prev *string `json:"prev,omitempty"`
	// URL (with offset and limit parameters) of the current page.
	Self *string `json:"self,omitempty"`
	// URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.
	Next *string `json:"next,omitempty"`
}

Links URLs to navigate the different pages. As of now we always only return a single page.

func NewLinks() *Links

NewLinks instantiates a new Links 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 NewLinksWithDefaults

func NewLinksWithDefaults() *Links

NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNext

func (o *Links) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*Links) GetNextOk

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

func (*Links) GetPrev

func (o *Links) GetPrev() string

GetPrev returns the Prev field value if set, zero value otherwise.

func (*Links) GetPrevOk

func (o *Links) GetPrevOk() (*string, bool)

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

func (*Links) GetSelf

func (o *Links) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*Links) GetSelfOk

func (o *Links) GetSelfOk() (*string, bool)

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

func (*Links) HasNext

func (o *Links) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Links) HasPrev

func (o *Links) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*Links) HasSelf

func (o *Links) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (*Links) SetNext

func (o *Links) SetNext(v string)

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

func (*Links) SetPrev

func (o *Links) SetPrev(v string)

SetPrev gets a reference to the given string and assigns it to the Prev field.

func (*Links) SetSelf

func (o *Links) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

func (Links) ToMap

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

type MappedNullable

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

type Metadata

type Metadata struct {
	// The creation date formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// The unique ID of the user who created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that created the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// The unique ID of the user who last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
}

Metadata Metadata of the resource.

func NewMetadata

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

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

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

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

func (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

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

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

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

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

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

func (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

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

func (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (Metadata) ToMap

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

type MetadataForSecondaryZoneRecords

type MetadataForSecondaryZoneRecords struct {
	// A fully qualified domain name. FQDN consists of two parts - the hostname and the domain name.
	Fqdn string `json:"fqdn"`
	// The ID (UUID) of the DNS zone of which record belongs to.
	ZoneId string `json:"zoneId"`
	// Indicates the root name (from the primary zone) for the record
	RootName string `json:"rootName"`
}

MetadataForSecondaryZoneRecords Metadata for records of secondary zones.

func NewMetadataForSecondaryZoneRecords

func NewMetadataForSecondaryZoneRecords(fqdn string, zoneId string, rootName string) *MetadataForSecondaryZoneRecords

NewMetadataForSecondaryZoneRecords instantiates a new MetadataForSecondaryZoneRecords 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 NewMetadataForSecondaryZoneRecordsWithDefaults

func NewMetadataForSecondaryZoneRecordsWithDefaults() *MetadataForSecondaryZoneRecords

NewMetadataForSecondaryZoneRecordsWithDefaults instantiates a new MetadataForSecondaryZoneRecords 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 (*MetadataForSecondaryZoneRecords) GetFqdn

GetFqdn returns the Fqdn field value

func (*MetadataForSecondaryZoneRecords) GetFqdnOk

func (o *MetadataForSecondaryZoneRecords) GetFqdnOk() (*string, bool)

GetFqdnOk returns a tuple with the Fqdn field value and a boolean to check if the value has been set.

func (*MetadataForSecondaryZoneRecords) GetRootName

func (o *MetadataForSecondaryZoneRecords) GetRootName() string

GetRootName returns the RootName field value

func (*MetadataForSecondaryZoneRecords) GetRootNameOk

func (o *MetadataForSecondaryZoneRecords) GetRootNameOk() (*string, bool)

GetRootNameOk returns a tuple with the RootName field value and a boolean to check if the value has been set.

func (*MetadataForSecondaryZoneRecords) GetZoneId

func (o *MetadataForSecondaryZoneRecords) GetZoneId() string

GetZoneId returns the ZoneId field value

func (*MetadataForSecondaryZoneRecords) GetZoneIdOk

func (o *MetadataForSecondaryZoneRecords) GetZoneIdOk() (*string, bool)

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

func (*MetadataForSecondaryZoneRecords) SetFqdn

SetFqdn sets field value

func (*MetadataForSecondaryZoneRecords) SetRootName

func (o *MetadataForSecondaryZoneRecords) SetRootName(v string)

SetRootName sets field value

func (*MetadataForSecondaryZoneRecords) SetZoneId

func (o *MetadataForSecondaryZoneRecords) SetZoneId(v string)

SetZoneId sets field value

func (MetadataForSecondaryZoneRecords) ToMap

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

type MetadataWithStateFqdnZoneId

type MetadataWithStateFqdnZoneId struct {
	// The creation date formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// The unique ID of the user who created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that created the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// The unique ID of the user who last modified the resource.
	LastModifiedByUserId *string           `json:"lastModifiedByUserId,omitempty"`
	State                ProvisioningState `json:"state"`
	// A fully qualified domain name. FQDN consists of two parts - the hostname and the domain name.
	Fqdn string `json:"fqdn"`
	// The ID (UUID) of the DNS zone of which record belongs to.
	ZoneId string `json:"zoneId"`
}

MetadataWithStateFqdnZoneId struct for MetadataWithStateFqdnZoneId

func NewMetadataWithStateFqdnZoneId

func NewMetadataWithStateFqdnZoneId(state ProvisioningState, fqdn string, zoneId string) *MetadataWithStateFqdnZoneId

NewMetadataWithStateFqdnZoneId instantiates a new MetadataWithStateFqdnZoneId 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 NewMetadataWithStateFqdnZoneIdWithDefaults

func NewMetadataWithStateFqdnZoneIdWithDefaults() *MetadataWithStateFqdnZoneId

NewMetadataWithStateFqdnZoneIdWithDefaults instantiates a new MetadataWithStateFqdnZoneId 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 (*MetadataWithStateFqdnZoneId) GetCreatedBy

func (o *MetadataWithStateFqdnZoneId) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetadataWithStateFqdnZoneId) GetCreatedByOk

func (o *MetadataWithStateFqdnZoneId) GetCreatedByOk() (*string, bool)

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

func (*MetadataWithStateFqdnZoneId) GetCreatedByUserId

func (o *MetadataWithStateFqdnZoneId) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithStateFqdnZoneId) GetCreatedByUserIdOk

func (o *MetadataWithStateFqdnZoneId) GetCreatedByUserIdOk() (*string, bool)

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

func (*MetadataWithStateFqdnZoneId) GetCreatedDate

func (o *MetadataWithStateFqdnZoneId) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithStateFqdnZoneId) GetCreatedDateOk

func (o *MetadataWithStateFqdnZoneId) GetCreatedDateOk() (*time.Time, bool)

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

func (*MetadataWithStateFqdnZoneId) GetFqdn

func (o *MetadataWithStateFqdnZoneId) GetFqdn() string

GetFqdn returns the Fqdn field value

func (*MetadataWithStateFqdnZoneId) GetFqdnOk

func (o *MetadataWithStateFqdnZoneId) GetFqdnOk() (*string, bool)

GetFqdnOk returns a tuple with the Fqdn field value and a boolean to check if the value has been set.

func (*MetadataWithStateFqdnZoneId) GetLastModifiedBy

func (o *MetadataWithStateFqdnZoneId) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithStateFqdnZoneId) GetLastModifiedByOk

func (o *MetadataWithStateFqdnZoneId) GetLastModifiedByOk() (*string, bool)

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

func (*MetadataWithStateFqdnZoneId) GetLastModifiedByUserId

func (o *MetadataWithStateFqdnZoneId) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithStateFqdnZoneId) GetLastModifiedByUserIdOk

func (o *MetadataWithStateFqdnZoneId) GetLastModifiedByUserIdOk() (*string, bool)

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

func (*MetadataWithStateFqdnZoneId) GetLastModifiedDate

func (o *MetadataWithStateFqdnZoneId) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithStateFqdnZoneId) GetLastModifiedDateOk

func (o *MetadataWithStateFqdnZoneId) GetLastModifiedDateOk() (*time.Time, bool)

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

func (*MetadataWithStateFqdnZoneId) GetState

GetState returns the State field value

func (*MetadataWithStateFqdnZoneId) GetStateOk

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithStateFqdnZoneId) GetZoneId

func (o *MetadataWithStateFqdnZoneId) GetZoneId() string

GetZoneId returns the ZoneId field value

func (*MetadataWithStateFqdnZoneId) GetZoneIdOk

func (o *MetadataWithStateFqdnZoneId) GetZoneIdOk() (*string, bool)

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

func (*MetadataWithStateFqdnZoneId) HasCreatedBy

func (o *MetadataWithStateFqdnZoneId) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithStateFqdnZoneId) HasCreatedByUserId

func (o *MetadataWithStateFqdnZoneId) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithStateFqdnZoneId) HasCreatedDate

func (o *MetadataWithStateFqdnZoneId) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithStateFqdnZoneId) HasLastModifiedBy

func (o *MetadataWithStateFqdnZoneId) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithStateFqdnZoneId) HasLastModifiedByUserId

func (o *MetadataWithStateFqdnZoneId) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithStateFqdnZoneId) HasLastModifiedDate

func (o *MetadataWithStateFqdnZoneId) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithStateFqdnZoneId) SetCreatedBy

func (o *MetadataWithStateFqdnZoneId) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithStateFqdnZoneId) SetCreatedByUserId

func (o *MetadataWithStateFqdnZoneId) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithStateFqdnZoneId) SetCreatedDate

func (o *MetadataWithStateFqdnZoneId) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithStateFqdnZoneId) SetFqdn

func (o *MetadataWithStateFqdnZoneId) SetFqdn(v string)

SetFqdn sets field value

func (*MetadataWithStateFqdnZoneId) SetLastModifiedBy

func (o *MetadataWithStateFqdnZoneId) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithStateFqdnZoneId) SetLastModifiedByUserId

func (o *MetadataWithStateFqdnZoneId) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithStateFqdnZoneId) SetLastModifiedDate

func (o *MetadataWithStateFqdnZoneId) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithStateFqdnZoneId) SetState

SetState sets field value

func (*MetadataWithStateFqdnZoneId) SetZoneId

func (o *MetadataWithStateFqdnZoneId) SetZoneId(v string)

SetZoneId sets field value

func (MetadataWithStateFqdnZoneId) ToMap

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

type MetadataWithStateFqdnZoneIdAllOf

type MetadataWithStateFqdnZoneIdAllOf struct {
	State ProvisioningState `json:"state"`
	// A fully qualified domain name. FQDN consists of two parts - the hostname and the domain name.
	Fqdn string `json:"fqdn"`
	// The ID (UUID) of the DNS zone of which record belongs to.
	ZoneId string `json:"zoneId"`
}

MetadataWithStateFqdnZoneIdAllOf struct for MetadataWithStateFqdnZoneIdAllOf

func NewMetadataWithStateFqdnZoneIdAllOf

func NewMetadataWithStateFqdnZoneIdAllOf(state ProvisioningState, fqdn string, zoneId string) *MetadataWithStateFqdnZoneIdAllOf

NewMetadataWithStateFqdnZoneIdAllOf instantiates a new MetadataWithStateFqdnZoneIdAllOf 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 NewMetadataWithStateFqdnZoneIdAllOfWithDefaults

func NewMetadataWithStateFqdnZoneIdAllOfWithDefaults() *MetadataWithStateFqdnZoneIdAllOf

NewMetadataWithStateFqdnZoneIdAllOfWithDefaults instantiates a new MetadataWithStateFqdnZoneIdAllOf 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 (*MetadataWithStateFqdnZoneIdAllOf) GetFqdn

GetFqdn returns the Fqdn field value

func (*MetadataWithStateFqdnZoneIdAllOf) GetFqdnOk

func (o *MetadataWithStateFqdnZoneIdAllOf) GetFqdnOk() (*string, bool)

GetFqdnOk returns a tuple with the Fqdn field value and a boolean to check if the value has been set.

func (*MetadataWithStateFqdnZoneIdAllOf) GetState

GetState returns the State field value

func (*MetadataWithStateFqdnZoneIdAllOf) GetStateOk

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithStateFqdnZoneIdAllOf) GetZoneId

GetZoneId returns the ZoneId field value

func (*MetadataWithStateFqdnZoneIdAllOf) GetZoneIdOk

func (o *MetadataWithStateFqdnZoneIdAllOf) GetZoneIdOk() (*string, bool)

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

func (*MetadataWithStateFqdnZoneIdAllOf) SetFqdn

SetFqdn sets field value

func (*MetadataWithStateFqdnZoneIdAllOf) SetState

SetState sets field value

func (*MetadataWithStateFqdnZoneIdAllOf) SetZoneId

func (o *MetadataWithStateFqdnZoneIdAllOf) SetZoneId(v string)

SetZoneId sets field value

func (MetadataWithStateFqdnZoneIdAllOf) ToMap

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

type MetadataWithStateNameservers

type MetadataWithStateNameservers struct {
	// The creation date formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// The unique ID of the user who created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that created the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// The unique ID of the user who last modified the resource.
	LastModifiedByUserId *string           `json:"lastModifiedByUserId,omitempty"`
	State                ProvisioningState `json:"state"`
	// The list of nameservers associated to the zone.  Nameservers are different for primary and secondary zones. For primary zones it would be: - ns-ic.ui-dns.com - ns-ic.ui-dns.de - ns-ic.ui-dns.org - ns-ic.ui-dns.biz  And for secondary zones: - nscs.ui-dns.com - nscs.ui-dns.de - nscs.ui-dns.org - nscs.ui-dns.biz
	Nameservers []string `json:"nameservers"`
}

MetadataWithStateNameservers struct for MetadataWithStateNameservers

func NewMetadataWithStateNameservers

func NewMetadataWithStateNameservers(state ProvisioningState, nameservers []string) *MetadataWithStateNameservers

NewMetadataWithStateNameservers instantiates a new MetadataWithStateNameservers 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 NewMetadataWithStateNameserversWithDefaults

func NewMetadataWithStateNameserversWithDefaults() *MetadataWithStateNameservers

NewMetadataWithStateNameserversWithDefaults instantiates a new MetadataWithStateNameservers 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 (*MetadataWithStateNameservers) GetCreatedBy

func (o *MetadataWithStateNameservers) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetadataWithStateNameservers) GetCreatedByOk

func (o *MetadataWithStateNameservers) GetCreatedByOk() (*string, bool)

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

func (*MetadataWithStateNameservers) GetCreatedByUserId

func (o *MetadataWithStateNameservers) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithStateNameservers) GetCreatedByUserIdOk

func (o *MetadataWithStateNameservers) GetCreatedByUserIdOk() (*string, bool)

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

func (*MetadataWithStateNameservers) GetCreatedDate

func (o *MetadataWithStateNameservers) GetCreatedDate() time.Time

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithStateNameservers) GetCreatedDateOk

func (o *MetadataWithStateNameservers) GetCreatedDateOk() (*time.Time, bool)

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

func (*MetadataWithStateNameservers) GetLastModifiedBy

func (o *MetadataWithStateNameservers) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithStateNameservers) GetLastModifiedByOk

func (o *MetadataWithStateNameservers) GetLastModifiedByOk() (*string, bool)

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

func (*MetadataWithStateNameservers) GetLastModifiedByUserId

func (o *MetadataWithStateNameservers) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithStateNameservers) GetLastModifiedByUserIdOk

func (o *MetadataWithStateNameservers) GetLastModifiedByUserIdOk() (*string, bool)

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

func (*MetadataWithStateNameservers) GetLastModifiedDate

func (o *MetadataWithStateNameservers) GetLastModifiedDate() time.Time

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithStateNameservers) GetLastModifiedDateOk

func (o *MetadataWithStateNameservers) GetLastModifiedDateOk() (*time.Time, bool)

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

func (*MetadataWithStateNameservers) GetNameservers

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

GetNameservers returns the Nameservers field value

func (*MetadataWithStateNameservers) GetNameserversOk

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

GetNameserversOk returns a tuple with the Nameservers field value and a boolean to check if the value has been set.

func (*MetadataWithStateNameservers) GetState

GetState returns the State field value

func (*MetadataWithStateNameservers) GetStateOk

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithStateNameservers) HasCreatedBy

func (o *MetadataWithStateNameservers) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithStateNameservers) HasCreatedByUserId

func (o *MetadataWithStateNameservers) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithStateNameservers) HasCreatedDate

func (o *MetadataWithStateNameservers) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithStateNameservers) HasLastModifiedBy

func (o *MetadataWithStateNameservers) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithStateNameservers) HasLastModifiedByUserId

func (o *MetadataWithStateNameservers) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithStateNameservers) HasLastModifiedDate

func (o *MetadataWithStateNameservers) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithStateNameservers) SetCreatedBy

func (o *MetadataWithStateNameservers) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithStateNameservers) SetCreatedByUserId

func (o *MetadataWithStateNameservers) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithStateNameservers) SetCreatedDate

func (o *MetadataWithStateNameservers) SetCreatedDate(v time.Time)

SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.

func (*MetadataWithStateNameservers) SetLastModifiedBy

func (o *MetadataWithStateNameservers) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithStateNameservers) SetLastModifiedByUserId

func (o *MetadataWithStateNameservers) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithStateNameservers) SetLastModifiedDate

func (o *MetadataWithStateNameservers) SetLastModifiedDate(v time.Time)

SetLastModifiedDate gets a reference to the given time.Time and assigns it to the LastModifiedDate field.

func (*MetadataWithStateNameservers) SetNameservers

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

SetNameservers sets field value

func (*MetadataWithStateNameservers) SetState

SetState sets field value

func (MetadataWithStateNameservers) ToMap

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

type MetadataWithStateNameserversAllOf

type MetadataWithStateNameserversAllOf struct {
	State ProvisioningState `json:"state"`
	// The list of nameservers associated to the zone.  Nameservers are different for primary and secondary zones. For primary zones it would be: - ns-ic.ui-dns.com - ns-ic.ui-dns.de - ns-ic.ui-dns.org - ns-ic.ui-dns.biz  And for secondary zones: - nscs.ui-dns.com - nscs.ui-dns.de - nscs.ui-dns.org - nscs.ui-dns.biz
	Nameservers []string `json:"nameservers"`
}

MetadataWithStateNameserversAllOf struct for MetadataWithStateNameserversAllOf

func NewMetadataWithStateNameserversAllOf

func NewMetadataWithStateNameserversAllOf(state ProvisioningState, nameservers []string) *MetadataWithStateNameserversAllOf

NewMetadataWithStateNameserversAllOf instantiates a new MetadataWithStateNameserversAllOf 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 NewMetadataWithStateNameserversAllOfWithDefaults

func NewMetadataWithStateNameserversAllOfWithDefaults() *MetadataWithStateNameserversAllOf

NewMetadataWithStateNameserversAllOfWithDefaults instantiates a new MetadataWithStateNameserversAllOf 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 (*MetadataWithStateNameserversAllOf) GetNameservers

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

GetNameservers returns the Nameservers field value

func (*MetadataWithStateNameserversAllOf) GetNameserversOk

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

GetNameserversOk returns a tuple with the Nameservers field value and a boolean to check if the value has been set.

func (*MetadataWithStateNameserversAllOf) GetState

GetState returns the State field value

func (*MetadataWithStateNameserversAllOf) GetStateOk

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*MetadataWithStateNameserversAllOf) SetNameservers

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

SetNameservers sets field value

func (*MetadataWithStateNameserversAllOf) SetState

SetState sets field value

func (MetadataWithStateNameserversAllOf) ToMap

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

type NsecMode

type NsecMode string

NsecMode NSEC mode.

const (
	NSECMODE_NSEC  NsecMode = "NSEC"
	NSECMODE_NSEC3 NsecMode = "NSEC3"
)

List of nsecMode

func (NsecMode) Ptr

func (v NsecMode) Ptr() *NsecMode

Ptr returns reference to nsecMode value

func (*NsecMode) UnmarshalJSON

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

type NsecParameters

type NsecParameters struct {
	NsecMode NsecMode `json:"nsecMode"`
	// Number of iterations for NSEC3. (between 0 and 50)
	Nsec3Iterations int32 `json:"nsec3Iterations"`
	// Salt length in bits for NSEC3. (between 64 and 128, multiples of 8)
	Nsec3SaltBits int32 `json:"nsec3SaltBits"`
}

NsecParameters Nsec parameters.

func NewNsecParameters

func NewNsecParameters(nsecMode NsecMode, nsec3Iterations int32, nsec3SaltBits int32) *NsecParameters

NewNsecParameters instantiates a new NsecParameters 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 NewNsecParametersWithDefaults

func NewNsecParametersWithDefaults() *NsecParameters

NewNsecParametersWithDefaults instantiates a new NsecParameters 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 (*NsecParameters) GetNsec3Iterations

func (o *NsecParameters) GetNsec3Iterations() int32

GetNsec3Iterations returns the Nsec3Iterations field value

func (*NsecParameters) GetNsec3IterationsOk

func (o *NsecParameters) GetNsec3IterationsOk() (*int32, bool)

GetNsec3IterationsOk returns a tuple with the Nsec3Iterations field value and a boolean to check if the value has been set.

func (*NsecParameters) GetNsec3SaltBits

func (o *NsecParameters) GetNsec3SaltBits() int32

GetNsec3SaltBits returns the Nsec3SaltBits field value

func (*NsecParameters) GetNsec3SaltBitsOk

func (o *NsecParameters) GetNsec3SaltBitsOk() (*int32, bool)

GetNsec3SaltBitsOk returns a tuple with the Nsec3SaltBits field value and a boolean to check if the value has been set.

func (*NsecParameters) GetNsecMode

func (o *NsecParameters) GetNsecMode() NsecMode

GetNsecMode returns the NsecMode field value

func (*NsecParameters) GetNsecModeOk

func (o *NsecParameters) GetNsecModeOk() (*NsecMode, bool)

GetNsecModeOk returns a tuple with the NsecMode field value and a boolean to check if the value has been set.

func (*NsecParameters) SetNsec3Iterations

func (o *NsecParameters) SetNsec3Iterations(v int32)

SetNsec3Iterations sets field value

func (*NsecParameters) SetNsec3SaltBits

func (o *NsecParameters) SetNsec3SaltBits(v int32)

SetNsec3SaltBits sets field value

func (*NsecParameters) SetNsecMode

func (o *NsecParameters) SetNsecMode(v NsecMode)

SetNsecMode sets field value

func (NsecParameters) ToMap

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

type NullableAlgorithm

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

func NewNullableAlgorithm

func NewNullableAlgorithm(val *Algorithm) *NullableAlgorithm

func (NullableAlgorithm) Get

func (v NullableAlgorithm) Get() *Algorithm

func (NullableAlgorithm) IsSet

func (v NullableAlgorithm) IsSet() bool

func (NullableAlgorithm) MarshalJSON

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

func (*NullableAlgorithm) Set

func (v *NullableAlgorithm) Set(val *Algorithm)

func (*NullableAlgorithm) UnmarshalJSON

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

func (*NullableAlgorithm) Unset

func (v *NullableAlgorithm) Unset()

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 NullableCommonZone

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

func NewNullableCommonZone

func NewNullableCommonZone(val *CommonZone) *NullableCommonZone

func (NullableCommonZone) Get

func (v NullableCommonZone) Get() *CommonZone

func (NullableCommonZone) IsSet

func (v NullableCommonZone) IsSet() bool

func (NullableCommonZone) MarshalJSON

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

func (*NullableCommonZone) Set

func (v *NullableCommonZone) Set(val *CommonZone)

func (*NullableCommonZone) UnmarshalJSON

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

func (*NullableCommonZone) Unset

func (v *NullableCommonZone) Unset()

type NullableCommonZoneRead

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

func NewNullableCommonZoneRead

func NewNullableCommonZoneRead(val *CommonZoneRead) *NullableCommonZoneRead

func (NullableCommonZoneRead) Get

func (NullableCommonZoneRead) IsSet

func (v NullableCommonZoneRead) IsSet() bool

func (NullableCommonZoneRead) MarshalJSON

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

func (*NullableCommonZoneRead) Set

func (*NullableCommonZoneRead) UnmarshalJSON

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

func (*NullableCommonZoneRead) Unset

func (v *NullableCommonZoneRead) Unset()

type NullableCommonZoneReadList

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

func NewNullableCommonZoneReadList

func NewNullableCommonZoneReadList(val *CommonZoneReadList) *NullableCommonZoneReadList

func (NullableCommonZoneReadList) Get

func (NullableCommonZoneReadList) IsSet

func (v NullableCommonZoneReadList) IsSet() bool

func (NullableCommonZoneReadList) MarshalJSON

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

func (*NullableCommonZoneReadList) Set

func (*NullableCommonZoneReadList) UnmarshalJSON

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

func (*NullableCommonZoneReadList) Unset

func (v *NullableCommonZoneReadList) Unset()

type NullableDnssecKey

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

func NewNullableDnssecKey

func NewNullableDnssecKey(val *DnssecKey) *NullableDnssecKey

func (NullableDnssecKey) Get

func (v NullableDnssecKey) Get() *DnssecKey

func (NullableDnssecKey) IsSet

func (v NullableDnssecKey) IsSet() bool

func (NullableDnssecKey) MarshalJSON

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

func (*NullableDnssecKey) Set

func (v *NullableDnssecKey) Set(val *DnssecKey)

func (*NullableDnssecKey) UnmarshalJSON

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

func (*NullableDnssecKey) Unset

func (v *NullableDnssecKey) Unset()

type NullableDnssecKeyCreate

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

func NewNullableDnssecKeyCreate

func NewNullableDnssecKeyCreate(val *DnssecKeyCreate) *NullableDnssecKeyCreate

func (NullableDnssecKeyCreate) Get

func (NullableDnssecKeyCreate) IsSet

func (v NullableDnssecKeyCreate) IsSet() bool

func (NullableDnssecKeyCreate) MarshalJSON

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

func (*NullableDnssecKeyCreate) Set

func (*NullableDnssecKeyCreate) UnmarshalJSON

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

func (*NullableDnssecKeyCreate) Unset

func (v *NullableDnssecKeyCreate) Unset()

type NullableDnssecKeyParameters

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

func NewNullableDnssecKeyParameters

func NewNullableDnssecKeyParameters(val *DnssecKeyParameters) *NullableDnssecKeyParameters

func (NullableDnssecKeyParameters) Get

func (NullableDnssecKeyParameters) IsSet

func (NullableDnssecKeyParameters) MarshalJSON

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

func (*NullableDnssecKeyParameters) Set

func (*NullableDnssecKeyParameters) UnmarshalJSON

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

func (*NullableDnssecKeyParameters) Unset

func (v *NullableDnssecKeyParameters) Unset()

type NullableDnssecKeyReadCreation

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

func (NullableDnssecKeyReadCreation) Get

func (NullableDnssecKeyReadCreation) IsSet

func (NullableDnssecKeyReadCreation) MarshalJSON

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

func (*NullableDnssecKeyReadCreation) Set

func (*NullableDnssecKeyReadCreation) UnmarshalJSON

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

func (*NullableDnssecKeyReadCreation) Unset

func (v *NullableDnssecKeyReadCreation) Unset()

type NullableDnssecKeyReadList

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

func NewNullableDnssecKeyReadList

func NewNullableDnssecKeyReadList(val *DnssecKeyReadList) *NullableDnssecKeyReadList

func (NullableDnssecKeyReadList) Get

func (NullableDnssecKeyReadList) IsSet

func (v NullableDnssecKeyReadList) IsSet() bool

func (NullableDnssecKeyReadList) MarshalJSON

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

func (*NullableDnssecKeyReadList) Set

func (*NullableDnssecKeyReadList) UnmarshalJSON

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

func (*NullableDnssecKeyReadList) Unset

func (v *NullableDnssecKeyReadList) Unset()

type NullableDnssecKeyReadListMetadata

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

func (NullableDnssecKeyReadListMetadata) Get

func (NullableDnssecKeyReadListMetadata) IsSet

func (NullableDnssecKeyReadListMetadata) MarshalJSON

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

func (*NullableDnssecKeyReadListMetadata) Set

func (*NullableDnssecKeyReadListMetadata) UnmarshalJSON

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

func (*NullableDnssecKeyReadListMetadata) Unset

type NullableDnssecKeyReadListProperties

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

func (NullableDnssecKeyReadListProperties) Get

func (NullableDnssecKeyReadListProperties) IsSet

func (NullableDnssecKeyReadListProperties) MarshalJSON

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

func (*NullableDnssecKeyReadListProperties) Set

func (*NullableDnssecKeyReadListProperties) UnmarshalJSON

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

func (*NullableDnssecKeyReadListProperties) Unset

type NullableDnssecKeyReadListPropertiesKeyParameters

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

func (NullableDnssecKeyReadListPropertiesKeyParameters) Get

func (NullableDnssecKeyReadListPropertiesKeyParameters) IsSet

func (NullableDnssecKeyReadListPropertiesKeyParameters) MarshalJSON

func (*NullableDnssecKeyReadListPropertiesKeyParameters) Set

func (*NullableDnssecKeyReadListPropertiesKeyParameters) UnmarshalJSON

func (*NullableDnssecKeyReadListPropertiesKeyParameters) Unset

type NullableDnssecKeyReadListPropertiesNsecParameters

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

func (NullableDnssecKeyReadListPropertiesNsecParameters) Get

func (NullableDnssecKeyReadListPropertiesNsecParameters) IsSet

func (NullableDnssecKeyReadListPropertiesNsecParameters) MarshalJSON

func (*NullableDnssecKeyReadListPropertiesNsecParameters) Set

func (*NullableDnssecKeyReadListPropertiesNsecParameters) UnmarshalJSON

func (*NullableDnssecKeyReadListPropertiesNsecParameters) Unset

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorMessages

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

func NewNullableErrorMessages

func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages

func (NullableErrorMessages) Get

func (NullableErrorMessages) IsSet

func (v NullableErrorMessages) IsSet() bool

func (NullableErrorMessages) MarshalJSON

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

func (*NullableErrorMessages) Set

func (v *NullableErrorMessages) Set(val *ErrorMessages)

func (*NullableErrorMessages) UnmarshalJSON

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

func (*NullableErrorMessages) Unset

func (v *NullableErrorMessages) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableIonosTime added in v2.0.1

type NullableIonosTime struct {
	NullableTime
}

type NullableKeyData

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

func NewNullableKeyData

func NewNullableKeyData(val *KeyData) *NullableKeyData

func (NullableKeyData) Get

func (v NullableKeyData) Get() *KeyData

func (NullableKeyData) IsSet

func (v NullableKeyData) IsSet() bool

func (NullableKeyData) MarshalJSON

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

func (*NullableKeyData) Set

func (v *NullableKeyData) Set(val *KeyData)

func (*NullableKeyData) UnmarshalJSON

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

func (*NullableKeyData) Unset

func (v *NullableKeyData) Unset()

type NullableKeyParameters

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

func NewNullableKeyParameters

func NewNullableKeyParameters(val *KeyParameters) *NullableKeyParameters

func (NullableKeyParameters) Get

func (NullableKeyParameters) IsSet

func (v NullableKeyParameters) IsSet() bool

func (NullableKeyParameters) MarshalJSON

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

func (*NullableKeyParameters) Set

func (v *NullableKeyParameters) Set(val *KeyParameters)

func (*NullableKeyParameters) UnmarshalJSON

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

func (*NullableKeyParameters) Unset

func (v *NullableKeyParameters) Unset()

type NullableKskBits

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

func NewNullableKskBits

func NewNullableKskBits(val *KskBits) *NullableKskBits

func (NullableKskBits) Get

func (v NullableKskBits) Get() *KskBits

func (NullableKskBits) IsSet

func (v NullableKskBits) IsSet() bool

func (NullableKskBits) MarshalJSON

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

func (*NullableKskBits) Set

func (v *NullableKskBits) Set(val *KskBits)

func (*NullableKskBits) UnmarshalJSON

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

func (*NullableKskBits) Unset

func (v *NullableKskBits) Unset()
type NullableLinks struct {
	// contains filtered or unexported fields
}
func NewNullableLinks(val *Links) *NullableLinks

func (NullableLinks) Get

func (v NullableLinks) Get() *Links

func (NullableLinks) IsSet

func (v NullableLinks) IsSet() bool

func (NullableLinks) MarshalJSON

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

func (*NullableLinks) Set

func (v *NullableLinks) Set(val *Links)

func (*NullableLinks) UnmarshalJSON

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

func (*NullableLinks) Unset

func (v *NullableLinks) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableMetadataForSecondaryZoneRecords

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

func (NullableMetadataForSecondaryZoneRecords) Get

func (NullableMetadataForSecondaryZoneRecords) IsSet

func (NullableMetadataForSecondaryZoneRecords) MarshalJSON

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

func (*NullableMetadataForSecondaryZoneRecords) Set

func (*NullableMetadataForSecondaryZoneRecords) UnmarshalJSON

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

func (*NullableMetadataForSecondaryZoneRecords) Unset

type NullableMetadataWithStateFqdnZoneId

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

func (NullableMetadataWithStateFqdnZoneId) Get

func (NullableMetadataWithStateFqdnZoneId) IsSet

func (NullableMetadataWithStateFqdnZoneId) MarshalJSON

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

func (*NullableMetadataWithStateFqdnZoneId) Set

func (*NullableMetadataWithStateFqdnZoneId) UnmarshalJSON

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

func (*NullableMetadataWithStateFqdnZoneId) Unset

type NullableMetadataWithStateFqdnZoneIdAllOf

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

func (NullableMetadataWithStateFqdnZoneIdAllOf) Get

func (NullableMetadataWithStateFqdnZoneIdAllOf) IsSet

func (NullableMetadataWithStateFqdnZoneIdAllOf) MarshalJSON

func (*NullableMetadataWithStateFqdnZoneIdAllOf) Set

func (*NullableMetadataWithStateFqdnZoneIdAllOf) UnmarshalJSON

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

func (*NullableMetadataWithStateFqdnZoneIdAllOf) Unset

type NullableMetadataWithStateNameservers

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

func (NullableMetadataWithStateNameservers) Get

func (NullableMetadataWithStateNameservers) IsSet

func (NullableMetadataWithStateNameservers) MarshalJSON

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

func (*NullableMetadataWithStateNameservers) Set

func (*NullableMetadataWithStateNameservers) UnmarshalJSON

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

func (*NullableMetadataWithStateNameservers) Unset

type NullableMetadataWithStateNameserversAllOf

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

func (NullableMetadataWithStateNameserversAllOf) Get

func (NullableMetadataWithStateNameserversAllOf) IsSet

func (NullableMetadataWithStateNameserversAllOf) MarshalJSON

func (*NullableMetadataWithStateNameserversAllOf) Set

func (*NullableMetadataWithStateNameserversAllOf) UnmarshalJSON

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

func (*NullableMetadataWithStateNameserversAllOf) Unset

type NullableNsecMode

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

func NewNullableNsecMode

func NewNullableNsecMode(val *NsecMode) *NullableNsecMode

func (NullableNsecMode) Get

func (v NullableNsecMode) Get() *NsecMode

func (NullableNsecMode) IsSet

func (v NullableNsecMode) IsSet() bool

func (NullableNsecMode) MarshalJSON

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

func (*NullableNsecMode) Set

func (v *NullableNsecMode) Set(val *NsecMode)

func (*NullableNsecMode) UnmarshalJSON

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

func (*NullableNsecMode) Unset

func (v *NullableNsecMode) Unset()

type NullableNsecParameters

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

func NewNullableNsecParameters

func NewNullableNsecParameters(val *NsecParameters) *NullableNsecParameters

func (NullableNsecParameters) Get

func (NullableNsecParameters) IsSet

func (v NullableNsecParameters) IsSet() bool

func (NullableNsecParameters) MarshalJSON

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

func (*NullableNsecParameters) Set

func (*NullableNsecParameters) UnmarshalJSON

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

func (*NullableNsecParameters) Unset

func (v *NullableNsecParameters) Unset()

type NullableProvisioningState

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

func NewNullableProvisioningState

func NewNullableProvisioningState(val *ProvisioningState) *NullableProvisioningState

func (NullableProvisioningState) Get

func (NullableProvisioningState) IsSet

func (v NullableProvisioningState) IsSet() bool

func (NullableProvisioningState) MarshalJSON

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

func (*NullableProvisioningState) Set

func (*NullableProvisioningState) UnmarshalJSON

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

func (*NullableProvisioningState) Unset

func (v *NullableProvisioningState) Unset()

type NullableQuota

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

func NewNullableQuota

func NewNullableQuota(val *Quota) *NullableQuota

func (NullableQuota) Get

func (v NullableQuota) Get() *Quota

func (NullableQuota) IsSet

func (v NullableQuota) IsSet() bool

func (NullableQuota) MarshalJSON

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

func (*NullableQuota) Set

func (v *NullableQuota) Set(val *Quota)

func (*NullableQuota) UnmarshalJSON

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

func (*NullableQuota) Unset

func (v *NullableQuota) Unset()

type NullableQuotaDetail

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

func NewNullableQuotaDetail

func NewNullableQuotaDetail(val *QuotaDetail) *NullableQuotaDetail

func (NullableQuotaDetail) Get

func (NullableQuotaDetail) IsSet

func (v NullableQuotaDetail) IsSet() bool

func (NullableQuotaDetail) MarshalJSON

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

func (*NullableQuotaDetail) Set

func (v *NullableQuotaDetail) Set(val *QuotaDetail)

func (*NullableQuotaDetail) UnmarshalJSON

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

func (*NullableQuotaDetail) Unset

func (v *NullableQuotaDetail) 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 NullableRecordCreate

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

func NewNullableRecordCreate

func NewNullableRecordCreate(val *RecordCreate) *NullableRecordCreate

func (NullableRecordCreate) Get

func (NullableRecordCreate) IsSet

func (v NullableRecordCreate) IsSet() bool

func (NullableRecordCreate) MarshalJSON

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

func (*NullableRecordCreate) Set

func (v *NullableRecordCreate) Set(val *RecordCreate)

func (*NullableRecordCreate) UnmarshalJSON

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

func (*NullableRecordCreate) Unset

func (v *NullableRecordCreate) Unset()

type NullableRecordEnsure

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

func NewNullableRecordEnsure

func NewNullableRecordEnsure(val *RecordEnsure) *NullableRecordEnsure

func (NullableRecordEnsure) Get

func (NullableRecordEnsure) IsSet

func (v NullableRecordEnsure) IsSet() bool

func (NullableRecordEnsure) MarshalJSON

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

func (*NullableRecordEnsure) Set

func (v *NullableRecordEnsure) Set(val *RecordEnsure)

func (*NullableRecordEnsure) UnmarshalJSON

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

func (*NullableRecordEnsure) Unset

func (v *NullableRecordEnsure) Unset()

type NullableRecordRead

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

func NewNullableRecordRead

func NewNullableRecordRead(val *RecordRead) *NullableRecordRead

func (NullableRecordRead) Get

func (v NullableRecordRead) Get() *RecordRead

func (NullableRecordRead) IsSet

func (v NullableRecordRead) IsSet() bool

func (NullableRecordRead) MarshalJSON

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

func (*NullableRecordRead) Set

func (v *NullableRecordRead) Set(val *RecordRead)

func (*NullableRecordRead) UnmarshalJSON

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

func (*NullableRecordRead) Unset

func (v *NullableRecordRead) Unset()

type NullableRecordReadList

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

func NewNullableRecordReadList

func NewNullableRecordReadList(val *RecordReadList) *NullableRecordReadList

func (NullableRecordReadList) Get

func (NullableRecordReadList) IsSet

func (v NullableRecordReadList) IsSet() bool

func (NullableRecordReadList) MarshalJSON

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

func (*NullableRecordReadList) Set

func (*NullableRecordReadList) UnmarshalJSON

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

func (*NullableRecordReadList) Unset

func (v *NullableRecordReadList) Unset()

type NullableReverseRecord

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

func NewNullableReverseRecord

func NewNullableReverseRecord(val *ReverseRecord) *NullableReverseRecord

func (NullableReverseRecord) Get

func (NullableReverseRecord) IsSet

func (v NullableReverseRecord) IsSet() bool

func (NullableReverseRecord) MarshalJSON

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

func (*NullableReverseRecord) Set

func (v *NullableReverseRecord) Set(val *ReverseRecord)

func (*NullableReverseRecord) UnmarshalJSON

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

func (*NullableReverseRecord) Unset

func (v *NullableReverseRecord) Unset()

type NullableReverseRecordCreate

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

func NewNullableReverseRecordCreate

func NewNullableReverseRecordCreate(val *ReverseRecordCreate) *NullableReverseRecordCreate

func (NullableReverseRecordCreate) Get

func (NullableReverseRecordCreate) IsSet

func (NullableReverseRecordCreate) MarshalJSON

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

func (*NullableReverseRecordCreate) Set

func (*NullableReverseRecordCreate) UnmarshalJSON

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

func (*NullableReverseRecordCreate) Unset

func (v *NullableReverseRecordCreate) Unset()

type NullableReverseRecordEnsure

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

func NewNullableReverseRecordEnsure

func NewNullableReverseRecordEnsure(val *ReverseRecordEnsure) *NullableReverseRecordEnsure

func (NullableReverseRecordEnsure) Get

func (NullableReverseRecordEnsure) IsSet

func (NullableReverseRecordEnsure) MarshalJSON

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

func (*NullableReverseRecordEnsure) Set

func (*NullableReverseRecordEnsure) UnmarshalJSON

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

func (*NullableReverseRecordEnsure) Unset

func (v *NullableReverseRecordEnsure) Unset()

type NullableReverseRecordRead

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

func NewNullableReverseRecordRead

func NewNullableReverseRecordRead(val *ReverseRecordRead) *NullableReverseRecordRead

func (NullableReverseRecordRead) Get

func (NullableReverseRecordRead) IsSet

func (v NullableReverseRecordRead) IsSet() bool

func (NullableReverseRecordRead) MarshalJSON

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

func (*NullableReverseRecordRead) Set

func (*NullableReverseRecordRead) UnmarshalJSON

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

func (*NullableReverseRecordRead) Unset

func (v *NullableReverseRecordRead) Unset()

type NullableReverseRecordsReadList

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

func (NullableReverseRecordsReadList) Get

func (NullableReverseRecordsReadList) IsSet

func (NullableReverseRecordsReadList) MarshalJSON

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

func (*NullableReverseRecordsReadList) Set

func (*NullableReverseRecordsReadList) UnmarshalJSON

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

func (*NullableReverseRecordsReadList) Unset

func (v *NullableReverseRecordsReadList) Unset()

type NullableSecondaryZone

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

func NewNullableSecondaryZone

func NewNullableSecondaryZone(val *SecondaryZone) *NullableSecondaryZone

func (NullableSecondaryZone) Get

func (NullableSecondaryZone) IsSet

func (v NullableSecondaryZone) IsSet() bool

func (NullableSecondaryZone) MarshalJSON

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

func (*NullableSecondaryZone) Set

func (v *NullableSecondaryZone) Set(val *SecondaryZone)

func (*NullableSecondaryZone) UnmarshalJSON

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

func (*NullableSecondaryZone) Unset

func (v *NullableSecondaryZone) Unset()

type NullableSecondaryZoneAllOf

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

func NewNullableSecondaryZoneAllOf

func NewNullableSecondaryZoneAllOf(val *SecondaryZoneAllOf) *NullableSecondaryZoneAllOf

func (NullableSecondaryZoneAllOf) Get

func (NullableSecondaryZoneAllOf) IsSet

func (v NullableSecondaryZoneAllOf) IsSet() bool

func (NullableSecondaryZoneAllOf) MarshalJSON

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

func (*NullableSecondaryZoneAllOf) Set

func (*NullableSecondaryZoneAllOf) UnmarshalJSON

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

func (*NullableSecondaryZoneAllOf) Unset

func (v *NullableSecondaryZoneAllOf) Unset()

type NullableSecondaryZoneCreate

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

func NewNullableSecondaryZoneCreate

func NewNullableSecondaryZoneCreate(val *SecondaryZoneCreate) *NullableSecondaryZoneCreate

func (NullableSecondaryZoneCreate) Get

func (NullableSecondaryZoneCreate) IsSet

func (NullableSecondaryZoneCreate) MarshalJSON

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

func (*NullableSecondaryZoneCreate) Set

func (*NullableSecondaryZoneCreate) UnmarshalJSON

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

func (*NullableSecondaryZoneCreate) Unset

func (v *NullableSecondaryZoneCreate) Unset()

type NullableSecondaryZoneEnsure

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

func NewNullableSecondaryZoneEnsure

func NewNullableSecondaryZoneEnsure(val *SecondaryZoneEnsure) *NullableSecondaryZoneEnsure

func (NullableSecondaryZoneEnsure) Get

func (NullableSecondaryZoneEnsure) IsSet

func (NullableSecondaryZoneEnsure) MarshalJSON

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

func (*NullableSecondaryZoneEnsure) Set

func (*NullableSecondaryZoneEnsure) UnmarshalJSON

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

func (*NullableSecondaryZoneEnsure) Unset

func (v *NullableSecondaryZoneEnsure) Unset()

type NullableSecondaryZoneRead

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

func NewNullableSecondaryZoneRead

func NewNullableSecondaryZoneRead(val *SecondaryZoneRead) *NullableSecondaryZoneRead

func (NullableSecondaryZoneRead) Get

func (NullableSecondaryZoneRead) IsSet

func (v NullableSecondaryZoneRead) IsSet() bool

func (NullableSecondaryZoneRead) MarshalJSON

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

func (*NullableSecondaryZoneRead) Set

func (*NullableSecondaryZoneRead) UnmarshalJSON

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

func (*NullableSecondaryZoneRead) Unset

func (v *NullableSecondaryZoneRead) Unset()

type NullableSecondaryZoneReadAllOf

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

func (NullableSecondaryZoneReadAllOf) Get

func (NullableSecondaryZoneReadAllOf) IsSet

func (NullableSecondaryZoneReadAllOf) MarshalJSON

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

func (*NullableSecondaryZoneReadAllOf) Set

func (*NullableSecondaryZoneReadAllOf) UnmarshalJSON

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

func (*NullableSecondaryZoneReadAllOf) Unset

func (v *NullableSecondaryZoneReadAllOf) Unset()

type NullableSecondaryZoneReadList

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

func (NullableSecondaryZoneReadList) Get

func (NullableSecondaryZoneReadList) IsSet

func (NullableSecondaryZoneReadList) MarshalJSON

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

func (*NullableSecondaryZoneReadList) Set

func (*NullableSecondaryZoneReadList) UnmarshalJSON

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

func (*NullableSecondaryZoneReadList) Unset

func (v *NullableSecondaryZoneReadList) Unset()

type NullableSecondaryZoneReadListAllOf

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

func (NullableSecondaryZoneReadListAllOf) Get

func (NullableSecondaryZoneReadListAllOf) IsSet

func (NullableSecondaryZoneReadListAllOf) MarshalJSON

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

func (*NullableSecondaryZoneReadListAllOf) Set

func (*NullableSecondaryZoneReadListAllOf) UnmarshalJSON

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

func (*NullableSecondaryZoneReadListAllOf) Unset

type NullableSecondaryZoneRecordRead

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

func (NullableSecondaryZoneRecordRead) Get

func (NullableSecondaryZoneRecordRead) IsSet

func (NullableSecondaryZoneRecordRead) MarshalJSON

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

func (*NullableSecondaryZoneRecordRead) Set

func (*NullableSecondaryZoneRecordRead) UnmarshalJSON

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

func (*NullableSecondaryZoneRecordRead) Unset

type NullableSecondaryZoneRecordReadList

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

func (NullableSecondaryZoneRecordReadList) Get

func (NullableSecondaryZoneRecordReadList) IsSet

func (NullableSecondaryZoneRecordReadList) MarshalJSON

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

func (*NullableSecondaryZoneRecordReadList) Set

func (*NullableSecondaryZoneRecordReadList) UnmarshalJSON

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

func (*NullableSecondaryZoneRecordReadList) Unset

type NullableSecondaryZoneRecordReadListMetadata

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

func (NullableSecondaryZoneRecordReadListMetadata) Get

func (NullableSecondaryZoneRecordReadListMetadata) IsSet

func (NullableSecondaryZoneRecordReadListMetadata) MarshalJSON

func (*NullableSecondaryZoneRecordReadListMetadata) Set

func (*NullableSecondaryZoneRecordReadListMetadata) UnmarshalJSON

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

func (*NullableSecondaryZoneRecordReadListMetadata) 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 NullableZoneAllOf

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

func NewNullableZoneAllOf

func NewNullableZoneAllOf(val *ZoneAllOf) *NullableZoneAllOf

func (NullableZoneAllOf) Get

func (v NullableZoneAllOf) Get() *ZoneAllOf

func (NullableZoneAllOf) IsSet

func (v NullableZoneAllOf) IsSet() bool

func (NullableZoneAllOf) MarshalJSON

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

func (*NullableZoneAllOf) Set

func (v *NullableZoneAllOf) Set(val *ZoneAllOf)

func (*NullableZoneAllOf) UnmarshalJSON

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

func (*NullableZoneAllOf) Unset

func (v *NullableZoneAllOf) Unset()

type NullableZoneCreate

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

func NewNullableZoneCreate

func NewNullableZoneCreate(val *ZoneCreate) *NullableZoneCreate

func (NullableZoneCreate) Get

func (v NullableZoneCreate) Get() *ZoneCreate

func (NullableZoneCreate) IsSet

func (v NullableZoneCreate) IsSet() bool

func (NullableZoneCreate) MarshalJSON

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

func (*NullableZoneCreate) Set

func (v *NullableZoneCreate) Set(val *ZoneCreate)

func (*NullableZoneCreate) UnmarshalJSON

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

func (*NullableZoneCreate) Unset

func (v *NullableZoneCreate) Unset()

type NullableZoneEnsure

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

func NewNullableZoneEnsure

func NewNullableZoneEnsure(val *ZoneEnsure) *NullableZoneEnsure

func (NullableZoneEnsure) Get

func (v NullableZoneEnsure) Get() *ZoneEnsure

func (NullableZoneEnsure) IsSet

func (v NullableZoneEnsure) IsSet() bool

func (NullableZoneEnsure) MarshalJSON

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

func (*NullableZoneEnsure) Set

func (v *NullableZoneEnsure) Set(val *ZoneEnsure)

func (*NullableZoneEnsure) UnmarshalJSON

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

func (*NullableZoneEnsure) Unset

func (v *NullableZoneEnsure) Unset()

type NullableZoneRead

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

func NewNullableZoneRead

func NewNullableZoneRead(val *ZoneRead) *NullableZoneRead

func (NullableZoneRead) Get

func (v NullableZoneRead) Get() *ZoneRead

func (NullableZoneRead) IsSet

func (v NullableZoneRead) IsSet() bool

func (NullableZoneRead) MarshalJSON

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

func (*NullableZoneRead) Set

func (v *NullableZoneRead) Set(val *ZoneRead)

func (*NullableZoneRead) UnmarshalJSON

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

func (*NullableZoneRead) Unset

func (v *NullableZoneRead) Unset()

type NullableZoneReadAllOf

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

func NewNullableZoneReadAllOf

func NewNullableZoneReadAllOf(val *ZoneReadAllOf) *NullableZoneReadAllOf

func (NullableZoneReadAllOf) Get

func (NullableZoneReadAllOf) IsSet

func (v NullableZoneReadAllOf) IsSet() bool

func (NullableZoneReadAllOf) MarshalJSON

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

func (*NullableZoneReadAllOf) Set

func (v *NullableZoneReadAllOf) Set(val *ZoneReadAllOf)

func (*NullableZoneReadAllOf) UnmarshalJSON

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

func (*NullableZoneReadAllOf) Unset

func (v *NullableZoneReadAllOf) Unset()

type NullableZoneReadList

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

func NewNullableZoneReadList

func NewNullableZoneReadList(val *ZoneReadList) *NullableZoneReadList

func (NullableZoneReadList) Get

func (NullableZoneReadList) IsSet

func (v NullableZoneReadList) IsSet() bool

func (NullableZoneReadList) MarshalJSON

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

func (*NullableZoneReadList) Set

func (v *NullableZoneReadList) Set(val *ZoneReadList)

func (*NullableZoneReadList) UnmarshalJSON

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

func (*NullableZoneReadList) Unset

func (v *NullableZoneReadList) Unset()

type NullableZoneReadListAllOf

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

func NewNullableZoneReadListAllOf

func NewNullableZoneReadListAllOf(val *ZoneReadListAllOf) *NullableZoneReadListAllOf

func (NullableZoneReadListAllOf) Get

func (NullableZoneReadListAllOf) IsSet

func (v NullableZoneReadListAllOf) IsSet() bool

func (NullableZoneReadListAllOf) MarshalJSON

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

func (*NullableZoneReadListAllOf) Set

func (*NullableZoneReadListAllOf) UnmarshalJSON

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

func (*NullableZoneReadListAllOf) Unset

func (v *NullableZoneReadListAllOf) Unset()

type NullableZoneTransferPrimaryIpStatus

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

func (NullableZoneTransferPrimaryIpStatus) Get

func (NullableZoneTransferPrimaryIpStatus) IsSet

func (NullableZoneTransferPrimaryIpStatus) MarshalJSON

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

func (*NullableZoneTransferPrimaryIpStatus) Set

func (*NullableZoneTransferPrimaryIpStatus) UnmarshalJSON

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

func (*NullableZoneTransferPrimaryIpStatus) Unset

type NullableZoneTransferPrimaryIpsStatus

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

func (NullableZoneTransferPrimaryIpsStatus) Get

func (NullableZoneTransferPrimaryIpsStatus) IsSet

func (NullableZoneTransferPrimaryIpsStatus) MarshalJSON

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

func (*NullableZoneTransferPrimaryIpsStatus) Set

func (*NullableZoneTransferPrimaryIpsStatus) UnmarshalJSON

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

func (*NullableZoneTransferPrimaryIpsStatus) Unset

type NullableZskBits

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

func NewNullableZskBits

func NewNullableZskBits(val *ZskBits) *NullableZskBits

func (NullableZskBits) Get

func (v NullableZskBits) Get() *ZskBits

func (NullableZskBits) IsSet

func (v NullableZskBits) IsSet() bool

func (NullableZskBits) MarshalJSON

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

func (*NullableZskBits) Set

func (v *NullableZskBits) Set(val *ZskBits)

func (*NullableZskBits) UnmarshalJSON

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

func (*NullableZskBits) Unset

func (v *NullableZskBits) Unset()

type ProvisioningState

type ProvisioningState string

ProvisioningState The list of possible provisioning states in which DNS resource could be at the specific time. * AVAILABLE - resource exists and is healthy. * PROVISIONING - resource is being created or updated. * DESTROYING - delete command was issued, the resource is being deleted. * FAILED - creation of the resource failed.

const (
	PROVISIONINGSTATE_PROVISIONING ProvisioningState = "PROVISIONING"
	PROVISIONINGSTATE_DESTROYING   ProvisioningState = "DESTROYING"
	PROVISIONINGSTATE_AVAILABLE    ProvisioningState = "AVAILABLE"
	PROVISIONINGSTATE_FAILED       ProvisioningState = "FAILED"
)

List of ProvisioningState

func (ProvisioningState) Ptr

Ptr returns reference to ProvisioningState value

func (*ProvisioningState) UnmarshalJSON

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

type Quota

type Quota struct {
	QuotaUsage  QuotaDetail `json:"quotaUsage"`
	QuotaLimits QuotaDetail `json:"quotaLimits"`
}

Quota struct for Quota

func NewQuota

func NewQuota(quotaUsage QuotaDetail, quotaLimits QuotaDetail) *Quota

NewQuota instantiates a new Quota 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 NewQuotaWithDefaults

func NewQuotaWithDefaults() *Quota

NewQuotaWithDefaults instantiates a new Quota 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 (*Quota) GetQuotaLimits

func (o *Quota) GetQuotaLimits() QuotaDetail

GetQuotaLimits returns the QuotaLimits field value

func (*Quota) GetQuotaLimitsOk

func (o *Quota) GetQuotaLimitsOk() (*QuotaDetail, bool)

GetQuotaLimitsOk returns a tuple with the QuotaLimits field value and a boolean to check if the value has been set.

func (*Quota) GetQuotaUsage

func (o *Quota) GetQuotaUsage() QuotaDetail

GetQuotaUsage returns the QuotaUsage field value

func (*Quota) GetQuotaUsageOk

func (o *Quota) GetQuotaUsageOk() (*QuotaDetail, bool)

GetQuotaUsageOk returns a tuple with the QuotaUsage field value and a boolean to check if the value has been set.

func (*Quota) SetQuotaLimits

func (o *Quota) SetQuotaLimits(v QuotaDetail)

SetQuotaLimits sets field value

func (*Quota) SetQuotaUsage

func (o *Quota) SetQuotaUsage(v QuotaDetail)

SetQuotaUsage sets field value

func (Quota) ToMap

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

type QuotaApiService

type QuotaApiService service

QuotaApiService QuotaApi service

func (*QuotaApiService) QuotaGet

* QuotaGet Retrieve resources quota * Get quota details for zones, secondary zones, and records. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiQuotaGetRequest

func (*QuotaApiService) QuotaGetExecute

func (a *QuotaApiService) QuotaGetExecute(r ApiQuotaGetRequest) (Quota, *shared.APIResponse, error)

* Execute executes the request * @return Quota

type QuotaDetail

type QuotaDetail struct {
	// count of the number of zones
	Zones int32 `json:"zones"`
	// count of the number of secondary zones
	SecondaryZones int32 `json:"secondaryZones"`
	// count of the number of records
	Records int32 `json:"records"`
	// count of the number of reverse DNS records
	ReverseRecords int32 `json:"reverseRecords"`
}

QuotaDetail Count of zones and records. This schema is used to show both usage and defined limits (quota)

func NewQuotaDetail

func NewQuotaDetail(zones int32, secondaryZones int32, records int32, reverseRecords int32) *QuotaDetail

NewQuotaDetail instantiates a new QuotaDetail 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 NewQuotaDetailWithDefaults

func NewQuotaDetailWithDefaults() *QuotaDetail

NewQuotaDetailWithDefaults instantiates a new QuotaDetail 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 (*QuotaDetail) GetRecords

func (o *QuotaDetail) GetRecords() int32

GetRecords returns the Records field value

func (*QuotaDetail) GetRecordsOk

func (o *QuotaDetail) GetRecordsOk() (*int32, bool)

GetRecordsOk returns a tuple with the Records field value and a boolean to check if the value has been set.

func (*QuotaDetail) GetReverseRecords

func (o *QuotaDetail) GetReverseRecords() int32

GetReverseRecords returns the ReverseRecords field value

func (*QuotaDetail) GetReverseRecordsOk

func (o *QuotaDetail) GetReverseRecordsOk() (*int32, bool)

GetReverseRecordsOk returns a tuple with the ReverseRecords field value and a boolean to check if the value has been set.

func (*QuotaDetail) GetSecondaryZones

func (o *QuotaDetail) GetSecondaryZones() int32

GetSecondaryZones returns the SecondaryZones field value

func (*QuotaDetail) GetSecondaryZonesOk

func (o *QuotaDetail) GetSecondaryZonesOk() (*int32, bool)

GetSecondaryZonesOk returns a tuple with the SecondaryZones field value and a boolean to check if the value has been set.

func (*QuotaDetail) GetZones

func (o *QuotaDetail) GetZones() int32

GetZones returns the Zones field value

func (*QuotaDetail) GetZonesOk

func (o *QuotaDetail) GetZonesOk() (*int32, bool)

GetZonesOk returns a tuple with the Zones field value and a boolean to check if the value has been set.

func (*QuotaDetail) SetRecords

func (o *QuotaDetail) SetRecords(v int32)

SetRecords sets field value

func (*QuotaDetail) SetReverseRecords

func (o *QuotaDetail) SetReverseRecords(v int32)

SetReverseRecords sets field value

func (*QuotaDetail) SetSecondaryZones

func (o *QuotaDetail) SetSecondaryZones(v int32)

SetSecondaryZones sets field value

func (*QuotaDetail) SetZones

func (o *QuotaDetail) SetZones(v int32)

SetZones sets field value

func (QuotaDetail) ToMap

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

type Record

type Record struct {
	Name string `json:"name"`
	// Holds supported DNS resource record types. In the DNS context a record is a DNS resource record.
	Type    string `json:"type"`
	Content string `json:"content"`
	// Time to live for the record, recommended 3600.
	Ttl *int32 `json:"ttl,omitempty"`
	// Priority value is between 0 and 65535. Priority is mandatory for MX, SRV and URI record types and ignored for all other types.
	Priority *int32 `json:"priority,omitempty"`
	// When true - the record is visible for lookup.
	Enabled *bool `json:"enabled,omitempty"`
}

Record struct for Record

func NewRecord

func NewRecord(name string, type_ string, content string) *Record

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

func NewRecordWithDefaults

func NewRecordWithDefaults() *Record

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

func (*Record) GetContent

func (o *Record) GetContent() string

GetContent returns the Content field value

func (*Record) GetContentOk

func (o *Record) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*Record) GetEnabled

func (o *Record) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*Record) GetEnabledOk

func (o *Record) GetEnabledOk() (*bool, bool)

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

func (*Record) GetName

func (o *Record) GetName() string

GetName returns the Name field value

func (*Record) GetNameOk

func (o *Record) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Record) GetPriority

func (o *Record) GetPriority() int32

GetPriority returns the Priority field value if set, zero value otherwise.

func (*Record) GetPriorityOk

func (o *Record) GetPriorityOk() (*int32, bool)

GetPriorityOk returns a tuple with the Priority 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) GetType

func (o *Record) GetType() string

GetType returns the Type field value

func (*Record) GetTypeOk

func (o *Record) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Record) HasEnabled

func (o *Record) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*Record) HasPriority

func (o *Record) HasPriority() bool

HasPriority 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) SetContent

func (o *Record) SetContent(v string)

SetContent sets field value

func (*Record) SetEnabled

func (o *Record) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*Record) SetName

func (o *Record) SetName(v string)

SetName sets field value

func (*Record) SetPriority

func (o *Record) SetPriority(v int32)

SetPriority gets a reference to the given int32 and assigns it to the Priority 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) SetType

func (o *Record) SetType(v string)

SetType sets field value

func (Record) ToMap

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

type RecordCreate

type RecordCreate struct {
	Properties Record `json:"properties"`
}

RecordCreate struct for RecordCreate

func NewRecordCreate

func NewRecordCreate(properties Record) *RecordCreate

NewRecordCreate instantiates a new RecordCreate 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 NewRecordCreateWithDefaults

func NewRecordCreateWithDefaults() *RecordCreate

NewRecordCreateWithDefaults instantiates a new RecordCreate 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 (*RecordCreate) GetProperties

func (o *RecordCreate) GetProperties() Record

GetProperties returns the Properties field value

func (*RecordCreate) GetPropertiesOk

func (o *RecordCreate) GetPropertiesOk() (*Record, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*RecordCreate) SetProperties

func (o *RecordCreate) SetProperties(v Record)

SetProperties sets field value

func (RecordCreate) ToMap

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

type RecordEnsure

type RecordEnsure struct {
	Properties Record `json:"properties"`
}

RecordEnsure struct for RecordEnsure

func NewRecordEnsure

func NewRecordEnsure(properties Record) *RecordEnsure

NewRecordEnsure instantiates a new RecordEnsure 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 NewRecordEnsureWithDefaults

func NewRecordEnsureWithDefaults() *RecordEnsure

NewRecordEnsureWithDefaults instantiates a new RecordEnsure 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 (*RecordEnsure) GetProperties

func (o *RecordEnsure) GetProperties() Record

GetProperties returns the Properties field value

func (*RecordEnsure) GetPropertiesOk

func (o *RecordEnsure) GetPropertiesOk() (*Record, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*RecordEnsure) SetProperties

func (o *RecordEnsure) SetProperties(v Record)

SetProperties sets field value

func (RecordEnsure) ToMap

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

type RecordRead

type RecordRead struct {
	// The record ID (UUID).
	Id         string                      `json:"id"`
	Type       string                      `json:"type"`
	Href       string                      `json:"href"`
	Metadata   MetadataWithStateFqdnZoneId `json:"metadata"`
	Properties Record                      `json:"properties"`
}

RecordRead struct for RecordRead

func NewRecordRead

func NewRecordRead(id string, type_ string, href string, metadata MetadataWithStateFqdnZoneId, properties Record) *RecordRead

NewRecordRead instantiates a new RecordRead 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 NewRecordReadWithDefaults

func NewRecordReadWithDefaults() *RecordRead

NewRecordReadWithDefaults instantiates a new RecordRead 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 (*RecordRead) GetHref

func (o *RecordRead) GetHref() string

GetHref returns the Href field value

func (*RecordRead) GetHrefOk

func (o *RecordRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*RecordRead) GetId

func (o *RecordRead) GetId() string

GetId returns the Id field value

func (*RecordRead) GetIdOk

func (o *RecordRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RecordRead) GetMetadata

func (o *RecordRead) GetMetadata() MetadataWithStateFqdnZoneId

GetMetadata returns the Metadata field value

func (*RecordRead) GetMetadataOk

func (o *RecordRead) GetMetadataOk() (*MetadataWithStateFqdnZoneId, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*RecordRead) GetProperties

func (o *RecordRead) GetProperties() Record

GetProperties returns the Properties field value

func (*RecordRead) GetPropertiesOk

func (o *RecordRead) GetPropertiesOk() (*Record, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*RecordRead) GetType

func (o *RecordRead) GetType() string

GetType returns the Type field value

func (*RecordRead) GetTypeOk

func (o *RecordRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RecordRead) SetHref

func (o *RecordRead) SetHref(v string)

SetHref sets field value

func (*RecordRead) SetId

func (o *RecordRead) SetId(v string)

SetId sets field value

func (*RecordRead) SetMetadata

func (o *RecordRead) SetMetadata(v MetadataWithStateFqdnZoneId)

SetMetadata sets field value

func (*RecordRead) SetProperties

func (o *RecordRead) SetProperties(v Record)

SetProperties sets field value

func (*RecordRead) SetType

func (o *RecordRead) SetType(v string)

SetType sets field value

func (RecordRead) ToMap

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

type RecordReadList

type RecordReadList struct {
	// The resource's unique identifier.
	Id    string       `json:"id"`
	Type  string       `json:"type"`
	Href  string       `json:"href"`
	Items []RecordRead `json:"items"`
	// Pagination offset.
	Offset float32 `json:"offset"`
	// Pagination limit.
	Limit float32 `json:"limit"`
	Links Links   `json:"_links"`
}

RecordReadList struct for RecordReadList

func NewRecordReadList

func NewRecordReadList(id string, type_ string, href string, items []RecordRead, offset float32, limit float32, links Links) *RecordReadList

NewRecordReadList instantiates a new RecordReadList 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 NewRecordReadListWithDefaults

func NewRecordReadListWithDefaults() *RecordReadList

NewRecordReadListWithDefaults instantiates a new RecordReadList 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 (*RecordReadList) GetHref

func (o *RecordReadList) GetHref() string

GetHref returns the Href field value

func (*RecordReadList) GetHrefOk

func (o *RecordReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*RecordReadList) GetId

func (o *RecordReadList) GetId() string

GetId returns the Id field value

func (*RecordReadList) GetIdOk

func (o *RecordReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RecordReadList) GetItems

func (o *RecordReadList) GetItems() []RecordRead

GetItems returns the Items field value

func (*RecordReadList) GetItemsOk

func (o *RecordReadList) GetItemsOk() ([]RecordRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*RecordReadList) GetLimit

func (o *RecordReadList) GetLimit() float32

GetLimit returns the Limit field value

func (*RecordReadList) GetLimitOk

func (o *RecordReadList) GetLimitOk() (*float32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *RecordReadList) GetLinks() Links

GetLinks returns the Links field value

func (*RecordReadList) GetLinksOk

func (o *RecordReadList) GetLinksOk() (*Links, bool)

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

func (*RecordReadList) GetOffset

func (o *RecordReadList) GetOffset() float32

GetOffset returns the Offset field value

func (*RecordReadList) GetOffsetOk

func (o *RecordReadList) GetOffsetOk() (*float32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*RecordReadList) GetType

func (o *RecordReadList) GetType() string

GetType returns the Type field value

func (*RecordReadList) GetTypeOk

func (o *RecordReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RecordReadList) SetHref

func (o *RecordReadList) SetHref(v string)

SetHref sets field value

func (*RecordReadList) SetId

func (o *RecordReadList) SetId(v string)

SetId sets field value

func (*RecordReadList) SetItems

func (o *RecordReadList) SetItems(v []RecordRead)

SetItems sets field value

func (*RecordReadList) SetLimit

func (o *RecordReadList) SetLimit(v float32)

SetLimit sets field value

func (o *RecordReadList) SetLinks(v Links)

SetLinks sets field value

func (*RecordReadList) SetOffset

func (o *RecordReadList) SetOffset(v float32)

SetOffset sets field value

func (*RecordReadList) SetType

func (o *RecordReadList) SetType(v string)

SetType sets field value

func (RecordReadList) ToMap

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

type RecordsApiService

type RecordsApiService service

RecordsApiService RecordsApi service

func (*RecordsApiService) RecordsGet

* RecordsGet Retrieve all records from primary zones * Returns the list of all records for all customer DNS zones with the possibility to filter them. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiRecordsGetRequest

func (*RecordsApiService) RecordsGetExecute

* Execute executes the request * @return RecordReadList

func (*RecordsApiService) SecondaryzonesRecordsGet

func (a *RecordsApiService) SecondaryzonesRecordsGet(ctx _context.Context, secondaryZoneId string) ApiSecondaryzonesRecordsGetRequest

* SecondaryzonesRecordsGet Retrieve records for a secondary zone * Returns the list of records for a secondary zone. Those are the records created for its primary IPs * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param secondaryZoneId The ID (UUID) of the DNS secondary zone. * @return ApiSecondaryzonesRecordsGetRequest

func (*RecordsApiService) SecondaryzonesRecordsGetExecute

* Execute executes the request * @return SecondaryZoneRecordReadList

func (*RecordsApiService) ZonesRecordsDelete

func (a *RecordsApiService) ZonesRecordsDelete(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsDeleteRequest

* ZonesRecordsDelete Delete a record * Deletes a specified record from the DNS zone. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @param recordId The ID (UUID) of the record. * @return ApiZonesRecordsDeleteRequest

func (*RecordsApiService) ZonesRecordsDeleteExecute

func (a *RecordsApiService) ZonesRecordsDeleteExecute(r ApiZonesRecordsDeleteRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*RecordsApiService) ZonesRecordsFindById

func (a *RecordsApiService) ZonesRecordsFindById(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsFindByIdRequest

* ZonesRecordsFindById Retrieve a record * Returns the record with the specified record ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @param recordId The ID (UUID) of the record. * @return ApiZonesRecordsFindByIdRequest

func (*RecordsApiService) ZonesRecordsFindByIdExecute

func (a *RecordsApiService) ZonesRecordsFindByIdExecute(r ApiZonesRecordsFindByIdRequest) (RecordRead, *shared.APIResponse, error)

* Execute executes the request * @return RecordRead

func (*RecordsApiService) ZonesRecordsGet

func (a *RecordsApiService) ZonesRecordsGet(ctx _context.Context, zoneId string) ApiZonesRecordsGetRequest

* ZonesRecordsGet Retrieve records * Returns the list of records for the specific DNS zone. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesRecordsGetRequest

func (*RecordsApiService) ZonesRecordsGetExecute

* Execute executes the request * @return RecordReadList

func (*RecordsApiService) ZonesRecordsPost

func (a *RecordsApiService) ZonesRecordsPost(ctx _context.Context, zoneId string) ApiZonesRecordsPostRequest

* ZonesRecordsPost Create a record * Creates a new record for the DNS zone. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesRecordsPostRequest

func (*RecordsApiService) ZonesRecordsPostExecute

* Execute executes the request * @return RecordRead

func (*RecordsApiService) ZonesRecordsPut

func (a *RecordsApiService) ZonesRecordsPut(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsPutRequest

* ZonesRecordsPut Update a record * Updates or creates a DNS record for the provided record ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @param recordId The ID (UUID) of the DNS record. * @return ApiZonesRecordsPutRequest

func (*RecordsApiService) ZonesRecordsPutExecute

* Execute executes the request * @return RecordRead

type ReverseRecord

type ReverseRecord struct {
	// The reverse DNS record name
	Name string `json:"name"`
	// Description stored along with the reverse DNS record to describe its usage.
	Description *string `json:"description,omitempty"`
	// Specifies for which IP address the reverse record should be created. The IP addresses needs to be owned by the contract. Accepts IPv4 and IPv6 addresses.
	Ip string `json:"ip"`
}

ReverseRecord The reverse DNS record.

func NewReverseRecord

func NewReverseRecord(name string, ip string) *ReverseRecord

NewReverseRecord instantiates a new ReverseRecord 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 NewReverseRecordWithDefaults

func NewReverseRecordWithDefaults() *ReverseRecord

NewReverseRecordWithDefaults instantiates a new ReverseRecord 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 (*ReverseRecord) GetDescription

func (o *ReverseRecord) GetDescription() string

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

func (*ReverseRecord) GetDescriptionOk

func (o *ReverseRecord) 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 (*ReverseRecord) GetIp

func (o *ReverseRecord) GetIp() string

GetIp returns the Ip field value

func (*ReverseRecord) GetIpOk

func (o *ReverseRecord) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.

func (*ReverseRecord) GetName

func (o *ReverseRecord) GetName() string

GetName returns the Name field value

func (*ReverseRecord) GetNameOk

func (o *ReverseRecord) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ReverseRecord) HasDescription

func (o *ReverseRecord) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ReverseRecord) SetDescription

func (o *ReverseRecord) SetDescription(v string)

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

func (*ReverseRecord) SetIp

func (o *ReverseRecord) SetIp(v string)

SetIp sets field value

func (*ReverseRecord) SetName

func (o *ReverseRecord) SetName(v string)

SetName sets field value

func (ReverseRecord) ToMap

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

type ReverseRecordCreate

type ReverseRecordCreate struct {
	Properties ReverseRecord `json:"properties"`
}

ReverseRecordCreate struct for ReverseRecordCreate

func NewReverseRecordCreate

func NewReverseRecordCreate(properties ReverseRecord) *ReverseRecordCreate

NewReverseRecordCreate instantiates a new ReverseRecordCreate 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 NewReverseRecordCreateWithDefaults

func NewReverseRecordCreateWithDefaults() *ReverseRecordCreate

NewReverseRecordCreateWithDefaults instantiates a new ReverseRecordCreate 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 (*ReverseRecordCreate) GetProperties

func (o *ReverseRecordCreate) GetProperties() ReverseRecord

GetProperties returns the Properties field value

func (*ReverseRecordCreate) GetPropertiesOk

func (o *ReverseRecordCreate) GetPropertiesOk() (*ReverseRecord, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ReverseRecordCreate) SetProperties

func (o *ReverseRecordCreate) SetProperties(v ReverseRecord)

SetProperties sets field value

func (ReverseRecordCreate) ToMap

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

type ReverseRecordEnsure

type ReverseRecordEnsure struct {
	Properties ReverseRecord `json:"properties"`
}

ReverseRecordEnsure struct for ReverseRecordEnsure

func NewReverseRecordEnsure

func NewReverseRecordEnsure(properties ReverseRecord) *ReverseRecordEnsure

NewReverseRecordEnsure instantiates a new ReverseRecordEnsure 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 NewReverseRecordEnsureWithDefaults

func NewReverseRecordEnsureWithDefaults() *ReverseRecordEnsure

NewReverseRecordEnsureWithDefaults instantiates a new ReverseRecordEnsure 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 (*ReverseRecordEnsure) GetProperties

func (o *ReverseRecordEnsure) GetProperties() ReverseRecord

GetProperties returns the Properties field value

func (*ReverseRecordEnsure) GetPropertiesOk

func (o *ReverseRecordEnsure) GetPropertiesOk() (*ReverseRecord, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ReverseRecordEnsure) SetProperties

func (o *ReverseRecordEnsure) SetProperties(v ReverseRecord)

SetProperties sets field value

func (ReverseRecordEnsure) ToMap

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

type ReverseRecordRead

type ReverseRecordRead struct {
	// The reverse DNS record ID (UUID).
	Id         string        `json:"id"`
	Type       string        `json:"type"`
	Href       string        `json:"href"`
	Metadata   Metadata      `json:"metadata"`
	Properties ReverseRecord `json:"properties"`
}

ReverseRecordRead struct for ReverseRecordRead

func NewReverseRecordRead

func NewReverseRecordRead(id string, type_ string, href string, metadata Metadata, properties ReverseRecord) *ReverseRecordRead

NewReverseRecordRead instantiates a new ReverseRecordRead 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 NewReverseRecordReadWithDefaults

func NewReverseRecordReadWithDefaults() *ReverseRecordRead

NewReverseRecordReadWithDefaults instantiates a new ReverseRecordRead 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 (*ReverseRecordRead) GetHref

func (o *ReverseRecordRead) GetHref() string

GetHref returns the Href field value

func (*ReverseRecordRead) GetHrefOk

func (o *ReverseRecordRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ReverseRecordRead) GetId

func (o *ReverseRecordRead) GetId() string

GetId returns the Id field value

func (*ReverseRecordRead) GetIdOk

func (o *ReverseRecordRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReverseRecordRead) GetMetadata

func (o *ReverseRecordRead) GetMetadata() Metadata

GetMetadata returns the Metadata field value

func (*ReverseRecordRead) GetMetadataOk

func (o *ReverseRecordRead) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*ReverseRecordRead) GetProperties

func (o *ReverseRecordRead) GetProperties() ReverseRecord

GetProperties returns the Properties field value

func (*ReverseRecordRead) GetPropertiesOk

func (o *ReverseRecordRead) GetPropertiesOk() (*ReverseRecord, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ReverseRecordRead) GetType

func (o *ReverseRecordRead) GetType() string

GetType returns the Type field value

func (*ReverseRecordRead) GetTypeOk

func (o *ReverseRecordRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ReverseRecordRead) SetHref

func (o *ReverseRecordRead) SetHref(v string)

SetHref sets field value

func (*ReverseRecordRead) SetId

func (o *ReverseRecordRead) SetId(v string)

SetId sets field value

func (*ReverseRecordRead) SetMetadata

func (o *ReverseRecordRead) SetMetadata(v Metadata)

SetMetadata sets field value

func (*ReverseRecordRead) SetProperties

func (o *ReverseRecordRead) SetProperties(v ReverseRecord)

SetProperties sets field value

func (*ReverseRecordRead) SetType

func (o *ReverseRecordRead) SetType(v string)

SetType sets field value

func (ReverseRecordRead) ToMap

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

type ReverseRecordsApiService

type ReverseRecordsApiService service

ReverseRecordsApiService ReverseRecordsApi service

func (*ReverseRecordsApiService) ReverserecordsDelete

func (a *ReverseRecordsApiService) ReverserecordsDelete(ctx _context.Context, reverserecordId string) ApiReverserecordsDeleteRequest

* ReverserecordsDelete Delete a reverse DNS record * Deletes a reverse DNS record.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param reverserecordId The ID (UUID) of the reverse DNS record. * @return ApiReverserecordsDeleteRequest

func (*ReverseRecordsApiService) ReverserecordsDeleteExecute

func (a *ReverseRecordsApiService) ReverserecordsDeleteExecute(r ApiReverserecordsDeleteRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*ReverseRecordsApiService) ReverserecordsFindById

func (a *ReverseRecordsApiService) ReverserecordsFindById(ctx _context.Context, reverserecordId string) ApiReverserecordsFindByIdRequest

* ReverserecordsFindById Retrieve a reverse DNS record * Returns the record with the specified record ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param reverserecordId The ID (UUID) of the reverse DNS record. * @return ApiReverserecordsFindByIdRequest

func (*ReverseRecordsApiService) ReverserecordsFindByIdExecute

* Execute executes the request * @return ReverseRecordRead

func (*ReverseRecordsApiService) ReverserecordsGet

* ReverserecordsGet Retrieves existing reverse DNS records * Returns a list of the reverse records of the customer. Default limit is the first 100 items. Use pagination query parameters to list more items. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiReverserecordsGetRequest

func (*ReverseRecordsApiService) ReverserecordsGetExecute

* Execute executes the request * @return ReverseRecordsReadList

func (*ReverseRecordsApiService) ReverserecordsPost

* ReverserecordsPost Create a reverse DNS record * Creates a new reverse DNS record. Reverse DNS is applicable to IPv4 addresses within IP Blocks and IPv6 addresses of the VDC.

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

func (*ReverseRecordsApiService) ReverserecordsPostExecute

* Execute executes the request * @return ReverseRecordRead

func (*ReverseRecordsApiService) ReverserecordsPut

func (a *ReverseRecordsApiService) ReverserecordsPut(ctx _context.Context, reverserecordId string) ApiReverserecordsPutRequest

* ReverserecordsPut Update a reverse DNS record * Updates or creates a reverse DNS record for the provided reverse DNS record ID.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param reverserecordId The ID (UUID) of the reverse DNS record. * @return ApiReverserecordsPutRequest

func (*ReverseRecordsApiService) ReverserecordsPutExecute

* Execute executes the request * @return ReverseRecordRead

type ReverseRecordsReadList

type ReverseRecordsReadList struct {
	// ID (UUID) created to identify this action.
	Id    string              `json:"id"`
	Type  string              `json:"type"`
	Href  string              `json:"href"`
	Items []ReverseRecordRead `json:"items"`
	// Pagination offset.
	Offset float32 `json:"offset"`
	// Pagination limit.
	Limit float32 `json:"limit"`
	Links Links   `json:"_links"`
}

ReverseRecordsReadList struct for ReverseRecordsReadList

func NewReverseRecordsReadList

func NewReverseRecordsReadList(id string, type_ string, href string, items []ReverseRecordRead, offset float32, limit float32, links Links) *ReverseRecordsReadList

NewReverseRecordsReadList instantiates a new ReverseRecordsReadList 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 NewReverseRecordsReadListWithDefaults

func NewReverseRecordsReadListWithDefaults() *ReverseRecordsReadList

NewReverseRecordsReadListWithDefaults instantiates a new ReverseRecordsReadList 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 (*ReverseRecordsReadList) GetHref

func (o *ReverseRecordsReadList) GetHref() string

GetHref returns the Href field value

func (*ReverseRecordsReadList) GetHrefOk

func (o *ReverseRecordsReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ReverseRecordsReadList) GetId

func (o *ReverseRecordsReadList) GetId() string

GetId returns the Id field value

func (*ReverseRecordsReadList) GetIdOk

func (o *ReverseRecordsReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReverseRecordsReadList) GetItems

func (o *ReverseRecordsReadList) GetItems() []ReverseRecordRead

GetItems returns the Items field value

func (*ReverseRecordsReadList) GetItemsOk

func (o *ReverseRecordsReadList) GetItemsOk() ([]ReverseRecordRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ReverseRecordsReadList) GetLimit

func (o *ReverseRecordsReadList) GetLimit() float32

GetLimit returns the Limit field value

func (*ReverseRecordsReadList) GetLimitOk

func (o *ReverseRecordsReadList) GetLimitOk() (*float32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *ReverseRecordsReadList) GetLinks() Links

GetLinks returns the Links field value

func (*ReverseRecordsReadList) GetLinksOk

func (o *ReverseRecordsReadList) GetLinksOk() (*Links, bool)

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

func (*ReverseRecordsReadList) GetOffset

func (o *ReverseRecordsReadList) GetOffset() float32

GetOffset returns the Offset field value

func (*ReverseRecordsReadList) GetOffsetOk

func (o *ReverseRecordsReadList) GetOffsetOk() (*float32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*ReverseRecordsReadList) GetType

func (o *ReverseRecordsReadList) GetType() string

GetType returns the Type field value

func (*ReverseRecordsReadList) GetTypeOk

func (o *ReverseRecordsReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ReverseRecordsReadList) SetHref

func (o *ReverseRecordsReadList) SetHref(v string)

SetHref sets field value

func (*ReverseRecordsReadList) SetId

func (o *ReverseRecordsReadList) SetId(v string)

SetId sets field value

func (*ReverseRecordsReadList) SetItems

func (o *ReverseRecordsReadList) SetItems(v []ReverseRecordRead)

SetItems sets field value

func (*ReverseRecordsReadList) SetLimit

func (o *ReverseRecordsReadList) SetLimit(v float32)

SetLimit sets field value

func (o *ReverseRecordsReadList) SetLinks(v Links)

SetLinks sets field value

func (*ReverseRecordsReadList) SetOffset

func (o *ReverseRecordsReadList) SetOffset(v float32)

SetOffset sets field value

func (*ReverseRecordsReadList) SetType

func (o *ReverseRecordsReadList) SetType(v string)

SetType sets field value

func (ReverseRecordsReadList) ToMap

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

type SecondaryZone

type SecondaryZone struct {
	// The zone name
	ZoneName string `json:"zoneName"`
	// The hosted zone is used for...
	Description *string `json:"description,omitempty"`
	// Indicates IP addresses of primary nameservers for a secondary zone. Accepts IPv4 and IPv6 addresses
	PrimaryIps []string `json:"primaryIps"`
}

SecondaryZone struct for SecondaryZone

func NewSecondaryZone

func NewSecondaryZone(zoneName string, primaryIps []string) *SecondaryZone

NewSecondaryZone instantiates a new SecondaryZone 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 NewSecondaryZoneWithDefaults

func NewSecondaryZoneWithDefaults() *SecondaryZone

NewSecondaryZoneWithDefaults instantiates a new SecondaryZone 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 (*SecondaryZone) GetDescription

func (o *SecondaryZone) GetDescription() string

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

func (*SecondaryZone) GetDescriptionOk

func (o *SecondaryZone) 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 (*SecondaryZone) GetPrimaryIps

func (o *SecondaryZone) GetPrimaryIps() []string

GetPrimaryIps returns the PrimaryIps field value

func (*SecondaryZone) GetPrimaryIpsOk

func (o *SecondaryZone) GetPrimaryIpsOk() ([]string, bool)

GetPrimaryIpsOk returns a tuple with the PrimaryIps field value and a boolean to check if the value has been set.

func (*SecondaryZone) GetZoneName

func (o *SecondaryZone) GetZoneName() string

GetZoneName returns the ZoneName field value

func (*SecondaryZone) GetZoneNameOk

func (o *SecondaryZone) GetZoneNameOk() (*string, bool)

GetZoneNameOk returns a tuple with the ZoneName field value and a boolean to check if the value has been set.

func (*SecondaryZone) HasDescription

func (o *SecondaryZone) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SecondaryZone) SetDescription

func (o *SecondaryZone) SetDescription(v string)

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

func (*SecondaryZone) SetPrimaryIps

func (o *SecondaryZone) SetPrimaryIps(v []string)

SetPrimaryIps sets field value

func (*SecondaryZone) SetZoneName

func (o *SecondaryZone) SetZoneName(v string)

SetZoneName sets field value

func (SecondaryZone) ToMap

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

type SecondaryZoneAllOf

type SecondaryZoneAllOf struct {
	// Indicates IP addresses of primary nameservers for a secondary zone. Accepts IPv4 and IPv6 addresses
	PrimaryIps []string `json:"primaryIps"`
}

SecondaryZoneAllOf Indicates the fields for a secondary zone to be created

func NewSecondaryZoneAllOf

func NewSecondaryZoneAllOf(primaryIps []string) *SecondaryZoneAllOf

NewSecondaryZoneAllOf instantiates a new SecondaryZoneAllOf 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 NewSecondaryZoneAllOfWithDefaults

func NewSecondaryZoneAllOfWithDefaults() *SecondaryZoneAllOf

NewSecondaryZoneAllOfWithDefaults instantiates a new SecondaryZoneAllOf 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 (*SecondaryZoneAllOf) GetPrimaryIps

func (o *SecondaryZoneAllOf) GetPrimaryIps() []string

GetPrimaryIps returns the PrimaryIps field value

func (*SecondaryZoneAllOf) GetPrimaryIpsOk

func (o *SecondaryZoneAllOf) GetPrimaryIpsOk() ([]string, bool)

GetPrimaryIpsOk returns a tuple with the PrimaryIps field value and a boolean to check if the value has been set.

func (*SecondaryZoneAllOf) SetPrimaryIps

func (o *SecondaryZoneAllOf) SetPrimaryIps(v []string)

SetPrimaryIps sets field value

func (SecondaryZoneAllOf) ToMap

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

type SecondaryZoneCreate

type SecondaryZoneCreate struct {
	Properties SecondaryZone `json:"properties"`
}

SecondaryZoneCreate struct for SecondaryZoneCreate

func NewSecondaryZoneCreate

func NewSecondaryZoneCreate(properties SecondaryZone) *SecondaryZoneCreate

NewSecondaryZoneCreate instantiates a new SecondaryZoneCreate 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 NewSecondaryZoneCreateWithDefaults

func NewSecondaryZoneCreateWithDefaults() *SecondaryZoneCreate

NewSecondaryZoneCreateWithDefaults instantiates a new SecondaryZoneCreate 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 (*SecondaryZoneCreate) GetProperties

func (o *SecondaryZoneCreate) GetProperties() SecondaryZone

GetProperties returns the Properties field value

func (*SecondaryZoneCreate) GetPropertiesOk

func (o *SecondaryZoneCreate) GetPropertiesOk() (*SecondaryZone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*SecondaryZoneCreate) SetProperties

func (o *SecondaryZoneCreate) SetProperties(v SecondaryZone)

SetProperties sets field value

func (SecondaryZoneCreate) ToMap

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

type SecondaryZoneEnsure

type SecondaryZoneEnsure struct {
	Properties SecondaryZone `json:"properties"`
}

SecondaryZoneEnsure struct for SecondaryZoneEnsure

func NewSecondaryZoneEnsure

func NewSecondaryZoneEnsure(properties SecondaryZone) *SecondaryZoneEnsure

NewSecondaryZoneEnsure instantiates a new SecondaryZoneEnsure 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 NewSecondaryZoneEnsureWithDefaults

func NewSecondaryZoneEnsureWithDefaults() *SecondaryZoneEnsure

NewSecondaryZoneEnsureWithDefaults instantiates a new SecondaryZoneEnsure 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 (*SecondaryZoneEnsure) GetProperties

func (o *SecondaryZoneEnsure) GetProperties() SecondaryZone

GetProperties returns the Properties field value

func (*SecondaryZoneEnsure) GetPropertiesOk

func (o *SecondaryZoneEnsure) GetPropertiesOk() (*SecondaryZone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*SecondaryZoneEnsure) SetProperties

func (o *SecondaryZoneEnsure) SetProperties(v SecondaryZone)

SetProperties sets field value

func (SecondaryZoneEnsure) ToMap

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

type SecondaryZoneRead

type SecondaryZoneRead struct {
	// The zone ID (UUID).
	Id         string                       `json:"id"`
	Type       string                       `json:"type"`
	Href       string                       `json:"href"`
	Metadata   MetadataWithStateNameservers `json:"metadata"`
	Properties SecondaryZone                `json:"properties"`
}

SecondaryZoneRead struct for SecondaryZoneRead

func NewSecondaryZoneRead

func NewSecondaryZoneRead(id string, type_ string, href string, metadata MetadataWithStateNameservers, properties SecondaryZone) *SecondaryZoneRead

NewSecondaryZoneRead instantiates a new SecondaryZoneRead 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 NewSecondaryZoneReadWithDefaults

func NewSecondaryZoneReadWithDefaults() *SecondaryZoneRead

NewSecondaryZoneReadWithDefaults instantiates a new SecondaryZoneRead 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 (*SecondaryZoneRead) GetHref

func (o *SecondaryZoneRead) GetHref() string

GetHref returns the Href field value

func (*SecondaryZoneRead) GetHrefOk

func (o *SecondaryZoneRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*SecondaryZoneRead) GetId

func (o *SecondaryZoneRead) GetId() string

GetId returns the Id field value

func (*SecondaryZoneRead) GetIdOk

func (o *SecondaryZoneRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SecondaryZoneRead) GetMetadata

GetMetadata returns the Metadata field value

func (*SecondaryZoneRead) GetMetadataOk

func (o *SecondaryZoneRead) GetMetadataOk() (*MetadataWithStateNameservers, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*SecondaryZoneRead) GetProperties

func (o *SecondaryZoneRead) GetProperties() SecondaryZone

GetProperties returns the Properties field value

func (*SecondaryZoneRead) GetPropertiesOk

func (o *SecondaryZoneRead) GetPropertiesOk() (*SecondaryZone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*SecondaryZoneRead) GetType

func (o *SecondaryZoneRead) GetType() string

GetType returns the Type field value

func (*SecondaryZoneRead) GetTypeOk

func (o *SecondaryZoneRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SecondaryZoneRead) SetHref

func (o *SecondaryZoneRead) SetHref(v string)

SetHref sets field value

func (*SecondaryZoneRead) SetId

func (o *SecondaryZoneRead) SetId(v string)

SetId sets field value

func (*SecondaryZoneRead) SetMetadata

SetMetadata sets field value

func (*SecondaryZoneRead) SetProperties

func (o *SecondaryZoneRead) SetProperties(v SecondaryZone)

SetProperties sets field value

func (*SecondaryZoneRead) SetType

func (o *SecondaryZoneRead) SetType(v string)

SetType sets field value

func (SecondaryZoneRead) ToMap

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

type SecondaryZoneReadAllOf

type SecondaryZoneReadAllOf struct {
	Properties SecondaryZone `json:"properties"`
}

SecondaryZoneReadAllOf struct for SecondaryZoneReadAllOf

func NewSecondaryZoneReadAllOf

func NewSecondaryZoneReadAllOf(properties SecondaryZone) *SecondaryZoneReadAllOf

NewSecondaryZoneReadAllOf instantiates a new SecondaryZoneReadAllOf 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 NewSecondaryZoneReadAllOfWithDefaults

func NewSecondaryZoneReadAllOfWithDefaults() *SecondaryZoneReadAllOf

NewSecondaryZoneReadAllOfWithDefaults instantiates a new SecondaryZoneReadAllOf 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 (*SecondaryZoneReadAllOf) GetProperties

func (o *SecondaryZoneReadAllOf) GetProperties() SecondaryZone

GetProperties returns the Properties field value

func (*SecondaryZoneReadAllOf) GetPropertiesOk

func (o *SecondaryZoneReadAllOf) GetPropertiesOk() (*SecondaryZone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadAllOf) SetProperties

func (o *SecondaryZoneReadAllOf) SetProperties(v SecondaryZone)

SetProperties sets field value

func (SecondaryZoneReadAllOf) ToMap

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

type SecondaryZoneReadList

type SecondaryZoneReadList struct {
	// ID (UUID) created to identify this action.
	Id   string `json:"id"`
	Type string `json:"type"`
	Href string `json:"href"`
	// Pagination offset.
	Offset float32 `json:"offset"`
	// Pagination limit.
	Limit float32             `json:"limit"`
	Links Links               `json:"_links"`
	Items []SecondaryZoneRead `json:"items"`
}

SecondaryZoneReadList struct for SecondaryZoneReadList

func NewSecondaryZoneReadList

func NewSecondaryZoneReadList(id string, type_ string, href string, offset float32, limit float32, links Links, items []SecondaryZoneRead) *SecondaryZoneReadList

NewSecondaryZoneReadList instantiates a new SecondaryZoneReadList 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 NewSecondaryZoneReadListWithDefaults

func NewSecondaryZoneReadListWithDefaults() *SecondaryZoneReadList

NewSecondaryZoneReadListWithDefaults instantiates a new SecondaryZoneReadList 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 (*SecondaryZoneReadList) GetHref

func (o *SecondaryZoneReadList) GetHref() string

GetHref returns the Href field value

func (*SecondaryZoneReadList) GetHrefOk

func (o *SecondaryZoneReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadList) GetId

func (o *SecondaryZoneReadList) GetId() string

GetId returns the Id field value

func (*SecondaryZoneReadList) GetIdOk

func (o *SecondaryZoneReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadList) GetItems

func (o *SecondaryZoneReadList) GetItems() []SecondaryZoneRead

GetItems returns the Items field value

func (*SecondaryZoneReadList) GetItemsOk

func (o *SecondaryZoneReadList) GetItemsOk() ([]SecondaryZoneRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadList) GetLimit

func (o *SecondaryZoneReadList) GetLimit() float32

GetLimit returns the Limit field value

func (*SecondaryZoneReadList) GetLimitOk

func (o *SecondaryZoneReadList) GetLimitOk() (*float32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *SecondaryZoneReadList) GetLinks() Links

GetLinks returns the Links field value

func (*SecondaryZoneReadList) GetLinksOk

func (o *SecondaryZoneReadList) GetLinksOk() (*Links, bool)

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

func (*SecondaryZoneReadList) GetOffset

func (o *SecondaryZoneReadList) GetOffset() float32

GetOffset returns the Offset field value

func (*SecondaryZoneReadList) GetOffsetOk

func (o *SecondaryZoneReadList) GetOffsetOk() (*float32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadList) GetType

func (o *SecondaryZoneReadList) GetType() string

GetType returns the Type field value

func (*SecondaryZoneReadList) GetTypeOk

func (o *SecondaryZoneReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadList) SetHref

func (o *SecondaryZoneReadList) SetHref(v string)

SetHref sets field value

func (*SecondaryZoneReadList) SetId

func (o *SecondaryZoneReadList) SetId(v string)

SetId sets field value

func (*SecondaryZoneReadList) SetItems

func (o *SecondaryZoneReadList) SetItems(v []SecondaryZoneRead)

SetItems sets field value

func (*SecondaryZoneReadList) SetLimit

func (o *SecondaryZoneReadList) SetLimit(v float32)

SetLimit sets field value

func (o *SecondaryZoneReadList) SetLinks(v Links)

SetLinks sets field value

func (*SecondaryZoneReadList) SetOffset

func (o *SecondaryZoneReadList) SetOffset(v float32)

SetOffset sets field value

func (*SecondaryZoneReadList) SetType

func (o *SecondaryZoneReadList) SetType(v string)

SetType sets field value

func (SecondaryZoneReadList) ToMap

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

type SecondaryZoneReadListAllOf

type SecondaryZoneReadListAllOf struct {
	Items []SecondaryZoneRead `json:"items"`
}

SecondaryZoneReadListAllOf List of secondary zones

func NewSecondaryZoneReadListAllOf

func NewSecondaryZoneReadListAllOf(items []SecondaryZoneRead) *SecondaryZoneReadListAllOf

NewSecondaryZoneReadListAllOf instantiates a new SecondaryZoneReadListAllOf 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 NewSecondaryZoneReadListAllOfWithDefaults

func NewSecondaryZoneReadListAllOfWithDefaults() *SecondaryZoneReadListAllOf

NewSecondaryZoneReadListAllOfWithDefaults instantiates a new SecondaryZoneReadListAllOf 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 (*SecondaryZoneReadListAllOf) GetItems

GetItems returns the Items field value

func (*SecondaryZoneReadListAllOf) GetItemsOk

func (o *SecondaryZoneReadListAllOf) GetItemsOk() ([]SecondaryZoneRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*SecondaryZoneReadListAllOf) SetItems

SetItems sets field value

func (SecondaryZoneReadListAllOf) ToMap

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

type SecondaryZoneRecordRead

type SecondaryZoneRecordRead struct {
	Type       string                          `json:"type"`
	Metadata   MetadataForSecondaryZoneRecords `json:"metadata"`
	Properties Record                          `json:"properties"`
}

SecondaryZoneRecordRead struct for SecondaryZoneRecordRead

func NewSecondaryZoneRecordRead

func NewSecondaryZoneRecordRead(type_ string, metadata MetadataForSecondaryZoneRecords, properties Record) *SecondaryZoneRecordRead

NewSecondaryZoneRecordRead instantiates a new SecondaryZoneRecordRead 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 NewSecondaryZoneRecordReadWithDefaults

func NewSecondaryZoneRecordReadWithDefaults() *SecondaryZoneRecordRead

NewSecondaryZoneRecordReadWithDefaults instantiates a new SecondaryZoneRecordRead 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 (*SecondaryZoneRecordRead) GetMetadata

GetMetadata returns the Metadata field value

func (*SecondaryZoneRecordRead) GetMetadataOk

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordRead) GetProperties

func (o *SecondaryZoneRecordRead) GetProperties() Record

GetProperties returns the Properties field value

func (*SecondaryZoneRecordRead) GetPropertiesOk

func (o *SecondaryZoneRecordRead) GetPropertiesOk() (*Record, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordRead) GetType

func (o *SecondaryZoneRecordRead) GetType() string

GetType returns the Type field value

func (*SecondaryZoneRecordRead) GetTypeOk

func (o *SecondaryZoneRecordRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordRead) SetMetadata

SetMetadata sets field value

func (*SecondaryZoneRecordRead) SetProperties

func (o *SecondaryZoneRecordRead) SetProperties(v Record)

SetProperties sets field value

func (*SecondaryZoneRecordRead) SetType

func (o *SecondaryZoneRecordRead) SetType(v string)

SetType sets field value

func (SecondaryZoneRecordRead) ToMap

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

type SecondaryZoneRecordReadList

type SecondaryZoneRecordReadList struct {
	// The resource's unique identifier.
	Id       string                              `json:"id"`
	Type     string                              `json:"type"`
	Href     string                              `json:"href"`
	Metadata SecondaryZoneRecordReadListMetadata `json:"metadata"`
	Items    []SecondaryZoneRecordRead           `json:"items"`
	// Pagination offset.
	Offset float32 `json:"offset"`
	// Pagination limit.
	Limit float32 `json:"limit"`
	Links Links   `json:"_links"`
}

SecondaryZoneRecordReadList struct for SecondaryZoneRecordReadList

func NewSecondaryZoneRecordReadList

func NewSecondaryZoneRecordReadList(id string, type_ string, href string, metadata SecondaryZoneRecordReadListMetadata, items []SecondaryZoneRecordRead, offset float32, limit float32, links Links) *SecondaryZoneRecordReadList

NewSecondaryZoneRecordReadList instantiates a new SecondaryZoneRecordReadList 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 NewSecondaryZoneRecordReadListWithDefaults

func NewSecondaryZoneRecordReadListWithDefaults() *SecondaryZoneRecordReadList

NewSecondaryZoneRecordReadListWithDefaults instantiates a new SecondaryZoneRecordReadList 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 (*SecondaryZoneRecordReadList) GetHref

func (o *SecondaryZoneRecordReadList) GetHref() string

GetHref returns the Href field value

func (*SecondaryZoneRecordReadList) GetHrefOk

func (o *SecondaryZoneRecordReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadList) GetId

GetId returns the Id field value

func (*SecondaryZoneRecordReadList) GetIdOk

func (o *SecondaryZoneRecordReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadList) GetItems

GetItems returns the Items field value

func (*SecondaryZoneRecordReadList) GetItemsOk

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadList) GetLimit

func (o *SecondaryZoneRecordReadList) GetLimit() float32

GetLimit returns the Limit field value

func (*SecondaryZoneRecordReadList) GetLimitOk

func (o *SecondaryZoneRecordReadList) GetLimitOk() (*float32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *SecondaryZoneRecordReadList) GetLinks() Links

GetLinks returns the Links field value

func (*SecondaryZoneRecordReadList) GetLinksOk

func (o *SecondaryZoneRecordReadList) GetLinksOk() (*Links, bool)

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

func (*SecondaryZoneRecordReadList) GetMetadata

GetMetadata returns the Metadata field value

func (*SecondaryZoneRecordReadList) GetMetadataOk

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadList) GetOffset

func (o *SecondaryZoneRecordReadList) GetOffset() float32

GetOffset returns the Offset field value

func (*SecondaryZoneRecordReadList) GetOffsetOk

func (o *SecondaryZoneRecordReadList) GetOffsetOk() (*float32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadList) GetType

func (o *SecondaryZoneRecordReadList) GetType() string

GetType returns the Type field value

func (*SecondaryZoneRecordReadList) GetTypeOk

func (o *SecondaryZoneRecordReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadList) SetHref

func (o *SecondaryZoneRecordReadList) SetHref(v string)

SetHref sets field value

func (*SecondaryZoneRecordReadList) SetId

func (o *SecondaryZoneRecordReadList) SetId(v string)

SetId sets field value

func (*SecondaryZoneRecordReadList) SetItems

SetItems sets field value

func (*SecondaryZoneRecordReadList) SetLimit

func (o *SecondaryZoneRecordReadList) SetLimit(v float32)

SetLimit sets field value

func (o *SecondaryZoneRecordReadList) SetLinks(v Links)

SetLinks sets field value

func (*SecondaryZoneRecordReadList) SetMetadata

SetMetadata sets field value

func (*SecondaryZoneRecordReadList) SetOffset

func (o *SecondaryZoneRecordReadList) SetOffset(v float32)

SetOffset sets field value

func (*SecondaryZoneRecordReadList) SetType

func (o *SecondaryZoneRecordReadList) SetType(v string)

SetType sets field value

func (SecondaryZoneRecordReadList) ToMap

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

type SecondaryZoneRecordReadListMetadata

type SecondaryZoneRecordReadListMetadata struct {
	// Indicates IP addresses of primary nameservers for a secondary zone. Accepts IPv4 and IPv6 addresses
	PrimaryIps []string `json:"primaryIps"`
}

SecondaryZoneRecordReadListMetadata Shows the specific properties for secondary zones

func NewSecondaryZoneRecordReadListMetadata

func NewSecondaryZoneRecordReadListMetadata(primaryIps []string) *SecondaryZoneRecordReadListMetadata

NewSecondaryZoneRecordReadListMetadata instantiates a new SecondaryZoneRecordReadListMetadata 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 NewSecondaryZoneRecordReadListMetadataWithDefaults

func NewSecondaryZoneRecordReadListMetadataWithDefaults() *SecondaryZoneRecordReadListMetadata

NewSecondaryZoneRecordReadListMetadataWithDefaults instantiates a new SecondaryZoneRecordReadListMetadata 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 (*SecondaryZoneRecordReadListMetadata) GetPrimaryIps

func (o *SecondaryZoneRecordReadListMetadata) GetPrimaryIps() []string

GetPrimaryIps returns the PrimaryIps field value

func (*SecondaryZoneRecordReadListMetadata) GetPrimaryIpsOk

func (o *SecondaryZoneRecordReadListMetadata) GetPrimaryIpsOk() ([]string, bool)

GetPrimaryIpsOk returns a tuple with the PrimaryIps field value and a boolean to check if the value has been set.

func (*SecondaryZoneRecordReadListMetadata) SetPrimaryIps

func (o *SecondaryZoneRecordReadListMetadata) SetPrimaryIps(v []string)

SetPrimaryIps sets field value

func (SecondaryZoneRecordReadListMetadata) ToMap

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

type SecondaryZonesApiService

type SecondaryZonesApiService service

SecondaryZonesApiService SecondaryZonesApi service

func (*SecondaryZonesApiService) SecondaryzonesAxfrGet

func (a *SecondaryZonesApiService) SecondaryzonesAxfrGet(ctx _context.Context, secondaryZoneId string) ApiSecondaryzonesAxfrGetRequest
  • SecondaryzonesAxfrGet Get status of zone transfer
  • Get status of zone transfer.

Note that Cloud DNS relies on the following Anycast addresses for sending DNS notify messages. Make sure to whitelist on your end:

  • IPv4: 212.227.123.25

  • IPv6: 2001:8d8:fe:53::5cd:25

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

  • @param secondaryZoneId The ID (UUID) of the DNS zone.

  • @return ApiSecondaryzonesAxfrGetRequest

func (*SecondaryZonesApiService) SecondaryzonesAxfrGetExecute

* Execute executes the request * @return ZoneTransferPrimaryIpsStatus

func (*SecondaryZonesApiService) SecondaryzonesAxfrPut

func (a *SecondaryZonesApiService) SecondaryzonesAxfrPut(ctx _context.Context, secondaryZoneId string) ApiSecondaryzonesAxfrPutRequest
  • SecondaryzonesAxfrPut Start zone transfer
  • Initiate zone transfer.

Note that Cloud DNS relies on the following Anycast addresses for sending DNS notify messages. Make sure to whitelist on your end:

  • IPv4: 212.227.123.25

  • IPv6: 2001:8d8:fe:53::5cd:25

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

  • @param secondaryZoneId The ID (UUID) of the DNS zone.

  • @return ApiSecondaryzonesAxfrPutRequest

func (*SecondaryZonesApiService) SecondaryzonesAxfrPutExecute

func (a *SecondaryZonesApiService) SecondaryzonesAxfrPutExecute(r ApiSecondaryzonesAxfrPutRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*SecondaryZonesApiService) SecondaryzonesDelete

func (a *SecondaryZonesApiService) SecondaryzonesDelete(ctx _context.Context, secondaryZoneId string) ApiSecondaryzonesDeleteRequest

* SecondaryzonesDelete Delete a secondary zone * Deletes the specified secondary zone. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param secondaryZoneId The ID (UUID) of the DNS zone. * @return ApiSecondaryzonesDeleteRequest

func (*SecondaryZonesApiService) SecondaryzonesDeleteExecute

func (a *SecondaryZonesApiService) SecondaryzonesDeleteExecute(r ApiSecondaryzonesDeleteRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*SecondaryZonesApiService) SecondaryzonesFindById

func (a *SecondaryZonesApiService) SecondaryzonesFindById(ctx _context.Context, secondaryZoneId string) ApiSecondaryzonesFindByIdRequest

* SecondaryzonesFindById Retrieve a secondary zone * Returns a DNS secondary zone by given ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param secondaryZoneId The ID (UUID) of the DNS zone. * @return ApiSecondaryzonesFindByIdRequest

func (*SecondaryZonesApiService) SecondaryzonesFindByIdExecute

* Execute executes the request * @return SecondaryZoneRead

func (*SecondaryZonesApiService) SecondaryzonesGet

* SecondaryzonesGet Retrieve secondary zones * Returns a list of the secondary DNS zones for the customer. Default limit is the first 100 items. Use pagination query parameters for listing more items (up to 1000). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSecondaryzonesGetRequest

func (*SecondaryZonesApiService) SecondaryzonesGetExecute

* Execute executes the request * @return SecondaryZoneReadList

func (*SecondaryZonesApiService) SecondaryzonesPost

  • SecondaryzonesPost Create a secondary zone
  • Creates a new secondary zone with default NS and SOA records.

Note that Cloud DNS relies on the following Anycast addresses for sending DNS notify messages. Make sure to whitelist on your end:

  • IPv4: 212.227.123.25

  • IPv6: 2001:8d8:fe:53::5cd:25

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

  • @return ApiSecondaryzonesPostRequest

func (*SecondaryZonesApiService) SecondaryzonesPostExecute

* Execute executes the request * @return SecondaryZoneRead

func (*SecondaryZonesApiService) SecondaryzonesPut

func (a *SecondaryZonesApiService) SecondaryzonesPut(ctx _context.Context, secondaryZoneId string) ApiSecondaryzonesPutRequest

* SecondaryzonesPut Update a secondary zone * Updates or creates a secondary zone for the provided secondary Zone ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param secondaryZoneId The ID (UUID) of the DNS zone. * @return ApiSecondaryzonesPutRequest

func (*SecondaryZonesApiService) SecondaryzonesPutExecute

* Execute executes the request * @return SecondaryZoneRead

type TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

type Zone

type Zone struct {
	// The zone name
	ZoneName string `json:"zoneName"`
	// The hosted zone is used for...
	Description *string `json:"description,omitempty"`
	// Users can activate and deactivate zones.
	Enabled *bool `json:"enabled,omitempty"`
}

Zone struct for Zone

func NewZone

func NewZone(zoneName string) *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) GetDescription

func (o *Zone) GetDescription() string

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

func (*Zone) GetDescriptionOk

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

func (o *Zone) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*Zone) GetEnabledOk

func (o *Zone) GetEnabledOk() (*bool, bool)

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

func (*Zone) GetZoneName

func (o *Zone) GetZoneName() string

GetZoneName returns the ZoneName field value

func (*Zone) GetZoneNameOk

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

GetZoneNameOk returns a tuple with the ZoneName field value and a boolean to check if the value has been set.

func (*Zone) HasDescription

func (o *Zone) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Zone) HasEnabled

func (o *Zone) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*Zone) SetDescription

func (o *Zone) SetDescription(v string)

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

func (*Zone) SetEnabled

func (o *Zone) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*Zone) SetZoneName

func (o *Zone) SetZoneName(v string)

SetZoneName sets field value

func (Zone) ToMap

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

type ZoneAllOf

type ZoneAllOf struct {
	// Users can activate and deactivate zones.
	Enabled *bool `json:"enabled,omitempty"`
}

ZoneAllOf Indicates the specific fields for a primary zone. This type of zone is the default one.

func NewZoneAllOf

func NewZoneAllOf() *ZoneAllOf

NewZoneAllOf instantiates a new ZoneAllOf 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 NewZoneAllOfWithDefaults

func NewZoneAllOfWithDefaults() *ZoneAllOf

NewZoneAllOfWithDefaults instantiates a new ZoneAllOf 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 (*ZoneAllOf) GetEnabled

func (o *ZoneAllOf) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*ZoneAllOf) GetEnabledOk

func (o *ZoneAllOf) GetEnabledOk() (*bool, bool)

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

func (*ZoneAllOf) HasEnabled

func (o *ZoneAllOf) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*ZoneAllOf) SetEnabled

func (o *ZoneAllOf) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (ZoneAllOf) ToMap

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

type ZoneCreate

type ZoneCreate struct {
	Properties Zone `json:"properties"`
}

ZoneCreate struct for ZoneCreate

func NewZoneCreate

func NewZoneCreate(properties Zone) *ZoneCreate

NewZoneCreate instantiates a new ZoneCreate 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 NewZoneCreateWithDefaults

func NewZoneCreateWithDefaults() *ZoneCreate

NewZoneCreateWithDefaults instantiates a new ZoneCreate 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 (*ZoneCreate) GetProperties

func (o *ZoneCreate) GetProperties() Zone

GetProperties returns the Properties field value

func (*ZoneCreate) GetPropertiesOk

func (o *ZoneCreate) GetPropertiesOk() (*Zone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ZoneCreate) SetProperties

func (o *ZoneCreate) SetProperties(v Zone)

SetProperties sets field value

func (ZoneCreate) ToMap

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

type ZoneEnsure

type ZoneEnsure struct {
	Properties Zone `json:"properties"`
}

ZoneEnsure struct for ZoneEnsure

func NewZoneEnsure

func NewZoneEnsure(properties Zone) *ZoneEnsure

NewZoneEnsure instantiates a new ZoneEnsure 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 NewZoneEnsureWithDefaults

func NewZoneEnsureWithDefaults() *ZoneEnsure

NewZoneEnsureWithDefaults instantiates a new ZoneEnsure 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 (*ZoneEnsure) GetProperties

func (o *ZoneEnsure) GetProperties() Zone

GetProperties returns the Properties field value

func (*ZoneEnsure) GetPropertiesOk

func (o *ZoneEnsure) GetPropertiesOk() (*Zone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ZoneEnsure) SetProperties

func (o *ZoneEnsure) SetProperties(v Zone)

SetProperties sets field value

func (ZoneEnsure) ToMap

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

type ZoneFilesApiService

type ZoneFilesApiService service

ZoneFilesApiService ZoneFilesApi service

func (*ZoneFilesApiService) ZonesZonefileGet

func (a *ZoneFilesApiService) ZonesZonefileGet(ctx _context.Context, zoneId string) ApiZonesZonefileGetRequest

* ZonesZonefileGet Retrieve a zone file * Returns an exported zone file in BIND format (RFC 1035). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesZonefileGetRequest

func (*ZoneFilesApiService) ZonesZonefileGetExecute

func (a *ZoneFilesApiService) ZonesZonefileGetExecute(r ApiZonesZonefileGetRequest) (*shared.APIResponse, error)

* Execute executes the request

func (*ZoneFilesApiService) ZonesZonefilePut

func (a *ZoneFilesApiService) ZonesZonefilePut(ctx _context.Context, zoneId string) ApiZonesZonefilePutRequest

* ZonesZonefilePut Updates a zone with a file * Updates a zone with zone file in BIND format (RFC 1035). All records in the zone are replaced with the ones provided. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesZonefilePutRequest

func (*ZoneFilesApiService) ZonesZonefilePutExecute

* Execute executes the request * @return RecordReadList

type ZoneRead

type ZoneRead struct {
	// The zone ID (UUID).
	Id         string                       `json:"id"`
	Type       string                       `json:"type"`
	Href       string                       `json:"href"`
	Metadata   MetadataWithStateNameservers `json:"metadata"`
	Properties Zone                         `json:"properties"`
}

ZoneRead struct for ZoneRead

func NewZoneRead

func NewZoneRead(id string, type_ string, href string, metadata MetadataWithStateNameservers, properties Zone) *ZoneRead

NewZoneRead instantiates a new ZoneRead 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 NewZoneReadWithDefaults

func NewZoneReadWithDefaults() *ZoneRead

NewZoneReadWithDefaults instantiates a new ZoneRead 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 (*ZoneRead) GetHref

func (o *ZoneRead) GetHref() string

GetHref returns the Href field value

func (*ZoneRead) GetHrefOk

func (o *ZoneRead) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ZoneRead) GetId

func (o *ZoneRead) GetId() string

GetId returns the Id field value

func (*ZoneRead) GetIdOk

func (o *ZoneRead) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ZoneRead) GetMetadata

func (o *ZoneRead) GetMetadata() MetadataWithStateNameservers

GetMetadata returns the Metadata field value

func (*ZoneRead) GetMetadataOk

func (o *ZoneRead) GetMetadataOk() (*MetadataWithStateNameservers, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*ZoneRead) GetProperties

func (o *ZoneRead) GetProperties() Zone

GetProperties returns the Properties field value

func (*ZoneRead) GetPropertiesOk

func (o *ZoneRead) GetPropertiesOk() (*Zone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ZoneRead) GetType

func (o *ZoneRead) GetType() string

GetType returns the Type field value

func (*ZoneRead) GetTypeOk

func (o *ZoneRead) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ZoneRead) SetHref

func (o *ZoneRead) SetHref(v string)

SetHref sets field value

func (*ZoneRead) SetId

func (o *ZoneRead) SetId(v string)

SetId sets field value

func (*ZoneRead) SetMetadata

func (o *ZoneRead) SetMetadata(v MetadataWithStateNameservers)

SetMetadata sets field value

func (*ZoneRead) SetProperties

func (o *ZoneRead) SetProperties(v Zone)

SetProperties sets field value

func (*ZoneRead) SetType

func (o *ZoneRead) SetType(v string)

SetType sets field value

func (ZoneRead) ToMap

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

type ZoneReadAllOf

type ZoneReadAllOf struct {
	Properties Zone `json:"properties"`
}

ZoneReadAllOf struct for ZoneReadAllOf

func NewZoneReadAllOf

func NewZoneReadAllOf(properties Zone) *ZoneReadAllOf

NewZoneReadAllOf instantiates a new ZoneReadAllOf 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 NewZoneReadAllOfWithDefaults

func NewZoneReadAllOfWithDefaults() *ZoneReadAllOf

NewZoneReadAllOfWithDefaults instantiates a new ZoneReadAllOf 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 (*ZoneReadAllOf) GetProperties

func (o *ZoneReadAllOf) GetProperties() Zone

GetProperties returns the Properties field value

func (*ZoneReadAllOf) GetPropertiesOk

func (o *ZoneReadAllOf) GetPropertiesOk() (*Zone, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.

func (*ZoneReadAllOf) SetProperties

func (o *ZoneReadAllOf) SetProperties(v Zone)

SetProperties sets field value

func (ZoneReadAllOf) ToMap

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

type ZoneReadList

type ZoneReadList struct {
	// ID (UUID) created to identify this action.
	Id   string `json:"id"`
	Type string `json:"type"`
	Href string `json:"href"`
	// Pagination offset.
	Offset float32 `json:"offset"`
	// Pagination limit.
	Limit float32    `json:"limit"`
	Links Links      `json:"_links"`
	Items []ZoneRead `json:"items"`
}

ZoneReadList struct for ZoneReadList

func NewZoneReadList

func NewZoneReadList(id string, type_ string, href string, offset float32, limit float32, links Links, items []ZoneRead) *ZoneReadList

NewZoneReadList instantiates a new ZoneReadList 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 NewZoneReadListWithDefaults

func NewZoneReadListWithDefaults() *ZoneReadList

NewZoneReadListWithDefaults instantiates a new ZoneReadList 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 (*ZoneReadList) GetHref

func (o *ZoneReadList) GetHref() string

GetHref returns the Href field value

func (*ZoneReadList) GetHrefOk

func (o *ZoneReadList) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (*ZoneReadList) GetId

func (o *ZoneReadList) GetId() string

GetId returns the Id field value

func (*ZoneReadList) GetIdOk

func (o *ZoneReadList) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ZoneReadList) GetItems

func (o *ZoneReadList) GetItems() []ZoneRead

GetItems returns the Items field value

func (*ZoneReadList) GetItemsOk

func (o *ZoneReadList) GetItemsOk() ([]ZoneRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ZoneReadList) GetLimit

func (o *ZoneReadList) GetLimit() float32

GetLimit returns the Limit field value

func (*ZoneReadList) GetLimitOk

func (o *ZoneReadList) GetLimitOk() (*float32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (o *ZoneReadList) GetLinks() Links

GetLinks returns the Links field value

func (*ZoneReadList) GetLinksOk

func (o *ZoneReadList) GetLinksOk() (*Links, bool)

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

func (*ZoneReadList) GetOffset

func (o *ZoneReadList) GetOffset() float32

GetOffset returns the Offset field value

func (*ZoneReadList) GetOffsetOk

func (o *ZoneReadList) GetOffsetOk() (*float32, bool)

GetOffsetOk returns a tuple with the Offset field value and a boolean to check if the value has been set.

func (*ZoneReadList) GetType

func (o *ZoneReadList) GetType() string

GetType returns the Type field value

func (*ZoneReadList) GetTypeOk

func (o *ZoneReadList) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ZoneReadList) SetHref

func (o *ZoneReadList) SetHref(v string)

SetHref sets field value

func (*ZoneReadList) SetId

func (o *ZoneReadList) SetId(v string)

SetId sets field value

func (*ZoneReadList) SetItems

func (o *ZoneReadList) SetItems(v []ZoneRead)

SetItems sets field value

func (*ZoneReadList) SetLimit

func (o *ZoneReadList) SetLimit(v float32)

SetLimit sets field value

func (o *ZoneReadList) SetLinks(v Links)

SetLinks sets field value

func (*ZoneReadList) SetOffset

func (o *ZoneReadList) SetOffset(v float32)

SetOffset sets field value

func (*ZoneReadList) SetType

func (o *ZoneReadList) SetType(v string)

SetType sets field value

func (ZoneReadList) ToMap

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

type ZoneReadListAllOf

type ZoneReadListAllOf struct {
	Items []ZoneRead `json:"items"`
}

ZoneReadListAllOf List of primary zones

func NewZoneReadListAllOf

func NewZoneReadListAllOf(items []ZoneRead) *ZoneReadListAllOf

NewZoneReadListAllOf instantiates a new ZoneReadListAllOf 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 NewZoneReadListAllOfWithDefaults

func NewZoneReadListAllOfWithDefaults() *ZoneReadListAllOf

NewZoneReadListAllOfWithDefaults instantiates a new ZoneReadListAllOf 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 (*ZoneReadListAllOf) GetItems

func (o *ZoneReadListAllOf) GetItems() []ZoneRead

GetItems returns the Items field value

func (*ZoneReadListAllOf) GetItemsOk

func (o *ZoneReadListAllOf) GetItemsOk() ([]ZoneRead, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ZoneReadListAllOf) SetItems

func (o *ZoneReadListAllOf) SetItems(v []ZoneRead)

SetItems sets field value

func (ZoneReadListAllOf) ToMap

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

type ZoneTransferPrimaryIpStatus

type ZoneTransferPrimaryIpStatus struct {
	// one single IP from the primaryIps field for secondary zones
	PrimaryIp string `json:"primaryIp"`
	// Human readable status of the zone transfer status for the IP
	Status string `json:"status"`
	// Human readable explanation of the error when status is not ok
	ErrorMessage *string `json:"errorMessage,omitempty"`
}

ZoneTransferPrimaryIpStatus struct for ZoneTransferPrimaryIpStatus

func NewZoneTransferPrimaryIpStatus

func NewZoneTransferPrimaryIpStatus(primaryIp string, status string) *ZoneTransferPrimaryIpStatus

NewZoneTransferPrimaryIpStatus instantiates a new ZoneTransferPrimaryIpStatus 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 NewZoneTransferPrimaryIpStatusWithDefaults

func NewZoneTransferPrimaryIpStatusWithDefaults() *ZoneTransferPrimaryIpStatus

NewZoneTransferPrimaryIpStatusWithDefaults instantiates a new ZoneTransferPrimaryIpStatus 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 (*ZoneTransferPrimaryIpStatus) GetErrorMessage

func (o *ZoneTransferPrimaryIpStatus) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*ZoneTransferPrimaryIpStatus) GetErrorMessageOk

func (o *ZoneTransferPrimaryIpStatus) GetErrorMessageOk() (*string, bool)

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

func (*ZoneTransferPrimaryIpStatus) GetPrimaryIp

func (o *ZoneTransferPrimaryIpStatus) GetPrimaryIp() string

GetPrimaryIp returns the PrimaryIp field value

func (*ZoneTransferPrimaryIpStatus) GetPrimaryIpOk

func (o *ZoneTransferPrimaryIpStatus) GetPrimaryIpOk() (*string, bool)

GetPrimaryIpOk returns a tuple with the PrimaryIp field value and a boolean to check if the value has been set.

func (*ZoneTransferPrimaryIpStatus) GetStatus

func (o *ZoneTransferPrimaryIpStatus) GetStatus() string

GetStatus returns the Status field value

func (*ZoneTransferPrimaryIpStatus) GetStatusOk

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

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

func (*ZoneTransferPrimaryIpStatus) HasErrorMessage

func (o *ZoneTransferPrimaryIpStatus) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*ZoneTransferPrimaryIpStatus) SetErrorMessage

func (o *ZoneTransferPrimaryIpStatus) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*ZoneTransferPrimaryIpStatus) SetPrimaryIp

func (o *ZoneTransferPrimaryIpStatus) SetPrimaryIp(v string)

SetPrimaryIp sets field value

func (*ZoneTransferPrimaryIpStatus) SetStatus

func (o *ZoneTransferPrimaryIpStatus) SetStatus(v string)

SetStatus sets field value

func (ZoneTransferPrimaryIpStatus) ToMap

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

type ZoneTransferPrimaryIpsStatus

type ZoneTransferPrimaryIpsStatus struct {
	Type  string                        `json:"type"`
	Items []ZoneTransferPrimaryIpStatus `json:"items"`
}

ZoneTransferPrimaryIpsStatus Indicates, for secondary zones, the transfer status for each one single IP defined on primaryIps field

func NewZoneTransferPrimaryIpsStatus

func NewZoneTransferPrimaryIpsStatus(type_ string, items []ZoneTransferPrimaryIpStatus) *ZoneTransferPrimaryIpsStatus

NewZoneTransferPrimaryIpsStatus instantiates a new ZoneTransferPrimaryIpsStatus 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 NewZoneTransferPrimaryIpsStatusWithDefaults

func NewZoneTransferPrimaryIpsStatusWithDefaults() *ZoneTransferPrimaryIpsStatus

NewZoneTransferPrimaryIpsStatusWithDefaults instantiates a new ZoneTransferPrimaryIpsStatus 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 (*ZoneTransferPrimaryIpsStatus) GetItems

GetItems returns the Items field value

func (*ZoneTransferPrimaryIpsStatus) GetItemsOk

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ZoneTransferPrimaryIpsStatus) GetType

func (o *ZoneTransferPrimaryIpsStatus) GetType() string

GetType returns the Type field value

func (*ZoneTransferPrimaryIpsStatus) GetTypeOk

func (o *ZoneTransferPrimaryIpsStatus) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ZoneTransferPrimaryIpsStatus) SetItems

SetItems sets field value

func (*ZoneTransferPrimaryIpsStatus) SetType

func (o *ZoneTransferPrimaryIpsStatus) SetType(v string)

SetType sets field value

func (ZoneTransferPrimaryIpsStatus) ToMap

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

type ZonesApiService

type ZonesApiService service

ZonesApiService ZonesApi service

func (*ZonesApiService) ZonesDelete

func (a *ZonesApiService) ZonesDelete(ctx _context.Context, zoneId string) ApiZonesDeleteRequest

* ZonesDelete Delete a zone * Deletes the specified zone and all of the records it contains. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesDeleteRequest

func (*ZonesApiService) ZonesDeleteExecute

func (a *ZonesApiService) ZonesDeleteExecute(r ApiZonesDeleteRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*ZonesApiService) ZonesFindById

func (a *ZonesApiService) ZonesFindById(ctx _context.Context, zoneId string) ApiZonesFindByIdRequest

* ZonesFindById Retrieve a zone * Returns a DNS zone by given ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesFindByIdRequest

func (*ZonesApiService) ZonesFindByIdExecute

func (a *ZonesApiService) ZonesFindByIdExecute(r ApiZonesFindByIdRequest) (ZoneRead, *shared.APIResponse, error)

* Execute executes the request * @return ZoneRead

func (*ZonesApiService) ZonesGet

* ZonesGet Retrieve zones * Returns a list of the DNS zones for the customer. Default limit is the first 100 items. Use pagination query parameters for listing more items (up to 1000). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiZonesGetRequest

func (*ZonesApiService) ZonesGetExecute

* Execute executes the request * @return ZoneReadList

func (*ZonesApiService) ZonesPost

* ZonesPost Create a zone * Creates a new zone with default NS and SOA records. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiZonesPostRequest

func (*ZonesApiService) ZonesPostExecute

* Execute executes the request * @return ZoneRead

func (*ZonesApiService) ZonesPut

func (a *ZonesApiService) ZonesPut(ctx _context.Context, zoneId string) ApiZonesPutRequest

* ZonesPut Update a zone * Updates or creates a zone for the provided zone ID.

* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param zoneId The ID (UUID) of the DNS zone. * @return ApiZonesPutRequest

func (*ZonesApiService) ZonesPutExecute

* Execute executes the request * @return ZoneRead

type ZskBits

type ZskBits int32

ZskBits Zone signing key length in bits.

const (
	ZSKBITS__1024 ZskBits = 1024
	ZSKBITS__2048 ZskBits = 2048
	ZSKBITS__4096 ZskBits = 4096
)

List of zskBits

func (ZskBits) Ptr

func (v ZskBits) Ptr() *ZskBits

Ptr returns reference to zskBits value

func (*ZskBits) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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