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 ApiAxfrExportZoneRequest
- type ApiAxfrRetrieveZoneRequest
- type ApiCacheFlushByNameRequest
- type ApiCallErrorRequest
- type ApiCreateAutoprimaryRequest
- type ApiCreateCryptokeyRequest
- type ApiCreateMetadataRequest
- type ApiCreateTSIGKeyRequest
- type ApiCreateZoneRequest
- type ApiDeleteAutoprimaryRequest
- type ApiDeleteCryptokeyRequest
- type ApiDeleteMetadataRequest
- type ApiDeleteTSIGKeyRequest
- type ApiDeleteZoneRequest
- type ApiGetAutoprimariesRequest
- type ApiGetConfigRequest
- type ApiGetConfigSettingRequest
- type ApiGetCryptokeyRequest
- type ApiGetMetadataRequest
- type ApiGetStatsRequest
- type ApiGetTSIGKeyRequest
- type ApiListCryptokeysRequest
- type ApiListMetadataRequest
- type ApiListServerRequest
- type ApiListServersRequest
- type ApiListTSIGKeysRequest
- type ApiListZoneRequest
- type ApiListZonesRequest
- type ApiModifyCryptokeyRequest
- type ApiModifyMetadataRequest
- type ApiNotifyZoneRequest
- type ApiPatchZoneRequest
- type ApiPutTSIGKeyRequest
- type ApiPutZoneRequest
- type ApiRectifyZoneRequest
- type ApiSearchDataRequest
- type Autoprimary
- func (o *Autoprimary) GetAccount() string
- func (o *Autoprimary) GetAccountOk() (*string, bool)
- func (o *Autoprimary) GetIp() string
- func (o *Autoprimary) GetIpOk() (*string, bool)
- func (o *Autoprimary) GetNameserver() string
- func (o *Autoprimary) GetNameserverOk() (*string, bool)
- func (o *Autoprimary) HasAccount() bool
- func (o *Autoprimary) HasIp() bool
- func (o *Autoprimary) HasNameserver() bool
- func (o Autoprimary) MarshalJSON() ([]byte, error)
- func (o *Autoprimary) SetAccount(v string)
- func (o *Autoprimary) SetIp(v string)
- func (o *Autoprimary) SetNameserver(v string)
- func (o Autoprimary) ToMap() (map[string]interface{}, error)
- type AutoprimaryAPIService
- func (a *AutoprimaryAPIService) CreateAutoprimary(ctx context.Context, serverId string) ApiCreateAutoprimaryRequest
- func (a *AutoprimaryAPIService) CreateAutoprimaryExecute(r ApiCreateAutoprimaryRequest) (*http.Response, error)
- func (a *AutoprimaryAPIService) DeleteAutoprimary(ctx context.Context, serverId string, ip string, nameserver string) ApiDeleteAutoprimaryRequest
- func (a *AutoprimaryAPIService) DeleteAutoprimaryExecute(r ApiDeleteAutoprimaryRequest) (*http.Response, error)
- func (a *AutoprimaryAPIService) GetAutoprimaries(ctx context.Context, serverId string) ApiGetAutoprimariesRequest
- func (a *AutoprimaryAPIService) GetAutoprimariesExecute(r ApiGetAutoprimariesRequest) (*Autoprimary, *http.Response, error)
- type BasicAuth
- type CacheFlushResult
- func (o *CacheFlushResult) GetCount() float32
- func (o *CacheFlushResult) GetCountOk() (*float32, bool)
- func (o *CacheFlushResult) GetResult() string
- func (o *CacheFlushResult) GetResultOk() (*string, bool)
- func (o *CacheFlushResult) HasCount() bool
- func (o *CacheFlushResult) HasResult() bool
- func (o CacheFlushResult) MarshalJSON() ([]byte, error)
- func (o *CacheFlushResult) SetCount(v float32)
- func (o *CacheFlushResult) SetResult(v string)
- func (o CacheFlushResult) ToMap() (map[string]interface{}, error)
- type Comment
- func (o *Comment) GetAccount() string
- func (o *Comment) GetAccountOk() (*string, bool)
- func (o *Comment) GetContent() string
- func (o *Comment) GetContentOk() (*string, bool)
- func (o *Comment) GetModifiedAt() int32
- func (o *Comment) GetModifiedAtOk() (*int32, bool)
- func (o *Comment) HasAccount() bool
- func (o *Comment) HasContent() bool
- func (o *Comment) HasModifiedAt() bool
- func (o Comment) MarshalJSON() ([]byte, error)
- func (o *Comment) SetAccount(v string)
- func (o *Comment) SetContent(v string)
- func (o *Comment) SetModifiedAt(v int32)
- func (o Comment) ToMap() (map[string]interface{}, error)
- type ConfigAPIService
- func (a *ConfigAPIService) GetConfig(ctx context.Context, serverId string) ApiGetConfigRequest
- func (a *ConfigAPIService) GetConfigExecute(r ApiGetConfigRequest) ([]ConfigSetting, *http.Response, error)
- func (a *ConfigAPIService) GetConfigSetting(ctx context.Context, serverId string, configSettingName string) ApiGetConfigSettingRequest
- func (a *ConfigAPIService) GetConfigSettingExecute(r ApiGetConfigSettingRequest) (*ConfigSetting, *http.Response, error)
- type ConfigSetting
- func (o *ConfigSetting) GetName() string
- func (o *ConfigSetting) GetNameOk() (*string, bool)
- func (o *ConfigSetting) GetType() string
- func (o *ConfigSetting) GetTypeOk() (*string, bool)
- func (o *ConfigSetting) GetValue() string
- func (o *ConfigSetting) GetValueOk() (*string, bool)
- func (o *ConfigSetting) HasName() bool
- func (o *ConfigSetting) HasType() bool
- func (o *ConfigSetting) HasValue() bool
- func (o ConfigSetting) MarshalJSON() ([]byte, error)
- func (o *ConfigSetting) SetName(v string)
- func (o *ConfigSetting) SetType(v string)
- func (o *ConfigSetting) SetValue(v string)
- func (o ConfigSetting) ToMap() (map[string]interface{}, error)
- type Configuration
- type Cryptokey
- func (o *Cryptokey) GetActive() bool
- func (o *Cryptokey) GetActiveOk() (*bool, bool)
- func (o *Cryptokey) GetAlgorithm() string
- func (o *Cryptokey) GetAlgorithmOk() (*string, bool)
- func (o *Cryptokey) GetBits() int32
- func (o *Cryptokey) GetBitsOk() (*int32, bool)
- func (o *Cryptokey) GetCds() []string
- func (o *Cryptokey) GetCdsOk() ([]string, bool)
- func (o *Cryptokey) GetDnskey() string
- func (o *Cryptokey) GetDnskeyOk() (*string, bool)
- func (o *Cryptokey) GetDs() []string
- func (o *Cryptokey) GetDsOk() ([]string, bool)
- func (o *Cryptokey) GetId() int32
- func (o *Cryptokey) GetIdOk() (*int32, bool)
- func (o *Cryptokey) GetKeytype() string
- func (o *Cryptokey) GetKeytypeOk() (*string, bool)
- func (o *Cryptokey) GetPrivatekey() string
- func (o *Cryptokey) GetPrivatekeyOk() (*string, bool)
- func (o *Cryptokey) GetPublished() bool
- func (o *Cryptokey) GetPublishedOk() (*bool, bool)
- func (o *Cryptokey) GetType() string
- func (o *Cryptokey) GetTypeOk() (*string, bool)
- func (o *Cryptokey) HasActive() bool
- func (o *Cryptokey) HasAlgorithm() bool
- func (o *Cryptokey) HasBits() bool
- func (o *Cryptokey) HasCds() bool
- func (o *Cryptokey) HasDnskey() bool
- func (o *Cryptokey) HasDs() bool
- func (o *Cryptokey) HasId() bool
- func (o *Cryptokey) HasKeytype() bool
- func (o *Cryptokey) HasPrivatekey() bool
- func (o *Cryptokey) HasPublished() bool
- func (o *Cryptokey) HasType() bool
- func (o Cryptokey) MarshalJSON() ([]byte, error)
- func (o *Cryptokey) SetActive(v bool)
- func (o *Cryptokey) SetAlgorithm(v string)
- func (o *Cryptokey) SetBits(v int32)
- func (o *Cryptokey) SetCds(v []string)
- func (o *Cryptokey) SetDnskey(v string)
- func (o *Cryptokey) SetDs(v []string)
- func (o *Cryptokey) SetId(v int32)
- func (o *Cryptokey) SetKeytype(v string)
- func (o *Cryptokey) SetPrivatekey(v string)
- func (o *Cryptokey) SetPublished(v bool)
- func (o *Cryptokey) SetType(v string)
- func (o Cryptokey) ToMap() (map[string]interface{}, error)
- type DefaultAPIService
- type Error
- func (o *Error) GetError() string
- func (o *Error) GetErrorOk() (*string, bool)
- func (o *Error) GetErrors() []string
- func (o *Error) GetErrorsOk() ([]string, bool)
- func (o *Error) HasErrors() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetError(v string)
- func (o *Error) SetErrors(v []string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GetStats200ResponseInner
- type MapStatisticItem
- func (o *MapStatisticItem) GetName() string
- func (o *MapStatisticItem) GetNameOk() (*string, bool)
- func (o *MapStatisticItem) GetType() string
- func (o *MapStatisticItem) GetTypeOk() (*string, bool)
- func (o *MapStatisticItem) GetValue() []SimpleStatisticItem
- func (o *MapStatisticItem) GetValueOk() ([]SimpleStatisticItem, bool)
- func (o *MapStatisticItem) HasName() bool
- func (o *MapStatisticItem) HasType() bool
- func (o *MapStatisticItem) HasValue() bool
- func (o MapStatisticItem) MarshalJSON() ([]byte, error)
- func (o *MapStatisticItem) SetName(v string)
- func (o *MapStatisticItem) SetType(v string)
- func (o *MapStatisticItem) SetValue(v []SimpleStatisticItem)
- func (o MapStatisticItem) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Metadata
- func (o *Metadata) GetKind() string
- func (o *Metadata) GetKindOk() (*string, bool)
- func (o *Metadata) GetMetadata() []string
- func (o *Metadata) GetMetadataOk() ([]string, bool)
- func (o *Metadata) HasKind() bool
- func (o *Metadata) HasMetadata() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetKind(v string)
- func (o *Metadata) SetMetadata(v []string)
- func (o Metadata) ToMap() (map[string]interface{}, error)
- type NullableAutoprimary
- func (v NullableAutoprimary) Get() *Autoprimary
- func (v NullableAutoprimary) IsSet() bool
- func (v NullableAutoprimary) MarshalJSON() ([]byte, error)
- func (v *NullableAutoprimary) Set(val *Autoprimary)
- func (v *NullableAutoprimary) UnmarshalJSON(src []byte) error
- func (v *NullableAutoprimary) Unset()
- type NullableBool
- type NullableCacheFlushResult
- func (v NullableCacheFlushResult) Get() *CacheFlushResult
- func (v NullableCacheFlushResult) IsSet() bool
- func (v NullableCacheFlushResult) MarshalJSON() ([]byte, error)
- func (v *NullableCacheFlushResult) Set(val *CacheFlushResult)
- func (v *NullableCacheFlushResult) UnmarshalJSON(src []byte) error
- func (v *NullableCacheFlushResult) Unset()
- type NullableComment
- type NullableConfigSetting
- func (v NullableConfigSetting) Get() *ConfigSetting
- func (v NullableConfigSetting) IsSet() bool
- func (v NullableConfigSetting) MarshalJSON() ([]byte, error)
- func (v *NullableConfigSetting) Set(val *ConfigSetting)
- func (v *NullableConfigSetting) UnmarshalJSON(src []byte) error
- func (v *NullableConfigSetting) Unset()
- type NullableCryptokey
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableGetStats200ResponseInner
- func (v NullableGetStats200ResponseInner) Get() *GetStats200ResponseInner
- func (v NullableGetStats200ResponseInner) IsSet() bool
- func (v NullableGetStats200ResponseInner) MarshalJSON() ([]byte, error)
- func (v *NullableGetStats200ResponseInner) Set(val *GetStats200ResponseInner)
- func (v *NullableGetStats200ResponseInner) UnmarshalJSON(src []byte) error
- func (v *NullableGetStats200ResponseInner) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMapStatisticItem
- func (v NullableMapStatisticItem) Get() *MapStatisticItem
- func (v NullableMapStatisticItem) IsSet() bool
- func (v NullableMapStatisticItem) MarshalJSON() ([]byte, error)
- func (v *NullableMapStatisticItem) Set(val *MapStatisticItem)
- func (v *NullableMapStatisticItem) UnmarshalJSON(src []byte) error
- func (v *NullableMapStatisticItem) Unset()
- type NullableMetadata
- type NullableRRSet
- type NullableRecord
- type NullableRingStatisticItem
- func (v NullableRingStatisticItem) Get() *RingStatisticItem
- func (v NullableRingStatisticItem) IsSet() bool
- func (v NullableRingStatisticItem) MarshalJSON() ([]byte, error)
- func (v *NullableRingStatisticItem) Set(val *RingStatisticItem)
- func (v *NullableRingStatisticItem) UnmarshalJSON(src []byte) error
- func (v *NullableRingStatisticItem) Unset()
- type NullableSearchResult
- func (v NullableSearchResult) Get() *SearchResult
- func (v NullableSearchResult) IsSet() bool
- func (v NullableSearchResult) MarshalJSON() ([]byte, error)
- func (v *NullableSearchResult) Set(val *SearchResult)
- func (v *NullableSearchResult) UnmarshalJSON(src []byte) error
- func (v *NullableSearchResult) Unset()
- type NullableSearchResultComment
- func (v NullableSearchResultComment) Get() *SearchResultComment
- func (v NullableSearchResultComment) IsSet() bool
- func (v NullableSearchResultComment) MarshalJSON() ([]byte, error)
- func (v *NullableSearchResultComment) Set(val *SearchResultComment)
- func (v *NullableSearchResultComment) UnmarshalJSON(src []byte) error
- func (v *NullableSearchResultComment) Unset()
- type NullableSearchResultRecord
- func (v NullableSearchResultRecord) Get() *SearchResultRecord
- func (v NullableSearchResultRecord) IsSet() bool
- func (v NullableSearchResultRecord) MarshalJSON() ([]byte, error)
- func (v *NullableSearchResultRecord) Set(val *SearchResultRecord)
- func (v *NullableSearchResultRecord) UnmarshalJSON(src []byte) error
- func (v *NullableSearchResultRecord) Unset()
- type NullableSearchResultZone
- func (v NullableSearchResultZone) Get() *SearchResultZone
- func (v NullableSearchResultZone) IsSet() bool
- func (v NullableSearchResultZone) MarshalJSON() ([]byte, error)
- func (v *NullableSearchResultZone) Set(val *SearchResultZone)
- func (v *NullableSearchResultZone) UnmarshalJSON(src []byte) error
- func (v *NullableSearchResultZone) Unset()
- type NullableServer
- type NullableSimpleStatisticItem
- func (v NullableSimpleStatisticItem) Get() *SimpleStatisticItem
- func (v NullableSimpleStatisticItem) IsSet() bool
- func (v NullableSimpleStatisticItem) MarshalJSON() ([]byte, error)
- func (v *NullableSimpleStatisticItem) Set(val *SimpleStatisticItem)
- func (v *NullableSimpleStatisticItem) UnmarshalJSON(src []byte) error
- func (v *NullableSimpleStatisticItem) Unset()
- type NullableStatisticItem
- func (v NullableStatisticItem) Get() *StatisticItem
- func (v NullableStatisticItem) IsSet() bool
- func (v NullableStatisticItem) MarshalJSON() ([]byte, error)
- func (v *NullableStatisticItem) Set(val *StatisticItem)
- func (v *NullableStatisticItem) UnmarshalJSON(src []byte) error
- func (v *NullableStatisticItem) Unset()
- type NullableString
- type NullableTSIGKey
- type NullableTime
- type NullableZone
- type RRSet
- func (o *RRSet) GetChangetype() string
- func (o *RRSet) GetChangetypeOk() (*string, bool)
- func (o *RRSet) GetComments() []Comment
- func (o *RRSet) GetCommentsOk() ([]Comment, bool)
- func (o *RRSet) GetName() string
- func (o *RRSet) GetNameOk() (*string, bool)
- func (o *RRSet) GetRecords() []Record
- func (o *RRSet) GetRecordsOk() ([]Record, bool)
- func (o *RRSet) GetTtl() int32
- func (o *RRSet) GetTtlOk() (*int32, bool)
- func (o *RRSet) GetType() string
- func (o *RRSet) GetTypeOk() (*string, bool)
- func (o *RRSet) HasComments() bool
- func (o RRSet) MarshalJSON() ([]byte, error)
- func (o *RRSet) SetChangetype(v string)
- func (o *RRSet) SetComments(v []Comment)
- func (o *RRSet) SetName(v string)
- func (o *RRSet) SetRecords(v []Record)
- func (o *RRSet) SetTtl(v int32)
- func (o *RRSet) SetType(v string)
- func (o RRSet) ToMap() (map[string]interface{}, error)
- func (o *RRSet) UnmarshalJSON(data []byte) (err error)
- type Record
- func (o *Record) GetContent() string
- func (o *Record) GetContentOk() (*string, bool)
- func (o *Record) GetDisabled() bool
- func (o *Record) GetDisabledOk() (*bool, bool)
- func (o *Record) HasDisabled() bool
- func (o Record) MarshalJSON() ([]byte, error)
- func (o *Record) SetContent(v string)
- func (o *Record) SetDisabled(v bool)
- func (o Record) ToMap() (map[string]interface{}, error)
- func (o *Record) UnmarshalJSON(data []byte) (err error)
- type RingStatisticItem
- func (o *RingStatisticItem) GetName() string
- func (o *RingStatisticItem) GetNameOk() (*string, bool)
- func (o *RingStatisticItem) GetSize() int32
- func (o *RingStatisticItem) GetSizeOk() (*int32, bool)
- func (o *RingStatisticItem) GetType() string
- func (o *RingStatisticItem) GetTypeOk() (*string, bool)
- func (o *RingStatisticItem) GetValue() []SimpleStatisticItem
- func (o *RingStatisticItem) GetValueOk() ([]SimpleStatisticItem, bool)
- func (o *RingStatisticItem) HasName() bool
- func (o *RingStatisticItem) HasSize() bool
- func (o *RingStatisticItem) HasType() bool
- func (o *RingStatisticItem) HasValue() bool
- func (o RingStatisticItem) MarshalJSON() ([]byte, error)
- func (o *RingStatisticItem) SetName(v string)
- func (o *RingStatisticItem) SetSize(v int32)
- func (o *RingStatisticItem) SetType(v string)
- func (o *RingStatisticItem) SetValue(v []SimpleStatisticItem)
- func (o RingStatisticItem) ToMap() (map[string]interface{}, error)
- type SearchAPIService
- type SearchResult
- func (o *SearchResult) GetContent() string
- func (o *SearchResult) GetContentOk() (*string, bool)
- func (o *SearchResult) GetDisabled() bool
- func (o *SearchResult) GetDisabledOk() (*bool, bool)
- func (o *SearchResult) GetName() string
- func (o *SearchResult) GetNameOk() (*string, bool)
- func (o *SearchResult) GetObjectType() string
- func (o *SearchResult) GetObjectTypeOk() (*string, bool)
- func (o *SearchResult) GetTtl() int32
- func (o *SearchResult) GetTtlOk() (*int32, bool)
- func (o *SearchResult) GetType() string
- func (o *SearchResult) GetTypeOk() (*string, bool)
- func (o *SearchResult) GetZone() string
- func (o *SearchResult) GetZoneId() string
- func (o *SearchResult) GetZoneIdOk() (*string, bool)
- func (o *SearchResult) GetZoneOk() (*string, bool)
- func (o *SearchResult) HasContent() bool
- func (o *SearchResult) HasDisabled() bool
- func (o *SearchResult) HasName() bool
- func (o *SearchResult) HasObjectType() bool
- func (o *SearchResult) HasTtl() bool
- func (o *SearchResult) HasType() bool
- func (o *SearchResult) HasZone() bool
- func (o *SearchResult) HasZoneId() bool
- func (o SearchResult) MarshalJSON() ([]byte, error)
- func (o *SearchResult) SetContent(v string)
- func (o *SearchResult) SetDisabled(v bool)
- func (o *SearchResult) SetName(v string)
- func (o *SearchResult) SetObjectType(v string)
- func (o *SearchResult) SetTtl(v int32)
- func (o *SearchResult) SetType(v string)
- func (o *SearchResult) SetZone(v string)
- func (o *SearchResult) SetZoneId(v string)
- func (o SearchResult) ToMap() (map[string]interface{}, error)
- type SearchResultComment
- func (o *SearchResultComment) GetContent() string
- func (o *SearchResultComment) GetContentOk() (*string, bool)
- func (o *SearchResultComment) GetName() string
- func (o *SearchResultComment) GetNameOk() (*string, bool)
- func (o *SearchResultComment) GetObjectType() string
- func (o *SearchResultComment) GetObjectTypeOk() (*string, bool)
- func (o *SearchResultComment) GetZone() string
- func (o *SearchResultComment) GetZoneId() string
- func (o *SearchResultComment) GetZoneIdOk() (*string, bool)
- func (o *SearchResultComment) GetZoneOk() (*string, bool)
- func (o *SearchResultComment) HasContent() bool
- func (o *SearchResultComment) HasName() bool
- func (o *SearchResultComment) HasObjectType() bool
- func (o *SearchResultComment) HasZone() bool
- func (o *SearchResultComment) HasZoneId() bool
- func (o SearchResultComment) MarshalJSON() ([]byte, error)
- func (o *SearchResultComment) SetContent(v string)
- func (o *SearchResultComment) SetName(v string)
- func (o *SearchResultComment) SetObjectType(v string)
- func (o *SearchResultComment) SetZone(v string)
- func (o *SearchResultComment) SetZoneId(v string)
- func (o SearchResultComment) ToMap() (map[string]interface{}, error)
- type SearchResultRecord
- func (o *SearchResultRecord) GetContent() string
- func (o *SearchResultRecord) GetContentOk() (*string, bool)
- func (o *SearchResultRecord) GetDisabled() bool
- func (o *SearchResultRecord) GetDisabledOk() (*bool, bool)
- func (o *SearchResultRecord) GetName() string
- func (o *SearchResultRecord) GetNameOk() (*string, bool)
- func (o *SearchResultRecord) GetObjectType() string
- func (o *SearchResultRecord) GetObjectTypeOk() (*string, bool)
- func (o *SearchResultRecord) GetTtl() int32
- func (o *SearchResultRecord) GetTtlOk() (*int32, bool)
- func (o *SearchResultRecord) GetType() string
- func (o *SearchResultRecord) GetTypeOk() (*string, bool)
- func (o *SearchResultRecord) GetZone() string
- func (o *SearchResultRecord) GetZoneId() string
- func (o *SearchResultRecord) GetZoneIdOk() (*string, bool)
- func (o *SearchResultRecord) GetZoneOk() (*string, bool)
- func (o *SearchResultRecord) HasContent() bool
- func (o *SearchResultRecord) HasDisabled() bool
- func (o *SearchResultRecord) HasName() bool
- func (o *SearchResultRecord) HasObjectType() bool
- func (o *SearchResultRecord) HasTtl() bool
- func (o *SearchResultRecord) HasType() bool
- func (o *SearchResultRecord) HasZone() bool
- func (o *SearchResultRecord) HasZoneId() bool
- func (o SearchResultRecord) MarshalJSON() ([]byte, error)
- func (o *SearchResultRecord) SetContent(v string)
- func (o *SearchResultRecord) SetDisabled(v bool)
- func (o *SearchResultRecord) SetName(v string)
- func (o *SearchResultRecord) SetObjectType(v string)
- func (o *SearchResultRecord) SetTtl(v int32)
- func (o *SearchResultRecord) SetType(v string)
- func (o *SearchResultRecord) SetZone(v string)
- func (o *SearchResultRecord) SetZoneId(v string)
- func (o SearchResultRecord) ToMap() (map[string]interface{}, error)
- type SearchResultZone
- func (o *SearchResultZone) GetName() string
- func (o *SearchResultZone) GetNameOk() (*string, bool)
- func (o *SearchResultZone) GetObjectType() string
- func (o *SearchResultZone) GetObjectTypeOk() (*string, bool)
- func (o *SearchResultZone) GetZoneId() string
- func (o *SearchResultZone) GetZoneIdOk() (*string, bool)
- func (o *SearchResultZone) HasName() bool
- func (o *SearchResultZone) HasObjectType() bool
- func (o *SearchResultZone) HasZoneId() bool
- func (o SearchResultZone) MarshalJSON() ([]byte, error)
- func (o *SearchResultZone) SetName(v string)
- func (o *SearchResultZone) SetObjectType(v string)
- func (o *SearchResultZone) SetZoneId(v string)
- func (o SearchResultZone) ToMap() (map[string]interface{}, error)
- type Server
- func (o *Server) GetConfigUrl() string
- func (o *Server) GetConfigUrlOk() (*string, bool)
- func (o *Server) GetDaemonType() string
- func (o *Server) GetDaemonTypeOk() (*string, bool)
- func (o *Server) GetId() string
- func (o *Server) GetIdOk() (*string, bool)
- func (o *Server) GetType() string
- func (o *Server) GetTypeOk() (*string, bool)
- func (o *Server) GetUrl() string
- func (o *Server) GetUrlOk() (*string, bool)
- func (o *Server) GetVersion() string
- func (o *Server) GetVersionOk() (*string, bool)
- func (o *Server) GetZonesUrl() string
- func (o *Server) GetZonesUrlOk() (*string, bool)
- func (o *Server) HasConfigUrl() bool
- func (o *Server) HasDaemonType() bool
- func (o *Server) HasId() bool
- func (o *Server) HasType() bool
- func (o *Server) HasUrl() bool
- func (o *Server) HasVersion() bool
- func (o *Server) HasZonesUrl() bool
- func (o Server) MarshalJSON() ([]byte, error)
- func (o *Server) SetConfigUrl(v string)
- func (o *Server) SetDaemonType(v string)
- func (o *Server) SetId(v string)
- func (o *Server) SetType(v string)
- func (o *Server) SetUrl(v string)
- func (o *Server) SetVersion(v string)
- func (o *Server) SetZonesUrl(v string)
- func (o Server) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServersAPIService
- func (a *ServersAPIService) CacheFlushByName(ctx context.Context, serverId string) ApiCacheFlushByNameRequest
- func (a *ServersAPIService) CacheFlushByNameExecute(r ApiCacheFlushByNameRequest) (*CacheFlushResult, *http.Response, error)
- func (a *ServersAPIService) ListServer(ctx context.Context, serverId string) ApiListServerRequest
- func (a *ServersAPIService) ListServerExecute(r ApiListServerRequest) (*Server, *http.Response, error)
- func (a *ServersAPIService) ListServers(ctx context.Context) ApiListServersRequest
- func (a *ServersAPIService) ListServersExecute(r ApiListServersRequest) ([]Server, *http.Response, error)
- type SimpleStatisticItem
- func (o *SimpleStatisticItem) GetName() string
- func (o *SimpleStatisticItem) GetNameOk() (*string, bool)
- func (o *SimpleStatisticItem) GetValue() string
- func (o *SimpleStatisticItem) GetValueOk() (*string, bool)
- func (o *SimpleStatisticItem) HasName() bool
- func (o *SimpleStatisticItem) HasValue() bool
- func (o SimpleStatisticItem) MarshalJSON() ([]byte, error)
- func (o *SimpleStatisticItem) SetName(v string)
- func (o *SimpleStatisticItem) SetValue(v string)
- func (o SimpleStatisticItem) ToMap() (map[string]interface{}, error)
- type StatisticItem
- func (o *StatisticItem) GetName() string
- func (o *StatisticItem) GetNameOk() (*string, bool)
- func (o *StatisticItem) GetType() string
- func (o *StatisticItem) GetTypeOk() (*string, bool)
- func (o *StatisticItem) GetValue() string
- func (o *StatisticItem) GetValueOk() (*string, bool)
- func (o *StatisticItem) HasName() bool
- func (o *StatisticItem) HasType() bool
- func (o *StatisticItem) HasValue() bool
- func (o StatisticItem) MarshalJSON() ([]byte, error)
- func (o *StatisticItem) SetName(v string)
- func (o *StatisticItem) SetType(v string)
- func (o *StatisticItem) SetValue(v string)
- func (o StatisticItem) ToMap() (map[string]interface{}, error)
- type StatsAPIService
- type TSIGKey
- func (o *TSIGKey) GetAlgorithm() string
- func (o *TSIGKey) GetAlgorithmOk() (*string, bool)
- func (o *TSIGKey) GetId() string
- func (o *TSIGKey) GetIdOk() (*string, bool)
- func (o *TSIGKey) GetKey() string
- func (o *TSIGKey) GetKeyOk() (*string, bool)
- func (o *TSIGKey) GetName() string
- func (o *TSIGKey) GetNameOk() (*string, bool)
- func (o *TSIGKey) GetType() string
- func (o *TSIGKey) GetTypeOk() (*string, bool)
- func (o *TSIGKey) HasAlgorithm() bool
- func (o *TSIGKey) HasId() bool
- func (o *TSIGKey) HasKey() bool
- func (o *TSIGKey) HasName() bool
- func (o *TSIGKey) HasType() bool
- func (o TSIGKey) MarshalJSON() ([]byte, error)
- func (o *TSIGKey) SetAlgorithm(v string)
- func (o *TSIGKey) SetId(v string)
- func (o *TSIGKey) SetKey(v string)
- func (o *TSIGKey) SetName(v string)
- func (o *TSIGKey) SetType(v string)
- func (o TSIGKey) ToMap() (map[string]interface{}, error)
- type TsigkeyAPIService
- func (a *TsigkeyAPIService) CreateTSIGKey(ctx context.Context, serverId string) ApiCreateTSIGKeyRequest
- func (a *TsigkeyAPIService) CreateTSIGKeyExecute(r ApiCreateTSIGKeyRequest) (*TSIGKey, *http.Response, error)
- func (a *TsigkeyAPIService) DeleteTSIGKey(ctx context.Context, serverId string, tsigkeyId string) ApiDeleteTSIGKeyRequest
- func (a *TsigkeyAPIService) DeleteTSIGKeyExecute(r ApiDeleteTSIGKeyRequest) (*http.Response, error)
- func (a *TsigkeyAPIService) GetTSIGKey(ctx context.Context, serverId string, tsigkeyId string) ApiGetTSIGKeyRequest
- func (a *TsigkeyAPIService) GetTSIGKeyExecute(r ApiGetTSIGKeyRequest) (*TSIGKey, *http.Response, error)
- func (a *TsigkeyAPIService) ListTSIGKeys(ctx context.Context, serverId string) ApiListTSIGKeysRequest
- func (a *TsigkeyAPIService) ListTSIGKeysExecute(r ApiListTSIGKeysRequest) ([]TSIGKey, *http.Response, error)
- func (a *TsigkeyAPIService) PutTSIGKey(ctx context.Context, serverId string, tsigkeyId string) ApiPutTSIGKeyRequest
- func (a *TsigkeyAPIService) PutTSIGKeyExecute(r ApiPutTSIGKeyRequest) (*TSIGKey, *http.Response, error)
- type Zone
- func (o *Zone) GetAccount() string
- func (o *Zone) GetAccountOk() (*string, bool)
- func (o *Zone) GetApiRectify() bool
- func (o *Zone) GetApiRectifyOk() (*bool, bool)
- func (o *Zone) GetCatalog() string
- func (o *Zone) GetCatalogOk() (*string, bool)
- func (o *Zone) GetDnssec() bool
- func (o *Zone) GetDnssecOk() (*bool, bool)
- func (o *Zone) GetEditedSerial() int32
- func (o *Zone) GetEditedSerialOk() (*int32, bool)
- func (o *Zone) GetId() string
- func (o *Zone) GetIdOk() (*string, bool)
- func (o *Zone) GetKind() string
- func (o *Zone) GetKindOk() (*string, bool)
- func (o *Zone) GetMasterTsigKeyIds() []string
- func (o *Zone) GetMasterTsigKeyIdsOk() ([]string, bool)
- func (o *Zone) GetMasters() []string
- func (o *Zone) GetMastersOk() ([]string, 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) GetNotifiedSerial() int32
- func (o *Zone) GetNotifiedSerialOk() (*int32, bool)
- func (o *Zone) GetNsec3narrow() bool
- func (o *Zone) GetNsec3narrowOk() (*bool, bool)
- func (o *Zone) GetNsec3param() string
- func (o *Zone) GetNsec3paramOk() (*string, bool)
- func (o *Zone) GetPresigned() bool
- func (o *Zone) GetPresignedOk() (*bool, bool)
- func (o *Zone) GetRrsets() []RRSet
- func (o *Zone) GetRrsetsOk() ([]RRSet, bool)
- func (o *Zone) GetSerial() int32
- func (o *Zone) GetSerialOk() (*int32, bool)
- func (o *Zone) GetSlaveTsigKeyIds() []string
- func (o *Zone) GetSlaveTsigKeyIdsOk() ([]string, bool)
- func (o *Zone) GetSoaEdit() string
- func (o *Zone) GetSoaEditApi() string
- func (o *Zone) GetSoaEditApiOk() (*string, bool)
- func (o *Zone) GetSoaEditOk() (*string, bool)
- func (o *Zone) GetType() string
- func (o *Zone) GetTypeOk() (*string, bool)
- func (o *Zone) GetUrl() string
- func (o *Zone) GetUrlOk() (*string, bool)
- func (o *Zone) GetZone() string
- func (o *Zone) GetZoneOk() (*string, bool)
- func (o *Zone) HasAccount() bool
- func (o *Zone) HasApiRectify() bool
- func (o *Zone) HasCatalog() bool
- func (o *Zone) HasDnssec() bool
- func (o *Zone) HasEditedSerial() bool
- func (o *Zone) HasId() bool
- func (o *Zone) HasKind() bool
- func (o *Zone) HasMasterTsigKeyIds() bool
- func (o *Zone) HasMasters() bool
- func (o *Zone) HasName() bool
- func (o *Zone) HasNameservers() bool
- func (o *Zone) HasNotifiedSerial() bool
- func (o *Zone) HasNsec3narrow() bool
- func (o *Zone) HasNsec3param() bool
- func (o *Zone) HasPresigned() bool
- func (o *Zone) HasRrsets() bool
- func (o *Zone) HasSerial() bool
- func (o *Zone) HasSlaveTsigKeyIds() bool
- func (o *Zone) HasSoaEdit() bool
- func (o *Zone) HasSoaEditApi() bool
- func (o *Zone) HasType() bool
- func (o *Zone) HasUrl() bool
- func (o *Zone) HasZone() bool
- func (o Zone) MarshalJSON() ([]byte, error)
- func (o *Zone) SetAccount(v string)
- func (o *Zone) SetApiRectify(v bool)
- func (o *Zone) SetCatalog(v string)
- func (o *Zone) SetDnssec(v bool)
- func (o *Zone) SetEditedSerial(v int32)
- func (o *Zone) SetId(v string)
- func (o *Zone) SetKind(v string)
- func (o *Zone) SetMasterTsigKeyIds(v []string)
- func (o *Zone) SetMasters(v []string)
- func (o *Zone) SetName(v string)
- func (o *Zone) SetNameservers(v []string)
- func (o *Zone) SetNotifiedSerial(v int32)
- func (o *Zone) SetNsec3narrow(v bool)
- func (o *Zone) SetNsec3param(v string)
- func (o *Zone) SetPresigned(v bool)
- func (o *Zone) SetRrsets(v []RRSet)
- func (o *Zone) SetSerial(v int32)
- func (o *Zone) SetSlaveTsigKeyIds(v []string)
- func (o *Zone) SetSoaEdit(v string)
- func (o *Zone) SetSoaEditApi(v string)
- func (o *Zone) SetType(v string)
- func (o *Zone) SetUrl(v string)
- func (o *Zone) SetZone(v string)
- func (o Zone) ToMap() (map[string]interface{}, error)
- type ZonecryptokeyAPIService
- func (a *ZonecryptokeyAPIService) CreateCryptokey(ctx context.Context, serverId string, zoneId string) ApiCreateCryptokeyRequest
- func (a *ZonecryptokeyAPIService) CreateCryptokeyExecute(r ApiCreateCryptokeyRequest) (*Cryptokey, *http.Response, error)
- func (a *ZonecryptokeyAPIService) DeleteCryptokey(ctx context.Context, serverId string, zoneId string, cryptokeyId string) ApiDeleteCryptokeyRequest
- func (a *ZonecryptokeyAPIService) DeleteCryptokeyExecute(r ApiDeleteCryptokeyRequest) (*http.Response, error)
- func (a *ZonecryptokeyAPIService) GetCryptokey(ctx context.Context, serverId string, zoneId string, cryptokeyId string) ApiGetCryptokeyRequest
- func (a *ZonecryptokeyAPIService) GetCryptokeyExecute(r ApiGetCryptokeyRequest) (*Cryptokey, *http.Response, error)
- func (a *ZonecryptokeyAPIService) ListCryptokeys(ctx context.Context, serverId string, zoneId string) ApiListCryptokeysRequest
- func (a *ZonecryptokeyAPIService) ListCryptokeysExecute(r ApiListCryptokeysRequest) ([]Cryptokey, *http.Response, error)
- func (a *ZonecryptokeyAPIService) ModifyCryptokey(ctx context.Context, serverId string, zoneId string, cryptokeyId string) ApiModifyCryptokeyRequest
- func (a *ZonecryptokeyAPIService) ModifyCryptokeyExecute(r ApiModifyCryptokeyRequest) (*http.Response, error)
- type ZonemetadataAPIService
- func (a *ZonemetadataAPIService) CreateMetadata(ctx context.Context, serverId string, zoneId string) ApiCreateMetadataRequest
- func (a *ZonemetadataAPIService) CreateMetadataExecute(r ApiCreateMetadataRequest) (*http.Response, error)
- func (a *ZonemetadataAPIService) DeleteMetadata(ctx context.Context, serverId string, zoneId string, metadataKind string) ApiDeleteMetadataRequest
- func (a *ZonemetadataAPIService) DeleteMetadataExecute(r ApiDeleteMetadataRequest) (*http.Response, error)
- func (a *ZonemetadataAPIService) GetMetadata(ctx context.Context, serverId string, zoneId string, metadataKind string) ApiGetMetadataRequest
- func (a *ZonemetadataAPIService) GetMetadataExecute(r ApiGetMetadataRequest) (*Metadata, *http.Response, error)
- func (a *ZonemetadataAPIService) ListMetadata(ctx context.Context, serverId string, zoneId string) ApiListMetadataRequest
- func (a *ZonemetadataAPIService) ListMetadataExecute(r ApiListMetadataRequest) ([]Metadata, *http.Response, error)
- func (a *ZonemetadataAPIService) ModifyMetadata(ctx context.Context, serverId string, zoneId string, metadataKind string) ApiModifyMetadataRequest
- func (a *ZonemetadataAPIService) ModifyMetadataExecute(r ApiModifyMetadataRequest) (*Metadata, *http.Response, error)
- type ZonesAPIService
- func (a *ZonesAPIService) AxfrExportZone(ctx context.Context, serverId string, zoneId string) ApiAxfrExportZoneRequest
- func (a *ZonesAPIService) AxfrExportZoneExecute(r ApiAxfrExportZoneRequest) (string, *http.Response, error)
- func (a *ZonesAPIService) AxfrRetrieveZone(ctx context.Context, serverId string, zoneId string) ApiAxfrRetrieveZoneRequest
- func (a *ZonesAPIService) AxfrRetrieveZoneExecute(r ApiAxfrRetrieveZoneRequest) (*http.Response, error)
- func (a *ZonesAPIService) CreateZone(ctx context.Context, serverId string) ApiCreateZoneRequest
- func (a *ZonesAPIService) CreateZoneExecute(r ApiCreateZoneRequest) (*Zone, *http.Response, error)
- func (a *ZonesAPIService) DeleteZone(ctx context.Context, serverId string, zoneId string) ApiDeleteZoneRequest
- func (a *ZonesAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (*http.Response, error)
- func (a *ZonesAPIService) ListZone(ctx context.Context, serverId string, zoneId string) ApiListZoneRequest
- func (a *ZonesAPIService) ListZoneExecute(r ApiListZoneRequest) (*Zone, *http.Response, error)
- func (a *ZonesAPIService) ListZones(ctx context.Context, serverId string) ApiListZonesRequest
- func (a *ZonesAPIService) ListZonesExecute(r ApiListZonesRequest) ([]Zone, *http.Response, error)
- func (a *ZonesAPIService) NotifyZone(ctx context.Context, serverId string, zoneId string) ApiNotifyZoneRequest
- func (a *ZonesAPIService) NotifyZoneExecute(r ApiNotifyZoneRequest) (*http.Response, error)
- func (a *ZonesAPIService) PatchZone(ctx context.Context, serverId string, zoneId string) ApiPatchZoneRequest
- func (a *ZonesAPIService) PatchZoneExecute(r ApiPatchZoneRequest) (*http.Response, error)
- func (a *ZonesAPIService) PutZone(ctx context.Context, serverId string, zoneId string) ApiPutZoneRequest
- func (a *ZonesAPIService) PutZoneExecute(r ApiPutZoneRequest) (*http.Response, error)
- func (a *ZonesAPIService) RectifyZone(ctx context.Context, serverId string, zoneId string) ApiRectifyZoneRequest
- func (a *ZonesAPIService) RectifyZoneExecute(r ApiRectifyZoneRequest) (string, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 { AutoprimaryAPI *AutoprimaryAPIService ConfigAPI *ConfigAPIService DefaultAPI *DefaultAPIService SearchAPI *SearchAPIService ServersAPI *ServersAPIService StatsAPI *StatsAPIService TsigkeyAPI *TsigkeyAPIService ZonecryptokeyAPI *ZonecryptokeyAPIService ZonemetadataAPI *ZonemetadataAPIService ZonesAPI *ZonesAPIService // contains filtered or unexported fields }
APIClient manages communication with the PowerDNS Authoritative HTTP API API v0.0.15 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 ApiAxfrExportZoneRequest ¶
type ApiAxfrExportZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
type ApiAxfrRetrieveZoneRequest ¶
type ApiAxfrRetrieveZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
type ApiCacheFlushByNameRequest ¶
type ApiCacheFlushByNameRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
func (ApiCacheFlushByNameRequest) Domain ¶
func (r ApiCacheFlushByNameRequest) Domain(domain string) ApiCacheFlushByNameRequest
The domain name to flush from the cache
func (ApiCacheFlushByNameRequest) Execute ¶
func (r ApiCacheFlushByNameRequest) Execute() (*CacheFlushResult, *http.Response, error)
type ApiCallErrorRequest ¶
type ApiCallErrorRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiCreateAutoprimaryRequest ¶
type ApiCreateAutoprimaryRequest struct { ApiService *AutoprimaryAPIService // contains filtered or unexported fields }
func (ApiCreateAutoprimaryRequest) Autoprimary ¶
func (r ApiCreateAutoprimaryRequest) Autoprimary(autoprimary Autoprimary) ApiCreateAutoprimaryRequest
autoprimary entry to add
type ApiCreateCryptokeyRequest ¶
type ApiCreateCryptokeyRequest struct { ApiService *ZonecryptokeyAPIService // contains filtered or unexported fields }
func (ApiCreateCryptokeyRequest) Cryptokey ¶
func (r ApiCreateCryptokeyRequest) Cryptokey(cryptokey Cryptokey) ApiCreateCryptokeyRequest
Add a Cryptokey
type ApiCreateMetadataRequest ¶
type ApiCreateMetadataRequest struct { ApiService *ZonemetadataAPIService // contains filtered or unexported fields }
func (ApiCreateMetadataRequest) Execute ¶
func (r ApiCreateMetadataRequest) Execute() (*http.Response, error)
func (ApiCreateMetadataRequest) Metadata ¶
func (r ApiCreateMetadataRequest) Metadata(metadata Metadata) ApiCreateMetadataRequest
Metadata object with list of values to create
type ApiCreateTSIGKeyRequest ¶
type ApiCreateTSIGKeyRequest struct { ApiService *TsigkeyAPIService // contains filtered or unexported fields }
func (ApiCreateTSIGKeyRequest) Execute ¶
func (r ApiCreateTSIGKeyRequest) Execute() (*TSIGKey, *http.Response, error)
func (ApiCreateTSIGKeyRequest) Tsigkey ¶
func (r ApiCreateTSIGKeyRequest) Tsigkey(tsigkey TSIGKey) ApiCreateTSIGKeyRequest
The TSIGKey to add
type ApiCreateZoneRequest ¶
type ApiCreateZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
func (ApiCreateZoneRequest) Execute ¶
func (r ApiCreateZoneRequest) Execute() (*Zone, *http.Response, error)
func (ApiCreateZoneRequest) Rrsets ¶
func (r ApiCreateZoneRequest) Rrsets(rrsets bool) ApiCreateZoneRequest
“true” (default) or “false”, whether to include the “rrsets” in the response Zone object.
func (ApiCreateZoneRequest) ZoneStruct ¶
func (r ApiCreateZoneRequest) ZoneStruct(zoneStruct Zone) ApiCreateZoneRequest
The zone struct to patch with
type ApiDeleteAutoprimaryRequest ¶
type ApiDeleteAutoprimaryRequest struct { ApiService *AutoprimaryAPIService // contains filtered or unexported fields }
type ApiDeleteCryptokeyRequest ¶
type ApiDeleteCryptokeyRequest struct { ApiService *ZonecryptokeyAPIService // contains filtered or unexported fields }
type ApiDeleteMetadataRequest ¶
type ApiDeleteMetadataRequest struct { ApiService *ZonemetadataAPIService // contains filtered or unexported fields }
type ApiDeleteTSIGKeyRequest ¶
type ApiDeleteTSIGKeyRequest struct { ApiService *TsigkeyAPIService // contains filtered or unexported fields }
type ApiDeleteZoneRequest ¶
type ApiDeleteZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
type ApiGetAutoprimariesRequest ¶
type ApiGetAutoprimariesRequest struct { ApiService *AutoprimaryAPIService // contains filtered or unexported fields }
func (ApiGetAutoprimariesRequest) Execute ¶
func (r ApiGetAutoprimariesRequest) Execute() (*Autoprimary, *http.Response, error)
type ApiGetConfigRequest ¶
type ApiGetConfigRequest struct { ApiService *ConfigAPIService // contains filtered or unexported fields }
func (ApiGetConfigRequest) Execute ¶
func (r ApiGetConfigRequest) Execute() ([]ConfigSetting, *http.Response, error)
type ApiGetConfigSettingRequest ¶
type ApiGetConfigSettingRequest struct { ApiService *ConfigAPIService // contains filtered or unexported fields }
func (ApiGetConfigSettingRequest) Execute ¶
func (r ApiGetConfigSettingRequest) Execute() (*ConfigSetting, *http.Response, error)
type ApiGetCryptokeyRequest ¶
type ApiGetCryptokeyRequest struct { ApiService *ZonecryptokeyAPIService // contains filtered or unexported fields }
type ApiGetMetadataRequest ¶
type ApiGetMetadataRequest struct { ApiService *ZonemetadataAPIService // contains filtered or unexported fields }
type ApiGetStatsRequest ¶
type ApiGetStatsRequest struct { ApiService *StatsAPIService // contains filtered or unexported fields }
func (ApiGetStatsRequest) Execute ¶
func (r ApiGetStatsRequest) Execute() ([]GetStats200ResponseInner, *http.Response, error)
func (ApiGetStatsRequest) Includerings ¶
func (r ApiGetStatsRequest) Includerings(includerings bool) ApiGetStatsRequest
“true” (default) or “false”, whether to include the Ring items, which can contain thousands of log messages or queried domains. Setting this to ”false” may make the response a lot smaller.
func (ApiGetStatsRequest) Statistic ¶
func (r ApiGetStatsRequest) Statistic(statistic string) ApiGetStatsRequest
When set to the name of a specific statistic, only this value is returned. If no statistic with that name exists, the response has a 422 status and an error message.
type ApiGetTSIGKeyRequest ¶
type ApiGetTSIGKeyRequest struct { ApiService *TsigkeyAPIService // contains filtered or unexported fields }
type ApiListCryptokeysRequest ¶
type ApiListCryptokeysRequest struct { ApiService *ZonecryptokeyAPIService // contains filtered or unexported fields }
type ApiListMetadataRequest ¶
type ApiListMetadataRequest struct { ApiService *ZonemetadataAPIService // contains filtered or unexported fields }
type ApiListServerRequest ¶
type ApiListServerRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
type ApiListServersRequest ¶
type ApiListServersRequest struct { ApiService *ServersAPIService // contains filtered or unexported fields }
type ApiListTSIGKeysRequest ¶
type ApiListTSIGKeysRequest struct { ApiService *TsigkeyAPIService // contains filtered or unexported fields }
type ApiListZoneRequest ¶
type ApiListZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
func (ApiListZoneRequest) Execute ¶
func (r ApiListZoneRequest) Execute() (*Zone, *http.Response, error)
func (ApiListZoneRequest) RrsetName ¶
func (r ApiListZoneRequest) RrsetName(rrsetName string) ApiListZoneRequest
Limit output to RRsets for this name.
func (ApiListZoneRequest) RrsetType ¶
func (r ApiListZoneRequest) RrsetType(rrsetType string) ApiListZoneRequest
Limit output to the RRset of this type. Can only be used together with rrset_name.
func (ApiListZoneRequest) Rrsets ¶
func (r ApiListZoneRequest) Rrsets(rrsets bool) ApiListZoneRequest
“true” (default) or “false”, whether to include the “rrsets” in the response Zone object.
type ApiListZonesRequest ¶
type ApiListZonesRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
func (ApiListZonesRequest) Dnssec ¶
func (r ApiListZonesRequest) Dnssec(dnssec bool) ApiListZonesRequest
“true” (default) or “false”, whether to include the “dnssec” and ”edited_serial” fields in the Zone objects. Setting this to ”false” will make the query a lot faster.
func (ApiListZonesRequest) Execute ¶
func (r ApiListZonesRequest) Execute() ([]Zone, *http.Response, error)
func (ApiListZonesRequest) Zone ¶
func (r ApiListZonesRequest) Zone(zone string) ApiListZonesRequest
When set to the name of a zone, only this zone is returned. If no zone with that name exists, the response is an empty array. This can e.g. be used to check if a zone exists in the database without having to guess/encode the zone's id or to check if a zone exists.
type ApiModifyCryptokeyRequest ¶
type ApiModifyCryptokeyRequest struct { ApiService *ZonecryptokeyAPIService // contains filtered or unexported fields }
func (ApiModifyCryptokeyRequest) Cryptokey ¶
func (r ApiModifyCryptokeyRequest) Cryptokey(cryptokey Cryptokey) ApiModifyCryptokeyRequest
the Cryptokey
type ApiModifyMetadataRequest ¶
type ApiModifyMetadataRequest struct { ApiService *ZonemetadataAPIService // contains filtered or unexported fields }
func (ApiModifyMetadataRequest) Execute ¶
func (r ApiModifyMetadataRequest) Execute() (*Metadata, *http.Response, error)
func (ApiModifyMetadataRequest) Metadata ¶
func (r ApiModifyMetadataRequest) Metadata(metadata Metadata) ApiModifyMetadataRequest
metadata to add/create
type ApiNotifyZoneRequest ¶
type ApiNotifyZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
type ApiPatchZoneRequest ¶
type ApiPatchZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
func (ApiPatchZoneRequest) ZoneStruct ¶
func (r ApiPatchZoneRequest) ZoneStruct(zoneStruct Zone) ApiPatchZoneRequest
The zone struct to patch with
type ApiPutTSIGKeyRequest ¶
type ApiPutTSIGKeyRequest struct { ApiService *TsigkeyAPIService // contains filtered or unexported fields }
func (ApiPutTSIGKeyRequest) Execute ¶
func (r ApiPutTSIGKeyRequest) Execute() (*TSIGKey, *http.Response, error)
func (ApiPutTSIGKeyRequest) Tsigkey ¶
func (r ApiPutTSIGKeyRequest) Tsigkey(tsigkey TSIGKey) ApiPutTSIGKeyRequest
A (possibly stripped down) TSIGKey object with the new values
type ApiPutZoneRequest ¶
type ApiPutZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
func (ApiPutZoneRequest) ZoneStruct ¶
func (r ApiPutZoneRequest) ZoneStruct(zoneStruct Zone) ApiPutZoneRequest
The zone struct to patch with
type ApiRectifyZoneRequest ¶
type ApiRectifyZoneRequest struct { ApiService *ZonesAPIService // contains filtered or unexported fields }
type ApiSearchDataRequest ¶
type ApiSearchDataRequest struct { ApiService *SearchAPIService // contains filtered or unexported fields }
func (ApiSearchDataRequest) Execute ¶
func (r ApiSearchDataRequest) Execute() ([]SearchResult, *http.Response, error)
func (ApiSearchDataRequest) Max ¶
func (r ApiSearchDataRequest) Max(max int32) ApiSearchDataRequest
Maximum number of entries to return
func (ApiSearchDataRequest) ObjectType ¶
func (r ApiSearchDataRequest) ObjectType(objectType string) ApiSearchDataRequest
Type of data to search for, one of “all”, “zone”, “record”, “comment”
func (ApiSearchDataRequest) Q ¶
func (r ApiSearchDataRequest) Q(q string) ApiSearchDataRequest
The string to search for
type Autoprimary ¶
type Autoprimary struct { // IP address of the autoprimary server Ip *string `json:"ip,omitempty"` // DNS name of the autoprimary server Nameserver *string `json:"nameserver,omitempty"` // Account name for the autoprimary server Account *string `json:"account,omitempty"` }
Autoprimary An autoprimary server that can provision new domains.
func NewAutoprimary ¶
func NewAutoprimary() *Autoprimary
NewAutoprimary instantiates a new Autoprimary 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 NewAutoprimaryWithDefaults ¶
func NewAutoprimaryWithDefaults() *Autoprimary
NewAutoprimaryWithDefaults instantiates a new Autoprimary 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 (*Autoprimary) GetAccount ¶
func (o *Autoprimary) GetAccount() string
GetAccount returns the Account field value if set, zero value otherwise.
func (*Autoprimary) GetAccountOk ¶
func (o *Autoprimary) GetAccountOk() (*string, bool)
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Autoprimary) GetIp ¶
func (o *Autoprimary) GetIp() string
GetIp returns the Ip field value if set, zero value otherwise.
func (*Autoprimary) GetIpOk ¶
func (o *Autoprimary) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Autoprimary) GetNameserver ¶
func (o *Autoprimary) GetNameserver() string
GetNameserver returns the Nameserver field value if set, zero value otherwise.
func (*Autoprimary) GetNameserverOk ¶
func (o *Autoprimary) GetNameserverOk() (*string, bool)
GetNameserverOk returns a tuple with the Nameserver field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Autoprimary) HasAccount ¶
func (o *Autoprimary) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*Autoprimary) HasIp ¶
func (o *Autoprimary) HasIp() bool
HasIp returns a boolean if a field has been set.
func (*Autoprimary) HasNameserver ¶
func (o *Autoprimary) HasNameserver() bool
HasNameserver returns a boolean if a field has been set.
func (Autoprimary) MarshalJSON ¶
func (o Autoprimary) MarshalJSON() ([]byte, error)
func (*Autoprimary) SetAccount ¶
func (o *Autoprimary) SetAccount(v string)
SetAccount gets a reference to the given string and assigns it to the Account field.
func (*Autoprimary) SetIp ¶
func (o *Autoprimary) SetIp(v string)
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*Autoprimary) SetNameserver ¶
func (o *Autoprimary) SetNameserver(v string)
SetNameserver gets a reference to the given string and assigns it to the Nameserver field.
func (Autoprimary) ToMap ¶
func (o Autoprimary) ToMap() (map[string]interface{}, error)
type AutoprimaryAPIService ¶
type AutoprimaryAPIService service
AutoprimaryAPIService AutoprimaryAPI service
func (*AutoprimaryAPIService) CreateAutoprimary ¶
func (a *AutoprimaryAPIService) CreateAutoprimary(ctx context.Context, serverId string) ApiCreateAutoprimaryRequest
CreateAutoprimary Add an autoprimary
This methods add a new autoprimary server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to manage the list of autoprimaries on @return ApiCreateAutoprimaryRequest
func (*AutoprimaryAPIService) CreateAutoprimaryExecute ¶
func (a *AutoprimaryAPIService) CreateAutoprimaryExecute(r ApiCreateAutoprimaryRequest) (*http.Response, error)
Execute executes the request
func (*AutoprimaryAPIService) DeleteAutoprimary ¶
func (a *AutoprimaryAPIService) DeleteAutoprimary(ctx context.Context, serverId string, ip string, nameserver string) ApiDeleteAutoprimaryRequest
DeleteAutoprimary Delete the autoprimary entry
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to delete the autoprimary from @param ip IP address of autoprimary @param nameserver DNS name of the autoprimary @return ApiDeleteAutoprimaryRequest
func (*AutoprimaryAPIService) DeleteAutoprimaryExecute ¶
func (a *AutoprimaryAPIService) DeleteAutoprimaryExecute(r ApiDeleteAutoprimaryRequest) (*http.Response, error)
Execute executes the request
func (*AutoprimaryAPIService) GetAutoprimaries ¶
func (a *AutoprimaryAPIService) GetAutoprimaries(ctx context.Context, serverId string) ApiGetAutoprimariesRequest
GetAutoprimaries Get a list of autoprimaries
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to manage the list of autoprimaries on @return ApiGetAutoprimariesRequest
func (*AutoprimaryAPIService) GetAutoprimariesExecute ¶
func (a *AutoprimaryAPIService) GetAutoprimariesExecute(r ApiGetAutoprimariesRequest) (*Autoprimary, *http.Response, error)
Execute executes the request
@return Autoprimary
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 CacheFlushResult ¶
type CacheFlushResult struct { // Amount of entries flushed Count *float32 `json:"count,omitempty"` // A message about the result like \"Flushed cache\" Result *string `json:"result,omitempty"` }
CacheFlushResult The result of a cache-flush
func NewCacheFlushResult ¶
func NewCacheFlushResult() *CacheFlushResult
NewCacheFlushResult instantiates a new CacheFlushResult 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 NewCacheFlushResultWithDefaults ¶
func NewCacheFlushResultWithDefaults() *CacheFlushResult
NewCacheFlushResultWithDefaults instantiates a new CacheFlushResult 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 (*CacheFlushResult) GetCount ¶
func (o *CacheFlushResult) GetCount() float32
GetCount returns the Count field value if set, zero value otherwise.
func (*CacheFlushResult) GetCountOk ¶
func (o *CacheFlushResult) GetCountOk() (*float32, 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 (*CacheFlushResult) GetResult ¶
func (o *CacheFlushResult) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*CacheFlushResult) GetResultOk ¶
func (o *CacheFlushResult) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CacheFlushResult) HasCount ¶
func (o *CacheFlushResult) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*CacheFlushResult) HasResult ¶
func (o *CacheFlushResult) HasResult() bool
HasResult returns a boolean if a field has been set.
func (CacheFlushResult) MarshalJSON ¶
func (o CacheFlushResult) MarshalJSON() ([]byte, error)
func (*CacheFlushResult) SetCount ¶
func (o *CacheFlushResult) SetCount(v float32)
SetCount gets a reference to the given float32 and assigns it to the Count field.
func (*CacheFlushResult) SetResult ¶
func (o *CacheFlushResult) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (CacheFlushResult) ToMap ¶
func (o CacheFlushResult) ToMap() (map[string]interface{}, error)
type Comment ¶
type Comment struct { // The actual comment Content *string `json:"content,omitempty"` // Name of an account that added the comment Account *string `json:"account,omitempty"` // Timestamp of the last change to the comment ModifiedAt *int32 `json:"modified_at,omitempty"` }
Comment A comment about an RRSet.
func NewComment ¶
func NewComment() *Comment
NewComment instantiates a new Comment 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 NewCommentWithDefaults ¶
func NewCommentWithDefaults() *Comment
NewCommentWithDefaults instantiates a new Comment 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 (*Comment) GetAccount ¶
GetAccount returns the Account field value if set, zero value otherwise.
func (*Comment) GetAccountOk ¶
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) GetContent ¶
GetContent returns the Content field value if set, zero value otherwise.
func (*Comment) GetContentOk ¶
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) GetModifiedAt ¶
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*Comment) GetModifiedAtOk ¶
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) HasAccount ¶
HasAccount returns a boolean if a field has been set.
func (*Comment) HasContent ¶
HasContent returns a boolean if a field has been set.
func (*Comment) HasModifiedAt ¶
HasModifiedAt returns a boolean if a field has been set.
func (Comment) MarshalJSON ¶
func (*Comment) SetAccount ¶
SetAccount gets a reference to the given string and assigns it to the Account field.
func (*Comment) SetContent ¶
SetContent gets a reference to the given string and assigns it to the Content field.
func (*Comment) SetModifiedAt ¶
SetModifiedAt gets a reference to the given int32 and assigns it to the ModifiedAt field.
type ConfigAPIService ¶
type ConfigAPIService service
ConfigAPIService ConfigAPI service
func (*ConfigAPIService) GetConfig ¶
func (a *ConfigAPIService) GetConfig(ctx context.Context, serverId string) ApiGetConfigRequest
GetConfig Returns all ConfigSettings for a single server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiGetConfigRequest
func (*ConfigAPIService) GetConfigExecute ¶
func (a *ConfigAPIService) GetConfigExecute(r ApiGetConfigRequest) ([]ConfigSetting, *http.Response, error)
Execute executes the request
@return []ConfigSetting
func (*ConfigAPIService) GetConfigSetting ¶
func (a *ConfigAPIService) GetConfigSetting(ctx context.Context, serverId string, configSettingName string) ApiGetConfigSettingRequest
GetConfigSetting Returns a specific ConfigSetting for a single server
NOT IMPLEMENTED
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param configSettingName The name of the setting to retrieve @return ApiGetConfigSettingRequest
func (*ConfigAPIService) GetConfigSettingExecute ¶
func (a *ConfigAPIService) GetConfigSettingExecute(r ApiGetConfigSettingRequest) (*ConfigSetting, *http.Response, error)
Execute executes the request
@return ConfigSetting
type ConfigSetting ¶
type ConfigSetting struct { // set to \"ConfigSetting\" Name *string `json:"name,omitempty"` // The name of this setting (e.g. ‘webserver-port’) Type *string `json:"type,omitempty"` // The value of setting name Value *string `json:"value,omitempty"` }
ConfigSetting struct for ConfigSetting
func NewConfigSetting ¶
func NewConfigSetting() *ConfigSetting
NewConfigSetting instantiates a new ConfigSetting 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 NewConfigSettingWithDefaults ¶
func NewConfigSettingWithDefaults() *ConfigSetting
NewConfigSettingWithDefaults instantiates a new ConfigSetting 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 (*ConfigSetting) GetName ¶
func (o *ConfigSetting) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConfigSetting) GetNameOk ¶
func (o *ConfigSetting) GetNameOk() (*string, bool)
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 (*ConfigSetting) GetType ¶
func (o *ConfigSetting) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ConfigSetting) GetTypeOk ¶
func (o *ConfigSetting) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConfigSetting) GetValue ¶
func (o *ConfigSetting) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ConfigSetting) GetValueOk ¶
func (o *ConfigSetting) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConfigSetting) HasName ¶
func (o *ConfigSetting) HasName() bool
HasName returns a boolean if a field has been set.
func (*ConfigSetting) HasType ¶
func (o *ConfigSetting) HasType() bool
HasType returns a boolean if a field has been set.
func (*ConfigSetting) HasValue ¶
func (o *ConfigSetting) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ConfigSetting) MarshalJSON ¶
func (o ConfigSetting) MarshalJSON() ([]byte, error)
func (*ConfigSetting) SetName ¶
func (o *ConfigSetting) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ConfigSetting) SetType ¶
func (o *ConfigSetting) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ConfigSetting) SetValue ¶
func (o *ConfigSetting) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (ConfigSetting) ToMap ¶
func (o ConfigSetting) ToMap() (map[string]interface{}, error)
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 Cryptokey ¶
type Cryptokey struct { // set to \"Cryptokey\" Type *string `json:"type,omitempty"` // The internal identifier, read only Id *int32 `json:"id,omitempty"` Keytype *string `json:"keytype,omitempty"` // Whether or not the key is in active use Active *bool `json:"active,omitempty"` // Whether or not the DNSKEY record is published in the zone Published *bool `json:"published,omitempty"` // The DNSKEY record for this key Dnskey *string `json:"dnskey,omitempty"` // An array of DS records for this key Ds []string `json:"ds,omitempty"` // An array of DS records for this key, filtered by CDS publication settings Cds []string `json:"cds,omitempty"` // The private key in ISC format Privatekey *string `json:"privatekey,omitempty"` // The name of the algorithm of the key, should be a mnemonic Algorithm *string `json:"algorithm,omitempty"` // The size of the key Bits *int32 `json:"bits,omitempty"` }
Cryptokey Describes a DNSSEC cryptographic key
func NewCryptokey ¶
func NewCryptokey() *Cryptokey
NewCryptokey instantiates a new Cryptokey 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 NewCryptokeyWithDefaults ¶
func NewCryptokeyWithDefaults() *Cryptokey
NewCryptokeyWithDefaults instantiates a new Cryptokey 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 (*Cryptokey) GetActive ¶
GetActive returns the Active field value if set, zero value otherwise.
func (*Cryptokey) GetActiveOk ¶
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetAlgorithm ¶
GetAlgorithm returns the Algorithm field value if set, zero value otherwise.
func (*Cryptokey) GetAlgorithmOk ¶
GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetBitsOk ¶
GetBitsOk returns a tuple with the Bits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetCdsOk ¶
GetCdsOk returns a tuple with the Cds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetDnskey ¶
GetDnskey returns the Dnskey field value if set, zero value otherwise.
func (*Cryptokey) GetDnskeyOk ¶
GetDnskeyOk returns a tuple with the Dnskey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetDsOk ¶
GetDsOk returns a tuple with the Ds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) 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 (*Cryptokey) GetKeytype ¶
GetKeytype returns the Keytype field value if set, zero value otherwise.
func (*Cryptokey) GetKeytypeOk ¶
GetKeytypeOk returns a tuple with the Keytype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetPrivatekey ¶
GetPrivatekey returns the Privatekey field value if set, zero value otherwise.
func (*Cryptokey) GetPrivatekeyOk ¶
GetPrivatekeyOk returns a tuple with the Privatekey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetPublished ¶
GetPublished returns the Published field value if set, zero value otherwise.
func (*Cryptokey) GetPublishedOk ¶
GetPublishedOk returns a tuple with the Published field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cryptokey) HasAlgorithm ¶
HasAlgorithm returns a boolean if a field has been set.
func (*Cryptokey) HasKeytype ¶
HasKeytype returns a boolean if a field has been set.
func (*Cryptokey) HasPrivatekey ¶
HasPrivatekey returns a boolean if a field has been set.
func (*Cryptokey) HasPublished ¶
HasPublished returns a boolean if a field has been set.
func (Cryptokey) MarshalJSON ¶
func (*Cryptokey) SetActive ¶
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*Cryptokey) SetAlgorithm ¶
SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.
func (*Cryptokey) SetBits ¶
SetBits gets a reference to the given int32 and assigns it to the Bits field.
func (*Cryptokey) SetCds ¶
SetCds gets a reference to the given []string and assigns it to the Cds field.
func (*Cryptokey) SetDnskey ¶
SetDnskey gets a reference to the given string and assigns it to the Dnskey field.
func (*Cryptokey) SetDs ¶
SetDs gets a reference to the given []string and assigns it to the Ds field.
func (*Cryptokey) SetKeytype ¶
SetKeytype gets a reference to the given string and assigns it to the Keytype field.
func (*Cryptokey) SetPrivatekey ¶
SetPrivatekey gets a reference to the given string and assigns it to the Privatekey field.
func (*Cryptokey) SetPublished ¶
SetPublished gets a reference to the given bool and assigns it to the Published field.
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CallError ¶
func (a *DefaultAPIService) CallError(ctx context.Context) ApiCallErrorRequest
CallError Will always generate an error
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCallErrorRequest
func (*DefaultAPIService) CallErrorExecute ¶
func (a *DefaultAPIService) CallErrorExecute(r ApiCallErrorRequest) (*http.Response, error)
Execute executes the request
type Error ¶
type Error struct { // A human readable error message Error string `json:"error"` // Optional array of multiple errors encountered during processing Errors []string `json:"errors,omitempty"` }
Error Returned when the server encounters an error, either in client input or internally
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*Error) GetErrorsOk ¶
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) SetErrors ¶
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*Error) UnmarshalJSON ¶
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 GetStats200ResponseInner ¶
type GetStats200ResponseInner struct { MapStatisticItem *MapStatisticItem RingStatisticItem *RingStatisticItem StatisticItem *StatisticItem }
GetStats200ResponseInner - struct for GetStats200ResponseInner
func MapStatisticItemAsGetStats200ResponseInner ¶
func MapStatisticItemAsGetStats200ResponseInner(v *MapStatisticItem) GetStats200ResponseInner
MapStatisticItemAsGetStats200ResponseInner is a convenience function that returns MapStatisticItem wrapped in GetStats200ResponseInner
func RingStatisticItemAsGetStats200ResponseInner ¶
func RingStatisticItemAsGetStats200ResponseInner(v *RingStatisticItem) GetStats200ResponseInner
RingStatisticItemAsGetStats200ResponseInner is a convenience function that returns RingStatisticItem wrapped in GetStats200ResponseInner
func StatisticItemAsGetStats200ResponseInner ¶
func StatisticItemAsGetStats200ResponseInner(v *StatisticItem) GetStats200ResponseInner
StatisticItemAsGetStats200ResponseInner is a convenience function that returns StatisticItem wrapped in GetStats200ResponseInner
func (*GetStats200ResponseInner) GetActualInstance ¶
func (obj *GetStats200ResponseInner) GetActualInstance() interface{}
Get the actual instance
func (GetStats200ResponseInner) MarshalJSON ¶
func (src GetStats200ResponseInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*GetStats200ResponseInner) UnmarshalJSON ¶
func (dst *GetStats200ResponseInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type MapStatisticItem ¶
type MapStatisticItem struct { // Item name Name *string `json:"name,omitempty"` // Set to \"MapStatisticItem\" Type *string `json:"type,omitempty"` // Named values Value []SimpleStatisticItem `json:"value,omitempty"` }
MapStatisticItem struct for MapStatisticItem
func NewMapStatisticItem ¶
func NewMapStatisticItem() *MapStatisticItem
NewMapStatisticItem instantiates a new MapStatisticItem 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 NewMapStatisticItemWithDefaults ¶
func NewMapStatisticItemWithDefaults() *MapStatisticItem
NewMapStatisticItemWithDefaults instantiates a new MapStatisticItem 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 (*MapStatisticItem) GetName ¶
func (o *MapStatisticItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MapStatisticItem) GetNameOk ¶
func (o *MapStatisticItem) GetNameOk() (*string, bool)
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 (*MapStatisticItem) GetType ¶
func (o *MapStatisticItem) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*MapStatisticItem) GetTypeOk ¶
func (o *MapStatisticItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MapStatisticItem) GetValue ¶
func (o *MapStatisticItem) GetValue() []SimpleStatisticItem
GetValue returns the Value field value if set, zero value otherwise.
func (*MapStatisticItem) GetValueOk ¶
func (o *MapStatisticItem) GetValueOk() ([]SimpleStatisticItem, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MapStatisticItem) HasName ¶
func (o *MapStatisticItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*MapStatisticItem) HasType ¶
func (o *MapStatisticItem) HasType() bool
HasType returns a boolean if a field has been set.
func (*MapStatisticItem) HasValue ¶
func (o *MapStatisticItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (MapStatisticItem) MarshalJSON ¶
func (o MapStatisticItem) MarshalJSON() ([]byte, error)
func (*MapStatisticItem) SetName ¶
func (o *MapStatisticItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*MapStatisticItem) SetType ¶
func (o *MapStatisticItem) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*MapStatisticItem) SetValue ¶
func (o *MapStatisticItem) SetValue(v []SimpleStatisticItem)
SetValue gets a reference to the given []SimpleStatisticItem and assigns it to the Value field.
func (MapStatisticItem) ToMap ¶
func (o MapStatisticItem) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Metadata ¶
type Metadata struct { // Name of the metadata Kind *string `json:"kind,omitempty"` // Array with all values for this metadata kind. Metadata []string `json:"metadata,omitempty"` }
Metadata Represents zone metadata
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Metadata) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Metadata) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Metadata) SetMetadata ¶
SetMetadata gets a reference to the given []string and assigns it to the Metadata field.
type NullableAutoprimary ¶
type NullableAutoprimary struct {
// contains filtered or unexported fields
}
func NewNullableAutoprimary ¶
func NewNullableAutoprimary(val *Autoprimary) *NullableAutoprimary
func (NullableAutoprimary) Get ¶
func (v NullableAutoprimary) Get() *Autoprimary
func (NullableAutoprimary) IsSet ¶
func (v NullableAutoprimary) IsSet() bool
func (NullableAutoprimary) MarshalJSON ¶
func (v NullableAutoprimary) MarshalJSON() ([]byte, error)
func (*NullableAutoprimary) Set ¶
func (v *NullableAutoprimary) Set(val *Autoprimary)
func (*NullableAutoprimary) UnmarshalJSON ¶
func (v *NullableAutoprimary) UnmarshalJSON(src []byte) error
func (*NullableAutoprimary) Unset ¶
func (v *NullableAutoprimary) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCacheFlushResult ¶
type NullableCacheFlushResult struct {
// contains filtered or unexported fields
}
func NewNullableCacheFlushResult ¶
func NewNullableCacheFlushResult(val *CacheFlushResult) *NullableCacheFlushResult
func (NullableCacheFlushResult) Get ¶
func (v NullableCacheFlushResult) Get() *CacheFlushResult
func (NullableCacheFlushResult) IsSet ¶
func (v NullableCacheFlushResult) IsSet() bool
func (NullableCacheFlushResult) MarshalJSON ¶
func (v NullableCacheFlushResult) MarshalJSON() ([]byte, error)
func (*NullableCacheFlushResult) Set ¶
func (v *NullableCacheFlushResult) Set(val *CacheFlushResult)
func (*NullableCacheFlushResult) UnmarshalJSON ¶
func (v *NullableCacheFlushResult) UnmarshalJSON(src []byte) error
func (*NullableCacheFlushResult) Unset ¶
func (v *NullableCacheFlushResult) Unset()
type NullableComment ¶
type NullableComment struct {
// contains filtered or unexported fields
}
func NewNullableComment ¶
func NewNullableComment(val *Comment) *NullableComment
func (NullableComment) Get ¶
func (v NullableComment) Get() *Comment
func (NullableComment) IsSet ¶
func (v NullableComment) IsSet() bool
func (NullableComment) MarshalJSON ¶
func (v NullableComment) MarshalJSON() ([]byte, error)
func (*NullableComment) Set ¶
func (v *NullableComment) Set(val *Comment)
func (*NullableComment) UnmarshalJSON ¶
func (v *NullableComment) UnmarshalJSON(src []byte) error
func (*NullableComment) Unset ¶
func (v *NullableComment) Unset()
type NullableConfigSetting ¶
type NullableConfigSetting struct {
// contains filtered or unexported fields
}
func NewNullableConfigSetting ¶
func NewNullableConfigSetting(val *ConfigSetting) *NullableConfigSetting
func (NullableConfigSetting) Get ¶
func (v NullableConfigSetting) Get() *ConfigSetting
func (NullableConfigSetting) IsSet ¶
func (v NullableConfigSetting) IsSet() bool
func (NullableConfigSetting) MarshalJSON ¶
func (v NullableConfigSetting) MarshalJSON() ([]byte, error)
func (*NullableConfigSetting) Set ¶
func (v *NullableConfigSetting) Set(val *ConfigSetting)
func (*NullableConfigSetting) UnmarshalJSON ¶
func (v *NullableConfigSetting) UnmarshalJSON(src []byte) error
func (*NullableConfigSetting) Unset ¶
func (v *NullableConfigSetting) Unset()
type NullableCryptokey ¶
type NullableCryptokey struct {
// contains filtered or unexported fields
}
func NewNullableCryptokey ¶
func NewNullableCryptokey(val *Cryptokey) *NullableCryptokey
func (NullableCryptokey) Get ¶
func (v NullableCryptokey) Get() *Cryptokey
func (NullableCryptokey) IsSet ¶
func (v NullableCryptokey) IsSet() bool
func (NullableCryptokey) MarshalJSON ¶
func (v NullableCryptokey) MarshalJSON() ([]byte, error)
func (*NullableCryptokey) Set ¶
func (v *NullableCryptokey) Set(val *Cryptokey)
func (*NullableCryptokey) UnmarshalJSON ¶
func (v *NullableCryptokey) UnmarshalJSON(src []byte) error
func (*NullableCryptokey) Unset ¶
func (v *NullableCryptokey) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type 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 NullableGetStats200ResponseInner ¶
type NullableGetStats200ResponseInner struct {
// contains filtered or unexported fields
}
func NewNullableGetStats200ResponseInner ¶
func NewNullableGetStats200ResponseInner(val *GetStats200ResponseInner) *NullableGetStats200ResponseInner
func (NullableGetStats200ResponseInner) Get ¶
func (v NullableGetStats200ResponseInner) Get() *GetStats200ResponseInner
func (NullableGetStats200ResponseInner) IsSet ¶
func (v NullableGetStats200ResponseInner) IsSet() bool
func (NullableGetStats200ResponseInner) MarshalJSON ¶
func (v NullableGetStats200ResponseInner) MarshalJSON() ([]byte, error)
func (*NullableGetStats200ResponseInner) Set ¶
func (v *NullableGetStats200ResponseInner) Set(val *GetStats200ResponseInner)
func (*NullableGetStats200ResponseInner) UnmarshalJSON ¶
func (v *NullableGetStats200ResponseInner) UnmarshalJSON(src []byte) error
func (*NullableGetStats200ResponseInner) Unset ¶
func (v *NullableGetStats200ResponseInner) 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 NullableMapStatisticItem ¶
type NullableMapStatisticItem struct {
// contains filtered or unexported fields
}
func NewNullableMapStatisticItem ¶
func NewNullableMapStatisticItem(val *MapStatisticItem) *NullableMapStatisticItem
func (NullableMapStatisticItem) Get ¶
func (v NullableMapStatisticItem) Get() *MapStatisticItem
func (NullableMapStatisticItem) IsSet ¶
func (v NullableMapStatisticItem) IsSet() bool
func (NullableMapStatisticItem) MarshalJSON ¶
func (v NullableMapStatisticItem) MarshalJSON() ([]byte, error)
func (*NullableMapStatisticItem) Set ¶
func (v *NullableMapStatisticItem) Set(val *MapStatisticItem)
func (*NullableMapStatisticItem) UnmarshalJSON ¶
func (v *NullableMapStatisticItem) UnmarshalJSON(src []byte) error
func (*NullableMapStatisticItem) Unset ¶
func (v *NullableMapStatisticItem) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullableRRSet ¶
type NullableRRSet struct {
// contains filtered or unexported fields
}
func NewNullableRRSet ¶
func NewNullableRRSet(val *RRSet) *NullableRRSet
func (NullableRRSet) Get ¶
func (v NullableRRSet) Get() *RRSet
func (NullableRRSet) IsSet ¶
func (v NullableRRSet) IsSet() bool
func (NullableRRSet) MarshalJSON ¶
func (v NullableRRSet) MarshalJSON() ([]byte, error)
func (*NullableRRSet) Set ¶
func (v *NullableRRSet) Set(val *RRSet)
func (*NullableRRSet) UnmarshalJSON ¶
func (v *NullableRRSet) UnmarshalJSON(src []byte) error
func (*NullableRRSet) Unset ¶
func (v *NullableRRSet) Unset()
type NullableRecord ¶
type NullableRecord struct {
// contains filtered or unexported fields
}
func NewNullableRecord ¶
func NewNullableRecord(val *Record) *NullableRecord
func (NullableRecord) Get ¶
func (v NullableRecord) Get() *Record
func (NullableRecord) IsSet ¶
func (v NullableRecord) IsSet() bool
func (NullableRecord) MarshalJSON ¶
func (v NullableRecord) MarshalJSON() ([]byte, error)
func (*NullableRecord) Set ¶
func (v *NullableRecord) Set(val *Record)
func (*NullableRecord) UnmarshalJSON ¶
func (v *NullableRecord) UnmarshalJSON(src []byte) error
func (*NullableRecord) Unset ¶
func (v *NullableRecord) Unset()
type NullableRingStatisticItem ¶
type NullableRingStatisticItem struct {
// contains filtered or unexported fields
}
func NewNullableRingStatisticItem ¶
func NewNullableRingStatisticItem(val *RingStatisticItem) *NullableRingStatisticItem
func (NullableRingStatisticItem) Get ¶
func (v NullableRingStatisticItem) Get() *RingStatisticItem
func (NullableRingStatisticItem) IsSet ¶
func (v NullableRingStatisticItem) IsSet() bool
func (NullableRingStatisticItem) MarshalJSON ¶
func (v NullableRingStatisticItem) MarshalJSON() ([]byte, error)
func (*NullableRingStatisticItem) Set ¶
func (v *NullableRingStatisticItem) Set(val *RingStatisticItem)
func (*NullableRingStatisticItem) UnmarshalJSON ¶
func (v *NullableRingStatisticItem) UnmarshalJSON(src []byte) error
func (*NullableRingStatisticItem) Unset ¶
func (v *NullableRingStatisticItem) Unset()
type NullableSearchResult ¶
type NullableSearchResult struct {
// contains filtered or unexported fields
}
func NewNullableSearchResult ¶
func NewNullableSearchResult(val *SearchResult) *NullableSearchResult
func (NullableSearchResult) Get ¶
func (v NullableSearchResult) Get() *SearchResult
func (NullableSearchResult) IsSet ¶
func (v NullableSearchResult) IsSet() bool
func (NullableSearchResult) MarshalJSON ¶
func (v NullableSearchResult) MarshalJSON() ([]byte, error)
func (*NullableSearchResult) Set ¶
func (v *NullableSearchResult) Set(val *SearchResult)
func (*NullableSearchResult) UnmarshalJSON ¶
func (v *NullableSearchResult) UnmarshalJSON(src []byte) error
func (*NullableSearchResult) Unset ¶
func (v *NullableSearchResult) Unset()
type NullableSearchResultComment ¶
type NullableSearchResultComment struct {
// contains filtered or unexported fields
}
func NewNullableSearchResultComment ¶
func NewNullableSearchResultComment(val *SearchResultComment) *NullableSearchResultComment
func (NullableSearchResultComment) Get ¶
func (v NullableSearchResultComment) Get() *SearchResultComment
func (NullableSearchResultComment) IsSet ¶
func (v NullableSearchResultComment) IsSet() bool
func (NullableSearchResultComment) MarshalJSON ¶
func (v NullableSearchResultComment) MarshalJSON() ([]byte, error)
func (*NullableSearchResultComment) Set ¶
func (v *NullableSearchResultComment) Set(val *SearchResultComment)
func (*NullableSearchResultComment) UnmarshalJSON ¶
func (v *NullableSearchResultComment) UnmarshalJSON(src []byte) error
func (*NullableSearchResultComment) Unset ¶
func (v *NullableSearchResultComment) Unset()
type NullableSearchResultRecord ¶
type NullableSearchResultRecord struct {
// contains filtered or unexported fields
}
func NewNullableSearchResultRecord ¶
func NewNullableSearchResultRecord(val *SearchResultRecord) *NullableSearchResultRecord
func (NullableSearchResultRecord) Get ¶
func (v NullableSearchResultRecord) Get() *SearchResultRecord
func (NullableSearchResultRecord) IsSet ¶
func (v NullableSearchResultRecord) IsSet() bool
func (NullableSearchResultRecord) MarshalJSON ¶
func (v NullableSearchResultRecord) MarshalJSON() ([]byte, error)
func (*NullableSearchResultRecord) Set ¶
func (v *NullableSearchResultRecord) Set(val *SearchResultRecord)
func (*NullableSearchResultRecord) UnmarshalJSON ¶
func (v *NullableSearchResultRecord) UnmarshalJSON(src []byte) error
func (*NullableSearchResultRecord) Unset ¶
func (v *NullableSearchResultRecord) Unset()
type NullableSearchResultZone ¶
type NullableSearchResultZone struct {
// contains filtered or unexported fields
}
func NewNullableSearchResultZone ¶
func NewNullableSearchResultZone(val *SearchResultZone) *NullableSearchResultZone
func (NullableSearchResultZone) Get ¶
func (v NullableSearchResultZone) Get() *SearchResultZone
func (NullableSearchResultZone) IsSet ¶
func (v NullableSearchResultZone) IsSet() bool
func (NullableSearchResultZone) MarshalJSON ¶
func (v NullableSearchResultZone) MarshalJSON() ([]byte, error)
func (*NullableSearchResultZone) Set ¶
func (v *NullableSearchResultZone) Set(val *SearchResultZone)
func (*NullableSearchResultZone) UnmarshalJSON ¶
func (v *NullableSearchResultZone) UnmarshalJSON(src []byte) error
func (*NullableSearchResultZone) Unset ¶
func (v *NullableSearchResultZone) Unset()
type NullableServer ¶
type NullableServer struct {
// contains filtered or unexported fields
}
func NewNullableServer ¶
func NewNullableServer(val *Server) *NullableServer
func (NullableServer) Get ¶
func (v NullableServer) Get() *Server
func (NullableServer) IsSet ¶
func (v NullableServer) IsSet() bool
func (NullableServer) MarshalJSON ¶
func (v NullableServer) MarshalJSON() ([]byte, error)
func (*NullableServer) Set ¶
func (v *NullableServer) Set(val *Server)
func (*NullableServer) UnmarshalJSON ¶
func (v *NullableServer) UnmarshalJSON(src []byte) error
func (*NullableServer) Unset ¶
func (v *NullableServer) Unset()
type NullableSimpleStatisticItem ¶
type NullableSimpleStatisticItem struct {
// contains filtered or unexported fields
}
func NewNullableSimpleStatisticItem ¶
func NewNullableSimpleStatisticItem(val *SimpleStatisticItem) *NullableSimpleStatisticItem
func (NullableSimpleStatisticItem) Get ¶
func (v NullableSimpleStatisticItem) Get() *SimpleStatisticItem
func (NullableSimpleStatisticItem) IsSet ¶
func (v NullableSimpleStatisticItem) IsSet() bool
func (NullableSimpleStatisticItem) MarshalJSON ¶
func (v NullableSimpleStatisticItem) MarshalJSON() ([]byte, error)
func (*NullableSimpleStatisticItem) Set ¶
func (v *NullableSimpleStatisticItem) Set(val *SimpleStatisticItem)
func (*NullableSimpleStatisticItem) UnmarshalJSON ¶
func (v *NullableSimpleStatisticItem) UnmarshalJSON(src []byte) error
func (*NullableSimpleStatisticItem) Unset ¶
func (v *NullableSimpleStatisticItem) Unset()
type NullableStatisticItem ¶
type NullableStatisticItem struct {
// contains filtered or unexported fields
}
func NewNullableStatisticItem ¶
func NewNullableStatisticItem(val *StatisticItem) *NullableStatisticItem
func (NullableStatisticItem) Get ¶
func (v NullableStatisticItem) Get() *StatisticItem
func (NullableStatisticItem) IsSet ¶
func (v NullableStatisticItem) IsSet() bool
func (NullableStatisticItem) MarshalJSON ¶
func (v NullableStatisticItem) MarshalJSON() ([]byte, error)
func (*NullableStatisticItem) Set ¶
func (v *NullableStatisticItem) Set(val *StatisticItem)
func (*NullableStatisticItem) UnmarshalJSON ¶
func (v *NullableStatisticItem) UnmarshalJSON(src []byte) error
func (*NullableStatisticItem) Unset ¶
func (v *NullableStatisticItem) 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 NullableTSIGKey ¶
type NullableTSIGKey struct {
// contains filtered or unexported fields
}
func NewNullableTSIGKey ¶
func NewNullableTSIGKey(val *TSIGKey) *NullableTSIGKey
func (NullableTSIGKey) Get ¶
func (v NullableTSIGKey) Get() *TSIGKey
func (NullableTSIGKey) IsSet ¶
func (v NullableTSIGKey) IsSet() bool
func (NullableTSIGKey) MarshalJSON ¶
func (v NullableTSIGKey) MarshalJSON() ([]byte, error)
func (*NullableTSIGKey) Set ¶
func (v *NullableTSIGKey) Set(val *TSIGKey)
func (*NullableTSIGKey) UnmarshalJSON ¶
func (v *NullableTSIGKey) UnmarshalJSON(src []byte) error
func (*NullableTSIGKey) Unset ¶
func (v *NullableTSIGKey) 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 RRSet ¶
type RRSet struct { // Name for record set (e.g. “www.powerdns.com.”) Name string `json:"name"` // Type of this record (e.g. “A”, “PTR”, “MX”) Type string `json:"type"` // DNS TTL of the records, in seconds. MUST NOT be included when changetype is set to “DELETE”. Ttl int32 `json:"ttl"` // MUST be added when updating the RRSet. Must be REPLACE or DELETE. With DELETE, all existing RRs matching name and type will be deleted, including all comments. With REPLACE: when records is present, all existing RRs matching name and type will be deleted, and then new records given in records will be created. If no records are left, any existing comments will be deleted as well. When comments is present, all existing comments for the RRs matching name and type will be deleted, and then new comments given in comments will be created. Changetype string `json:"changetype"` // All records in this RRSet. When updating Records, this is the list of new records (replacing the old ones). Must be empty when changetype is set to DELETE. An empty list results in deletion of all records (and comments). Records []Record `json:"records"` // List of Comment. Must be empty when changetype is set to DELETE. An empty list results in deletion of all comments. modified_at is optional and defaults to the current server time. Comments []Comment `json:"comments,omitempty"` }
RRSet This represents a Resource Record Set (all records with the same name and type).
func NewRRSet ¶
NewRRSet instantiates a new RRSet 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 NewRRSetWithDefaults ¶
func NewRRSetWithDefaults() *RRSet
NewRRSetWithDefaults instantiates a new RRSet 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 (*RRSet) GetChangetype ¶
GetChangetype returns the Changetype field value
func (*RRSet) GetChangetypeOk ¶
GetChangetypeOk returns a tuple with the Changetype field value and a boolean to check if the value has been set.
func (*RRSet) GetComments ¶
GetComments returns the Comments field value if set, zero value otherwise.
func (*RRSet) GetCommentsOk ¶
GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RRSet) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RRSet) GetRecords ¶
GetRecords returns the Records field value
func (*RRSet) GetRecordsOk ¶
GetRecordsOk returns a tuple with the Records field value and a boolean to check if the value has been set.
func (*RRSet) GetTtlOk ¶
GetTtlOk returns a tuple with the Ttl field value and a boolean to check if the value has been set.
func (*RRSet) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RRSet) HasComments ¶
HasComments returns a boolean if a field has been set.
func (RRSet) MarshalJSON ¶
func (*RRSet) SetChangetype ¶
SetChangetype sets field value
func (*RRSet) SetComments ¶
SetComments gets a reference to the given []Comment and assigns it to the Comments field.
func (*RRSet) UnmarshalJSON ¶
type Record ¶
type Record struct { // The content of this record Content string `json:"content"` // Whether or not this record is disabled. When unset, the record is not disabled Disabled *bool `json:"disabled,omitempty"` }
Record The RREntry object represents a single record.
func NewRecord ¶
NewRecord instantiates a new Record object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRecordWithDefaults ¶
func NewRecordWithDefaults() *Record
NewRecordWithDefaults instantiates a new Record object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Record) GetContent ¶
GetContent returns the Content field value
func (*Record) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Record) GetDisabled ¶
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*Record) GetDisabledOk ¶
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Record) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (Record) MarshalJSON ¶
func (*Record) SetDisabled ¶
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*Record) UnmarshalJSON ¶
type RingStatisticItem ¶
type RingStatisticItem struct { // Item name Name *string `json:"name,omitempty"` // Set to \"RingStatisticItem\" Type *string `json:"type,omitempty"` // Ring size Size *int32 `json:"size,omitempty"` // Named values Value []SimpleStatisticItem `json:"value,omitempty"` }
RingStatisticItem struct for RingStatisticItem
func NewRingStatisticItem ¶
func NewRingStatisticItem() *RingStatisticItem
NewRingStatisticItem instantiates a new RingStatisticItem 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 NewRingStatisticItemWithDefaults ¶
func NewRingStatisticItemWithDefaults() *RingStatisticItem
NewRingStatisticItemWithDefaults instantiates a new RingStatisticItem 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 (*RingStatisticItem) GetName ¶
func (o *RingStatisticItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RingStatisticItem) GetNameOk ¶
func (o *RingStatisticItem) GetNameOk() (*string, bool)
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 (*RingStatisticItem) GetSize ¶
func (o *RingStatisticItem) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*RingStatisticItem) GetSizeOk ¶
func (o *RingStatisticItem) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RingStatisticItem) GetType ¶
func (o *RingStatisticItem) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*RingStatisticItem) GetTypeOk ¶
func (o *RingStatisticItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RingStatisticItem) GetValue ¶
func (o *RingStatisticItem) GetValue() []SimpleStatisticItem
GetValue returns the Value field value if set, zero value otherwise.
func (*RingStatisticItem) GetValueOk ¶
func (o *RingStatisticItem) GetValueOk() ([]SimpleStatisticItem, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RingStatisticItem) HasName ¶
func (o *RingStatisticItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*RingStatisticItem) HasSize ¶
func (o *RingStatisticItem) HasSize() bool
HasSize returns a boolean if a field has been set.
func (*RingStatisticItem) HasType ¶
func (o *RingStatisticItem) HasType() bool
HasType returns a boolean if a field has been set.
func (*RingStatisticItem) HasValue ¶
func (o *RingStatisticItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (RingStatisticItem) MarshalJSON ¶
func (o RingStatisticItem) MarshalJSON() ([]byte, error)
func (*RingStatisticItem) SetName ¶
func (o *RingStatisticItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RingStatisticItem) SetSize ¶
func (o *RingStatisticItem) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*RingStatisticItem) SetType ¶
func (o *RingStatisticItem) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*RingStatisticItem) SetValue ¶
func (o *RingStatisticItem) SetValue(v []SimpleStatisticItem)
SetValue gets a reference to the given []SimpleStatisticItem and assigns it to the Value field.
func (RingStatisticItem) ToMap ¶
func (o RingStatisticItem) ToMap() (map[string]interface{}, error)
type SearchAPIService ¶
type SearchAPIService service
SearchAPIService SearchAPI service
func (*SearchAPIService) SearchData ¶
func (a *SearchAPIService) SearchData(ctx context.Context, serverId string) ApiSearchDataRequest
SearchData Search the data inside PowerDNS
Search the data inside PowerDNS for search_term and return at most max_results. This includes zones, records and comments. The * character can be used in search_term as a wildcard character and the ? character can be used as a wildcard for a single character.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiSearchDataRequest
func (*SearchAPIService) SearchDataExecute ¶
func (a *SearchAPIService) SearchDataExecute(r ApiSearchDataRequest) ([]SearchResult, *http.Response, error)
Execute executes the request
@return []SearchResult
type SearchResult ¶
type SearchResult struct { Content *string `json:"content,omitempty"` Disabled *bool `json:"disabled,omitempty"` Name *string `json:"name,omitempty"` // set to one of \"record, zone, comment\" ObjectType *string `json:"object_type,omitempty"` ZoneId *string `json:"zone_id,omitempty"` Zone *string `json:"zone,omitempty"` Type *string `json:"type,omitempty"` Ttl *int32 `json:"ttl,omitempty"` }
SearchResult struct for SearchResult
func NewSearchResult ¶
func NewSearchResult() *SearchResult
NewSearchResult instantiates a new SearchResult 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 NewSearchResultWithDefaults ¶
func NewSearchResultWithDefaults() *SearchResult
NewSearchResultWithDefaults instantiates a new SearchResult 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 (*SearchResult) GetContent ¶
func (o *SearchResult) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*SearchResult) GetContentOk ¶
func (o *SearchResult) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResult) GetDisabled ¶
func (o *SearchResult) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*SearchResult) GetDisabledOk ¶
func (o *SearchResult) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResult) GetName ¶
func (o *SearchResult) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SearchResult) GetNameOk ¶
func (o *SearchResult) GetNameOk() (*string, bool)
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 (*SearchResult) GetObjectType ¶
func (o *SearchResult) GetObjectType() string
GetObjectType returns the ObjectType field value if set, zero value otherwise.
func (*SearchResult) GetObjectTypeOk ¶
func (o *SearchResult) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResult) GetTtl ¶
func (o *SearchResult) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*SearchResult) GetTtlOk ¶
func (o *SearchResult) 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 (*SearchResult) GetType ¶
func (o *SearchResult) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SearchResult) GetTypeOk ¶
func (o *SearchResult) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResult) GetZone ¶
func (o *SearchResult) GetZone() string
GetZone returns the Zone field value if set, zero value otherwise.
func (*SearchResult) GetZoneId ¶
func (o *SearchResult) GetZoneId() string
GetZoneId returns the ZoneId field value if set, zero value otherwise.
func (*SearchResult) GetZoneIdOk ¶
func (o *SearchResult) GetZoneIdOk() (*string, bool)
GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResult) GetZoneOk ¶
func (o *SearchResult) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResult) HasContent ¶
func (o *SearchResult) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*SearchResult) HasDisabled ¶
func (o *SearchResult) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*SearchResult) HasName ¶
func (o *SearchResult) HasName() bool
HasName returns a boolean if a field has been set.
func (*SearchResult) HasObjectType ¶
func (o *SearchResult) HasObjectType() bool
HasObjectType returns a boolean if a field has been set.
func (*SearchResult) HasTtl ¶
func (o *SearchResult) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (*SearchResult) HasType ¶
func (o *SearchResult) HasType() bool
HasType returns a boolean if a field has been set.
func (*SearchResult) HasZone ¶
func (o *SearchResult) HasZone() bool
HasZone returns a boolean if a field has been set.
func (*SearchResult) HasZoneId ¶
func (o *SearchResult) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (SearchResult) MarshalJSON ¶
func (o SearchResult) MarshalJSON() ([]byte, error)
func (*SearchResult) SetContent ¶
func (o *SearchResult) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*SearchResult) SetDisabled ¶
func (o *SearchResult) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*SearchResult) SetName ¶
func (o *SearchResult) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SearchResult) SetObjectType ¶
func (o *SearchResult) SetObjectType(v string)
SetObjectType gets a reference to the given string and assigns it to the ObjectType field.
func (*SearchResult) SetTtl ¶
func (o *SearchResult) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
func (*SearchResult) SetType ¶
func (o *SearchResult) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SearchResult) SetZone ¶
func (o *SearchResult) SetZone(v string)
SetZone gets a reference to the given string and assigns it to the Zone field.
func (*SearchResult) SetZoneId ¶
func (o *SearchResult) SetZoneId(v string)
SetZoneId gets a reference to the given string and assigns it to the ZoneId field.
func (SearchResult) ToMap ¶
func (o SearchResult) ToMap() (map[string]interface{}, error)
type SearchResultComment ¶
type SearchResultComment struct { Content *string `json:"content,omitempty"` Name *string `json:"name,omitempty"` // set to \"comment\" ObjectType *string `json:"object_type,omitempty"` ZoneId *string `json:"zone_id,omitempty"` Zone *string `json:"zone,omitempty"` }
SearchResultComment struct for SearchResultComment
func NewSearchResultComment ¶
func NewSearchResultComment() *SearchResultComment
NewSearchResultComment instantiates a new SearchResultComment 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 NewSearchResultCommentWithDefaults ¶
func NewSearchResultCommentWithDefaults() *SearchResultComment
NewSearchResultCommentWithDefaults instantiates a new SearchResultComment 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 (*SearchResultComment) GetContent ¶
func (o *SearchResultComment) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*SearchResultComment) GetContentOk ¶
func (o *SearchResultComment) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultComment) GetName ¶
func (o *SearchResultComment) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SearchResultComment) GetNameOk ¶
func (o *SearchResultComment) GetNameOk() (*string, bool)
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 (*SearchResultComment) GetObjectType ¶
func (o *SearchResultComment) GetObjectType() string
GetObjectType returns the ObjectType field value if set, zero value otherwise.
func (*SearchResultComment) GetObjectTypeOk ¶
func (o *SearchResultComment) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultComment) GetZone ¶
func (o *SearchResultComment) GetZone() string
GetZone returns the Zone field value if set, zero value otherwise.
func (*SearchResultComment) GetZoneId ¶
func (o *SearchResultComment) GetZoneId() string
GetZoneId returns the ZoneId field value if set, zero value otherwise.
func (*SearchResultComment) GetZoneIdOk ¶
func (o *SearchResultComment) GetZoneIdOk() (*string, bool)
GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultComment) GetZoneOk ¶
func (o *SearchResultComment) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultComment) HasContent ¶
func (o *SearchResultComment) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*SearchResultComment) HasName ¶
func (o *SearchResultComment) HasName() bool
HasName returns a boolean if a field has been set.
func (*SearchResultComment) HasObjectType ¶
func (o *SearchResultComment) HasObjectType() bool
HasObjectType returns a boolean if a field has been set.
func (*SearchResultComment) HasZone ¶
func (o *SearchResultComment) HasZone() bool
HasZone returns a boolean if a field has been set.
func (*SearchResultComment) HasZoneId ¶
func (o *SearchResultComment) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (SearchResultComment) MarshalJSON ¶
func (o SearchResultComment) MarshalJSON() ([]byte, error)
func (*SearchResultComment) SetContent ¶
func (o *SearchResultComment) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*SearchResultComment) SetName ¶
func (o *SearchResultComment) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SearchResultComment) SetObjectType ¶
func (o *SearchResultComment) SetObjectType(v string)
SetObjectType gets a reference to the given string and assigns it to the ObjectType field.
func (*SearchResultComment) SetZone ¶
func (o *SearchResultComment) SetZone(v string)
SetZone gets a reference to the given string and assigns it to the Zone field.
func (*SearchResultComment) SetZoneId ¶
func (o *SearchResultComment) SetZoneId(v string)
SetZoneId gets a reference to the given string and assigns it to the ZoneId field.
func (SearchResultComment) ToMap ¶
func (o SearchResultComment) ToMap() (map[string]interface{}, error)
type SearchResultRecord ¶
type SearchResultRecord struct { Content *string `json:"content,omitempty"` Disabled *bool `json:"disabled,omitempty"` Name *string `json:"name,omitempty"` // set to \"record\" ObjectType *string `json:"object_type,omitempty"` ZoneId *string `json:"zone_id,omitempty"` Zone *string `json:"zone,omitempty"` Type *string `json:"type,omitempty"` Ttl *int32 `json:"ttl,omitempty"` }
SearchResultRecord struct for SearchResultRecord
func NewSearchResultRecord ¶
func NewSearchResultRecord() *SearchResultRecord
NewSearchResultRecord instantiates a new SearchResultRecord 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 NewSearchResultRecordWithDefaults ¶
func NewSearchResultRecordWithDefaults() *SearchResultRecord
NewSearchResultRecordWithDefaults instantiates a new SearchResultRecord 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 (*SearchResultRecord) GetContent ¶
func (o *SearchResultRecord) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*SearchResultRecord) GetContentOk ¶
func (o *SearchResultRecord) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultRecord) GetDisabled ¶
func (o *SearchResultRecord) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*SearchResultRecord) GetDisabledOk ¶
func (o *SearchResultRecord) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultRecord) GetName ¶
func (o *SearchResultRecord) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SearchResultRecord) GetNameOk ¶
func (o *SearchResultRecord) GetNameOk() (*string, bool)
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 (*SearchResultRecord) GetObjectType ¶
func (o *SearchResultRecord) GetObjectType() string
GetObjectType returns the ObjectType field value if set, zero value otherwise.
func (*SearchResultRecord) GetObjectTypeOk ¶
func (o *SearchResultRecord) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultRecord) GetTtl ¶
func (o *SearchResultRecord) GetTtl() int32
GetTtl returns the Ttl field value if set, zero value otherwise.
func (*SearchResultRecord) GetTtlOk ¶
func (o *SearchResultRecord) 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 (*SearchResultRecord) GetType ¶
func (o *SearchResultRecord) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SearchResultRecord) GetTypeOk ¶
func (o *SearchResultRecord) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultRecord) GetZone ¶
func (o *SearchResultRecord) GetZone() string
GetZone returns the Zone field value if set, zero value otherwise.
func (*SearchResultRecord) GetZoneId ¶
func (o *SearchResultRecord) GetZoneId() string
GetZoneId returns the ZoneId field value if set, zero value otherwise.
func (*SearchResultRecord) GetZoneIdOk ¶
func (o *SearchResultRecord) GetZoneIdOk() (*string, bool)
GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultRecord) GetZoneOk ¶
func (o *SearchResultRecord) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultRecord) HasContent ¶
func (o *SearchResultRecord) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*SearchResultRecord) HasDisabled ¶
func (o *SearchResultRecord) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*SearchResultRecord) HasName ¶
func (o *SearchResultRecord) HasName() bool
HasName returns a boolean if a field has been set.
func (*SearchResultRecord) HasObjectType ¶
func (o *SearchResultRecord) HasObjectType() bool
HasObjectType returns a boolean if a field has been set.
func (*SearchResultRecord) HasTtl ¶
func (o *SearchResultRecord) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (*SearchResultRecord) HasType ¶
func (o *SearchResultRecord) HasType() bool
HasType returns a boolean if a field has been set.
func (*SearchResultRecord) HasZone ¶
func (o *SearchResultRecord) HasZone() bool
HasZone returns a boolean if a field has been set.
func (*SearchResultRecord) HasZoneId ¶
func (o *SearchResultRecord) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (SearchResultRecord) MarshalJSON ¶
func (o SearchResultRecord) MarshalJSON() ([]byte, error)
func (*SearchResultRecord) SetContent ¶
func (o *SearchResultRecord) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*SearchResultRecord) SetDisabled ¶
func (o *SearchResultRecord) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*SearchResultRecord) SetName ¶
func (o *SearchResultRecord) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SearchResultRecord) SetObjectType ¶
func (o *SearchResultRecord) SetObjectType(v string)
SetObjectType gets a reference to the given string and assigns it to the ObjectType field.
func (*SearchResultRecord) SetTtl ¶
func (o *SearchResultRecord) SetTtl(v int32)
SetTtl gets a reference to the given int32 and assigns it to the Ttl field.
func (*SearchResultRecord) SetType ¶
func (o *SearchResultRecord) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SearchResultRecord) SetZone ¶
func (o *SearchResultRecord) SetZone(v string)
SetZone gets a reference to the given string and assigns it to the Zone field.
func (*SearchResultRecord) SetZoneId ¶
func (o *SearchResultRecord) SetZoneId(v string)
SetZoneId gets a reference to the given string and assigns it to the ZoneId field.
func (SearchResultRecord) ToMap ¶
func (o SearchResultRecord) ToMap() (map[string]interface{}, error)
type SearchResultZone ¶
type SearchResultZone struct { Name *string `json:"name,omitempty"` // set to \"zone\" ObjectType *string `json:"object_type,omitempty"` ZoneId *string `json:"zone_id,omitempty"` }
SearchResultZone struct for SearchResultZone
func NewSearchResultZone ¶
func NewSearchResultZone() *SearchResultZone
NewSearchResultZone instantiates a new SearchResultZone 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 NewSearchResultZoneWithDefaults ¶
func NewSearchResultZoneWithDefaults() *SearchResultZone
NewSearchResultZoneWithDefaults instantiates a new SearchResultZone 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 (*SearchResultZone) GetName ¶
func (o *SearchResultZone) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SearchResultZone) GetNameOk ¶
func (o *SearchResultZone) GetNameOk() (*string, bool)
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 (*SearchResultZone) GetObjectType ¶
func (o *SearchResultZone) GetObjectType() string
GetObjectType returns the ObjectType field value if set, zero value otherwise.
func (*SearchResultZone) GetObjectTypeOk ¶
func (o *SearchResultZone) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultZone) GetZoneId ¶
func (o *SearchResultZone) GetZoneId() string
GetZoneId returns the ZoneId field value if set, zero value otherwise.
func (*SearchResultZone) GetZoneIdOk ¶
func (o *SearchResultZone) GetZoneIdOk() (*string, bool)
GetZoneIdOk returns a tuple with the ZoneId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchResultZone) HasName ¶
func (o *SearchResultZone) HasName() bool
HasName returns a boolean if a field has been set.
func (*SearchResultZone) HasObjectType ¶
func (o *SearchResultZone) HasObjectType() bool
HasObjectType returns a boolean if a field has been set.
func (*SearchResultZone) HasZoneId ¶
func (o *SearchResultZone) HasZoneId() bool
HasZoneId returns a boolean if a field has been set.
func (SearchResultZone) MarshalJSON ¶
func (o SearchResultZone) MarshalJSON() ([]byte, error)
func (*SearchResultZone) SetName ¶
func (o *SearchResultZone) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SearchResultZone) SetObjectType ¶
func (o *SearchResultZone) SetObjectType(v string)
SetObjectType gets a reference to the given string and assigns it to the ObjectType field.
func (*SearchResultZone) SetZoneId ¶
func (o *SearchResultZone) SetZoneId(v string)
SetZoneId gets a reference to the given string and assigns it to the ZoneId field.
func (SearchResultZone) ToMap ¶
func (o SearchResultZone) ToMap() (map[string]interface{}, error)
type Server ¶
type Server struct { // Set to “Server” Type *string `json:"type,omitempty"` // The id of the server, “localhost” Id *string `json:"id,omitempty"` // “recursor” for the PowerDNS Recursor and “authoritative” for the Authoritative Server DaemonType *string `json:"daemon_type,omitempty"` // The version of the server software Version *string `json:"version,omitempty"` // The API endpoint for this server Url *string `json:"url,omitempty"` // The API endpoint for this server’s configuration ConfigUrl *string `json:"config_url,omitempty"` // The API endpoint for this server’s zones ZonesUrl *string `json:"zones_url,omitempty"` }
Server struct for Server
func NewServer ¶
func NewServer() *Server
NewServer instantiates a new Server 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 NewServerWithDefaults ¶
func NewServerWithDefaults() *Server
NewServerWithDefaults instantiates a new Server 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 (*Server) GetConfigUrl ¶
GetConfigUrl returns the ConfigUrl field value if set, zero value otherwise.
func (*Server) GetConfigUrlOk ¶
GetConfigUrlOk returns a tuple with the ConfigUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetDaemonType ¶
GetDaemonType returns the DaemonType field value if set, zero value otherwise.
func (*Server) GetDaemonTypeOk ¶
GetDaemonTypeOk returns a tuple with the DaemonType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) 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 (*Server) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Server) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetZonesUrl ¶
GetZonesUrl returns the ZonesUrl field value if set, zero value otherwise.
func (*Server) GetZonesUrlOk ¶
GetZonesUrlOk returns a tuple with the ZonesUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) HasConfigUrl ¶
HasConfigUrl returns a boolean if a field has been set.
func (*Server) HasDaemonType ¶
HasDaemonType returns a boolean if a field has been set.
func (*Server) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (*Server) HasZonesUrl ¶
HasZonesUrl returns a boolean if a field has been set.
func (Server) MarshalJSON ¶
func (*Server) SetConfigUrl ¶
SetConfigUrl gets a reference to the given string and assigns it to the ConfigUrl field.
func (*Server) SetDaemonType ¶
SetDaemonType gets a reference to the given string and assigns it to the DaemonType field.
func (*Server) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Server) SetUrl ¶
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*Server) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
func (*Server) SetZonesUrl ¶
SetZonesUrl gets a reference to the given string and assigns it to the ZonesUrl field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServersAPIService ¶
type ServersAPIService service
ServersAPIService ServersAPI service
func (*ServersAPIService) CacheFlushByName ¶
func (a *ServersAPIService) CacheFlushByName(ctx context.Context, serverId string) ApiCacheFlushByNameRequest
CacheFlushByName Flush a cache-entry by name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiCacheFlushByNameRequest
func (*ServersAPIService) CacheFlushByNameExecute ¶
func (a *ServersAPIService) CacheFlushByNameExecute(r ApiCacheFlushByNameRequest) (*CacheFlushResult, *http.Response, error)
Execute executes the request
@return CacheFlushResult
func (*ServersAPIService) ListServer ¶
func (a *ServersAPIService) ListServer(ctx context.Context, serverId string) ApiListServerRequest
ListServer List a server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiListServerRequest
func (*ServersAPIService) ListServerExecute ¶
func (a *ServersAPIService) ListServerExecute(r ApiListServerRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
func (*ServersAPIService) ListServers ¶
func (a *ServersAPIService) ListServers(ctx context.Context) ApiListServersRequest
ListServers List all servers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListServersRequest
func (*ServersAPIService) ListServersExecute ¶
func (a *ServersAPIService) ListServersExecute(r ApiListServersRequest) ([]Server, *http.Response, error)
Execute executes the request
@return []Server
type SimpleStatisticItem ¶
type SimpleStatisticItem struct { // Item name Name *string `json:"name,omitempty"` // Item value Value *string `json:"value,omitempty"` }
SimpleStatisticItem struct for SimpleStatisticItem
func NewSimpleStatisticItem ¶
func NewSimpleStatisticItem() *SimpleStatisticItem
NewSimpleStatisticItem instantiates a new SimpleStatisticItem 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 NewSimpleStatisticItemWithDefaults ¶
func NewSimpleStatisticItemWithDefaults() *SimpleStatisticItem
NewSimpleStatisticItemWithDefaults instantiates a new SimpleStatisticItem 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 (*SimpleStatisticItem) GetName ¶
func (o *SimpleStatisticItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SimpleStatisticItem) GetNameOk ¶
func (o *SimpleStatisticItem) GetNameOk() (*string, bool)
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 (*SimpleStatisticItem) GetValue ¶
func (o *SimpleStatisticItem) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*SimpleStatisticItem) GetValueOk ¶
func (o *SimpleStatisticItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleStatisticItem) HasName ¶
func (o *SimpleStatisticItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*SimpleStatisticItem) HasValue ¶
func (o *SimpleStatisticItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (SimpleStatisticItem) MarshalJSON ¶
func (o SimpleStatisticItem) MarshalJSON() ([]byte, error)
func (*SimpleStatisticItem) SetName ¶
func (o *SimpleStatisticItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SimpleStatisticItem) SetValue ¶
func (o *SimpleStatisticItem) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (SimpleStatisticItem) ToMap ¶
func (o SimpleStatisticItem) ToMap() (map[string]interface{}, error)
type StatisticItem ¶
type StatisticItem struct { // Item name Name *string `json:"name,omitempty"` // set to \"StatisticItem\" Type *string `json:"type,omitempty"` // Item value Value *string `json:"value,omitempty"` }
StatisticItem struct for StatisticItem
func NewStatisticItem ¶
func NewStatisticItem() *StatisticItem
NewStatisticItem instantiates a new StatisticItem 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 NewStatisticItemWithDefaults ¶
func NewStatisticItemWithDefaults() *StatisticItem
NewStatisticItemWithDefaults instantiates a new StatisticItem 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 (*StatisticItem) GetName ¶
func (o *StatisticItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*StatisticItem) GetNameOk ¶
func (o *StatisticItem) GetNameOk() (*string, bool)
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 (*StatisticItem) GetType ¶
func (o *StatisticItem) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*StatisticItem) GetTypeOk ¶
func (o *StatisticItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatisticItem) GetValue ¶
func (o *StatisticItem) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*StatisticItem) GetValueOk ¶
func (o *StatisticItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StatisticItem) HasName ¶
func (o *StatisticItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*StatisticItem) HasType ¶
func (o *StatisticItem) HasType() bool
HasType returns a boolean if a field has been set.
func (*StatisticItem) HasValue ¶
func (o *StatisticItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (StatisticItem) MarshalJSON ¶
func (o StatisticItem) MarshalJSON() ([]byte, error)
func (*StatisticItem) SetName ¶
func (o *StatisticItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*StatisticItem) SetType ¶
func (o *StatisticItem) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*StatisticItem) SetValue ¶
func (o *StatisticItem) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (StatisticItem) ToMap ¶
func (o StatisticItem) ToMap() (map[string]interface{}, error)
type StatsAPIService ¶
type StatsAPIService service
StatsAPIService StatsAPI service
func (*StatsAPIService) GetStats ¶
func (a *StatsAPIService) GetStats(ctx context.Context, serverId string) ApiGetStatsRequest
GetStats Query statistics.
Query PowerDNS internal statistics.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiGetStatsRequest
func (*StatsAPIService) GetStatsExecute ¶
func (a *StatsAPIService) GetStatsExecute(r ApiGetStatsRequest) ([]GetStats200ResponseInner, *http.Response, error)
Execute executes the request
@return []GetStats200ResponseInner
type TSIGKey ¶
type TSIGKey struct { // The name of the key Name *string `json:"name,omitempty"` // The ID for this key, used in the TSIGkey URL endpoint. Id *string `json:"id,omitempty"` // The algorithm of the TSIG key Algorithm *string `json:"algorithm,omitempty"` // The Base64 encoded secret key, empty when listing keys. MAY be empty when POSTing to have the server generate the key material Key *string `json:"key,omitempty"` // Set to \"TSIGKey\" Type *string `json:"type,omitempty"` }
TSIGKey A TSIG key that can be used to authenticate NOTIFY, AXFR, and DNSUPDATE queries.
func NewTSIGKey ¶
func NewTSIGKey() *TSIGKey
NewTSIGKey instantiates a new TSIGKey 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 NewTSIGKeyWithDefaults ¶
func NewTSIGKeyWithDefaults() *TSIGKey
NewTSIGKeyWithDefaults instantiates a new TSIGKey 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 (*TSIGKey) GetAlgorithm ¶
GetAlgorithm returns the Algorithm field value if set, zero value otherwise.
func (*TSIGKey) GetAlgorithmOk ¶
GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TSIGKey) 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 (*TSIGKey) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TSIGKey) 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 (*TSIGKey) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TSIGKey) HasAlgorithm ¶
HasAlgorithm returns a boolean if a field has been set.
func (TSIGKey) MarshalJSON ¶
func (*TSIGKey) SetAlgorithm ¶
SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.
func (*TSIGKey) SetKey ¶
SetKey gets a reference to the given string and assigns it to the Key field.
func (*TSIGKey) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
type TsigkeyAPIService ¶
type TsigkeyAPIService service
TsigkeyAPIService TsigkeyAPI service
func (*TsigkeyAPIService) CreateTSIGKey ¶
func (a *TsigkeyAPIService) CreateTSIGKey(ctx context.Context, serverId string) ApiCreateTSIGKeyRequest
CreateTSIGKey Add a TSIG key
This methods add a new TSIGKey. The actual key can be generated by the server or be provided by the client
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server @return ApiCreateTSIGKeyRequest
func (*TsigkeyAPIService) CreateTSIGKeyExecute ¶
func (a *TsigkeyAPIService) CreateTSIGKeyExecute(r ApiCreateTSIGKeyRequest) (*TSIGKey, *http.Response, error)
Execute executes the request
@return TSIGKey
func (*TsigkeyAPIService) DeleteTSIGKey ¶
func (a *TsigkeyAPIService) DeleteTSIGKey(ctx context.Context, serverId string, tsigkeyId string) ApiDeleteTSIGKeyRequest
DeleteTSIGKey Delete the TSIGKey with tsigkey_id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve the key from @param tsigkeyId The id of the TSIGkey. Should match the \"id\" field in the TSIGKey object @return ApiDeleteTSIGKeyRequest
func (*TsigkeyAPIService) DeleteTSIGKeyExecute ¶
func (a *TsigkeyAPIService) DeleteTSIGKeyExecute(r ApiDeleteTSIGKeyRequest) (*http.Response, error)
Execute executes the request
func (*TsigkeyAPIService) GetTSIGKey ¶
func (a *TsigkeyAPIService) GetTSIGKey(ctx context.Context, serverId string, tsigkeyId string) ApiGetTSIGKeyRequest
GetTSIGKey Get a specific TSIGKeys on the server, including the actual key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve the key from @param tsigkeyId The id of the TSIGkey. Should match the \"id\" field in the TSIGKey object @return ApiGetTSIGKeyRequest
func (*TsigkeyAPIService) GetTSIGKeyExecute ¶
func (a *TsigkeyAPIService) GetTSIGKeyExecute(r ApiGetTSIGKeyRequest) (*TSIGKey, *http.Response, error)
Execute executes the request
@return TSIGKey
func (*TsigkeyAPIService) ListTSIGKeys ¶
func (a *TsigkeyAPIService) ListTSIGKeys(ctx context.Context, serverId string) ApiListTSIGKeysRequest
ListTSIGKeys Get all TSIGKeys on the server, except the actual key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server @return ApiListTSIGKeysRequest
func (*TsigkeyAPIService) ListTSIGKeysExecute ¶
func (a *TsigkeyAPIService) ListTSIGKeysExecute(r ApiListTSIGKeysRequest) ([]TSIGKey, *http.Response, error)
Execute executes the request
@return []TSIGKey
func (*TsigkeyAPIService) PutTSIGKey ¶
func (a *TsigkeyAPIService) PutTSIGKey(ctx context.Context, serverId string, tsigkeyId string) ApiPutTSIGKeyRequest
PutTSIGKey Method for PutTSIGKey
The TSIGKey at tsigkey_id can be changed in multiple ways:
- Changing the Name, this will remove the key with tsigkey_id after adding.
- Changing the Algorithm
- Changing the Key
Only the relevant fields have to be provided in the request body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve the key from @param tsigkeyId The id of the TSIGkey. Should match the \"id\" field in the TSIGKey object @return ApiPutTSIGKeyRequest
func (*TsigkeyAPIService) PutTSIGKeyExecute ¶
func (a *TsigkeyAPIService) PutTSIGKeyExecute(r ApiPutTSIGKeyRequest) (*TSIGKey, *http.Response, error)
Execute executes the request
@return TSIGKey
type Zone ¶
type Zone struct { // Opaque zone id (string), assigned by the server, should not be interpreted by the application. Guaranteed to be safe for embedding in URLs. Id *string `json:"id,omitempty"` // Name of the zone (e.g. “example.com.”) MUST have a trailing dot Name *string `json:"name,omitempty"` // Set to “Zone” Type *string `json:"type,omitempty"` // API endpoint for this zone Url *string `json:"url,omitempty"` // Zone kind, one of “Native”, “Master”, “Slave”, “Producer”, “Consumer” Kind *string `json:"kind,omitempty"` // RRSets in this zone (for zones/{zone_id} endpoint only; omitted during GET on the .../zones list endpoint) Rrsets []RRSet `json:"rrsets,omitempty"` // The SOA serial number Serial *int32 `json:"serial,omitempty"` // The SOA serial notifications have been sent out for NotifiedSerial *int32 `json:"notified_serial,omitempty"` // The SOA serial as seen in query responses. Calculated using the SOA-EDIT metadata, default-soa-edit and default-soa-edit-signed settings EditedSerial *int32 `json:"edited_serial,omitempty"` // List of IP addresses configured as a master for this zone (“Slave” type zones only) Masters []string `json:"masters,omitempty"` // Whether or not this zone is DNSSEC signed (inferred from presigned being true XOR presence of at least one cryptokey with active being true) Dnssec *bool `json:"dnssec,omitempty"` // The NSEC3PARAM record Nsec3param *string `json:"nsec3param,omitempty"` // Whether or not the zone uses NSEC3 narrow Nsec3narrow *bool `json:"nsec3narrow,omitempty"` // Whether or not the zone is pre-signed Presigned *bool `json:"presigned,omitempty"` // The SOA-EDIT metadata item SoaEdit *string `json:"soa_edit,omitempty"` // The SOA-EDIT-API metadata item SoaEditApi *string `json:"soa_edit_api,omitempty"` // Whether or not the zone will be rectified on data changes via the API ApiRectify *bool `json:"api_rectify,omitempty"` // MAY contain a BIND-style zone file when creating a zone Zone *string `json:"zone,omitempty"` // The catalog this zone is a member of Catalog *string `json:"catalog,omitempty"` // MAY be set. Its value is defined by local policy Account *string `json:"account,omitempty"` // MAY be sent in client bodies during creation, and MUST NOT be sent by the server. Simple list of strings of nameserver names, including the trailing dot. Not required for slave zones. Nameservers []string `json:"nameservers,omitempty"` // The id of the TSIG keys used for master operation in this zone MasterTsigKeyIds []string `json:"master_tsig_key_ids,omitempty"` // The id of the TSIG keys used for slave operation in this zone SlaveTsigKeyIds []string `json:"slave_tsig_key_ids,omitempty"` }
Zone This represents an authoritative DNS 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) GetAccount ¶
GetAccount returns the Account field value if set, zero value otherwise.
func (*Zone) GetAccountOk ¶
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetApiRectify ¶
GetApiRectify returns the ApiRectify field value if set, zero value otherwise.
func (*Zone) GetApiRectifyOk ¶
GetApiRectifyOk returns a tuple with the ApiRectify field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetCatalog ¶
GetCatalog returns the Catalog field value if set, zero value otherwise.
func (*Zone) GetCatalogOk ¶
GetCatalogOk returns a tuple with the Catalog field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetDnssecOk ¶
GetDnssecOk returns a tuple with the Dnssec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetEditedSerial ¶
GetEditedSerial returns the EditedSerial field value if set, zero value otherwise.
func (*Zone) GetEditedSerialOk ¶
GetEditedSerialOk returns a tuple with the EditedSerial field value if set, nil otherwise and a boolean to check if the value has been set.
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) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetMasterTsigKeyIds ¶
GetMasterTsigKeyIds returns the MasterTsigKeyIds field value if set, zero value otherwise.
func (*Zone) GetMasterTsigKeyIdsOk ¶
GetMasterTsigKeyIdsOk returns a tuple with the MasterTsigKeyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetMasters ¶
GetMasters returns the Masters field value if set, zero value otherwise.
func (*Zone) GetMastersOk ¶
GetMastersOk returns a tuple with the Masters 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.
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.
func (*Zone) GetNotifiedSerial ¶
GetNotifiedSerial returns the NotifiedSerial field value if set, zero value otherwise.
func (*Zone) GetNotifiedSerialOk ¶
GetNotifiedSerialOk returns a tuple with the NotifiedSerial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetNsec3narrow ¶
GetNsec3narrow returns the Nsec3narrow field value if set, zero value otherwise.
func (*Zone) GetNsec3narrowOk ¶
GetNsec3narrowOk returns a tuple with the Nsec3narrow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetNsec3param ¶
GetNsec3param returns the Nsec3param field value if set, zero value otherwise.
func (*Zone) GetNsec3paramOk ¶
GetNsec3paramOk returns a tuple with the Nsec3param field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetPresigned ¶
GetPresigned returns the Presigned field value if set, zero value otherwise.
func (*Zone) GetPresignedOk ¶
GetPresignedOk returns a tuple with the Presigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetRrsetsOk ¶
GetRrsetsOk returns a tuple with the Rrsets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetSerialOk ¶
GetSerialOk returns a tuple with the Serial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetSlaveTsigKeyIds ¶
GetSlaveTsigKeyIds returns the SlaveTsigKeyIds field value if set, zero value otherwise.
func (*Zone) GetSlaveTsigKeyIdsOk ¶
GetSlaveTsigKeyIdsOk returns a tuple with the SlaveTsigKeyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetSoaEdit ¶
GetSoaEdit returns the SoaEdit field value if set, zero value otherwise.
func (*Zone) GetSoaEditApi ¶
GetSoaEditApi returns the SoaEditApi field value if set, zero value otherwise.
func (*Zone) GetSoaEditApiOk ¶
GetSoaEditApiOk returns a tuple with the SoaEditApi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetSoaEditOk ¶
GetSoaEditOk returns a tuple with the SoaEdit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) GetZoneOk ¶
GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zone) HasAccount ¶
HasAccount returns a boolean if a field has been set.
func (*Zone) HasApiRectify ¶
HasApiRectify returns a boolean if a field has been set.
func (*Zone) HasCatalog ¶
HasCatalog returns a boolean if a field has been set.
func (*Zone) HasEditedSerial ¶
HasEditedSerial returns a boolean if a field has been set.
func (*Zone) HasMasterTsigKeyIds ¶
HasMasterTsigKeyIds returns a boolean if a field has been set.
func (*Zone) HasMasters ¶
HasMasters returns a boolean if a field has been set.
func (*Zone) HasNameservers ¶
HasNameservers returns a boolean if a field has been set.
func (*Zone) HasNotifiedSerial ¶
HasNotifiedSerial returns a boolean if a field has been set.
func (*Zone) HasNsec3narrow ¶
HasNsec3narrow returns a boolean if a field has been set.
func (*Zone) HasNsec3param ¶
HasNsec3param returns a boolean if a field has been set.
func (*Zone) HasPresigned ¶
HasPresigned returns a boolean if a field has been set.
func (*Zone) HasSlaveTsigKeyIds ¶
HasSlaveTsigKeyIds returns a boolean if a field has been set.
func (*Zone) HasSoaEdit ¶
HasSoaEdit returns a boolean if a field has been set.
func (*Zone) HasSoaEditApi ¶
HasSoaEditApi returns a boolean if a field has been set.
func (Zone) MarshalJSON ¶
func (*Zone) SetAccount ¶
SetAccount gets a reference to the given string and assigns it to the Account field.
func (*Zone) SetApiRectify ¶
SetApiRectify gets a reference to the given bool and assigns it to the ApiRectify field.
func (*Zone) SetCatalog ¶
SetCatalog gets a reference to the given string and assigns it to the Catalog field.
func (*Zone) SetDnssec ¶
SetDnssec gets a reference to the given bool and assigns it to the Dnssec field.
func (*Zone) SetEditedSerial ¶
SetEditedSerial gets a reference to the given int32 and assigns it to the EditedSerial field.
func (*Zone) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Zone) SetMasterTsigKeyIds ¶
SetMasterTsigKeyIds gets a reference to the given []string and assigns it to the MasterTsigKeyIds field.
func (*Zone) SetMasters ¶
SetMasters gets a reference to the given []string and assigns it to the Masters 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) SetNotifiedSerial ¶
SetNotifiedSerial gets a reference to the given int32 and assigns it to the NotifiedSerial field.
func (*Zone) SetNsec3narrow ¶
SetNsec3narrow gets a reference to the given bool and assigns it to the Nsec3narrow field.
func (*Zone) SetNsec3param ¶
SetNsec3param gets a reference to the given string and assigns it to the Nsec3param field.
func (*Zone) SetPresigned ¶
SetPresigned gets a reference to the given bool and assigns it to the Presigned field.
func (*Zone) SetRrsets ¶
SetRrsets gets a reference to the given []RRSet and assigns it to the Rrsets field.
func (*Zone) SetSerial ¶
SetSerial gets a reference to the given int32 and assigns it to the Serial field.
func (*Zone) SetSlaveTsigKeyIds ¶
SetSlaveTsigKeyIds gets a reference to the given []string and assigns it to the SlaveTsigKeyIds field.
func (*Zone) SetSoaEdit ¶
SetSoaEdit gets a reference to the given string and assigns it to the SoaEdit field.
func (*Zone) SetSoaEditApi ¶
SetSoaEditApi gets a reference to the given string and assigns it to the SoaEditApi field.
func (*Zone) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
type ZonecryptokeyAPIService ¶
type ZonecryptokeyAPIService service
ZonecryptokeyAPIService ZonecryptokeyAPI service
func (*ZonecryptokeyAPIService) CreateCryptokey ¶
func (a *ZonecryptokeyAPIService) CreateCryptokey(ctx context.Context, serverId string, zoneId string) ApiCreateCryptokeyRequest
CreateCryptokey Creates a Cryptokey
This method adds a new key to a zone. The key can either be generated or imported by supplying the content parameter. if content, bits and algo are null, a key will be generated based on the default-ksk-algorithm and default-ksk-size settings for a KSK and the default-zsk-algorithm and default-zsk-size options for a ZSK.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId @return ApiCreateCryptokeyRequest
func (*ZonecryptokeyAPIService) CreateCryptokeyExecute ¶
func (a *ZonecryptokeyAPIService) CreateCryptokeyExecute(r ApiCreateCryptokeyRequest) (*Cryptokey, *http.Response, error)
Execute executes the request
@return Cryptokey
func (*ZonecryptokeyAPIService) DeleteCryptokey ¶
func (a *ZonecryptokeyAPIService) DeleteCryptokey(ctx context.Context, serverId string, zoneId string, cryptokeyId string) ApiDeleteCryptokeyRequest
DeleteCryptokey This method deletes a key specified by cryptokey_id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @param cryptokeyId The id value of the Cryptokey @return ApiDeleteCryptokeyRequest
func (*ZonecryptokeyAPIService) DeleteCryptokeyExecute ¶
func (a *ZonecryptokeyAPIService) DeleteCryptokeyExecute(r ApiDeleteCryptokeyRequest) (*http.Response, error)
Execute executes the request
func (*ZonecryptokeyAPIService) GetCryptokey ¶
func (a *ZonecryptokeyAPIService) GetCryptokey(ctx context.Context, serverId string, zoneId string, cryptokeyId string) ApiGetCryptokeyRequest
GetCryptokey Returns all data about the CryptoKey, including the privatekey.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @param cryptokeyId The id value of the CryptoKey @return ApiGetCryptokeyRequest
func (*ZonecryptokeyAPIService) GetCryptokeyExecute ¶
func (a *ZonecryptokeyAPIService) GetCryptokeyExecute(r ApiGetCryptokeyRequest) (*Cryptokey, *http.Response, error)
Execute executes the request
@return Cryptokey
func (*ZonecryptokeyAPIService) ListCryptokeys ¶
func (a *ZonecryptokeyAPIService) ListCryptokeys(ctx context.Context, serverId string, zoneId string) ApiListCryptokeysRequest
ListCryptokeys Get all CryptoKeys for a zone, except the privatekey
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiListCryptokeysRequest
func (*ZonecryptokeyAPIService) ListCryptokeysExecute ¶
func (a *ZonecryptokeyAPIService) ListCryptokeysExecute(r ApiListCryptokeysRequest) ([]Cryptokey, *http.Response, error)
Execute executes the request
@return []Cryptokey
func (*ZonecryptokeyAPIService) ModifyCryptokey ¶
func (a *ZonecryptokeyAPIService) ModifyCryptokey(ctx context.Context, serverId string, zoneId string, cryptokeyId string) ApiModifyCryptokeyRequest
ModifyCryptokey This method (de)activates a key from zone_name specified by cryptokey_id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId @param cryptokeyId Cryptokey to manipulate @return ApiModifyCryptokeyRequest
func (*ZonecryptokeyAPIService) ModifyCryptokeyExecute ¶
func (a *ZonecryptokeyAPIService) ModifyCryptokeyExecute(r ApiModifyCryptokeyRequest) (*http.Response, error)
Execute executes the request
type ZonemetadataAPIService ¶
type ZonemetadataAPIService service
ZonemetadataAPIService ZonemetadataAPI service
func (*ZonemetadataAPIService) CreateMetadata ¶
func (a *ZonemetadataAPIService) CreateMetadata(ctx context.Context, serverId string, zoneId string) ApiCreateMetadataRequest
CreateMetadata Creates a set of metadata entries
Creates a set of metadata entries of given kind for the zone. Existing metadata entries for the zone with the same kind are not overwritten.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId @return ApiCreateMetadataRequest
func (*ZonemetadataAPIService) CreateMetadataExecute ¶
func (a *ZonemetadataAPIService) CreateMetadataExecute(r ApiCreateMetadataRequest) (*http.Response, error)
Execute executes the request
func (*ZonemetadataAPIService) DeleteMetadata ¶
func (a *ZonemetadataAPIService) DeleteMetadata(ctx context.Context, serverId string, zoneId string, metadataKind string) ApiDeleteMetadataRequest
DeleteMetadata Delete all items of a single kind of domain metadata.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @param metadataKind The kind of metadata @return ApiDeleteMetadataRequest
func (*ZonemetadataAPIService) DeleteMetadataExecute ¶
func (a *ZonemetadataAPIService) DeleteMetadataExecute(r ApiDeleteMetadataRequest) (*http.Response, error)
Execute executes the request
func (*ZonemetadataAPIService) GetMetadata ¶
func (a *ZonemetadataAPIService) GetMetadata(ctx context.Context, serverId string, zoneId string, metadataKind string) ApiGetMetadataRequest
GetMetadata Get the content of a single kind of domain metadata as a Metadata object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @param metadataKind The kind of metadata @return ApiGetMetadataRequest
func (*ZonemetadataAPIService) GetMetadataExecute ¶
func (a *ZonemetadataAPIService) GetMetadataExecute(r ApiGetMetadataRequest) (*Metadata, *http.Response, error)
Execute executes the request
@return Metadata
func (*ZonemetadataAPIService) ListMetadata ¶
func (a *ZonemetadataAPIService) ListMetadata(ctx context.Context, serverId string, zoneId string) ApiListMetadataRequest
ListMetadata Get all the Metadata associated with the zone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiListMetadataRequest
func (*ZonemetadataAPIService) ListMetadataExecute ¶
func (a *ZonemetadataAPIService) ListMetadataExecute(r ApiListMetadataRequest) ([]Metadata, *http.Response, error)
Execute executes the request
@return []Metadata
func (*ZonemetadataAPIService) ModifyMetadata ¶
func (a *ZonemetadataAPIService) ModifyMetadata(ctx context.Context, serverId string, zoneId string, metadataKind string) ApiModifyMetadataRequest
ModifyMetadata Replace the content of a single kind of domain metadata.
Creates a set of metadata entries of given kind for the zone. Existing metadata entries for the zone with the same kind are removed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId @param metadataKind The kind of metadata @return ApiModifyMetadataRequest
func (*ZonemetadataAPIService) ModifyMetadataExecute ¶
func (a *ZonemetadataAPIService) ModifyMetadataExecute(r ApiModifyMetadataRequest) (*Metadata, *http.Response, error)
Execute executes the request
@return Metadata
type ZonesAPIService ¶
type ZonesAPIService service
ZonesAPIService ZonesAPI service
func (*ZonesAPIService) AxfrExportZone ¶
func (a *ZonesAPIService) AxfrExportZone(ctx context.Context, serverId string, zoneId string) ApiAxfrExportZoneRequest
AxfrExportZone Returns the zone in AXFR format.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiAxfrExportZoneRequest
func (*ZonesAPIService) AxfrExportZoneExecute ¶
func (a *ZonesAPIService) AxfrExportZoneExecute(r ApiAxfrExportZoneRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ZonesAPIService) AxfrRetrieveZone ¶
func (a *ZonesAPIService) AxfrRetrieveZone(ctx context.Context, serverId string, zoneId string) ApiAxfrRetrieveZoneRequest
AxfrRetrieveZone Retrieve slave zone from its master.
Fails when zone kind is not Slave, or slave is disabled in the configuration. Clients MUST NOT send a body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiAxfrRetrieveZoneRequest
func (*ZonesAPIService) AxfrRetrieveZoneExecute ¶
func (a *ZonesAPIService) AxfrRetrieveZoneExecute(r ApiAxfrRetrieveZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZonesAPIService) CreateZone ¶
func (a *ZonesAPIService) CreateZone(ctx context.Context, serverId string) ApiCreateZoneRequest
CreateZone Creates a new domain, returns the Zone on creation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiCreateZoneRequest
func (*ZonesAPIService) CreateZoneExecute ¶
func (a *ZonesAPIService) CreateZoneExecute(r ApiCreateZoneRequest) (*Zone, *http.Response, error)
Execute executes the request
@return Zone
func (*ZonesAPIService) DeleteZone ¶
func (a *ZonesAPIService) DeleteZone(ctx context.Context, serverId string, zoneId string) ApiDeleteZoneRequest
DeleteZone Deletes this zone, all attached metadata and rrsets.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiDeleteZoneRequest
func (*ZonesAPIService) DeleteZoneExecute ¶
func (a *ZonesAPIService) DeleteZoneExecute(r ApiDeleteZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZonesAPIService) ListZone ¶
func (a *ZonesAPIService) ListZone(ctx context.Context, serverId string, zoneId string) ApiListZoneRequest
ListZone zone managed by a server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiListZoneRequest
func (*ZonesAPIService) ListZoneExecute ¶
func (a *ZonesAPIService) ListZoneExecute(r ApiListZoneRequest) (*Zone, *http.Response, error)
Execute executes the request
@return Zone
func (*ZonesAPIService) ListZones ¶
func (a *ZonesAPIService) ListZones(ctx context.Context, serverId string) ApiListZonesRequest
ListZones List all Zones in a server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @return ApiListZonesRequest
func (*ZonesAPIService) ListZonesExecute ¶
func (a *ZonesAPIService) ListZonesExecute(r ApiListZonesRequest) ([]Zone, *http.Response, error)
Execute executes the request
@return []Zone
func (*ZonesAPIService) NotifyZone ¶
func (a *ZonesAPIService) NotifyZone(ctx context.Context, serverId string, zoneId string) ApiNotifyZoneRequest
NotifyZone Send a DNS NOTIFY to all slaves.
Fails when zone kind is not Master or Slave, or master and slave are disabled in the configuration. Only works for Slave if renotify is on. Clients MUST NOT send a body.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiNotifyZoneRequest
func (*ZonesAPIService) NotifyZoneExecute ¶
func (a *ZonesAPIService) NotifyZoneExecute(r ApiNotifyZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZonesAPIService) PatchZone ¶
func (a *ZonesAPIService) PatchZone(ctx context.Context, serverId string, zoneId string) ApiPatchZoneRequest
PatchZone Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId @return ApiPatchZoneRequest
func (*ZonesAPIService) PatchZoneExecute ¶
func (a *ZonesAPIService) PatchZoneExecute(r ApiPatchZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZonesAPIService) PutZone ¶
func (a *ZonesAPIService) PutZone(ctx context.Context, serverId string, zoneId string) ApiPutZoneRequest
PutZone Modifies basic zone data.
The only fields in the zone structure which can be modified are: kind, masters, catalog, account, soa_edit, soa_edit_api, api_rectify, dnssec, and nsec3param. All other fields are ignored.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId @return ApiPutZoneRequest
func (*ZonesAPIService) PutZoneExecute ¶
func (a *ZonesAPIService) PutZoneExecute(r ApiPutZoneRequest) (*http.Response, error)
Execute executes the request
func (*ZonesAPIService) RectifyZone ¶
func (a *ZonesAPIService) RectifyZone(ctx context.Context, serverId string, zoneId string) ApiRectifyZoneRequest
RectifyZone Rectify the zone data.
This does not take into account the API-RECTIFY metadata. Fails on slave zones and zones that do not have DNSSEC.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The id of the server to retrieve @param zoneId The id of the zone to retrieve @return ApiRectifyZoneRequest
func (*ZonesAPIService) RectifyZoneExecute ¶
func (a *ZonesAPIService) RectifyZoneExecute(r ApiRectifyZoneRequest) (string, *http.Response, error)
Execute executes the request
@return string
Source Files
¶
- api_autoprimary.go
- api_config.go
- api_default.go
- api_search.go
- api_servers.go
- api_stats.go
- api_tsigkey.go
- api_zonecryptokey.go
- api_zonemetadata.go
- api_zones.go
- client.go
- configuration.go
- model_autoprimary.go
- model_cache_flush_result.go
- model_comment.go
- model_config_setting.go
- model_cryptokey.go
- model_error.go
- model_get_stats_200_response_inner.go
- model_map_statistic_item.go
- model_metadata.go
- model_record.go
- model_ring_statistic_item.go
- model_rr_set.go
- model_search_result.go
- model_search_result_comment.go
- model_search_result_record.go
- model_search_result_zone.go
- model_server.go
- model_simple_statistic_item.go
- model_statistic_item.go
- model_tsig_key.go
- model_zone.go
- response.go
- utils.go