Documentation ¶
Index ¶
- Constants
- func AddPinnedCert(transport *http.Transport, pkFingerprint string)
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type ApiRecordsGetRequest
- func (r ApiRecordsGetRequest) Execute() (RecordReadList, *shared.APIResponse, error)
- func (r ApiRecordsGetRequest) FilterName(filterName string) ApiRecordsGetRequest
- func (r ApiRecordsGetRequest) FilterState(filterState ProvisioningState) ApiRecordsGetRequest
- func (r ApiRecordsGetRequest) FilterZoneId(filterZoneId string) ApiRecordsGetRequest
- func (r ApiRecordsGetRequest) Limit(limit int32) ApiRecordsGetRequest
- func (r ApiRecordsGetRequest) Offset(offset int32) ApiRecordsGetRequest
- type ApiZonesDeleteRequest
- type ApiZonesFindByIdRequest
- type ApiZonesGetRequest
- func (r ApiZonesGetRequest) Execute() (ZoneReadList, *shared.APIResponse, error)
- func (r ApiZonesGetRequest) FilterState(filterState ProvisioningState) ApiZonesGetRequest
- func (r ApiZonesGetRequest) FilterZoneName(filterZoneName string) ApiZonesGetRequest
- func (r ApiZonesGetRequest) Limit(limit int32) ApiZonesGetRequest
- func (r ApiZonesGetRequest) Offset(offset int32) ApiZonesGetRequest
- type ApiZonesPostRequest
- type ApiZonesPutRequest
- type ApiZonesRecordsDeleteRequest
- type ApiZonesRecordsFindByIdRequest
- type ApiZonesRecordsGetRequest
- type ApiZonesRecordsPostRequest
- type ApiZonesRecordsPutRequest
- type Error
- func (o *Error) GetHttpStatus() *int32
- func (o *Error) GetHttpStatusOk() (*int32, bool)
- func (o *Error) GetMessages() *[]ErrorMessages
- func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
- func (o *Error) HasHttpStatus() bool
- func (o *Error) HasMessages() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetHttpStatus(v int32)
- func (o *Error) SetMessages(v []ErrorMessages)
- type ErrorMessages
- func (o *ErrorMessages) GetErrorCode() *string
- func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
- func (o *ErrorMessages) GetMessage() *string
- func (o *ErrorMessages) GetMessageOk() (*string, bool)
- func (o *ErrorMessages) HasErrorCode() bool
- func (o *ErrorMessages) HasMessage() bool
- func (o ErrorMessages) MarshalJSON() ([]byte, error)
- func (o *ErrorMessages) SetErrorCode(v string)
- func (o *ErrorMessages) SetMessage(v string)
- type IonosTime
- type Links
- func (o *Links) GetNext() *string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrev() *string
- func (o *Links) GetPrevOk() (*string, bool)
- func (o *Links) GetSelf() *string
- func (o *Links) GetSelfOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrev() bool
- func (o *Links) HasSelf() bool
- func (o Links) MarshalJSON() ([]byte, error)
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrev(v string)
- func (o *Links) SetSelf(v string)
- type Metadata
- func (o *Metadata) GetCreatedDate() *time.Time
- func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)
- func (o *Metadata) GetLastModifiedDate() *time.Time
- func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *Metadata) HasCreatedDate() bool
- func (o *Metadata) HasLastModifiedDate() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCreatedDate(v time.Time)
- func (o *Metadata) SetLastModifiedDate(v time.Time)
- type MetadataWithStateFqdnZoneId
- func (o *MetadataWithStateFqdnZoneId) GetCreatedDate() *time.Time
- func (o *MetadataWithStateFqdnZoneId) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataWithStateFqdnZoneId) GetFqdn() *string
- func (o *MetadataWithStateFqdnZoneId) GetFqdnOk() (*string, bool)
- func (o *MetadataWithStateFqdnZoneId) GetLastModifiedDate() *time.Time
- func (o *MetadataWithStateFqdnZoneId) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataWithStateFqdnZoneId) GetState() *ProvisioningState
- func (o *MetadataWithStateFqdnZoneId) GetStateOk() (*ProvisioningState, bool)
- func (o *MetadataWithStateFqdnZoneId) GetZoneId() *string
- func (o *MetadataWithStateFqdnZoneId) GetZoneIdOk() (*string, bool)
- func (o *MetadataWithStateFqdnZoneId) HasCreatedDate() bool
- func (o *MetadataWithStateFqdnZoneId) HasFqdn() bool
- func (o *MetadataWithStateFqdnZoneId) HasLastModifiedDate() bool
- func (o *MetadataWithStateFqdnZoneId) HasState() bool
- func (o *MetadataWithStateFqdnZoneId) HasZoneId() bool
- func (o MetadataWithStateFqdnZoneId) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStateFqdnZoneId) SetCreatedDate(v time.Time)
- func (o *MetadataWithStateFqdnZoneId) SetFqdn(v string)
- func (o *MetadataWithStateFqdnZoneId) SetLastModifiedDate(v time.Time)
- func (o *MetadataWithStateFqdnZoneId) SetState(v ProvisioningState)
- func (o *MetadataWithStateFqdnZoneId) SetZoneId(v string)
- type MetadataWithStateFqdnZoneIdAllOf
- func (o *MetadataWithStateFqdnZoneIdAllOf) GetFqdn() *string
- func (o *MetadataWithStateFqdnZoneIdAllOf) GetFqdnOk() (*string, bool)
- func (o *MetadataWithStateFqdnZoneIdAllOf) GetState() *ProvisioningState
- func (o *MetadataWithStateFqdnZoneIdAllOf) GetStateOk() (*ProvisioningState, bool)
- func (o *MetadataWithStateFqdnZoneIdAllOf) GetZoneId() *string
- func (o *MetadataWithStateFqdnZoneIdAllOf) GetZoneIdOk() (*string, bool)
- func (o *MetadataWithStateFqdnZoneIdAllOf) HasFqdn() bool
- func (o *MetadataWithStateFqdnZoneIdAllOf) HasState() bool
- func (o *MetadataWithStateFqdnZoneIdAllOf) HasZoneId() bool
- func (o MetadataWithStateFqdnZoneIdAllOf) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStateFqdnZoneIdAllOf) SetFqdn(v string)
- func (o *MetadataWithStateFqdnZoneIdAllOf) SetState(v ProvisioningState)
- func (o *MetadataWithStateFqdnZoneIdAllOf) SetZoneId(v string)
- type MetadataWithStateNameservers
- func (o *MetadataWithStateNameservers) GetCreatedDate() *time.Time
- func (o *MetadataWithStateNameservers) GetCreatedDateOk() (*time.Time, bool)
- func (o *MetadataWithStateNameservers) GetLastModifiedDate() *time.Time
- func (o *MetadataWithStateNameservers) GetLastModifiedDateOk() (*time.Time, bool)
- func (o *MetadataWithStateNameservers) GetNameservers() *[]string
- func (o *MetadataWithStateNameservers) GetNameserversOk() (*[]string, bool)
- func (o *MetadataWithStateNameservers) GetState() *ProvisioningState
- func (o *MetadataWithStateNameservers) GetStateOk() (*ProvisioningState, bool)
- func (o *MetadataWithStateNameservers) HasCreatedDate() bool
- func (o *MetadataWithStateNameservers) HasLastModifiedDate() bool
- func (o *MetadataWithStateNameservers) HasNameservers() bool
- func (o *MetadataWithStateNameservers) HasState() bool
- func (o MetadataWithStateNameservers) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStateNameservers) SetCreatedDate(v time.Time)
- func (o *MetadataWithStateNameservers) SetLastModifiedDate(v time.Time)
- func (o *MetadataWithStateNameservers) SetNameservers(v []string)
- func (o *MetadataWithStateNameservers) SetState(v ProvisioningState)
- type MetadataWithStateNameserversAllOf
- func (o *MetadataWithStateNameserversAllOf) GetNameservers() *[]string
- func (o *MetadataWithStateNameserversAllOf) GetNameserversOk() (*[]string, bool)
- func (o *MetadataWithStateNameserversAllOf) GetState() *ProvisioningState
- func (o *MetadataWithStateNameserversAllOf) GetStateOk() (*ProvisioningState, bool)
- func (o *MetadataWithStateNameserversAllOf) HasNameservers() bool
- func (o *MetadataWithStateNameserversAllOf) HasState() bool
- func (o MetadataWithStateNameserversAllOf) MarshalJSON() ([]byte, error)
- func (o *MetadataWithStateNameserversAllOf) SetNameservers(v []string)
- func (o *MetadataWithStateNameserversAllOf) SetState(v ProvisioningState)
- type NullableError
- type NullableErrorMessages
- func (v NullableErrorMessages) Get() *ErrorMessages
- func (v NullableErrorMessages) IsSet() bool
- func (v NullableErrorMessages) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessages) Set(val *ErrorMessages)
- func (v *NullableErrorMessages) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessages) Unset()
- type NullableLinks
- type NullableMetadata
- type NullableMetadataWithStateFqdnZoneId
- func (v NullableMetadataWithStateFqdnZoneId) Get() *MetadataWithStateFqdnZoneId
- func (v NullableMetadataWithStateFqdnZoneId) IsSet() bool
- func (v NullableMetadataWithStateFqdnZoneId) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStateFqdnZoneId) Set(val *MetadataWithStateFqdnZoneId)
- func (v *NullableMetadataWithStateFqdnZoneId) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStateFqdnZoneId) Unset()
- type NullableMetadataWithStateFqdnZoneIdAllOf
- func (v NullableMetadataWithStateFqdnZoneIdAllOf) Get() *MetadataWithStateFqdnZoneIdAllOf
- func (v NullableMetadataWithStateFqdnZoneIdAllOf) IsSet() bool
- func (v NullableMetadataWithStateFqdnZoneIdAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStateFqdnZoneIdAllOf) Set(val *MetadataWithStateFqdnZoneIdAllOf)
- func (v *NullableMetadataWithStateFqdnZoneIdAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStateFqdnZoneIdAllOf) Unset()
- type NullableMetadataWithStateNameservers
- func (v NullableMetadataWithStateNameservers) Get() *MetadataWithStateNameservers
- func (v NullableMetadataWithStateNameservers) IsSet() bool
- func (v NullableMetadataWithStateNameservers) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStateNameservers) Set(val *MetadataWithStateNameservers)
- func (v *NullableMetadataWithStateNameservers) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStateNameservers) Unset()
- type NullableMetadataWithStateNameserversAllOf
- func (v NullableMetadataWithStateNameserversAllOf) Get() *MetadataWithStateNameserversAllOf
- func (v NullableMetadataWithStateNameserversAllOf) IsSet() bool
- func (v NullableMetadataWithStateNameserversAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableMetadataWithStateNameserversAllOf) Set(val *MetadataWithStateNameserversAllOf)
- func (v *NullableMetadataWithStateNameserversAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableMetadataWithStateNameserversAllOf) Unset()
- type NullableProvisioningState
- func (v NullableProvisioningState) Get() *ProvisioningState
- func (v NullableProvisioningState) IsSet() bool
- func (v NullableProvisioningState) MarshalJSON() ([]byte, error)
- func (v *NullableProvisioningState) Set(val *ProvisioningState)
- func (v *NullableProvisioningState) UnmarshalJSON(src []byte) error
- func (v *NullableProvisioningState) Unset()
- type NullableRecord
- type NullableRecordCreate
- func (v NullableRecordCreate) Get() *RecordCreate
- func (v NullableRecordCreate) IsSet() bool
- func (v NullableRecordCreate) MarshalJSON() ([]byte, error)
- func (v *NullableRecordCreate) Set(val *RecordCreate)
- func (v *NullableRecordCreate) UnmarshalJSON(src []byte) error
- func (v *NullableRecordCreate) Unset()
- type NullableRecordEnsure
- func (v NullableRecordEnsure) Get() *RecordEnsure
- func (v NullableRecordEnsure) IsSet() bool
- func (v NullableRecordEnsure) MarshalJSON() ([]byte, error)
- func (v *NullableRecordEnsure) Set(val *RecordEnsure)
- func (v *NullableRecordEnsure) UnmarshalJSON(src []byte) error
- func (v *NullableRecordEnsure) Unset()
- type NullableRecordRead
- type NullableRecordReadList
- func (v NullableRecordReadList) Get() *RecordReadList
- func (v NullableRecordReadList) IsSet() bool
- func (v NullableRecordReadList) MarshalJSON() ([]byte, error)
- func (v *NullableRecordReadList) Set(val *RecordReadList)
- func (v *NullableRecordReadList) UnmarshalJSON(src []byte) error
- func (v *NullableRecordReadList) Unset()
- type NullableZone
- type NullableZoneCreate
- type NullableZoneEnsure
- type NullableZoneRead
- type NullableZoneReadList
- func (v NullableZoneReadList) Get() *ZoneReadList
- func (v NullableZoneReadList) IsSet() bool
- func (v NullableZoneReadList) MarshalJSON() ([]byte, error)
- func (v *NullableZoneReadList) Set(val *ZoneReadList)
- func (v *NullableZoneReadList) UnmarshalJSON(src []byte) error
- func (v *NullableZoneReadList) Unset()
- type ProvisioningState
- type Record
- func (o *Record) GetContent() *string
- func (o *Record) GetContentOk() (*string, bool)
- func (o *Record) GetEnabled() *bool
- func (o *Record) GetEnabledOk() (*bool, bool)
- func (o *Record) GetName() *string
- func (o *Record) GetNameOk() (*string, bool)
- func (o *Record) GetPriority() *int32
- func (o *Record) GetPriorityOk() (*int32, bool)
- func (o *Record) GetTtl() *int32
- func (o *Record) GetTtlOk() (*int32, bool)
- func (o *Record) GetType() *string
- func (o *Record) GetTypeOk() (*string, bool)
- func (o *Record) HasContent() bool
- func (o *Record) HasEnabled() bool
- func (o *Record) HasName() bool
- func (o *Record) HasPriority() bool
- func (o *Record) HasTtl() bool
- func (o *Record) HasType() bool
- func (o Record) MarshalJSON() ([]byte, error)
- func (o *Record) SetContent(v string)
- func (o *Record) SetEnabled(v bool)
- func (o *Record) SetName(v string)
- func (o *Record) SetPriority(v int32)
- func (o *Record) SetTtl(v int32)
- func (o *Record) SetType(v string)
- type RecordCreate
- type RecordEnsure
- type RecordRead
- func (o *RecordRead) GetHref() *string
- func (o *RecordRead) GetHrefOk() (*string, bool)
- func (o *RecordRead) GetId() *string
- func (o *RecordRead) GetIdOk() (*string, bool)
- func (o *RecordRead) GetMetadata() *MetadataWithStateFqdnZoneId
- func (o *RecordRead) GetMetadataOk() (*MetadataWithStateFqdnZoneId, bool)
- func (o *RecordRead) GetProperties() *Record
- func (o *RecordRead) GetPropertiesOk() (*Record, bool)
- func (o *RecordRead) GetType() *string
- func (o *RecordRead) GetTypeOk() (*string, bool)
- func (o *RecordRead) HasHref() bool
- func (o *RecordRead) HasId() bool
- func (o *RecordRead) HasMetadata() bool
- func (o *RecordRead) HasProperties() bool
- func (o *RecordRead) HasType() bool
- func (o RecordRead) MarshalJSON() ([]byte, error)
- func (o *RecordRead) SetHref(v string)
- func (o *RecordRead) SetId(v string)
- func (o *RecordRead) SetMetadata(v MetadataWithStateFqdnZoneId)
- func (o *RecordRead) SetProperties(v Record)
- func (o *RecordRead) SetType(v string)
- type RecordReadList
- func (o *RecordReadList) GetHref() *string
- func (o *RecordReadList) GetHrefOk() (*string, bool)
- func (o *RecordReadList) GetId() *string
- func (o *RecordReadList) GetIdOk() (*string, bool)
- func (o *RecordReadList) GetItems() *[]RecordRead
- func (o *RecordReadList) GetItemsOk() (*[]RecordRead, bool)
- func (o *RecordReadList) GetLimit() *float32
- func (o *RecordReadList) GetLimitOk() (*float32, bool)
- func (o *RecordReadList) GetLinks() *Links
- func (o *RecordReadList) GetLinksOk() (*Links, bool)
- func (o *RecordReadList) GetOffset() *float32
- func (o *RecordReadList) GetOffsetOk() (*float32, bool)
- func (o *RecordReadList) GetType() *string
- func (o *RecordReadList) GetTypeOk() (*string, bool)
- func (o *RecordReadList) HasHref() bool
- func (o *RecordReadList) HasId() bool
- func (o *RecordReadList) HasItems() bool
- func (o *RecordReadList) HasLimit() bool
- func (o *RecordReadList) HasLinks() bool
- func (o *RecordReadList) HasOffset() bool
- func (o *RecordReadList) HasType() bool
- func (o RecordReadList) MarshalJSON() ([]byte, error)
- func (o *RecordReadList) SetHref(v string)
- func (o *RecordReadList) SetId(v string)
- func (o *RecordReadList) SetItems(v []RecordRead)
- func (o *RecordReadList) SetLimit(v float32)
- func (o *RecordReadList) SetLinks(v Links)
- func (o *RecordReadList) SetOffset(v float32)
- func (o *RecordReadList) SetType(v string)
- type RecordsApiService
- func (a *RecordsApiService) RecordsGet(ctx _context.Context) ApiRecordsGetRequest
- func (a *RecordsApiService) RecordsGetExecute(r ApiRecordsGetRequest) (RecordReadList, *shared.APIResponse, error)
- func (a *RecordsApiService) ZonesRecordsDelete(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsDeleteRequest
- func (a *RecordsApiService) ZonesRecordsDeleteExecute(r ApiZonesRecordsDeleteRequest) (*shared.APIResponse, error)
- func (a *RecordsApiService) ZonesRecordsFindById(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsFindByIdRequest
- func (a *RecordsApiService) ZonesRecordsFindByIdExecute(r ApiZonesRecordsFindByIdRequest) (RecordRead, *shared.APIResponse, error)
- func (a *RecordsApiService) ZonesRecordsGet(ctx _context.Context, zoneId string) ApiZonesRecordsGetRequest
- func (a *RecordsApiService) ZonesRecordsGetExecute(r ApiZonesRecordsGetRequest) (RecordReadList, *shared.APIResponse, error)
- func (a *RecordsApiService) ZonesRecordsPost(ctx _context.Context, zoneId string) ApiZonesRecordsPostRequest
- func (a *RecordsApiService) ZonesRecordsPostExecute(r ApiZonesRecordsPostRequest) (RecordRead, *shared.APIResponse, error)
- func (a *RecordsApiService) ZonesRecordsPut(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsPutRequest
- func (a *RecordsApiService) ZonesRecordsPutExecute(r ApiZonesRecordsPutRequest) (RecordRead, *shared.APIResponse, error)
- type TLSDial
- type Zone
- func (o *Zone) GetDescription() *string
- func (o *Zone) GetDescriptionOk() (*string, bool)
- func (o *Zone) GetEnabled() *bool
- func (o *Zone) GetEnabledOk() (*bool, bool)
- func (o *Zone) GetZoneName() *string
- func (o *Zone) GetZoneNameOk() (*string, bool)
- func (o *Zone) HasDescription() bool
- func (o *Zone) HasEnabled() bool
- func (o *Zone) HasZoneName() bool
- func (o Zone) MarshalJSON() ([]byte, error)
- func (o *Zone) SetDescription(v string)
- func (o *Zone) SetEnabled(v bool)
- func (o *Zone) SetZoneName(v string)
- type ZoneCreate
- type ZoneEnsure
- type ZoneRead
- func (o *ZoneRead) GetHref() *string
- func (o *ZoneRead) GetHrefOk() (*string, bool)
- func (o *ZoneRead) GetId() *string
- func (o *ZoneRead) GetIdOk() (*string, bool)
- func (o *ZoneRead) GetMetadata() *MetadataWithStateNameservers
- func (o *ZoneRead) GetMetadataOk() (*MetadataWithStateNameservers, bool)
- func (o *ZoneRead) GetProperties() *Zone
- func (o *ZoneRead) GetPropertiesOk() (*Zone, bool)
- func (o *ZoneRead) GetType() *string
- func (o *ZoneRead) GetTypeOk() (*string, bool)
- func (o *ZoneRead) HasHref() bool
- func (o *ZoneRead) HasId() bool
- func (o *ZoneRead) HasMetadata() bool
- func (o *ZoneRead) HasProperties() bool
- func (o *ZoneRead) HasType() bool
- func (o ZoneRead) MarshalJSON() ([]byte, error)
- func (o *ZoneRead) SetHref(v string)
- func (o *ZoneRead) SetId(v string)
- func (o *ZoneRead) SetMetadata(v MetadataWithStateNameservers)
- func (o *ZoneRead) SetProperties(v Zone)
- func (o *ZoneRead) SetType(v string)
- type ZoneReadList
- func (o *ZoneReadList) GetHref() *string
- func (o *ZoneReadList) GetHrefOk() (*string, bool)
- func (o *ZoneReadList) GetItems() *[]ZoneRead
- func (o *ZoneReadList) GetItemsOk() (*[]ZoneRead, bool)
- func (o *ZoneReadList) GetLimit() *float32
- func (o *ZoneReadList) GetLimitOk() (*float32, bool)
- func (o *ZoneReadList) GetLinks() *Links
- func (o *ZoneReadList) GetLinksOk() (*Links, bool)
- func (o *ZoneReadList) GetOffset() *float32
- func (o *ZoneReadList) GetOffsetOk() (*float32, bool)
- func (o *ZoneReadList) GetType() *string
- func (o *ZoneReadList) GetTypeOk() (*string, bool)
- func (o *ZoneReadList) HasHref() bool
- func (o *ZoneReadList) HasItems() bool
- func (o *ZoneReadList) HasLimit() bool
- func (o *ZoneReadList) HasLinks() bool
- func (o *ZoneReadList) HasOffset() bool
- func (o *ZoneReadList) HasType() bool
- func (o ZoneReadList) MarshalJSON() ([]byte, error)
- func (o *ZoneReadList) SetHref(v string)
- func (o *ZoneReadList) SetItems(v []ZoneRead)
- func (o *ZoneReadList) SetLimit(v float32)
- func (o *ZoneReadList) SetLinks(v Links)
- func (o *ZoneReadList) SetOffset(v float32)
- func (o *ZoneReadList) SetType(v string)
- type ZonesApiService
- func (a *ZonesApiService) ZonesDelete(ctx _context.Context, zoneId string) ApiZonesDeleteRequest
- func (a *ZonesApiService) ZonesDeleteExecute(r ApiZonesDeleteRequest) (*shared.APIResponse, error)
- func (a *ZonesApiService) ZonesFindById(ctx _context.Context, zoneId string) ApiZonesFindByIdRequest
- func (a *ZonesApiService) ZonesFindByIdExecute(r ApiZonesFindByIdRequest) (ZoneRead, *shared.APIResponse, error)
- func (a *ZonesApiService) ZonesGet(ctx _context.Context) ApiZonesGetRequest
- func (a *ZonesApiService) ZonesGetExecute(r ApiZonesGetRequest) (ZoneReadList, *shared.APIResponse, error)
- func (a *ZonesApiService) ZonesPost(ctx _context.Context) ApiZonesPostRequest
- func (a *ZonesApiService) ZonesPostExecute(r ApiZonesPostRequest) (ZoneRead, *shared.APIResponse, error)
- func (a *ZonesApiService) ZonesPut(ctx _context.Context, zoneId string) ApiZonesPutRequest
- func (a *ZonesApiService) ZonesPutExecute(r ApiZonesPutRequest) (ZoneRead, *shared.APIResponse, error)
Constants ¶
const ( RequestStatusQueued = "QUEUED" RequestStatusRunning = "RUNNING" RequestStatusFailed = "FAILED" RequestStatusDone = "DONE" Version = "products/dns/v0.1.0" )
Variables ¶
This section is empty.
Functions ¶
func AddPinnedCert ¶
AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport
Types ¶
type APIClient ¶
type APIClient struct { RecordsApi *RecordsApiService ZonesApi *ZonesApiService // contains filtered or unexported fields }
APIClient manages communication with the IONOS Cloud - DNS API API v1.2.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 ApiRecordsGetRequest ¶
type ApiRecordsGetRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiRecordsGetRequest) Execute ¶
func (r ApiRecordsGetRequest) Execute() (RecordReadList, *shared.APIResponse, error)
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 (r ApiRecordsGetRequest) Limit(limit int32) ApiRecordsGetRequest
func (ApiRecordsGetRequest) Offset ¶
func (r ApiRecordsGetRequest) Offset(offset int32) ApiRecordsGetRequest
type ApiZonesDeleteRequest ¶
type ApiZonesDeleteRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiZonesDeleteRequest) Execute ¶
func (r ApiZonesDeleteRequest) Execute() (*shared.APIResponse, error)
type ApiZonesFindByIdRequest ¶
type ApiZonesFindByIdRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiZonesFindByIdRequest) Execute ¶
func (r ApiZonesFindByIdRequest) Execute() (ZoneRead, *shared.APIResponse, error)
type ApiZonesGetRequest ¶
type ApiZonesGetRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiZonesGetRequest) Execute ¶
func (r ApiZonesGetRequest) Execute() (ZoneReadList, *shared.APIResponse, error)
func (ApiZonesGetRequest) FilterState ¶
func (r ApiZonesGetRequest) FilterState(filterState ProvisioningState) ApiZonesGetRequest
func (ApiZonesGetRequest) FilterZoneName ¶
func (r ApiZonesGetRequest) FilterZoneName(filterZoneName string) ApiZonesGetRequest
func (ApiZonesGetRequest) Limit ¶
func (r ApiZonesGetRequest) Limit(limit int32) ApiZonesGetRequest
func (ApiZonesGetRequest) Offset ¶
func (r ApiZonesGetRequest) Offset(offset int32) ApiZonesGetRequest
type ApiZonesPostRequest ¶
type ApiZonesPostRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiZonesPostRequest) Execute ¶
func (r ApiZonesPostRequest) Execute() (ZoneRead, *shared.APIResponse, error)
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 (r ApiZonesPutRequest) Execute() (ZoneRead, *shared.APIResponse, error)
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() (*shared.APIResponse, error)
type ApiZonesRecordsFindByIdRequest ¶
type ApiZonesRecordsFindByIdRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiZonesRecordsFindByIdRequest) Execute ¶
func (r ApiZonesRecordsFindByIdRequest) Execute() (RecordRead, *shared.APIResponse, error)
type ApiZonesRecordsGetRequest ¶
type ApiZonesRecordsGetRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiZonesRecordsGetRequest) Execute ¶
func (r ApiZonesRecordsGetRequest) Execute() (RecordReadList, *shared.APIResponse, error)
type ApiZonesRecordsPostRequest ¶
type ApiZonesRecordsPostRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiZonesRecordsPostRequest) Execute ¶
func (r ApiZonesRecordsPostRequest) Execute() (RecordRead, *shared.APIResponse, error)
func (ApiZonesRecordsPostRequest) RecordCreate ¶
func (r ApiZonesRecordsPostRequest) RecordCreate(recordCreate RecordCreate) ApiZonesRecordsPostRequest
type ApiZonesRecordsPutRequest ¶
type ApiZonesRecordsPutRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiZonesRecordsPutRequest) Execute ¶
func (r ApiZonesRecordsPutRequest) Execute() (RecordRead, *shared.APIResponse, error)
func (ApiZonesRecordsPutRequest) RecordEnsure ¶
func (r ApiZonesRecordsPutRequest) RecordEnsure(recordEnsure RecordEnsure) ApiZonesRecordsPutRequest
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 ¶
GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned
func (*Error) GetHttpStatusOk ¶
GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) GetMessages ¶
func (o *Error) GetMessages() *[]ErrorMessages
GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessages will be returned
func (*Error) GetMessagesOk ¶
func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Error) HasHttpStatus ¶
HasHttpStatus returns a boolean if a field has been set.
func (*Error) HasMessages ¶
HasMessages returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetMessages ¶
func (o *Error) SetMessages(v []ErrorMessages)
SetMessages sets field value
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 the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetErrorCodeOk ¶
func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorMessages) GetMessage ¶
func (o *ErrorMessages) GetMessage() *string
GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned
func (*ErrorMessages) GetMessageOk ¶
func (o *ErrorMessages) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*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) MarshalJSON ¶
func (o ErrorMessages) MarshalJSON() ([]byte, error)
func (*ErrorMessages) SetErrorCode ¶
func (o *ErrorMessages) SetErrorCode(v string)
SetErrorCode sets field value
func (*ErrorMessages) SetMessage ¶
func (o *ErrorMessages) SetMessage(v string)
SetMessage sets field value
type IonosTime ¶
func (*IonosTime) UnmarshalJSON ¶
type Links ¶
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 ¶
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 ¶
GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetNextOk ¶
GetNextOk returns a tuple with the Next field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetPrev ¶
GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetPrevOk ¶
GetPrevOk returns a tuple with the Prev field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetSelf ¶
GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned
func (*Links) GetSelfOk ¶
GetSelfOk returns a tuple with the Self field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Links) MarshalJSON ¶
type Metadata ¶
type Metadata struct { // The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // The date of creation of the zone formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. CreatedDate *IonosTime `json:"createdDate,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) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) GetLastModifiedDate ¶
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Metadata) GetLastModifiedDateOk ¶
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Metadata) HasCreatedDate ¶
HasCreatedDate returns a boolean if a field has been set.
func (*Metadata) HasLastModifiedDate ¶
HasLastModifiedDate returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Metadata) SetLastModifiedDate ¶
SetLastModifiedDate sets field value
type MetadataWithStateFqdnZoneId ¶
type MetadataWithStateFqdnZoneId struct { // The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // The date of creation of the zone formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. CreatedDate *IonosTime `json:"createdDate,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) GetCreatedDate ¶
func (o *MetadataWithStateFqdnZoneId) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStateFqdnZoneId) GetCreatedDateOk ¶
func (o *MetadataWithStateFqdnZoneId) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneId) GetFqdn ¶
func (o *MetadataWithStateFqdnZoneId) GetFqdn() *string
GetFqdn returns the Fqdn field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneId) GetLastModifiedDate ¶
func (o *MetadataWithStateFqdnZoneId) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStateFqdnZoneId) GetLastModifiedDateOk ¶
func (o *MetadataWithStateFqdnZoneId) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneId) GetState ¶
func (o *MetadataWithStateFqdnZoneId) GetState() *ProvisioningState
GetState returns the State field value If the value is explicit nil, the zero value for ProvisioningState will be returned
func (*MetadataWithStateFqdnZoneId) GetStateOk ¶
func (o *MetadataWithStateFqdnZoneId) GetStateOk() (*ProvisioningState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneId) GetZoneId ¶
func (o *MetadataWithStateFqdnZoneId) GetZoneId() *string
GetZoneId returns the ZoneId field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneId) HasCreatedDate ¶
func (o *MetadataWithStateFqdnZoneId) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*MetadataWithStateFqdnZoneId) HasFqdn ¶
func (o *MetadataWithStateFqdnZoneId) HasFqdn() bool
HasFqdn 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) HasState ¶
func (o *MetadataWithStateFqdnZoneId) HasState() bool
HasState returns a boolean if a field has been set.
func (*MetadataWithStateFqdnZoneId) HasZoneId ¶
func (o *MetadataWithStateFqdnZoneId) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (MetadataWithStateFqdnZoneId) MarshalJSON ¶
func (o MetadataWithStateFqdnZoneId) MarshalJSON() ([]byte, error)
func (*MetadataWithStateFqdnZoneId) SetCreatedDate ¶
func (o *MetadataWithStateFqdnZoneId) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*MetadataWithStateFqdnZoneId) SetFqdn ¶
func (o *MetadataWithStateFqdnZoneId) SetFqdn(v string)
SetFqdn sets field value
func (*MetadataWithStateFqdnZoneId) SetLastModifiedDate ¶
func (o *MetadataWithStateFqdnZoneId) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*MetadataWithStateFqdnZoneId) SetState ¶
func (o *MetadataWithStateFqdnZoneId) SetState(v ProvisioningState)
SetState sets field value
func (*MetadataWithStateFqdnZoneId) SetZoneId ¶
func (o *MetadataWithStateFqdnZoneId) SetZoneId(v string)
SetZoneId sets field value
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 ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) GetFqdn() *string
GetFqdn returns the Fqdn field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneIdAllOf) GetState ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) GetState() *ProvisioningState
GetState returns the State field value If the value is explicit nil, the zero value for ProvisioningState will be returned
func (*MetadataWithStateFqdnZoneIdAllOf) GetStateOk ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) GetStateOk() (*ProvisioningState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneIdAllOf) GetZoneId ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) GetZoneId() *string
GetZoneId returns the ZoneId field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateFqdnZoneIdAllOf) HasFqdn ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) HasFqdn() bool
HasFqdn returns a boolean if a field has been set.
func (*MetadataWithStateFqdnZoneIdAllOf) HasState ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) HasState() bool
HasState returns a boolean if a field has been set.
func (*MetadataWithStateFqdnZoneIdAllOf) HasZoneId ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (MetadataWithStateFqdnZoneIdAllOf) MarshalJSON ¶
func (o MetadataWithStateFqdnZoneIdAllOf) MarshalJSON() ([]byte, error)
func (*MetadataWithStateFqdnZoneIdAllOf) SetFqdn ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) SetFqdn(v string)
SetFqdn sets field value
func (*MetadataWithStateFqdnZoneIdAllOf) SetState ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) SetState(v ProvisioningState)
SetState sets field value
func (*MetadataWithStateFqdnZoneIdAllOf) SetZoneId ¶
func (o *MetadataWithStateFqdnZoneIdAllOf) SetZoneId(v string)
SetZoneId sets field value
type MetadataWithStateNameservers ¶
type MetadataWithStateNameservers struct { // The date of the last change formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"` // The date of creation of the zone formatted as yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. CreatedDate *IonosTime `json:"createdDate,omitempty"` State *ProvisioningState `json:"state"` // The list of nameservers associated to the zone 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) GetCreatedDate ¶
func (o *MetadataWithStateNameservers) GetCreatedDate() *time.Time
GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStateNameservers) GetCreatedDateOk ¶
func (o *MetadataWithStateNameservers) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateNameservers) GetLastModifiedDate ¶
func (o *MetadataWithStateNameservers) GetLastModifiedDate() *time.Time
GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned
func (*MetadataWithStateNameservers) GetLastModifiedDateOk ¶
func (o *MetadataWithStateNameservers) GetLastModifiedDateOk() (*time.Time, bool)
GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateNameservers) GetNameservers ¶
func (o *MetadataWithStateNameservers) GetNameservers() *[]string
GetNameservers returns the Nameservers field value If the value is explicit nil, the zero value for []string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateNameservers) GetState ¶
func (o *MetadataWithStateNameservers) GetState() *ProvisioningState
GetState returns the State field value If the value is explicit nil, the zero value for ProvisioningState will be returned
func (*MetadataWithStateNameservers) GetStateOk ¶
func (o *MetadataWithStateNameservers) GetStateOk() (*ProvisioningState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateNameservers) HasCreatedDate ¶
func (o *MetadataWithStateNameservers) HasCreatedDate() bool
HasCreatedDate 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) HasNameservers ¶
func (o *MetadataWithStateNameservers) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (*MetadataWithStateNameservers) HasState ¶
func (o *MetadataWithStateNameservers) HasState() bool
HasState returns a boolean if a field has been set.
func (MetadataWithStateNameservers) MarshalJSON ¶
func (o MetadataWithStateNameservers) MarshalJSON() ([]byte, error)
func (*MetadataWithStateNameservers) SetCreatedDate ¶
func (o *MetadataWithStateNameservers) SetCreatedDate(v time.Time)
SetCreatedDate sets field value
func (*MetadataWithStateNameservers) SetLastModifiedDate ¶
func (o *MetadataWithStateNameservers) SetLastModifiedDate(v time.Time)
SetLastModifiedDate sets field value
func (*MetadataWithStateNameservers) SetNameservers ¶
func (o *MetadataWithStateNameservers) SetNameservers(v []string)
SetNameservers sets field value
func (*MetadataWithStateNameservers) SetState ¶
func (o *MetadataWithStateNameservers) SetState(v ProvisioningState)
SetState sets field value
type MetadataWithStateNameserversAllOf ¶
type MetadataWithStateNameserversAllOf struct { State *ProvisioningState `json:"state"` // The list of nameservers associated to the zone 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 If the value is explicit nil, the zero value for []string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateNameserversAllOf) GetState ¶
func (o *MetadataWithStateNameserversAllOf) GetState() *ProvisioningState
GetState returns the State field value If the value is explicit nil, the zero value for ProvisioningState will be returned
func (*MetadataWithStateNameserversAllOf) GetStateOk ¶
func (o *MetadataWithStateNameserversAllOf) GetStateOk() (*ProvisioningState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MetadataWithStateNameserversAllOf) HasNameservers ¶
func (o *MetadataWithStateNameserversAllOf) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (*MetadataWithStateNameserversAllOf) HasState ¶
func (o *MetadataWithStateNameserversAllOf) HasState() bool
HasState returns a boolean if a field has been set.
func (MetadataWithStateNameserversAllOf) MarshalJSON ¶
func (o MetadataWithStateNameserversAllOf) MarshalJSON() ([]byte, error)
func (*MetadataWithStateNameserversAllOf) SetNameservers ¶
func (o *MetadataWithStateNameserversAllOf) SetNameservers(v []string)
SetNameservers sets field value
func (*MetadataWithStateNameserversAllOf) SetState ¶
func (o *MetadataWithStateNameserversAllOf) SetState(v ProvisioningState)
SetState sets field value
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 (v NullableErrorMessages) Get() *ErrorMessages
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 NullableLinks ¶
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶
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 NullableMetadataWithStateFqdnZoneId ¶
type NullableMetadataWithStateFqdnZoneId struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithStateFqdnZoneId ¶
func NewNullableMetadataWithStateFqdnZoneId(val *MetadataWithStateFqdnZoneId) *NullableMetadataWithStateFqdnZoneId
func (NullableMetadataWithStateFqdnZoneId) Get ¶
func (v NullableMetadataWithStateFqdnZoneId) Get() *MetadataWithStateFqdnZoneId
func (NullableMetadataWithStateFqdnZoneId) IsSet ¶
func (v NullableMetadataWithStateFqdnZoneId) IsSet() bool
func (NullableMetadataWithStateFqdnZoneId) MarshalJSON ¶
func (v NullableMetadataWithStateFqdnZoneId) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStateFqdnZoneId) Set ¶
func (v *NullableMetadataWithStateFqdnZoneId) Set(val *MetadataWithStateFqdnZoneId)
func (*NullableMetadataWithStateFqdnZoneId) UnmarshalJSON ¶
func (v *NullableMetadataWithStateFqdnZoneId) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStateFqdnZoneId) Unset ¶
func (v *NullableMetadataWithStateFqdnZoneId) Unset()
type NullableMetadataWithStateFqdnZoneIdAllOf ¶
type NullableMetadataWithStateFqdnZoneIdAllOf struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithStateFqdnZoneIdAllOf ¶
func NewNullableMetadataWithStateFqdnZoneIdAllOf(val *MetadataWithStateFqdnZoneIdAllOf) *NullableMetadataWithStateFqdnZoneIdAllOf
func (NullableMetadataWithStateFqdnZoneIdAllOf) IsSet ¶
func (v NullableMetadataWithStateFqdnZoneIdAllOf) IsSet() bool
func (NullableMetadataWithStateFqdnZoneIdAllOf) MarshalJSON ¶
func (v NullableMetadataWithStateFqdnZoneIdAllOf) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStateFqdnZoneIdAllOf) Set ¶
func (v *NullableMetadataWithStateFqdnZoneIdAllOf) Set(val *MetadataWithStateFqdnZoneIdAllOf)
func (*NullableMetadataWithStateFqdnZoneIdAllOf) UnmarshalJSON ¶
func (v *NullableMetadataWithStateFqdnZoneIdAllOf) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStateFqdnZoneIdAllOf) Unset ¶
func (v *NullableMetadataWithStateFqdnZoneIdAllOf) Unset()
type NullableMetadataWithStateNameservers ¶
type NullableMetadataWithStateNameservers struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithStateNameservers ¶
func NewNullableMetadataWithStateNameservers(val *MetadataWithStateNameservers) *NullableMetadataWithStateNameservers
func (NullableMetadataWithStateNameservers) Get ¶
func (v NullableMetadataWithStateNameservers) Get() *MetadataWithStateNameservers
func (NullableMetadataWithStateNameservers) IsSet ¶
func (v NullableMetadataWithStateNameservers) IsSet() bool
func (NullableMetadataWithStateNameservers) MarshalJSON ¶
func (v NullableMetadataWithStateNameservers) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStateNameservers) Set ¶
func (v *NullableMetadataWithStateNameservers) Set(val *MetadataWithStateNameservers)
func (*NullableMetadataWithStateNameservers) UnmarshalJSON ¶
func (v *NullableMetadataWithStateNameservers) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStateNameservers) Unset ¶
func (v *NullableMetadataWithStateNameservers) Unset()
type NullableMetadataWithStateNameserversAllOf ¶
type NullableMetadataWithStateNameserversAllOf struct {
// contains filtered or unexported fields
}
func NewNullableMetadataWithStateNameserversAllOf ¶
func NewNullableMetadataWithStateNameserversAllOf(val *MetadataWithStateNameserversAllOf) *NullableMetadataWithStateNameserversAllOf
func (NullableMetadataWithStateNameserversAllOf) IsSet ¶
func (v NullableMetadataWithStateNameserversAllOf) IsSet() bool
func (NullableMetadataWithStateNameserversAllOf) MarshalJSON ¶
func (v NullableMetadataWithStateNameserversAllOf) MarshalJSON() ([]byte, error)
func (*NullableMetadataWithStateNameserversAllOf) Set ¶
func (v *NullableMetadataWithStateNameserversAllOf) Set(val *MetadataWithStateNameserversAllOf)
func (*NullableMetadataWithStateNameserversAllOf) UnmarshalJSON ¶
func (v *NullableMetadataWithStateNameserversAllOf) UnmarshalJSON(src []byte) error
func (*NullableMetadataWithStateNameserversAllOf) Unset ¶
func (v *NullableMetadataWithStateNameserversAllOf) Unset()
type NullableProvisioningState ¶
type NullableProvisioningState struct {
// contains filtered or unexported fields
}
func NewNullableProvisioningState ¶
func NewNullableProvisioningState(val *ProvisioningState) *NullableProvisioningState
func (NullableProvisioningState) Get ¶
func (v NullableProvisioningState) Get() *ProvisioningState
func (NullableProvisioningState) IsSet ¶
func (v NullableProvisioningState) IsSet() bool
func (NullableProvisioningState) MarshalJSON ¶
func (v NullableProvisioningState) MarshalJSON() ([]byte, error)
func (*NullableProvisioningState) Set ¶
func (v *NullableProvisioningState) Set(val *ProvisioningState)
func (*NullableProvisioningState) UnmarshalJSON ¶
func (v *NullableProvisioningState) UnmarshalJSON(src []byte) error
func (*NullableProvisioningState) Unset ¶
func (v *NullableProvisioningState) 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 (v NullableRecordCreate) Get() *RecordCreate
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 (v NullableRecordEnsure) Get() *RecordEnsure
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 (v NullableRecordReadList) Get() *RecordReadList
func (NullableRecordReadList) IsSet ¶
func (v NullableRecordReadList) IsSet() bool
func (NullableRecordReadList) MarshalJSON ¶
func (v NullableRecordReadList) MarshalJSON() ([]byte, error)
func (*NullableRecordReadList) Set ¶
func (v *NullableRecordReadList) Set(val *RecordReadList)
func (*NullableRecordReadList) UnmarshalJSON ¶
func (v *NullableRecordReadList) UnmarshalJSON(src []byte) error
func (*NullableRecordReadList) Unset ¶
func (v *NullableRecordReadList) 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 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 NullableZoneReadList ¶
type NullableZoneReadList struct {
// contains filtered or unexported fields
}
func NewNullableZoneReadList ¶
func NewNullableZoneReadList(val *ZoneReadList) *NullableZoneReadList
func (NullableZoneReadList) Get ¶
func (v NullableZoneReadList) Get() *ZoneReadList
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 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 ¶
func (v ProvisioningState) Ptr() *ProvisioningState
Ptr returns reference to ProvisioningState value
func (*ProvisioningState) UnmarshalJSON ¶
func (v *ProvisioningState) UnmarshalJSON(src []byte) 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 ¶
NewRecord instantiates a new Record object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecordWithDefaults ¶
func NewRecordWithDefaults() *Record
NewRecordWithDefaults instantiates a new Record object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Record) GetContent ¶
GetContent returns the Content field value If the value is explicit nil, the zero value for string will be returned
func (*Record) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Record) GetEnabled ¶
GetEnabled returns the Enabled field value If the value is explicit nil, the zero value for bool will be returned
func (*Record) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Record) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Record) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Record) GetPriority ¶
GetPriority returns the Priority field value If the value is explicit nil, the zero value for int32 will be returned
func (*Record) GetPriorityOk ¶
GetPriorityOk returns a tuple with the Priority field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Record) GetTtl ¶
GetTtl returns the Ttl field value If the value is explicit nil, the zero value for int32 will be returned
func (*Record) GetTtlOk ¶
GetTtlOk returns a tuple with the Ttl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Record) GetType ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*Record) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Record) HasContent ¶
HasContent returns a boolean if a field has been set.
func (*Record) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*Record) HasPriority ¶
HasPriority returns a boolean if a field has been set.
func (Record) MarshalJSON ¶
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 If the value is explicit nil, the zero value for Record will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordCreate) HasProperties ¶
func (o *RecordCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (RecordCreate) MarshalJSON ¶
func (o RecordCreate) MarshalJSON() ([]byte, error)
func (*RecordCreate) SetProperties ¶
func (o *RecordCreate) SetProperties(v Record)
SetProperties sets field value
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 If the value is explicit nil, the zero value for Record will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordEnsure) HasProperties ¶
func (o *RecordEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (RecordEnsure) MarshalJSON ¶
func (o RecordEnsure) MarshalJSON() ([]byte, error)
func (*RecordEnsure) SetProperties ¶
func (o *RecordEnsure) SetProperties(v Record)
SetProperties sets field value
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordRead) GetId ¶
func (o *RecordRead) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordRead) GetMetadata ¶
func (o *RecordRead) GetMetadata() *MetadataWithStateFqdnZoneId
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithStateFqdnZoneId will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordRead) GetProperties ¶
func (o *RecordRead) GetProperties() *Record
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Record will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordRead) GetType ¶
func (o *RecordRead) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordRead) HasHref ¶
func (o *RecordRead) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RecordRead) HasId ¶
func (o *RecordRead) HasId() bool
HasId returns a boolean if a field has been set.
func (*RecordRead) HasMetadata ¶
func (o *RecordRead) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*RecordRead) HasProperties ¶
func (o *RecordRead) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*RecordRead) HasType ¶
func (o *RecordRead) HasType() bool
HasType returns a boolean if a field has been set.
func (RecordRead) MarshalJSON ¶
func (o RecordRead) MarshalJSON() ([]byte, error)
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
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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) GetId ¶
func (o *RecordReadList) GetId() *string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) GetItems ¶
func (o *RecordReadList) GetItems() *[]RecordRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []RecordRead will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) GetLimit ¶
func (o *RecordReadList) GetLimit() *float32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for float32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) GetLinks ¶
func (o *RecordReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) GetOffset ¶
func (o *RecordReadList) GetOffset() *float32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for float32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) GetType ¶
func (o *RecordReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RecordReadList) HasHref ¶
func (o *RecordReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*RecordReadList) HasId ¶
func (o *RecordReadList) HasId() bool
HasId returns a boolean if a field has been set.
func (*RecordReadList) HasItems ¶
func (o *RecordReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RecordReadList) HasLimit ¶
func (o *RecordReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*RecordReadList) HasLinks ¶
func (o *RecordReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*RecordReadList) HasOffset ¶
func (o *RecordReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*RecordReadList) HasType ¶
func (o *RecordReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (RecordReadList) MarshalJSON ¶
func (o RecordReadList) MarshalJSON() ([]byte, error)
func (*RecordReadList) SetHref ¶
func (o *RecordReadList) SetHref(v string)
SetHref 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 (*RecordReadList) SetLinks ¶
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
type RecordsApiService ¶
type RecordsApiService service
RecordsApiService RecordsApi service
func (*RecordsApiService) RecordsGet ¶
func (a *RecordsApiService) RecordsGet(ctx _context.Context) ApiRecordsGetRequest
* RecordsGet Retrieve all records * 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 ¶
func (a *RecordsApiService) RecordsGetExecute(r ApiRecordsGetRequest) (RecordReadList, *shared.APIResponse, error)
* Execute executes the request * @return RecordReadList
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) (*shared.APIResponse, error)
* Execute executes the request
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 ¶
func (a *RecordsApiService) ZonesRecordsGetExecute(r ApiZonesRecordsGetRequest) (RecordReadList, *shared.APIResponse, error)
* 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 ¶
func (a *RecordsApiService) ZonesRecordsPostExecute(r ApiZonesRecordsPostRequest) (RecordRead, *shared.APIResponse, error)
* Execute executes the request * @return RecordRead
func (*RecordsApiService) ZonesRecordsPut ¶
func (a *RecordsApiService) ZonesRecordsPut(ctx _context.Context, zoneId string, recordId string) ApiZonesRecordsPutRequest
* ZonesRecordsPut Ensure a record * Ensures that a DNS record with the provided ID is created or modified. In order to successfully update record - all JSON parameters must be passed. * @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 ¶
func (a *RecordsApiService) ZonesRecordsPutExecute(r ApiZonesRecordsPutRequest) (RecordRead, *shared.APIResponse, error)
* Execute executes the request * @return RecordRead
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 ¶
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 ¶
GetDescription returns the Description field value If the value is explicit nil, the zero value for string will be returned
func (*Zone) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetEnabled ¶
GetEnabled returns the Enabled field value If the value is explicit nil, the zero value for bool will be returned
func (*Zone) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetZoneName ¶
GetZoneName returns the ZoneName field value If the value is explicit nil, the zero value for string will be returned
func (*Zone) GetZoneNameOk ¶
GetZoneNameOk returns a tuple with the ZoneName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Zone) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*Zone) HasZoneName ¶
HasZoneName returns a boolean if a field has been set.
func (Zone) MarshalJSON ¶
func (*Zone) SetDescription ¶
SetDescription sets field value
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 If the value is explicit nil, the zero value for Zone will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneCreate) HasProperties ¶
func (o *ZoneCreate) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ZoneCreate) MarshalJSON ¶
func (o ZoneCreate) MarshalJSON() ([]byte, error)
func (*ZoneCreate) SetProperties ¶
func (o *ZoneCreate) SetProperties(v Zone)
SetProperties sets field value
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 If the value is explicit nil, the zero value for Zone will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneEnsure) HasProperties ¶
func (o *ZoneEnsure) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (ZoneEnsure) MarshalJSON ¶
func (o ZoneEnsure) MarshalJSON() ([]byte, error)
func (*ZoneEnsure) SetProperties ¶
func (o *ZoneEnsure) SetProperties(v Zone)
SetProperties sets field value
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 ¶
GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned
func (*ZoneRead) GetHrefOk ¶
GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneRead) GetId ¶
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*ZoneRead) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneRead) GetMetadata ¶
func (o *ZoneRead) GetMetadata() *MetadataWithStateNameservers
GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithStateNameservers will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneRead) GetProperties ¶
GetProperties returns the Properties field value If the value is explicit nil, the zero value for Zone will be returned
func (*ZoneRead) GetPropertiesOk ¶
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneRead) GetType ¶
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
func (*ZoneRead) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneRead) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*ZoneRead) HasProperties ¶
HasProperties returns a boolean if a field has been set.
func (ZoneRead) MarshalJSON ¶
func (*ZoneRead) SetMetadata ¶
func (o *ZoneRead) SetMetadata(v MetadataWithStateNameservers)
SetMetadata sets field value
func (*ZoneRead) SetProperties ¶
SetProperties sets field value
type ZoneReadList ¶
type ZoneReadList struct { Type *string `json:"type"` Href *string `json:"href"` Items *[]ZoneRead `json:"items"` // Pagination offset. Offset *float32 `json:"offset"` // Pagination limit. Limit *float32 `json:"limit"` Links *Links `json:"_links"` }
ZoneReadList struct for ZoneReadList
func NewZoneReadList ¶
func NewZoneReadList(type_ string, href string, items []ZoneRead, offset float32, limit float32, links Links) *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 If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneReadList) GetItems ¶
func (o *ZoneReadList) GetItems() *[]ZoneRead
GetItems returns the Items field value If the value is explicit nil, the zero value for []ZoneRead will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneReadList) GetLimit ¶
func (o *ZoneReadList) GetLimit() *float32
GetLimit returns the Limit field value If the value is explicit nil, the zero value for float32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneReadList) GetLinks ¶
func (o *ZoneReadList) GetLinks() *Links
GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneReadList) GetOffset ¶
func (o *ZoneReadList) GetOffset() *float32
GetOffset returns the Offset field value If the value is explicit nil, the zero value for float32 will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneReadList) GetType ¶
func (o *ZoneReadList) GetType() *string
GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned
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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZoneReadList) HasHref ¶
func (o *ZoneReadList) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ZoneReadList) HasItems ¶
func (o *ZoneReadList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ZoneReadList) HasLimit ¶
func (o *ZoneReadList) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*ZoneReadList) HasLinks ¶
func (o *ZoneReadList) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ZoneReadList) HasOffset ¶
func (o *ZoneReadList) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*ZoneReadList) HasType ¶
func (o *ZoneReadList) HasType() bool
HasType returns a boolean if a field has been set.
func (ZoneReadList) MarshalJSON ¶
func (o ZoneReadList) MarshalJSON() ([]byte, error)
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 (*ZoneReadList) SetOffset ¶
func (o *ZoneReadList) SetOffset(v float32)
SetOffset sets field value
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) (*shared.APIResponse, error)
* Execute executes the request
func (*ZonesApiService) ZonesFindById ¶
func (a *ZonesApiService) ZonesFindById(ctx _context.Context, zoneId string) ApiZonesFindByIdRequest
* ZonesFindById Retrieve a zone * Returns a DNS zone by 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 ¶
func (a *ZonesApiService) ZonesGet(ctx _context.Context) ApiZonesGetRequest
* 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 ¶
func (a *ZonesApiService) ZonesGetExecute(r ApiZonesGetRequest) (ZoneReadList, *shared.APIResponse, error)
* Execute executes the request * @return ZoneReadList
func (*ZonesApiService) ZonesPost ¶
func (a *ZonesApiService) ZonesPost(ctx _context.Context) ApiZonesPostRequest
* 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 ¶
func (a *ZonesApiService) ZonesPostExecute(r ApiZonesPostRequest) (ZoneRead, *shared.APIResponse, error)
* Execute executes the request * @return ZoneRead
func (*ZonesApiService) ZonesPut ¶
func (a *ZonesApiService) ZonesPut(ctx _context.Context, zoneId string) ApiZonesPutRequest
* ZonesPut Ensure a zone * Ensures that a zone with the provided ID is created or modified. In order to successfully update zone - all JSON parameters must be passed. * @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 ¶
func (a *ZonesApiService) ZonesPutExecute(r ApiZonesPutRequest) (ZoneRead, *shared.APIResponse, error)
* Execute executes the request * @return ZoneRead
Source Files ¶
- api_records.go
- api_zones.go
- client.go
- model_error.go
- model_error_messages.go
- model_links.go
- model_metadata.go
- model_metadata_with_state_fqdn_zone_id.go
- model_metadata_with_state_fqdn_zone_id_all_of.go
- model_metadata_with_state_nameservers.go
- model_metadata_with_state_nameservers_all_of.go
- model_provisioning_state.go
- model_record.go
- model_record_create.go
- model_record_ensure.go
- model_record_read.go
- model_record_read_list.go
- model_zone.go
- model_zone_create.go
- model_zone_ensure.go
- model_zone_read.go
- model_zone_read_list.go
- utils.go