Categorygithub.com/ionos-cloud/sdk-go-dns
modulepackage
1.2.1
Repository: https://github.com/ionos-cloud/sdk-go-dns.git
Documentation: pkg.go.dev

# README

Go API client for ionoscloud

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

Overview

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

Installation

Install the following dependencies:

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

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

import ionoscloud "github.com/ionos-cloud/sdk-go-dns"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerIndex, 1)

Templated Server URL

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

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

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

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
DNSSECApiZonesKeysDeleteDelete /zones/{zoneId}/keysDelete a DNSSEC key
DNSSECApiZonesKeysGetGet /zones/{zoneId}/keysRetrieve a DNSSEC key
DNSSECApiZonesKeysPostPost /zones/{zoneId}/keysCreate a DNSSEC key
QuotaApiQuotaGetGet /quotaRetrieve resources quota
RecordsApiRecordsGetGet /recordsRetrieve all records from primary zones
RecordsApiSecondaryzonesRecordsGetGet /secondaryzones/{secondaryZoneId}/recordsRetrieve records for a secondary zone
RecordsApiZonesRecordsDeleteDelete /zones/{zoneId}/records/{recordId}Delete a record
RecordsApiZonesRecordsFindByIdGet /zones/{zoneId}/records/{recordId}Retrieve a record
RecordsApiZonesRecordsGetGet /zones/{zoneId}/recordsRetrieve records
RecordsApiZonesRecordsPostPost /zones/{zoneId}/recordsCreate a record
RecordsApiZonesRecordsPutPut /zones/{zoneId}/records/{recordId}Update a record
ReverseRecordsApiReverserecordsDeleteDelete /reverserecords/{reverserecordId}Delete a reverse DNS record
ReverseRecordsApiReverserecordsFindByIdGet /reverserecords/{reverserecordId}Retrieve a reverse DNS record
ReverseRecordsApiReverserecordsGetGet /reverserecordsRetrieves existing reverse DNS records
ReverseRecordsApiReverserecordsPostPost /reverserecordsCreate a reverse DNS record
ReverseRecordsApiReverserecordsPutPut /reverserecords/{reverserecordId}Update a reverse DNS record
SecondaryZonesApiSecondaryzonesAxfrGetGet /secondaryzones/{secondaryZoneId}/axfrGet status of zone transfer
SecondaryZonesApiSecondaryzonesAxfrPutPut /secondaryzones/{secondaryZoneId}/axfrStart zone transfer
SecondaryZonesApiSecondaryzonesDeleteDelete /secondaryzones/{secondaryZoneId}Delete a secondary zone
SecondaryZonesApiSecondaryzonesFindByIdGet /secondaryzones/{secondaryZoneId}Retrieve a secondary zone
SecondaryZonesApiSecondaryzonesGetGet /secondaryzonesRetrieve secondary zones
SecondaryZonesApiSecondaryzonesPostPost /secondaryzonesCreate a secondary zone
SecondaryZonesApiSecondaryzonesPutPut /secondaryzones/{secondaryZoneId}Update a secondary zone
ZoneFilesApiZonesZonefileGetGet /zones/{zoneId}/zonefileRetrieve a zone file
ZoneFilesApiZonesZonefilePutPut /zones/{zoneId}/zonefileUpdates a zone with a file
ZonesApiZonesDeleteDelete /zones/{zoneId}Delete a zone
ZonesApiZonesFindByIdGet /zones/{zoneId}Retrieve a zone
ZonesApiZonesGetGet /zonesRetrieve zones
ZonesApiZonesPostPost /zonesCreate a zone
ZonesApiZonesPutPut /zones/{zoneId}Update a zone

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth

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

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

Example

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

Documentation for Utility Methods

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

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

Author

[email protected]

# Functions

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport.
CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
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.
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.
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.
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.
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.
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.
NewConfiguration returns a new Configuration object.
No description provided by the author
No description provided by the author
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
NewGenericOpenAPIError - constructor for GenericOpenAPIError.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
PtrBool - returns a pointer to given boolean value.
PtrFloat32 - returns a pointer to given float value.
PtrFloat64 - returns a pointer to given float value.
PtrInt - returns a pointer to given integer value.
PtrInt32 - returns a pointer to given integer value.
PtrInt64 - returns a pointer to given integer value.
PtrString - returns a pointer to given string value.
PtrTime - returns a pointer to given Time value.
No description provided by the author
ToBool - returns the value of the bool pointer passed in.
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil.
ToBoolSlice - returns a bool slice of the pointer passed in.
ToByte - returns the value of the byte pointer passed in.
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil.
ToByteSlice - returns a byte slice of the pointer passed in.
ToFloat32 - returns the value of the float32 pointer passed in.
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil.
ToFloat32Slice - returns a float32 slice of the pointer passed in.
ToFloat64 - returns the value of the float64 pointer passed in.
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil.
ToFloat64Slice - returns a float64 slice of the pointer passed in.
ToInt - returns the value of the int pointer passed in.
ToInt16 - returns the value of the int16 pointer passed in.
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil.
ToInt16Slice - returns a int16 slice of the pointer passed in.
ToInt32 - returns the value of the int32 pointer passed in.
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil.
ToInt32Slice - returns a int32 slice of the pointer passed in.
ToInt64 - returns the value of the int64 pointer passed in.
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil.
ToInt64Slice - returns a int64 slice of the pointer passed in.
ToInt8 - returns the value of the int8 pointer passed in.
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil.
ToInt8Slice - returns a int8 slice of the pointer passed in.
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil.
ToIntSlice - returns a int slice of the pointer passed in.
ToPtr - returns a pointer to the given value.
ToString - returns the value of the string pointer passed in.
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil.
ToStringSlice - returns a string slice of the pointer passed in.
ToTime - returns the value of the Time pointer passed in.
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil.
ToTimeSlice - returns a Time slice of the pointer passed in.
ToUint - returns the value of the uint pointer passed in.
ToUint16 - returns the value of the uint16 pointer passed in.
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil.
ToUint16Slice - returns a uint16 slice of the pointer passed in.
ToUint32 - returns the value of the uint32 pointer passed in.
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil.
ToUint32Slice - returns a uint32 slice of the pointer passed in.
ToUint64 - returns the value of the uint64 pointer passed in.
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil.
ToUint64Slice - returns a uint63 slice of the pointer passed in.
ToUint8 -returns the value of the uint8 pointer passed in.
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil.
ToUint8Slice - returns a uint8 slice of the pointer passed in.
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil.
ToUintSlice - returns a uint slice of the pointer passed in.
ToValue - returns the value of the pointer passed in.
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil.

# Constants

List of algorithm.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List of kskBits.
List of kskBits.
List of kskBits.
List of nsecMode.
List of nsecMode.
No description provided by the author
List of ProvisioningState.
List of ProvisioningState.
List of ProvisioningState.
List of ProvisioningState.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Trace We recommend you only set this field for debugging purposes.
No description provided by the author
List of zskBits.
List of zskBits.
List of zskBits.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
No description provided by the author
No description provided by the author

# Structs

APIClient manages communication with the IONOS Cloud - DNS API API v1.16.0 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
CommonZone Indicates the fields for a zone to be created.
CommonZoneRead struct for CommonZoneRead.
CommonZoneReadList struct for CommonZoneReadList.
Configuration stores the configuration of the API client.
DnssecKey struct for DnssecKey.
DnssecKeyCreate struct for DnssecKeyCreate.
DnssecKeyParameters Parameters used to sign zone.
DnssecKeyReadCreation struct for DnssecKeyReadCreation.
DnssecKeyReadList struct for DnssecKeyReadList.
DnssecKeyReadListMetadata Metadata of the resource with not state information.
DnssecKeyReadListProperties Properties of the key.
DnssecKeyReadListPropertiesKeyParameters struct for DnssecKeyReadListPropertiesKeyParameters.
DnssecKeyReadListPropertiesNsecParameters struct for DnssecKeyReadListPropertiesNsecParameters.
Error struct for Error.
ErrorMessages struct for ErrorMessages.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
No description provided by the author
KeyData Represents the separate components of the RDATA for a DNSKEY.
KeyParameters Key parameters used to sign the zone.
Links URLs to navigate the different pages.
Metadata Metadata of the resource.
MetadataForSecondaryZoneRecords Metadata for records of secondary zones.
MetadataWithStateFqdnZoneId struct for MetadataWithStateFqdnZoneId.
MetadataWithStateFqdnZoneIdAllOf struct for MetadataWithStateFqdnZoneIdAllOf.
MetadataWithStateNameservers struct for MetadataWithStateNameservers.
MetadataWithStateNameserversAllOf struct for MetadataWithStateNameserversAllOf.
NsecParameters Nsec parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Quota struct for Quota.
QuotaDetail Count of zones and records.
Record struct for Record.
RecordCreate struct for RecordCreate.
RecordEnsure struct for RecordEnsure.
RecordRead struct for RecordRead.
RecordReadList struct for RecordReadList.
ReverseRecord The reverse DNS record.
ReverseRecordCreate struct for ReverseRecordCreate.
ReverseRecordEnsure struct for ReverseRecordEnsure.
ReverseRecordRead struct for ReverseRecordRead.
ReverseRecordsReadList struct for ReverseRecordsReadList.
SecondaryZone struct for SecondaryZone.
SecondaryZoneAllOf Indicates the fields for a secondary zone to be created.
SecondaryZoneCreate struct for SecondaryZoneCreate.
SecondaryZoneEnsure struct for SecondaryZoneEnsure.
SecondaryZoneRead struct for SecondaryZoneRead.
SecondaryZoneReadAllOf struct for SecondaryZoneReadAllOf.
SecondaryZoneReadList struct for SecondaryZoneReadList.
SecondaryZoneReadListAllOf List of secondary zones.
SecondaryZoneRecordRead struct for SecondaryZoneRecordRead.
SecondaryZoneRecordReadList struct for SecondaryZoneRecordReadList.
SecondaryZoneRecordReadListMetadata Shows the specific properties for secondary zones.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
Zone struct for Zone.
ZoneAllOf Indicates the specific fields for a primary zone.
ZoneCreate struct for ZoneCreate.
ZoneEnsure struct for ZoneEnsure.
ZoneRead struct for ZoneRead.
ZoneReadAllOf struct for ZoneReadAllOf.
ZoneReadList struct for ZoneReadList.
ZoneReadListAllOf List of primary zones.
ZoneTransferPrimaryIpsStatus Indicates, for secondary zones, the transfer status for each one single IP defined on primaryIps field.
ZoneTransferPrimaryIpStatus struct for ZoneTransferPrimaryIpStatus.

# Interfaces

No description provided by the author

# Type aliases

Algorithm Algorithm used to generate signing keys (both Key Signing Keys and Zone Signing Keys).
DNSSECApiService DNSSECApi service.
KskBits Key signing key length in bits.
No description provided by the author
NsecMode NSEC mode.
ProvisioningState The list of possible provisioning states in which DNS resource could be at the specific time.
QuotaApiService QuotaApi service.
RecordsApiService RecordsApi service.
ReverseRecordsApiService ReverseRecordsApi service.
SecondaryZonesApiService SecondaryZonesApi service.
ServerConfigurations stores multiple ServerConfiguration items.
TLSDial can be assigned to a http.Transport's DialTLS field.
ZoneFilesApiService ZoneFilesApi service.
ZonesApiService ZonesApi service.
ZskBits Zone signing key length in bits.