Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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
- func (r ApiGetZonesRequest) Execute() (*GetZonesResponse, *http.Response, error)
- func (r ApiGetZonesRequest) OrderBy(orderBy string) ApiGetZonesRequest
- func (r ApiGetZonesRequest) Page(page int64) ApiGetZonesRequest
- func (r ApiGetZonesRequest) PageSize(pageSize int64) ApiGetZonesRequest
- func (r ApiGetZonesRequest) Sort(sort string) ApiGetZonesRequest
- type ApiPostZoneRecordRequest
- type ApiPostZoneRequest
- type ApiPutZoneDnsSecRequest
- type ApiPutZoneRecordRequest
- type ApiPutZoneRequest
- type BasicAuth
- type Configuration
- 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) GetDelegationSigner() DnsSecDelegationSigner
- func (o *DnsSec) GetDelegationSignerOk() (*DnsSecDelegationSigner, bool)
- func (o *DnsSec) GetIsEnabled() bool
- func (o *DnsSec) GetIsEnabledOk() (*bool, bool)
- func (o *DnsSec) GetStatus() string
- func (o *DnsSec) GetStatusOk() (*string, bool)
- func (o *DnsSec) HasDelegationSigner() bool
- func (o *DnsSec) HasIsEnabled() bool
- func (o *DnsSec) HasStatus() bool
- func (o DnsSec) MarshalJSON() ([]byte, error)
- func (o *DnsSec) SetDelegationSigner(v DnsSecDelegationSigner)
- func (o *DnsSec) SetIsEnabled(v bool)
- func (o *DnsSec) SetStatus(v string)
- func (o DnsSec) ToMap() (map[string]interface{}, error)
- type DnsSecDelegationSigner
- func (o *DnsSecDelegationSigner) GetAlgorithmType() DnsSecDelegationSignerDigestType
- func (o *DnsSecDelegationSigner) GetAlgorithmTypeOk() (*DnsSecDelegationSignerDigestType, bool)
- func (o *DnsSecDelegationSigner) GetDigest() string
- func (o *DnsSecDelegationSigner) GetDigestOk() (*string, bool)
- func (o *DnsSecDelegationSigner) GetDigestType() DnsSecDelegationSignerDigestType
- func (o *DnsSecDelegationSigner) GetDigestTypeOk() (*DnsSecDelegationSignerDigestType, bool)
- func (o *DnsSecDelegationSigner) GetKeyTag() int32
- func (o *DnsSecDelegationSigner) GetKeyTagOk() (*int32, bool)
- func (o *DnsSecDelegationSigner) HasAlgorithmType() bool
- func (o *DnsSecDelegationSigner) HasDigest() bool
- func (o *DnsSecDelegationSigner) HasDigestType() bool
- func (o *DnsSecDelegationSigner) HasKeyTag() bool
- func (o DnsSecDelegationSigner) MarshalJSON() ([]byte, error)
- func (o *DnsSecDelegationSigner) SetAlgorithmType(v DnsSecDelegationSignerDigestType)
- func (o *DnsSecDelegationSigner) SetDigest(v string)
- func (o *DnsSecDelegationSigner) SetDigestType(v DnsSecDelegationSignerDigestType)
- func (o *DnsSecDelegationSigner) SetKeyTag(v int32)
- 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 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 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() []RecordGet
- func (o *GetRecordsResponseResults) GetRecordsOk() ([]RecordGet, 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 []RecordGet)
- func (o *GetRecordsResponseResults) SetZoneDomain(v string)
- func (o *GetRecordsResponseResults) SetZoneId(v int32)
- func (o GetRecordsResponseResults) ToMap() (map[string]interface{}, error)
- 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 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 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 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 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 NullableRecordGet
- type NullableRecordPostOrPut
- func (v NullableRecordPostOrPut) Get() *RecordPostOrPut
- func (v NullableRecordPostOrPut) IsSet() bool
- func (v NullableRecordPostOrPut) MarshalJSON() ([]byte, error)
- func (v *NullableRecordPostOrPut) Set(val *RecordPostOrPut)
- func (v *NullableRecordPostOrPut) UnmarshalJSON(src []byte) error
- func (v *NullableRecordPostOrPut) Unset()
- type NullableString
- type NullableTime
- type NullableZone
- type PostOrPutRecordResponse
- func (o *PostOrPutRecordResponse) GetResults() RecordPostOrPut
- func (o *PostOrPutRecordResponse) GetResultsOk() (*RecordPostOrPut, 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 RecordPostOrPut)
- 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 RecordGet
- func (o *RecordGet) GetAnswersList() []string
- func (o *RecordGet) GetAnswersListOk() ([]string, bool)
- func (o *RecordGet) GetDescription() string
- func (o *RecordGet) GetDescriptionOk() (*string, bool)
- func (o *RecordGet) GetEntry() string
- func (o *RecordGet) GetEntryOk() (*string, bool)
- func (o *RecordGet) GetPolicy() string
- func (o *RecordGet) GetPolicyOk() (*string, bool)
- func (o *RecordGet) GetRecordId() int32
- func (o *RecordGet) GetRecordIdOk() (*int32, bool)
- func (o *RecordGet) GetRecordType() string
- func (o *RecordGet) GetRecordTypeOk() (*string, bool)
- func (o *RecordGet) GetTtl() int32
- func (o *RecordGet) GetTtlOk() (*int32, bool)
- func (o *RecordGet) GetWeight() int32
- func (o *RecordGet) GetWeightOk() (*int32, bool)
- func (o *RecordGet) HasAnswersList() bool
- func (o *RecordGet) HasDescription() bool
- func (o *RecordGet) HasEntry() bool
- func (o *RecordGet) HasPolicy() bool
- func (o *RecordGet) HasRecordId() bool
- func (o *RecordGet) HasRecordType() bool
- func (o *RecordGet) HasTtl() bool
- func (o *RecordGet) HasWeight() bool
- func (o RecordGet) MarshalJSON() ([]byte, error)
- func (o *RecordGet) SetAnswersList(v []string)
- func (o *RecordGet) SetDescription(v string)
- func (o *RecordGet) SetEntry(v string)
- func (o *RecordGet) SetPolicy(v string)
- func (o *RecordGet) SetRecordId(v int32)
- func (o *RecordGet) SetRecordType(v string)
- func (o *RecordGet) SetTtl(v int32)
- func (o *RecordGet) SetWeight(v int32)
- func (o RecordGet) ToMap() (map[string]interface{}, error)
- type RecordPostOrPut
- func (o *RecordPostOrPut) GetAnswersList() []string
- func (o *RecordPostOrPut) GetAnswersListOk() ([]string, bool)
- func (o *RecordPostOrPut) GetDescription() string
- func (o *RecordPostOrPut) GetDescriptionOk() (*string, bool)
- func (o *RecordPostOrPut) GetEntry() string
- func (o *RecordPostOrPut) GetEntryOk() (*string, bool)
- func (o *RecordPostOrPut) GetId() int32
- func (o *RecordPostOrPut) GetIdOk() (*int32, bool)
- func (o *RecordPostOrPut) GetPolicy() string
- func (o *RecordPostOrPut) GetPolicyOk() (*string, bool)
- func (o *RecordPostOrPut) GetRecordType() string
- func (o *RecordPostOrPut) GetRecordTypeOk() (*string, bool)
- func (o *RecordPostOrPut) GetTtl() int32
- func (o *RecordPostOrPut) GetTtlOk() (*int32, bool)
- func (o *RecordPostOrPut) GetWeight() int32
- func (o *RecordPostOrPut) GetWeightOk() (*int32, bool)
- func (o *RecordPostOrPut) HasAnswersList() bool
- func (o *RecordPostOrPut) HasDescription() bool
- func (o *RecordPostOrPut) HasEntry() bool
- func (o *RecordPostOrPut) HasId() bool
- func (o *RecordPostOrPut) HasPolicy() bool
- func (o *RecordPostOrPut) HasRecordType() bool
- func (o *RecordPostOrPut) HasTtl() bool
- func (o *RecordPostOrPut) HasWeight() bool
- func (o RecordPostOrPut) MarshalJSON() ([]byte, error)
- func (o *RecordPostOrPut) SetAnswersList(v []string)
- func (o *RecordPostOrPut) SetDescription(v string)
- func (o *RecordPostOrPut) SetEntry(v string)
- func (o *RecordPostOrPut) SetId(v int32)
- func (o *RecordPostOrPut) SetPolicy(v string)
- func (o *RecordPostOrPut) SetRecordType(v string)
- func (o *RecordPostOrPut) SetTtl(v int32)
- func (o *RecordPostOrPut) SetWeight(v int32)
- func (o RecordPostOrPut) 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 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)
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 API v1.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)
func (ApiGetZoneRecordsRequest) Page ¶ added in v0.102.0
func (r ApiGetZoneRecordsRequest) Page(page int64) ApiGetZoneRecordsRequest
Identifies which page should be returned, if the return is paginated.
func (ApiGetZoneRecordsRequest) PageSize ¶ added in v0.102.0
func (r ApiGetZoneRecordsRequest) PageSize(pageSize int64) ApiGetZoneRecordsRequest
Identifies how many items should be returned per page.
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)
func (ApiGetZonesRequest) OrderBy ¶ added in v0.101.0
func (r ApiGetZonesRequest) OrderBy(orderBy string) ApiGetZonesRequest
Identifies which property the return should be sorted by.
func (ApiGetZonesRequest) Page ¶ added in v0.101.0
func (r ApiGetZonesRequest) Page(page int64) ApiGetZonesRequest
Identifies which page should be returned, if the return is paginated.
func (ApiGetZonesRequest) PageSize ¶ added in v0.101.0
func (r ApiGetZonesRequest) PageSize(pageSize int64) ApiGetZonesRequest
Identifies how many items should be returned per page.
func (ApiGetZonesRequest) Sort ¶ added in v0.101.0
func (r ApiGetZonesRequest) Sort(sort string) ApiGetZonesRequest
Defines whether objects are shown in ascending or descending order depending on the value set in order_by.
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) RecordPostOrPut ¶ added in v0.31.0
func (r ApiPostZoneRecordRequest) RecordPostOrPut(recordPostOrPut RecordPostOrPut) 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) RecordPostOrPut ¶ added in v0.31.0
func (r ApiPutZoneRecordRequest) RecordPostOrPut(recordPostOrPut RecordPostOrPut) 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 DNSSECAPIService ¶ added in v0.101.0
type DNSSECAPIService service
DNSSECAPIService DNSSECAPI service
func (*DNSSECAPIService) GetZoneDnsSec ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *DNSSECAPIService) GetZoneDnsSecExecute(r ApiGetZoneDnsSecRequest) (*GetOrPatchDnsSecResponse, *http.Response, error)
Execute executes the request
@return GetOrPatchDnsSecResponse
func (*DNSSECAPIService) PutZoneDnsSec ¶ added in v0.101.0
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 ¶ added in v0.101.0
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"` }
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) 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) 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) 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) 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) SetDelegationSigner ¶
func (o *DnsSec) SetDelegationSigner(v DnsSecDelegationSigner)
SetDelegationSigner gets a reference to the given DnsSecDelegationSigner and assigns it to the DelegationSigner field.
func (*DnsSec) SetIsEnabled ¶
SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.
type DnsSecDelegationSigner ¶
type DnsSecDelegationSigner struct { DigestType *DnsSecDelegationSignerDigestType `json:"digest_type,omitempty"` AlgorithmType *DnsSecDelegationSignerDigestType `json:"algorithm_type,omitempty"` Digest *string `json:"digest,omitempty"` KeyTag *int32 `json:"key_tag,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) GetAlgorithmType ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) GetAlgorithmType() DnsSecDelegationSignerDigestType
GetAlgorithmType returns the AlgorithmType field value if set, zero value otherwise.
func (*DnsSecDelegationSigner) GetAlgorithmTypeOk ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) 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 (*DnsSecDelegationSigner) GetDigest ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) GetDigest() string
GetDigest returns the Digest field value if set, zero value otherwise.
func (*DnsSecDelegationSigner) GetDigestOk ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) GetDigestOk() (*string, bool)
GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) GetKeyTag ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) GetKeyTag() int32
GetKeyTag returns the KeyTag field value if set, zero value otherwise.
func (*DnsSecDelegationSigner) GetKeyTagOk ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) GetKeyTagOk() (*int32, bool)
GetKeyTagOk returns a tuple with the KeyTag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DnsSecDelegationSigner) HasAlgorithmType ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) HasAlgorithmType() bool
HasAlgorithmType returns a boolean if a field has been set.
func (*DnsSecDelegationSigner) HasDigest ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) HasDigest() bool
HasDigest returns a boolean if a field has been set.
func (*DnsSecDelegationSigner) HasDigestType ¶
func (o *DnsSecDelegationSigner) HasDigestType() bool
HasDigestType returns a boolean if a field has been set.
func (*DnsSecDelegationSigner) HasKeyTag ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) HasKeyTag() bool
HasKeyTag returns a boolean if a field has been set.
func (DnsSecDelegationSigner) MarshalJSON ¶
func (o DnsSecDelegationSigner) MarshalJSON() ([]byte, error)
func (*DnsSecDelegationSigner) SetAlgorithmType ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) SetAlgorithmType(v DnsSecDelegationSignerDigestType)
SetAlgorithmType gets a reference to the given DnsSecDelegationSignerDigestType and assigns it to the AlgorithmType field.
func (*DnsSecDelegationSigner) SetDigest ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) SetDigest(v string)
SetDigest gets a reference to the given string and assigns it to the Digest field.
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) SetKeyTag ¶ added in v0.30.0
func (o *DnsSecDelegationSigner) SetKeyTag(v int32)
SetKeyTag gets a reference to the given int32 and assigns it to the KeyTag 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 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 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 []RecordGet `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() []RecordGet
GetRecords returns the Records field value if set, zero value otherwise.
func (*GetRecordsResponseResults) GetRecordsOk ¶
func (o *GetRecordsResponseResults) GetRecordsOk() ([]RecordGet, 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 []RecordGet)
SetRecords gets a reference to the given []RecordGet 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 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 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 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 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 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 NullableRecordGet ¶ added in v0.31.0
type NullableRecordGet struct {
// contains filtered or unexported fields
}
func NewNullableRecordGet ¶ added in v0.31.0
func NewNullableRecordGet(val *RecordGet) *NullableRecordGet
func (NullableRecordGet) Get ¶ added in v0.31.0
func (v NullableRecordGet) Get() *RecordGet
func (NullableRecordGet) IsSet ¶ added in v0.31.0
func (v NullableRecordGet) IsSet() bool
func (NullableRecordGet) MarshalJSON ¶ added in v0.31.0
func (v NullableRecordGet) MarshalJSON() ([]byte, error)
func (*NullableRecordGet) Set ¶ added in v0.31.0
func (v *NullableRecordGet) Set(val *RecordGet)
func (*NullableRecordGet) UnmarshalJSON ¶ added in v0.31.0
func (v *NullableRecordGet) UnmarshalJSON(src []byte) error
func (*NullableRecordGet) Unset ¶ added in v0.31.0
func (v *NullableRecordGet) Unset()
type NullableRecordPostOrPut ¶ added in v0.31.0
type NullableRecordPostOrPut struct {
// contains filtered or unexported fields
}
func NewNullableRecordPostOrPut ¶ added in v0.31.0
func NewNullableRecordPostOrPut(val *RecordPostOrPut) *NullableRecordPostOrPut
func (NullableRecordPostOrPut) Get ¶ added in v0.31.0
func (v NullableRecordPostOrPut) Get() *RecordPostOrPut
func (NullableRecordPostOrPut) IsSet ¶ added in v0.31.0
func (v NullableRecordPostOrPut) IsSet() bool
func (NullableRecordPostOrPut) MarshalJSON ¶ added in v0.31.0
func (v NullableRecordPostOrPut) MarshalJSON() ([]byte, error)
func (*NullableRecordPostOrPut) Set ¶ added in v0.31.0
func (v *NullableRecordPostOrPut) Set(val *RecordPostOrPut)
func (*NullableRecordPostOrPut) UnmarshalJSON ¶ added in v0.31.0
func (v *NullableRecordPostOrPut) UnmarshalJSON(src []byte) error
func (*NullableRecordPostOrPut) Unset ¶ added in v0.31.0
func (v *NullableRecordPostOrPut) 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 PostOrPutRecordResponse ¶
type PostOrPutRecordResponse struct { // The schema version SchemaVersion *int32 `json:"schema_version,omitempty"` Results *RecordPostOrPut `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() RecordPostOrPut
GetResults returns the Results field value if set, zero value otherwise.
func (*PostOrPutRecordResponse) GetResultsOk ¶
func (o *PostOrPutRecordResponse) GetResultsOk() (*RecordPostOrPut, 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 RecordPostOrPut)
SetResults gets a reference to the given RecordPostOrPut 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 RecordGet ¶ added in v0.31.0
type RecordGet 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"` Weight *int32 `json:"weight,omitempty"` RecordType *string `json:"record_type,omitempty"` Ttl *int32 `json:"ttl,omitempty"` }
RecordGet struct for RecordGet
func NewRecordGet ¶ added in v0.31.0
func NewRecordGet() *RecordGet
NewRecordGet instantiates a new RecordGet 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 NewRecordGetWithDefaults ¶ added in v0.31.0
func NewRecordGetWithDefaults() *RecordGet
NewRecordGetWithDefaults instantiates a new RecordGet 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 (*RecordGet) GetAnswersList ¶ added in v0.31.0
GetAnswersList returns the AnswersList field value if set, zero value otherwise.
func (*RecordGet) GetAnswersListOk ¶ added in v0.31.0
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 (*RecordGet) GetDescription ¶ added in v0.31.0
GetDescription returns the Description field value if set, zero value otherwise.
func (*RecordGet) GetDescriptionOk ¶ added in v0.31.0
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 (*RecordGet) GetEntry ¶ added in v0.31.0
GetEntry returns the Entry field value if set, zero value otherwise.
func (*RecordGet) GetEntryOk ¶ added in v0.31.0
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 (*RecordGet) GetPolicy ¶ added in v0.31.0
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*RecordGet) GetPolicyOk ¶ added in v0.31.0
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 (*RecordGet) GetRecordId ¶ added in v0.31.0
GetRecordId returns the RecordId field value if set, zero value otherwise.
func (*RecordGet) GetRecordIdOk ¶ added in v0.31.0
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 (*RecordGet) GetRecordType ¶ added in v0.31.0
GetRecordType returns the RecordType field value if set, zero value otherwise.
func (*RecordGet) GetRecordTypeOk ¶ added in v0.31.0
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 (*RecordGet) GetTtl ¶ added in v0.31.0
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*RecordGet) GetTtlOk ¶ added in v0.31.0
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 (*RecordGet) GetWeight ¶ added in v0.32.0
GetWeight returns the Weight field value if set, zero value otherwise.
func (*RecordGet) GetWeightOk ¶ added in v0.32.0
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordGet) HasAnswersList ¶ added in v0.31.0
HasAnswersList returns a boolean if a field has been set.
func (*RecordGet) HasDescription ¶ added in v0.31.0
HasDescription returns a boolean if a field has been set.
func (*RecordGet) HasRecordId ¶ added in v0.31.0
HasRecordId returns a boolean if a field has been set.
func (*RecordGet) HasRecordType ¶ added in v0.31.0
HasRecordType returns a boolean if a field has been set.
func (RecordGet) MarshalJSON ¶ added in v0.31.0
func (*RecordGet) SetAnswersList ¶ added in v0.31.0
SetAnswersList gets a reference to the given []string and assigns it to the AnswersList field.
func (*RecordGet) SetDescription ¶ added in v0.31.0
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RecordGet) SetEntry ¶ added in v0.31.0
SetEntry gets a reference to the given string and assigns it to the Entry field.
func (*RecordGet) SetPolicy ¶ added in v0.31.0
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (*RecordGet) SetRecordId ¶ added in v0.31.0
SetRecordId gets a reference to the given int32 and assigns it to the RecordId field.
func (*RecordGet) SetRecordType ¶ added in v0.31.0
SetRecordType gets a reference to the given string and assigns it to the RecordType field.
func (*RecordGet) SetTtl ¶ added in v0.31.0
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
type RecordPostOrPut ¶ added in v0.31.0
type RecordPostOrPut struct { Id *int32 `json:"id,omitempty"` Entry *string `json:"entry,omitempty"` Description *string `json:"description,omitempty"` AnswersList []string `json:"answers_list,omitempty"` Policy *string `json:"policy,omitempty"` Weight *int32 `json:"weight,omitempty"` RecordType *string `json:"record_type,omitempty"` Ttl *int32 `json:"ttl,omitempty"` }
RecordPostOrPut struct for RecordPostOrPut
func NewRecordPostOrPut ¶ added in v0.31.0
func NewRecordPostOrPut() *RecordPostOrPut
NewRecordPostOrPut instantiates a new RecordPostOrPut 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 NewRecordPostOrPutWithDefaults ¶ added in v0.31.0
func NewRecordPostOrPutWithDefaults() *RecordPostOrPut
NewRecordPostOrPutWithDefaults instantiates a new RecordPostOrPut 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 (*RecordPostOrPut) GetAnswersList ¶ added in v0.31.0
func (o *RecordPostOrPut) GetAnswersList() []string
GetAnswersList returns the AnswersList field value if set, zero value otherwise.
func (*RecordPostOrPut) GetAnswersListOk ¶ added in v0.31.0
func (o *RecordPostOrPut) GetAnswersListOk() ([]string, bool)
GetAnswersListOk returns a tuple with the AnswersList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) GetDescription ¶ added in v0.31.0
func (o *RecordPostOrPut) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RecordPostOrPut) GetDescriptionOk ¶ added in v0.31.0
func (o *RecordPostOrPut) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) GetEntry ¶ added in v0.31.0
func (o *RecordPostOrPut) GetEntry() string
GetEntry returns the Entry field value if set, zero value otherwise.
func (*RecordPostOrPut) GetEntryOk ¶ added in v0.31.0
func (o *RecordPostOrPut) GetEntryOk() (*string, bool)
GetEntryOk returns a tuple with the Entry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) GetId ¶ added in v0.31.0
func (o *RecordPostOrPut) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*RecordPostOrPut) GetIdOk ¶ added in v0.31.0
func (o *RecordPostOrPut) 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 (*RecordPostOrPut) GetPolicy ¶ added in v0.31.0
func (o *RecordPostOrPut) GetPolicy() string
GetPolicy returns the Policy field value if set, zero value otherwise.
func (*RecordPostOrPut) GetPolicyOk ¶ added in v0.31.0
func (o *RecordPostOrPut) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) GetRecordType ¶ added in v0.31.0
func (o *RecordPostOrPut) GetRecordType() string
GetRecordType returns the RecordType field value if set, zero value otherwise.
func (*RecordPostOrPut) GetRecordTypeOk ¶ added in v0.31.0
func (o *RecordPostOrPut) GetRecordTypeOk() (*string, bool)
GetRecordTypeOk returns a tuple with the RecordType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) GetTtl ¶ added in v0.31.0
func (o *RecordPostOrPut) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*RecordPostOrPut) GetTtlOk ¶ added in v0.31.0
func (o *RecordPostOrPut) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) GetWeight ¶ added in v0.32.0
func (o *RecordPostOrPut) GetWeight() int32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*RecordPostOrPut) GetWeightOk ¶ added in v0.32.0
func (o *RecordPostOrPut) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecordPostOrPut) HasAnswersList ¶ added in v0.31.0
func (o *RecordPostOrPut) HasAnswersList() bool
HasAnswersList returns a boolean if a field has been set.
func (*RecordPostOrPut) HasDescription ¶ added in v0.31.0
func (o *RecordPostOrPut) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*RecordPostOrPut) HasEntry ¶ added in v0.31.0
func (o *RecordPostOrPut) HasEntry() bool
HasEntry returns a boolean if a field has been set.
func (*RecordPostOrPut) HasId ¶ added in v0.31.0
func (o *RecordPostOrPut) HasId() bool
HasId returns a boolean if a field has been set.
func (*RecordPostOrPut) HasPolicy ¶ added in v0.31.0
func (o *RecordPostOrPut) HasPolicy() bool
HasPolicy returns a boolean if a field has been set.
func (*RecordPostOrPut) HasRecordType ¶ added in v0.31.0
func (o *RecordPostOrPut) HasRecordType() bool
HasRecordType returns a boolean if a field has been set.
func (*RecordPostOrPut) HasTtl ¶ added in v0.31.0
func (o *RecordPostOrPut) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (*RecordPostOrPut) HasWeight ¶ added in v0.32.0
func (o *RecordPostOrPut) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (RecordPostOrPut) MarshalJSON ¶ added in v0.31.0
func (o RecordPostOrPut) MarshalJSON() ([]byte, error)
func (*RecordPostOrPut) SetAnswersList ¶ added in v0.31.0
func (o *RecordPostOrPut) SetAnswersList(v []string)
SetAnswersList gets a reference to the given []string and assigns it to the AnswersList field.
func (*RecordPostOrPut) SetDescription ¶ added in v0.31.0
func (o *RecordPostOrPut) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RecordPostOrPut) SetEntry ¶ added in v0.31.0
func (o *RecordPostOrPut) SetEntry(v string)
SetEntry gets a reference to the given string and assigns it to the Entry field.
func (*RecordPostOrPut) SetId ¶ added in v0.31.0
func (o *RecordPostOrPut) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*RecordPostOrPut) SetPolicy ¶ added in v0.31.0
func (o *RecordPostOrPut) SetPolicy(v string)
SetPolicy gets a reference to the given string and assigns it to the Policy field.
func (*RecordPostOrPut) SetRecordType ¶ added in v0.31.0
func (o *RecordPostOrPut) SetRecordType(v string)
SetRecordType gets a reference to the given string and assigns it to the RecordType field.
func (*RecordPostOrPut) SetTtl ¶ added in v0.31.0
func (o *RecordPostOrPut) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
func (*RecordPostOrPut) SetWeight ¶ added in v0.32.0
func (o *RecordPostOrPut) SetWeight(v int32)
SetWeight gets a reference to the given int32 and assigns it to the Weight field.
func (RecordPostOrPut) ToMap ¶ added in v0.31.0
func (o RecordPostOrPut) ToMap() (map[string]interface{}, error)
type RecordsAPIService ¶ added in v0.101.0
type RecordsAPIService service
RecordsAPIService RecordsAPI service
func (*RecordsAPIService) DeleteZoneRecord ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *RecordsAPIService) DeleteZoneRecordExecute(r ApiDeleteZoneRecordRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*RecordsAPIService) GetZoneRecords ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *RecordsAPIService) GetZoneRecordsExecute(r ApiGetZoneRecordsRequest) (*GetRecordsResponse, *http.Response, error)
Execute executes the request
@return GetRecordsResponse
func (*RecordsAPIService) PostZoneRecord ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *RecordsAPIService) PostZoneRecordExecute(r ApiPostZoneRecordRequest) (*PostOrPutRecordResponse, *http.Response, error)
Execute executes the request
@return PostOrPutRecordResponse
func (*RecordsAPIService) PutZoneRecord ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *RecordsAPIService) PutZoneRecordExecute(r ApiPutZoneRecordRequest) (*PostOrPutRecordResponse, *http.Response, error)
Execute executes the request
@return PostOrPutRecordResponse
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 ¶ added in v0.101.0
type ZonesAPIService service
ZonesAPIService ZonesAPI service
func (*ZonesAPIService) DeleteZone ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *ZonesAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ZonesAPIService) GetZone ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *ZonesAPIService) GetZoneExecute(r ApiGetZoneRequest) (*GetZoneResponse, *http.Response, error)
Execute executes the request
@return GetZoneResponse
func (*ZonesAPIService) GetZones ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *ZonesAPIService) GetZonesExecute(r ApiGetZonesRequest) (*GetZonesResponse, *http.Response, error)
Execute executes the request
@return GetZonesResponse
func (*ZonesAPIService) PostZone ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *ZonesAPIService) PostZoneExecute(r ApiPostZoneRequest) (*PostOrPutZoneResponse, *http.Response, error)
Execute executes the request
@return PostOrPutZoneResponse
func (*ZonesAPIService) PutZone ¶ added in v0.101.0
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 ¶ added in v0.101.0
func (a *ZonesAPIService) PutZoneExecute(r ApiPutZoneRequest) (*PostOrPutZoneResponse, *http.Response, error)
Execute executes the request
@return PostOrPutZoneResponse
Source Files ¶
- api_dnssec.go
- api_records.go
- api_zones.go
- client.go
- configuration.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_response.go
- model_get_or_patch_dns_sec_response.go
- model_get_records_response.go
- model_get_records_response_results.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_get.go
- model_record_post_or_put.go
- model_zone.go
- response.go
- utils.go