Documentation
¶
Index ¶
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- 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
- func (a *APIClient) CloneZone(ctx context.Context, projectId string, zoneId string) ApiCloneZoneRequest
- func (a *APIClient) CloneZoneExecute(ctx context.Context, projectId string, zoneId string) (*ZoneResponse, error)
- func (a *APIClient) CreateLabel(ctx context.Context, projectId string, zoneId string) ApiCreateLabelRequest
- func (a *APIClient) CreateLabelExecute(ctx context.Context, projectId string, zoneId string) (*CreateLabelResponse, error)
- func (a *APIClient) CreateMoveCode(ctx context.Context, projectId string, zoneId string) ApiCreateMoveCodeRequest
- func (a *APIClient) CreateMoveCodeExecute(ctx context.Context, projectId string, zoneId string) (*MoveCodeResponse, error)
- func (a *APIClient) CreateRecordSet(ctx context.Context, projectId string, zoneId string) ApiCreateRecordSetRequest
- func (a *APIClient) CreateRecordSetExecute(ctx context.Context, projectId string, zoneId string) (*RecordSetResponse, error)
- func (a *APIClient) CreateZone(ctx context.Context, projectId string) ApiCreateZoneRequest
- func (a *APIClient) CreateZoneExecute(ctx context.Context, projectId string) (*ZoneResponse, error)
- func (a *APIClient) DeleteLabel(ctx context.Context, projectId string, zoneId string, key string) ApiDeleteLabelRequest
- func (a *APIClient) DeleteLabelExecute(ctx context.Context, projectId string, zoneId string, key string) (*DeleteLabelResponse, error)
- func (a *APIClient) DeleteMoveCode(ctx context.Context, projectId string, zoneId string) ApiDeleteMoveCodeRequest
- func (a *APIClient) DeleteMoveCodeExecute(ctx context.Context, projectId string, zoneId string) (*Message, error)
- func (a *APIClient) DeleteRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiDeleteRecordSetRequest
- func (a *APIClient) DeleteRecordSetExecute(ctx context.Context, projectId string, zoneId string, rrSetId string) (*Message, error)
- func (a *APIClient) DeleteZone(ctx context.Context, projectId string, zoneId string) ApiDeleteZoneRequest
- func (a *APIClient) DeleteZoneExecute(ctx context.Context, projectId string, zoneId string) (*Message, error)
- func (a *APIClient) ExportRecordSets(ctx context.Context, projectId string, zoneId string) ApiExportRecordSetsRequest
- func (a *APIClient) ExportRecordSetsExecute(ctx context.Context, projectId string, zoneId string) (*ZoneDataExchange, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiGetRecordSetRequest
- func (a *APIClient) GetRecordSetExecute(ctx context.Context, projectId string, zoneId string, rrSetId string) (*RecordSetResponse, error)
- func (a *APIClient) GetZone(ctx context.Context, projectId string, zoneId string) ApiGetZoneRequest
- func (a *APIClient) GetZoneExecute(ctx context.Context, projectId string, zoneId string) (*ZoneResponse, error)
- func (a *APIClient) ImportRecordSets(ctx context.Context, projectId string, zoneId string) ApiImportRecordSetsRequest
- func (a *APIClient) ImportRecordSetsExecute(ctx context.Context, projectId string, zoneId string) (*ImportRecordSetsResponse, error)
- func (a *APIClient) ListLabels(ctx context.Context, projectId string, zoneId string) ApiListLabelsRequest
- func (a *APIClient) ListLabelsExecute(ctx context.Context, projectId string, zoneId string) (*ListLabelsResponse, error)
- func (a *APIClient) ListRecordSets(ctx context.Context, projectId string, zoneId string) ApiListRecordSetsRequest
- func (a *APIClient) ListRecordSetsExecute(ctx context.Context, projectId string, zoneId string) (*ListRecordSetsResponse, error)
- func (a *APIClient) ListZones(ctx context.Context, projectId string) ApiListZonesRequest
- func (a *APIClient) ListZonesExecute(ctx context.Context, projectId string) (*ListZonesResponse, error)
- func (a *APIClient) MoveZone(ctx context.Context, projectId string) ApiMoveZoneRequest
- func (a *APIClient) MoveZoneExecute(ctx context.Context, projectId string) (*Message, error)
- func (a *APIClient) PartialUpdateRecord(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiPartialUpdateRecordRequest
- func (a *APIClient) PartialUpdateRecordExecute(ctx context.Context, projectId string, zoneId string, rrSetId string) (*Message, error)
- func (a *APIClient) PartialUpdateRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiPartialUpdateRecordSetRequest
- func (a *APIClient) PartialUpdateRecordSetExecute(ctx context.Context, projectId string, zoneId string, rrSetId string) (*Message, error)
- func (a *APIClient) PartialUpdateZone(ctx context.Context, projectId string, zoneId string) ApiPartialUpdateZoneRequest
- func (a *APIClient) PartialUpdateZoneExecute(ctx context.Context, projectId string, zoneId string) (*ZoneResponse, error)
- func (a *APIClient) RestoreRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiRestoreRecordSetRequest
- func (a *APIClient) RestoreRecordSetExecute(ctx context.Context, projectId string, zoneId string, rrSetId string) (*Message, error)
- func (a *APIClient) RestoreZone(ctx context.Context, projectId string, zoneId string) ApiRestoreZoneRequest
- func (a *APIClient) RestoreZoneExecute(ctx context.Context, projectId string, zoneId string) (*Message, error)
- func (a *APIClient) RetrieveZone(ctx context.Context, projectId string, zoneId string) ApiRetrieveZoneRequest
- func (a *APIClient) RetrieveZoneExecute(ctx context.Context, projectId string, zoneId string) (*Message, error)
- func (a *APIClient) ValidateMoveCode(ctx context.Context, projectId string, zoneId string) ApiValidateMoveCodeRequest
- func (a *APIClient) ValidateMoveCodeExecute(ctx context.Context, projectId string, zoneId string) (*Message, error)
- type ApiCloneZoneRequest
- type ApiCreateLabelRequest
- type ApiCreateMoveCodeRequest
- type ApiCreateRecordSetRequest
- type ApiCreateZoneRequest
- type ApiDeleteLabelRequest
- type ApiDeleteMoveCodeRequest
- type ApiDeleteRecordSetRequest
- type ApiDeleteZoneRequest
- type ApiExportRecordSetsRequest
- type ApiGetRecordSetRequest
- type ApiGetZoneRequest
- type ApiImportRecordSetsRequest
- func (r ApiImportRecordSetsRequest) Execute() (*ImportRecordSetsResponse, error)
- func (r ApiImportRecordSetsRequest) Format(format string) ApiImportRecordSetsRequest
- func (r ApiImportRecordSetsRequest) ImportRecordSetsPayload(importRecordSetsPayload ImportRecordSetsPayload) ApiImportRecordSetsRequest
- func (r ApiImportRecordSetsRequest) ImportType(importType string) ApiImportRecordSetsRequest
- type ApiListLabelsRequest
- type ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) ActiveEq(activeEq bool) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationFinishedGt(creationFinishedGt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationFinishedGte(creationFinishedGte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationFinishedLt(creationFinishedLt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationFinishedLte(creationFinishedLte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationStartedGt(creationStartedGt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationStartedGte(creationStartedGte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationStartedLt(creationStartedLt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) CreationStartedLte(creationStartedLte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) Execute() (*ListRecordSetsResponse, error)
- func (r ApiListRecordSetsRequest) NameEq(nameEq string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) NameLike(nameLike string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByCreationFinished(orderByCreationFinished string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByCreationStarted(orderByCreationStarted string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByName(orderByName string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByRecordCount(orderByRecordCount string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByState(orderByState string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByType(orderByType string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByUpdateFinished(orderByUpdateFinished string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) OrderByUpdateStarted(orderByUpdateStarted string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) Page(page int32) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) PageSize(pageSize int32) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) StateEq(stateEq string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) StateNeq(stateNeq string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) TypeEq(typeEq string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateFinishedGt(updateFinishedGt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateFinishedGte(updateFinishedGte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateFinishedLt(updateFinishedLt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateFinishedLte(updateFinishedLte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateStartedGt(updateStartedGt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateStartedGte(updateStartedGte string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateStartedLt(updateStartedLt string) ApiListRecordSetsRequest
- func (r ApiListRecordSetsRequest) UpdateStartedLte(updateStartedLte string) ApiListRecordSetsRequest
- type ApiListZonesRequest
- func (r ApiListZonesRequest) ActiveEq(activeEq bool) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationFinishedGt(creationFinishedGt string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationFinishedGte(creationFinishedGte string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationFinishedLt(creationFinishedLt string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationFinishedLte(creationFinishedLte string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationStartedGt(creationStartedGt string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationStartedGte(creationStartedGte string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationStartedLt(creationStartedLt string) ApiListZonesRequest
- func (r ApiListZonesRequest) CreationStartedLte(creationStartedLte string) ApiListZonesRequest
- func (r ApiListZonesRequest) DescriptionEq(descriptionEq string) ApiListZonesRequest
- func (r ApiListZonesRequest) DescriptionLike(descriptionLike string) ApiListZonesRequest
- func (r ApiListZonesRequest) DescriptionNeq(descriptionNeq string) ApiListZonesRequest
- func (r ApiListZonesRequest) DnsNameEq(dnsNameEq string) ApiListZonesRequest
- func (r ApiListZonesRequest) DnsNameLike(dnsNameLike string) ApiListZonesRequest
- func (r ApiListZonesRequest) Execute() (*ListZonesResponse, error)
- func (r ApiListZonesRequest) IsReverseZoneEq(isReverseZoneEq bool) ApiListZonesRequest
- func (r ApiListZonesRequest) LabelKeyEq(labelKeyEq []string) ApiListZonesRequest
- func (r ApiListZonesRequest) LabelValueEq(labelValueEq []string) ApiListZonesRequest
- func (r ApiListZonesRequest) NameEq(nameEq string) ApiListZonesRequest
- func (r ApiListZonesRequest) NameLike(nameLike string) ApiListZonesRequest
- func (r ApiListZonesRequest) NameNeq(nameNeq string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByCreationFinished(orderByCreationFinished string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByCreationStarted(orderByCreationStarted string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByDescription(orderByDescription string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByDnsName(orderByDnsName string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByName(orderByName string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByRecordCount(orderByRecordCount string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByType(orderByType string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByUpdateFinished(orderByUpdateFinished string) ApiListZonesRequest
- func (r ApiListZonesRequest) OrderByUpdateStarted(orderByUpdateStarted string) ApiListZonesRequest
- func (r ApiListZonesRequest) Page(page int32) ApiListZonesRequest
- func (r ApiListZonesRequest) PageSize(pageSize int32) ApiListZonesRequest
- func (r ApiListZonesRequest) PrimaryNameServerEq(primaryNameServerEq string) ApiListZonesRequest
- func (r ApiListZonesRequest) PrimaryNameServerLike(primaryNameServerLike string) ApiListZonesRequest
- func (r ApiListZonesRequest) StateEq(stateEq string) ApiListZonesRequest
- func (r ApiListZonesRequest) StateNeq(stateNeq string) ApiListZonesRequest
- func (r ApiListZonesRequest) TypeEq(typeEq string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateFinishedGt(updateFinishedGt string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateFinishedGte(updateFinishedGte string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateFinishedLt(updateFinishedLt string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateFinishedLte(updateFinishedLte string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateStartedGt(updateStartedGt string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateStartedGte(updateStartedGte string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateStartedLt(updateStartedLt string) ApiListZonesRequest
- func (r ApiListZonesRequest) UpdateStartedLte(updateStartedLte string) ApiListZonesRequest
- type ApiMoveZoneRequest
- type ApiPartialUpdateRecordRequest
- type ApiPartialUpdateRecordSetRequest
- type ApiPartialUpdateZoneRequest
- type ApiRestoreRecordSetRequest
- type ApiRestoreZoneRequest
- type ApiRetrieveZoneRequest
- type ApiValidateMoveCodeRequest
- type CloneZonePayload
- type CreateLabelPayload
- type CreateLabelResponse
- type CreateRecordSetPayload
- type CreateZonePayload
- type DefaultApiService
- type DeleteLabelResponse
- type ErrorMessage
- type ExportRecordSetsPayload
- type ImportRecordSetsPayload
- type ImportRecordSetsResponse
- type ImportSummary
- type Label
- type ListLabelsResponse
- type ListRecordSetsResponse
- type ListZonesResponse
- type MappedNullable
- type Message
- type MoveCodeResponse
- type MoveZonePayload
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableString
- type NullableTime
- type PartialUpdateRecordPayload
- type PartialUpdateRecordSetPayload
- type PartialUpdateZonePayload
- type Record
- type RecordDataExchange
- type RecordPayload
- type RecordSet
- type RecordSetResponse
- type ValidateMoveCodePayload
- type Zone
- type ZoneDataExchange
- type ZoneResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
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 {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT DNS API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CloneZone ¶ added in v0.10.0
func (a *APIClient) CloneZone(ctx context.Context, projectId string, zoneId string) ApiCloneZoneRequest
CloneZone Clone an existing zone with all record sets to a new zone with a different name
Clone an existing zone with all record sets to a new zone with a different name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiCloneZoneRequest
func (*APIClient) CloneZoneExecute ¶ added in v0.10.0
func (*APIClient) CreateLabel ¶ added in v0.10.0
func (a *APIClient) CreateLabel(ctx context.Context, projectId string, zoneId string) ApiCreateLabelRequest
CreateLabel Create or update label
Create or update label
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiCreateLabelRequest
func (*APIClient) CreateLabelExecute ¶ added in v0.10.0
func (*APIClient) CreateMoveCode ¶ added in v0.10.0
func (a *APIClient) CreateMoveCode(ctx context.Context, projectId string, zoneId string) ApiCreateMoveCodeRequest
CreateMoveCode request a move code to move zone to another project
move zone from one project to another
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiCreateMoveCodeRequest
func (*APIClient) CreateMoveCodeExecute ¶ added in v0.10.0
func (*APIClient) CreateRecordSet ¶
func (a *APIClient) CreateRecordSet(ctx context.Context, projectId string, zoneId string) ApiCreateRecordSetRequest
CreateRecordSet Post record set
Post record set
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiCreateRecordSetRequest
func (*APIClient) CreateRecordSetExecute ¶
func (*APIClient) CreateZone ¶
func (a *APIClient) CreateZone(ctx context.Context, projectId string) ApiCreateZoneRequest
CreateZone Post create a new zone
Post zone create a new zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @return ApiCreateZoneRequest
func (*APIClient) CreateZoneExecute ¶
func (*APIClient) DeleteLabel ¶ added in v0.10.0
func (a *APIClient) DeleteLabel(ctx context.Context, projectId string, zoneId string, key string) ApiDeleteLabelRequest
DeleteLabel Delete a label
Delete a label
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @param key key of the label @return ApiDeleteLabelRequest
func (*APIClient) DeleteLabelExecute ¶ added in v0.10.0
func (*APIClient) DeleteMoveCode ¶ added in v0.10.0
func (a *APIClient) DeleteMoveCode(ctx context.Context, projectId string, zoneId string) ApiDeleteMoveCodeRequest
DeleteMoveCode delete/invalidate a move code
delete/invalidate a move code
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiDeleteMoveCodeRequest
func (*APIClient) DeleteMoveCodeExecute ¶ added in v0.10.0
func (*APIClient) DeleteRecordSet ¶
func (a *APIClient) DeleteRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiDeleteRecordSetRequest
DeleteRecordSet Delete a record set
Delete a record set
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @param rrSetId record set id @return ApiDeleteRecordSetRequest
func (*APIClient) DeleteRecordSetExecute ¶
func (*APIClient) DeleteZone ¶
func (a *APIClient) DeleteZone(ctx context.Context, projectId string, zoneId string) ApiDeleteZoneRequest
DeleteZone Delete a zone
Delete a zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiDeleteZoneRequest
func (*APIClient) DeleteZoneExecute ¶
func (*APIClient) ExportRecordSets ¶ added in v0.10.0
func (a *APIClient) ExportRecordSets(ctx context.Context, projectId string, zoneId string) ApiExportRecordSetsRequest
ExportRecordSets Export all records in a single zone
Export Zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiExportRecordSetsRequest
func (*APIClient) ExportRecordSetsExecute ¶ added in v0.10.0
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.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
func (*APIClient) GetRecordSet ¶
func (a *APIClient) GetRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiGetRecordSetRequest
GetRecordSet Get a single rrset
Get rrset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @param rrSetId record set id @return ApiGetRecordSetRequest
func (*APIClient) GetRecordSetExecute ¶
func (*APIClient) GetZone ¶
GetZone Get a single zone
Get zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiGetZoneRequest
func (*APIClient) GetZoneExecute ¶
func (*APIClient) ImportRecordSets ¶ added in v0.10.0
func (a *APIClient) ImportRecordSets(ctx context.Context, projectId string, zoneId string) ApiImportRecordSetsRequest
ImportRecordSets Imports a zone
Imports a zone and overwrites/deletes/inserts all desired records
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiImportRecordSetsRequest
func (*APIClient) ImportRecordSetsExecute ¶ added in v0.10.0
func (*APIClient) ListLabels ¶ added in v0.10.0
func (a *APIClient) ListLabels(ctx context.Context, projectId string, zoneId string) ApiListLabelsRequest
ListLabels Get all labels
All Labels
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiListLabelsRequest
func (*APIClient) ListLabelsExecute ¶ added in v0.10.0
func (*APIClient) ListRecordSets ¶
func (a *APIClient) ListRecordSets(ctx context.Context, projectId string, zoneId string) ApiListRecordSetsRequest
ListRecordSets All get selected RRSets
All RRSet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiListRecordSetsRequest
func (*APIClient) ListRecordSetsExecute ¶
func (*APIClient) ListZones ¶
func (a *APIClient) ListZones(ctx context.Context, projectId string) ApiListZonesRequest
ListZones All get selected zones
All zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @return ApiListZonesRequest
func (*APIClient) ListZonesExecute ¶
func (*APIClient) MoveZone ¶ added in v0.10.0
func (a *APIClient) MoveZone(ctx context.Context, projectId string) ApiMoveZoneRequest
MoveZone move zone from one project to another
move zone from one project to another
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @return ApiMoveZoneRequest
func (*APIClient) MoveZoneExecute ¶ added in v0.10.0
func (*APIClient) PartialUpdateRecord ¶
func (a *APIClient) PartialUpdateRecord(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiPartialUpdateRecordRequest
PartialUpdateRecord PatchRecords updates a record in a rrset
PatchRecords rrset updates a record in a rrset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @param rrSetId record set id @return ApiPartialUpdateRecordRequest
func (*APIClient) PartialUpdateRecordExecute ¶
func (*APIClient) PartialUpdateRecordSet ¶
func (a *APIClient) PartialUpdateRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiPartialUpdateRecordSetRequest
PartialUpdateRecordSet Patch updates a record set
Patch record set
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @param rrSetId record set id @return ApiPartialUpdateRecordSetRequest
func (*APIClient) PartialUpdateRecordSetExecute ¶
func (*APIClient) PartialUpdateZone ¶
func (a *APIClient) PartialUpdateZone(ctx context.Context, projectId string, zoneId string) ApiPartialUpdateZoneRequest
PartialUpdateZone Patch update an existing zone
Patch update an existing zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiPartialUpdateZoneRequest
func (*APIClient) PartialUpdateZoneExecute ¶
func (*APIClient) RestoreRecordSet ¶ added in v0.10.0
func (a *APIClient) RestoreRecordSet(ctx context.Context, projectId string, zoneId string, rrSetId string) ApiRestoreRecordSetRequest
RestoreRecordSet Restore record set
Restore record set
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @param rrSetId record set id @return ApiRestoreRecordSetRequest
func (*APIClient) RestoreRecordSetExecute ¶ added in v0.10.0
func (*APIClient) RestoreZone ¶ added in v0.10.0
func (a *APIClient) RestoreZone(ctx context.Context, projectId string, zoneId string) ApiRestoreZoneRequest
RestoreZone Restore an inactive zone
Restore an inactive zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiRestoreZoneRequest
func (*APIClient) RestoreZoneExecute ¶ added in v0.10.0
func (*APIClient) RetrieveZone ¶ added in v0.10.0
func (a *APIClient) RetrieveZone(ctx context.Context, projectId string, zoneId string) ApiRetrieveZoneRequest
RetrieveZone Queue secondary zone for a zone transfer request.
The zone transfer will usually be performed within a few seconds, and will be tried only once by randomly choosing one of the configured primary name servers. If that single attempt fails, no further attempt will be performed. The zone will be transferred to our inbound name server regardless of its serial, but the internal zone distribution is only reliable if the zone's serial on the customer's primary name server is higher than on the STACKIT name server. <br>NOTE: As said above, this endpoint is not a reliable way to decrease a zone's serial. To guarantee consistent zones over all STACKIT location, the zone's serial MUST always be increased on zone changes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiRetrieveZoneRequest
func (*APIClient) RetrieveZoneExecute ¶ added in v0.10.0
func (*APIClient) ValidateMoveCode ¶ added in v0.10.0
func (a *APIClient) ValidateMoveCode(ctx context.Context, projectId string, zoneId string) ApiValidateMoveCodeRequest
ValidateMoveCode validate the move code is still valid for the zone
validate the move code is still valid for the zone
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId project id @param zoneId zone id @return ApiValidateMoveCodeRequest
type ApiCloneZoneRequest ¶ added in v0.10.0
type ApiCloneZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiCloneZoneRequest) CloneZonePayload ¶ added in v0.10.0
func (r ApiCloneZoneRequest) CloneZonePayload(cloneZonePayload CloneZonePayload) ApiCloneZoneRequest
func (ApiCloneZoneRequest) Execute ¶ added in v0.10.0
func (r ApiCloneZoneRequest) Execute() (*ZoneResponse, error)
type ApiCreateLabelRequest ¶ added in v0.10.0
type ApiCreateLabelRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateLabelRequest) CreateLabelPayload ¶ added in v0.10.0
func (r ApiCreateLabelRequest) CreateLabelPayload(createLabelPayload CreateLabelPayload) ApiCreateLabelRequest
func (ApiCreateLabelRequest) Execute ¶ added in v0.10.0
func (r ApiCreateLabelRequest) Execute() (*CreateLabelResponse, error)
type ApiCreateMoveCodeRequest ¶ added in v0.10.0
type ApiCreateMoveCodeRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateMoveCodeRequest) Execute ¶ added in v0.10.0
func (r ApiCreateMoveCodeRequest) Execute() (*MoveCodeResponse, error)
type ApiCreateRecordSetRequest ¶
type ApiCreateRecordSetRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateRecordSetRequest) CreateRecordSetPayload ¶
func (r ApiCreateRecordSetRequest) CreateRecordSetPayload(createRecordSetPayload CreateRecordSetPayload) ApiCreateRecordSetRequest
func (ApiCreateRecordSetRequest) Execute ¶
func (r ApiCreateRecordSetRequest) Execute() (*RecordSetResponse, error)
type ApiCreateZoneRequest ¶
type ApiCreateZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateZoneRequest) CreateZonePayload ¶
func (r ApiCreateZoneRequest) CreateZonePayload(createZonePayload CreateZonePayload) ApiCreateZoneRequest
func (ApiCreateZoneRequest) Execute ¶
func (r ApiCreateZoneRequest) Execute() (*ZoneResponse, error)
type ApiDeleteLabelRequest ¶ added in v0.10.0
type ApiDeleteLabelRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteLabelRequest) Execute ¶ added in v0.10.0
func (r ApiDeleteLabelRequest) Execute() (*DeleteLabelResponse, error)
type ApiDeleteMoveCodeRequest ¶ added in v0.10.0
type ApiDeleteMoveCodeRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteMoveCodeRequest) Execute ¶ added in v0.10.0
func (r ApiDeleteMoveCodeRequest) Execute() (*Message, error)
type ApiDeleteRecordSetRequest ¶
type ApiDeleteRecordSetRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteRecordSetRequest) Execute ¶
func (r ApiDeleteRecordSetRequest) Execute() (*Message, error)
type ApiDeleteZoneRequest ¶
type ApiDeleteZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteZoneRequest) Execute ¶
func (r ApiDeleteZoneRequest) Execute() (*Message, error)
type ApiExportRecordSetsRequest ¶ added in v0.10.0
type ApiExportRecordSetsRequest struct {
// contains filtered or unexported fields
}
func (ApiExportRecordSetsRequest) Execute ¶ added in v0.10.0
func (r ApiExportRecordSetsRequest) Execute() (*ZoneDataExchange, error)
func (ApiExportRecordSetsRequest) ExportRecordSetsPayload ¶ added in v0.10.0
func (r ApiExportRecordSetsRequest) ExportRecordSetsPayload(exportRecordSetsPayload ExportRecordSetsPayload) ApiExportRecordSetsRequest
type ApiGetRecordSetRequest ¶
type ApiGetRecordSetRequest struct {
// contains filtered or unexported fields
}
func (ApiGetRecordSetRequest) Execute ¶
func (r ApiGetRecordSetRequest) Execute() (*RecordSetResponse, error)
type ApiGetZoneRequest ¶
type ApiGetZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiGetZoneRequest) Execute ¶
func (r ApiGetZoneRequest) Execute() (*ZoneResponse, error)
type ApiImportRecordSetsRequest ¶ added in v0.10.0
type ApiImportRecordSetsRequest struct {
// contains filtered or unexported fields
}
func (ApiImportRecordSetsRequest) Execute ¶ added in v0.10.0
func (r ApiImportRecordSetsRequest) Execute() (*ImportRecordSetsResponse, error)
func (ApiImportRecordSetsRequest) Format ¶ added in v0.10.0
func (r ApiImportRecordSetsRequest) Format(format string) ApiImportRecordSetsRequest
func (ApiImportRecordSetsRequest) ImportRecordSetsPayload ¶ added in v0.10.0
func (r ApiImportRecordSetsRequest) ImportRecordSetsPayload(importRecordSetsPayload ImportRecordSetsPayload) ApiImportRecordSetsRequest
func (ApiImportRecordSetsRequest) ImportType ¶ added in v0.10.0
func (r ApiImportRecordSetsRequest) ImportType(importType string) ApiImportRecordSetsRequest
type ApiListLabelsRequest ¶ added in v0.10.0
type ApiListLabelsRequest struct {
// contains filtered or unexported fields
}
func (ApiListLabelsRequest) Execute ¶ added in v0.10.0
func (r ApiListLabelsRequest) Execute() (*ListLabelsResponse, error)
type ApiListRecordSetsRequest ¶
type ApiListRecordSetsRequest struct {
// contains filtered or unexported fields
}
func (ApiListRecordSetsRequest) ActiveEq ¶
func (r ApiListRecordSetsRequest) ActiveEq(activeEq bool) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationFinishedGt ¶
func (r ApiListRecordSetsRequest) CreationFinishedGt(creationFinishedGt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationFinishedGte ¶
func (r ApiListRecordSetsRequest) CreationFinishedGte(creationFinishedGte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationFinishedLt ¶
func (r ApiListRecordSetsRequest) CreationFinishedLt(creationFinishedLt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationFinishedLte ¶
func (r ApiListRecordSetsRequest) CreationFinishedLte(creationFinishedLte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationStartedGt ¶
func (r ApiListRecordSetsRequest) CreationStartedGt(creationStartedGt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationStartedGte ¶
func (r ApiListRecordSetsRequest) CreationStartedGte(creationStartedGte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationStartedLt ¶
func (r ApiListRecordSetsRequest) CreationStartedLt(creationStartedLt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) CreationStartedLte ¶
func (r ApiListRecordSetsRequest) CreationStartedLte(creationStartedLte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) Execute ¶
func (r ApiListRecordSetsRequest) Execute() (*ListRecordSetsResponse, error)
func (ApiListRecordSetsRequest) NameEq ¶
func (r ApiListRecordSetsRequest) NameEq(nameEq string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) NameLike ¶
func (r ApiListRecordSetsRequest) NameLike(nameLike string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByCreationFinished ¶
func (r ApiListRecordSetsRequest) OrderByCreationFinished(orderByCreationFinished string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByCreationStarted ¶
func (r ApiListRecordSetsRequest) OrderByCreationStarted(orderByCreationStarted string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByName ¶
func (r ApiListRecordSetsRequest) OrderByName(orderByName string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByRecordCount ¶
func (r ApiListRecordSetsRequest) OrderByRecordCount(orderByRecordCount string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByState ¶
func (r ApiListRecordSetsRequest) OrderByState(orderByState string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByType ¶
func (r ApiListRecordSetsRequest) OrderByType(orderByType string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByUpdateFinished ¶
func (r ApiListRecordSetsRequest) OrderByUpdateFinished(orderByUpdateFinished string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) OrderByUpdateStarted ¶
func (r ApiListRecordSetsRequest) OrderByUpdateStarted(orderByUpdateStarted string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) Page ¶
func (r ApiListRecordSetsRequest) Page(page int32) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) PageSize ¶
func (r ApiListRecordSetsRequest) PageSize(pageSize int32) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) StateEq ¶
func (r ApiListRecordSetsRequest) StateEq(stateEq string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) StateNeq ¶
func (r ApiListRecordSetsRequest) StateNeq(stateNeq string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) TypeEq ¶
func (r ApiListRecordSetsRequest) TypeEq(typeEq string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateFinishedGt ¶
func (r ApiListRecordSetsRequest) UpdateFinishedGt(updateFinishedGt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateFinishedGte ¶
func (r ApiListRecordSetsRequest) UpdateFinishedGte(updateFinishedGte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateFinishedLt ¶
func (r ApiListRecordSetsRequest) UpdateFinishedLt(updateFinishedLt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateFinishedLte ¶
func (r ApiListRecordSetsRequest) UpdateFinishedLte(updateFinishedLte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateStartedGt ¶
func (r ApiListRecordSetsRequest) UpdateStartedGt(updateStartedGt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateStartedGte ¶
func (r ApiListRecordSetsRequest) UpdateStartedGte(updateStartedGte string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateStartedLt ¶
func (r ApiListRecordSetsRequest) UpdateStartedLt(updateStartedLt string) ApiListRecordSetsRequest
func (ApiListRecordSetsRequest) UpdateStartedLte ¶
func (r ApiListRecordSetsRequest) UpdateStartedLte(updateStartedLte string) ApiListRecordSetsRequest
type ApiListZonesRequest ¶
type ApiListZonesRequest struct {
// contains filtered or unexported fields
}
func (ApiListZonesRequest) ActiveEq ¶
func (r ApiListZonesRequest) ActiveEq(activeEq bool) ApiListZonesRequest
func (ApiListZonesRequest) CreationFinishedGt ¶
func (r ApiListZonesRequest) CreationFinishedGt(creationFinishedGt string) ApiListZonesRequest
func (ApiListZonesRequest) CreationFinishedGte ¶
func (r ApiListZonesRequest) CreationFinishedGte(creationFinishedGte string) ApiListZonesRequest
func (ApiListZonesRequest) CreationFinishedLt ¶
func (r ApiListZonesRequest) CreationFinishedLt(creationFinishedLt string) ApiListZonesRequest
func (ApiListZonesRequest) CreationFinishedLte ¶
func (r ApiListZonesRequest) CreationFinishedLte(creationFinishedLte string) ApiListZonesRequest
func (ApiListZonesRequest) CreationStartedGt ¶
func (r ApiListZonesRequest) CreationStartedGt(creationStartedGt string) ApiListZonesRequest
func (ApiListZonesRequest) CreationStartedGte ¶
func (r ApiListZonesRequest) CreationStartedGte(creationStartedGte string) ApiListZonesRequest
func (ApiListZonesRequest) CreationStartedLt ¶
func (r ApiListZonesRequest) CreationStartedLt(creationStartedLt string) ApiListZonesRequest
func (ApiListZonesRequest) CreationStartedLte ¶
func (r ApiListZonesRequest) CreationStartedLte(creationStartedLte string) ApiListZonesRequest
func (ApiListZonesRequest) DescriptionEq ¶
func (r ApiListZonesRequest) DescriptionEq(descriptionEq string) ApiListZonesRequest
func (ApiListZonesRequest) DescriptionLike ¶
func (r ApiListZonesRequest) DescriptionLike(descriptionLike string) ApiListZonesRequest
func (ApiListZonesRequest) DescriptionNeq ¶
func (r ApiListZonesRequest) DescriptionNeq(descriptionNeq string) ApiListZonesRequest
func (ApiListZonesRequest) DnsNameEq ¶
func (r ApiListZonesRequest) DnsNameEq(dnsNameEq string) ApiListZonesRequest
func (ApiListZonesRequest) DnsNameLike ¶
func (r ApiListZonesRequest) DnsNameLike(dnsNameLike string) ApiListZonesRequest
func (ApiListZonesRequest) Execute ¶
func (r ApiListZonesRequest) Execute() (*ListZonesResponse, error)
func (ApiListZonesRequest) IsReverseZoneEq ¶
func (r ApiListZonesRequest) IsReverseZoneEq(isReverseZoneEq bool) ApiListZonesRequest
func (ApiListZonesRequest) LabelKeyEq ¶
func (r ApiListZonesRequest) LabelKeyEq(labelKeyEq []string) ApiListZonesRequest
func (ApiListZonesRequest) LabelValueEq ¶
func (r ApiListZonesRequest) LabelValueEq(labelValueEq []string) ApiListZonesRequest
func (ApiListZonesRequest) NameEq ¶
func (r ApiListZonesRequest) NameEq(nameEq string) ApiListZonesRequest
func (ApiListZonesRequest) NameLike ¶
func (r ApiListZonesRequest) NameLike(nameLike string) ApiListZonesRequest
func (ApiListZonesRequest) NameNeq ¶
func (r ApiListZonesRequest) NameNeq(nameNeq string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByCreationFinished ¶
func (r ApiListZonesRequest) OrderByCreationFinished(orderByCreationFinished string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByCreationStarted ¶
func (r ApiListZonesRequest) OrderByCreationStarted(orderByCreationStarted string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByDescription ¶
func (r ApiListZonesRequest) OrderByDescription(orderByDescription string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByDnsName ¶
func (r ApiListZonesRequest) OrderByDnsName(orderByDnsName string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByName ¶
func (r ApiListZonesRequest) OrderByName(orderByName string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByRecordCount ¶
func (r ApiListZonesRequest) OrderByRecordCount(orderByRecordCount string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByType ¶
func (r ApiListZonesRequest) OrderByType(orderByType string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByUpdateFinished ¶
func (r ApiListZonesRequest) OrderByUpdateFinished(orderByUpdateFinished string) ApiListZonesRequest
func (ApiListZonesRequest) OrderByUpdateStarted ¶
func (r ApiListZonesRequest) OrderByUpdateStarted(orderByUpdateStarted string) ApiListZonesRequest
func (ApiListZonesRequest) Page ¶
func (r ApiListZonesRequest) Page(page int32) ApiListZonesRequest
func (ApiListZonesRequest) PageSize ¶
func (r ApiListZonesRequest) PageSize(pageSize int32) ApiListZonesRequest
func (ApiListZonesRequest) PrimaryNameServerEq ¶
func (r ApiListZonesRequest) PrimaryNameServerEq(primaryNameServerEq string) ApiListZonesRequest
func (ApiListZonesRequest) PrimaryNameServerLike ¶
func (r ApiListZonesRequest) PrimaryNameServerLike(primaryNameServerLike string) ApiListZonesRequest
func (ApiListZonesRequest) StateEq ¶
func (r ApiListZonesRequest) StateEq(stateEq string) ApiListZonesRequest
func (ApiListZonesRequest) StateNeq ¶
func (r ApiListZonesRequest) StateNeq(stateNeq string) ApiListZonesRequest
func (ApiListZonesRequest) TypeEq ¶
func (r ApiListZonesRequest) TypeEq(typeEq string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateFinishedGt ¶
func (r ApiListZonesRequest) UpdateFinishedGt(updateFinishedGt string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateFinishedGte ¶
func (r ApiListZonesRequest) UpdateFinishedGte(updateFinishedGte string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateFinishedLt ¶
func (r ApiListZonesRequest) UpdateFinishedLt(updateFinishedLt string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateFinishedLte ¶
func (r ApiListZonesRequest) UpdateFinishedLte(updateFinishedLte string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateStartedGt ¶
func (r ApiListZonesRequest) UpdateStartedGt(updateStartedGt string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateStartedGte ¶
func (r ApiListZonesRequest) UpdateStartedGte(updateStartedGte string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateStartedLt ¶
func (r ApiListZonesRequest) UpdateStartedLt(updateStartedLt string) ApiListZonesRequest
func (ApiListZonesRequest) UpdateStartedLte ¶
func (r ApiListZonesRequest) UpdateStartedLte(updateStartedLte string) ApiListZonesRequest
type ApiMoveZoneRequest ¶ added in v0.10.0
type ApiMoveZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiMoveZoneRequest) Execute ¶ added in v0.10.0
func (r ApiMoveZoneRequest) Execute() (*Message, error)
func (ApiMoveZoneRequest) MoveZonePayload ¶ added in v0.10.0
func (r ApiMoveZoneRequest) MoveZonePayload(moveZonePayload MoveZonePayload) ApiMoveZoneRequest
type ApiPartialUpdateRecordRequest ¶
type ApiPartialUpdateRecordRequest struct {
// contains filtered or unexported fields
}
func (ApiPartialUpdateRecordRequest) Execute ¶
func (r ApiPartialUpdateRecordRequest) Execute() (*Message, error)
func (ApiPartialUpdateRecordRequest) PartialUpdateRecordPayload ¶
func (r ApiPartialUpdateRecordRequest) PartialUpdateRecordPayload(partialUpdateRecordPayload PartialUpdateRecordPayload) ApiPartialUpdateRecordRequest
type ApiPartialUpdateRecordSetRequest ¶
type ApiPartialUpdateRecordSetRequest struct {
// contains filtered or unexported fields
}
func (ApiPartialUpdateRecordSetRequest) Execute ¶
func (r ApiPartialUpdateRecordSetRequest) Execute() (*Message, error)
func (ApiPartialUpdateRecordSetRequest) PartialUpdateRecordSetPayload ¶
func (r ApiPartialUpdateRecordSetRequest) PartialUpdateRecordSetPayload(partialUpdateRecordSetPayload PartialUpdateRecordSetPayload) ApiPartialUpdateRecordSetRequest
type ApiPartialUpdateZoneRequest ¶
type ApiPartialUpdateZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiPartialUpdateZoneRequest) Execute ¶
func (r ApiPartialUpdateZoneRequest) Execute() (*ZoneResponse, error)
func (ApiPartialUpdateZoneRequest) PartialUpdateZonePayload ¶
func (r ApiPartialUpdateZoneRequest) PartialUpdateZonePayload(partialUpdateZonePayload PartialUpdateZonePayload) ApiPartialUpdateZoneRequest
type ApiRestoreRecordSetRequest ¶ added in v0.10.0
type ApiRestoreRecordSetRequest struct {
// contains filtered or unexported fields
}
func (ApiRestoreRecordSetRequest) Execute ¶ added in v0.10.0
func (r ApiRestoreRecordSetRequest) Execute() (*Message, error)
type ApiRestoreZoneRequest ¶ added in v0.10.0
type ApiRestoreZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiRestoreZoneRequest) Execute ¶ added in v0.10.0
func (r ApiRestoreZoneRequest) Execute() (*Message, error)
type ApiRetrieveZoneRequest ¶ added in v0.10.0
type ApiRetrieveZoneRequest struct {
// contains filtered or unexported fields
}
func (ApiRetrieveZoneRequest) Execute ¶ added in v0.10.0
func (r ApiRetrieveZoneRequest) Execute() (*Message, error)
type ApiValidateMoveCodeRequest ¶ added in v0.10.0
type ApiValidateMoveCodeRequest struct {
// contains filtered or unexported fields
}
func (ApiValidateMoveCodeRequest) Execute ¶ added in v0.10.0
func (r ApiValidateMoveCodeRequest) Execute() (*Message, error)
func (ApiValidateMoveCodeRequest) ValidateMoveCodePayload ¶ added in v0.10.0
func (r ApiValidateMoveCodeRequest) ValidateMoveCodePayload(validateMoveCodePayload ValidateMoveCodePayload) ApiValidateMoveCodeRequest
type CloneZonePayload ¶
type CloneZonePayload struct {
// Adjust record set content and replace the dns name of the original zone with the new dns name of the cloned zone
AdjustRecords *bool `json:"adjustRecords,omitempty"`
// New Description for the cloned zone. Leave empty to use the same description as the original zone
Description *string `json:"description,omitempty"`
// DnsName is the dns name of the zone to clone
// REQUIRED
DnsName *string `json:"dnsName"`
// New Name for the cloned zone. Leave empty to use the same name as the original zone
Name *string `json:"name,omitempty"`
}
type CreateLabelPayload ¶ added in v0.10.0
type CreateLabelResponse ¶ added in v0.10.0
type CreateRecordSetPayload ¶
type CreateRecordSetPayload struct {
// user comment
Comment *string `json:"comment,omitempty"`
// name of the record which should be a valid domain according to rfc1035 Section 2.3.4
// REQUIRED
Name *string `json:"name"`
// records
// REQUIRED
Records *[]RecordPayload `json:"records"`
// time to live. If nothing provided we will set the zone ttl.
Ttl *int64 `json:"ttl,omitempty"`
// record set type
// REQUIRED
Type *string `json:"type"`
}
type CreateZonePayload ¶
type CreateZonePayload struct {
// access control list
Acl *string `json:"acl,omitempty"`
// contact e-mail for the zone
ContactEmail *string `json:"contactEmail,omitempty"`
// default time to live
DefaultTTL *int64 `json:"defaultTTL,omitempty"`
// description of the zone
Description *string `json:"description,omitempty"`
// zone name
// REQUIRED
DnsName *string `json:"dnsName"`
// expire time
ExpireTime *int64 `json:"expireTime,omitempty"`
// if the zone is a reverse zone or not
IsReverseZone *bool `json:"isReverseZone,omitempty"`
// user given name
// REQUIRED
Name *string `json:"name"`
// negative caching
NegativeCache *int64 `json:"negativeCache,omitempty"`
// primary name server for secondary zone
Primaries *[]string `json:"primaries,omitempty"`
// refresh time
RefreshTime *int64 `json:"refreshTime,omitempty"`
// retry time
RetryTime *int64 `json:"retryTime,omitempty"`
// zone type
Type *string `json:"type,omitempty"`
}
type DeleteLabelResponse ¶ added in v0.10.0
type ErrorMessage ¶
type ExportRecordSetsPayload ¶ added in v0.10.0
type ImportRecordSetsPayload ¶ added in v0.10.0
type ImportRecordSetsPayload struct {
RrSets *[]RecordDataExchange `json:"rrSets,omitempty"`
}
type ImportRecordSetsResponse ¶ added in v0.10.0
type ImportRecordSetsResponse struct {
Message *string `json:"message,omitempty"`
// REQUIRED
Summary *ImportSummary `json:"summary"`
}
type ImportSummary ¶ added in v0.10.0
type ImportSummary struct {
CreatedRRSets *int64 `json:"createdRRSets,omitempty"`
CreatedRecords *int64 `json:"createdRecords,omitempty"`
DeletedRRSets *int64 `json:"deletedRRSets,omitempty"`
DeletedRecords *int64 `json:"deletedRecords,omitempty"`
UpdatedRRSets *int64 `json:"updatedRRSets,omitempty"`
UpdatedRecords *int64 `json:"updatedRecords,omitempty"`
}
type ListLabelsResponse ¶ added in v0.10.0
type ListRecordSetsResponse ¶
type ListZonesResponse ¶
type MappedNullable ¶
type MoveCodeResponse ¶
type MoveZonePayload ¶
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 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 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 NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type PartialUpdateRecordPayload ¶
type PartialUpdateRecordPayload struct {
// REQUIRED
Action *string `json:"action"`
// records
// REQUIRED
Records *[]RecordPayload `json:"records"`
}
type PartialUpdateRecordSetPayload ¶
type PartialUpdateRecordSetPayload struct {
// user comment
Comment *string `json:"comment,omitempty"`
// rfc1035 Section 2.3.4
Name *string `json:"name,omitempty"`
// records
Records *[]RecordPayload `json:"records,omitempty"`
// time to live
Ttl *int64 `json:"ttl,omitempty"`
}
type PartialUpdateZonePayload ¶
type PartialUpdateZonePayload struct {
// access control list
Acl *string `json:"acl,omitempty"`
// contact e-mail for the zone
ContactEmail *string `json:"contactEmail,omitempty"`
// default time to live
DefaultTTL *int64 `json:"defaultTTL,omitempty"`
// description of the zone
Description *string `json:"description,omitempty"`
// expire time
ExpireTime *int64 `json:"expireTime,omitempty"`
// user given name
Name *string `json:"name,omitempty"`
// negative caching
NegativeCache *int64 `json:"negativeCache,omitempty"`
// primary name server for secondary zone
Primaries *[]string `json:"primaries,omitempty"`
// refresh time
RefreshTime *int64 `json:"refreshTime,omitempty"`
// retry time
RetryTime *int64 `json:"retryTime,omitempty"`
}
type RecordDataExchange ¶ added in v0.10.0
type RecordPayload ¶
type RecordPayload struct {
// content of the record
// REQUIRED
Content *string `json:"content"`
}
type RecordSet ¶
type RecordSet struct {
// if the record set is active or not
Active *bool `json:"active,omitempty"`
// comment
Comment *string `json:"comment,omitempty"`
// when record set creation finished
// REQUIRED
CreationFinished *string `json:"creationFinished"`
// when record set creation started
// REQUIRED
CreationStarted *string `json:"creationStarted"`
// Error shows error in case create/update/delete failed
Error *string `json:"error,omitempty"`
// rr set id
// REQUIRED
Id *string `json:"id"`
// name of the record which should be a valid domain according to rfc1035 Section 2.3.4
// REQUIRED
Name *string `json:"name"`
// records
// REQUIRED
Records *[]Record `json:"records"`
// record set state
// REQUIRED
State *string `json:"state"`
// time to live
// REQUIRED
Ttl *int64 `json:"ttl"`
// record set type
// REQUIRED
Type *string `json:"type"`
// when record set update/deletion finished
// REQUIRED
UpdateFinished *string `json:"updateFinished"`
// when record set update/deletion started
// REQUIRED
UpdateStarted *string `json:"updateStarted"`
}
type RecordSetResponse ¶
type ValidateMoveCodePayload ¶
type ValidateMoveCodePayload struct {
// code that should be validated. It validates if it is valid, not expired and belongs to the zone.
// REQUIRED
Code *string `json:"code"`
}
type Zone ¶
type Zone struct {
// access control list
// REQUIRED
Acl *string `json:"acl"`
Active *bool `json:"active,omitempty"`
// contact email from soa record
ContactEmail *string `json:"contactEmail,omitempty"`
// when zone creation finished
// REQUIRED
CreationFinished *string `json:"creationFinished"`
// when zone creation started
// REQUIRED
CreationStarted *string `json:"creationStarted"`
// default time to live
// REQUIRED
DefaultTTL *int64 `json:"defaultTTL"`
// description of the zone
Description *string `json:"description,omitempty"`
// zone name
// REQUIRED
DnsName *string `json:"dnsName"`
// Error shows error in case create/update/delete failed
Error *string `json:"error,omitempty"`
// expire time
// REQUIRED
ExpireTime *int64 `json:"expireTime"`
// zone id
// REQUIRED
Id *string `json:"id"`
// if the zone is a reverse zone or not
IsReverseZone *bool `json:"isReverseZone,omitempty"`
Labels *[]Label `json:"labels,omitempty"`
// user given name
// REQUIRED
Name *string `json:"name"`
// negative caching
// REQUIRED
NegativeCache *int64 `json:"negativeCache"`
// primary name server for secondary zone
Primaries *[]string `json:"primaries,omitempty"`
// primary name server. FQDN
// REQUIRED
PrimaryNameServer *string `json:"primaryNameServer"`
// record count how many records are in the zone
RecordCount *int64 `json:"recordCount,omitempty"`
// refresh time
// REQUIRED
RefreshTime *int64 `json:"refreshTime"`
// retry time
// REQUIRED
RetryTime *int64 `json:"retryTime"`
// serial number
// REQUIRED
SerialNumber *int64 `json:"serialNumber"`
// zone state
// REQUIRED
State *string `json:"state"`
// zone type
// REQUIRED
Type *string `json:"type"`
// when zone update/deletion finished
// REQUIRED
UpdateFinished *string `json:"updateFinished"`
// when zone update/deletion started
// REQUIRED
UpdateStarted *string `json:"updateStarted"`
// visibility of the zone
// REQUIRED
Visibility *string `json:"visibility"`
}
type ZoneDataExchange ¶ added in v0.10.0
type ZoneDataExchange struct {
RrSets *[]RecordDataExchange `json:"rrSets,omitempty"`
}
type ZoneResponse ¶
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_clone_zone_payload.go
- model_create_label_payload.go
- model_create_label_response.go
- model_create_record_set_payload.go
- model_create_zone_payload.go
- model_delete_label_response.go
- model_error_message.go
- model_export_record_sets_payload.go
- model_import_record_sets_payload.go
- model_import_record_sets_response.go
- model_import_summary.go
- model_label.go
- model_list_labels_response.go
- model_list_record_sets_response.go
- model_list_zones_response.go
- model_message.go
- model_move_code_response.go
- model_move_zone_payload.go
- model_partial_update_record_payload.go
- model_partial_update_record_set_payload.go
- model_partial_update_zone_payload.go
- model_record.go
- model_record_data_exchange.go
- model_record_payload.go
- model_record_set.go
- model_record_set_response.go
- model_validate_move_code_payload.go
- model_zone.go
- model_zone_data_exchange.go
- model_zone_response.go
- utils.go