Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiDeleteZoneRecordRequest
- type ApiDeleteZoneRequest
- type ApiGetZoneDnsSecRequest
- type ApiGetZoneRecordsRequest
- type ApiGetZoneRequest
- type ApiGetZonesRequest
- type ApiPostZoneRecordRequest
- type ApiPostZoneRequest
- type ApiPutZoneDnsSecRequest
- type ApiPutZoneRecordRequest
- type ApiPutZoneRequest
- type BasicAuth
- type Configuration
- type CreateRecord
- func (o *CreateRecord) GetResults() Record
- func (o *CreateRecord) GetResultsOk() (*Record, bool)
- func (o *CreateRecord) GetSchemaVersion() int32
- func (o *CreateRecord) GetSchemaVersionOk() (*int32, bool)
- func (o *CreateRecord) HasResults() bool
- func (o *CreateRecord) HasSchemaVersion() bool
- func (o CreateRecord) MarshalJSON() ([]byte, error)
- func (o *CreateRecord) SetResults(v Record)
- func (o *CreateRecord) SetSchemaVersion(v int32)
- type CreateZone
- func (o *CreateZone) GetResults() []Zone
- func (o *CreateZone) GetResultsOk() ([]Zone, bool)
- func (o *CreateZone) GetSchemaVersion() int32
- func (o *CreateZone) GetSchemaVersionOk() (*int32, bool)
- func (o *CreateZone) HasResults() bool
- func (o *CreateZone) HasSchemaVersion() bool
- func (o CreateZone) MarshalJSON() ([]byte, error)
- func (o *CreateZone) SetResults(v []Zone)
- func (o *CreateZone) SetSchemaVersion(v int32)
- type DNSSECApiService
- func (a *DNSSECApiService) GetZoneDnsSec(ctx context.Context, zoneId int32) ApiGetZoneDnsSecRequest
- func (a *DNSSECApiService) GetZoneDnsSecExecute(r ApiGetZoneDnsSecRequest) (*GetOrPatchDnsSecResponse, *http.Response, error)
- func (a *DNSSECApiService) PutZoneDnsSec(ctx context.Context, zoneId int32) ApiPutZoneDnsSecRequest
- func (a *DNSSECApiService) PutZoneDnsSecExecute(r ApiPutZoneDnsSecRequest) (*GetOrPatchDnsSecResponse, *http.Response, error)
- type DnsSec
- func (o *DnsSec) GetAlgorithmType() DnsSecDelegationSignerDigestType
- func (o *DnsSec) GetAlgorithmTypeOk() (*DnsSecDelegationSignerDigestType, bool)
- func (o *DnsSec) GetDelegationSigner() DnsSecDelegationSigner
- func (o *DnsSec) GetDelegationSignerOk() (*DnsSecDelegationSigner, bool)
- func (o *DnsSec) GetDigest() string
- func (o *DnsSec) GetDigestOk() (*string, bool)
- func (o *DnsSec) GetIsEnabled() bool
- func (o *DnsSec) GetIsEnabledOk() (*bool, bool)
- func (o *DnsSec) GetKeyTag() int32
- func (o *DnsSec) GetKeyTagOk() (*int32, bool)
- func (o *DnsSec) GetStatus() string
- func (o *DnsSec) GetStatusOk() (*string, bool)
- func (o *DnsSec) HasAlgorithmType() bool
- func (o *DnsSec) HasDelegationSigner() bool
- func (o *DnsSec) HasDigest() bool
- func (o *DnsSec) HasIsEnabled() bool
- func (o *DnsSec) HasKeyTag() bool
- func (o *DnsSec) HasStatus() bool
- func (o DnsSec) MarshalJSON() ([]byte, error)
- func (o *DnsSec) SetAlgorithmType(v DnsSecDelegationSignerDigestType)
- func (o *DnsSec) SetDelegationSigner(v DnsSecDelegationSigner)
- func (o *DnsSec) SetDigest(v string)
- func (o *DnsSec) SetIsEnabled(v bool)
- func (o *DnsSec) SetKeyTag(v int32)
- func (o *DnsSec) SetStatus(v string)
- func (o DnsSec) ToMap() (map[string]interface{}, error)
- type DnsSecDelegationSigner
- func (o *DnsSecDelegationSigner) GetDigestType() DnsSecDelegationSignerDigestType
- func (o *DnsSecDelegationSigner) GetDigestTypeOk() (*DnsSecDelegationSignerDigestType, bool)
- func (o *DnsSecDelegationSigner) HasDigestType() bool
- func (o DnsSecDelegationSigner) MarshalJSON() ([]byte, error)
- func (o *DnsSecDelegationSigner) SetDigestType(v DnsSecDelegationSignerDigestType)
- func (o DnsSecDelegationSigner) ToMap() (map[string]interface{}, error)
- type DnsSecDelegationSignerDigestType
- func (o *DnsSecDelegationSignerDigestType) GetId() int32
- func (o *DnsSecDelegationSignerDigestType) GetIdOk() (*int32, bool)
- func (o *DnsSecDelegationSignerDigestType) GetSlug() string
- func (o *DnsSecDelegationSignerDigestType) GetSlugOk() (*string, bool)
- func (o *DnsSecDelegationSignerDigestType) HasId() bool
- func (o *DnsSecDelegationSignerDigestType) HasSlug() bool
- func (o DnsSecDelegationSignerDigestType) MarshalJSON() ([]byte, error)
- func (o *DnsSecDelegationSignerDigestType) SetId(v int32)
- func (o *DnsSecDelegationSignerDigestType) SetSlug(v string)
- func (o DnsSecDelegationSignerDigestType) ToMap() (map[string]interface{}, error)
- type ErrorResponse
- type Errors
- type ErrorsResponse
- func (o *ErrorsResponse) GetErrors() []string
- func (o *ErrorsResponse) GetErrorsOk() ([]string, bool)
- func (o *ErrorsResponse) HasErrors() bool
- func (o ErrorsResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorsResponse) SetErrors(v []string)
- func (o ErrorsResponse) ToMap() (map[string]interface{}, error)
- type GeneralError
- type GenericOpenAPIError
- type GetOrPatchDnsSecResponse
- func (o *GetOrPatchDnsSecResponse) GetResults() DnsSec
- func (o *GetOrPatchDnsSecResponse) GetResultsOk() (*DnsSec, bool)
- func (o *GetOrPatchDnsSecResponse) GetSchemaVersion() int32
- func (o *GetOrPatchDnsSecResponse) GetSchemaVersionOk() (*int32, bool)
- func (o *GetOrPatchDnsSecResponse) HasResults() bool
- func (o *GetOrPatchDnsSecResponse) HasSchemaVersion() bool
- func (o GetOrPatchDnsSecResponse) MarshalJSON() ([]byte, error)
- func (o *GetOrPatchDnsSecResponse) SetResults(v DnsSec)
- func (o *GetOrPatchDnsSecResponse) SetSchemaVersion(v int32)
- func (o GetOrPatchDnsSecResponse) ToMap() (map[string]interface{}, error)
- type GetRecordsResponse
- func (o *GetRecordsResponse) GetCount() int32
- func (o *GetRecordsResponse) GetCountOk() (*int32, bool)
- func (o *GetRecordsResponse) GetLinks() GetZonesResponseLinks
- func (o *GetRecordsResponse) GetLinksOk() (*GetZonesResponseLinks, bool)
- func (o *GetRecordsResponse) GetResults() GetRecordsResponseResults
- func (o *GetRecordsResponse) GetResultsOk() (*GetRecordsResponseResults, bool)
- func (o *GetRecordsResponse) GetSchemaVersion() int32
- func (o *GetRecordsResponse) GetSchemaVersionOk() (*int32, bool)
- func (o *GetRecordsResponse) GetTotalPages() int32
- func (o *GetRecordsResponse) GetTotalPagesOk() (*int32, bool)
- func (o *GetRecordsResponse) HasCount() bool
- func (o *GetRecordsResponse) HasLinks() bool
- func (o *GetRecordsResponse) HasResults() bool
- func (o *GetRecordsResponse) HasSchemaVersion() bool
- func (o *GetRecordsResponse) HasTotalPages() bool
- func (o GetRecordsResponse) MarshalJSON() ([]byte, error)
- func (o *GetRecordsResponse) SetCount(v int32)
- func (o *GetRecordsResponse) SetLinks(v GetZonesResponseLinks)
- func (o *GetRecordsResponse) SetResults(v GetRecordsResponseResults)
- func (o *GetRecordsResponse) SetSchemaVersion(v int32)
- func (o *GetRecordsResponse) SetTotalPages(v int32)
- func (o GetRecordsResponse) ToMap() (map[string]interface{}, error)
- type GetRecordsResponseResults
- func (o *GetRecordsResponseResults) GetRecords() []Record
- func (o *GetRecordsResponseResults) GetRecordsOk() ([]Record, bool)
- func (o *GetRecordsResponseResults) GetZoneDomain() string
- func (o *GetRecordsResponseResults) GetZoneDomainOk() (*string, bool)
- func (o *GetRecordsResponseResults) GetZoneId() int32
- func (o *GetRecordsResponseResults) GetZoneIdOk() (*int32, bool)
- func (o *GetRecordsResponseResults) HasRecords() bool
- func (o *GetRecordsResponseResults) HasZoneDomain() bool
- func (o *GetRecordsResponseResults) HasZoneId() bool
- func (o GetRecordsResponseResults) MarshalJSON() ([]byte, error)
- func (o *GetRecordsResponseResults) SetRecords(v []Record)
- func (o *GetRecordsResponseResults) SetZoneDomain(v string)
- func (o *GetRecordsResponseResults) SetZoneId(v int32)
- func (o GetRecordsResponseResults) ToMap() (map[string]interface{}, error)
- type GetZoneModel
- func (o *GetZoneModel) GetResults() Zone
- func (o *GetZoneModel) GetResultsOk() (*Zone, bool)
- func (o *GetZoneModel) GetSchemaVersion() int32
- func (o *GetZoneModel) GetSchemaVersionOk() (*int32, bool)
- func (o *GetZoneModel) HasResults() bool
- func (o *GetZoneModel) HasSchemaVersion() bool
- func (o GetZoneModel) MarshalJSON() ([]byte, error)
- func (o *GetZoneModel) SetResults(v Zone)
- func (o *GetZoneModel) SetSchemaVersion(v int32)
- type GetZoneResponse
- func (o *GetZoneResponse) GetResults() Zone
- func (o *GetZoneResponse) GetResultsOk() (*Zone, bool)
- func (o *GetZoneResponse) GetSchemaVersion() int32
- func (o *GetZoneResponse) GetSchemaVersionOk() (*int32, bool)
- func (o *GetZoneResponse) HasResults() bool
- func (o *GetZoneResponse) HasSchemaVersion() bool
- func (o GetZoneResponse) MarshalJSON() ([]byte, error)
- func (o *GetZoneResponse) SetResults(v Zone)
- func (o *GetZoneResponse) SetSchemaVersion(v int32)
- func (o GetZoneResponse) ToMap() (map[string]interface{}, error)
- type GetZonesResponse
- func (o *GetZonesResponse) GetCount() int32
- func (o *GetZonesResponse) GetCountOk() (*int32, bool)
- func (o *GetZonesResponse) GetLinks() GetZonesResponseLinks
- func (o *GetZonesResponse) GetLinksOk() (*GetZonesResponseLinks, bool)
- func (o *GetZonesResponse) GetResults() []Zone
- func (o *GetZonesResponse) GetResultsOk() ([]Zone, bool)
- func (o *GetZonesResponse) GetSchemaVersion() int32
- func (o *GetZonesResponse) GetSchemaVersionOk() (*int32, bool)
- func (o *GetZonesResponse) GetTotalPages() int32
- func (o *GetZonesResponse) GetTotalPagesOk() (*int32, bool)
- func (o *GetZonesResponse) HasCount() bool
- func (o *GetZonesResponse) HasLinks() bool
- func (o *GetZonesResponse) HasResults() bool
- func (o *GetZonesResponse) HasSchemaVersion() bool
- func (o *GetZonesResponse) HasTotalPages() bool
- func (o GetZonesResponse) MarshalJSON() ([]byte, error)
- func (o *GetZonesResponse) SetCount(v int32)
- func (o *GetZonesResponse) SetLinks(v GetZonesResponseLinks)
- func (o *GetZonesResponse) SetResults(v []Zone)
- func (o *GetZonesResponse) SetSchemaVersion(v int32)
- func (o *GetZonesResponse) SetTotalPages(v int32)
- func (o GetZonesResponse) ToMap() (map[string]interface{}, error)
- type GetZonesResponseLinks
- func (o *GetZonesResponseLinks) GetNext() string
- func (o *GetZonesResponseLinks) GetNextOk() (*string, bool)
- func (o *GetZonesResponseLinks) GetPrevious() string
- func (o *GetZonesResponseLinks) GetPreviousOk() (*string, bool)
- func (o *GetZonesResponseLinks) HasNext() bool
- func (o *GetZonesResponseLinks) HasPrevious() bool
- func (o GetZonesResponseLinks) MarshalJSON() ([]byte, error)
- func (o *GetZonesResponseLinks) SetNext(v string)
- func (o *GetZonesResponseLinks) SetNextNil()
- func (o *GetZonesResponseLinks) SetPrevious(v string)
- func (o *GetZonesResponseLinks) SetPreviousNil()
- func (o GetZonesResponseLinks) ToMap() (map[string]interface{}, error)
- func (o *GetZonesResponseLinks) UnsetNext()
- func (o *GetZonesResponseLinks) UnsetPrevious()
- type MappedNullable
- type NullableBool
- type NullableCreateRecord
- func (v NullableCreateRecord) Get() *CreateRecord
- func (v NullableCreateRecord) IsSet() bool
- func (v NullableCreateRecord) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRecord) Set(val *CreateRecord)
- func (v *NullableCreateRecord) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRecord) Unset()
- type NullableCreateZone
- type NullableDnsSec
- type NullableDnsSecDelegationSigner
- func (v NullableDnsSecDelegationSigner) Get() *DnsSecDelegationSigner
- func (v NullableDnsSecDelegationSigner) IsSet() bool
- func (v NullableDnsSecDelegationSigner) MarshalJSON() ([]byte, error)
- func (v *NullableDnsSecDelegationSigner) Set(val *DnsSecDelegationSigner)
- func (v *NullableDnsSecDelegationSigner) UnmarshalJSON(src []byte) error
- func (v *NullableDnsSecDelegationSigner) Unset()
- type NullableDnsSecDelegationSignerDigestType
- func (v NullableDnsSecDelegationSignerDigestType) Get() *DnsSecDelegationSignerDigestType
- func (v NullableDnsSecDelegationSignerDigestType) IsSet() bool
- func (v NullableDnsSecDelegationSignerDigestType) MarshalJSON() ([]byte, error)
- func (v *NullableDnsSecDelegationSignerDigestType) Set(val *DnsSecDelegationSignerDigestType)
- func (v *NullableDnsSecDelegationSignerDigestType) UnmarshalJSON(src []byte) error
- func (v *NullableDnsSecDelegationSignerDigestType) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableErrors
- type NullableErrorsResponse
- func (v NullableErrorsResponse) Get() *ErrorsResponse
- func (v NullableErrorsResponse) IsSet() bool
- func (v NullableErrorsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorsResponse) Set(val *ErrorsResponse)
- func (v *NullableErrorsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorsResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGeneralError
- func (v NullableGeneralError) Get() *GeneralError
- func (v NullableGeneralError) IsSet() bool
- func (v NullableGeneralError) MarshalJSON() ([]byte, error)
- func (v *NullableGeneralError) Set(val *GeneralError)
- func (v *NullableGeneralError) UnmarshalJSON(src []byte) error
- func (v *NullableGeneralError) Unset()
- type NullableGetOrPatchDnsSecResponse
- func (v NullableGetOrPatchDnsSecResponse) Get() *GetOrPatchDnsSecResponse
- func (v NullableGetOrPatchDnsSecResponse) IsSet() bool
- func (v NullableGetOrPatchDnsSecResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetOrPatchDnsSecResponse) Set(val *GetOrPatchDnsSecResponse)
- func (v *NullableGetOrPatchDnsSecResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetOrPatchDnsSecResponse) Unset()
- type NullableGetRecordsResponse
- func (v NullableGetRecordsResponse) Get() *GetRecordsResponse
- func (v NullableGetRecordsResponse) IsSet() bool
- func (v NullableGetRecordsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetRecordsResponse) Set(val *GetRecordsResponse)
- func (v *NullableGetRecordsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetRecordsResponse) Unset()
- type NullableGetRecordsResponseResults
- func (v NullableGetRecordsResponseResults) Get() *GetRecordsResponseResults
- func (v NullableGetRecordsResponseResults) IsSet() bool
- func (v NullableGetRecordsResponseResults) MarshalJSON() ([]byte, error)
- func (v *NullableGetRecordsResponseResults) Set(val *GetRecordsResponseResults)
- func (v *NullableGetRecordsResponseResults) UnmarshalJSON(src []byte) error
- func (v *NullableGetRecordsResponseResults) Unset()
- type NullableGetZoneModel
- func (v NullableGetZoneModel) Get() *GetZoneModel
- func (v NullableGetZoneModel) IsSet() bool
- func (v NullableGetZoneModel) MarshalJSON() ([]byte, error)
- func (v *NullableGetZoneModel) Set(val *GetZoneModel)
- func (v *NullableGetZoneModel) UnmarshalJSON(src []byte) error
- func (v *NullableGetZoneModel) Unset()
- type NullableGetZoneResponse
- func (v NullableGetZoneResponse) Get() *GetZoneResponse
- func (v NullableGetZoneResponse) IsSet() bool
- func (v NullableGetZoneResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetZoneResponse) Set(val *GetZoneResponse)
- func (v *NullableGetZoneResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetZoneResponse) Unset()
- type NullableGetZonesResponse
- func (v NullableGetZonesResponse) Get() *GetZonesResponse
- func (v NullableGetZonesResponse) IsSet() bool
- func (v NullableGetZonesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetZonesResponse) Set(val *GetZonesResponse)
- func (v *NullableGetZonesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetZonesResponse) Unset()
- type NullableGetZonesResponseLinks
- func (v NullableGetZonesResponseLinks) Get() *GetZonesResponseLinks
- func (v NullableGetZonesResponseLinks) IsSet() bool
- func (v NullableGetZonesResponseLinks) MarshalJSON() ([]byte, error)
- func (v *NullableGetZonesResponseLinks) Set(val *GetZonesResponseLinks)
- func (v *NullableGetZonesResponseLinks) UnmarshalJSON(src []byte) error
- func (v *NullableGetZonesResponseLinks) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePostOrPutRecordResponse
- func (v NullablePostOrPutRecordResponse) Get() *PostOrPutRecordResponse
- func (v NullablePostOrPutRecordResponse) IsSet() bool
- func (v NullablePostOrPutRecordResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePostOrPutRecordResponse) Set(val *PostOrPutRecordResponse)
- func (v *NullablePostOrPutRecordResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePostOrPutRecordResponse) Unset()
- type NullablePostOrPutZoneResponse
- func (v NullablePostOrPutZoneResponse) Get() *PostOrPutZoneResponse
- func (v NullablePostOrPutZoneResponse) IsSet() bool
- func (v NullablePostOrPutZoneResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePostOrPutZoneResponse) Set(val *PostOrPutZoneResponse)
- func (v *NullablePostOrPutZoneResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePostOrPutZoneResponse) Unset()
- type NullableRecord
- type NullableRecordsCollection
- func (v NullableRecordsCollection) Get() *RecordsCollection
- func (v NullableRecordsCollection) IsSet() bool
- func (v NullableRecordsCollection) MarshalJSON() ([]byte, error)
- func (v *NullableRecordsCollection) Set(val *RecordsCollection)
- func (v *NullableRecordsCollection) UnmarshalJSON(src []byte) error
- func (v *NullableRecordsCollection) Unset()
- type NullableRecordsCollectionResults
- func (v NullableRecordsCollectionResults) Get() *RecordsCollectionResults
- func (v NullableRecordsCollectionResults) IsSet() bool
- func (v NullableRecordsCollectionResults) MarshalJSON() ([]byte, error)
- func (v *NullableRecordsCollectionResults) Set(val *RecordsCollectionResults)
- func (v *NullableRecordsCollectionResults) UnmarshalJSON(src []byte) error
- func (v *NullableRecordsCollectionResults) Unset()
- type NullableString
- type NullableTime
- type NullableZone
- type NullableZonesCollection
- func (v NullableZonesCollection) Get() *ZonesCollection
- func (v NullableZonesCollection) IsSet() bool
- func (v NullableZonesCollection) MarshalJSON() ([]byte, error)
- func (v *NullableZonesCollection) Set(val *ZonesCollection)
- func (v *NullableZonesCollection) UnmarshalJSON(src []byte) error
- func (v *NullableZonesCollection) Unset()
- type NullableZonesCollectionLinks
- func (v NullableZonesCollectionLinks) Get() *ZonesCollectionLinks
- func (v NullableZonesCollectionLinks) IsSet() bool
- func (v NullableZonesCollectionLinks) MarshalJSON() ([]byte, error)
- func (v *NullableZonesCollectionLinks) Set(val *ZonesCollectionLinks)
- func (v *NullableZonesCollectionLinks) UnmarshalJSON(src []byte) error
- func (v *NullableZonesCollectionLinks) Unset()
- type PostOrPutRecordResponse
- func (o *PostOrPutRecordResponse) GetResults() Record
- func (o *PostOrPutRecordResponse) GetResultsOk() (*Record, bool)
- func (o *PostOrPutRecordResponse) GetSchemaVersion() int32
- func (o *PostOrPutRecordResponse) GetSchemaVersionOk() (*int32, bool)
- func (o *PostOrPutRecordResponse) HasResults() bool
- func (o *PostOrPutRecordResponse) HasSchemaVersion() bool
- func (o PostOrPutRecordResponse) MarshalJSON() ([]byte, error)
- func (o *PostOrPutRecordResponse) SetResults(v Record)
- func (o *PostOrPutRecordResponse) SetSchemaVersion(v int32)
- func (o PostOrPutRecordResponse) ToMap() (map[string]interface{}, error)
- type PostOrPutZoneResponse
- func (o *PostOrPutZoneResponse) GetResults() []Zone
- func (o *PostOrPutZoneResponse) GetResultsOk() ([]Zone, bool)
- func (o *PostOrPutZoneResponse) GetSchemaVersion() int32
- func (o *PostOrPutZoneResponse) GetSchemaVersionOk() (*int32, bool)
- func (o *PostOrPutZoneResponse) HasResults() bool
- func (o *PostOrPutZoneResponse) HasSchemaVersion() bool
- func (o PostOrPutZoneResponse) MarshalJSON() ([]byte, error)
- func (o *PostOrPutZoneResponse) SetResults(v []Zone)
- func (o *PostOrPutZoneResponse) SetSchemaVersion(v int32)
- func (o PostOrPutZoneResponse) ToMap() (map[string]interface{}, error)
- type Record
- func (o *Record) GetAnswersList() []string
- func (o *Record) GetAnswersListOk() ([]string, bool)
- func (o *Record) GetDescription() string
- func (o *Record) GetDescriptionOk() (*string, bool)
- func (o *Record) GetEntry() string
- func (o *Record) GetEntryOk() (*string, bool)
- func (o *Record) GetPolicy() string
- func (o *Record) GetPolicyOk() (*string, bool)
- func (o *Record) GetRecordId() int32
- func (o *Record) GetRecordIdOk() (*int32, bool)
- func (o *Record) GetRecordType() string
- func (o *Record) GetRecordTypeOk() (*string, bool)
- func (o *Record) GetTtl() int32
- func (o *Record) GetTtlOk() (*int32, bool)
- func (o *Record) HasAnswersList() bool
- func (o *Record) HasDescription() bool
- func (o *Record) HasEntry() bool
- func (o *Record) HasPolicy() bool
- func (o *Record) HasRecordId() bool
- func (o *Record) HasRecordType() bool
- func (o *Record) HasTtl() bool
- func (o Record) MarshalJSON() ([]byte, error)
- func (o *Record) SetAnswersList(v []string)
- func (o *Record) SetDescription(v string)
- func (o *Record) SetEntry(v string)
- func (o *Record) SetPolicy(v string)
- func (o *Record) SetRecordId(v int32)
- func (o *Record) SetRecordType(v string)
- func (o *Record) SetTtl(v int32)
- func (o Record) ToMap() (map[string]interface{}, error)
- type RecordsApiService
- func (a *RecordsApiService) DeleteZoneRecord(ctx context.Context, zoneId int32, recordId int32) ApiDeleteZoneRecordRequest
- func (a *RecordsApiService) DeleteZoneRecordExecute(r ApiDeleteZoneRecordRequest) (string, *http.Response, error)
- func (a *RecordsApiService) GetZoneRecords(ctx context.Context, zoneId int32) ApiGetZoneRecordsRequest
- func (a *RecordsApiService) GetZoneRecordsExecute(r ApiGetZoneRecordsRequest) (*GetRecordsResponse, *http.Response, error)
- func (a *RecordsApiService) PostZoneRecord(ctx context.Context, zoneId int32) ApiPostZoneRecordRequest
- func (a *RecordsApiService) PostZoneRecordExecute(r ApiPostZoneRecordRequest) (*PostOrPutRecordResponse, *http.Response, error)
- func (a *RecordsApiService) PutZoneRecord(ctx context.Context, zoneId int32, recordId int32) ApiPutZoneRecordRequest
- func (a *RecordsApiService) PutZoneRecordExecute(r ApiPutZoneRecordRequest) (*PostOrPutRecordResponse, *http.Response, error)
- type RecordsCollection
- func (o *RecordsCollection) GetCount() int32
- func (o *RecordsCollection) GetCountOk() (*int32, bool)
- func (o *RecordsCollection) GetLinks() ZonesCollectionLinks
- func (o *RecordsCollection) GetLinksOk() (*ZonesCollectionLinks, bool)
- func (o *RecordsCollection) GetResults() RecordsCollectionResults
- func (o *RecordsCollection) GetResultsOk() (*RecordsCollectionResults, bool)
- func (o *RecordsCollection) GetSchemaVersion() int32
- func (o *RecordsCollection) GetSchemaVersionOk() (*int32, bool)
- func (o *RecordsCollection) GetTotalPages() int32
- func (o *RecordsCollection) GetTotalPagesOk() (*int32, bool)
- func (o *RecordsCollection) HasCount() bool
- func (o *RecordsCollection) HasLinks() bool
- func (o *RecordsCollection) HasResults() bool
- func (o *RecordsCollection) HasSchemaVersion() bool
- func (o *RecordsCollection) HasTotalPages() bool
- func (o RecordsCollection) MarshalJSON() ([]byte, error)
- func (o *RecordsCollection) SetCount(v int32)
- func (o *RecordsCollection) SetLinks(v ZonesCollectionLinks)
- func (o *RecordsCollection) SetResults(v RecordsCollectionResults)
- func (o *RecordsCollection) SetSchemaVersion(v int32)
- func (o *RecordsCollection) SetTotalPages(v int32)
- type RecordsCollectionResults
- func (o *RecordsCollectionResults) GetDomain() string
- func (o *RecordsCollectionResults) GetDomainOk() (*string, bool)
- func (o *RecordsCollectionResults) GetRecords() []Record
- func (o *RecordsCollectionResults) GetRecordsOk() ([]Record, bool)
- func (o *RecordsCollectionResults) GetZoneId() int32
- func (o *RecordsCollectionResults) GetZoneIdOk() (*int32, bool)
- func (o *RecordsCollectionResults) HasDomain() bool
- func (o *RecordsCollectionResults) HasRecords() bool
- func (o *RecordsCollectionResults) HasZoneId() bool
- func (o RecordsCollectionResults) MarshalJSON() ([]byte, error)
- func (o *RecordsCollectionResults) SetDomain(v string)
- func (o *RecordsCollectionResults) SetRecords(v []Record)
- func (o *RecordsCollectionResults) SetZoneId(v int32)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Zone
- func (o *Zone) GetDomain() string
- func (o *Zone) GetDomainOk() (*string, bool)
- func (o *Zone) GetExpiry() int32
- func (o *Zone) GetExpiryOk() (*int32, bool)
- func (o *Zone) GetId() int32
- func (o *Zone) GetIdOk() (*int32, bool)
- func (o *Zone) GetIsActive() bool
- func (o *Zone) GetIsActiveOk() (*bool, bool)
- func (o *Zone) GetName() string
- func (o *Zone) GetNameOk() (*string, bool)
- func (o *Zone) GetNameservers() []string
- func (o *Zone) GetNameserversOk() ([]string, bool)
- func (o *Zone) GetNxTtl() int32
- func (o *Zone) GetNxTtlOk() (*int32, bool)
- func (o *Zone) GetRefresh() int32
- func (o *Zone) GetRefreshOk() (*int32, bool)
- func (o *Zone) GetRetry() int32
- func (o *Zone) GetRetryOk() (*int32, bool)
- func (o *Zone) GetSoaTtl() int32
- func (o *Zone) GetSoaTtlOk() (*int32, bool)
- func (o *Zone) HasDomain() bool
- func (o *Zone) HasExpiry() bool
- func (o *Zone) HasId() bool
- func (o *Zone) HasIsActive() bool
- func (o *Zone) HasName() bool
- func (o *Zone) HasNameservers() bool
- func (o *Zone) HasNxTtl() bool
- func (o *Zone) HasRefresh() bool
- func (o *Zone) HasRetry() bool
- func (o *Zone) HasSoaTtl() bool
- func (o Zone) MarshalJSON() ([]byte, error)
- func (o *Zone) SetDomain(v string)
- func (o *Zone) SetExpiry(v int32)
- func (o *Zone) SetExpiryNil()
- func (o *Zone) SetId(v int32)
- func (o *Zone) SetIsActive(v bool)
- func (o *Zone) SetName(v string)
- func (o *Zone) SetNameservers(v []string)
- func (o *Zone) SetNxTtl(v int32)
- func (o *Zone) SetNxTtlNil()
- func (o *Zone) SetRefresh(v int32)
- func (o *Zone) SetRefreshNil()
- func (o *Zone) SetRetry(v int32)
- func (o *Zone) SetRetryNil()
- func (o *Zone) SetSoaTtl(v int32)
- func (o *Zone) SetSoaTtlNil()
- func (o Zone) ToMap() (map[string]interface{}, error)
- func (o *Zone) UnsetExpiry()
- func (o *Zone) UnsetNxTtl()
- func (o *Zone) UnsetRefresh()
- func (o *Zone) UnsetRetry()
- func (o *Zone) UnsetSoaTtl()
- type ZonesApiService
- func (a *ZonesApiService) DeleteZone(ctx context.Context, zoneId int32) ApiDeleteZoneRequest
- func (a *ZonesApiService) DeleteZoneExecute(r ApiDeleteZoneRequest) (string, *http.Response, error)
- func (a *ZonesApiService) GetZone(ctx context.Context, zoneId int32) ApiGetZoneRequest
- func (a *ZonesApiService) GetZoneExecute(r ApiGetZoneRequest) (*GetZoneResponse, *http.Response, error)
- func (a *ZonesApiService) GetZones(ctx context.Context) ApiGetZonesRequest
- func (a *ZonesApiService) GetZonesExecute(r ApiGetZonesRequest) (*GetZonesResponse, *http.Response, error)
- func (a *ZonesApiService) PostZone(ctx context.Context) ApiPostZoneRequest
- func (a *ZonesApiService) PostZoneExecute(r ApiPostZoneRequest) (*PostOrPutZoneResponse, *http.Response, error)
- func (a *ZonesApiService) PutZone(ctx context.Context, zoneId int32) ApiPutZoneRequest
- func (a *ZonesApiService) PutZoneExecute(r ApiPutZoneRequest) (*PostOrPutZoneResponse, *http.Response, error)
- type ZonesCollection
- func (o *ZonesCollection) GetCount() int32
- func (o *ZonesCollection) GetCountOk() (*int32, bool)
- func (o *ZonesCollection) GetLinks() ZonesCollectionLinks
- func (o *ZonesCollection) GetLinksOk() (*ZonesCollectionLinks, bool)
- func (o *ZonesCollection) GetResults() []Zone
- func (o *ZonesCollection) GetResultsOk() ([]Zone, bool)
- func (o *ZonesCollection) GetSchemaVersion() int32
- func (o *ZonesCollection) GetSchemaVersionOk() (*int32, bool)
- func (o *ZonesCollection) GetTotalPages() int32
- func (o *ZonesCollection) GetTotalPagesOk() (*int32, bool)
- func (o *ZonesCollection) HasCount() bool
- func (o *ZonesCollection) HasLinks() bool
- func (o *ZonesCollection) HasResults() bool
- func (o *ZonesCollection) HasSchemaVersion() bool
- func (o *ZonesCollection) HasTotalPages() bool
- func (o ZonesCollection) MarshalJSON() ([]byte, error)
- func (o *ZonesCollection) SetCount(v int32)
- func (o *ZonesCollection) SetLinks(v ZonesCollectionLinks)
- func (o *ZonesCollection) SetResults(v []Zone)
- func (o *ZonesCollection) SetSchemaVersion(v int32)
- func (o *ZonesCollection) SetTotalPages(v int32)
- type ZonesCollectionLinks
- func (o *ZonesCollectionLinks) GetNext() string
- func (o *ZonesCollectionLinks) GetNextOk() (*string, bool)
- func (o *ZonesCollectionLinks) GetPrevious() string
- func (o *ZonesCollectionLinks) GetPreviousOk() (*string, bool)
- func (o *ZonesCollectionLinks) HasNext() bool
- func (o *ZonesCollectionLinks) HasPrevious() bool
- func (o ZonesCollectionLinks) MarshalJSON() ([]byte, error)
- func (o *ZonesCollectionLinks) SetNext(v string)
- func (o *ZonesCollectionLinks) SetNextNil()
- func (o *ZonesCollectionLinks) SetPrevious(v string)
- func (o *ZonesCollectionLinks) SetPreviousNil()
- func (o *ZonesCollectionLinks) UnsetNext()
- func (o *ZonesCollectionLinks) UnsetPrevious()
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DNSSECApi *DNSSECApiService RecordsApi *RecordsApiService ZonesApi *ZonesApiService // contains filtered or unexported fields }
APIClient manages communication with the Intelligent DNS API v3.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiDeleteZoneRecordRequest ¶
type ApiDeleteZoneRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
type ApiDeleteZoneRequest ¶
type ApiDeleteZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
type ApiGetZoneDnsSecRequest ¶
type ApiGetZoneDnsSecRequest struct { ApiService *DNSSECApiService // contains filtered or unexported fields }
func (ApiGetZoneDnsSecRequest) Execute ¶
func (r ApiGetZoneDnsSecRequest) Execute() (*GetOrPatchDnsSecResponse, *http.Response, error)
type ApiGetZoneRecordsRequest ¶
type ApiGetZoneRecordsRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiGetZoneRecordsRequest) Execute ¶
func (r ApiGetZoneRecordsRequest) Execute() (*GetRecordsResponse, *http.Response, error)
type ApiGetZoneRequest ¶
type ApiGetZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiGetZoneRequest) Execute ¶
func (r ApiGetZoneRequest) Execute() (*GetZoneResponse, *http.Response, error)
type ApiGetZonesRequest ¶
type ApiGetZonesRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiGetZonesRequest) Execute ¶
func (r ApiGetZonesRequest) Execute() (*GetZonesResponse, *http.Response, error)
type ApiPostZoneRecordRequest ¶
type ApiPostZoneRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiPostZoneRecordRequest) Execute ¶
func (r ApiPostZoneRecordRequest) Execute() (*PostOrPutRecordResponse, *http.Response, error)
func (ApiPostZoneRecordRequest) Record ¶
func (r ApiPostZoneRecordRequest) Record(record Record) ApiPostZoneRecordRequest
type ApiPostZoneRequest ¶
type ApiPostZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiPostZoneRequest) Execute ¶
func (r ApiPostZoneRequest) Execute() (*PostOrPutZoneResponse, *http.Response, error)
func (ApiPostZoneRequest) Zone ¶
func (r ApiPostZoneRequest) Zone(zone Zone) ApiPostZoneRequest
type ApiPutZoneDnsSecRequest ¶
type ApiPutZoneDnsSecRequest struct { ApiService *DNSSECApiService // contains filtered or unexported fields }
func (ApiPutZoneDnsSecRequest) DnsSec ¶
func (r ApiPutZoneDnsSecRequest) DnsSec(dnsSec DnsSec) ApiPutZoneDnsSecRequest
func (ApiPutZoneDnsSecRequest) Execute ¶
func (r ApiPutZoneDnsSecRequest) Execute() (*GetOrPatchDnsSecResponse, *http.Response, error)
type ApiPutZoneRecordRequest ¶
type ApiPutZoneRecordRequest struct { ApiService *RecordsApiService // contains filtered or unexported fields }
func (ApiPutZoneRecordRequest) Execute ¶
func (r ApiPutZoneRecordRequest) Execute() (*PostOrPutRecordResponse, *http.Response, error)
func (ApiPutZoneRecordRequest) Record ¶
func (r ApiPutZoneRecordRequest) Record(record Record) ApiPutZoneRecordRequest
type ApiPutZoneRequest ¶
type ApiPutZoneRequest struct { ApiService *ZonesApiService // contains filtered or unexported fields }
func (ApiPutZoneRequest) Execute ¶
func (r ApiPutZoneRequest) Execute() (*PostOrPutZoneResponse, *http.Response, error)
func (ApiPutZoneRequest) Zone ¶
func (r ApiPutZoneRequest) Zone(zone Zone) ApiPutZoneRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateRecord ¶
type CreateRecord struct { Results *Record `json:"results,omitempty"` // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` }
CreateRecord Object returned by create zone record
func NewCreateRecord ¶
func NewCreateRecord() *CreateRecord
NewCreateRecord instantiates a new CreateRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateRecordWithDefaults ¶
func NewCreateRecordWithDefaults() *CreateRecord
NewCreateRecordWithDefaults instantiates a new CreateRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateRecord) GetResults ¶
func (o *CreateRecord) GetResults() Record
GetResults returns the Results field value if set, zero value otherwise.
func (*CreateRecord) GetResultsOk ¶
func (o *CreateRecord) GetResultsOk() (*Record, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRecord) GetSchemaVersion ¶
func (o *CreateRecord) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*CreateRecord) GetSchemaVersionOk ¶
func (o *CreateRecord) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRecord) HasResults ¶
func (o *CreateRecord) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*CreateRecord) HasSchemaVersion ¶
func (o *CreateRecord) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (CreateRecord) MarshalJSON ¶
func (o CreateRecord) MarshalJSON() ([]byte, error)
func (*CreateRecord) SetResults ¶
func (o *CreateRecord) SetResults(v Record)
SetResults gets a reference to the given Record and assigns it to the Results field.
func (*CreateRecord) SetSchemaVersion ¶
func (o *CreateRecord) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
type CreateZone ¶
type CreateZone struct { // The created hosted zone Results []Zone `json:"results,omitempty"` // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` }
CreateZone Object returned by create zone
func NewCreateZone ¶
func NewCreateZone() *CreateZone
NewCreateZone instantiates a new CreateZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateZoneWithDefaults ¶
func NewCreateZoneWithDefaults() *CreateZone
NewCreateZoneWithDefaults instantiates a new CreateZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateZone) GetResults ¶
func (o *CreateZone) GetResults() []Zone
GetResults returns the Results field value if set, zero value otherwise.
func (*CreateZone) GetResultsOk ¶
func (o *CreateZone) GetResultsOk() ([]Zone, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateZone) GetSchemaVersion ¶
func (o *CreateZone) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*CreateZone) GetSchemaVersionOk ¶
func (o *CreateZone) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateZone) HasResults ¶
func (o *CreateZone) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*CreateZone) HasSchemaVersion ¶
func (o *CreateZone) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (CreateZone) MarshalJSON ¶
func (o CreateZone) MarshalJSON() ([]byte, error)
func (*CreateZone) SetResults ¶
func (o *CreateZone) SetResults(v []Zone)
SetResults gets a reference to the given []Zone and assigns it to the Results field.
func (*CreateZone) SetSchemaVersion ¶
func (o *CreateZone) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
type DNSSECApiService ¶
type DNSSECApiService service
DNSSECApiService DNSSECApi service
func (*DNSSECApiService) GetZoneDnsSec ¶
func (a *DNSSECApiService) GetZoneDnsSec(ctx context.Context, zoneId int32) ApiGetZoneDnsSecRequest
GetZoneDnsSec Retrieve the DNSSEC zone status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiGetZoneDnsSecRequest
func (*DNSSECApiService) GetZoneDnsSecExecute ¶
func (a *DNSSECApiService) GetZoneDnsSecExecute(r ApiGetZoneDnsSecRequest) (*GetOrPatchDnsSecResponse, *http.Response, error)
Execute executes the request
@return GetOrPatchDnsSecResponse
func (*DNSSECApiService) PutZoneDnsSec ¶
func (a *DNSSECApiService) PutZoneDnsSec(ctx context.Context, zoneId int32) ApiPutZoneDnsSecRequest
PutZoneDnsSec Update the DNSSEC zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiPutZoneDnsSecRequest
func (*DNSSECApiService) PutZoneDnsSecExecute ¶
func (a *DNSSECApiService) PutZoneDnsSecExecute(r ApiPutZoneDnsSecRequest) (*GetOrPatchDnsSecResponse, *http.Response, error)
Execute executes the request
@return GetOrPatchDnsSecResponse
type DnsSec ¶
type DnsSec struct { IsEnabled *bool `json:"is_enabled,omitempty"` Status *string `json:"status,omitempty"` DelegationSigner *DnsSecDelegationSigner `json:"delegation_signer,omitempty"` AlgorithmType *DnsSecDelegationSignerDigestType `json:"algorithm_type,omitempty"` Digest *string `json:"digest,omitempty"` KeyTag *int32 `json:"key_tag,omitempty"` }
DnsSec struct for DnsSec
func NewDnsSec ¶
func NewDnsSec() *DnsSec
NewDnsSec instantiates a new DnsSec object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDnsSecWithDefaults ¶
func NewDnsSecWithDefaults() *DnsSec
NewDnsSecWithDefaults instantiates a new DnsSec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DnsSec) GetAlgorithmType ¶
func (o *DnsSec) GetAlgorithmType() DnsSecDelegationSignerDigestType
GetAlgorithmType returns the AlgorithmType field value if set, zero value otherwise.
func (*DnsSec) GetAlgorithmTypeOk ¶
func (o *DnsSec) GetAlgorithmTypeOk() (*DnsSecDelegationSignerDigestType, bool)
GetAlgorithmTypeOk returns a tuple with the AlgorithmType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSec) GetDelegationSigner ¶
func (o *DnsSec) GetDelegationSigner() DnsSecDelegationSigner
GetDelegationSigner returns the DelegationSigner field value if set, zero value otherwise.
func (*DnsSec) GetDelegationSignerOk ¶
func (o *DnsSec) GetDelegationSignerOk() (*DnsSecDelegationSigner, bool)
GetDelegationSignerOk returns a tuple with the DelegationSigner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSec) GetDigestOk ¶
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSec) GetIsEnabled ¶
GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.
func (*DnsSec) GetIsEnabledOk ¶
GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSec) GetKeyTagOk ¶
GetKeyTagOk returns a tuple with the KeyTag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSec) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSec) HasAlgorithmType ¶
HasAlgorithmType returns a boolean if a field has been set.
func (*DnsSec) HasDelegationSigner ¶
HasDelegationSigner returns a boolean if a field has been set.
func (*DnsSec) HasIsEnabled ¶
HasIsEnabled returns a boolean if a field has been set.
func (DnsSec) MarshalJSON ¶
func (*DnsSec) SetAlgorithmType ¶
func (o *DnsSec) SetAlgorithmType(v DnsSecDelegationSignerDigestType)
SetAlgorithmType gets a reference to the given DnsSecDelegationSignerDigestType and assigns it to the AlgorithmType field.
func (*DnsSec) SetDelegationSigner ¶
func (o *DnsSec) SetDelegationSigner(v DnsSecDelegationSigner)
SetDelegationSigner gets a reference to the given DnsSecDelegationSigner and assigns it to the DelegationSigner field.
func (*DnsSec) SetDigest ¶
SetDigest gets a reference to the given string and assigns it to the Digest field.
func (*DnsSec) SetIsEnabled ¶
SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.
func (*DnsSec) SetKeyTag ¶
SetKeyTag gets a reference to the given int32 and assigns it to the KeyTag field.
type DnsSecDelegationSigner ¶
type DnsSecDelegationSigner struct {
DigestType *DnsSecDelegationSignerDigestType `json:"digest_type,omitempty"`
}
DnsSecDelegationSigner struct for DnsSecDelegationSigner
func NewDnsSecDelegationSigner ¶
func NewDnsSecDelegationSigner() *DnsSecDelegationSigner
NewDnsSecDelegationSigner instantiates a new DnsSecDelegationSigner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDnsSecDelegationSignerWithDefaults ¶
func NewDnsSecDelegationSignerWithDefaults() *DnsSecDelegationSigner
NewDnsSecDelegationSignerWithDefaults instantiates a new DnsSecDelegationSigner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DnsSecDelegationSigner) GetDigestType ¶
func (o *DnsSecDelegationSigner) GetDigestType() DnsSecDelegationSignerDigestType
GetDigestType returns the DigestType field value if set, zero value otherwise.
func (*DnsSecDelegationSigner) GetDigestTypeOk ¶
func (o *DnsSecDelegationSigner) GetDigestTypeOk() (*DnsSecDelegationSignerDigestType, bool)
GetDigestTypeOk returns a tuple with the DigestType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSecDelegationSigner) HasDigestType ¶
func (o *DnsSecDelegationSigner) HasDigestType() bool
HasDigestType returns a boolean if a field has been set.
func (DnsSecDelegationSigner) MarshalJSON ¶
func (o DnsSecDelegationSigner) MarshalJSON() ([]byte, error)
func (*DnsSecDelegationSigner) SetDigestType ¶
func (o *DnsSecDelegationSigner) SetDigestType(v DnsSecDelegationSignerDigestType)
SetDigestType gets a reference to the given DnsSecDelegationSignerDigestType and assigns it to the DigestType field.
func (DnsSecDelegationSigner) ToMap ¶ added in v0.25.0
func (o DnsSecDelegationSigner) ToMap() (map[string]interface{}, error)
type DnsSecDelegationSignerDigestType ¶
type DnsSecDelegationSignerDigestType struct { Id *int32 `json:"id,omitempty"` Slug *string `json:"slug,omitempty"` }
DnsSecDelegationSignerDigestType struct for DnsSecDelegationSignerDigestType
func NewDnsSecDelegationSignerDigestType ¶
func NewDnsSecDelegationSignerDigestType() *DnsSecDelegationSignerDigestType
NewDnsSecDelegationSignerDigestType instantiates a new DnsSecDelegationSignerDigestType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDnsSecDelegationSignerDigestTypeWithDefaults ¶
func NewDnsSecDelegationSignerDigestTypeWithDefaults() *DnsSecDelegationSignerDigestType
NewDnsSecDelegationSignerDigestTypeWithDefaults instantiates a new DnsSecDelegationSignerDigestType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DnsSecDelegationSignerDigestType) GetId ¶
func (o *DnsSecDelegationSignerDigestType) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*DnsSecDelegationSignerDigestType) GetIdOk ¶
func (o *DnsSecDelegationSignerDigestType) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSecDelegationSignerDigestType) GetSlug ¶
func (o *DnsSecDelegationSignerDigestType) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*DnsSecDelegationSignerDigestType) GetSlugOk ¶
func (o *DnsSecDelegationSignerDigestType) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSecDelegationSignerDigestType) HasId ¶
func (o *DnsSecDelegationSignerDigestType) HasId() bool
HasId returns a boolean if a field has been set.
func (*DnsSecDelegationSignerDigestType) HasSlug ¶
func (o *DnsSecDelegationSignerDigestType) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (DnsSecDelegationSignerDigestType) MarshalJSON ¶
func (o DnsSecDelegationSignerDigestType) MarshalJSON() ([]byte, error)
func (*DnsSecDelegationSignerDigestType) SetId ¶
func (o *DnsSecDelegationSignerDigestType) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*DnsSecDelegationSignerDigestType) SetSlug ¶
func (o *DnsSecDelegationSignerDigestType) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (DnsSecDelegationSignerDigestType) ToMap ¶ added in v0.25.0
func (o DnsSecDelegationSignerDigestType) ToMap() (map[string]interface{}, error)
type ErrorResponse ¶
type ErrorResponse struct {
Detail *string `json:"detail,omitempty"`
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetDetail ¶
func (o *ErrorResponse) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ErrorResponse) GetDetailOk ¶
func (o *ErrorResponse) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasDetail ¶
func (o *ErrorResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetDetail ¶
func (o *ErrorResponse) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (ErrorResponse) ToMap ¶ added in v0.25.0
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
type Errors ¶
type Errors struct {
Errors []string `json:"errors,omitempty"`
}
Errors struct for Errors
func NewErrors ¶
func NewErrors() *Errors
NewErrors instantiates a new Errors object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorsWithDefaults ¶
func NewErrorsWithDefaults() *Errors
NewErrorsWithDefaults instantiates a new Errors object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Errors) GetErrorsOk ¶
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (Errors) MarshalJSON ¶
type ErrorsResponse ¶
type ErrorsResponse struct {
Errors []string `json:"errors,omitempty"`
}
ErrorsResponse struct for ErrorsResponse
func NewErrorsResponse ¶
func NewErrorsResponse() *ErrorsResponse
NewErrorsResponse instantiates a new ErrorsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorsResponseWithDefaults ¶
func NewErrorsResponseWithDefaults() *ErrorsResponse
NewErrorsResponseWithDefaults instantiates a new ErrorsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorsResponse) GetErrors ¶
func (o *ErrorsResponse) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ErrorsResponse) GetErrorsOk ¶
func (o *ErrorsResponse) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorsResponse) HasErrors ¶
func (o *ErrorsResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (ErrorsResponse) MarshalJSON ¶
func (o ErrorsResponse) MarshalJSON() ([]byte, error)
func (*ErrorsResponse) SetErrors ¶
func (o *ErrorsResponse) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (ErrorsResponse) ToMap ¶ added in v0.25.0
func (o ErrorsResponse) ToMap() (map[string]interface{}, error)
type GeneralError ¶
type GeneralError struct {
Detail *string `json:"detail,omitempty"`
}
GeneralError struct for GeneralError
func NewGeneralError ¶
func NewGeneralError() *GeneralError
NewGeneralError instantiates a new GeneralError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGeneralErrorWithDefaults ¶
func NewGeneralErrorWithDefaults() *GeneralError
NewGeneralErrorWithDefaults instantiates a new GeneralError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GeneralError) GetDetail ¶
func (o *GeneralError) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*GeneralError) GetDetailOk ¶
func (o *GeneralError) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GeneralError) HasDetail ¶
func (o *GeneralError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (GeneralError) MarshalJSON ¶
func (o GeneralError) MarshalJSON() ([]byte, error)
func (*GeneralError) SetDetail ¶
func (o *GeneralError) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetOrPatchDnsSecResponse ¶
type GetOrPatchDnsSecResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` Results *DnsSec `json:"results,omitempty"` }
GetOrPatchDnsSecResponse Object returned by get zone DNSSEC
func NewGetOrPatchDnsSecResponse ¶
func NewGetOrPatchDnsSecResponse() *GetOrPatchDnsSecResponse
NewGetOrPatchDnsSecResponse instantiates a new GetOrPatchDnsSecResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetOrPatchDnsSecResponseWithDefaults ¶
func NewGetOrPatchDnsSecResponseWithDefaults() *GetOrPatchDnsSecResponse
NewGetOrPatchDnsSecResponseWithDefaults instantiates a new GetOrPatchDnsSecResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetOrPatchDnsSecResponse) GetResults ¶
func (o *GetOrPatchDnsSecResponse) GetResults() DnsSec
GetResults returns the Results field value if set, zero value otherwise.
func (*GetOrPatchDnsSecResponse) GetResultsOk ¶
func (o *GetOrPatchDnsSecResponse) GetResultsOk() (*DnsSec, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrPatchDnsSecResponse) GetSchemaVersion ¶
func (o *GetOrPatchDnsSecResponse) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*GetOrPatchDnsSecResponse) GetSchemaVersionOk ¶
func (o *GetOrPatchDnsSecResponse) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrPatchDnsSecResponse) HasResults ¶
func (o *GetOrPatchDnsSecResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*GetOrPatchDnsSecResponse) HasSchemaVersion ¶
func (o *GetOrPatchDnsSecResponse) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (GetOrPatchDnsSecResponse) MarshalJSON ¶
func (o GetOrPatchDnsSecResponse) MarshalJSON() ([]byte, error)
func (*GetOrPatchDnsSecResponse) SetResults ¶
func (o *GetOrPatchDnsSecResponse) SetResults(v DnsSec)
SetResults gets a reference to the given DnsSec and assigns it to the Results field.
func (*GetOrPatchDnsSecResponse) SetSchemaVersion ¶
func (o *GetOrPatchDnsSecResponse) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (GetOrPatchDnsSecResponse) ToMap ¶ added in v0.25.0
func (o GetOrPatchDnsSecResponse) ToMap() (map[string]interface{}, error)
type GetRecordsResponse ¶
type GetRecordsResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` // Number of records Count *int32 `json:"count,omitempty"` // The total pages TotalPages *int32 `json:"total_pages,omitempty"` Links *GetZonesResponseLinks `json:"links,omitempty"` Results *GetRecordsResponseResults `json:"results,omitempty"` }
GetRecordsResponse Object returned by get zone record
func NewGetRecordsResponse ¶
func NewGetRecordsResponse() *GetRecordsResponse
NewGetRecordsResponse instantiates a new GetRecordsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetRecordsResponseWithDefaults ¶
func NewGetRecordsResponseWithDefaults() *GetRecordsResponse
NewGetRecordsResponseWithDefaults instantiates a new GetRecordsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetRecordsResponse) GetCount ¶
func (o *GetRecordsResponse) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*GetRecordsResponse) GetCountOk ¶
func (o *GetRecordsResponse) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponse) GetLinks ¶
func (o *GetRecordsResponse) GetLinks() GetZonesResponseLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*GetRecordsResponse) GetLinksOk ¶
func (o *GetRecordsResponse) GetLinksOk() (*GetZonesResponseLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponse) GetResults ¶
func (o *GetRecordsResponse) GetResults() GetRecordsResponseResults
GetResults returns the Results field value if set, zero value otherwise.
func (*GetRecordsResponse) GetResultsOk ¶
func (o *GetRecordsResponse) GetResultsOk() (*GetRecordsResponseResults, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponse) GetSchemaVersion ¶
func (o *GetRecordsResponse) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*GetRecordsResponse) GetSchemaVersionOk ¶
func (o *GetRecordsResponse) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponse) GetTotalPages ¶
func (o *GetRecordsResponse) GetTotalPages() int32
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*GetRecordsResponse) GetTotalPagesOk ¶
func (o *GetRecordsResponse) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponse) HasCount ¶
func (o *GetRecordsResponse) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*GetRecordsResponse) HasLinks ¶
func (o *GetRecordsResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*GetRecordsResponse) HasResults ¶
func (o *GetRecordsResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*GetRecordsResponse) HasSchemaVersion ¶
func (o *GetRecordsResponse) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (*GetRecordsResponse) HasTotalPages ¶
func (o *GetRecordsResponse) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (GetRecordsResponse) MarshalJSON ¶
func (o GetRecordsResponse) MarshalJSON() ([]byte, error)
func (*GetRecordsResponse) SetCount ¶
func (o *GetRecordsResponse) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*GetRecordsResponse) SetLinks ¶
func (o *GetRecordsResponse) SetLinks(v GetZonesResponseLinks)
SetLinks gets a reference to the given GetZonesResponseLinks and assigns it to the Links field.
func (*GetRecordsResponse) SetResults ¶
func (o *GetRecordsResponse) SetResults(v GetRecordsResponseResults)
SetResults gets a reference to the given GetRecordsResponseResults and assigns it to the Results field.
func (*GetRecordsResponse) SetSchemaVersion ¶
func (o *GetRecordsResponse) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (*GetRecordsResponse) SetTotalPages ¶
func (o *GetRecordsResponse) SetTotalPages(v int32)
SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.
func (GetRecordsResponse) ToMap ¶ added in v0.25.0
func (o GetRecordsResponse) ToMap() (map[string]interface{}, error)
type GetRecordsResponseResults ¶
type GetRecordsResponseResults struct { ZoneId *int32 `json:"zone_id,omitempty"` ZoneDomain *string `json:"zone_domain,omitempty"` // Zone records collection Records []Record `json:"records,omitempty"` }
GetRecordsResponseResults struct for GetRecordsResponseResults
func NewGetRecordsResponseResults ¶
func NewGetRecordsResponseResults() *GetRecordsResponseResults
NewGetRecordsResponseResults instantiates a new GetRecordsResponseResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetRecordsResponseResultsWithDefaults ¶
func NewGetRecordsResponseResultsWithDefaults() *GetRecordsResponseResults
NewGetRecordsResponseResultsWithDefaults instantiates a new GetRecordsResponseResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetRecordsResponseResults) GetRecords ¶
func (o *GetRecordsResponseResults) GetRecords() []Record
GetRecords returns the Records field value if set, zero value otherwise.
func (*GetRecordsResponseResults) GetRecordsOk ¶
func (o *GetRecordsResponseResults) GetRecordsOk() ([]Record, bool)
GetRecordsOk returns a tuple with the Records field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponseResults) GetZoneDomain ¶ added in v0.25.0
func (o *GetRecordsResponseResults) GetZoneDomain() string
GetZoneDomain returns the ZoneDomain field value if set, zero value otherwise.
func (*GetRecordsResponseResults) GetZoneDomainOk ¶ added in v0.25.0
func (o *GetRecordsResponseResults) GetZoneDomainOk() (*string, bool)
GetZoneDomainOk returns a tuple with the ZoneDomain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponseResults) GetZoneId ¶
func (o *GetRecordsResponseResults) GetZoneId() int32
GetZoneId returns the ZoneId field value if set, zero value otherwise.
func (*GetRecordsResponseResults) GetZoneIdOk ¶
func (o *GetRecordsResponseResults) GetZoneIdOk() (*int32, bool)
GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRecordsResponseResults) HasRecords ¶
func (o *GetRecordsResponseResults) HasRecords() bool
HasRecords returns a boolean if a field has been set.
func (*GetRecordsResponseResults) HasZoneDomain ¶ added in v0.25.0
func (o *GetRecordsResponseResults) HasZoneDomain() bool
HasZoneDomain returns a boolean if a field has been set.
func (*GetRecordsResponseResults) HasZoneId ¶
func (o *GetRecordsResponseResults) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (GetRecordsResponseResults) MarshalJSON ¶
func (o GetRecordsResponseResults) MarshalJSON() ([]byte, error)
func (*GetRecordsResponseResults) SetRecords ¶
func (o *GetRecordsResponseResults) SetRecords(v []Record)
SetRecords gets a reference to the given []Record and assigns it to the Records field.
func (*GetRecordsResponseResults) SetZoneDomain ¶ added in v0.25.0
func (o *GetRecordsResponseResults) SetZoneDomain(v string)
SetZoneDomain gets a reference to the given string and assigns it to the ZoneDomain field.
func (*GetRecordsResponseResults) SetZoneId ¶
func (o *GetRecordsResponseResults) SetZoneId(v int32)
SetZoneId gets a reference to the given int32 and assigns it to the ZoneId field.
func (GetRecordsResponseResults) ToMap ¶ added in v0.25.0
func (o GetRecordsResponseResults) ToMap() (map[string]interface{}, error)
type GetZoneModel ¶
type GetZoneModel struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` Results *Zone `json:"results,omitempty"` }
GetZoneModel Object returned by get zone
func NewGetZoneModel ¶
func NewGetZoneModel() *GetZoneModel
NewGetZoneModel instantiates a new GetZoneModel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetZoneModelWithDefaults ¶
func NewGetZoneModelWithDefaults() *GetZoneModel
NewGetZoneModelWithDefaults instantiates a new GetZoneModel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetZoneModel) GetResults ¶
func (o *GetZoneModel) GetResults() Zone
GetResults returns the Results field value if set, zero value otherwise.
func (*GetZoneModel) GetResultsOk ¶
func (o *GetZoneModel) GetResultsOk() (*Zone, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZoneModel) GetSchemaVersion ¶
func (o *GetZoneModel) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*GetZoneModel) GetSchemaVersionOk ¶
func (o *GetZoneModel) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZoneModel) HasResults ¶
func (o *GetZoneModel) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*GetZoneModel) HasSchemaVersion ¶
func (o *GetZoneModel) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (GetZoneModel) MarshalJSON ¶
func (o GetZoneModel) MarshalJSON() ([]byte, error)
func (*GetZoneModel) SetResults ¶
func (o *GetZoneModel) SetResults(v Zone)
SetResults gets a reference to the given Zone and assigns it to the Results field.
func (*GetZoneModel) SetSchemaVersion ¶
func (o *GetZoneModel) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
type GetZoneResponse ¶
type GetZoneResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` Results *Zone `json:"results,omitempty"` }
GetZoneResponse Object returned by get zone
func NewGetZoneResponse ¶
func NewGetZoneResponse() *GetZoneResponse
NewGetZoneResponse instantiates a new GetZoneResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetZoneResponseWithDefaults ¶
func NewGetZoneResponseWithDefaults() *GetZoneResponse
NewGetZoneResponseWithDefaults instantiates a new GetZoneResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetZoneResponse) GetResults ¶
func (o *GetZoneResponse) GetResults() Zone
GetResults returns the Results field value if set, zero value otherwise.
func (*GetZoneResponse) GetResultsOk ¶
func (o *GetZoneResponse) GetResultsOk() (*Zone, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZoneResponse) GetSchemaVersion ¶
func (o *GetZoneResponse) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*GetZoneResponse) GetSchemaVersionOk ¶
func (o *GetZoneResponse) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZoneResponse) HasResults ¶
func (o *GetZoneResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*GetZoneResponse) HasSchemaVersion ¶
func (o *GetZoneResponse) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (GetZoneResponse) MarshalJSON ¶
func (o GetZoneResponse) MarshalJSON() ([]byte, error)
func (*GetZoneResponse) SetResults ¶
func (o *GetZoneResponse) SetResults(v Zone)
SetResults gets a reference to the given Zone and assigns it to the Results field.
func (*GetZoneResponse) SetSchemaVersion ¶
func (o *GetZoneResponse) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (GetZoneResponse) ToMap ¶ added in v0.25.0
func (o GetZoneResponse) ToMap() (map[string]interface{}, error)
type GetZonesResponse ¶
type GetZonesResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` // Number of records Count *int32 `json:"count,omitempty"` // The total pages TotalPages *int32 `json:"total_pages,omitempty"` Links *GetZonesResponseLinks `json:"links,omitempty"` // Hosted zones collection Results []Zone `json:"results,omitempty"` }
GetZonesResponse Object returned by get zones
func NewGetZonesResponse ¶
func NewGetZonesResponse() *GetZonesResponse
NewGetZonesResponse instantiates a new GetZonesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetZonesResponseWithDefaults ¶
func NewGetZonesResponseWithDefaults() *GetZonesResponse
NewGetZonesResponseWithDefaults instantiates a new GetZonesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetZonesResponse) GetCount ¶
func (o *GetZonesResponse) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*GetZonesResponse) GetCountOk ¶
func (o *GetZonesResponse) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZonesResponse) GetLinks ¶
func (o *GetZonesResponse) GetLinks() GetZonesResponseLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*GetZonesResponse) GetLinksOk ¶
func (o *GetZonesResponse) GetLinksOk() (*GetZonesResponseLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZonesResponse) GetResults ¶
func (o *GetZonesResponse) GetResults() []Zone
GetResults returns the Results field value if set, zero value otherwise.
func (*GetZonesResponse) GetResultsOk ¶
func (o *GetZonesResponse) GetResultsOk() ([]Zone, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZonesResponse) GetSchemaVersion ¶
func (o *GetZonesResponse) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*GetZonesResponse) GetSchemaVersionOk ¶
func (o *GetZonesResponse) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZonesResponse) GetTotalPages ¶
func (o *GetZonesResponse) GetTotalPages() int32
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*GetZonesResponse) GetTotalPagesOk ¶
func (o *GetZonesResponse) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetZonesResponse) HasCount ¶
func (o *GetZonesResponse) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*GetZonesResponse) HasLinks ¶
func (o *GetZonesResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*GetZonesResponse) HasResults ¶
func (o *GetZonesResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*GetZonesResponse) HasSchemaVersion ¶
func (o *GetZonesResponse) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (*GetZonesResponse) HasTotalPages ¶
func (o *GetZonesResponse) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (GetZonesResponse) MarshalJSON ¶
func (o GetZonesResponse) MarshalJSON() ([]byte, error)
func (*GetZonesResponse) SetCount ¶
func (o *GetZonesResponse) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*GetZonesResponse) SetLinks ¶
func (o *GetZonesResponse) SetLinks(v GetZonesResponseLinks)
SetLinks gets a reference to the given GetZonesResponseLinks and assigns it to the Links field.
func (*GetZonesResponse) SetResults ¶
func (o *GetZonesResponse) SetResults(v []Zone)
SetResults gets a reference to the given []Zone and assigns it to the Results field.
func (*GetZonesResponse) SetSchemaVersion ¶
func (o *GetZonesResponse) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (*GetZonesResponse) SetTotalPages ¶
func (o *GetZonesResponse) SetTotalPages(v int32)
SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.
func (GetZonesResponse) ToMap ¶ added in v0.25.0
func (o GetZonesResponse) ToMap() (map[string]interface{}, error)
type GetZonesResponseLinks ¶
type GetZonesResponseLinks struct { Previous NullableString `json:"previous,omitempty"` Next NullableString `json:"next,omitempty"` }
GetZonesResponseLinks struct for GetZonesResponseLinks
func NewGetZonesResponseLinks ¶
func NewGetZonesResponseLinks() *GetZonesResponseLinks
NewGetZonesResponseLinks instantiates a new GetZonesResponseLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetZonesResponseLinksWithDefaults ¶
func NewGetZonesResponseLinksWithDefaults() *GetZonesResponseLinks
NewGetZonesResponseLinksWithDefaults instantiates a new GetZonesResponseLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetZonesResponseLinks) GetNext ¶
func (o *GetZonesResponseLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetZonesResponseLinks) GetNextOk ¶
func (o *GetZonesResponseLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GetZonesResponseLinks) GetPrevious ¶
func (o *GetZonesResponseLinks) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GetZonesResponseLinks) GetPreviousOk ¶
func (o *GetZonesResponseLinks) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*GetZonesResponseLinks) HasNext ¶
func (o *GetZonesResponseLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*GetZonesResponseLinks) HasPrevious ¶
func (o *GetZonesResponseLinks) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (GetZonesResponseLinks) MarshalJSON ¶
func (o GetZonesResponseLinks) MarshalJSON() ([]byte, error)
func (*GetZonesResponseLinks) SetNext ¶
func (o *GetZonesResponseLinks) SetNext(v string)
SetNext gets a reference to the given NullableString and assigns it to the Next field.
func (*GetZonesResponseLinks) SetNextNil ¶
func (o *GetZonesResponseLinks) SetNextNil()
SetNextNil sets the value for Next to be an explicit nil
func (*GetZonesResponseLinks) SetPrevious ¶
func (o *GetZonesResponseLinks) SetPrevious(v string)
SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.
func (*GetZonesResponseLinks) SetPreviousNil ¶
func (o *GetZonesResponseLinks) SetPreviousNil()
SetPreviousNil sets the value for Previous to be an explicit nil
func (GetZonesResponseLinks) ToMap ¶ added in v0.25.0
func (o GetZonesResponseLinks) ToMap() (map[string]interface{}, error)
func (*GetZonesResponseLinks) UnsetNext ¶
func (o *GetZonesResponseLinks) UnsetNext()
UnsetNext ensures that no value is present for Next, not even an explicit nil
func (*GetZonesResponseLinks) UnsetPrevious ¶
func (o *GetZonesResponseLinks) UnsetPrevious()
UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
type MappedNullable ¶ added in v0.25.0
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateRecord ¶
type NullableCreateRecord struct {
// contains filtered or unexported fields
}
func NewNullableCreateRecord ¶
func NewNullableCreateRecord(val *CreateRecord) *NullableCreateRecord
func (NullableCreateRecord) Get ¶
func (v NullableCreateRecord) Get() *CreateRecord
func (NullableCreateRecord) IsSet ¶
func (v NullableCreateRecord) IsSet() bool
func (NullableCreateRecord) MarshalJSON ¶
func (v NullableCreateRecord) MarshalJSON() ([]byte, error)
func (*NullableCreateRecord) Set ¶
func (v *NullableCreateRecord) Set(val *CreateRecord)
func (*NullableCreateRecord) UnmarshalJSON ¶
func (v *NullableCreateRecord) UnmarshalJSON(src []byte) error
func (*NullableCreateRecord) Unset ¶
func (v *NullableCreateRecord) Unset()
type NullableCreateZone ¶
type NullableCreateZone struct {
// contains filtered or unexported fields
}
func NewNullableCreateZone ¶
func NewNullableCreateZone(val *CreateZone) *NullableCreateZone
func (NullableCreateZone) Get ¶
func (v NullableCreateZone) Get() *CreateZone
func (NullableCreateZone) IsSet ¶
func (v NullableCreateZone) IsSet() bool
func (NullableCreateZone) MarshalJSON ¶
func (v NullableCreateZone) MarshalJSON() ([]byte, error)
func (*NullableCreateZone) Set ¶
func (v *NullableCreateZone) Set(val *CreateZone)
func (*NullableCreateZone) UnmarshalJSON ¶
func (v *NullableCreateZone) UnmarshalJSON(src []byte) error
func (*NullableCreateZone) Unset ¶
func (v *NullableCreateZone) Unset()
type NullableDnsSec ¶
type NullableDnsSec struct {
// contains filtered or unexported fields
}
func NewNullableDnsSec ¶
func NewNullableDnsSec(val *DnsSec) *NullableDnsSec
func (NullableDnsSec) Get ¶
func (v NullableDnsSec) Get() *DnsSec
func (NullableDnsSec) IsSet ¶
func (v NullableDnsSec) IsSet() bool
func (NullableDnsSec) MarshalJSON ¶
func (v NullableDnsSec) MarshalJSON() ([]byte, error)
func (*NullableDnsSec) Set ¶
func (v *NullableDnsSec) Set(val *DnsSec)
func (*NullableDnsSec) UnmarshalJSON ¶
func (v *NullableDnsSec) UnmarshalJSON(src []byte) error
func (*NullableDnsSec) Unset ¶
func (v *NullableDnsSec) Unset()
type NullableDnsSecDelegationSigner ¶
type NullableDnsSecDelegationSigner struct {
// contains filtered or unexported fields
}
func NewNullableDnsSecDelegationSigner ¶
func NewNullableDnsSecDelegationSigner(val *DnsSecDelegationSigner) *NullableDnsSecDelegationSigner
func (NullableDnsSecDelegationSigner) Get ¶
func (v NullableDnsSecDelegationSigner) Get() *DnsSecDelegationSigner
func (NullableDnsSecDelegationSigner) IsSet ¶
func (v NullableDnsSecDelegationSigner) IsSet() bool
func (NullableDnsSecDelegationSigner) MarshalJSON ¶
func (v NullableDnsSecDelegationSigner) MarshalJSON() ([]byte, error)
func (*NullableDnsSecDelegationSigner) Set ¶
func (v *NullableDnsSecDelegationSigner) Set(val *DnsSecDelegationSigner)
func (*NullableDnsSecDelegationSigner) UnmarshalJSON ¶
func (v *NullableDnsSecDelegationSigner) UnmarshalJSON(src []byte) error
func (*NullableDnsSecDelegationSigner) Unset ¶
func (v *NullableDnsSecDelegationSigner) Unset()
type NullableDnsSecDelegationSignerDigestType ¶
type NullableDnsSecDelegationSignerDigestType struct {
// contains filtered or unexported fields
}
func NewNullableDnsSecDelegationSignerDigestType ¶
func NewNullableDnsSecDelegationSignerDigestType(val *DnsSecDelegationSignerDigestType) *NullableDnsSecDelegationSignerDigestType
func (NullableDnsSecDelegationSignerDigestType) IsSet ¶
func (v NullableDnsSecDelegationSignerDigestType) IsSet() bool
func (NullableDnsSecDelegationSignerDigestType) MarshalJSON ¶
func (v NullableDnsSecDelegationSignerDigestType) MarshalJSON() ([]byte, error)
func (*NullableDnsSecDelegationSignerDigestType) Set ¶
func (v *NullableDnsSecDelegationSignerDigestType) Set(val *DnsSecDelegationSignerDigestType)
func (*NullableDnsSecDelegationSignerDigestType) UnmarshalJSON ¶
func (v *NullableDnsSecDelegationSignerDigestType) UnmarshalJSON(src []byte) error
func (*NullableDnsSecDelegationSignerDigestType) Unset ¶
func (v *NullableDnsSecDelegationSignerDigestType) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableErrors ¶
type NullableErrors struct {
// contains filtered or unexported fields
}
func NewNullableErrors ¶
func NewNullableErrors(val *Errors) *NullableErrors
func (NullableErrors) Get ¶
func (v NullableErrors) Get() *Errors
func (NullableErrors) IsSet ¶
func (v NullableErrors) IsSet() bool
func (NullableErrors) MarshalJSON ¶
func (v NullableErrors) MarshalJSON() ([]byte, error)
func (*NullableErrors) Set ¶
func (v *NullableErrors) Set(val *Errors)
func (*NullableErrors) UnmarshalJSON ¶
func (v *NullableErrors) UnmarshalJSON(src []byte) error
func (*NullableErrors) Unset ¶
func (v *NullableErrors) Unset()
type NullableErrorsResponse ¶
type NullableErrorsResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorsResponse ¶
func NewNullableErrorsResponse(val *ErrorsResponse) *NullableErrorsResponse
func (NullableErrorsResponse) Get ¶
func (v NullableErrorsResponse) Get() *ErrorsResponse
func (NullableErrorsResponse) IsSet ¶
func (v NullableErrorsResponse) IsSet() bool
func (NullableErrorsResponse) MarshalJSON ¶
func (v NullableErrorsResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorsResponse) Set ¶
func (v *NullableErrorsResponse) Set(val *ErrorsResponse)
func (*NullableErrorsResponse) UnmarshalJSON ¶
func (v *NullableErrorsResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorsResponse) Unset ¶
func (v *NullableErrorsResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGeneralError ¶
type NullableGeneralError struct {
// contains filtered or unexported fields
}
func NewNullableGeneralError ¶
func NewNullableGeneralError(val *GeneralError) *NullableGeneralError
func (NullableGeneralError) Get ¶
func (v NullableGeneralError) Get() *GeneralError
func (NullableGeneralError) IsSet ¶
func (v NullableGeneralError) IsSet() bool
func (NullableGeneralError) MarshalJSON ¶
func (v NullableGeneralError) MarshalJSON() ([]byte, error)
func (*NullableGeneralError) Set ¶
func (v *NullableGeneralError) Set(val *GeneralError)
func (*NullableGeneralError) UnmarshalJSON ¶
func (v *NullableGeneralError) UnmarshalJSON(src []byte) error
func (*NullableGeneralError) Unset ¶
func (v *NullableGeneralError) Unset()
type NullableGetOrPatchDnsSecResponse ¶
type NullableGetOrPatchDnsSecResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetOrPatchDnsSecResponse ¶
func NewNullableGetOrPatchDnsSecResponse(val *GetOrPatchDnsSecResponse) *NullableGetOrPatchDnsSecResponse
func (NullableGetOrPatchDnsSecResponse) Get ¶
func (v NullableGetOrPatchDnsSecResponse) Get() *GetOrPatchDnsSecResponse
func (NullableGetOrPatchDnsSecResponse) IsSet ¶
func (v NullableGetOrPatchDnsSecResponse) IsSet() bool
func (NullableGetOrPatchDnsSecResponse) MarshalJSON ¶
func (v NullableGetOrPatchDnsSecResponse) MarshalJSON() ([]byte, error)
func (*NullableGetOrPatchDnsSecResponse) Set ¶
func (v *NullableGetOrPatchDnsSecResponse) Set(val *GetOrPatchDnsSecResponse)
func (*NullableGetOrPatchDnsSecResponse) UnmarshalJSON ¶
func (v *NullableGetOrPatchDnsSecResponse) UnmarshalJSON(src []byte) error
func (*NullableGetOrPatchDnsSecResponse) Unset ¶
func (v *NullableGetOrPatchDnsSecResponse) Unset()
type NullableGetRecordsResponse ¶
type NullableGetRecordsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetRecordsResponse ¶
func NewNullableGetRecordsResponse(val *GetRecordsResponse) *NullableGetRecordsResponse
func (NullableGetRecordsResponse) Get ¶
func (v NullableGetRecordsResponse) Get() *GetRecordsResponse
func (NullableGetRecordsResponse) IsSet ¶
func (v NullableGetRecordsResponse) IsSet() bool
func (NullableGetRecordsResponse) MarshalJSON ¶
func (v NullableGetRecordsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetRecordsResponse) Set ¶
func (v *NullableGetRecordsResponse) Set(val *GetRecordsResponse)
func (*NullableGetRecordsResponse) UnmarshalJSON ¶
func (v *NullableGetRecordsResponse) UnmarshalJSON(src []byte) error
func (*NullableGetRecordsResponse) Unset ¶
func (v *NullableGetRecordsResponse) Unset()
type NullableGetRecordsResponseResults ¶
type NullableGetRecordsResponseResults struct {
// contains filtered or unexported fields
}
func NewNullableGetRecordsResponseResults ¶
func NewNullableGetRecordsResponseResults(val *GetRecordsResponseResults) *NullableGetRecordsResponseResults
func (NullableGetRecordsResponseResults) Get ¶
func (v NullableGetRecordsResponseResults) Get() *GetRecordsResponseResults
func (NullableGetRecordsResponseResults) IsSet ¶
func (v NullableGetRecordsResponseResults) IsSet() bool
func (NullableGetRecordsResponseResults) MarshalJSON ¶
func (v NullableGetRecordsResponseResults) MarshalJSON() ([]byte, error)
func (*NullableGetRecordsResponseResults) Set ¶
func (v *NullableGetRecordsResponseResults) Set(val *GetRecordsResponseResults)
func (*NullableGetRecordsResponseResults) UnmarshalJSON ¶
func (v *NullableGetRecordsResponseResults) UnmarshalJSON(src []byte) error
func (*NullableGetRecordsResponseResults) Unset ¶
func (v *NullableGetRecordsResponseResults) Unset()
type NullableGetZoneModel ¶
type NullableGetZoneModel struct {
// contains filtered or unexported fields
}
func NewNullableGetZoneModel ¶
func NewNullableGetZoneModel(val *GetZoneModel) *NullableGetZoneModel
func (NullableGetZoneModel) Get ¶
func (v NullableGetZoneModel) Get() *GetZoneModel
func (NullableGetZoneModel) IsSet ¶
func (v NullableGetZoneModel) IsSet() bool
func (NullableGetZoneModel) MarshalJSON ¶
func (v NullableGetZoneModel) MarshalJSON() ([]byte, error)
func (*NullableGetZoneModel) Set ¶
func (v *NullableGetZoneModel) Set(val *GetZoneModel)
func (*NullableGetZoneModel) UnmarshalJSON ¶
func (v *NullableGetZoneModel) UnmarshalJSON(src []byte) error
func (*NullableGetZoneModel) Unset ¶
func (v *NullableGetZoneModel) Unset()
type NullableGetZoneResponse ¶
type NullableGetZoneResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetZoneResponse ¶
func NewNullableGetZoneResponse(val *GetZoneResponse) *NullableGetZoneResponse
func (NullableGetZoneResponse) Get ¶
func (v NullableGetZoneResponse) Get() *GetZoneResponse
func (NullableGetZoneResponse) IsSet ¶
func (v NullableGetZoneResponse) IsSet() bool
func (NullableGetZoneResponse) MarshalJSON ¶
func (v NullableGetZoneResponse) MarshalJSON() ([]byte, error)
func (*NullableGetZoneResponse) Set ¶
func (v *NullableGetZoneResponse) Set(val *GetZoneResponse)
func (*NullableGetZoneResponse) UnmarshalJSON ¶
func (v *NullableGetZoneResponse) UnmarshalJSON(src []byte) error
func (*NullableGetZoneResponse) Unset ¶
func (v *NullableGetZoneResponse) Unset()
type NullableGetZonesResponse ¶
type NullableGetZonesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetZonesResponse ¶
func NewNullableGetZonesResponse(val *GetZonesResponse) *NullableGetZonesResponse
func (NullableGetZonesResponse) Get ¶
func (v NullableGetZonesResponse) Get() *GetZonesResponse
func (NullableGetZonesResponse) IsSet ¶
func (v NullableGetZonesResponse) IsSet() bool
func (NullableGetZonesResponse) MarshalJSON ¶
func (v NullableGetZonesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetZonesResponse) Set ¶
func (v *NullableGetZonesResponse) Set(val *GetZonesResponse)
func (*NullableGetZonesResponse) UnmarshalJSON ¶
func (v *NullableGetZonesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetZonesResponse) Unset ¶
func (v *NullableGetZonesResponse) Unset()
type NullableGetZonesResponseLinks ¶
type NullableGetZonesResponseLinks struct {
// contains filtered or unexported fields
}
func NewNullableGetZonesResponseLinks ¶
func NewNullableGetZonesResponseLinks(val *GetZonesResponseLinks) *NullableGetZonesResponseLinks
func (NullableGetZonesResponseLinks) Get ¶
func (v NullableGetZonesResponseLinks) Get() *GetZonesResponseLinks
func (NullableGetZonesResponseLinks) IsSet ¶
func (v NullableGetZonesResponseLinks) IsSet() bool
func (NullableGetZonesResponseLinks) MarshalJSON ¶
func (v NullableGetZonesResponseLinks) MarshalJSON() ([]byte, error)
func (*NullableGetZonesResponseLinks) Set ¶
func (v *NullableGetZonesResponseLinks) Set(val *GetZonesResponseLinks)
func (*NullableGetZonesResponseLinks) UnmarshalJSON ¶
func (v *NullableGetZonesResponseLinks) UnmarshalJSON(src []byte) error
func (*NullableGetZonesResponseLinks) Unset ¶
func (v *NullableGetZonesResponseLinks) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullablePostOrPutRecordResponse ¶
type NullablePostOrPutRecordResponse struct {
// contains filtered or unexported fields
}
func NewNullablePostOrPutRecordResponse ¶
func NewNullablePostOrPutRecordResponse(val *PostOrPutRecordResponse) *NullablePostOrPutRecordResponse
func (NullablePostOrPutRecordResponse) Get ¶
func (v NullablePostOrPutRecordResponse) Get() *PostOrPutRecordResponse
func (NullablePostOrPutRecordResponse) IsSet ¶
func (v NullablePostOrPutRecordResponse) IsSet() bool
func (NullablePostOrPutRecordResponse) MarshalJSON ¶
func (v NullablePostOrPutRecordResponse) MarshalJSON() ([]byte, error)
func (*NullablePostOrPutRecordResponse) Set ¶
func (v *NullablePostOrPutRecordResponse) Set(val *PostOrPutRecordResponse)
func (*NullablePostOrPutRecordResponse) UnmarshalJSON ¶
func (v *NullablePostOrPutRecordResponse) UnmarshalJSON(src []byte) error
func (*NullablePostOrPutRecordResponse) Unset ¶
func (v *NullablePostOrPutRecordResponse) Unset()
type NullablePostOrPutZoneResponse ¶
type NullablePostOrPutZoneResponse struct {
// contains filtered or unexported fields
}
func NewNullablePostOrPutZoneResponse ¶
func NewNullablePostOrPutZoneResponse(val *PostOrPutZoneResponse) *NullablePostOrPutZoneResponse
func (NullablePostOrPutZoneResponse) Get ¶
func (v NullablePostOrPutZoneResponse) Get() *PostOrPutZoneResponse
func (NullablePostOrPutZoneResponse) IsSet ¶
func (v NullablePostOrPutZoneResponse) IsSet() bool
func (NullablePostOrPutZoneResponse) MarshalJSON ¶
func (v NullablePostOrPutZoneResponse) MarshalJSON() ([]byte, error)
func (*NullablePostOrPutZoneResponse) Set ¶
func (v *NullablePostOrPutZoneResponse) Set(val *PostOrPutZoneResponse)
func (*NullablePostOrPutZoneResponse) UnmarshalJSON ¶
func (v *NullablePostOrPutZoneResponse) UnmarshalJSON(src []byte) error
func (*NullablePostOrPutZoneResponse) Unset ¶
func (v *NullablePostOrPutZoneResponse) Unset()
type NullableRecord ¶
type NullableRecord struct {
// contains filtered or unexported fields
}
func NewNullableRecord ¶
func NewNullableRecord(val *Record) *NullableRecord
func (NullableRecord) Get ¶
func (v NullableRecord) Get() *Record
func (NullableRecord) IsSet ¶
func (v NullableRecord) IsSet() bool
func (NullableRecord) MarshalJSON ¶
func (v NullableRecord) MarshalJSON() ([]byte, error)
func (*NullableRecord) Set ¶
func (v *NullableRecord) Set(val *Record)
func (*NullableRecord) UnmarshalJSON ¶
func (v *NullableRecord) UnmarshalJSON(src []byte) error
func (*NullableRecord) Unset ¶
func (v *NullableRecord) Unset()
type NullableRecordsCollection ¶
type NullableRecordsCollection struct {
// contains filtered or unexported fields
}
func NewNullableRecordsCollection ¶
func NewNullableRecordsCollection(val *RecordsCollection) *NullableRecordsCollection
func (NullableRecordsCollection) Get ¶
func (v NullableRecordsCollection) Get() *RecordsCollection
func (NullableRecordsCollection) IsSet ¶
func (v NullableRecordsCollection) IsSet() bool
func (NullableRecordsCollection) MarshalJSON ¶
func (v NullableRecordsCollection) MarshalJSON() ([]byte, error)
func (*NullableRecordsCollection) Set ¶
func (v *NullableRecordsCollection) Set(val *RecordsCollection)
func (*NullableRecordsCollection) UnmarshalJSON ¶
func (v *NullableRecordsCollection) UnmarshalJSON(src []byte) error
func (*NullableRecordsCollection) Unset ¶
func (v *NullableRecordsCollection) Unset()
type NullableRecordsCollectionResults ¶
type NullableRecordsCollectionResults struct {
// contains filtered or unexported fields
}
func NewNullableRecordsCollectionResults ¶
func NewNullableRecordsCollectionResults(val *RecordsCollectionResults) *NullableRecordsCollectionResults
func (NullableRecordsCollectionResults) Get ¶
func (v NullableRecordsCollectionResults) Get() *RecordsCollectionResults
func (NullableRecordsCollectionResults) IsSet ¶
func (v NullableRecordsCollectionResults) IsSet() bool
func (NullableRecordsCollectionResults) MarshalJSON ¶
func (v NullableRecordsCollectionResults) MarshalJSON() ([]byte, error)
func (*NullableRecordsCollectionResults) Set ¶
func (v *NullableRecordsCollectionResults) Set(val *RecordsCollectionResults)
func (*NullableRecordsCollectionResults) UnmarshalJSON ¶
func (v *NullableRecordsCollectionResults) UnmarshalJSON(src []byte) error
func (*NullableRecordsCollectionResults) Unset ¶
func (v *NullableRecordsCollectionResults) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableZone ¶
type NullableZone struct {
// contains filtered or unexported fields
}
func NewNullableZone ¶
func NewNullableZone(val *Zone) *NullableZone
func (NullableZone) Get ¶
func (v NullableZone) Get() *Zone
func (NullableZone) IsSet ¶
func (v NullableZone) IsSet() bool
func (NullableZone) MarshalJSON ¶
func (v NullableZone) MarshalJSON() ([]byte, error)
func (*NullableZone) Set ¶
func (v *NullableZone) Set(val *Zone)
func (*NullableZone) UnmarshalJSON ¶
func (v *NullableZone) UnmarshalJSON(src []byte) error
func (*NullableZone) Unset ¶
func (v *NullableZone) Unset()
type NullableZonesCollection ¶
type NullableZonesCollection struct {
// contains filtered or unexported fields
}
func NewNullableZonesCollection ¶
func NewNullableZonesCollection(val *ZonesCollection) *NullableZonesCollection
func (NullableZonesCollection) Get ¶
func (v NullableZonesCollection) Get() *ZonesCollection
func (NullableZonesCollection) IsSet ¶
func (v NullableZonesCollection) IsSet() bool
func (NullableZonesCollection) MarshalJSON ¶
func (v NullableZonesCollection) MarshalJSON() ([]byte, error)
func (*NullableZonesCollection) Set ¶
func (v *NullableZonesCollection) Set(val *ZonesCollection)
func (*NullableZonesCollection) UnmarshalJSON ¶
func (v *NullableZonesCollection) UnmarshalJSON(src []byte) error
func (*NullableZonesCollection) Unset ¶
func (v *NullableZonesCollection) Unset()
type NullableZonesCollectionLinks ¶
type NullableZonesCollectionLinks struct {
// contains filtered or unexported fields
}
func NewNullableZonesCollectionLinks ¶
func NewNullableZonesCollectionLinks(val *ZonesCollectionLinks) *NullableZonesCollectionLinks
func (NullableZonesCollectionLinks) Get ¶
func (v NullableZonesCollectionLinks) Get() *ZonesCollectionLinks
func (NullableZonesCollectionLinks) IsSet ¶
func (v NullableZonesCollectionLinks) IsSet() bool
func (NullableZonesCollectionLinks) MarshalJSON ¶
func (v NullableZonesCollectionLinks) MarshalJSON() ([]byte, error)
func (*NullableZonesCollectionLinks) Set ¶
func (v *NullableZonesCollectionLinks) Set(val *ZonesCollectionLinks)
func (*NullableZonesCollectionLinks) UnmarshalJSON ¶
func (v *NullableZonesCollectionLinks) UnmarshalJSON(src []byte) error
func (*NullableZonesCollectionLinks) Unset ¶
func (v *NullableZonesCollectionLinks) Unset()
type PostOrPutRecordResponse ¶
type PostOrPutRecordResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` Results *Record `json:"results,omitempty"` }
PostOrPutRecordResponse Object returned by create or update zone record
func NewPostOrPutRecordResponse ¶
func NewPostOrPutRecordResponse() *PostOrPutRecordResponse
NewPostOrPutRecordResponse instantiates a new PostOrPutRecordResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPostOrPutRecordResponseWithDefaults ¶
func NewPostOrPutRecordResponseWithDefaults() *PostOrPutRecordResponse
NewPostOrPutRecordResponseWithDefaults instantiates a new PostOrPutRecordResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PostOrPutRecordResponse) GetResults ¶
func (o *PostOrPutRecordResponse) GetResults() Record
GetResults returns the Results field value if set, zero value otherwise.
func (*PostOrPutRecordResponse) GetResultsOk ¶
func (o *PostOrPutRecordResponse) GetResultsOk() (*Record, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PostOrPutRecordResponse) GetSchemaVersion ¶
func (o *PostOrPutRecordResponse) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*PostOrPutRecordResponse) GetSchemaVersionOk ¶
func (o *PostOrPutRecordResponse) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PostOrPutRecordResponse) HasResults ¶
func (o *PostOrPutRecordResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*PostOrPutRecordResponse) HasSchemaVersion ¶
func (o *PostOrPutRecordResponse) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (PostOrPutRecordResponse) MarshalJSON ¶
func (o PostOrPutRecordResponse) MarshalJSON() ([]byte, error)
func (*PostOrPutRecordResponse) SetResults ¶
func (o *PostOrPutRecordResponse) SetResults(v Record)
SetResults gets a reference to the given Record and assigns it to the Results field.
func (*PostOrPutRecordResponse) SetSchemaVersion ¶
func (o *PostOrPutRecordResponse) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (PostOrPutRecordResponse) ToMap ¶ added in v0.25.0
func (o PostOrPutRecordResponse) ToMap() (map[string]interface{}, error)
type PostOrPutZoneResponse ¶
type PostOrPutZoneResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` // The created hosted zone Results []Zone `json:"results,omitempty"` }
PostOrPutZoneResponse Object returned by create or update zone
func NewPostOrPutZoneResponse ¶
func NewPostOrPutZoneResponse() *PostOrPutZoneResponse
NewPostOrPutZoneResponse instantiates a new PostOrPutZoneResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPostOrPutZoneResponseWithDefaults ¶
func NewPostOrPutZoneResponseWithDefaults() *PostOrPutZoneResponse
NewPostOrPutZoneResponseWithDefaults instantiates a new PostOrPutZoneResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PostOrPutZoneResponse) GetResults ¶
func (o *PostOrPutZoneResponse) GetResults() []Zone
GetResults returns the Results field value if set, zero value otherwise.
func (*PostOrPutZoneResponse) GetResultsOk ¶
func (o *PostOrPutZoneResponse) GetResultsOk() ([]Zone, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PostOrPutZoneResponse) GetSchemaVersion ¶
func (o *PostOrPutZoneResponse) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*PostOrPutZoneResponse) GetSchemaVersionOk ¶
func (o *PostOrPutZoneResponse) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PostOrPutZoneResponse) HasResults ¶
func (o *PostOrPutZoneResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*PostOrPutZoneResponse) HasSchemaVersion ¶
func (o *PostOrPutZoneResponse) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (PostOrPutZoneResponse) MarshalJSON ¶
func (o PostOrPutZoneResponse) MarshalJSON() ([]byte, error)
func (*PostOrPutZoneResponse) SetResults ¶
func (o *PostOrPutZoneResponse) SetResults(v []Zone)
SetResults gets a reference to the given []Zone and assigns it to the Results field.
func (*PostOrPutZoneResponse) SetSchemaVersion ¶
func (o *PostOrPutZoneResponse) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (PostOrPutZoneResponse) ToMap ¶ added in v0.25.0
func (o PostOrPutZoneResponse) ToMap() (map[string]interface{}, error)
type Record ¶
type Record struct { RecordId *int32 `json:"record_id,omitempty"` Entry *string `json:"entry,omitempty"` Description *string `json:"description,omitempty"` AnswersList []string `json:"answers_list,omitempty"` Policy *string `json:"policy,omitempty"` RecordType *string `json:"record_type,omitempty"` Ttl *int32 `json:"ttl,omitempty"` }
Record struct for Record
func NewRecord ¶
func NewRecord() *Record
NewRecord instantiates a new Record object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecordWithDefaults ¶
func NewRecordWithDefaults() *Record
NewRecordWithDefaults instantiates a new Record object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Record) GetAnswersList ¶
GetAnswersList returns the AnswersList field value if set, zero value otherwise.
func (*Record) GetAnswersListOk ¶
GetAnswersListOk returns a tuple with the AnswersList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Record) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetEntryOk ¶
GetEntryOk returns a tuple with the Entry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetPolicyOk ¶
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetRecordId ¶
GetRecordId returns the RecordId field value if set, zero value otherwise.
func (*Record) GetRecordIdOk ¶
GetRecordIdOk returns a tuple with the RecordId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetRecordType ¶
GetRecordType returns the RecordType field value if set, zero value otherwise.
func (*Record) GetRecordTypeOk ¶
GetRecordTypeOk returns a tuple with the RecordType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) GetTtlOk ¶
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) HasAnswersList ¶
HasAnswersList returns a boolean if a field has been set.
func (*Record) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Record) HasRecordId ¶
HasRecordId returns a boolean if a field has been set.
func (*Record) HasRecordType ¶
HasRecordType returns a boolean if a field has been set.
func (Record) MarshalJSON ¶
func (*Record) SetAnswersList ¶
SetAnswersList gets a reference to the given []string and assigns it to the AnswersList field.
func (*Record) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Record) SetEntry ¶
SetEntry gets a reference to the given string and assigns it to the Entry field.
func (*Record) SetPolicy ¶
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (*Record) SetRecordId ¶
SetRecordId gets a reference to the given int32 and assigns it to the RecordId field.
func (*Record) SetRecordType ¶
SetRecordType gets a reference to the given string and assigns it to the RecordType field.
type RecordsApiService ¶
type RecordsApiService service
RecordsApiService RecordsApi service
func (*RecordsApiService) DeleteZoneRecord ¶
func (a *RecordsApiService) DeleteZoneRecord(ctx context.Context, zoneId int32, recordId int32) ApiDeleteZoneRecordRequest
DeleteZoneRecord Remove an Intelligent DNS zone record
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @param recordId The zone record id @return ApiDeleteZoneRecordRequest
func (*RecordsApiService) DeleteZoneRecordExecute ¶
func (a *RecordsApiService) DeleteZoneRecordExecute(r ApiDeleteZoneRecordRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*RecordsApiService) GetZoneRecords ¶
func (a *RecordsApiService) GetZoneRecords(ctx context.Context, zoneId int32) ApiGetZoneRecordsRequest
GetZoneRecords Get a collection of Intelligent DNS zone records
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiGetZoneRecordsRequest
func (*RecordsApiService) GetZoneRecordsExecute ¶
func (a *RecordsApiService) GetZoneRecordsExecute(r ApiGetZoneRecordsRequest) (*GetRecordsResponse, *http.Response, error)
Execute executes the request
@return GetRecordsResponse
func (*RecordsApiService) PostZoneRecord ¶
func (a *RecordsApiService) PostZoneRecord(ctx context.Context, zoneId int32) ApiPostZoneRecordRequest
PostZoneRecord Create a new Intelligent DNS zone record
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiPostZoneRecordRequest
func (*RecordsApiService) PostZoneRecordExecute ¶
func (a *RecordsApiService) PostZoneRecordExecute(r ApiPostZoneRecordRequest) (*PostOrPutRecordResponse, *http.Response, error)
Execute executes the request
@return PostOrPutRecordResponse
func (*RecordsApiService) PutZoneRecord ¶
func (a *RecordsApiService) PutZoneRecord(ctx context.Context, zoneId int32, recordId int32) ApiPutZoneRecordRequest
PutZoneRecord Update an Intelligent DNS zone record
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @param recordId The zone record id @return ApiPutZoneRecordRequest
func (*RecordsApiService) PutZoneRecordExecute ¶
func (a *RecordsApiService) PutZoneRecordExecute(r ApiPutZoneRecordRequest) (*PostOrPutRecordResponse, *http.Response, error)
Execute executes the request
@return PostOrPutRecordResponse
type RecordsCollection ¶
type RecordsCollection struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` // Number of records Count *int32 `json:"count,omitempty"` // The total pages TotalPages *int32 `json:"total_pages,omitempty"` Links *ZonesCollectionLinks `json:"links,omitempty"` Results *RecordsCollectionResults `json:"results,omitempty"` }
RecordsCollection struct for RecordsCollection
func NewRecordsCollection ¶
func NewRecordsCollection() *RecordsCollection
NewRecordsCollection instantiates a new RecordsCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecordsCollectionWithDefaults ¶
func NewRecordsCollectionWithDefaults() *RecordsCollection
NewRecordsCollectionWithDefaults instantiates a new RecordsCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RecordsCollection) GetCount ¶
func (o *RecordsCollection) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*RecordsCollection) GetCountOk ¶
func (o *RecordsCollection) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollection) GetLinks ¶
func (o *RecordsCollection) GetLinks() ZonesCollectionLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*RecordsCollection) GetLinksOk ¶
func (o *RecordsCollection) GetLinksOk() (*ZonesCollectionLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollection) GetResults ¶
func (o *RecordsCollection) GetResults() RecordsCollectionResults
GetResults returns the Results field value if set, zero value otherwise.
func (*RecordsCollection) GetResultsOk ¶
func (o *RecordsCollection) GetResultsOk() (*RecordsCollectionResults, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollection) GetSchemaVersion ¶
func (o *RecordsCollection) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*RecordsCollection) GetSchemaVersionOk ¶
func (o *RecordsCollection) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollection) GetTotalPages ¶
func (o *RecordsCollection) GetTotalPages() int32
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*RecordsCollection) GetTotalPagesOk ¶
func (o *RecordsCollection) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollection) HasCount ¶
func (o *RecordsCollection) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*RecordsCollection) HasLinks ¶
func (o *RecordsCollection) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*RecordsCollection) HasResults ¶
func (o *RecordsCollection) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*RecordsCollection) HasSchemaVersion ¶
func (o *RecordsCollection) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (*RecordsCollection) HasTotalPages ¶
func (o *RecordsCollection) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (RecordsCollection) MarshalJSON ¶
func (o RecordsCollection) MarshalJSON() ([]byte, error)
func (*RecordsCollection) SetCount ¶
func (o *RecordsCollection) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*RecordsCollection) SetLinks ¶
func (o *RecordsCollection) SetLinks(v ZonesCollectionLinks)
SetLinks gets a reference to the given ZonesCollectionLinks and assigns it to the Links field.
func (*RecordsCollection) SetResults ¶
func (o *RecordsCollection) SetResults(v RecordsCollectionResults)
SetResults gets a reference to the given RecordsCollectionResults and assigns it to the Results field.
func (*RecordsCollection) SetSchemaVersion ¶
func (o *RecordsCollection) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (*RecordsCollection) SetTotalPages ¶
func (o *RecordsCollection) SetTotalPages(v int32)
SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.
type RecordsCollectionResults ¶
type RecordsCollectionResults struct { ZoneId *int32 `json:"zone_id,omitempty"` Domain *string `json:"domain,omitempty"` // Zone records collection Records []Record `json:"records,omitempty"` }
RecordsCollectionResults struct for RecordsCollectionResults
func NewRecordsCollectionResults ¶
func NewRecordsCollectionResults() *RecordsCollectionResults
NewRecordsCollectionResults instantiates a new RecordsCollectionResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecordsCollectionResultsWithDefaults ¶
func NewRecordsCollectionResultsWithDefaults() *RecordsCollectionResults
NewRecordsCollectionResultsWithDefaults instantiates a new RecordsCollectionResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RecordsCollectionResults) GetDomain ¶
func (o *RecordsCollectionResults) GetDomain() string
GetDomain returns the Domain field value if set, zero value otherwise.
func (*RecordsCollectionResults) GetDomainOk ¶
func (o *RecordsCollectionResults) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollectionResults) GetRecords ¶
func (o *RecordsCollectionResults) GetRecords() []Record
GetRecords returns the Records field value if set, zero value otherwise.
func (*RecordsCollectionResults) GetRecordsOk ¶
func (o *RecordsCollectionResults) GetRecordsOk() ([]Record, bool)
GetRecordsOk returns a tuple with the Records field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollectionResults) GetZoneId ¶
func (o *RecordsCollectionResults) GetZoneId() int32
GetZoneId returns the ZoneId field value if set, zero value otherwise.
func (*RecordsCollectionResults) GetZoneIdOk ¶
func (o *RecordsCollectionResults) GetZoneIdOk() (*int32, bool)
GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordsCollectionResults) HasDomain ¶
func (o *RecordsCollectionResults) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (*RecordsCollectionResults) HasRecords ¶
func (o *RecordsCollectionResults) HasRecords() bool
HasRecords returns a boolean if a field has been set.
func (*RecordsCollectionResults) HasZoneId ¶
func (o *RecordsCollectionResults) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (RecordsCollectionResults) MarshalJSON ¶
func (o RecordsCollectionResults) MarshalJSON() ([]byte, error)
func (*RecordsCollectionResults) SetDomain ¶
func (o *RecordsCollectionResults) SetDomain(v string)
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*RecordsCollectionResults) SetRecords ¶
func (o *RecordsCollectionResults) SetRecords(v []Record)
SetRecords gets a reference to the given []Record and assigns it to the Records field.
func (*RecordsCollectionResults) SetZoneId ¶
func (o *RecordsCollectionResults) SetZoneId(v int32)
SetZoneId gets a reference to the given int32 and assigns it to the ZoneId field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Zone ¶
type Zone struct { // Hosted zone id Id *int32 `json:"id,omitempty"` // Hosted zone name Name *string `json:"name,omitempty"` // Hosted zone domain Domain *string `json:"domain,omitempty"` // If hosted zone is active IsActive *bool `json:"is_active,omitempty"` Retry NullableInt32 `json:"retry,omitempty"` NxTtl NullableInt32 `json:"nx_ttl,omitempty"` SoaTtl NullableInt32 `json:"soa_ttl,omitempty"` Refresh NullableInt32 `json:"refresh,omitempty"` Expiry NullableInt32 `json:"expiry,omitempty"` // List of nameservers Nameservers []string `json:"nameservers,omitempty"` }
Zone struct for Zone
func NewZone ¶
func NewZone() *Zone
NewZone instantiates a new Zone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewZoneWithDefaults ¶
func NewZoneWithDefaults() *Zone
NewZoneWithDefaults instantiates a new Zone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Zone) GetDomainOk ¶
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetExpiry ¶
GetExpiry returns the Expiry field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Zone) GetExpiryOk ¶
GetExpiryOk returns a tuple with the Expiry field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetIsActive ¶
GetIsActive returns the IsActive field value if set, zero value otherwise.
func (*Zone) GetIsActiveOk ¶
GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetNameservers ¶
GetNameservers returns the Nameservers field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Zone) GetNameserversOk ¶
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetNxTtl ¶
GetNxTtl returns the NxTtl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Zone) GetNxTtlOk ¶
GetNxTtlOk returns a tuple with the NxTtl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetRefresh ¶
GetRefresh returns the Refresh field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Zone) GetRefreshOk ¶
GetRefreshOk returns a tuple with the Refresh field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetRetry ¶
GetRetry returns the Retry field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Zone) GetRetryOk ¶
GetRetryOk returns a tuple with the Retry field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) GetSoaTtl ¶
GetSoaTtl returns the SoaTtl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Zone) GetSoaTtlOk ¶
GetSoaTtlOk returns a tuple with the SoaTtl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Zone) HasIsActive ¶
HasIsActive returns a boolean if a field has been set.
func (*Zone) HasNameservers ¶
HasNameservers returns a boolean if a field has been set.
func (*Zone) HasRefresh ¶
HasRefresh returns a boolean if a field has been set.
func (Zone) MarshalJSON ¶
func (*Zone) SetDomain ¶
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*Zone) SetExpiry ¶
SetExpiry gets a reference to the given NullableInt32 and assigns it to the Expiry field.
func (*Zone) SetExpiryNil ¶
func (o *Zone) SetExpiryNil()
SetExpiryNil sets the value for Expiry to be an explicit nil
func (*Zone) SetIsActive ¶
SetIsActive gets a reference to the given bool and assigns it to the IsActive field.
func (*Zone) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Zone) SetNameservers ¶
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*Zone) SetNxTtl ¶
SetNxTtl gets a reference to the given NullableInt32 and assigns it to the NxTtl field.
func (*Zone) SetNxTtlNil ¶
func (o *Zone) SetNxTtlNil()
SetNxTtlNil sets the value for NxTtl to be an explicit nil
func (*Zone) SetRefresh ¶
SetRefresh gets a reference to the given NullableInt32 and assigns it to the Refresh field.
func (*Zone) SetRefreshNil ¶
func (o *Zone) SetRefreshNil()
SetRefreshNil sets the value for Refresh to be an explicit nil
func (*Zone) SetRetry ¶
SetRetry gets a reference to the given NullableInt32 and assigns it to the Retry field.
func (*Zone) SetRetryNil ¶
func (o *Zone) SetRetryNil()
SetRetryNil sets the value for Retry to be an explicit nil
func (*Zone) SetSoaTtl ¶
SetSoaTtl gets a reference to the given NullableInt32 and assigns it to the SoaTtl field.
func (*Zone) SetSoaTtlNil ¶
func (o *Zone) SetSoaTtlNil()
SetSoaTtlNil sets the value for SoaTtl to be an explicit nil
func (*Zone) UnsetExpiry ¶
func (o *Zone) UnsetExpiry()
UnsetExpiry ensures that no value is present for Expiry, not even an explicit nil
func (*Zone) UnsetNxTtl ¶
func (o *Zone) UnsetNxTtl()
UnsetNxTtl ensures that no value is present for NxTtl, not even an explicit nil
func (*Zone) UnsetRefresh ¶
func (o *Zone) UnsetRefresh()
UnsetRefresh ensures that no value is present for Refresh, not even an explicit nil
func (*Zone) UnsetRetry ¶
func (o *Zone) UnsetRetry()
UnsetRetry ensures that no value is present for Retry, not even an explicit nil
func (*Zone) UnsetSoaTtl ¶
func (o *Zone) UnsetSoaTtl()
UnsetSoaTtl ensures that no value is present for SoaTtl, not even an explicit nil
type ZonesApiService ¶
type ZonesApiService service
ZonesApiService ZonesApi service
func (*ZonesApiService) DeleteZone ¶
func (a *ZonesApiService) DeleteZone(ctx context.Context, zoneId int32) ApiDeleteZoneRequest
DeleteZone Remove an Intelligent DNS hosted zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiDeleteZoneRequest
func (*ZonesApiService) DeleteZoneExecute ¶
func (a *ZonesApiService) DeleteZoneExecute(r ApiDeleteZoneRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ZonesApiService) GetZone ¶
func (a *ZonesApiService) GetZone(ctx context.Context, zoneId int32) ApiGetZoneRequest
GetZone Get an Intelligent DNS hosted zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiGetZoneRequest
func (*ZonesApiService) GetZoneExecute ¶
func (a *ZonesApiService) GetZoneExecute(r ApiGetZoneRequest) (*GetZoneResponse, *http.Response, error)
Execute executes the request
@return GetZoneResponse
func (*ZonesApiService) GetZones ¶
func (a *ZonesApiService) GetZones(ctx context.Context) ApiGetZonesRequest
GetZones Get a collection of Intelligent DNS zones
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetZonesRequest
func (*ZonesApiService) GetZonesExecute ¶
func (a *ZonesApiService) GetZonesExecute(r ApiGetZonesRequest) (*GetZonesResponse, *http.Response, error)
Execute executes the request
@return GetZonesResponse
func (*ZonesApiService) PostZone ¶
func (a *ZonesApiService) PostZone(ctx context.Context) ApiPostZoneRequest
PostZone Add a new Intelligent DNS zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPostZoneRequest
func (*ZonesApiService) PostZoneExecute ¶
func (a *ZonesApiService) PostZoneExecute(r ApiPostZoneRequest) (*PostOrPutZoneResponse, *http.Response, error)
Execute executes the request
@return PostOrPutZoneResponse
func (*ZonesApiService) PutZone ¶
func (a *ZonesApiService) PutZone(ctx context.Context, zoneId int32) ApiPutZoneRequest
PutZone Update an Intelligent DNS hosted zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param zoneId The hosted zone id @return ApiPutZoneRequest
func (*ZonesApiService) PutZoneExecute ¶
func (a *ZonesApiService) PutZoneExecute(r ApiPutZoneRequest) (*PostOrPutZoneResponse, *http.Response, error)
Execute executes the request
@return PostOrPutZoneResponse
type ZonesCollection ¶
type ZonesCollection struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` // Number of records Count *int32 `json:"count,omitempty"` // The total pages TotalPages *int32 `json:"total_pages,omitempty"` Links *ZonesCollectionLinks `json:"links,omitempty"` // Hosted zones collection Results []Zone `json:"results,omitempty"` }
ZonesCollection struct for ZonesCollection
func NewZonesCollection ¶
func NewZonesCollection() *ZonesCollection
NewZonesCollection instantiates a new ZonesCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewZonesCollectionWithDefaults ¶
func NewZonesCollectionWithDefaults() *ZonesCollection
NewZonesCollectionWithDefaults instantiates a new ZonesCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ZonesCollection) GetCount ¶
func (o *ZonesCollection) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*ZonesCollection) GetCountOk ¶
func (o *ZonesCollection) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ZonesCollection) GetLinks ¶
func (o *ZonesCollection) GetLinks() ZonesCollectionLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*ZonesCollection) GetLinksOk ¶
func (o *ZonesCollection) GetLinksOk() (*ZonesCollectionLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ZonesCollection) GetResults ¶
func (o *ZonesCollection) GetResults() []Zone
GetResults returns the Results field value if set, zero value otherwise.
func (*ZonesCollection) GetResultsOk ¶
func (o *ZonesCollection) GetResultsOk() ([]Zone, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ZonesCollection) GetSchemaVersion ¶
func (o *ZonesCollection) GetSchemaVersion() int32
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*ZonesCollection) GetSchemaVersionOk ¶
func (o *ZonesCollection) GetSchemaVersionOk() (*int32, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ZonesCollection) GetTotalPages ¶
func (o *ZonesCollection) GetTotalPages() int32
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*ZonesCollection) GetTotalPagesOk ¶
func (o *ZonesCollection) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ZonesCollection) HasCount ¶
func (o *ZonesCollection) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ZonesCollection) HasLinks ¶
func (o *ZonesCollection) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*ZonesCollection) HasResults ¶
func (o *ZonesCollection) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*ZonesCollection) HasSchemaVersion ¶
func (o *ZonesCollection) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (*ZonesCollection) HasTotalPages ¶
func (o *ZonesCollection) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (ZonesCollection) MarshalJSON ¶
func (o ZonesCollection) MarshalJSON() ([]byte, error)
func (*ZonesCollection) SetCount ¶
func (o *ZonesCollection) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*ZonesCollection) SetLinks ¶
func (o *ZonesCollection) SetLinks(v ZonesCollectionLinks)
SetLinks gets a reference to the given ZonesCollectionLinks and assigns it to the Links field.
func (*ZonesCollection) SetResults ¶
func (o *ZonesCollection) SetResults(v []Zone)
SetResults gets a reference to the given []Zone and assigns it to the Results field.
func (*ZonesCollection) SetSchemaVersion ¶
func (o *ZonesCollection) SetSchemaVersion(v int32)
SetSchemaVersion gets a reference to the given int32 and assigns it to the SchemaVersion field.
func (*ZonesCollection) SetTotalPages ¶
func (o *ZonesCollection) SetTotalPages(v int32)
SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.
type ZonesCollectionLinks ¶
type ZonesCollectionLinks struct { Previous NullableString `json:"previous,omitempty"` Next NullableString `json:"next,omitempty"` }
ZonesCollectionLinks struct for ZonesCollectionLinks
func NewZonesCollectionLinks ¶
func NewZonesCollectionLinks() *ZonesCollectionLinks
NewZonesCollectionLinks instantiates a new ZonesCollectionLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewZonesCollectionLinksWithDefaults ¶
func NewZonesCollectionLinksWithDefaults() *ZonesCollectionLinks
NewZonesCollectionLinksWithDefaults instantiates a new ZonesCollectionLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ZonesCollectionLinks) GetNext ¶
func (o *ZonesCollectionLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ZonesCollectionLinks) GetNextOk ¶
func (o *ZonesCollectionLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZonesCollectionLinks) GetPrevious ¶
func (o *ZonesCollectionLinks) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ZonesCollectionLinks) GetPreviousOk ¶
func (o *ZonesCollectionLinks) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ZonesCollectionLinks) HasNext ¶
func (o *ZonesCollectionLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*ZonesCollectionLinks) HasPrevious ¶
func (o *ZonesCollectionLinks) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (ZonesCollectionLinks) MarshalJSON ¶
func (o ZonesCollectionLinks) MarshalJSON() ([]byte, error)
func (*ZonesCollectionLinks) SetNext ¶
func (o *ZonesCollectionLinks) SetNext(v string)
SetNext gets a reference to the given NullableString and assigns it to the Next field.
func (*ZonesCollectionLinks) SetNextNil ¶
func (o *ZonesCollectionLinks) SetNextNil()
SetNextNil sets the value for Next to be an explicit nil
func (*ZonesCollectionLinks) SetPrevious ¶
func (o *ZonesCollectionLinks) SetPrevious(v string)
SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.
func (*ZonesCollectionLinks) SetPreviousNil ¶
func (o *ZonesCollectionLinks) SetPreviousNil()
SetPreviousNil sets the value for Previous to be an explicit nil
func (*ZonesCollectionLinks) UnsetNext ¶
func (o *ZonesCollectionLinks) UnsetNext()
UnsetNext ensures that no value is present for Next, not even an explicit nil
func (*ZonesCollectionLinks) UnsetPrevious ¶
func (o *ZonesCollectionLinks) UnsetPrevious()
UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
Source Files ¶
- api_dnssec.go
- api_records.go
- api_zones.go
- client.go
- configuration.go
- model_create_record.go
- model_create_zone.go
- model_dns_sec.go
- model_dns_sec_delegation_signer.go
- model_dns_sec_delegation_signer_digest_type.go
- model_error_response.go
- model_errors.go
- model_errors_response.go
- model_general_error.go
- model_get_or_patch_dns_sec_response.go
- model_get_records_response.go
- model_get_records_response_results.go
- model_get_zone_model.go
- model_get_zone_response.go
- model_get_zones_response.go
- model_get_zones_response_links.go
- model_post_or_put_record_response.go
- model_post_or_put_zone_response.go
- model_record.go
- model_records_collection.go
- model_records_collection_results.go
- model_zone.go
- model_zones_collection.go
- model_zones_collection_links.go
- response.go
- utils.go