api

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

View Source
const MaxResponseBytes int64 = 64 << 20

MaxResponseBytes is the largest response body accepted by the DANS client.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() (swagger *openapi3.T, err error)

GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.

func GetSwagger deprecated

func GetSwagger() (*openapi3.T, error)

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewAddGroupMemberRequest

func NewAddGroupMemberRequest(server string, groupId GroupID, identityId IdentityID) (*http.Request, error)

NewAddGroupMemberRequest constructs an http.Request for the AddGroupMember method

func NewAddToViewRequest

func NewAddToViewRequest(server string, serverId ServerId, view View, body AddToViewJSONRequestBody) (*http.Request, error)

NewAddToViewRequest calls the generic AddToView builder with application/json body

func NewAddToViewRequestWithBody

func NewAddToViewRequestWithBody(server string, serverId ServerId, view View, contentType string, body io.Reader) (*http.Request, error)

NewAddToViewRequestWithBody constructs an http.Request for the AddToView method, with any body, and a specified content type

func NewAxfrExportZoneRequest

func NewAxfrExportZoneRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewAxfrExportZoneRequest constructs an http.Request for the AxfrExportZone method

func NewAxfrRetrieveZoneRequest

func NewAxfrRetrieveZoneRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewAxfrRetrieveZoneRequest constructs an http.Request for the AxfrRetrieveZone method

func NewBrowseRRsetsRequest

func NewBrowseRRsetsRequest(server string, serverId string, zoneId string, params *BrowseRRsetsParams) (*http.Request, error)

NewBrowseRRsetsRequest constructs an http.Request for the BrowseRRsets method

func NewCacheFlushByNameRequest

func NewCacheFlushByNameRequest(server string, serverId ServerId, params *CacheFlushByNameParams) (*http.Request, error)

NewCacheFlushByNameRequest constructs an http.Request for the CacheFlushByName method

func NewConfirmZoneBindingAbsentRequest

func NewConfirmZoneBindingAbsentRequest(server string, zoneBindingId ZoneBindingID) (*http.Request, error)

NewConfirmZoneBindingAbsentRequest constructs an http.Request for the ConfirmZoneBindingAbsent method

func NewCreateAutoprimaryRequest

func NewCreateAutoprimaryRequest(server string, serverId ServerId, body CreateAutoprimaryJSONRequestBody) (*http.Request, error)

NewCreateAutoprimaryRequest calls the generic CreateAutoprimary builder with application/json body

func NewCreateAutoprimaryRequestWithBody

func NewCreateAutoprimaryRequestWithBody(server string, serverId ServerId, contentType string, body io.Reader) (*http.Request, error)

NewCreateAutoprimaryRequestWithBody constructs an http.Request for the CreateAutoprimary method, with any body, and a specified content type

func NewCreateBrowserSessionRequest

func NewCreateBrowserSessionRequest(server string, body CreateBrowserSessionJSONRequestBody) (*http.Request, error)

NewCreateBrowserSessionRequest calls the generic CreateBrowserSession builder with application/json body

func NewCreateBrowserSessionRequestWithBody

func NewCreateBrowserSessionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateBrowserSessionRequestWithBody constructs an http.Request for the CreateBrowserSession method, with any body, and a specified content type

func NewCreateCryptokeyRequest

func NewCreateCryptokeyRequest(server string, serverId ServerId, zoneId ZoneId, body CreateCryptokeyJSONRequestBody) (*http.Request, error)

NewCreateCryptokeyRequest calls the generic CreateCryptokey builder with application/json body

func NewCreateCryptokeyRequestWithBody

func NewCreateCryptokeyRequestWithBody(server string, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewCreateCryptokeyRequestWithBody constructs an http.Request for the CreateCryptokey method, with any body, and a specified content type

func NewCreateCurrentIdentityTokenRequest

func NewCreateCurrentIdentityTokenRequest(server string, body CreateCurrentIdentityTokenJSONRequestBody) (*http.Request, error)

NewCreateCurrentIdentityTokenRequest calls the generic CreateCurrentIdentityToken builder with application/json body

func NewCreateCurrentIdentityTokenRequestWithBody

func NewCreateCurrentIdentityTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateCurrentIdentityTokenRequestWithBody constructs an http.Request for the CreateCurrentIdentityToken method, with any body, and a specified content type

func NewCreateDelegationRequest

func NewCreateDelegationRequest(server string, body CreateDelegationJSONRequestBody) (*http.Request, error)

NewCreateDelegationRequest calls the generic CreateDelegation builder with application/json body

func NewCreateDelegationRequestWithBody

func NewCreateDelegationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDelegationRequestWithBody constructs an http.Request for the CreateDelegation method, with any body, and a specified content type

func NewCreateGroupRequest

func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)

NewCreateGroupRequest calls the generic CreateGroup builder with application/json body

func NewCreateGroupRequestWithBody

func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGroupRequestWithBody constructs an http.Request for the CreateGroup method, with any body, and a specified content type

func NewCreateIdentityRequest

func NewCreateIdentityRequest(server string, body CreateIdentityJSONRequestBody) (*http.Request, error)

NewCreateIdentityRequest calls the generic CreateIdentity builder with application/json body

func NewCreateIdentityRequestWithBody

func NewCreateIdentityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateIdentityRequestWithBody constructs an http.Request for the CreateIdentity method, with any body, and a specified content type

func NewCreateIdentityTokenRequest

func NewCreateIdentityTokenRequest(server string, identityId IdentityID, body CreateIdentityTokenJSONRequestBody) (*http.Request, error)

NewCreateIdentityTokenRequest calls the generic CreateIdentityToken builder with application/json body

func NewCreateIdentityTokenRequestWithBody

func NewCreateIdentityTokenRequestWithBody(server string, identityId IdentityID, contentType string, body io.Reader) (*http.Request, error)

NewCreateIdentityTokenRequestWithBody constructs an http.Request for the CreateIdentityToken method, with any body, and a specified content type

func NewCreateMetadataRequest

func NewCreateMetadataRequest(server string, serverId ServerId, zoneId ZoneId, body CreateMetadataJSONRequestBody) (*http.Request, error)

NewCreateMetadataRequest calls the generic CreateMetadata builder with application/json body

func NewCreateMetadataRequestWithBody

func NewCreateMetadataRequestWithBody(server string, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewCreateMetadataRequestWithBody constructs an http.Request for the CreateMetadata method, with any body, and a specified content type

func NewCreateTSIGKeyRequest

func NewCreateTSIGKeyRequest(server string, serverId ServerId, body CreateTSIGKeyJSONRequestBody) (*http.Request, error)

NewCreateTSIGKeyRequest calls the generic CreateTSIGKey builder with application/json body

func NewCreateTSIGKeyRequestWithBody

func NewCreateTSIGKeyRequestWithBody(server string, serverId ServerId, contentType string, body io.Reader) (*http.Request, error)

NewCreateTSIGKeyRequestWithBody constructs an http.Request for the CreateTSIGKey method, with any body, and a specified content type

func NewCreateZoneBindingRequest

func NewCreateZoneBindingRequest(server string, body CreateZoneBindingJSONRequestBody) (*http.Request, error)

NewCreateZoneBindingRequest calls the generic CreateZoneBinding builder with application/json body

func NewCreateZoneBindingRequestWithBody

func NewCreateZoneBindingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateZoneBindingRequestWithBody constructs an http.Request for the CreateZoneBinding method, with any body, and a specified content type

func NewCreateZoneRequest

func NewCreateZoneRequest(server string, serverId ServerId, params *CreateZoneParams, body CreateZoneJSONRequestBody) (*http.Request, error)

NewCreateZoneRequest calls the generic CreateZone builder with application/json body

func NewCreateZoneRequestWithBody

func NewCreateZoneRequestWithBody(server string, serverId ServerId, params *CreateZoneParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateZoneRequestWithBody constructs an http.Request for the CreateZone method, with any body, and a specified content type

func NewDeleteAutoprimaryRequest

func NewDeleteAutoprimaryRequest(server string, serverId ServerId, ip string, nameserver string) (*http.Request, error)

NewDeleteAutoprimaryRequest constructs an http.Request for the DeleteAutoprimary method

func NewDeleteBrowserSessionRequest

func NewDeleteBrowserSessionRequest(server string) (*http.Request, error)

NewDeleteBrowserSessionRequest constructs an http.Request for the DeleteBrowserSession method

func NewDeleteCryptokeyRequest

func NewDeleteCryptokeyRequest(server string, serverId ServerId, zoneId ZoneId, cryptokeyId string) (*http.Request, error)

NewDeleteCryptokeyRequest constructs an http.Request for the DeleteCryptokey method

func NewDeleteFromViewRequest

func NewDeleteFromViewRequest(server string, serverId ServerId, view View, id string) (*http.Request, error)

NewDeleteFromViewRequest constructs an http.Request for the DeleteFromView method

func NewDeleteMetadataRequest

func NewDeleteMetadataRequest(server string, serverId ServerId, zoneId ZoneId, metadataKind string) (*http.Request, error)

NewDeleteMetadataRequest constructs an http.Request for the DeleteMetadata method

func NewDeleteTSIGKeyRequest

func NewDeleteTSIGKeyRequest(server string, serverId ServerId, tsigkeyId string) (*http.Request, error)

NewDeleteTSIGKeyRequest constructs an http.Request for the DeleteTSIGKey method

func NewDeleteZoneRequest

func NewDeleteZoneRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewDeleteZoneRequest constructs an http.Request for the DeleteZone method

func NewExportAuditEventsRequest

func NewExportAuditEventsRequest(server string, params *ExportAuditEventsParams) (*http.Request, error)

NewExportAuditEventsRequest constructs an http.Request for the ExportAuditEvents method

func NewGetAPIDocumentRequest

func NewGetAPIDocumentRequest(server string) (*http.Request, error)

NewGetAPIDocumentRequest constructs an http.Request for the GetAPIDocument method

func NewGetAutoprimariesRequest

func NewGetAutoprimariesRequest(server string, serverId ServerId) (*http.Request, error)

NewGetAutoprimariesRequest constructs an http.Request for the GetAutoprimaries method

func NewGetConfigRequest

func NewGetConfigRequest(server string, serverId ServerId) (*http.Request, error)

NewGetConfigRequest constructs an http.Request for the GetConfig method

func NewGetConfigSettingRequest

func NewGetConfigSettingRequest(server string, serverId ServerId, configSettingName string) (*http.Request, error)

NewGetConfigSettingRequest constructs an http.Request for the GetConfigSetting method

func NewGetCryptokeyRequest

func NewGetCryptokeyRequest(server string, serverId ServerId, zoneId ZoneId, cryptokeyId string) (*http.Request, error)

NewGetCryptokeyRequest constructs an http.Request for the GetCryptokey method

func NewGetCurrentCredentialRequest

func NewGetCurrentCredentialRequest(server string) (*http.Request, error)

NewGetCurrentCredentialRequest constructs an http.Request for the GetCurrentCredential method

func NewGetCurrentIdentityRequest

func NewGetCurrentIdentityRequest(server string) (*http.Request, error)

NewGetCurrentIdentityRequest constructs an http.Request for the GetCurrentIdentity method

func NewGetDelegationRequest

func NewGetDelegationRequest(server string, delegationId DelegationID) (*http.Request, error)

NewGetDelegationRequest constructs an http.Request for the GetDelegation method

func NewGetGroupRequest

func NewGetGroupRequest(server string, groupId GroupID) (*http.Request, error)

NewGetGroupRequest constructs an http.Request for the GetGroup method

func NewGetIdentityRequest

func NewGetIdentityRequest(server string, identityId IdentityID) (*http.Request, error)

NewGetIdentityRequest constructs an http.Request for the GetIdentity method

func NewGetLivenessRequest

func NewGetLivenessRequest(server string) (*http.Request, error)

NewGetLivenessRequest constructs an http.Request for the GetLiveness method

func NewGetMetadataRequest

func NewGetMetadataRequest(server string, serverId ServerId, zoneId ZoneId, metadataKind string) (*http.Request, error)

NewGetMetadataRequest constructs an http.Request for the GetMetadata method

func NewGetNetworkRequest

func NewGetNetworkRequest(server string, serverId ServerId, ip string, prefixlen string) (*http.Request, error)

NewGetNetworkRequest constructs an http.Request for the GetNetwork method

func NewGetReadinessRequest

func NewGetReadinessRequest(server string) (*http.Request, error)

NewGetReadinessRequest constructs an http.Request for the GetReadiness method

func NewGetStatsRequest

func NewGetStatsRequest(server string, serverId ServerId, params *GetStatsParams) (*http.Request, error)

NewGetStatsRequest constructs an http.Request for the GetStats method

func NewGetTSIGKeyRequest

func NewGetTSIGKeyRequest(server string, serverId ServerId, tsigkeyId string) (*http.Request, error)

NewGetTSIGKeyRequest constructs an http.Request for the GetTSIGKey method

func NewGetZoneBindingRequest

func NewGetZoneBindingRequest(server string, zoneBindingId ZoneBindingID) (*http.Request, error)

NewGetZoneBindingRequest constructs an http.Request for the GetZoneBinding method

func NewListAuditEventsRequest

func NewListAuditEventsRequest(server string, params *ListAuditEventsParams) (*http.Request, error)

NewListAuditEventsRequest constructs an http.Request for the ListAuditEvents method

func NewListCryptokeysRequest

func NewListCryptokeysRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewListCryptokeysRequest constructs an http.Request for the ListCryptokeys method

func NewListCurrentIdentityDelegationsRequest

func NewListCurrentIdentityDelegationsRequest(server string, params *ListCurrentIdentityDelegationsParams) (*http.Request, error)

NewListCurrentIdentityDelegationsRequest constructs an http.Request for the ListCurrentIdentityDelegations method

func NewListCurrentIdentityGroupsRequest

func NewListCurrentIdentityGroupsRequest(server string, params *ListCurrentIdentityGroupsParams) (*http.Request, error)

NewListCurrentIdentityGroupsRequest constructs an http.Request for the ListCurrentIdentityGroups method

func NewListCurrentIdentityTokensRequest

func NewListCurrentIdentityTokensRequest(server string, params *ListCurrentIdentityTokensParams) (*http.Request, error)

NewListCurrentIdentityTokensRequest constructs an http.Request for the ListCurrentIdentityTokens method

func NewListDelegationsRequest

func NewListDelegationsRequest(server string, params *ListDelegationsParams) (*http.Request, error)

NewListDelegationsRequest constructs an http.Request for the ListDelegations method

func NewListGroupMembersRequest

func NewListGroupMembersRequest(server string, groupId GroupID, params *ListGroupMembersParams) (*http.Request, error)

NewListGroupMembersRequest constructs an http.Request for the ListGroupMembers method

func NewListGroupsRequest

func NewListGroupsRequest(server string, params *ListGroupsParams) (*http.Request, error)

NewListGroupsRequest constructs an http.Request for the ListGroups method

func NewListIdentitiesRequest

func NewListIdentitiesRequest(server string, params *ListIdentitiesParams) (*http.Request, error)

NewListIdentitiesRequest constructs an http.Request for the ListIdentities method

func NewListIdentityAssignmentsRequest

func NewListIdentityAssignmentsRequest(server string, identityId IdentityID, params *ListIdentityAssignmentsParams) (*http.Request, error)

NewListIdentityAssignmentsRequest constructs an http.Request for the ListIdentityAssignments method

func NewListIdentityDelegationsRequest

func NewListIdentityDelegationsRequest(server string, identityId IdentityID, params *ListIdentityDelegationsParams) (*http.Request, error)

NewListIdentityDelegationsRequest constructs an http.Request for the ListIdentityDelegations method

func NewListIdentityGroupsRequest

func NewListIdentityGroupsRequest(server string, identityId IdentityID, params *ListIdentityGroupsParams) (*http.Request, error)

NewListIdentityGroupsRequest constructs an http.Request for the ListIdentityGroups method

func NewListIdentityTokensRequest

func NewListIdentityTokensRequest(server string, identityId IdentityID, params *ListIdentityTokensParams) (*http.Request, error)

NewListIdentityTokensRequest constructs an http.Request for the ListIdentityTokens method

func NewListMetadataRequest

func NewListMetadataRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewListMetadataRequest constructs an http.Request for the ListMetadata method

func NewListNetworksRequest

func NewListNetworksRequest(server string, serverId ServerId) (*http.Request, error)

NewListNetworksRequest constructs an http.Request for the ListNetworks method

func NewListServerRequest

func NewListServerRequest(server string, serverId ServerId) (*http.Request, error)

NewListServerRequest constructs an http.Request for the ListServer method

func NewListServersRequest

func NewListServersRequest(server string) (*http.Request, error)

NewListServersRequest constructs an http.Request for the ListServers method

func NewListTSIGKeysRequest

func NewListTSIGKeysRequest(server string, serverId ServerId) (*http.Request, error)

NewListTSIGKeysRequest constructs an http.Request for the ListTSIGKeys method

func NewListViewRequest

func NewListViewRequest(server string, serverId ServerId, view View) (*http.Request, error)

NewListViewRequest constructs an http.Request for the ListView method

func NewListViewsRequest

func NewListViewsRequest(server string, serverId ServerId) (*http.Request, error)

NewListViewsRequest constructs an http.Request for the ListViews method

func NewListZoneBindingsRequest

func NewListZoneBindingsRequest(server string, params *ListZoneBindingsParams) (*http.Request, error)

NewListZoneBindingsRequest constructs an http.Request for the ListZoneBindings method

func NewListZoneRequest

func NewListZoneRequest(server string, serverId ServerId, zoneId ZoneId, params *ListZoneParams) (*http.Request, error)

NewListZoneRequest constructs an http.Request for the ListZone method

func NewListZonesRequest

func NewListZonesRequest(server string, serverId ServerId, params *ListZonesParams) (*http.Request, error)

NewListZonesRequest constructs an http.Request for the ListZones method

func NewModifyCryptokeyRequest

func NewModifyCryptokeyRequest(server string, serverId ServerId, zoneId ZoneId, cryptokeyId string, body ModifyCryptokeyJSONRequestBody) (*http.Request, error)

NewModifyCryptokeyRequest calls the generic ModifyCryptokey builder with application/json body

func NewModifyCryptokeyRequestWithBody

func NewModifyCryptokeyRequestWithBody(server string, serverId ServerId, zoneId ZoneId, cryptokeyId string, contentType string, body io.Reader) (*http.Request, error)

NewModifyCryptokeyRequestWithBody constructs an http.Request for the ModifyCryptokey method, with any body, and a specified content type

func NewModifyMetadataRequest

func NewModifyMetadataRequest(server string, serverId ServerId, zoneId ZoneId, metadataKind string, body ModifyMetadataJSONRequestBody) (*http.Request, error)

NewModifyMetadataRequest calls the generic ModifyMetadata builder with application/json body

func NewModifyMetadataRequestWithBody

func NewModifyMetadataRequestWithBody(server string, serverId ServerId, zoneId ZoneId, metadataKind string, contentType string, body io.Reader) (*http.Request, error)

NewModifyMetadataRequestWithBody constructs an http.Request for the ModifyMetadata method, with any body, and a specified content type

func NewNotifyZoneRequest

func NewNotifyZoneRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewNotifyZoneRequest constructs an http.Request for the NotifyZone method

func NewObserveZoneBindingRequest

func NewObserveZoneBindingRequest(server string, zoneBindingId ZoneBindingID) (*http.Request, error)

NewObserveZoneBindingRequest constructs an http.Request for the ObserveZoneBinding method

func NewPatchZoneRequest

func NewPatchZoneRequest(server string, serverId ServerId, zoneId ZoneId, body PatchZoneJSONRequestBody) (*http.Request, error)

NewPatchZoneRequest calls the generic PatchZone builder with application/json body

func NewPatchZoneRequestWithBody

func NewPatchZoneRequestWithBody(server string, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewPatchZoneRequestWithBody constructs an http.Request for the PatchZone method, with any body, and a specified content type

func NewPowerDNSErrorRequest

func NewPowerDNSErrorRequest(server string) (*http.Request, error)

NewPowerDNSErrorRequest constructs an http.Request for the PowerDNSError method

func NewPutTSIGKeyRequest

func NewPutTSIGKeyRequest(server string, serverId ServerId, tsigkeyId string, body PutTSIGKeyJSONRequestBody) (*http.Request, error)

NewPutTSIGKeyRequest calls the generic PutTSIGKey builder with application/json body

func NewPutTSIGKeyRequestWithBody

func NewPutTSIGKeyRequestWithBody(server string, serverId ServerId, tsigkeyId string, contentType string, body io.Reader) (*http.Request, error)

NewPutTSIGKeyRequestWithBody constructs an http.Request for the PutTSIGKey method, with any body, and a specified content type

func NewPutZoneRequest

func NewPutZoneRequest(server string, serverId ServerId, zoneId ZoneId, body PutZoneJSONRequestBody) (*http.Request, error)

NewPutZoneRequest calls the generic PutZone builder with application/json body

func NewPutZoneRequestWithBody

func NewPutZoneRequestWithBody(server string, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)

NewPutZoneRequestWithBody constructs an http.Request for the PutZone method, with any body, and a specified content type

func NewRebindZoneBindingRequest

func NewRebindZoneBindingRequest(server string, zoneBindingId ZoneBindingID, body RebindZoneBindingJSONRequestBody) (*http.Request, error)

NewRebindZoneBindingRequest calls the generic RebindZoneBinding builder with application/json body

func NewRebindZoneBindingRequestWithBody

func NewRebindZoneBindingRequestWithBody(server string, zoneBindingId ZoneBindingID, contentType string, body io.Reader) (*http.Request, error)

NewRebindZoneBindingRequestWithBody constructs an http.Request for the RebindZoneBinding method, with any body, and a specified content type

func NewRectifyZoneRequest

func NewRectifyZoneRequest(server string, serverId ServerId, zoneId ZoneId) (*http.Request, error)

NewRectifyZoneRequest constructs an http.Request for the RectifyZone method

func NewRefreshRRsetsRequest

func NewRefreshRRsetsRequest(server string, serverId string, zoneId string) (*http.Request, error)

NewRefreshRRsetsRequest constructs an http.Request for the RefreshRRsets method

func NewRemoveGroupMemberRequest

func NewRemoveGroupMemberRequest(server string, groupId GroupID, identityId IdentityID) (*http.Request, error)

NewRemoveGroupMemberRequest constructs an http.Request for the RemoveGroupMember method

func NewRetryZoneBindingDeletionRequest

func NewRetryZoneBindingDeletionRequest(server string, zoneBindingId ZoneBindingID) (*http.Request, error)

NewRetryZoneBindingDeletionRequest constructs an http.Request for the RetryZoneBindingDeletion method

func NewRevokeCurrentIdentityTokenRequest

func NewRevokeCurrentIdentityTokenRequest(server string, tokenId TokenID) (*http.Request, error)

NewRevokeCurrentIdentityTokenRequest constructs an http.Request for the RevokeCurrentIdentityToken method

func NewRevokeDelegationRequest

func NewRevokeDelegationRequest(server string, delegationId DelegationID) (*http.Request, error)

NewRevokeDelegationRequest constructs an http.Request for the RevokeDelegation method

func NewRevokeIdentityTokenRequest

func NewRevokeIdentityTokenRequest(server string, identityId IdentityID, tokenId TokenID) (*http.Request, error)

NewRevokeIdentityTokenRequest constructs an http.Request for the RevokeIdentityToken method

func NewSearchDataRequest

func NewSearchDataRequest(server string, serverId ServerId, params *SearchDataParams) (*http.Request, error)

NewSearchDataRequest constructs an http.Request for the SearchData method

func NewSetNetworkRequest

func NewSetNetworkRequest(server string, serverId ServerId, ip string, prefixlen string, body SetNetworkJSONRequestBody) (*http.Request, error)

NewSetNetworkRequest calls the generic SetNetwork builder with application/json body

func NewSetNetworkRequestWithBody

func NewSetNetworkRequestWithBody(server string, serverId ServerId, ip string, prefixlen string, contentType string, body io.Reader) (*http.Request, error)

NewSetNetworkRequestWithBody constructs an http.Request for the SetNetwork method, with any body, and a specified content type

func NewUpdateGroupRequest

func NewUpdateGroupRequest(server string, groupId GroupID, body UpdateGroupJSONRequestBody) (*http.Request, error)

NewUpdateGroupRequest calls the generic UpdateGroup builder with application/json body

func NewUpdateGroupRequestWithBody

func NewUpdateGroupRequestWithBody(server string, groupId GroupID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGroupRequestWithBody constructs an http.Request for the UpdateGroup method, with any body, and a specified content type

func NewUpdateIdentityRequest

func NewUpdateIdentityRequest(server string, identityId IdentityID, body UpdateIdentityJSONRequestBody) (*http.Request, error)

NewUpdateIdentityRequest calls the generic UpdateIdentity builder with application/json body

func NewUpdateIdentityRequestWithBody

func NewUpdateIdentityRequestWithBody(server string, identityId IdentityID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateIdentityRequestWithBody constructs an http.Request for the UpdateIdentity method, with any body, and a specified content type

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AddGroupMember204Response

type AddGroupMember204Response struct {
}

func (AddGroupMember204Response) VisitAddGroupMemberResponse

func (response AddGroupMember204Response) VisitAddGroupMemberResponse(w http.ResponseWriter) error

type AddGroupMemberRequestObject

type AddGroupMemberRequestObject struct {
	GroupId    GroupID    `json:"group_id"`
	IdentityId IdentityID `json:"identity_id"`
}

type AddGroupMemberResponse

type AddGroupMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseAddGroupMemberResponse

func ParseAddGroupMemberResponse(rsp *http.Response) (*AddGroupMemberResponse, error)

ParseAddGroupMemberResponse parses an HTTP response from a AddGroupMemberWithResponse call

func (AddGroupMemberResponse) ContentType

func (r AddGroupMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddGroupMemberResponse) GetBody

func (r AddGroupMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddGroupMemberResponse) GetJSONDefault

func (r AddGroupMemberResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AddGroupMemberResponse) Status

func (r AddGroupMemberResponse) Status() string

Status returns HTTPResponse.Status

func (AddGroupMemberResponse) StatusCode

func (r AddGroupMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddGroupMemberResponseObject

type AddGroupMemberResponseObject interface {
	VisitAddGroupMemberResponse(w http.ResponseWriter) error
}

type AddGroupMemberdefaultJSONResponse

type AddGroupMemberdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (AddGroupMemberdefaultJSONResponse) VisitAddGroupMemberResponse

func (response AddGroupMemberdefaultJSONResponse) VisitAddGroupMemberResponse(w http.ResponseWriter) error

type AddToView204Response

type AddToView204Response struct {
}

func (AddToView204Response) VisitAddToViewResponse

func (response AddToView204Response) VisitAddToViewResponse(w http.ResponseWriter) error

type AddToViewJSONBody

type AddToViewJSONBody struct {
	// Name The zone to add to the view
	Name *string `json:"name,omitempty"`
}

AddToViewJSONBody defines parameters for AddToView.

type AddToViewJSONRequestBody

type AddToViewJSONRequestBody AddToViewJSONBody

AddToViewJSONRequestBody defines body for AddToView for application/json ContentType.

type AddToViewRequestObject

type AddToViewRequestObject struct {
	ServerId ServerId `json:"server_id"`
	View     View     `json:"view"`
	Body     *AddToViewJSONRequestBody
}

type AddToViewResponse

type AddToViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseAddToViewResponse

func ParseAddToViewResponse(rsp *http.Response) (*AddToViewResponse, error)

ParseAddToViewResponse parses an HTTP response from a AddToViewWithResponse call

func (AddToViewResponse) ContentType

func (r AddToViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AddToViewResponse) GetBody

func (r AddToViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddToViewResponse) GetJSONDefault

func (r AddToViewResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AddToViewResponse) Status

func (r AddToViewResponse) Status() string

Status returns HTTPResponse.Status

func (AddToViewResponse) StatusCode

func (r AddToViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddToViewResponseObject

type AddToViewResponseObject interface {
	VisitAddToViewResponse(w http.ResponseWriter) error
}

type AddToViewdefaultJSONResponse

type AddToViewdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (AddToViewdefaultJSONResponse) VisitAddToViewResponse

func (response AddToViewdefaultJSONResponse) VisitAddToViewResponse(w http.ResponseWriter) error

type AuditEvent

type AuditEvent struct {
	Action     string                                `json:"action"`
	ActorId    nullable.Nullable[NullableResourceID] `json:"actor_id"`
	Details    map[string]interface{}                `json:"details"`
	Id         ResourceID                            `json:"id"`
	OccurredAt time.Time                             `json:"occurred_at"`
	RequestId  string                                `json:"request_id"`
	Result     string                                `json:"result"`
	TargetId   nullable.Nullable[NullableString]     `json:"target_id"`
	TargetType string                                `json:"target_type"`
}

AuditEvent defines model for AuditEvent.

type AuditEventPage

type AuditEventPage struct {
	Items      []AuditEvent                      `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

AuditEventPage defines model for AuditEventPage.

type Autoprimary

type Autoprimary struct {
	// Account Account name for the autoprimary server
	Account *string `json:"account,omitempty"`

	// Ip IP address of the autoprimary server
	Ip *string `json:"ip,omitempty"`

	// Nameserver DNS name of the autoprimary server
	Nameserver *string `json:"nameserver,omitempty"`
}

Autoprimary An autoprimary server that can provision new domains.

type AxfrExportZone200JSONResponse

type AxfrExportZone200JSONResponse string

func (AxfrExportZone200JSONResponse) VisitAxfrExportZoneResponse

func (response AxfrExportZone200JSONResponse) VisitAxfrExportZoneResponse(w http.ResponseWriter) error

type AxfrExportZoneRequestObject

type AxfrExportZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type AxfrExportZoneResponse

type AxfrExportZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseAxfrExportZoneResponse

func ParseAxfrExportZoneResponse(rsp *http.Response) (*AxfrExportZoneResponse, error)

ParseAxfrExportZoneResponse parses an HTTP response from a AxfrExportZoneWithResponse call

func (AxfrExportZoneResponse) ContentType

func (r AxfrExportZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AxfrExportZoneResponse) GetBody

func (r AxfrExportZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AxfrExportZoneResponse) GetJSON200

func (r AxfrExportZoneResponse) GetJSON200() *string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AxfrExportZoneResponse) GetJSONDefault

func (r AxfrExportZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AxfrExportZoneResponse) Status

func (r AxfrExportZoneResponse) Status() string

Status returns HTTPResponse.Status

func (AxfrExportZoneResponse) StatusCode

func (r AxfrExportZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AxfrExportZoneResponseObject

type AxfrExportZoneResponseObject interface {
	VisitAxfrExportZoneResponse(w http.ResponseWriter) error
}

type AxfrExportZonedefaultJSONResponse

type AxfrExportZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (AxfrExportZonedefaultJSONResponse) VisitAxfrExportZoneResponse

func (response AxfrExportZonedefaultJSONResponse) VisitAxfrExportZoneResponse(w http.ResponseWriter) error

type AxfrRetrieveZone200Response

type AxfrRetrieveZone200Response struct {
}

func (AxfrRetrieveZone200Response) VisitAxfrRetrieveZoneResponse

func (response AxfrRetrieveZone200Response) VisitAxfrRetrieveZoneResponse(w http.ResponseWriter) error

type AxfrRetrieveZoneRequestObject

type AxfrRetrieveZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type AxfrRetrieveZoneResponse

type AxfrRetrieveZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseAxfrRetrieveZoneResponse

func ParseAxfrRetrieveZoneResponse(rsp *http.Response) (*AxfrRetrieveZoneResponse, error)

ParseAxfrRetrieveZoneResponse parses an HTTP response from a AxfrRetrieveZoneWithResponse call

func (AxfrRetrieveZoneResponse) ContentType

func (r AxfrRetrieveZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AxfrRetrieveZoneResponse) GetBody

func (r AxfrRetrieveZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AxfrRetrieveZoneResponse) GetJSONDefault

func (r AxfrRetrieveZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AxfrRetrieveZoneResponse) Status

func (r AxfrRetrieveZoneResponse) Status() string

Status returns HTTPResponse.Status

func (AxfrRetrieveZoneResponse) StatusCode

func (r AxfrRetrieveZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AxfrRetrieveZoneResponseObject

type AxfrRetrieveZoneResponseObject interface {
	VisitAxfrRetrieveZoneResponse(w http.ResponseWriter) error
}

type AxfrRetrieveZonedefaultJSONResponse

type AxfrRetrieveZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (AxfrRetrieveZonedefaultJSONResponse) VisitAxfrRetrieveZoneResponse

func (response AxfrRetrieveZonedefaultJSONResponse) VisitAxfrRetrieveZoneResponse(w http.ResponseWriter) error

type BrowseRRsets200JSONResponse

type BrowseRRsets200JSONResponse RRsetBrowsePage

func (BrowseRRsets200JSONResponse) VisitBrowseRRsetsResponse

func (response BrowseRRsets200JSONResponse) VisitBrowseRRsetsResponse(w http.ResponseWriter) error

type BrowseRRsets202JSONResponse

type BrowseRRsets202JSONResponse RRsetBrowsePage

func (BrowseRRsets202JSONResponse) VisitBrowseRRsetsResponse

func (response BrowseRRsets202JSONResponse) VisitBrowseRRsetsResponse(w http.ResponseWriter) error

type BrowseRRsetsParams

type BrowseRRsetsParams struct {
	Name   *string                  `form:"name,omitempty" json:"name,omitempty"`
	Match  *BrowseRRsetsParamsMatch `form:"match,omitempty" json:"match,omitempty"`
	Type   *string                  `form:"type,omitempty" json:"type,omitempty"`
	Cursor *string                  `form:"cursor,omitempty" json:"cursor,omitempty"`
}

BrowseRRsetsParams defines parameters for BrowseRRsets.

type BrowseRRsetsParamsMatch

type BrowseRRsetsParamsMatch string

BrowseRRsetsParamsMatch defines parameters for BrowseRRsets.

const (
	BrowseRRsetsParamsMatchExact  BrowseRRsetsParamsMatch = "exact"
	BrowseRRsetsParamsMatchPrefix BrowseRRsetsParamsMatch = "prefix"
)

Defines values for BrowseRRsetsParamsMatch.

func (BrowseRRsetsParamsMatch) Valid

func (e BrowseRRsetsParamsMatch) Valid() bool

Valid indicates whether the value is a known member of the BrowseRRsetsParamsMatch enum.

type BrowseRRsetsRequestObject

type BrowseRRsetsRequestObject struct {
	ServerId string `json:"server_id"`
	ZoneId   string `json:"zone_id"`
	Params   BrowseRRsetsParams
}

type BrowseRRsetsResponse

type BrowseRRsetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RRsetBrowsePage
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *RRsetBrowsePage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseBrowseRRsetsResponse

func ParseBrowseRRsetsResponse(rsp *http.Response) (*BrowseRRsetsResponse, error)

ParseBrowseRRsetsResponse parses an HTTP response from a BrowseRRsetsWithResponse call

func (BrowseRRsetsResponse) ContentType

func (r BrowseRRsetsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BrowseRRsetsResponse) GetBody

func (r BrowseRRsetsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BrowseRRsetsResponse) GetJSON200

func (r BrowseRRsetsResponse) GetJSON200() *RRsetBrowsePage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BrowseRRsetsResponse) GetJSON202

func (r BrowseRRsetsResponse) GetJSON202() *RRsetBrowsePage

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (BrowseRRsetsResponse) GetJSONDefault

func (r BrowseRRsetsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BrowseRRsetsResponse) Status

func (r BrowseRRsetsResponse) Status() string

Status returns HTTPResponse.Status

func (BrowseRRsetsResponse) StatusCode

func (r BrowseRRsetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BrowseRRsetsResponseObject

type BrowseRRsetsResponseObject interface {
	VisitBrowseRRsetsResponse(w http.ResponseWriter) error
}

type BrowseRRsetsdefaultJSONResponse

type BrowseRRsetsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (BrowseRRsetsdefaultJSONResponse) VisitBrowseRRsetsResponse

func (response BrowseRRsetsdefaultJSONResponse) VisitBrowseRRsetsResponse(w http.ResponseWriter) error

type BrowserSessionMetadata

type BrowserSessionMetadata struct {
	ExpiresAt time.Time `json:"expires_at"`
}

BrowserSessionMetadata defines model for BrowserSessionMetadata.

type BrowserSignIn

type BrowserSignIn struct {
	// Token Existing API token; never returned or retained in plaintext.
	Token *string `json:"token,omitempty"`
}

BrowserSignIn defines model for BrowserSignIn.

type CacheFlushByName200JSONResponse

type CacheFlushByName200JSONResponse CacheFlushResult

func (CacheFlushByName200JSONResponse) VisitCacheFlushByNameResponse

func (response CacheFlushByName200JSONResponse) VisitCacheFlushByNameResponse(w http.ResponseWriter) error

type CacheFlushByNameParams

type CacheFlushByNameParams struct {
	// Domain The domain name to flush from the cache
	Domain string `form:"domain" json:"domain"`
}

CacheFlushByNameParams defines parameters for CacheFlushByName.

type CacheFlushByNameRequestObject

type CacheFlushByNameRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Params   CacheFlushByNameParams
}

type CacheFlushByNameResponse

type CacheFlushByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CacheFlushResult
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseCacheFlushByNameResponse

func ParseCacheFlushByNameResponse(rsp *http.Response) (*CacheFlushByNameResponse, error)

ParseCacheFlushByNameResponse parses an HTTP response from a CacheFlushByNameWithResponse call

func (CacheFlushByNameResponse) ContentType

func (r CacheFlushByNameResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CacheFlushByNameResponse) GetBody

func (r CacheFlushByNameResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CacheFlushByNameResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CacheFlushByNameResponse) GetJSONDefault

func (r CacheFlushByNameResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CacheFlushByNameResponse) Status

func (r CacheFlushByNameResponse) Status() string

Status returns HTTPResponse.Status

func (CacheFlushByNameResponse) StatusCode

func (r CacheFlushByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CacheFlushByNameResponseObject

type CacheFlushByNameResponseObject interface {
	VisitCacheFlushByNameResponse(w http.ResponseWriter) error
}

type CacheFlushByNamedefaultJSONResponse

type CacheFlushByNamedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CacheFlushByNamedefaultJSONResponse) VisitCacheFlushByNameResponse

func (response CacheFlushByNamedefaultJSONResponse) VisitCacheFlushByNameResponse(w http.ResponseWriter) error

type CacheFlushResult

type CacheFlushResult struct {
	// Count Amount of entries flushed
	Count *float32 `json:"count,omitempty"`

	// Result A message about the result like "Flushed cache"
	Result *string `json:"result,omitempty"`
}

CacheFlushResult The result of a cache-flush

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddGroupMember

func (c *Client) AddGroupMember(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*http.Response, error)

AddGroupMember performs a PUT /dans/groups/{group_id}/members/{identity_id} (the `AddGroupMember` operationId) request.

func (*Client) AddToView

func (c *Client) AddToView(ctx context.Context, serverId ServerId, view View, body AddToViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddToView Adds a zone to a given view, creating it if needed

Takes a body of the `application/json` content type.

Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).

func (*Client) AddToViewWithBody

func (c *Client) AddToViewWithBody(ctx context.Context, serverId ServerId, view View, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AddToViewWithBody Adds a zone to a given view, creating it if needed

Takes any type of body and a specified content type.

Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).

func (*Client) AxfrExportZone

func (c *Client) AxfrExportZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

AxfrExportZone Returns the zone in AXFR format.

Corresponds with GET /servers/{server_id}/zones/{zone_id}/export (the `AxfrExportZone` operationId).

func (*Client) AxfrRetrieveZone

func (c *Client) AxfrRetrieveZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/axfr-retrieve (the `AxfrRetrieveZone` operationId).

func (*Client) BrowseRRsets

func (c *Client) BrowseRRsets(ctx context.Context, serverId string, zoneId string, params *BrowseRRsetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BrowseRRsets performs a GET /dans/servers/{server_id}/zones/{zone_id}/rrsets (the `BrowseRRsets` operationId) request.

func (*Client) CacheFlushByName

func (c *Client) CacheFlushByName(ctx context.Context, serverId ServerId, params *CacheFlushByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CacheFlushByName Flush a cache-entry by name

Corresponds with PUT /servers/{server_id}/cache/flush (the `CacheFlushByName` operationId).

func (*Client) ConfirmZoneBindingAbsent

func (c *Client) ConfirmZoneBindingAbsent(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

ConfirmZoneBindingAbsent performs a POST /dans/zone-bindings/{zone_binding_id}/confirm-absent (the `ConfirmZoneBindingAbsent` operationId) request.

func (*Client) CreateAutoprimary

func (c *Client) CreateAutoprimary(ctx context.Context, serverId ServerId, body CreateAutoprimaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAutoprimary Add an autoprimary

This methods add a new autoprimary server.

Takes a body of the `application/json` content type.

Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).

func (*Client) CreateAutoprimaryWithBody

func (c *Client) CreateAutoprimaryWithBody(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAutoprimaryWithBody Add an autoprimary

This methods add a new autoprimary server.

Takes any type of body and a specified content type.

Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).

func (*Client) CreateBrowserSession

func (c *Client) CreateBrowserSession(ctx context.Context, body CreateBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateBrowserSession Sign in with an existing API token.

Takes a body of the `application/json` content type.

Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).

func (*Client) CreateBrowserSessionWithBody

func (c *Client) CreateBrowserSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateBrowserSessionWithBody Sign in with an existing API token.

Takes any type of body and a specified content type.

Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).

func (*Client) CreateCryptokey

func (c *Client) CreateCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Takes a body of the `application/json` content type.

Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).

func (*Client) CreateCryptokeyWithBody

func (c *Client) CreateCryptokeyWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateCryptokeyWithBody 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.

Takes any type of body and a specified content type.

Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).

func (*Client) CreateCurrentIdentityToken

func (c *Client) CreateCurrentIdentityToken(ctx context.Context, body CreateCurrentIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateCurrentIdentityToken performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateCurrentIdentityTokenWithBody

func (c *Client) CreateCurrentIdentityTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateCurrentIdentityTokenWithBody performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request, with any type of body and a specified content type.

func (*Client) CreateDelegation

func (c *Client) CreateDelegation(ctx context.Context, body CreateDelegationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDelegation performs a POST /dans/delegations (the `CreateDelegation` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateDelegationWithBody

func (c *Client) CreateDelegationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDelegationWithBody performs a POST /dans/delegations (the `CreateDelegation` operationId) request, with any type of body and a specified content type.

func (*Client) CreateGroup

func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGroup performs a POST /dans/groups (the `CreateGroup` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateGroupWithBody

func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateGroupWithBody performs a POST /dans/groups (the `CreateGroup` operationId) request, with any type of body and a specified content type.

func (*Client) CreateIdentity

func (c *Client) CreateIdentity(ctx context.Context, body CreateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateIdentity performs a POST /dans/identities (the `CreateIdentity` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateIdentityToken

func (c *Client) CreateIdentityToken(ctx context.Context, identityId IdentityID, body CreateIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateIdentityToken performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateIdentityTokenWithBody

func (c *Client) CreateIdentityTokenWithBody(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateIdentityTokenWithBody performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request, with any type of body and a specified content type.

func (*Client) CreateIdentityWithBody

func (c *Client) CreateIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateIdentityWithBody performs a POST /dans/identities (the `CreateIdentity` operationId) request, with any type of body and a specified content type.

func (*Client) CreateMetadata

func (c *Client) CreateMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Takes a body of the `application/json` content type.

Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).

func (*Client) CreateMetadataWithBody

func (c *Client) CreateMetadataWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateMetadataWithBody 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.

Takes any type of body and a specified content type.

Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).

func (*Client) CreateTSIGKey

func (c *Client) CreateTSIGKey(ctx context.Context, serverId ServerId, body CreateTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

Takes a body of the `application/json` content type.

Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).

func (*Client) CreateTSIGKeyWithBody

func (c *Client) CreateTSIGKeyWithBody(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTSIGKeyWithBody 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

Takes any type of body and a specified content type.

Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).

func (*Client) CreateZone

func (c *Client) CreateZone(ctx context.Context, serverId ServerId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateZone Creates a new domain, returns the Zone on creation.

Takes a body of the `application/json` content type.

Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).

func (*Client) CreateZoneBinding

func (c *Client) CreateZoneBinding(ctx context.Context, body CreateZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateZoneBinding performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request. Takes a body of the `application/json` content type.

func (*Client) CreateZoneBindingWithBody

func (c *Client) CreateZoneBindingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateZoneBindingWithBody performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request, with any type of body and a specified content type.

func (*Client) CreateZoneWithBody

func (c *Client) CreateZoneWithBody(ctx context.Context, serverId ServerId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateZoneWithBody Creates a new domain, returns the Zone on creation.

Takes any type of body and a specified content type.

Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).

func (*Client) DeleteAutoprimary

func (c *Client) DeleteAutoprimary(ctx context.Context, serverId ServerId, ip string, nameserver string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAutoprimary Delete the autoprimary entry

Corresponds with DELETE /servers/{server_id}/autoprimaries/{ip}/{nameserver} (the `DeleteAutoprimary` operationId).

func (*Client) DeleteBrowserSession

func (c *Client) DeleteBrowserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteBrowserSession Clear this browser session without revoking its API token.

Corresponds with DELETE /dans/session (the `DeleteBrowserSession` operationId).

func (*Client) DeleteCryptokey

func (c *Client) DeleteCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteCryptokey This method deletes a key specified by cryptokey_id.

Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `DeleteCryptokey` operationId).

func (*Client) DeleteFromView

func (c *Client) DeleteFromView(ctx context.Context, serverId ServerId, view View, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteFromView Removes the given zone from the given view

Corresponds with DELETE /servers/{server_id}/views/{view}/{id} (the `DeleteFromView` operationId).

func (*Client) DeleteMetadata

func (c *Client) DeleteMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteMetadata Delete all items of a single kind of domain metadata.

Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `DeleteMetadata` operationId).

func (*Client) DeleteTSIGKey

func (c *Client) DeleteTSIGKey(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTSIGKey Delete the TSIGKey with tsigkey_id

Corresponds with DELETE /servers/{server_id}/tsigkeys/{tsigkey_id} (the `DeleteTSIGKey` operationId).

func (*Client) DeleteZone

func (c *Client) DeleteZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteZone Deletes this zone, all attached metadata and rrsets.

Corresponds with DELETE /servers/{server_id}/zones/{zone_id} (the `DeleteZone` operationId).

func (*Client) ExportAuditEvents

func (c *Client) ExportAuditEvents(ctx context.Context, params *ExportAuditEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportAuditEvents performs a GET /dans/audit-events/export (the `ExportAuditEvents` operationId) request.

Traverses live history in bounded pages, reauthenticating before each page. An interrupted transfer is incomplete; no cross-page snapshot is promised.

func (*Client) GetAPIDocument

func (c *Client) GetAPIDocument(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAPIDocument Return this combined OpenAPI document.

Corresponds with GET /api/docs (the `GetAPIDocument` operationId).

func (*Client) GetAutoprimaries

func (c *Client) GetAutoprimaries(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAutoprimaries Get a list of autoprimaries

Corresponds with GET /servers/{server_id}/autoprimaries (the `GetAutoprimaries` operationId).

func (*Client) GetConfig

func (c *Client) GetConfig(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetConfig Returns all ConfigSettings for a single server

Corresponds with GET /servers/{server_id}/config (the `GetConfig` operationId).

func (*Client) GetConfigSetting

func (c *Client) GetConfigSetting(ctx context.Context, serverId ServerId, configSettingName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetConfigSetting Returns a specific ConfigSetting for a single server

NOT IMPLEMENTED.

Corresponds with GET /servers/{server_id}/config/{config_setting_name} (the `GetConfigSetting` operationId).

func (*Client) GetCryptokey

func (c *Client) GetCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCryptokey Returns all data about the CryptoKey, including the privatekey.

Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `GetCryptokey` operationId).

func (*Client) GetCurrentCredential

func (c *Client) GetCurrentCredential(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCurrentCredential performs a GET /dans/me/credential (the `GetCurrentCredential` operationId) request.

func (*Client) GetCurrentIdentity

func (c *Client) GetCurrentIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCurrentIdentity performs a GET /dans/me (the `GetCurrentIdentity` operationId) request.

func (*Client) GetDelegation

func (c *Client) GetDelegation(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDelegation performs a GET /dans/delegations/{delegation_id} (the `GetDelegation` operationId) request.

func (*Client) GetGroup

func (c *Client) GetGroup(ctx context.Context, groupId GroupID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGroup performs a GET /dans/groups/{group_id} (the `GetGroup` operationId) request.

func (*Client) GetIdentity

func (c *Client) GetIdentity(ctx context.Context, identityId IdentityID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetIdentity performs a GET /dans/identities/{identity_id} (the `GetIdentity` operationId) request.

func (*Client) GetLiveness

func (c *Client) GetLiveness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLiveness Report process liveness.

Corresponds with GET /livez (the `GetLiveness` operationId).

func (*Client) GetMetadata

func (c *Client) GetMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMetadata Get the content of a single kind of domain metadata as a Metadata object.

Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `GetMetadata` operationId).

func (*Client) GetNetwork

func (c *Client) GetNetwork(ctx context.Context, serverId ServerId, ip string, prefixlen string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetNetwork Return the view associated to the given network

Corresponds with GET /servers/{server_id}/networks/{ip}/{prefixlen} (the `GetNetwork` operationId).

func (*Client) GetReadiness

func (c *Client) GetReadiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReadiness Report whether authenticated API traffic can be served.

Corresponds with GET /readyz (the `GetReadiness` operationId).

func (*Client) GetStats

func (c *Client) GetStats(ctx context.Context, serverId ServerId, params *GetStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetStats Query statistics.

Query PowerDNS internal statistics.

Corresponds with GET /servers/{server_id}/statistics (the `GetStats` operationId).

func (*Client) GetTSIGKey

func (c *Client) GetTSIGKey(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTSIGKey Get a specific TSIGKeys on the server, including the actual key

Corresponds with GET /servers/{server_id}/tsigkeys/{tsigkey_id} (the `GetTSIGKey` operationId).

func (*Client) GetZoneBinding

func (c *Client) GetZoneBinding(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetZoneBinding performs a GET /dans/zone-bindings/{zone_binding_id} (the `GetZoneBinding` operationId) request.

func (*Client) ListAuditEvents

func (c *Client) ListAuditEvents(ctx context.Context, params *ListAuditEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAuditEvents performs a GET /dans/audit-events (the `ListAuditEvents` operationId) request.

func (*Client) ListCryptokeys

func (c *Client) ListCryptokeys(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListCryptokeys Get all CryptoKeys for a zone, except the privatekey

Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys (the `ListCryptokeys` operationId).

func (*Client) ListCurrentIdentityDelegations

func (c *Client) ListCurrentIdentityDelegations(ctx context.Context, params *ListCurrentIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListCurrentIdentityDelegations performs a GET /dans/me/delegations (the `ListCurrentIdentityDelegations` operationId) request.

func (*Client) ListCurrentIdentityGroups

func (c *Client) ListCurrentIdentityGroups(ctx context.Context, params *ListCurrentIdentityGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListCurrentIdentityGroups performs a GET /dans/me/groups (the `ListCurrentIdentityGroups` operationId) request.

func (*Client) ListCurrentIdentityTokens

func (c *Client) ListCurrentIdentityTokens(ctx context.Context, params *ListCurrentIdentityTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListCurrentIdentityTokens performs a GET /dans/me/tokens (the `ListCurrentIdentityTokens` operationId) request.

func (*Client) ListDelegations

func (c *Client) ListDelegations(ctx context.Context, params *ListDelegationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListDelegations performs a GET /dans/delegations (the `ListDelegations` operationId) request.

func (*Client) ListGroupMembers

func (c *Client) ListGroupMembers(ctx context.Context, groupId GroupID, params *ListGroupMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListGroupMembers performs a GET /dans/groups/{group_id}/members (the `ListGroupMembers` operationId) request.

func (*Client) ListGroups

func (c *Client) ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListGroups performs a GET /dans/groups (the `ListGroups` operationId) request.

func (*Client) ListIdentities

func (c *Client) ListIdentities(ctx context.Context, params *ListIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListIdentities performs a GET /dans/identities (the `ListIdentities` operationId) request.

func (*Client) ListIdentityAssignments

func (c *Client) ListIdentityAssignments(ctx context.Context, identityId IdentityID, params *ListIdentityAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListIdentityAssignments performs a GET /dans/identities/{identity_id}/assignments (the `ListIdentityAssignments` operationId) request.

func (*Client) ListIdentityDelegations

func (c *Client) ListIdentityDelegations(ctx context.Context, identityId IdentityID, params *ListIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListIdentityDelegations performs a GET /dans/identities/{identity_id}/delegations (the `ListIdentityDelegations` operationId) request.

func (*Client) ListIdentityGroups

func (c *Client) ListIdentityGroups(ctx context.Context, identityId IdentityID, params *ListIdentityGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListIdentityGroups performs a GET /dans/identities/{identity_id}/groups (the `ListIdentityGroups` operationId) request.

func (*Client) ListIdentityTokens

func (c *Client) ListIdentityTokens(ctx context.Context, identityId IdentityID, params *ListIdentityTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListIdentityTokens performs a GET /dans/identities/{identity_id}/tokens (the `ListIdentityTokens` operationId) request.

func (*Client) ListMetadata

func (c *Client) ListMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListMetadata Get all the Metadata associated with the zone.

Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata (the `ListMetadata` operationId).

func (*Client) ListNetworks

func (c *Client) ListNetworks(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListNetworks List all registered networks and views in a server

Corresponds with GET /servers/{server_id}/networks (the `ListNetworks` operationId).

func (*Client) ListServer

func (c *Client) ListServer(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListServer List a server

Corresponds with GET /servers/{server_id} (the `ListServer` operationId).

func (*Client) ListServers

func (c *Client) ListServers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListServers List all servers

Corresponds with GET /servers (the `ListServers` operationId).

func (*Client) ListTSIGKeys

func (c *Client) ListTSIGKeys(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListTSIGKeys Get all TSIGKeys on the server, except the actual key

Corresponds with GET /servers/{server_id}/tsigkeys (the `ListTSIGKeys` operationId).

func (*Client) ListView

func (c *Client) ListView(ctx context.Context, serverId ServerId, view View, reqEditors ...RequestEditorFn) (*http.Response, error)

ListView List the contents of a given view

Corresponds with GET /servers/{server_id}/views/{view} (the `ListView` operationId).

func (*Client) ListViews

func (c *Client) ListViews(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListViews List all views in a server

Corresponds with GET /servers/{server_id}/views (the `ListViews` operationId).

func (*Client) ListZone

func (c *Client) ListZone(ctx context.Context, serverId ServerId, zoneId ZoneId, params *ListZoneParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListZone zone managed by a server

Corresponds with GET /servers/{server_id}/zones/{zone_id} (the `ListZone` operationId).

func (*Client) ListZoneBindings

func (c *Client) ListZoneBindings(ctx context.Context, params *ListZoneBindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListZoneBindings performs a GET /dans/zone-bindings (the `ListZoneBindings` operationId) request.

func (*Client) ListZones

func (c *Client) ListZones(ctx context.Context, serverId ServerId, params *ListZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListZones List all Zones in a server

Corresponds with GET /servers/{server_id}/zones (the `ListZones` operationId).

func (*Client) ModifyCryptokey

func (c *Client) ModifyCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, body ModifyCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyCryptokey This method (de)activates a key from zone_name specified by cryptokey_id

Takes a body of the `application/json` content type.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).

func (*Client) ModifyCryptokeyWithBody

func (c *Client) ModifyCryptokeyWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyCryptokeyWithBody This method (de)activates a key from zone_name specified by cryptokey_id

Takes any type of body and a specified content type.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).

func (*Client) ModifyMetadata

func (c *Client) ModifyMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, body ModifyMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Takes a body of the `application/json` content type.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).

func (*Client) ModifyMetadataWithBody

func (c *Client) ModifyMetadataWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ModifyMetadataWithBody 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.

Takes any type of body and a specified content type.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).

func (*Client) NotifyZone

func (c *Client) NotifyZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/notify (the `NotifyZone` operationId).

func (*Client) ObserveZoneBinding

func (c *Client) ObserveZoneBinding(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

ObserveZoneBinding performs a POST /dans/zone-bindings/{zone_binding_id}/observe (the `ObserveZoneBinding` operationId) request.

func (*Client) PatchZone

func (c *Client) PatchZone(ctx context.Context, serverId ServerId, zoneId ZoneId, body PatchZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchZone Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.

Takes a body of the `application/json` content type.

Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).

func (*Client) PatchZoneWithBody

func (c *Client) PatchZoneWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchZoneWithBody Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.

Takes any type of body and a specified content type.

Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).

func (*Client) PowerDNSError

func (c *Client) PowerDNSError(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

PowerDNSError Will always generate an error

Corresponds with GET /error (the `PowerDNSError` operationId).

func (*Client) PutTSIGKey

func (c *Client) PutTSIGKey(ctx context.Context, serverId ServerId, tsigkeyId string, body PutTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutTSIGKey performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request. Takes a body of the `application/json` content type.

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.

func (*Client) PutTSIGKeyWithBody

func (c *Client) PutTSIGKeyWithBody(ctx context.Context, serverId ServerId, tsigkeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutTSIGKeyWithBody performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request, with any type of body and a specified content type.

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.

func (*Client) PutZone

func (c *Client) PutZone(ctx context.Context, serverId ServerId, zoneId ZoneId, body PutZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Takes a body of the `application/json` content type.

Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).

func (*Client) PutZoneWithBody

func (c *Client) PutZoneWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutZoneWithBody 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.

Takes any type of body and a specified content type.

Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).

func (*Client) RebindZoneBinding

func (c *Client) RebindZoneBinding(ctx context.Context, zoneBindingId ZoneBindingID, body RebindZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RebindZoneBinding performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request. Takes a body of the `application/json` content type.

func (*Client) RebindZoneBindingWithBody

func (c *Client) RebindZoneBindingWithBody(ctx context.Context, zoneBindingId ZoneBindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RebindZoneBindingWithBody performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request, with any type of body and a specified content type.

func (*Client) RectifyZone

func (c *Client) RectifyZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/rectify (the `RectifyZone` operationId).

func (*Client) RefreshRRsets

func (c *Client) RefreshRRsets(ctx context.Context, serverId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

RefreshRRsets performs a POST /dans/servers/{server_id}/zones/{zone_id}/rrsets/refresh (the `RefreshRRsets` operationId) request.

func (*Client) RemoveGroupMember

func (c *Client) RemoveGroupMember(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveGroupMember performs a DELETE /dans/groups/{group_id}/members/{identity_id} (the `RemoveGroupMember` operationId) request.

func (*Client) RetryZoneBindingDeletion

func (c *Client) RetryZoneBindingDeletion(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

RetryZoneBindingDeletion performs a POST /dans/zone-bindings/{zone_binding_id}/retry-delete (the `RetryZoneBindingDeletion` operationId) request.

func (*Client) RevokeCurrentIdentityToken

func (c *Client) RevokeCurrentIdentityToken(ctx context.Context, tokenId TokenID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeCurrentIdentityToken performs a DELETE /dans/me/tokens/{token_id} (the `RevokeCurrentIdentityToken` operationId) request.

func (*Client) RevokeDelegation

func (c *Client) RevokeDelegation(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeDelegation performs a DELETE /dans/delegations/{delegation_id} (the `RevokeDelegation` operationId) request.

func (*Client) RevokeIdentityToken

func (c *Client) RevokeIdentityToken(ctx context.Context, identityId IdentityID, tokenId TokenID, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeIdentityToken performs a DELETE /dans/identities/{identity_id}/tokens/{token_id} (the `RevokeIdentityToken` operationId) request.

func (*Client) SearchData

func (c *Client) SearchData(ctx context.Context, serverId ServerId, params *SearchDataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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.

Corresponds with GET /servers/{server_id}/search-data (the `SearchData` operationId).

func (*Client) SetNetwork

func (c *Client) SetNetwork(ctx context.Context, serverId ServerId, ip string, prefixlen string, body SetNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetNetwork Sets the view associated to the given network

Takes a body of the `application/json` content type.

Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).

func (*Client) SetNetworkWithBody

func (c *Client) SetNetworkWithBody(ctx context.Context, serverId ServerId, ip string, prefixlen string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetNetworkWithBody Sets the view associated to the given network

Takes any type of body and a specified content type.

Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).

func (*Client) UpdateGroup

func (c *Client) UpdateGroup(ctx context.Context, groupId GroupID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGroup performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request. Takes a body of the `application/json` content type.

func (*Client) UpdateGroupWithBody

func (c *Client) UpdateGroupWithBody(ctx context.Context, groupId GroupID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGroupWithBody performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request, with any type of body and a specified content type.

func (*Client) UpdateIdentity

func (c *Client) UpdateIdentity(ctx context.Context, identityId IdentityID, body UpdateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateIdentity performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request. Takes a body of the `application/json` content type.

func (*Client) UpdateIdentityWithBody

func (c *Client) UpdateIdentityWithBody(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateIdentityWithBody performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request, with any type of body and a specified content type.

type ClientInterface

type ClientInterface interface {

	// GetAPIDocument Return this combined OpenAPI document.
	//
	// Corresponds with GET /api/docs (the `GetAPIDocument` operationId).
	GetAPIDocument(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAuditEvents performs a GET /dans/audit-events (the `ListAuditEvents` operationId) request.
	ListAuditEvents(ctx context.Context, params *ListAuditEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportAuditEvents performs a GET /dans/audit-events/export (the `ExportAuditEvents` operationId) request.
	//
	// Traverses live history in bounded pages, reauthenticating before each page. An interrupted transfer is incomplete; no cross-page snapshot is promised.
	ExportAuditEvents(ctx context.Context, params *ExportAuditEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDelegations performs a GET /dans/delegations (the `ListDelegations` operationId) request.
	ListDelegations(ctx context.Context, params *ListDelegationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDelegationWithBody performs a POST /dans/delegations (the `CreateDelegation` operationId) request,
	// with any type of body and a specified content type.
	CreateDelegationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDelegation performs a POST /dans/delegations (the `CreateDelegation` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateDelegation(ctx context.Context, body CreateDelegationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeDelegation performs a DELETE /dans/delegations/{delegation_id} (the `RevokeDelegation` operationId) request.
	RevokeDelegation(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDelegation performs a GET /dans/delegations/{delegation_id} (the `GetDelegation` operationId) request.
	GetDelegation(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGroups performs a GET /dans/groups (the `ListGroups` operationId) request.
	ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGroupWithBody performs a POST /dans/groups (the `CreateGroup` operationId) request,
	// with any type of body and a specified content type.
	CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGroup performs a POST /dans/groups (the `CreateGroup` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGroup performs a GET /dans/groups/{group_id} (the `GetGroup` operationId) request.
	GetGroup(ctx context.Context, groupId GroupID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGroupWithBody performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request,
	// with any type of body and a specified content type.
	UpdateGroupWithBody(ctx context.Context, groupId GroupID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGroup performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request.
	// Takes a body of the `application/json` content type.
	UpdateGroup(ctx context.Context, groupId GroupID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGroupMembers performs a GET /dans/groups/{group_id}/members (the `ListGroupMembers` operationId) request.
	ListGroupMembers(ctx context.Context, groupId GroupID, params *ListGroupMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveGroupMember performs a DELETE /dans/groups/{group_id}/members/{identity_id} (the `RemoveGroupMember` operationId) request.
	RemoveGroupMember(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddGroupMember performs a PUT /dans/groups/{group_id}/members/{identity_id} (the `AddGroupMember` operationId) request.
	AddGroupMember(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIdentities performs a GET /dans/identities (the `ListIdentities` operationId) request.
	ListIdentities(ctx context.Context, params *ListIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateIdentityWithBody performs a POST /dans/identities (the `CreateIdentity` operationId) request,
	// with any type of body and a specified content type.
	CreateIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateIdentity performs a POST /dans/identities (the `CreateIdentity` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateIdentity(ctx context.Context, body CreateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIdentity performs a GET /dans/identities/{identity_id} (the `GetIdentity` operationId) request.
	GetIdentity(ctx context.Context, identityId IdentityID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateIdentityWithBody performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request,
	// with any type of body and a specified content type.
	UpdateIdentityWithBody(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateIdentity performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request.
	// Takes a body of the `application/json` content type.
	UpdateIdentity(ctx context.Context, identityId IdentityID, body UpdateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIdentityAssignments performs a GET /dans/identities/{identity_id}/assignments (the `ListIdentityAssignments` operationId) request.
	ListIdentityAssignments(ctx context.Context, identityId IdentityID, params *ListIdentityAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIdentityDelegations performs a GET /dans/identities/{identity_id}/delegations (the `ListIdentityDelegations` operationId) request.
	ListIdentityDelegations(ctx context.Context, identityId IdentityID, params *ListIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIdentityGroups performs a GET /dans/identities/{identity_id}/groups (the `ListIdentityGroups` operationId) request.
	ListIdentityGroups(ctx context.Context, identityId IdentityID, params *ListIdentityGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIdentityTokens performs a GET /dans/identities/{identity_id}/tokens (the `ListIdentityTokens` operationId) request.
	ListIdentityTokens(ctx context.Context, identityId IdentityID, params *ListIdentityTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateIdentityTokenWithBody performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request,
	// with any type of body and a specified content type.
	CreateIdentityTokenWithBody(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateIdentityToken performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateIdentityToken(ctx context.Context, identityId IdentityID, body CreateIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeIdentityToken performs a DELETE /dans/identities/{identity_id}/tokens/{token_id} (the `RevokeIdentityToken` operationId) request.
	RevokeIdentityToken(ctx context.Context, identityId IdentityID, tokenId TokenID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentIdentity performs a GET /dans/me (the `GetCurrentIdentity` operationId) request.
	GetCurrentIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentCredential performs a GET /dans/me/credential (the `GetCurrentCredential` operationId) request.
	GetCurrentCredential(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCurrentIdentityDelegations performs a GET /dans/me/delegations (the `ListCurrentIdentityDelegations` operationId) request.
	ListCurrentIdentityDelegations(ctx context.Context, params *ListCurrentIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCurrentIdentityGroups performs a GET /dans/me/groups (the `ListCurrentIdentityGroups` operationId) request.
	ListCurrentIdentityGroups(ctx context.Context, params *ListCurrentIdentityGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCurrentIdentityTokens performs a GET /dans/me/tokens (the `ListCurrentIdentityTokens` operationId) request.
	ListCurrentIdentityTokens(ctx context.Context, params *ListCurrentIdentityTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCurrentIdentityTokenWithBody performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request,
	// with any type of body and a specified content type.
	CreateCurrentIdentityTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCurrentIdentityToken performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateCurrentIdentityToken(ctx context.Context, body CreateCurrentIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeCurrentIdentityToken performs a DELETE /dans/me/tokens/{token_id} (the `RevokeCurrentIdentityToken` operationId) request.
	RevokeCurrentIdentityToken(ctx context.Context, tokenId TokenID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BrowseRRsets performs a GET /dans/servers/{server_id}/zones/{zone_id}/rrsets (the `BrowseRRsets` operationId) request.
	BrowseRRsets(ctx context.Context, serverId string, zoneId string, params *BrowseRRsetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefreshRRsets performs a POST /dans/servers/{server_id}/zones/{zone_id}/rrsets/refresh (the `RefreshRRsets` operationId) request.
	RefreshRRsets(ctx context.Context, serverId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBrowserSession Clear this browser session without revoking its API token.
	//
	// Corresponds with DELETE /dans/session (the `DeleteBrowserSession` operationId).
	DeleteBrowserSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBrowserSessionWithBody Sign in with an existing API token.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).
	CreateBrowserSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBrowserSession Sign in with an existing API token.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).
	CreateBrowserSession(ctx context.Context, body CreateBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListZoneBindings performs a GET /dans/zone-bindings (the `ListZoneBindings` operationId) request.
	ListZoneBindings(ctx context.Context, params *ListZoneBindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateZoneBindingWithBody performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request,
	// with any type of body and a specified content type.
	CreateZoneBindingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateZoneBinding performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request.
	// Takes a body of the `application/json` content type.
	CreateZoneBinding(ctx context.Context, body CreateZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetZoneBinding performs a GET /dans/zone-bindings/{zone_binding_id} (the `GetZoneBinding` operationId) request.
	GetZoneBinding(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConfirmZoneBindingAbsent performs a POST /dans/zone-bindings/{zone_binding_id}/confirm-absent (the `ConfirmZoneBindingAbsent` operationId) request.
	ConfirmZoneBindingAbsent(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObserveZoneBinding performs a POST /dans/zone-bindings/{zone_binding_id}/observe (the `ObserveZoneBinding` operationId) request.
	ObserveZoneBinding(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RebindZoneBindingWithBody performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request,
	// with any type of body and a specified content type.
	RebindZoneBindingWithBody(ctx context.Context, zoneBindingId ZoneBindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RebindZoneBinding performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request.
	// Takes a body of the `application/json` content type.
	RebindZoneBinding(ctx context.Context, zoneBindingId ZoneBindingID, body RebindZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RetryZoneBindingDeletion performs a POST /dans/zone-bindings/{zone_binding_id}/retry-delete (the `RetryZoneBindingDeletion` operationId) request.
	RetryZoneBindingDeletion(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PowerDNSError Will always generate an error
	//
	// Corresponds with GET /error (the `PowerDNSError` operationId).
	PowerDNSError(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLiveness Report process liveness.
	//
	// Corresponds with GET /livez (the `GetLiveness` operationId).
	GetLiveness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReadiness Report whether authenticated API traffic can be served.
	//
	// Corresponds with GET /readyz (the `GetReadiness` operationId).
	GetReadiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListServers List all servers
	//
	// Corresponds with GET /servers (the `ListServers` operationId).
	ListServers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListServer List a server
	//
	// Corresponds with GET /servers/{server_id} (the `ListServer` operationId).
	ListServer(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAutoprimaries Get a list of autoprimaries
	//
	// Corresponds with GET /servers/{server_id}/autoprimaries (the `GetAutoprimaries` operationId).
	GetAutoprimaries(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAutoprimaryWithBody Add an autoprimary
	//
	// This methods add a new autoprimary server.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).
	CreateAutoprimaryWithBody(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAutoprimary Add an autoprimary
	//
	// This methods add a new autoprimary server.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).
	CreateAutoprimary(ctx context.Context, serverId ServerId, body CreateAutoprimaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAutoprimary Delete the autoprimary entry
	//
	// Corresponds with DELETE /servers/{server_id}/autoprimaries/{ip}/{nameserver} (the `DeleteAutoprimary` operationId).
	DeleteAutoprimary(ctx context.Context, serverId ServerId, ip string, nameserver string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CacheFlushByName Flush a cache-entry by name
	//
	// Corresponds with PUT /servers/{server_id}/cache/flush (the `CacheFlushByName` operationId).
	CacheFlushByName(ctx context.Context, serverId ServerId, params *CacheFlushByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConfig Returns all ConfigSettings for a single server
	//
	// Corresponds with GET /servers/{server_id}/config (the `GetConfig` operationId).
	GetConfig(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConfigSetting Returns a specific ConfigSetting for a single server
	//
	// NOT IMPLEMENTED.
	//
	// Corresponds with GET /servers/{server_id}/config/{config_setting_name} (the `GetConfigSetting` operationId).
	GetConfigSetting(ctx context.Context, serverId ServerId, configSettingName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNetworks List all registered networks and views in a server
	//
	// Corresponds with GET /servers/{server_id}/networks (the `ListNetworks` operationId).
	ListNetworks(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNetwork Return the view associated to the given network
	//
	// Corresponds with GET /servers/{server_id}/networks/{ip}/{prefixlen} (the `GetNetwork` operationId).
	GetNetwork(ctx context.Context, serverId ServerId, ip string, prefixlen string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetNetworkWithBody Sets the view associated to the given network
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).
	SetNetworkWithBody(ctx context.Context, serverId ServerId, ip string, prefixlen string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetNetwork Sets the view associated to the given network
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).
	SetNetwork(ctx context.Context, serverId ServerId, ip string, prefixlen string, body SetNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Corresponds with GET /servers/{server_id}/search-data (the `SearchData` operationId).
	SearchData(ctx context.Context, serverId ServerId, params *SearchDataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStats Query statistics.
	//
	// Query PowerDNS internal statistics.
	//
	// Corresponds with GET /servers/{server_id}/statistics (the `GetStats` operationId).
	GetStats(ctx context.Context, serverId ServerId, params *GetStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTSIGKeys Get all TSIGKeys on the server, except the actual key
	//
	// Corresponds with GET /servers/{server_id}/tsigkeys (the `ListTSIGKeys` operationId).
	ListTSIGKeys(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTSIGKeyWithBody 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
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).
	CreateTSIGKeyWithBody(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).
	CreateTSIGKey(ctx context.Context, serverId ServerId, body CreateTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTSIGKey Delete the TSIGKey with tsigkey_id
	//
	// Corresponds with DELETE /servers/{server_id}/tsigkeys/{tsigkey_id} (the `DeleteTSIGKey` operationId).
	DeleteTSIGKey(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTSIGKey Get a specific TSIGKeys on the server, including the actual key
	//
	// Corresponds with GET /servers/{server_id}/tsigkeys/{tsigkey_id} (the `GetTSIGKey` operationId).
	GetTSIGKey(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTSIGKeyWithBody performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request,
	// with any type of body and a specified content type.
	//
	// 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.
	PutTSIGKeyWithBody(ctx context.Context, serverId ServerId, tsigkeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTSIGKey performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// 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.
	PutTSIGKey(ctx context.Context, serverId ServerId, tsigkeyId string, body PutTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListViews List all views in a server
	//
	// Corresponds with GET /servers/{server_id}/views (the `ListViews` operationId).
	ListViews(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListView List the contents of a given view
	//
	// Corresponds with GET /servers/{server_id}/views/{view} (the `ListView` operationId).
	ListView(ctx context.Context, serverId ServerId, view View, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddToViewWithBody Adds a zone to a given view, creating it if needed
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).
	AddToViewWithBody(ctx context.Context, serverId ServerId, view View, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddToView Adds a zone to a given view, creating it if needed
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).
	AddToView(ctx context.Context, serverId ServerId, view View, body AddToViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFromView Removes the given zone from the given view
	//
	// Corresponds with DELETE /servers/{server_id}/views/{view}/{id} (the `DeleteFromView` operationId).
	DeleteFromView(ctx context.Context, serverId ServerId, view View, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListZones List all Zones in a server
	//
	// Corresponds with GET /servers/{server_id}/zones (the `ListZones` operationId).
	ListZones(ctx context.Context, serverId ServerId, params *ListZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateZoneWithBody Creates a new domain, returns the Zone on creation.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).
	CreateZoneWithBody(ctx context.Context, serverId ServerId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateZone Creates a new domain, returns the Zone on creation.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).
	CreateZone(ctx context.Context, serverId ServerId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteZone Deletes this zone, all attached metadata and rrsets.
	//
	// Corresponds with DELETE /servers/{server_id}/zones/{zone_id} (the `DeleteZone` operationId).
	DeleteZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListZone zone managed by a server
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id} (the `ListZone` operationId).
	ListZone(ctx context.Context, serverId ServerId, zoneId ZoneId, params *ListZoneParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchZoneWithBody Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).
	PatchZoneWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchZone Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).
	PatchZone(ctx context.Context, serverId ServerId, zoneId ZoneId, body PatchZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutZoneWithBody 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.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).
	PutZoneWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).
	PutZone(ctx context.Context, serverId ServerId, zoneId ZoneId, body PutZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/axfr-retrieve (the `AxfrRetrieveZone` operationId).
	AxfrRetrieveZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCryptokeys Get all CryptoKeys for a zone, except the privatekey
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys (the `ListCryptokeys` operationId).
	ListCryptokeys(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCryptokeyWithBody 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.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).
	CreateCryptokeyWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).
	CreateCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCryptokey This method deletes a key specified by cryptokey_id.
	//
	// Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `DeleteCryptokey` operationId).
	DeleteCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCryptokey Returns all data about the CryptoKey, including the privatekey.
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `GetCryptokey` operationId).
	GetCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyCryptokeyWithBody This method (de)activates a key from zone_name specified by cryptokey_id
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).
	ModifyCryptokeyWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyCryptokey This method (de)activates a key from zone_name specified by cryptokey_id
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).
	ModifyCryptokey(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, body ModifyCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AxfrExportZone Returns the zone in AXFR format.
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/export (the `AxfrExportZone` operationId).
	AxfrExportZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMetadata Get all the Metadata associated with the zone.
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata (the `ListMetadata` operationId).
	ListMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMetadataWithBody 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.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).
	CreateMetadataWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).
	CreateMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMetadata Delete all items of a single kind of domain metadata.
	//
	// Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `DeleteMetadata` operationId).
	DeleteMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMetadata Get the content of a single kind of domain metadata as a Metadata object.
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `GetMetadata` operationId).
	GetMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyMetadataWithBody 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.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).
	ModifyMetadataWithBody(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).
	ModifyMetadata(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, body ModifyMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/notify (the `NotifyZone` operationId).
	NotifyZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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.
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/rectify (the `RectifyZone` operationId).
	RectifyZone(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddGroupMemberWithResponse

func (c *ClientWithResponses) AddGroupMemberWithResponse(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*AddGroupMemberResponse, error)

AddGroupMemberWithResponse performs a PUT /dans/groups/{group_id}/members/{identity_id} (the `AddGroupMember` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) AddToViewWithBodyWithResponse

func (c *ClientWithResponses) AddToViewWithBodyWithResponse(ctx context.Context, serverId ServerId, view View, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddToViewResponse, error)

AddToViewWithBodyWithResponse Adds a zone to a given view, creating it if needed

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).

func (*ClientWithResponses) AddToViewWithResponse

func (c *ClientWithResponses) AddToViewWithResponse(ctx context.Context, serverId ServerId, view View, body AddToViewJSONRequestBody, reqEditors ...RequestEditorFn) (*AddToViewResponse, error)

AddToViewWithResponse Adds a zone to a given view, creating it if needed

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).

func (*ClientWithResponses) AxfrExportZoneWithResponse

func (c *ClientWithResponses) AxfrExportZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*AxfrExportZoneResponse, error)

AxfrExportZoneWithResponse Returns the zone in AXFR format.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones/{zone_id}/export (the `AxfrExportZone` operationId).

func (*ClientWithResponses) AxfrRetrieveZoneWithResponse

func (c *ClientWithResponses) AxfrRetrieveZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*AxfrRetrieveZoneResponse, error)

AxfrRetrieveZoneWithResponse 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.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/axfr-retrieve (the `AxfrRetrieveZone` operationId).

func (*ClientWithResponses) BrowseRRsetsWithResponse

func (c *ClientWithResponses) BrowseRRsetsWithResponse(ctx context.Context, serverId string, zoneId string, params *BrowseRRsetsParams, reqEditors ...RequestEditorFn) (*BrowseRRsetsResponse, error)

BrowseRRsetsWithResponse performs a GET /dans/servers/{server_id}/zones/{zone_id}/rrsets (the `BrowseRRsets` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CacheFlushByNameWithResponse

func (c *ClientWithResponses) CacheFlushByNameWithResponse(ctx context.Context, serverId ServerId, params *CacheFlushByNameParams, reqEditors ...RequestEditorFn) (*CacheFlushByNameResponse, error)

CacheFlushByNameWithResponse Flush a cache-entry by name

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/cache/flush (the `CacheFlushByName` operationId).

func (*ClientWithResponses) ConfirmZoneBindingAbsentWithResponse

func (c *ClientWithResponses) ConfirmZoneBindingAbsentWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*ConfirmZoneBindingAbsentResponse, error)

ConfirmZoneBindingAbsentWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/confirm-absent (the `ConfirmZoneBindingAbsent` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateAutoprimaryWithBodyWithResponse

func (c *ClientWithResponses) CreateAutoprimaryWithBodyWithResponse(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAutoprimaryResponse, error)

CreateAutoprimaryWithBodyWithResponse Add an autoprimary

This methods add a new autoprimary server.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).

func (*ClientWithResponses) CreateAutoprimaryWithResponse

func (c *ClientWithResponses) CreateAutoprimaryWithResponse(ctx context.Context, serverId ServerId, body CreateAutoprimaryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAutoprimaryResponse, error)

CreateAutoprimaryWithResponse Add an autoprimary

This methods add a new autoprimary server.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).

func (*ClientWithResponses) CreateBrowserSessionWithBodyWithResponse

func (c *ClientWithResponses) CreateBrowserSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBrowserSessionResponse, error)

CreateBrowserSessionWithBodyWithResponse Sign in with an existing API token.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).

func (*ClientWithResponses) CreateBrowserSessionWithResponse

func (c *ClientWithResponses) CreateBrowserSessionWithResponse(ctx context.Context, body CreateBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBrowserSessionResponse, error)

CreateBrowserSessionWithResponse Sign in with an existing API token.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).

func (*ClientWithResponses) CreateCryptokeyWithBodyWithResponse

func (c *ClientWithResponses) CreateCryptokeyWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCryptokeyResponse, error)

CreateCryptokeyWithBodyWithResponse 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.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).

func (*ClientWithResponses) CreateCryptokeyWithResponse

func (c *ClientWithResponses) CreateCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCryptokeyResponse, error)

CreateCryptokeyWithResponse 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.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).

func (*ClientWithResponses) CreateCurrentIdentityTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateCurrentIdentityTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCurrentIdentityTokenResponse, error)

CreateCurrentIdentityTokenWithBodyWithResponse performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateCurrentIdentityTokenWithResponse

func (c *ClientWithResponses) CreateCurrentIdentityTokenWithResponse(ctx context.Context, body CreateCurrentIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCurrentIdentityTokenResponse, error)

CreateCurrentIdentityTokenWithResponse performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateDelegationWithBodyWithResponse

func (c *ClientWithResponses) CreateDelegationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDelegationResponse, error)

CreateDelegationWithBodyWithResponse performs a POST /dans/delegations (the `CreateDelegation` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateDelegationWithResponse

func (c *ClientWithResponses) CreateDelegationWithResponse(ctx context.Context, body CreateDelegationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDelegationResponse, error)

CreateDelegationWithResponse performs a POST /dans/delegations (the `CreateDelegation` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

CreateGroupWithBodyWithResponse performs a POST /dans/groups (the `CreateGroup` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateGroupWithResponse

func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

CreateGroupWithResponse performs a POST /dans/groups (the `CreateGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateIdentityTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateIdentityTokenWithBodyWithResponse(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdentityTokenResponse, error)

CreateIdentityTokenWithBodyWithResponse performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateIdentityTokenWithResponse

func (c *ClientWithResponses) CreateIdentityTokenWithResponse(ctx context.Context, identityId IdentityID, body CreateIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdentityTokenResponse, error)

CreateIdentityTokenWithResponse performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateIdentityWithBodyWithResponse

func (c *ClientWithResponses) CreateIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdentityResponse, error)

CreateIdentityWithBodyWithResponse performs a POST /dans/identities (the `CreateIdentity` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateIdentityWithResponse

func (c *ClientWithResponses) CreateIdentityWithResponse(ctx context.Context, body CreateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdentityResponse, error)

CreateIdentityWithResponse performs a POST /dans/identities (the `CreateIdentity` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateMetadataWithBodyWithResponse

func (c *ClientWithResponses) CreateMetadataWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMetadataResponse, error)

CreateMetadataWithBodyWithResponse 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.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).

func (*ClientWithResponses) CreateMetadataWithResponse

func (c *ClientWithResponses) CreateMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMetadataResponse, error)

CreateMetadataWithResponse 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.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).

func (*ClientWithResponses) CreateTSIGKeyWithBodyWithResponse

func (c *ClientWithResponses) CreateTSIGKeyWithBodyWithResponse(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTSIGKeyResponse, error)

CreateTSIGKeyWithBodyWithResponse 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

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).

func (*ClientWithResponses) CreateTSIGKeyWithResponse

func (c *ClientWithResponses) CreateTSIGKeyWithResponse(ctx context.Context, serverId ServerId, body CreateTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTSIGKeyResponse, error)

CreateTSIGKeyWithResponse 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

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).

func (*ClientWithResponses) CreateZoneBindingWithBodyWithResponse

func (c *ClientWithResponses) CreateZoneBindingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneBindingResponse, error)

CreateZoneBindingWithBodyWithResponse performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateZoneBindingWithResponse

func (c *ClientWithResponses) CreateZoneBindingWithResponse(ctx context.Context, body CreateZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneBindingResponse, error)

CreateZoneBindingWithResponse performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateZoneWithBodyWithResponse

func (c *ClientWithResponses) CreateZoneWithBodyWithResponse(ctx context.Context, serverId ServerId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

CreateZoneWithBodyWithResponse Creates a new domain, returns the Zone on creation.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).

func (*ClientWithResponses) CreateZoneWithResponse

func (c *ClientWithResponses) CreateZoneWithResponse(ctx context.Context, serverId ServerId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

CreateZoneWithResponse Creates a new domain, returns the Zone on creation.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).

func (*ClientWithResponses) DeleteAutoprimaryWithResponse

func (c *ClientWithResponses) DeleteAutoprimaryWithResponse(ctx context.Context, serverId ServerId, ip string, nameserver string, reqEditors ...RequestEditorFn) (*DeleteAutoprimaryResponse, error)

DeleteAutoprimaryWithResponse Delete the autoprimary entry

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /servers/{server_id}/autoprimaries/{ip}/{nameserver} (the `DeleteAutoprimary` operationId).

func (*ClientWithResponses) DeleteBrowserSessionWithResponse

func (c *ClientWithResponses) DeleteBrowserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteBrowserSessionResponse, error)

DeleteBrowserSessionWithResponse Clear this browser session without revoking its API token.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /dans/session (the `DeleteBrowserSession` operationId).

func (*ClientWithResponses) DeleteCryptokeyWithResponse

func (c *ClientWithResponses) DeleteCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*DeleteCryptokeyResponse, error)

DeleteCryptokeyWithResponse This method deletes a key specified by cryptokey_id.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `DeleteCryptokey` operationId).

func (*ClientWithResponses) DeleteFromViewWithResponse

func (c *ClientWithResponses) DeleteFromViewWithResponse(ctx context.Context, serverId ServerId, view View, id string, reqEditors ...RequestEditorFn) (*DeleteFromViewResponse, error)

DeleteFromViewWithResponse Removes the given zone from the given view

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /servers/{server_id}/views/{view}/{id} (the `DeleteFromView` operationId).

func (*ClientWithResponses) DeleteMetadataWithResponse

func (c *ClientWithResponses) DeleteMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*DeleteMetadataResponse, error)

DeleteMetadataWithResponse Delete all items of a single kind of domain metadata.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `DeleteMetadata` operationId).

func (*ClientWithResponses) DeleteTSIGKeyWithResponse

func (c *ClientWithResponses) DeleteTSIGKeyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*DeleteTSIGKeyResponse, error)

DeleteTSIGKeyWithResponse Delete the TSIGKey with tsigkey_id

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /servers/{server_id}/tsigkeys/{tsigkey_id} (the `DeleteTSIGKey` operationId).

func (*ClientWithResponses) DeleteZoneWithResponse

func (c *ClientWithResponses) DeleteZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneResponse, error)

DeleteZoneWithResponse Deletes this zone, all attached metadata and rrsets.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /servers/{server_id}/zones/{zone_id} (the `DeleteZone` operationId).

func (*ClientWithResponses) ExportAuditEventsWithResponse

func (c *ClientWithResponses) ExportAuditEventsWithResponse(ctx context.Context, params *ExportAuditEventsParams, reqEditors ...RequestEditorFn) (*ExportAuditEventsResponse, error)

ExportAuditEventsWithResponse performs a GET /dans/audit-events/export (the `ExportAuditEvents` operationId) request.

Traverses live history in bounded pages, reauthenticating before each page. An interrupted transfer is incomplete; no cross-page snapshot is promised.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetAPIDocumentWithResponse

func (c *ClientWithResponses) GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAPIDocumentResponse, error)

GetAPIDocumentWithResponse Return this combined OpenAPI document.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/docs (the `GetAPIDocument` operationId).

func (*ClientWithResponses) GetAutoprimariesWithResponse

func (c *ClientWithResponses) GetAutoprimariesWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*GetAutoprimariesResponse, error)

GetAutoprimariesWithResponse Get a list of autoprimaries

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/autoprimaries (the `GetAutoprimaries` operationId).

func (*ClientWithResponses) GetConfigSettingWithResponse

func (c *ClientWithResponses) GetConfigSettingWithResponse(ctx context.Context, serverId ServerId, configSettingName string, reqEditors ...RequestEditorFn) (*GetConfigSettingResponse, error)

GetConfigSettingWithResponse Returns a specific ConfigSetting for a single server

NOT IMPLEMENTED.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/config/{config_setting_name} (the `GetConfigSetting` operationId).

func (*ClientWithResponses) GetConfigWithResponse

func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)

GetConfigWithResponse Returns all ConfigSettings for a single server

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/config (the `GetConfig` operationId).

func (*ClientWithResponses) GetCryptokeyWithResponse

func (c *ClientWithResponses) GetCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*GetCryptokeyResponse, error)

GetCryptokeyWithResponse Returns all data about the CryptoKey, including the privatekey.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `GetCryptokey` operationId).

func (*ClientWithResponses) GetCurrentCredentialWithResponse

func (c *ClientWithResponses) GetCurrentCredentialWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentCredentialResponse, error)

GetCurrentCredentialWithResponse performs a GET /dans/me/credential (the `GetCurrentCredential` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetCurrentIdentityWithResponse

func (c *ClientWithResponses) GetCurrentIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentIdentityResponse, error)

GetCurrentIdentityWithResponse performs a GET /dans/me (the `GetCurrentIdentity` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetDelegationWithResponse

func (c *ClientWithResponses) GetDelegationWithResponse(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*GetDelegationResponse, error)

GetDelegationWithResponse performs a GET /dans/delegations/{delegation_id} (the `GetDelegation` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetGroupWithResponse

func (c *ClientWithResponses) GetGroupWithResponse(ctx context.Context, groupId GroupID, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)

GetGroupWithResponse performs a GET /dans/groups/{group_id} (the `GetGroup` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetIdentityWithResponse

func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, identityId IdentityID, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)

GetIdentityWithResponse performs a GET /dans/identities/{identity_id} (the `GetIdentity` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetLivenessWithResponse

func (c *ClientWithResponses) GetLivenessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLivenessResponse, error)

GetLivenessWithResponse Report process liveness.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /livez (the `GetLiveness` operationId).

func (*ClientWithResponses) GetMetadataWithResponse

func (c *ClientWithResponses) GetMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*GetMetadataResponse, error)

GetMetadataWithResponse Get the content of a single kind of domain metadata as a Metadata object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `GetMetadata` operationId).

func (*ClientWithResponses) GetNetworkWithResponse

func (c *ClientWithResponses) GetNetworkWithResponse(ctx context.Context, serverId ServerId, ip string, prefixlen string, reqEditors ...RequestEditorFn) (*GetNetworkResponse, error)

GetNetworkWithResponse Return the view associated to the given network

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/networks/{ip}/{prefixlen} (the `GetNetwork` operationId).

func (*ClientWithResponses) GetReadinessWithResponse

func (c *ClientWithResponses) GetReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReadinessResponse, error)

GetReadinessWithResponse Report whether authenticated API traffic can be served.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /readyz (the `GetReadiness` operationId).

func (*ClientWithResponses) GetStatsWithResponse

func (c *ClientWithResponses) GetStatsWithResponse(ctx context.Context, serverId ServerId, params *GetStatsParams, reqEditors ...RequestEditorFn) (*GetStatsResponse, error)

GetStatsWithResponse Query statistics.

Query PowerDNS internal statistics.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/statistics (the `GetStats` operationId).

func (*ClientWithResponses) GetTSIGKeyWithResponse

func (c *ClientWithResponses) GetTSIGKeyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*GetTSIGKeyResponse, error)

GetTSIGKeyWithResponse Get a specific TSIGKeys on the server, including the actual key

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/tsigkeys/{tsigkey_id} (the `GetTSIGKey` operationId).

func (*ClientWithResponses) GetZoneBindingWithResponse

func (c *ClientWithResponses) GetZoneBindingWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*GetZoneBindingResponse, error)

GetZoneBindingWithResponse performs a GET /dans/zone-bindings/{zone_binding_id} (the `GetZoneBinding` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListAuditEventsWithResponse

func (c *ClientWithResponses) ListAuditEventsWithResponse(ctx context.Context, params *ListAuditEventsParams, reqEditors ...RequestEditorFn) (*ListAuditEventsResponse, error)

ListAuditEventsWithResponse performs a GET /dans/audit-events (the `ListAuditEvents` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListCryptokeysWithResponse

func (c *ClientWithResponses) ListCryptokeysWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListCryptokeysResponse, error)

ListCryptokeysWithResponse Get all CryptoKeys for a zone, except the privatekey

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys (the `ListCryptokeys` operationId).

func (*ClientWithResponses) ListCurrentIdentityDelegationsWithResponse

func (c *ClientWithResponses) ListCurrentIdentityDelegationsWithResponse(ctx context.Context, params *ListCurrentIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*ListCurrentIdentityDelegationsResponse, error)

ListCurrentIdentityDelegationsWithResponse performs a GET /dans/me/delegations (the `ListCurrentIdentityDelegations` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListCurrentIdentityGroupsWithResponse

func (c *ClientWithResponses) ListCurrentIdentityGroupsWithResponse(ctx context.Context, params *ListCurrentIdentityGroupsParams, reqEditors ...RequestEditorFn) (*ListCurrentIdentityGroupsResponse, error)

ListCurrentIdentityGroupsWithResponse performs a GET /dans/me/groups (the `ListCurrentIdentityGroups` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListCurrentIdentityTokensWithResponse

func (c *ClientWithResponses) ListCurrentIdentityTokensWithResponse(ctx context.Context, params *ListCurrentIdentityTokensParams, reqEditors ...RequestEditorFn) (*ListCurrentIdentityTokensResponse, error)

ListCurrentIdentityTokensWithResponse performs a GET /dans/me/tokens (the `ListCurrentIdentityTokens` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListDelegationsWithResponse

func (c *ClientWithResponses) ListDelegationsWithResponse(ctx context.Context, params *ListDelegationsParams, reqEditors ...RequestEditorFn) (*ListDelegationsResponse, error)

ListDelegationsWithResponse performs a GET /dans/delegations (the `ListDelegations` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListGroupMembersWithResponse

func (c *ClientWithResponses) ListGroupMembersWithResponse(ctx context.Context, groupId GroupID, params *ListGroupMembersParams, reqEditors ...RequestEditorFn) (*ListGroupMembersResponse, error)

ListGroupMembersWithResponse performs a GET /dans/groups/{group_id}/members (the `ListGroupMembers` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListGroupsWithResponse

func (c *ClientWithResponses) ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)

ListGroupsWithResponse performs a GET /dans/groups (the `ListGroups` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListIdentitiesWithResponse

func (c *ClientWithResponses) ListIdentitiesWithResponse(ctx context.Context, params *ListIdentitiesParams, reqEditors ...RequestEditorFn) (*ListIdentitiesResponse, error)

ListIdentitiesWithResponse performs a GET /dans/identities (the `ListIdentities` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListIdentityAssignmentsWithResponse

func (c *ClientWithResponses) ListIdentityAssignmentsWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityAssignmentsParams, reqEditors ...RequestEditorFn) (*ListIdentityAssignmentsResponse, error)

ListIdentityAssignmentsWithResponse performs a GET /dans/identities/{identity_id}/assignments (the `ListIdentityAssignments` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListIdentityDelegationsWithResponse

func (c *ClientWithResponses) ListIdentityDelegationsWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*ListIdentityDelegationsResponse, error)

ListIdentityDelegationsWithResponse performs a GET /dans/identities/{identity_id}/delegations (the `ListIdentityDelegations` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListIdentityGroupsWithResponse

func (c *ClientWithResponses) ListIdentityGroupsWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityGroupsParams, reqEditors ...RequestEditorFn) (*ListIdentityGroupsResponse, error)

ListIdentityGroupsWithResponse performs a GET /dans/identities/{identity_id}/groups (the `ListIdentityGroups` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListIdentityTokensWithResponse

func (c *ClientWithResponses) ListIdentityTokensWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityTokensParams, reqEditors ...RequestEditorFn) (*ListIdentityTokensResponse, error)

ListIdentityTokensWithResponse performs a GET /dans/identities/{identity_id}/tokens (the `ListIdentityTokens` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListMetadataWithResponse

func (c *ClientWithResponses) ListMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListMetadataResponse, error)

ListMetadataWithResponse Get all the Metadata associated with the zone.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata (the `ListMetadata` operationId).

func (*ClientWithResponses) ListNetworksWithResponse

func (c *ClientWithResponses) ListNetworksWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListNetworksResponse, error)

ListNetworksWithResponse List all registered networks and views in a server

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/networks (the `ListNetworks` operationId).

func (*ClientWithResponses) ListServerWithResponse

func (c *ClientWithResponses) ListServerWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListServerResponse, error)

ListServerWithResponse List a server

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id} (the `ListServer` operationId).

func (*ClientWithResponses) ListServersWithResponse

func (c *ClientWithResponses) ListServersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListServersResponse, error)

ListServersWithResponse List all servers

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers (the `ListServers` operationId).

func (*ClientWithResponses) ListTSIGKeysWithResponse

func (c *ClientWithResponses) ListTSIGKeysWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListTSIGKeysResponse, error)

ListTSIGKeysWithResponse Get all TSIGKeys on the server, except the actual key

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/tsigkeys (the `ListTSIGKeys` operationId).

func (*ClientWithResponses) ListViewWithResponse

func (c *ClientWithResponses) ListViewWithResponse(ctx context.Context, serverId ServerId, view View, reqEditors ...RequestEditorFn) (*ListViewResponse, error)

ListViewWithResponse List the contents of a given view

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/views/{view} (the `ListView` operationId).

func (*ClientWithResponses) ListViewsWithResponse

func (c *ClientWithResponses) ListViewsWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListViewsResponse, error)

ListViewsWithResponse List all views in a server

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/views (the `ListViews` operationId).

func (*ClientWithResponses) ListZoneBindingsWithResponse

func (c *ClientWithResponses) ListZoneBindingsWithResponse(ctx context.Context, params *ListZoneBindingsParams, reqEditors ...RequestEditorFn) (*ListZoneBindingsResponse, error)

ListZoneBindingsWithResponse performs a GET /dans/zone-bindings (the `ListZoneBindings` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) ListZoneWithResponse

func (c *ClientWithResponses) ListZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, params *ListZoneParams, reqEditors ...RequestEditorFn) (*ListZoneResponse, error)

ListZoneWithResponse zone managed by a server

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones/{zone_id} (the `ListZone` operationId).

func (*ClientWithResponses) ListZonesWithResponse

func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context, serverId ServerId, params *ListZonesParams, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)

ListZonesWithResponse List all Zones in a server

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/zones (the `ListZones` operationId).

func (*ClientWithResponses) ModifyCryptokeyWithBodyWithResponse

func (c *ClientWithResponses) ModifyCryptokeyWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCryptokeyResponse, error)

ModifyCryptokeyWithBodyWithResponse This method (de)activates a key from zone_name specified by cryptokey_id

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).

func (*ClientWithResponses) ModifyCryptokeyWithResponse

func (c *ClientWithResponses) ModifyCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, body ModifyCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCryptokeyResponse, error)

ModifyCryptokeyWithResponse This method (de)activates a key from zone_name specified by cryptokey_id

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).

func (*ClientWithResponses) ModifyMetadataWithBodyWithResponse

func (c *ClientWithResponses) ModifyMetadataWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyMetadataResponse, error)

ModifyMetadataWithBodyWithResponse 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.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).

func (*ClientWithResponses) ModifyMetadataWithResponse

func (c *ClientWithResponses) ModifyMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, body ModifyMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyMetadataResponse, error)

ModifyMetadataWithResponse 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.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).

func (*ClientWithResponses) NotifyZoneWithResponse

func (c *ClientWithResponses) NotifyZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*NotifyZoneResponse, error)

NotifyZoneWithResponse 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.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/notify (the `NotifyZone` operationId).

func (*ClientWithResponses) ObserveZoneBindingWithResponse

func (c *ClientWithResponses) ObserveZoneBindingWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*ObserveZoneBindingResponse, error)

ObserveZoneBindingWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/observe (the `ObserveZoneBinding` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PatchZoneWithBodyWithResponse

func (c *ClientWithResponses) PatchZoneWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchZoneResponse, error)

PatchZoneWithBodyWithResponse Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).

func (*ClientWithResponses) PatchZoneWithResponse

func (c *ClientWithResponses) PatchZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body PatchZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchZoneResponse, error)

PatchZoneWithResponse Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).

func (*ClientWithResponses) PowerDNSErrorWithResponse

func (c *ClientWithResponses) PowerDNSErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PowerDNSErrorResponse, error)

PowerDNSErrorWithResponse Will always generate an error

Returns a wrapper object for the known response body format(s).

Corresponds with GET /error (the `PowerDNSError` operationId).

func (*ClientWithResponses) PutTSIGKeyWithBodyWithResponse

func (c *ClientWithResponses) PutTSIGKeyWithBodyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTSIGKeyResponse, error)

PutTSIGKeyWithBodyWithResponse performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request, with any type of body and a specified content type.

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.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PutTSIGKeyWithResponse

func (c *ClientWithResponses) PutTSIGKeyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, body PutTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTSIGKeyResponse, error)

PutTSIGKeyWithResponse performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

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.

func (*ClientWithResponses) PutZoneWithBodyWithResponse

func (c *ClientWithResponses) PutZoneWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutZoneResponse, error)

PutZoneWithBodyWithResponse 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.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).

func (*ClientWithResponses) PutZoneWithResponse

func (c *ClientWithResponses) PutZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body PutZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*PutZoneResponse, error)

PutZoneWithResponse 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.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).

func (*ClientWithResponses) RebindZoneBindingWithBodyWithResponse

func (c *ClientWithResponses) RebindZoneBindingWithBodyWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebindZoneBindingResponse, error)

RebindZoneBindingWithBodyWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RebindZoneBindingWithResponse

func (c *ClientWithResponses) RebindZoneBindingWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, body RebindZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*RebindZoneBindingResponse, error)

RebindZoneBindingWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RectifyZoneWithResponse

func (c *ClientWithResponses) RectifyZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*RectifyZoneResponse, error)

RectifyZoneWithResponse 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.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/zones/{zone_id}/rectify (the `RectifyZone` operationId).

func (*ClientWithResponses) RefreshRRsetsWithResponse

func (c *ClientWithResponses) RefreshRRsetsWithResponse(ctx context.Context, serverId string, zoneId string, reqEditors ...RequestEditorFn) (*RefreshRRsetsResponse, error)

RefreshRRsetsWithResponse performs a POST /dans/servers/{server_id}/zones/{zone_id}/rrsets/refresh (the `RefreshRRsets` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RemoveGroupMemberWithResponse

func (c *ClientWithResponses) RemoveGroupMemberWithResponse(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*RemoveGroupMemberResponse, error)

RemoveGroupMemberWithResponse performs a DELETE /dans/groups/{group_id}/members/{identity_id} (the `RemoveGroupMember` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RetryZoneBindingDeletionWithResponse

func (c *ClientWithResponses) RetryZoneBindingDeletionWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*RetryZoneBindingDeletionResponse, error)

RetryZoneBindingDeletionWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/retry-delete (the `RetryZoneBindingDeletion` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RevokeCurrentIdentityTokenWithResponse

func (c *ClientWithResponses) RevokeCurrentIdentityTokenWithResponse(ctx context.Context, tokenId TokenID, reqEditors ...RequestEditorFn) (*RevokeCurrentIdentityTokenResponse, error)

RevokeCurrentIdentityTokenWithResponse performs a DELETE /dans/me/tokens/{token_id} (the `RevokeCurrentIdentityToken` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RevokeDelegationWithResponse

func (c *ClientWithResponses) RevokeDelegationWithResponse(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*RevokeDelegationResponse, error)

RevokeDelegationWithResponse performs a DELETE /dans/delegations/{delegation_id} (the `RevokeDelegation` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RevokeIdentityTokenWithResponse

func (c *ClientWithResponses) RevokeIdentityTokenWithResponse(ctx context.Context, identityId IdentityID, tokenId TokenID, reqEditors ...RequestEditorFn) (*RevokeIdentityTokenResponse, error)

RevokeIdentityTokenWithResponse performs a DELETE /dans/identities/{identity_id}/tokens/{token_id} (the `RevokeIdentityToken` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SearchDataWithResponse

func (c *ClientWithResponses) SearchDataWithResponse(ctx context.Context, serverId ServerId, params *SearchDataParams, reqEditors ...RequestEditorFn) (*SearchDataResponse, error)

SearchDataWithResponse 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.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /servers/{server_id}/search-data (the `SearchData` operationId).

func (*ClientWithResponses) SetNetworkWithBodyWithResponse

func (c *ClientWithResponses) SetNetworkWithBodyWithResponse(ctx context.Context, serverId ServerId, ip string, prefixlen string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetNetworkResponse, error)

SetNetworkWithBodyWithResponse Sets the view associated to the given network

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).

func (*ClientWithResponses) SetNetworkWithResponse

func (c *ClientWithResponses) SetNetworkWithResponse(ctx context.Context, serverId ServerId, ip string, prefixlen string, body SetNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*SetNetworkResponse, error)

SetNetworkWithResponse Sets the view associated to the given network

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).

func (*ClientWithResponses) UpdateGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, groupId GroupID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

UpdateGroupWithBodyWithResponse performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) UpdateGroupWithResponse

func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, groupId GroupID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

UpdateGroupWithResponse performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) UpdateIdentityWithBodyWithResponse

func (c *ClientWithResponses) UpdateIdentityWithBodyWithResponse(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIdentityResponse, error)

UpdateIdentityWithBodyWithResponse performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request, with any type of body and a specified content type.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) UpdateIdentityWithResponse

func (c *ClientWithResponses) UpdateIdentityWithResponse(ctx context.Context, identityId IdentityID, body UpdateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIdentityResponse, error)

UpdateIdentityWithResponse performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetAPIDocumentWithResponse Return this combined OpenAPI document.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/docs (the `GetAPIDocument` operationId).
	GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAPIDocumentResponse, error)

	// ListAuditEventsWithResponse performs a GET /dans/audit-events (the `ListAuditEvents` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListAuditEventsWithResponse(ctx context.Context, params *ListAuditEventsParams, reqEditors ...RequestEditorFn) (*ListAuditEventsResponse, error)

	// ExportAuditEventsWithResponse performs a GET /dans/audit-events/export (the `ExportAuditEvents` operationId) request.
	//
	// Traverses live history in bounded pages, reauthenticating before each page. An interrupted transfer is incomplete; no cross-page snapshot is promised.
	//
	// Returns a wrapper object for the known response body format(s).
	ExportAuditEventsWithResponse(ctx context.Context, params *ExportAuditEventsParams, reqEditors ...RequestEditorFn) (*ExportAuditEventsResponse, error)

	// ListDelegationsWithResponse performs a GET /dans/delegations (the `ListDelegations` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListDelegationsWithResponse(ctx context.Context, params *ListDelegationsParams, reqEditors ...RequestEditorFn) (*ListDelegationsResponse, error)

	// CreateDelegationWithBodyWithResponse performs a POST /dans/delegations (the `CreateDelegation` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateDelegationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDelegationResponse, error)

	// CreateDelegationWithResponse performs a POST /dans/delegations (the `CreateDelegation` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateDelegationWithResponse(ctx context.Context, body CreateDelegationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDelegationResponse, error)

	// RevokeDelegationWithResponse performs a DELETE /dans/delegations/{delegation_id} (the `RevokeDelegation` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeDelegationWithResponse(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*RevokeDelegationResponse, error)

	// GetDelegationWithResponse performs a GET /dans/delegations/{delegation_id} (the `GetDelegation` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetDelegationWithResponse(ctx context.Context, delegationId DelegationID, reqEditors ...RequestEditorFn) (*GetDelegationResponse, error)

	// ListGroupsWithResponse performs a GET /dans/groups (the `ListGroups` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)

	// CreateGroupWithBodyWithResponse performs a POST /dans/groups (the `CreateGroup` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

	// CreateGroupWithResponse performs a POST /dans/groups (the `CreateGroup` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)

	// GetGroupWithResponse performs a GET /dans/groups/{group_id} (the `GetGroup` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetGroupWithResponse(ctx context.Context, groupId GroupID, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)

	// UpdateGroupWithBodyWithResponse performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	UpdateGroupWithBodyWithResponse(ctx context.Context, groupId GroupID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

	// UpdateGroupWithResponse performs a PATCH /dans/groups/{group_id} (the `UpdateGroup` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	UpdateGroupWithResponse(ctx context.Context, groupId GroupID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)

	// ListGroupMembersWithResponse performs a GET /dans/groups/{group_id}/members (the `ListGroupMembers` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListGroupMembersWithResponse(ctx context.Context, groupId GroupID, params *ListGroupMembersParams, reqEditors ...RequestEditorFn) (*ListGroupMembersResponse, error)

	// RemoveGroupMemberWithResponse performs a DELETE /dans/groups/{group_id}/members/{identity_id} (the `RemoveGroupMember` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RemoveGroupMemberWithResponse(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*RemoveGroupMemberResponse, error)

	// AddGroupMemberWithResponse performs a PUT /dans/groups/{group_id}/members/{identity_id} (the `AddGroupMember` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	AddGroupMemberWithResponse(ctx context.Context, groupId GroupID, identityId IdentityID, reqEditors ...RequestEditorFn) (*AddGroupMemberResponse, error)

	// ListIdentitiesWithResponse performs a GET /dans/identities (the `ListIdentities` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListIdentitiesWithResponse(ctx context.Context, params *ListIdentitiesParams, reqEditors ...RequestEditorFn) (*ListIdentitiesResponse, error)

	// CreateIdentityWithBodyWithResponse performs a POST /dans/identities (the `CreateIdentity` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdentityResponse, error)

	// CreateIdentityWithResponse performs a POST /dans/identities (the `CreateIdentity` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateIdentityWithResponse(ctx context.Context, body CreateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdentityResponse, error)

	// GetIdentityWithResponse performs a GET /dans/identities/{identity_id} (the `GetIdentity` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetIdentityWithResponse(ctx context.Context, identityId IdentityID, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)

	// UpdateIdentityWithBodyWithResponse performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	UpdateIdentityWithBodyWithResponse(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIdentityResponse, error)

	// UpdateIdentityWithResponse performs a PATCH /dans/identities/{identity_id} (the `UpdateIdentity` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	UpdateIdentityWithResponse(ctx context.Context, identityId IdentityID, body UpdateIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIdentityResponse, error)

	// ListIdentityAssignmentsWithResponse performs a GET /dans/identities/{identity_id}/assignments (the `ListIdentityAssignments` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListIdentityAssignmentsWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityAssignmentsParams, reqEditors ...RequestEditorFn) (*ListIdentityAssignmentsResponse, error)

	// ListIdentityDelegationsWithResponse performs a GET /dans/identities/{identity_id}/delegations (the `ListIdentityDelegations` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListIdentityDelegationsWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*ListIdentityDelegationsResponse, error)

	// ListIdentityGroupsWithResponse performs a GET /dans/identities/{identity_id}/groups (the `ListIdentityGroups` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListIdentityGroupsWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityGroupsParams, reqEditors ...RequestEditorFn) (*ListIdentityGroupsResponse, error)

	// ListIdentityTokensWithResponse performs a GET /dans/identities/{identity_id}/tokens (the `ListIdentityTokens` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListIdentityTokensWithResponse(ctx context.Context, identityId IdentityID, params *ListIdentityTokensParams, reqEditors ...RequestEditorFn) (*ListIdentityTokensResponse, error)

	// CreateIdentityTokenWithBodyWithResponse performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateIdentityTokenWithBodyWithResponse(ctx context.Context, identityId IdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdentityTokenResponse, error)

	// CreateIdentityTokenWithResponse performs a POST /dans/identities/{identity_id}/tokens (the `CreateIdentityToken` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateIdentityTokenWithResponse(ctx context.Context, identityId IdentityID, body CreateIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdentityTokenResponse, error)

	// RevokeIdentityTokenWithResponse performs a DELETE /dans/identities/{identity_id}/tokens/{token_id} (the `RevokeIdentityToken` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeIdentityTokenWithResponse(ctx context.Context, identityId IdentityID, tokenId TokenID, reqEditors ...RequestEditorFn) (*RevokeIdentityTokenResponse, error)

	// GetCurrentIdentityWithResponse performs a GET /dans/me (the `GetCurrentIdentity` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetCurrentIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentIdentityResponse, error)

	// GetCurrentCredentialWithResponse performs a GET /dans/me/credential (the `GetCurrentCredential` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetCurrentCredentialWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentCredentialResponse, error)

	// ListCurrentIdentityDelegationsWithResponse performs a GET /dans/me/delegations (the `ListCurrentIdentityDelegations` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListCurrentIdentityDelegationsWithResponse(ctx context.Context, params *ListCurrentIdentityDelegationsParams, reqEditors ...RequestEditorFn) (*ListCurrentIdentityDelegationsResponse, error)

	// ListCurrentIdentityGroupsWithResponse performs a GET /dans/me/groups (the `ListCurrentIdentityGroups` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListCurrentIdentityGroupsWithResponse(ctx context.Context, params *ListCurrentIdentityGroupsParams, reqEditors ...RequestEditorFn) (*ListCurrentIdentityGroupsResponse, error)

	// ListCurrentIdentityTokensWithResponse performs a GET /dans/me/tokens (the `ListCurrentIdentityTokens` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListCurrentIdentityTokensWithResponse(ctx context.Context, params *ListCurrentIdentityTokensParams, reqEditors ...RequestEditorFn) (*ListCurrentIdentityTokensResponse, error)

	// CreateCurrentIdentityTokenWithBodyWithResponse performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateCurrentIdentityTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCurrentIdentityTokenResponse, error)

	// CreateCurrentIdentityTokenWithResponse performs a POST /dans/me/tokens (the `CreateCurrentIdentityToken` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateCurrentIdentityTokenWithResponse(ctx context.Context, body CreateCurrentIdentityTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCurrentIdentityTokenResponse, error)

	// RevokeCurrentIdentityTokenWithResponse performs a DELETE /dans/me/tokens/{token_id} (the `RevokeCurrentIdentityToken` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RevokeCurrentIdentityTokenWithResponse(ctx context.Context, tokenId TokenID, reqEditors ...RequestEditorFn) (*RevokeCurrentIdentityTokenResponse, error)

	// BrowseRRsetsWithResponse performs a GET /dans/servers/{server_id}/zones/{zone_id}/rrsets (the `BrowseRRsets` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	BrowseRRsetsWithResponse(ctx context.Context, serverId string, zoneId string, params *BrowseRRsetsParams, reqEditors ...RequestEditorFn) (*BrowseRRsetsResponse, error)

	// RefreshRRsetsWithResponse performs a POST /dans/servers/{server_id}/zones/{zone_id}/rrsets/refresh (the `RefreshRRsets` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RefreshRRsetsWithResponse(ctx context.Context, serverId string, zoneId string, reqEditors ...RequestEditorFn) (*RefreshRRsetsResponse, error)

	// DeleteBrowserSessionWithResponse Clear this browser session without revoking its API token.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /dans/session (the `DeleteBrowserSession` operationId).
	DeleteBrowserSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteBrowserSessionResponse, error)

	// CreateBrowserSessionWithBodyWithResponse Sign in with an existing API token.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).
	CreateBrowserSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBrowserSessionResponse, error)

	// CreateBrowserSessionWithResponse Sign in with an existing API token.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /dans/session (the `CreateBrowserSession` operationId).
	CreateBrowserSessionWithResponse(ctx context.Context, body CreateBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBrowserSessionResponse, error)

	// ListZoneBindingsWithResponse performs a GET /dans/zone-bindings (the `ListZoneBindings` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ListZoneBindingsWithResponse(ctx context.Context, params *ListZoneBindingsParams, reqEditors ...RequestEditorFn) (*ListZoneBindingsResponse, error)

	// CreateZoneBindingWithBodyWithResponse performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateZoneBindingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneBindingResponse, error)

	// CreateZoneBindingWithResponse performs a POST /dans/zone-bindings (the `CreateZoneBinding` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	CreateZoneBindingWithResponse(ctx context.Context, body CreateZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneBindingResponse, error)

	// GetZoneBindingWithResponse performs a GET /dans/zone-bindings/{zone_binding_id} (the `GetZoneBinding` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetZoneBindingWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*GetZoneBindingResponse, error)

	// ConfirmZoneBindingAbsentWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/confirm-absent (the `ConfirmZoneBindingAbsent` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ConfirmZoneBindingAbsentWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*ConfirmZoneBindingAbsentResponse, error)

	// ObserveZoneBindingWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/observe (the `ObserveZoneBinding` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	ObserveZoneBindingWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*ObserveZoneBindingResponse, error)

	// RebindZoneBindingWithBodyWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	RebindZoneBindingWithBodyWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebindZoneBindingResponse, error)

	// RebindZoneBindingWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/rebind (the `RebindZoneBinding` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	RebindZoneBindingWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, body RebindZoneBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*RebindZoneBindingResponse, error)

	// RetryZoneBindingDeletionWithResponse performs a POST /dans/zone-bindings/{zone_binding_id}/retry-delete (the `RetryZoneBindingDeletion` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	RetryZoneBindingDeletionWithResponse(ctx context.Context, zoneBindingId ZoneBindingID, reqEditors ...RequestEditorFn) (*RetryZoneBindingDeletionResponse, error)

	// PowerDNSErrorWithResponse Will always generate an error
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /error (the `PowerDNSError` operationId).
	PowerDNSErrorWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PowerDNSErrorResponse, error)

	// GetLivenessWithResponse Report process liveness.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /livez (the `GetLiveness` operationId).
	GetLivenessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLivenessResponse, error)

	// GetReadinessWithResponse Report whether authenticated API traffic can be served.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /readyz (the `GetReadiness` operationId).
	GetReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReadinessResponse, error)

	// ListServersWithResponse List all servers
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers (the `ListServers` operationId).
	ListServersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListServersResponse, error)

	// ListServerWithResponse List a server
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id} (the `ListServer` operationId).
	ListServerWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListServerResponse, error)

	// GetAutoprimariesWithResponse Get a list of autoprimaries
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/autoprimaries (the `GetAutoprimaries` operationId).
	GetAutoprimariesWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*GetAutoprimariesResponse, error)

	// CreateAutoprimaryWithBodyWithResponse Add an autoprimary
	//
	// This methods add a new autoprimary server.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).
	CreateAutoprimaryWithBodyWithResponse(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAutoprimaryResponse, error)

	// CreateAutoprimaryWithResponse Add an autoprimary
	//
	// This methods add a new autoprimary server.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/autoprimaries (the `CreateAutoprimary` operationId).
	CreateAutoprimaryWithResponse(ctx context.Context, serverId ServerId, body CreateAutoprimaryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAutoprimaryResponse, error)

	// DeleteAutoprimaryWithResponse Delete the autoprimary entry
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /servers/{server_id}/autoprimaries/{ip}/{nameserver} (the `DeleteAutoprimary` operationId).
	DeleteAutoprimaryWithResponse(ctx context.Context, serverId ServerId, ip string, nameserver string, reqEditors ...RequestEditorFn) (*DeleteAutoprimaryResponse, error)

	// CacheFlushByNameWithResponse Flush a cache-entry by name
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/cache/flush (the `CacheFlushByName` operationId).
	CacheFlushByNameWithResponse(ctx context.Context, serverId ServerId, params *CacheFlushByNameParams, reqEditors ...RequestEditorFn) (*CacheFlushByNameResponse, error)

	// GetConfigWithResponse Returns all ConfigSettings for a single server
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/config (the `GetConfig` operationId).
	GetConfigWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)

	// GetConfigSettingWithResponse Returns a specific ConfigSetting for a single server
	//
	// NOT IMPLEMENTED.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/config/{config_setting_name} (the `GetConfigSetting` operationId).
	GetConfigSettingWithResponse(ctx context.Context, serverId ServerId, configSettingName string, reqEditors ...RequestEditorFn) (*GetConfigSettingResponse, error)

	// ListNetworksWithResponse List all registered networks and views in a server
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/networks (the `ListNetworks` operationId).
	ListNetworksWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListNetworksResponse, error)

	// GetNetworkWithResponse Return the view associated to the given network
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/networks/{ip}/{prefixlen} (the `GetNetwork` operationId).
	GetNetworkWithResponse(ctx context.Context, serverId ServerId, ip string, prefixlen string, reqEditors ...RequestEditorFn) (*GetNetworkResponse, error)

	// SetNetworkWithBodyWithResponse Sets the view associated to the given network
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).
	SetNetworkWithBodyWithResponse(ctx context.Context, serverId ServerId, ip string, prefixlen string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetNetworkResponse, error)

	// SetNetworkWithResponse Sets the view associated to the given network
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/networks/{ip}/{prefixlen} (the `SetNetwork` operationId).
	SetNetworkWithResponse(ctx context.Context, serverId ServerId, ip string, prefixlen string, body SetNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*SetNetworkResponse, error)

	// SearchDataWithResponse 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.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/search-data (the `SearchData` operationId).
	SearchDataWithResponse(ctx context.Context, serverId ServerId, params *SearchDataParams, reqEditors ...RequestEditorFn) (*SearchDataResponse, error)

	// GetStatsWithResponse Query statistics.
	//
	// Query PowerDNS internal statistics.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/statistics (the `GetStats` operationId).
	GetStatsWithResponse(ctx context.Context, serverId ServerId, params *GetStatsParams, reqEditors ...RequestEditorFn) (*GetStatsResponse, error)

	// ListTSIGKeysWithResponse Get all TSIGKeys on the server, except the actual key
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/tsigkeys (the `ListTSIGKeys` operationId).
	ListTSIGKeysWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListTSIGKeysResponse, error)

	// CreateTSIGKeyWithBodyWithResponse 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
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).
	CreateTSIGKeyWithBodyWithResponse(ctx context.Context, serverId ServerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTSIGKeyResponse, error)

	// CreateTSIGKeyWithResponse 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
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/tsigkeys (the `CreateTSIGKey` operationId).
	CreateTSIGKeyWithResponse(ctx context.Context, serverId ServerId, body CreateTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTSIGKeyResponse, error)

	// DeleteTSIGKeyWithResponse Delete the TSIGKey with tsigkey_id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /servers/{server_id}/tsigkeys/{tsigkey_id} (the `DeleteTSIGKey` operationId).
	DeleteTSIGKeyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*DeleteTSIGKeyResponse, error)

	// GetTSIGKeyWithResponse Get a specific TSIGKeys on the server, including the actual key
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/tsigkeys/{tsigkey_id} (the `GetTSIGKey` operationId).
	GetTSIGKeyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, reqEditors ...RequestEditorFn) (*GetTSIGKeyResponse, error)

	// PutTSIGKeyWithBodyWithResponse performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request,
	// with any type of body and a specified content type.
	//
	// 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.
	//
	// Returns a wrapper object for the known response body format(s).
	PutTSIGKeyWithBodyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTSIGKeyResponse, error)

	// PutTSIGKeyWithResponse performs a PUT /servers/{server_id}/tsigkeys/{tsigkey_id} (the `PutTSIGKey` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// 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.
	PutTSIGKeyWithResponse(ctx context.Context, serverId ServerId, tsigkeyId string, body PutTSIGKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTSIGKeyResponse, error)

	// ListViewsWithResponse List all views in a server
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/views (the `ListViews` operationId).
	ListViewsWithResponse(ctx context.Context, serverId ServerId, reqEditors ...RequestEditorFn) (*ListViewsResponse, error)

	// ListViewWithResponse List the contents of a given view
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/views/{view} (the `ListView` operationId).
	ListViewWithResponse(ctx context.Context, serverId ServerId, view View, reqEditors ...RequestEditorFn) (*ListViewResponse, error)

	// AddToViewWithBodyWithResponse Adds a zone to a given view, creating it if needed
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).
	AddToViewWithBodyWithResponse(ctx context.Context, serverId ServerId, view View, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddToViewResponse, error)

	// AddToViewWithResponse Adds a zone to a given view, creating it if needed
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/views/{view} (the `AddToView` operationId).
	AddToViewWithResponse(ctx context.Context, serverId ServerId, view View, body AddToViewJSONRequestBody, reqEditors ...RequestEditorFn) (*AddToViewResponse, error)

	// DeleteFromViewWithResponse Removes the given zone from the given view
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /servers/{server_id}/views/{view}/{id} (the `DeleteFromView` operationId).
	DeleteFromViewWithResponse(ctx context.Context, serverId ServerId, view View, id string, reqEditors ...RequestEditorFn) (*DeleteFromViewResponse, error)

	// ListZonesWithResponse List all Zones in a server
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones (the `ListZones` operationId).
	ListZonesWithResponse(ctx context.Context, serverId ServerId, params *ListZonesParams, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)

	// CreateZoneWithBodyWithResponse Creates a new domain, returns the Zone on creation.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).
	CreateZoneWithBodyWithResponse(ctx context.Context, serverId ServerId, params *CreateZoneParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

	// CreateZoneWithResponse Creates a new domain, returns the Zone on creation.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/zones (the `CreateZone` operationId).
	CreateZoneWithResponse(ctx context.Context, serverId ServerId, params *CreateZoneParams, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)

	// DeleteZoneWithResponse Deletes this zone, all attached metadata and rrsets.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /servers/{server_id}/zones/{zone_id} (the `DeleteZone` operationId).
	DeleteZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneResponse, error)

	// ListZoneWithResponse zone managed by a server
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id} (the `ListZone` operationId).
	ListZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, params *ListZoneParams, reqEditors ...RequestEditorFn) (*ListZoneResponse, error)

	// PatchZoneWithBodyWithResponse Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).
	PatchZoneWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchZoneResponse, error)

	// PatchZoneWithResponse Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /servers/{server_id}/zones/{zone_id} (the `PatchZone` operationId).
	PatchZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body PatchZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchZoneResponse, error)

	// PutZoneWithBodyWithResponse 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.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).
	PutZoneWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutZoneResponse, error)

	// PutZoneWithResponse 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.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id} (the `PutZone` operationId).
	PutZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body PutZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*PutZoneResponse, error)

	// AxfrRetrieveZoneWithResponse 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.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/axfr-retrieve (the `AxfrRetrieveZone` operationId).
	AxfrRetrieveZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*AxfrRetrieveZoneResponse, error)

	// ListCryptokeysWithResponse Get all CryptoKeys for a zone, except the privatekey
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys (the `ListCryptokeys` operationId).
	ListCryptokeysWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListCryptokeysResponse, error)

	// CreateCryptokeyWithBodyWithResponse 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.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).
	CreateCryptokeyWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCryptokeyResponse, error)

	// CreateCryptokeyWithResponse 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.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/cryptokeys (the `CreateCryptokey` operationId).
	CreateCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCryptokeyResponse, error)

	// DeleteCryptokeyWithResponse This method deletes a key specified by cryptokey_id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `DeleteCryptokey` operationId).
	DeleteCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*DeleteCryptokeyResponse, error)

	// GetCryptokeyWithResponse Returns all data about the CryptoKey, including the privatekey.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `GetCryptokey` operationId).
	GetCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, reqEditors ...RequestEditorFn) (*GetCryptokeyResponse, error)

	// ModifyCryptokeyWithBodyWithResponse This method (de)activates a key from zone_name specified by cryptokey_id
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).
	ModifyCryptokeyWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyCryptokeyResponse, error)

	// ModifyCryptokeyWithResponse This method (de)activates a key from zone_name specified by cryptokey_id
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id} (the `ModifyCryptokey` operationId).
	ModifyCryptokeyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, cryptokeyId string, body ModifyCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyCryptokeyResponse, error)

	// AxfrExportZoneWithResponse Returns the zone in AXFR format.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/export (the `AxfrExportZone` operationId).
	AxfrExportZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*AxfrExportZoneResponse, error)

	// ListMetadataWithResponse Get all the Metadata associated with the zone.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata (the `ListMetadata` operationId).
	ListMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListMetadataResponse, error)

	// CreateMetadataWithBodyWithResponse 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.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).
	CreateMetadataWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMetadataResponse, error)

	// CreateMetadataWithResponse 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.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /servers/{server_id}/zones/{zone_id}/metadata (the `CreateMetadata` operationId).
	CreateMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, body CreateMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMetadataResponse, error)

	// DeleteMetadataWithResponse Delete all items of a single kind of domain metadata.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `DeleteMetadata` operationId).
	DeleteMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*DeleteMetadataResponse, error)

	// GetMetadataWithResponse Get the content of a single kind of domain metadata as a Metadata object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `GetMetadata` operationId).
	GetMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, reqEditors ...RequestEditorFn) (*GetMetadataResponse, error)

	// ModifyMetadataWithBodyWithResponse 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.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).
	ModifyMetadataWithBodyWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyMetadataResponse, error)

	// ModifyMetadataWithResponse 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.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind} (the `ModifyMetadata` operationId).
	ModifyMetadataWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, metadataKind string, body ModifyMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyMetadataResponse, error)

	// NotifyZoneWithResponse 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.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/notify (the `NotifyZone` operationId).
	NotifyZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*NotifyZoneResponse, error)

	// RectifyZoneWithResponse 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.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /servers/{server_id}/zones/{zone_id}/rectify (the `RectifyZone` operationId).
	RectifyZoneWithResponse(ctx context.Context, serverId ServerId, zoneId ZoneId, reqEditors ...RequestEditorFn) (*RectifyZoneResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Comment

type Comment struct {
	// Account Name of an account that added the comment
	Account *string `json:"account,omitempty"`

	// Content The actual comment
	Content *string `json:"content,omitempty"`

	// ModifiedAt Timestamp of the last change to the comment
	ModifiedAt *int `json:"modified_at,omitempty"`
}

Comment A comment about an RRSet.

type ConfigSetting

type ConfigSetting struct {
	// Name set to "ConfigSetting"
	Name *string `json:"name,omitempty"`

	// Type The name of this setting (e.g. ‘webserver-port’)
	Type *string `json:"type,omitempty"`

	// Value The value of setting name
	Value *string `json:"value,omitempty"`
}

ConfigSetting defines model for ConfigSetting.

type ConfirmZoneBindingAbsent200JSONResponse

type ConfirmZoneBindingAbsent200JSONResponse ZoneBinding

func (ConfirmZoneBindingAbsent200JSONResponse) VisitConfirmZoneBindingAbsentResponse

func (response ConfirmZoneBindingAbsent200JSONResponse) VisitConfirmZoneBindingAbsentResponse(w http.ResponseWriter) error

type ConfirmZoneBindingAbsentRequestObject

type ConfirmZoneBindingAbsentRequestObject struct {
	ZoneBindingId ZoneBindingID `json:"zone_binding_id"`
}

type ConfirmZoneBindingAbsentResponse

type ConfirmZoneBindingAbsentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ZoneBinding
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseConfirmZoneBindingAbsentResponse

func ParseConfirmZoneBindingAbsentResponse(rsp *http.Response) (*ConfirmZoneBindingAbsentResponse, error)

ParseConfirmZoneBindingAbsentResponse parses an HTTP response from a ConfirmZoneBindingAbsentWithResponse call

func (ConfirmZoneBindingAbsentResponse) ContentType

func (r ConfirmZoneBindingAbsentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConfirmZoneBindingAbsentResponse) GetBody

func (r ConfirmZoneBindingAbsentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ConfirmZoneBindingAbsentResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConfirmZoneBindingAbsentResponse) GetJSONDefault

func (r ConfirmZoneBindingAbsentResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ConfirmZoneBindingAbsentResponse) Status

Status returns HTTPResponse.Status

func (ConfirmZoneBindingAbsentResponse) StatusCode

func (r ConfirmZoneBindingAbsentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConfirmZoneBindingAbsentResponseObject

type ConfirmZoneBindingAbsentResponseObject interface {
	VisitConfirmZoneBindingAbsentResponse(w http.ResponseWriter) error
}

type ConfirmZoneBindingAbsentdefaultJSONResponse

type ConfirmZoneBindingAbsentdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ConfirmZoneBindingAbsentdefaultJSONResponse) VisitConfirmZoneBindingAbsentResponse

func (response ConfirmZoneBindingAbsentdefaultJSONResponse) VisitConfirmZoneBindingAbsentResponse(w http.ResponseWriter) error

type CreateAutoprimary201Response

type CreateAutoprimary201Response struct {
}

func (CreateAutoprimary201Response) VisitCreateAutoprimaryResponse

func (response CreateAutoprimary201Response) VisitCreateAutoprimaryResponse(w http.ResponseWriter) error

type CreateAutoprimaryJSONRequestBody

type CreateAutoprimaryJSONRequestBody = Autoprimary

CreateAutoprimaryJSONRequestBody defines body for CreateAutoprimary for application/json ContentType.

type CreateAutoprimaryRequestObject

type CreateAutoprimaryRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Body     *CreateAutoprimaryJSONRequestBody
}

type CreateAutoprimaryResponse

type CreateAutoprimaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseCreateAutoprimaryResponse

func ParseCreateAutoprimaryResponse(rsp *http.Response) (*CreateAutoprimaryResponse, error)

ParseCreateAutoprimaryResponse parses an HTTP response from a CreateAutoprimaryWithResponse call

func (CreateAutoprimaryResponse) ContentType

func (r CreateAutoprimaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAutoprimaryResponse) GetBody

func (r CreateAutoprimaryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateAutoprimaryResponse) GetJSONDefault

func (r CreateAutoprimaryResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateAutoprimaryResponse) Status

func (r CreateAutoprimaryResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAutoprimaryResponse) StatusCode

func (r CreateAutoprimaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAutoprimaryResponseObject

type CreateAutoprimaryResponseObject interface {
	VisitCreateAutoprimaryResponse(w http.ResponseWriter) error
}

type CreateAutoprimarydefaultJSONResponse

type CreateAutoprimarydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateAutoprimarydefaultJSONResponse) VisitCreateAutoprimaryResponse

func (response CreateAutoprimarydefaultJSONResponse) VisitCreateAutoprimaryResponse(w http.ResponseWriter) error

type CreateBrowserSession201JSONResponse

type CreateBrowserSession201JSONResponse struct {
	Body    BrowserSessionMetadata
	Headers CreateBrowserSession201ResponseHeaders
}

func (CreateBrowserSession201JSONResponse) VisitCreateBrowserSessionResponse

func (response CreateBrowserSession201JSONResponse) VisitCreateBrowserSessionResponse(w http.ResponseWriter) error

type CreateBrowserSession201ResponseHeaders

type CreateBrowserSession201ResponseHeaders struct {
	SetCookie *string
}

type CreateBrowserSessionJSONRequestBody

type CreateBrowserSessionJSONRequestBody = BrowserSignIn

CreateBrowserSessionJSONRequestBody defines body for CreateBrowserSession for application/json ContentType.

type CreateBrowserSessionRequestObject

type CreateBrowserSessionRequestObject struct {
	Body *CreateBrowserSessionJSONRequestBody
}

type CreateBrowserSessionResponse

type CreateBrowserSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *BrowserSessionMetadata
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateBrowserSessionResponse201Headers
}

func ParseCreateBrowserSessionResponse

func ParseCreateBrowserSessionResponse(rsp *http.Response) (*CreateBrowserSessionResponse, error)

ParseCreateBrowserSessionResponse parses an HTTP response from a CreateBrowserSessionWithResponse call

func (CreateBrowserSessionResponse) ContentType

func (r CreateBrowserSessionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateBrowserSessionResponse) GetBody

func (r CreateBrowserSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateBrowserSessionResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateBrowserSessionResponse) GetJSONDefault

func (r CreateBrowserSessionResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateBrowserSessionResponse) Status

Status returns HTTPResponse.Status

func (CreateBrowserSessionResponse) StatusCode

func (r CreateBrowserSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBrowserSessionResponse201Headers

type CreateBrowserSessionResponse201Headers struct {
	SetCookie *string
}

CreateBrowserSessionResponse201Headers the declared response headers of an HTTP 201 response for CreateBrowserSession

type CreateBrowserSessionResponseObject

type CreateBrowserSessionResponseObject interface {
	VisitCreateBrowserSessionResponse(w http.ResponseWriter) error
}

type CreateBrowserSessiondefaultJSONResponse

type CreateBrowserSessiondefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateBrowserSessiondefaultJSONResponse) VisitCreateBrowserSessionResponse

func (response CreateBrowserSessiondefaultJSONResponse) VisitCreateBrowserSessionResponse(w http.ResponseWriter) error

type CreateCryptokey201JSONResponse

type CreateCryptokey201JSONResponse Cryptokey

func (CreateCryptokey201JSONResponse) VisitCreateCryptokeyResponse

func (response CreateCryptokey201JSONResponse) VisitCreateCryptokeyResponse(w http.ResponseWriter) error

type CreateCryptokeyJSONRequestBody

type CreateCryptokeyJSONRequestBody = Cryptokey

CreateCryptokeyJSONRequestBody defines body for CreateCryptokey for application/json ContentType.

type CreateCryptokeyRequestObject

type CreateCryptokeyRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
	Body     *CreateCryptokeyJSONRequestBody
}

type CreateCryptokeyResponse

type CreateCryptokeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Cryptokey
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseCreateCryptokeyResponse

func ParseCreateCryptokeyResponse(rsp *http.Response) (*CreateCryptokeyResponse, error)

ParseCreateCryptokeyResponse parses an HTTP response from a CreateCryptokeyWithResponse call

func (CreateCryptokeyResponse) ContentType

func (r CreateCryptokeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCryptokeyResponse) GetBody

func (r CreateCryptokeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateCryptokeyResponse) GetJSON201

func (r CreateCryptokeyResponse) GetJSON201() *Cryptokey

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateCryptokeyResponse) GetJSONDefault

func (r CreateCryptokeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateCryptokeyResponse) Status

func (r CreateCryptokeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateCryptokeyResponse) StatusCode

func (r CreateCryptokeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCryptokeyResponseObject

type CreateCryptokeyResponseObject interface {
	VisitCreateCryptokeyResponse(w http.ResponseWriter) error
}

type CreateCryptokeydefaultJSONResponse

type CreateCryptokeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateCryptokeydefaultJSONResponse) VisitCreateCryptokeyResponse

func (response CreateCryptokeydefaultJSONResponse) VisitCreateCryptokeyResponse(w http.ResponseWriter) error

type CreateCurrentIdentityToken201JSONResponse

type CreateCurrentIdentityToken201JSONResponse struct {
	Body    TokenSecret
	Headers CreateCurrentIdentityToken201ResponseHeaders
}

func (CreateCurrentIdentityToken201JSONResponse) VisitCreateCurrentIdentityTokenResponse

func (response CreateCurrentIdentityToken201JSONResponse) VisitCreateCurrentIdentityTokenResponse(w http.ResponseWriter) error

type CreateCurrentIdentityToken201ResponseHeaders

type CreateCurrentIdentityToken201ResponseHeaders struct {
	Location *string
}

type CreateCurrentIdentityTokenJSONRequestBody

type CreateCurrentIdentityTokenJSONRequestBody = TokenCreate

CreateCurrentIdentityTokenJSONRequestBody defines body for CreateCurrentIdentityToken for application/json ContentType.

type CreateCurrentIdentityTokenRequestObject

type CreateCurrentIdentityTokenRequestObject struct {
	Body *CreateCurrentIdentityTokenJSONRequestBody
}

type CreateCurrentIdentityTokenResponse

type CreateCurrentIdentityTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TokenSecret
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateCurrentIdentityTokenResponse201Headers
}

func ParseCreateCurrentIdentityTokenResponse

func ParseCreateCurrentIdentityTokenResponse(rsp *http.Response) (*CreateCurrentIdentityTokenResponse, error)

ParseCreateCurrentIdentityTokenResponse parses an HTTP response from a CreateCurrentIdentityTokenWithResponse call

func (CreateCurrentIdentityTokenResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCurrentIdentityTokenResponse) GetBody

GetBody returns the raw response body bytes

func (CreateCurrentIdentityTokenResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateCurrentIdentityTokenResponse) GetJSONDefault

func (r CreateCurrentIdentityTokenResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateCurrentIdentityTokenResponse) Status

Status returns HTTPResponse.Status

func (CreateCurrentIdentityTokenResponse) StatusCode

func (r CreateCurrentIdentityTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCurrentIdentityTokenResponse201Headers

type CreateCurrentIdentityTokenResponse201Headers struct {
	Location *string
}

CreateCurrentIdentityTokenResponse201Headers the declared response headers of an HTTP 201 response for CreateCurrentIdentityToken

type CreateCurrentIdentityTokenResponseObject

type CreateCurrentIdentityTokenResponseObject interface {
	VisitCreateCurrentIdentityTokenResponse(w http.ResponseWriter) error
}

type CreateCurrentIdentityTokendefaultJSONResponse

type CreateCurrentIdentityTokendefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateCurrentIdentityTokendefaultJSONResponse) VisitCreateCurrentIdentityTokenResponse

func (response CreateCurrentIdentityTokendefaultJSONResponse) VisitCreateCurrentIdentityTokenResponse(w http.ResponseWriter) error

type CreateDelegation201JSONResponse

type CreateDelegation201JSONResponse struct {
	Body    Delegation
	Headers CreateDelegation201ResponseHeaders
}

func (CreateDelegation201JSONResponse) VisitCreateDelegationResponse

func (response CreateDelegation201JSONResponse) VisitCreateDelegationResponse(w http.ResponseWriter) error

type CreateDelegation201ResponseHeaders

type CreateDelegation201ResponseHeaders struct {
	Location *string
}

type CreateDelegationJSONRequestBody

type CreateDelegationJSONRequestBody = DelegationCreate

CreateDelegationJSONRequestBody defines body for CreateDelegation for application/json ContentType.

type CreateDelegationRequestObject

type CreateDelegationRequestObject struct {
	Body *CreateDelegationJSONRequestBody
}

type CreateDelegationResponse

type CreateDelegationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Delegation
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateDelegationResponse201Headers
}

func ParseCreateDelegationResponse

func ParseCreateDelegationResponse(rsp *http.Response) (*CreateDelegationResponse, error)

ParseCreateDelegationResponse parses an HTTP response from a CreateDelegationWithResponse call

func (CreateDelegationResponse) ContentType

func (r CreateDelegationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDelegationResponse) GetBody

func (r CreateDelegationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateDelegationResponse) GetJSON201

func (r CreateDelegationResponse) GetJSON201() *Delegation

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDelegationResponse) GetJSONDefault

func (r CreateDelegationResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateDelegationResponse) Status

func (r CreateDelegationResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDelegationResponse) StatusCode

func (r CreateDelegationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDelegationResponse201Headers

type CreateDelegationResponse201Headers struct {
	Location *string
}

CreateDelegationResponse201Headers the declared response headers of an HTTP 201 response for CreateDelegation

type CreateDelegationResponseObject

type CreateDelegationResponseObject interface {
	VisitCreateDelegationResponse(w http.ResponseWriter) error
}

type CreateDelegationdefaultJSONResponse

type CreateDelegationdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateDelegationdefaultJSONResponse) VisitCreateDelegationResponse

func (response CreateDelegationdefaultJSONResponse) VisitCreateDelegationResponse(w http.ResponseWriter) error

type CreateGroup201JSONResponse

type CreateGroup201JSONResponse struct {
	Body    Group
	Headers CreateGroup201ResponseHeaders
}

func (CreateGroup201JSONResponse) VisitCreateGroupResponse

func (response CreateGroup201JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroup201ResponseHeaders

type CreateGroup201ResponseHeaders struct {
	Location *string
}

type CreateGroupJSONRequestBody

type CreateGroupJSONRequestBody = GroupCreate

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateGroupRequestObject

type CreateGroupRequestObject struct {
	Body *CreateGroupJSONRequestBody
}

type CreateGroupResponse

type CreateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Group
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateGroupResponse201Headers
}

func ParseCreateGroupResponse

func ParseCreateGroupResponse(rsp *http.Response) (*CreateGroupResponse, error)

ParseCreateGroupResponse parses an HTTP response from a CreateGroupWithResponse call

func (CreateGroupResponse) ContentType

func (r CreateGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateGroupResponse) GetBody

func (r CreateGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateGroupResponse) GetJSON201

func (r CreateGroupResponse) GetJSON201() *Group

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateGroupResponse) GetJSONDefault

func (r CreateGroupResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateGroupResponse) Status

func (r CreateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGroupResponse) StatusCode

func (r CreateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGroupResponse201Headers

type CreateGroupResponse201Headers struct {
	Location *string
}

CreateGroupResponse201Headers the declared response headers of an HTTP 201 response for CreateGroup

type CreateGroupResponseObject

type CreateGroupResponseObject interface {
	VisitCreateGroupResponse(w http.ResponseWriter) error
}

type CreateGroupdefaultJSONResponse

type CreateGroupdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateGroupdefaultJSONResponse) VisitCreateGroupResponse

func (response CreateGroupdefaultJSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateIdentity201JSONResponse

type CreateIdentity201JSONResponse struct {
	Body    Identity
	Headers CreateIdentity201ResponseHeaders
}

func (CreateIdentity201JSONResponse) VisitCreateIdentityResponse

func (response CreateIdentity201JSONResponse) VisitCreateIdentityResponse(w http.ResponseWriter) error

type CreateIdentity201ResponseHeaders

type CreateIdentity201ResponseHeaders struct {
	Location *string
}

type CreateIdentityJSONRequestBody

type CreateIdentityJSONRequestBody = IdentityCreate

CreateIdentityJSONRequestBody defines body for CreateIdentity for application/json ContentType.

type CreateIdentityRequestObject

type CreateIdentityRequestObject struct {
	Body *CreateIdentityJSONRequestBody
}

type CreateIdentityResponse

type CreateIdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Identity
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateIdentityResponse201Headers
}

func ParseCreateIdentityResponse

func ParseCreateIdentityResponse(rsp *http.Response) (*CreateIdentityResponse, error)

ParseCreateIdentityResponse parses an HTTP response from a CreateIdentityWithResponse call

func (CreateIdentityResponse) ContentType

func (r CreateIdentityResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateIdentityResponse) GetBody

func (r CreateIdentityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateIdentityResponse) GetJSON201

func (r CreateIdentityResponse) GetJSON201() *Identity

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateIdentityResponse) GetJSONDefault

func (r CreateIdentityResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateIdentityResponse) Status

func (r CreateIdentityResponse) Status() string

Status returns HTTPResponse.Status

func (CreateIdentityResponse) StatusCode

func (r CreateIdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIdentityResponse201Headers

type CreateIdentityResponse201Headers struct {
	Location *string
}

CreateIdentityResponse201Headers the declared response headers of an HTTP 201 response for CreateIdentity

type CreateIdentityResponseObject

type CreateIdentityResponseObject interface {
	VisitCreateIdentityResponse(w http.ResponseWriter) error
}

type CreateIdentityToken201JSONResponse

type CreateIdentityToken201JSONResponse struct {
	Body    TokenSecret
	Headers CreateIdentityToken201ResponseHeaders
}

func (CreateIdentityToken201JSONResponse) VisitCreateIdentityTokenResponse

func (response CreateIdentityToken201JSONResponse) VisitCreateIdentityTokenResponse(w http.ResponseWriter) error

type CreateIdentityToken201ResponseHeaders

type CreateIdentityToken201ResponseHeaders struct {
	Location *string
}

type CreateIdentityTokenJSONRequestBody

type CreateIdentityTokenJSONRequestBody = TokenCreate

CreateIdentityTokenJSONRequestBody defines body for CreateIdentityToken for application/json ContentType.

type CreateIdentityTokenRequestObject

type CreateIdentityTokenRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	Body       *CreateIdentityTokenJSONRequestBody
}

type CreateIdentityTokenResponse

type CreateIdentityTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TokenSecret
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateIdentityTokenResponse201Headers
}

func ParseCreateIdentityTokenResponse

func ParseCreateIdentityTokenResponse(rsp *http.Response) (*CreateIdentityTokenResponse, error)

ParseCreateIdentityTokenResponse parses an HTTP response from a CreateIdentityTokenWithResponse call

func (CreateIdentityTokenResponse) ContentType

func (r CreateIdentityTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateIdentityTokenResponse) GetBody

func (r CreateIdentityTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateIdentityTokenResponse) GetJSON201

func (r CreateIdentityTokenResponse) GetJSON201() *TokenSecret

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateIdentityTokenResponse) GetJSONDefault

func (r CreateIdentityTokenResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateIdentityTokenResponse) Status

Status returns HTTPResponse.Status

func (CreateIdentityTokenResponse) StatusCode

func (r CreateIdentityTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIdentityTokenResponse201Headers

type CreateIdentityTokenResponse201Headers struct {
	Location *string
}

CreateIdentityTokenResponse201Headers the declared response headers of an HTTP 201 response for CreateIdentityToken

type CreateIdentityTokenResponseObject

type CreateIdentityTokenResponseObject interface {
	VisitCreateIdentityTokenResponse(w http.ResponseWriter) error
}

type CreateIdentityTokendefaultJSONResponse

type CreateIdentityTokendefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateIdentityTokendefaultJSONResponse) VisitCreateIdentityTokenResponse

func (response CreateIdentityTokendefaultJSONResponse) VisitCreateIdentityTokenResponse(w http.ResponseWriter) error

type CreateIdentitydefaultJSONResponse

type CreateIdentitydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateIdentitydefaultJSONResponse) VisitCreateIdentityResponse

func (response CreateIdentitydefaultJSONResponse) VisitCreateIdentityResponse(w http.ResponseWriter) error

type CreateMetadata204Response

type CreateMetadata204Response struct {
}

func (CreateMetadata204Response) VisitCreateMetadataResponse

func (response CreateMetadata204Response) VisitCreateMetadataResponse(w http.ResponseWriter) error

type CreateMetadataJSONRequestBody

type CreateMetadataJSONRequestBody = Metadata

CreateMetadataJSONRequestBody defines body for CreateMetadata for application/json ContentType.

type CreateMetadataRequestObject

type CreateMetadataRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
	Body     *CreateMetadataJSONRequestBody
}

type CreateMetadataResponse

type CreateMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseCreateMetadataResponse

func ParseCreateMetadataResponse(rsp *http.Response) (*CreateMetadataResponse, error)

ParseCreateMetadataResponse parses an HTTP response from a CreateMetadataWithResponse call

func (CreateMetadataResponse) ContentType

func (r CreateMetadataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateMetadataResponse) GetBody

func (r CreateMetadataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateMetadataResponse) GetJSONDefault

func (r CreateMetadataResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateMetadataResponse) Status

func (r CreateMetadataResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMetadataResponse) StatusCode

func (r CreateMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMetadataResponseObject

type CreateMetadataResponseObject interface {
	VisitCreateMetadataResponse(w http.ResponseWriter) error
}

type CreateMetadatadefaultJSONResponse

type CreateMetadatadefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateMetadatadefaultJSONResponse) VisitCreateMetadataResponse

func (response CreateMetadatadefaultJSONResponse) VisitCreateMetadataResponse(w http.ResponseWriter) error

type CreateTSIGKey201JSONResponse

type CreateTSIGKey201JSONResponse TSIGKey

func (CreateTSIGKey201JSONResponse) VisitCreateTSIGKeyResponse

func (response CreateTSIGKey201JSONResponse) VisitCreateTSIGKeyResponse(w http.ResponseWriter) error

type CreateTSIGKey409JSONResponse

type CreateTSIGKey409JSONResponse Error

func (CreateTSIGKey409JSONResponse) VisitCreateTSIGKeyResponse

func (response CreateTSIGKey409JSONResponse) VisitCreateTSIGKeyResponse(w http.ResponseWriter) error

type CreateTSIGKeyJSONRequestBody

type CreateTSIGKeyJSONRequestBody = TSIGKey

CreateTSIGKeyJSONRequestBody defines body for CreateTSIGKey for application/json ContentType.

type CreateTSIGKeyRequestObject

type CreateTSIGKeyRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Body     *CreateTSIGKeyJSONRequestBody
}

type CreateTSIGKeyResponse

type CreateTSIGKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TSIGKey
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseCreateTSIGKeyResponse

func ParseCreateTSIGKeyResponse(rsp *http.Response) (*CreateTSIGKeyResponse, error)

ParseCreateTSIGKeyResponse parses an HTTP response from a CreateTSIGKeyWithResponse call

func (CreateTSIGKeyResponse) ContentType

func (r CreateTSIGKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTSIGKeyResponse) GetBody

func (r CreateTSIGKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTSIGKeyResponse) GetJSON201

func (r CreateTSIGKeyResponse) GetJSON201() *TSIGKey

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateTSIGKeyResponse) GetJSON409

func (r CreateTSIGKeyResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateTSIGKeyResponse) GetJSONDefault

func (r CreateTSIGKeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateTSIGKeyResponse) Status

func (r CreateTSIGKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTSIGKeyResponse) StatusCode

func (r CreateTSIGKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTSIGKeyResponseObject

type CreateTSIGKeyResponseObject interface {
	VisitCreateTSIGKeyResponse(w http.ResponseWriter) error
}

type CreateTSIGKeydefaultJSONResponse

type CreateTSIGKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateTSIGKeydefaultJSONResponse) VisitCreateTSIGKeyResponse

func (response CreateTSIGKeydefaultJSONResponse) VisitCreateTSIGKeyResponse(w http.ResponseWriter) error

type CreateZone201JSONResponse

type CreateZone201JSONResponse Zone

func (CreateZone201JSONResponse) VisitCreateZoneResponse

func (response CreateZone201JSONResponse) VisitCreateZoneResponse(w http.ResponseWriter) error

type CreateZoneBinding201JSONResponse

type CreateZoneBinding201JSONResponse struct {
	Body    ZoneBinding
	Headers CreateZoneBinding201ResponseHeaders
}

func (CreateZoneBinding201JSONResponse) VisitCreateZoneBindingResponse

func (response CreateZoneBinding201JSONResponse) VisitCreateZoneBindingResponse(w http.ResponseWriter) error

type CreateZoneBinding201ResponseHeaders

type CreateZoneBinding201ResponseHeaders struct {
	Location *string
}

type CreateZoneBindingJSONRequestBody

type CreateZoneBindingJSONRequestBody = ZoneBindingCreate

CreateZoneBindingJSONRequestBody defines body for CreateZoneBinding for application/json ContentType.

type CreateZoneBindingRequestObject

type CreateZoneBindingRequestObject struct {
	Body *CreateZoneBindingJSONRequestBody
}

type CreateZoneBindingResponse

type CreateZoneBindingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ZoneBinding
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateZoneBindingResponse201Headers
}

func ParseCreateZoneBindingResponse

func ParseCreateZoneBindingResponse(rsp *http.Response) (*CreateZoneBindingResponse, error)

ParseCreateZoneBindingResponse parses an HTTP response from a CreateZoneBindingWithResponse call

func (CreateZoneBindingResponse) ContentType

func (r CreateZoneBindingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateZoneBindingResponse) GetBody

func (r CreateZoneBindingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateZoneBindingResponse) GetJSON201

func (r CreateZoneBindingResponse) GetJSON201() *ZoneBinding

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateZoneBindingResponse) GetJSONDefault

func (r CreateZoneBindingResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateZoneBindingResponse) Status

func (r CreateZoneBindingResponse) Status() string

Status returns HTTPResponse.Status

func (CreateZoneBindingResponse) StatusCode

func (r CreateZoneBindingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateZoneBindingResponse201Headers

type CreateZoneBindingResponse201Headers struct {
	Location *string
}

CreateZoneBindingResponse201Headers the declared response headers of an HTTP 201 response for CreateZoneBinding

type CreateZoneBindingResponseObject

type CreateZoneBindingResponseObject interface {
	VisitCreateZoneBindingResponse(w http.ResponseWriter) error
}

type CreateZoneBindingdefaultJSONResponse

type CreateZoneBindingdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateZoneBindingdefaultJSONResponse) VisitCreateZoneBindingResponse

func (response CreateZoneBindingdefaultJSONResponse) VisitCreateZoneBindingResponse(w http.ResponseWriter) error

type CreateZoneJSONRequestBody

type CreateZoneJSONRequestBody = Zone

CreateZoneJSONRequestBody defines body for CreateZone for application/json ContentType.

type CreateZoneParams

type CreateZoneParams struct {
	// Rrsets “true” (default) or “false”, whether to include the “rrsets” in the response Zone object.
	Rrsets *bool `form:"rrsets,omitempty" json:"rrsets,omitempty"`
}

CreateZoneParams defines parameters for CreateZone.

type CreateZoneRequestObject

type CreateZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Params   CreateZoneParams
	Body     *CreateZoneJSONRequestBody
}

type CreateZoneResponse

type CreateZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Zone
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseCreateZoneResponse

func ParseCreateZoneResponse(rsp *http.Response) (*CreateZoneResponse, error)

ParseCreateZoneResponse parses an HTTP response from a CreateZoneWithResponse call

func (CreateZoneResponse) ContentType

func (r CreateZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateZoneResponse) GetBody

func (r CreateZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateZoneResponse) GetJSON201

func (r CreateZoneResponse) GetJSON201() *Zone

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateZoneResponse) GetJSONDefault

func (r CreateZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateZoneResponse) Status

func (r CreateZoneResponse) Status() string

Status returns HTTPResponse.Status

func (CreateZoneResponse) StatusCode

func (r CreateZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateZoneResponseObject

type CreateZoneResponseObject interface {
	VisitCreateZoneResponse(w http.ResponseWriter) error
}

type CreateZonedefaultJSONResponse

type CreateZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateZonedefaultJSONResponse) VisitCreateZoneResponse

func (response CreateZonedefaultJSONResponse) VisitCreateZoneResponse(w http.ResponseWriter) error

type Cryptokey

type Cryptokey struct {
	// Active Whether or not the key is in active use
	Active *bool `json:"active,omitempty"`

	// Algorithm The name of the algorithm of the key, should be a mnemonic
	Algorithm *string `json:"algorithm,omitempty"`

	// Bits The size of the key
	Bits *int `json:"bits,omitempty"`

	// Cds An array of DS records for this key, filtered by CDS publication settings
	Cds *[]string `json:"cds,omitempty"`

	// Dnskey The DNSKEY record for this key
	Dnskey *string `json:"dnskey,omitempty"`

	// Ds An array of DS records for this key
	Ds *[]string `json:"ds,omitempty"`

	// Id The internal identifier, read only
	Id      *int              `json:"id,omitempty"`
	Keytype *CryptokeyKeytype `json:"keytype,omitempty"`

	// Privatekey The private key in ISC format
	Privatekey *string `json:"privatekey,omitempty"`

	// Published Whether or not the DNSKEY record is published in the zone
	Published *bool `json:"published,omitempty"`

	// Type set to "Cryptokey"
	Type *string `json:"type,omitempty"`
}

Cryptokey Describes a DNSSEC cryptographic key

type CryptokeyKeytype

type CryptokeyKeytype string

CryptokeyKeytype defines model for Cryptokey.Keytype.

const (
	Csk CryptokeyKeytype = "csk"
	Ksk CryptokeyKeytype = "ksk"
	Zsk CryptokeyKeytype = "zsk"
)

Defines values for CryptokeyKeytype.

func (CryptokeyKeytype) Valid

func (e CryptokeyKeytype) Valid() bool

Valid indicates whether the value is a known member of the CryptokeyKeytype enum.

type CurrentCredential

type CurrentCredential struct {
	TokenId ResourceID `json:"token_id"`
}

CurrentCredential defines model for CurrentCredential.

type Cursor

type Cursor = string

Cursor defines model for Cursor.

type DANSClientWithResponses

type DANSClientWithResponses struct {
	*ClientWithResponses
	// contains filtered or unexported fields
}

DANSClientWithResponses is the combined public client. PowerDNS and DANS operations use the canonical /api/v1 endpoint, while the document and health operations use their ingress-root routes declared by the combined contract.

func NewDANSClientWithResponses

func NewDANSClientWithResponses(endpoint string, opts ...ClientOption) (*DANSClientWithResponses, error)

NewDANSClientWithResponses constructs the combined client from a canonical endpoint ending in /api/v1.

func (*DANSClientWithResponses) GetAPIDocument

func (client *DANSClientWithResponses) GetAPIDocument(ctx context.Context, editors ...RequestEditorFn) (*http.Response, error)

GetAPIDocument performs the combined contract's ingress-root request.

func (*DANSClientWithResponses) GetAPIDocumentWithResponse

func (client *DANSClientWithResponses) GetAPIDocumentWithResponse(ctx context.Context, editors ...RequestEditorFn) (*GetAPIDocumentResponse, error)

GetAPIDocumentWithResponse performs and parses the ingress-root request.

func (*DANSClientWithResponses) GetLiveness

func (client *DANSClientWithResponses) GetLiveness(ctx context.Context, editors ...RequestEditorFn) (*http.Response, error)

GetLiveness performs the ingress-root liveness request.

func (*DANSClientWithResponses) GetLivenessWithResponse

func (client *DANSClientWithResponses) GetLivenessWithResponse(ctx context.Context, editors ...RequestEditorFn) (*GetLivenessResponse, error)

GetLivenessWithResponse performs and parses the ingress-root request.

func (*DANSClientWithResponses) GetReadiness

func (client *DANSClientWithResponses) GetReadiness(ctx context.Context, editors ...RequestEditorFn) (*http.Response, error)

GetReadiness performs the ingress-root readiness request.

func (*DANSClientWithResponses) GetReadinessWithResponse

func (client *DANSClientWithResponses) GetReadinessWithResponse(ctx context.Context, editors ...RequestEditorFn) (*GetReadinessResponse, error)

GetReadinessWithResponse performs and parses the ingress-root request.

type DansError

type DansError = Error

DansError Returned when the server encounters an error, either in client input or internally

type DansErrorJSONResponse

type DansErrorJSONResponse Error

type DansUnauthorized

type DansUnauthorized = Error

DansUnauthorized Returned when the server encounters an error, either in client input or internally

type DansUnauthorizedJSONResponse

type DansUnauthorizedJSONResponse Error

type Delegation

type Delegation struct {
	ChangeKinds   []DelegationChangeKinds              `json:"change_kinds"`
	CreatedAt     time.Time                            `json:"created_at"`
	GranteeId     ResourceID                           `json:"grantee_id"`
	GranteeKind   DelegationGranteeKind                `json:"grantee_kind"`
	Id            ResourceID                           `json:"id"`
	RecordTypes   []string                             `json:"record_types"`
	RevokedAt     nullable.Nullable[NullableTimestamp] `json:"revoked_at"`
	Selectors     []Selector                           `json:"selectors"`
	ZoneBindingId ResourceID                           `json:"zone_binding_id"`
}

Delegation defines model for Delegation.

type DelegationChangeKinds

type DelegationChangeKinds string

DelegationChangeKinds defines model for Delegation.ChangeKinds.

const (
	DelegationChangeKindsDELETE  DelegationChangeKinds = "DELETE"
	DelegationChangeKindsEXTEND  DelegationChangeKinds = "EXTEND"
	DelegationChangeKindsPRUNE   DelegationChangeKinds = "PRUNE"
	DelegationChangeKindsREPLACE DelegationChangeKinds = "REPLACE"
)

Defines values for DelegationChangeKinds.

func (DelegationChangeKinds) Valid

func (e DelegationChangeKinds) Valid() bool

Valid indicates whether the value is a known member of the DelegationChangeKinds enum.

type DelegationCreate

type DelegationCreate struct {
	ChangeKinds   *[]DelegationCreateChangeKinds        `json:"change_kinds,omitempty"`
	GroupId       nullable.Nullable[NullableResourceID] `json:"group_id,omitempty"`
	IdentityId    nullable.Nullable[NullableResourceID] `json:"identity_id,omitempty"`
	RecordTypes   *[]string                             `json:"record_types,omitempty"`
	Selectors     []Selector                            `json:"selectors"`
	ZoneBindingId ResourceID                            `json:"zone_binding_id"`
}

DelegationCreate defines model for DelegationCreate.

type DelegationCreateChangeKinds

type DelegationCreateChangeKinds string

DelegationCreateChangeKinds defines model for DelegationCreate.ChangeKinds.

const (
	DelegationCreateChangeKindsDELETE  DelegationCreateChangeKinds = "DELETE"
	DelegationCreateChangeKindsEXTEND  DelegationCreateChangeKinds = "EXTEND"
	DelegationCreateChangeKindsPRUNE   DelegationCreateChangeKinds = "PRUNE"
	DelegationCreateChangeKindsREPLACE DelegationCreateChangeKinds = "REPLACE"
)

Defines values for DelegationCreateChangeKinds.

func (DelegationCreateChangeKinds) Valid

Valid indicates whether the value is a known member of the DelegationCreateChangeKinds enum.

type DelegationGranteeKind

type DelegationGranteeKind string

DelegationGranteeKind defines model for Delegation.GranteeKind.

const (
	DelegationGranteeKindGroup    DelegationGranteeKind = "group"
	DelegationGranteeKindIdentity DelegationGranteeKind = "identity"
)

Defines values for DelegationGranteeKind.

func (DelegationGranteeKind) Valid

func (e DelegationGranteeKind) Valid() bool

Valid indicates whether the value is a known member of the DelegationGranteeKind enum.

type DelegationID

type DelegationID = ResourceID

DelegationID defines model for DelegationID.

type DelegationPage

type DelegationPage struct {
	Items      []Delegation                      `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

DelegationPage defines model for DelegationPage.

type DeleteAutoprimary204Response

type DeleteAutoprimary204Response struct {
}

func (DeleteAutoprimary204Response) VisitDeleteAutoprimaryResponse

func (response DeleteAutoprimary204Response) VisitDeleteAutoprimaryResponse(w http.ResponseWriter) error

type DeleteAutoprimaryRequestObject

type DeleteAutoprimaryRequestObject struct {
	ServerId   ServerId `json:"server_id"`
	Ip         string   `json:"ip"`
	Nameserver string   `json:"nameserver"`
}

type DeleteAutoprimaryResponse

type DeleteAutoprimaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseDeleteAutoprimaryResponse

func ParseDeleteAutoprimaryResponse(rsp *http.Response) (*DeleteAutoprimaryResponse, error)

ParseDeleteAutoprimaryResponse parses an HTTP response from a DeleteAutoprimaryWithResponse call

func (DeleteAutoprimaryResponse) ContentType

func (r DeleteAutoprimaryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAutoprimaryResponse) GetBody

func (r DeleteAutoprimaryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAutoprimaryResponse) GetJSONDefault

func (r DeleteAutoprimaryResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteAutoprimaryResponse) Status

func (r DeleteAutoprimaryResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAutoprimaryResponse) StatusCode

func (r DeleteAutoprimaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAutoprimaryResponseObject

type DeleteAutoprimaryResponseObject interface {
	VisitDeleteAutoprimaryResponse(w http.ResponseWriter) error
}

type DeleteAutoprimarydefaultJSONResponse

type DeleteAutoprimarydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteAutoprimarydefaultJSONResponse) VisitDeleteAutoprimaryResponse

func (response DeleteAutoprimarydefaultJSONResponse) VisitDeleteAutoprimaryResponse(w http.ResponseWriter) error

type DeleteBrowserSession204Response

type DeleteBrowserSession204Response struct {
	Headers DeleteBrowserSession204ResponseHeaders
}

func (DeleteBrowserSession204Response) VisitDeleteBrowserSessionResponse

func (response DeleteBrowserSession204Response) VisitDeleteBrowserSessionResponse(w http.ResponseWriter) error

type DeleteBrowserSession204ResponseHeaders

type DeleteBrowserSession204ResponseHeaders struct {
	SetCookie *string
}

type DeleteBrowserSessionRequestObject

type DeleteBrowserSessionRequestObject struct {
}

type DeleteBrowserSessionResponse

type DeleteBrowserSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteBrowserSessionResponse204Headers
}

func ParseDeleteBrowserSessionResponse

func ParseDeleteBrowserSessionResponse(rsp *http.Response) (*DeleteBrowserSessionResponse, error)

ParseDeleteBrowserSessionResponse parses an HTTP response from a DeleteBrowserSessionWithResponse call

func (DeleteBrowserSessionResponse) ContentType

func (r DeleteBrowserSessionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBrowserSessionResponse) GetBody

func (r DeleteBrowserSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBrowserSessionResponse) GetJSONDefault

func (r DeleteBrowserSessionResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteBrowserSessionResponse) Status

Status returns HTTPResponse.Status

func (DeleteBrowserSessionResponse) StatusCode

func (r DeleteBrowserSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBrowserSessionResponse204Headers

type DeleteBrowserSessionResponse204Headers struct {
	SetCookie *string
}

DeleteBrowserSessionResponse204Headers the declared response headers of an HTTP 204 response for DeleteBrowserSession

type DeleteBrowserSessionResponseObject

type DeleteBrowserSessionResponseObject interface {
	VisitDeleteBrowserSessionResponse(w http.ResponseWriter) error
}

type DeleteBrowserSessiondefaultJSONResponse

type DeleteBrowserSessiondefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteBrowserSessiondefaultJSONResponse) VisitDeleteBrowserSessionResponse

func (response DeleteBrowserSessiondefaultJSONResponse) VisitDeleteBrowserSessionResponse(w http.ResponseWriter) error

type DeleteCryptokey204Response

type DeleteCryptokey204Response struct {
}

func (DeleteCryptokey204Response) VisitDeleteCryptokeyResponse

func (response DeleteCryptokey204Response) VisitDeleteCryptokeyResponse(w http.ResponseWriter) error

type DeleteCryptokeyRequestObject

type DeleteCryptokeyRequestObject struct {
	ServerId    ServerId `json:"server_id"`
	ZoneId      ZoneId   `json:"zone_id"`
	CryptokeyId string   `json:"cryptokey_id"`
}

type DeleteCryptokeyResponse

type DeleteCryptokeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseDeleteCryptokeyResponse

func ParseDeleteCryptokeyResponse(rsp *http.Response) (*DeleteCryptokeyResponse, error)

ParseDeleteCryptokeyResponse parses an HTTP response from a DeleteCryptokeyWithResponse call

func (DeleteCryptokeyResponse) ContentType

func (r DeleteCryptokeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCryptokeyResponse) GetBody

func (r DeleteCryptokeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteCryptokeyResponse) GetJSONDefault

func (r DeleteCryptokeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteCryptokeyResponse) Status

func (r DeleteCryptokeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteCryptokeyResponse) StatusCode

func (r DeleteCryptokeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCryptokeyResponseObject

type DeleteCryptokeyResponseObject interface {
	VisitDeleteCryptokeyResponse(w http.ResponseWriter) error
}

type DeleteCryptokeydefaultJSONResponse

type DeleteCryptokeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteCryptokeydefaultJSONResponse) VisitDeleteCryptokeyResponse

func (response DeleteCryptokeydefaultJSONResponse) VisitDeleteCryptokeyResponse(w http.ResponseWriter) error

type DeleteFromView204Response

type DeleteFromView204Response struct {
}

func (DeleteFromView204Response) VisitDeleteFromViewResponse

func (response DeleteFromView204Response) VisitDeleteFromViewResponse(w http.ResponseWriter) error

type DeleteFromViewRequestObject

type DeleteFromViewRequestObject struct {
	ServerId ServerId `json:"server_id"`
	View     View     `json:"view"`
	Id       string   `json:"id"`
}

type DeleteFromViewResponse

type DeleteFromViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseDeleteFromViewResponse

func ParseDeleteFromViewResponse(rsp *http.Response) (*DeleteFromViewResponse, error)

ParseDeleteFromViewResponse parses an HTTP response from a DeleteFromViewWithResponse call

func (DeleteFromViewResponse) ContentType

func (r DeleteFromViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteFromViewResponse) GetBody

func (r DeleteFromViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteFromViewResponse) GetJSONDefault

func (r DeleteFromViewResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteFromViewResponse) Status

func (r DeleteFromViewResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFromViewResponse) StatusCode

func (r DeleteFromViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFromViewResponseObject

type DeleteFromViewResponseObject interface {
	VisitDeleteFromViewResponse(w http.ResponseWriter) error
}

type DeleteFromViewdefaultJSONResponse

type DeleteFromViewdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteFromViewdefaultJSONResponse) VisitDeleteFromViewResponse

func (response DeleteFromViewdefaultJSONResponse) VisitDeleteFromViewResponse(w http.ResponseWriter) error

type DeleteMetadata204Response

type DeleteMetadata204Response struct {
}

func (DeleteMetadata204Response) VisitDeleteMetadataResponse

func (response DeleteMetadata204Response) VisitDeleteMetadataResponse(w http.ResponseWriter) error

type DeleteMetadataRequestObject

type DeleteMetadataRequestObject struct {
	ServerId     ServerId `json:"server_id"`
	ZoneId       ZoneId   `json:"zone_id"`
	MetadataKind string   `json:"metadata_kind"`
}

type DeleteMetadataResponse

type DeleteMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseDeleteMetadataResponse

func ParseDeleteMetadataResponse(rsp *http.Response) (*DeleteMetadataResponse, error)

ParseDeleteMetadataResponse parses an HTTP response from a DeleteMetadataWithResponse call

func (DeleteMetadataResponse) ContentType

func (r DeleteMetadataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteMetadataResponse) GetBody

func (r DeleteMetadataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteMetadataResponse) GetJSONDefault

func (r DeleteMetadataResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteMetadataResponse) Status

func (r DeleteMetadataResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMetadataResponse) StatusCode

func (r DeleteMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMetadataResponseObject

type DeleteMetadataResponseObject interface {
	VisitDeleteMetadataResponse(w http.ResponseWriter) error
}

type DeleteMetadatadefaultJSONResponse

type DeleteMetadatadefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteMetadatadefaultJSONResponse) VisitDeleteMetadataResponse

func (response DeleteMetadatadefaultJSONResponse) VisitDeleteMetadataResponse(w http.ResponseWriter) error

type DeleteTSIGKey204Response

type DeleteTSIGKey204Response struct {
}

func (DeleteTSIGKey204Response) VisitDeleteTSIGKeyResponse

func (response DeleteTSIGKey204Response) VisitDeleteTSIGKeyResponse(w http.ResponseWriter) error

type DeleteTSIGKeyRequestObject

type DeleteTSIGKeyRequestObject struct {
	ServerId  ServerId `json:"server_id"`
	TsigkeyId string   `json:"tsigkey_id"`
}

type DeleteTSIGKeyResponse

type DeleteTSIGKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseDeleteTSIGKeyResponse

func ParseDeleteTSIGKeyResponse(rsp *http.Response) (*DeleteTSIGKeyResponse, error)

ParseDeleteTSIGKeyResponse parses an HTTP response from a DeleteTSIGKeyWithResponse call

func (DeleteTSIGKeyResponse) ContentType

func (r DeleteTSIGKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTSIGKeyResponse) GetBody

func (r DeleteTSIGKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTSIGKeyResponse) GetJSONDefault

func (r DeleteTSIGKeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteTSIGKeyResponse) Status

func (r DeleteTSIGKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTSIGKeyResponse) StatusCode

func (r DeleteTSIGKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTSIGKeyResponseObject

type DeleteTSIGKeyResponseObject interface {
	VisitDeleteTSIGKeyResponse(w http.ResponseWriter) error
}

type DeleteTSIGKeydefaultJSONResponse

type DeleteTSIGKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteTSIGKeydefaultJSONResponse) VisitDeleteTSIGKeyResponse

func (response DeleteTSIGKeydefaultJSONResponse) VisitDeleteTSIGKeyResponse(w http.ResponseWriter) error

type DeleteZone204Response

type DeleteZone204Response struct {
}

func (DeleteZone204Response) VisitDeleteZoneResponse

func (response DeleteZone204Response) VisitDeleteZoneResponse(w http.ResponseWriter) error

type DeleteZoneRequestObject

type DeleteZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type DeleteZoneResponse

type DeleteZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseDeleteZoneResponse

func ParseDeleteZoneResponse(rsp *http.Response) (*DeleteZoneResponse, error)

ParseDeleteZoneResponse parses an HTTP response from a DeleteZoneWithResponse call

func (DeleteZoneResponse) ContentType

func (r DeleteZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteZoneResponse) GetBody

func (r DeleteZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteZoneResponse) GetJSONDefault

func (r DeleteZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteZoneResponse) Status

func (r DeleteZoneResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteZoneResponse) StatusCode

func (r DeleteZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteZoneResponseObject

type DeleteZoneResponseObject interface {
	VisitDeleteZoneResponse(w http.ResponseWriter) error
}

type DeleteZonedefaultJSONResponse

type DeleteZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteZonedefaultJSONResponse) VisitDeleteZoneResponse

func (response DeleteZonedefaultJSONResponse) VisitDeleteZoneResponse(w http.ResponseWriter) error

type Error

type Error struct {
	// Error A human readable error message
	Error string `json:"error"`

	// Errors 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

type ErrorJSONResponse

type ErrorJSONResponse Error

type ExportAuditEvents200ApplicationxNdjsonResponse

type ExportAuditEvents200ApplicationxNdjsonResponse struct {
	Body          io.Reader
	Headers       ExportAuditEvents200ResponseHeaders
	ContentLength int64
}

func (ExportAuditEvents200ApplicationxNdjsonResponse) VisitExportAuditEventsResponse

func (response ExportAuditEvents200ApplicationxNdjsonResponse) VisitExportAuditEventsResponse(w http.ResponseWriter) error

type ExportAuditEvents200ResponseHeaders

type ExportAuditEvents200ResponseHeaders struct {
	ContentDisposition *string
}

type ExportAuditEventsParams

type ExportAuditEventsParams struct {
	ActorId    *ResourceID `form:"actor_id,omitempty" json:"actor_id,omitempty"`
	Action     *string     `form:"action,omitempty" json:"action,omitempty"`
	TargetType *string     `form:"target_type,omitempty" json:"target_type,omitempty"`
	TargetId   *string     `form:"target_id,omitempty" json:"target_id,omitempty"`
	Result     *string     `form:"result,omitempty" json:"result,omitempty"`
}

ExportAuditEventsParams defines parameters for ExportAuditEvents.

type ExportAuditEventsRequestObject

type ExportAuditEventsRequestObject struct {
	Params ExportAuditEventsParams
}

type ExportAuditEventsResponse

type ExportAuditEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ExportAuditEventsResponse200Headers
}

func ParseExportAuditEventsResponse

func ParseExportAuditEventsResponse(rsp *http.Response) (*ExportAuditEventsResponse, error)

ParseExportAuditEventsResponse parses an HTTP response from a ExportAuditEventsWithResponse call

func (ExportAuditEventsResponse) ContentType

func (r ExportAuditEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportAuditEventsResponse) GetBody

func (r ExportAuditEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportAuditEventsResponse) GetJSONDefault

func (r ExportAuditEventsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ExportAuditEventsResponse) Status

func (r ExportAuditEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ExportAuditEventsResponse) StatusCode

func (r ExportAuditEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportAuditEventsResponse200Headers

type ExportAuditEventsResponse200Headers struct {
	ContentDisposition *string
}

ExportAuditEventsResponse200Headers the declared response headers of an HTTP 200 response for ExportAuditEvents

type ExportAuditEventsResponseObject

type ExportAuditEventsResponseObject interface {
	VisitExportAuditEventsResponse(w http.ResponseWriter) error
}

type ExportAuditEventsdefaultJSONResponse

type ExportAuditEventsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ExportAuditEventsdefaultJSONResponse) VisitExportAuditEventsResponse

func (response ExportAuditEventsdefaultJSONResponse) VisitExportAuditEventsResponse(w http.ResponseWriter) error

type GetAPIDocument200JSONResponse

type GetAPIDocument200JSONResponse map[string]interface{}

func (GetAPIDocument200JSONResponse) VisitGetAPIDocumentResponse

func (response GetAPIDocument200JSONResponse) VisitGetAPIDocumentResponse(w http.ResponseWriter) error

type GetAPIDocument401JSONResponse

type GetAPIDocument401JSONResponse struct{ DansUnauthorizedJSONResponse }

func (GetAPIDocument401JSONResponse) VisitGetAPIDocumentResponse

func (response GetAPIDocument401JSONResponse) VisitGetAPIDocumentResponse(w http.ResponseWriter) error

type GetAPIDocumentRequestObject

type GetAPIDocumentRequestObject struct {
}

type GetAPIDocumentResponse

type GetAPIDocumentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *DansUnauthorized
}

func ParseGetAPIDocumentResponse

func ParseGetAPIDocumentResponse(rsp *http.Response) (*GetAPIDocumentResponse, error)

ParseGetAPIDocumentResponse parses an HTTP response from a GetAPIDocumentWithResponse call

func (GetAPIDocumentResponse) ContentType

func (r GetAPIDocumentResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAPIDocumentResponse) GetBody

func (r GetAPIDocumentResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAPIDocumentResponse) GetJSON200

func (r GetAPIDocumentResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAPIDocumentResponse) GetJSON401

func (r GetAPIDocumentResponse) GetJSON401() *DansUnauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAPIDocumentResponse) Status

func (r GetAPIDocumentResponse) Status() string

Status returns HTTPResponse.Status

func (GetAPIDocumentResponse) StatusCode

func (r GetAPIDocumentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAPIDocumentResponseObject

type GetAPIDocumentResponseObject interface {
	VisitGetAPIDocumentResponse(w http.ResponseWriter) error
}

type GetAutoprimaries200JSONResponse

type GetAutoprimaries200JSONResponse Autoprimary

func (GetAutoprimaries200JSONResponse) VisitGetAutoprimariesResponse

func (response GetAutoprimaries200JSONResponse) VisitGetAutoprimariesResponse(w http.ResponseWriter) error

type GetAutoprimariesRequestObject

type GetAutoprimariesRequestObject struct {
	ServerId ServerId `json:"server_id"`
}

type GetAutoprimariesResponse

type GetAutoprimariesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Autoprimary
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetAutoprimariesResponse

func ParseGetAutoprimariesResponse(rsp *http.Response) (*GetAutoprimariesResponse, error)

ParseGetAutoprimariesResponse parses an HTTP response from a GetAutoprimariesWithResponse call

func (GetAutoprimariesResponse) ContentType

func (r GetAutoprimariesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAutoprimariesResponse) GetBody

func (r GetAutoprimariesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAutoprimariesResponse) GetJSON200

func (r GetAutoprimariesResponse) GetJSON200() *Autoprimary

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAutoprimariesResponse) GetJSONDefault

func (r GetAutoprimariesResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetAutoprimariesResponse) Status

func (r GetAutoprimariesResponse) Status() string

Status returns HTTPResponse.Status

func (GetAutoprimariesResponse) StatusCode

func (r GetAutoprimariesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAutoprimariesResponseObject

type GetAutoprimariesResponseObject interface {
	VisitGetAutoprimariesResponse(w http.ResponseWriter) error
}

type GetAutoprimariesdefaultJSONResponse

type GetAutoprimariesdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetAutoprimariesdefaultJSONResponse) VisitGetAutoprimariesResponse

func (response GetAutoprimariesdefaultJSONResponse) VisitGetAutoprimariesResponse(w http.ResponseWriter) error

type GetConfig200JSONResponse

type GetConfig200JSONResponse []ConfigSetting

func (GetConfig200JSONResponse) VisitGetConfigResponse

func (response GetConfig200JSONResponse) VisitGetConfigResponse(w http.ResponseWriter) error

type GetConfigRequestObject

type GetConfigRequestObject struct {
	ServerId ServerId `json:"server_id"`
}

type GetConfigResponse

type GetConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ConfigSetting
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetConfigResponse

func ParseGetConfigResponse(rsp *http.Response) (*GetConfigResponse, error)

ParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call

func (GetConfigResponse) ContentType

func (r GetConfigResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetConfigResponse) GetBody

func (r GetConfigResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetConfigResponse) GetJSON200

func (r GetConfigResponse) GetJSON200() *[]ConfigSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetConfigResponse) GetJSONDefault

func (r GetConfigResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetConfigResponse) Status

func (r GetConfigResponse) Status() string

Status returns HTTPResponse.Status

func (GetConfigResponse) StatusCode

func (r GetConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConfigResponseObject

type GetConfigResponseObject interface {
	VisitGetConfigResponse(w http.ResponseWriter) error
}

type GetConfigSetting200JSONResponse

type GetConfigSetting200JSONResponse ConfigSetting

func (GetConfigSetting200JSONResponse) VisitGetConfigSettingResponse

func (response GetConfigSetting200JSONResponse) VisitGetConfigSettingResponse(w http.ResponseWriter) error

type GetConfigSettingRequestObject

type GetConfigSettingRequestObject struct {
	ServerId          ServerId `json:"server_id"`
	ConfigSettingName string   `json:"config_setting_name"`
}

type GetConfigSettingResponse

type GetConfigSettingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConfigSetting
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetConfigSettingResponse

func ParseGetConfigSettingResponse(rsp *http.Response) (*GetConfigSettingResponse, error)

ParseGetConfigSettingResponse parses an HTTP response from a GetConfigSettingWithResponse call

func (GetConfigSettingResponse) ContentType

func (r GetConfigSettingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetConfigSettingResponse) GetBody

func (r GetConfigSettingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetConfigSettingResponse) GetJSON200

func (r GetConfigSettingResponse) GetJSON200() *ConfigSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetConfigSettingResponse) GetJSONDefault

func (r GetConfigSettingResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetConfigSettingResponse) Status

func (r GetConfigSettingResponse) Status() string

Status returns HTTPResponse.Status

func (GetConfigSettingResponse) StatusCode

func (r GetConfigSettingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConfigSettingResponseObject

type GetConfigSettingResponseObject interface {
	VisitGetConfigSettingResponse(w http.ResponseWriter) error
}

type GetConfigSettingdefaultJSONResponse

type GetConfigSettingdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetConfigSettingdefaultJSONResponse) VisitGetConfigSettingResponse

func (response GetConfigSettingdefaultJSONResponse) VisitGetConfigSettingResponse(w http.ResponseWriter) error

type GetConfigdefaultJSONResponse

type GetConfigdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetConfigdefaultJSONResponse) VisitGetConfigResponse

func (response GetConfigdefaultJSONResponse) VisitGetConfigResponse(w http.ResponseWriter) error

type GetCryptokey200JSONResponse

type GetCryptokey200JSONResponse Cryptokey

func (GetCryptokey200JSONResponse) VisitGetCryptokeyResponse

func (response GetCryptokey200JSONResponse) VisitGetCryptokeyResponse(w http.ResponseWriter) error

type GetCryptokeyRequestObject

type GetCryptokeyRequestObject struct {
	ServerId    ServerId `json:"server_id"`
	ZoneId      ZoneId   `json:"zone_id"`
	CryptokeyId string   `json:"cryptokey_id"`
}

type GetCryptokeyResponse

type GetCryptokeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Cryptokey
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetCryptokeyResponse

func ParseGetCryptokeyResponse(rsp *http.Response) (*GetCryptokeyResponse, error)

ParseGetCryptokeyResponse parses an HTTP response from a GetCryptokeyWithResponse call

func (GetCryptokeyResponse) ContentType

func (r GetCryptokeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCryptokeyResponse) GetBody

func (r GetCryptokeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCryptokeyResponse) GetJSON200

func (r GetCryptokeyResponse) GetJSON200() *Cryptokey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCryptokeyResponse) GetJSONDefault

func (r GetCryptokeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetCryptokeyResponse) Status

func (r GetCryptokeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetCryptokeyResponse) StatusCode

func (r GetCryptokeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCryptokeyResponseObject

type GetCryptokeyResponseObject interface {
	VisitGetCryptokeyResponse(w http.ResponseWriter) error
}

type GetCryptokeydefaultJSONResponse

type GetCryptokeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetCryptokeydefaultJSONResponse) VisitGetCryptokeyResponse

func (response GetCryptokeydefaultJSONResponse) VisitGetCryptokeyResponse(w http.ResponseWriter) error

type GetCurrentCredential200JSONResponse

type GetCurrentCredential200JSONResponse CurrentCredential

func (GetCurrentCredential200JSONResponse) VisitGetCurrentCredentialResponse

func (response GetCurrentCredential200JSONResponse) VisitGetCurrentCredentialResponse(w http.ResponseWriter) error

type GetCurrentCredentialRequestObject

type GetCurrentCredentialRequestObject struct {
}

type GetCurrentCredentialResponse

type GetCurrentCredentialResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CurrentCredential
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseGetCurrentCredentialResponse

func ParseGetCurrentCredentialResponse(rsp *http.Response) (*GetCurrentCredentialResponse, error)

ParseGetCurrentCredentialResponse parses an HTTP response from a GetCurrentCredentialWithResponse call

func (GetCurrentCredentialResponse) ContentType

func (r GetCurrentCredentialResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCurrentCredentialResponse) GetBody

func (r GetCurrentCredentialResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCurrentCredentialResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCurrentCredentialResponse) GetJSONDefault

func (r GetCurrentCredentialResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetCurrentCredentialResponse) Status

Status returns HTTPResponse.Status

func (GetCurrentCredentialResponse) StatusCode

func (r GetCurrentCredentialResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentCredentialResponseObject

type GetCurrentCredentialResponseObject interface {
	VisitGetCurrentCredentialResponse(w http.ResponseWriter) error
}

type GetCurrentCredentialdefaultJSONResponse

type GetCurrentCredentialdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetCurrentCredentialdefaultJSONResponse) VisitGetCurrentCredentialResponse

func (response GetCurrentCredentialdefaultJSONResponse) VisitGetCurrentCredentialResponse(w http.ResponseWriter) error

type GetCurrentIdentity200JSONResponse

type GetCurrentIdentity200JSONResponse Identity

func (GetCurrentIdentity200JSONResponse) VisitGetCurrentIdentityResponse

func (response GetCurrentIdentity200JSONResponse) VisitGetCurrentIdentityResponse(w http.ResponseWriter) error

type GetCurrentIdentityRequestObject

type GetCurrentIdentityRequestObject struct {
}

type GetCurrentIdentityResponse

type GetCurrentIdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Identity
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseGetCurrentIdentityResponse

func ParseGetCurrentIdentityResponse(rsp *http.Response) (*GetCurrentIdentityResponse, error)

ParseGetCurrentIdentityResponse parses an HTTP response from a GetCurrentIdentityWithResponse call

func (GetCurrentIdentityResponse) ContentType

func (r GetCurrentIdentityResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCurrentIdentityResponse) GetBody

func (r GetCurrentIdentityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCurrentIdentityResponse) GetJSON200

func (r GetCurrentIdentityResponse) GetJSON200() *Identity

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCurrentIdentityResponse) GetJSONDefault

func (r GetCurrentIdentityResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetCurrentIdentityResponse) Status

Status returns HTTPResponse.Status

func (GetCurrentIdentityResponse) StatusCode

func (r GetCurrentIdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentIdentityResponseObject

type GetCurrentIdentityResponseObject interface {
	VisitGetCurrentIdentityResponse(w http.ResponseWriter) error
}

type GetCurrentIdentitydefaultJSONResponse

type GetCurrentIdentitydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetCurrentIdentitydefaultJSONResponse) VisitGetCurrentIdentityResponse

func (response GetCurrentIdentitydefaultJSONResponse) VisitGetCurrentIdentityResponse(w http.ResponseWriter) error

type GetDelegation200JSONResponse

type GetDelegation200JSONResponse Delegation

func (GetDelegation200JSONResponse) VisitGetDelegationResponse

func (response GetDelegation200JSONResponse) VisitGetDelegationResponse(w http.ResponseWriter) error

type GetDelegationRequestObject

type GetDelegationRequestObject struct {
	DelegationId DelegationID `json:"delegation_id"`
}

type GetDelegationResponse

type GetDelegationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Delegation
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseGetDelegationResponse

func ParseGetDelegationResponse(rsp *http.Response) (*GetDelegationResponse, error)

ParseGetDelegationResponse parses an HTTP response from a GetDelegationWithResponse call

func (GetDelegationResponse) ContentType

func (r GetDelegationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDelegationResponse) GetBody

func (r GetDelegationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDelegationResponse) GetJSON200

func (r GetDelegationResponse) GetJSON200() *Delegation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDelegationResponse) GetJSONDefault

func (r GetDelegationResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetDelegationResponse) Status

func (r GetDelegationResponse) Status() string

Status returns HTTPResponse.Status

func (GetDelegationResponse) StatusCode

func (r GetDelegationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDelegationResponseObject

type GetDelegationResponseObject interface {
	VisitGetDelegationResponse(w http.ResponseWriter) error
}

type GetDelegationdefaultJSONResponse

type GetDelegationdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDelegationdefaultJSONResponse) VisitGetDelegationResponse

func (response GetDelegationdefaultJSONResponse) VisitGetDelegationResponse(w http.ResponseWriter) error

type GetGroup200JSONResponse

type GetGroup200JSONResponse Group

func (GetGroup200JSONResponse) VisitGetGroupResponse

func (response GetGroup200JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroupRequestObject

type GetGroupRequestObject struct {
	GroupId GroupID `json:"group_id"`
}

type GetGroupResponse

type GetGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Group
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseGetGroupResponse

func ParseGetGroupResponse(rsp *http.Response) (*GetGroupResponse, error)

ParseGetGroupResponse parses an HTTP response from a GetGroupWithResponse call

func (GetGroupResponse) ContentType

func (r GetGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGroupResponse) GetBody

func (r GetGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGroupResponse) GetJSON200

func (r GetGroupResponse) GetJSON200() *Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGroupResponse) GetJSONDefault

func (r GetGroupResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetGroupResponse) Status

func (r GetGroupResponse) Status() string

Status returns HTTPResponse.Status

func (GetGroupResponse) StatusCode

func (r GetGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGroupResponseObject

type GetGroupResponseObject interface {
	VisitGetGroupResponse(w http.ResponseWriter) error
}

type GetGroupdefaultJSONResponse

type GetGroupdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetGroupdefaultJSONResponse) VisitGetGroupResponse

func (response GetGroupdefaultJSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetIdentity200JSONResponse

type GetIdentity200JSONResponse Identity

func (GetIdentity200JSONResponse) VisitGetIdentityResponse

func (response GetIdentity200JSONResponse) VisitGetIdentityResponse(w http.ResponseWriter) error

type GetIdentityRequestObject

type GetIdentityRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
}

type GetIdentityResponse

type GetIdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Identity
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseGetIdentityResponse

func ParseGetIdentityResponse(rsp *http.Response) (*GetIdentityResponse, error)

ParseGetIdentityResponse parses an HTTP response from a GetIdentityWithResponse call

func (GetIdentityResponse) ContentType

func (r GetIdentityResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetIdentityResponse) GetBody

func (r GetIdentityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetIdentityResponse) GetJSON200

func (r GetIdentityResponse) GetJSON200() *Identity

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetIdentityResponse) GetJSONDefault

func (r GetIdentityResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetIdentityResponse) Status

func (r GetIdentityResponse) Status() string

Status returns HTTPResponse.Status

func (GetIdentityResponse) StatusCode

func (r GetIdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIdentityResponseObject

type GetIdentityResponseObject interface {
	VisitGetIdentityResponse(w http.ResponseWriter) error
}

type GetIdentitydefaultJSONResponse

type GetIdentitydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetIdentitydefaultJSONResponse) VisitGetIdentityResponse

func (response GetIdentitydefaultJSONResponse) VisitGetIdentityResponse(w http.ResponseWriter) error

type GetLiveness200Response

type GetLiveness200Response struct {
}

func (GetLiveness200Response) VisitGetLivenessResponse

func (response GetLiveness200Response) VisitGetLivenessResponse(w http.ResponseWriter) error

type GetLiveness503Response

type GetLiveness503Response struct {
}

func (GetLiveness503Response) VisitGetLivenessResponse

func (response GetLiveness503Response) VisitGetLivenessResponse(w http.ResponseWriter) error

type GetLivenessRequestObject

type GetLivenessRequestObject struct {
}

type GetLivenessResponse

type GetLivenessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetLivenessResponse

func ParseGetLivenessResponse(rsp *http.Response) (*GetLivenessResponse, error)

ParseGetLivenessResponse parses an HTTP response from a GetLivenessWithResponse call

func (GetLivenessResponse) ContentType

func (r GetLivenessResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLivenessResponse) GetBody

func (r GetLivenessResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLivenessResponse) Status

func (r GetLivenessResponse) Status() string

Status returns HTTPResponse.Status

func (GetLivenessResponse) StatusCode

func (r GetLivenessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLivenessResponseObject

type GetLivenessResponseObject interface {
	VisitGetLivenessResponse(w http.ResponseWriter) error
}

type GetMetadata200JSONResponse

type GetMetadata200JSONResponse Metadata

func (GetMetadata200JSONResponse) VisitGetMetadataResponse

func (response GetMetadata200JSONResponse) VisitGetMetadataResponse(w http.ResponseWriter) error

type GetMetadataRequestObject

type GetMetadataRequestObject struct {
	ServerId     ServerId `json:"server_id"`
	ZoneId       ZoneId   `json:"zone_id"`
	MetadataKind string   `json:"metadata_kind"`
}

type GetMetadataResponse

type GetMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Metadata
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetMetadataResponse

func ParseGetMetadataResponse(rsp *http.Response) (*GetMetadataResponse, error)

ParseGetMetadataResponse parses an HTTP response from a GetMetadataWithResponse call

func (GetMetadataResponse) ContentType

func (r GetMetadataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMetadataResponse) GetBody

func (r GetMetadataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMetadataResponse) GetJSON200

func (r GetMetadataResponse) GetJSON200() *Metadata

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMetadataResponse) GetJSONDefault

func (r GetMetadataResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetMetadataResponse) Status

func (r GetMetadataResponse) Status() string

Status returns HTTPResponse.Status

func (GetMetadataResponse) StatusCode

func (r GetMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMetadataResponseObject

type GetMetadataResponseObject interface {
	VisitGetMetadataResponse(w http.ResponseWriter) error
}

type GetMetadatadefaultJSONResponse

type GetMetadatadefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetMetadatadefaultJSONResponse) VisitGetMetadataResponse

func (response GetMetadatadefaultJSONResponse) VisitGetMetadataResponse(w http.ResponseWriter) error

type GetNetwork200JSONResponse

type GetNetwork200JSONResponse Network

func (GetNetwork200JSONResponse) VisitGetNetworkResponse

func (response GetNetwork200JSONResponse) VisitGetNetworkResponse(w http.ResponseWriter) error

type GetNetworkRequestObject

type GetNetworkRequestObject struct {
	ServerId  ServerId `json:"server_id"`
	Ip        string   `json:"ip"`
	Prefixlen string   `json:"prefixlen"`
}

type GetNetworkResponse

type GetNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Network
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetNetworkResponse

func ParseGetNetworkResponse(rsp *http.Response) (*GetNetworkResponse, error)

ParseGetNetworkResponse parses an HTTP response from a GetNetworkWithResponse call

func (GetNetworkResponse) ContentType

func (r GetNetworkResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNetworkResponse) GetBody

func (r GetNetworkResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetNetworkResponse) GetJSON200

func (r GetNetworkResponse) GetJSON200() *Network

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetNetworkResponse) GetJSONDefault

func (r GetNetworkResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetNetworkResponse) Status

func (r GetNetworkResponse) Status() string

Status returns HTTPResponse.Status

func (GetNetworkResponse) StatusCode

func (r GetNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNetworkResponseObject

type GetNetworkResponseObject interface {
	VisitGetNetworkResponse(w http.ResponseWriter) error
}

type GetNetworkdefaultJSONResponse

type GetNetworkdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetNetworkdefaultJSONResponse) VisitGetNetworkResponse

func (response GetNetworkdefaultJSONResponse) VisitGetNetworkResponse(w http.ResponseWriter) error

type GetReadiness200Response

type GetReadiness200Response struct {
}

func (GetReadiness200Response) VisitGetReadinessResponse

func (response GetReadiness200Response) VisitGetReadinessResponse(w http.ResponseWriter) error

type GetReadiness503Response

type GetReadiness503Response struct {
}

func (GetReadiness503Response) VisitGetReadinessResponse

func (response GetReadiness503Response) VisitGetReadinessResponse(w http.ResponseWriter) error

type GetReadinessRequestObject

type GetReadinessRequestObject struct {
}

type GetReadinessResponse

type GetReadinessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetReadinessResponse

func ParseGetReadinessResponse(rsp *http.Response) (*GetReadinessResponse, error)

ParseGetReadinessResponse parses an HTTP response from a GetReadinessWithResponse call

func (GetReadinessResponse) ContentType

func (r GetReadinessResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReadinessResponse) GetBody

func (r GetReadinessResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetReadinessResponse) Status

func (r GetReadinessResponse) Status() string

Status returns HTTPResponse.Status

func (GetReadinessResponse) StatusCode

func (r GetReadinessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReadinessResponseObject

type GetReadinessResponseObject interface {
	VisitGetReadinessResponse(w http.ResponseWriter) error
}

type GetStats200JSONResponse

type GetStats200JSONResponse []GetStats200JSONResponseBody_Item

func (GetStats200JSONResponse) VisitGetStatsResponse

func (response GetStats200JSONResponse) VisitGetStatsResponse(w http.ResponseWriter) error

type GetStats200JSONResponseBody_Item

type GetStats200JSONResponseBody_Item struct {
	// contains filtered or unexported fields
}

GetStats200JSONResponseBody_Item defines parameters for GetStats.

func (GetStats200JSONResponseBody_Item) AsMapStatisticItem

func (t GetStats200JSONResponseBody_Item) AsMapStatisticItem() (MapStatisticItem, error)

AsMapStatisticItem returns the union data inside the GetStats200JSONResponseBody_Item as a MapStatisticItem

func (GetStats200JSONResponseBody_Item) AsRingStatisticItem

func (t GetStats200JSONResponseBody_Item) AsRingStatisticItem() (RingStatisticItem, error)

AsRingStatisticItem returns the union data inside the GetStats200JSONResponseBody_Item as a RingStatisticItem

func (GetStats200JSONResponseBody_Item) AsStatisticItem

func (t GetStats200JSONResponseBody_Item) AsStatisticItem() (StatisticItem, error)

AsStatisticItem returns the union data inside the GetStats200JSONResponseBody_Item as a StatisticItem

func (GetStats200JSONResponseBody_Item) Discriminator

func (t GetStats200JSONResponseBody_Item) Discriminator() (string, error)

func (*GetStats200JSONResponseBody_Item) FromMapStatisticItem

func (t *GetStats200JSONResponseBody_Item) FromMapStatisticItem(v MapStatisticItem) error

FromMapStatisticItem overwrites any union data inside the GetStats200JSONResponseBody_Item as the provided MapStatisticItem

func (*GetStats200JSONResponseBody_Item) FromRingStatisticItem

func (t *GetStats200JSONResponseBody_Item) FromRingStatisticItem(v RingStatisticItem) error

FromRingStatisticItem overwrites any union data inside the GetStats200JSONResponseBody_Item as the provided RingStatisticItem

func (*GetStats200JSONResponseBody_Item) FromStatisticItem

func (t *GetStats200JSONResponseBody_Item) FromStatisticItem(v StatisticItem) error

FromStatisticItem overwrites any union data inside the GetStats200JSONResponseBody_Item as the provided StatisticItem

func (GetStats200JSONResponseBody_Item) MarshalJSON

func (t GetStats200JSONResponseBody_Item) MarshalJSON() ([]byte, error)

func (*GetStats200JSONResponseBody_Item) MergeMapStatisticItem

func (t *GetStats200JSONResponseBody_Item) MergeMapStatisticItem(v MapStatisticItem) error

MergeMapStatisticItem performs a merge with any union data inside the GetStats200JSONResponseBody_Item, using the provided MapStatisticItem

func (*GetStats200JSONResponseBody_Item) MergeRingStatisticItem

func (t *GetStats200JSONResponseBody_Item) MergeRingStatisticItem(v RingStatisticItem) error

MergeRingStatisticItem performs a merge with any union data inside the GetStats200JSONResponseBody_Item, using the provided RingStatisticItem

func (*GetStats200JSONResponseBody_Item) MergeStatisticItem

func (t *GetStats200JSONResponseBody_Item) MergeStatisticItem(v StatisticItem) error

MergeStatisticItem performs a merge with any union data inside the GetStats200JSONResponseBody_Item, using the provided StatisticItem

func (*GetStats200JSONResponseBody_Item) UnmarshalJSON

func (t *GetStats200JSONResponseBody_Item) UnmarshalJSON(b []byte) error

func (GetStats200JSONResponseBody_Item) ValueByDiscriminator

func (t GetStats200JSONResponseBody_Item) ValueByDiscriminator() (interface{}, error)

type GetStats422Response

type GetStats422Response struct {
}

func (GetStats422Response) VisitGetStatsResponse

func (response GetStats422Response) VisitGetStatsResponse(w http.ResponseWriter) error

type GetStatsParams

type GetStatsParams struct {
	// Statistic 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.
	Statistic *string `form:"statistic,omitempty" json:"statistic,omitempty"`

	// Includerings “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.
	Includerings *bool `form:"includerings,omitempty" json:"includerings,omitempty"`
}

GetStatsParams defines parameters for GetStats.

type GetStatsRequestObject

type GetStatsRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Params   GetStatsParams
}

type GetStatsResponse

type GetStatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]GetStats200JSONResponseBody_Item
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetStatsResponse

func ParseGetStatsResponse(rsp *http.Response) (*GetStatsResponse, error)

ParseGetStatsResponse parses an HTTP response from a GetStatsWithResponse call

func (GetStatsResponse) ContentType

func (r GetStatsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetStatsResponse) GetBody

func (r GetStatsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetStatsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetStatsResponse) GetJSONDefault

func (r GetStatsResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetStatsResponse) Status

func (r GetStatsResponse) Status() string

Status returns HTTPResponse.Status

func (GetStatsResponse) StatusCode

func (r GetStatsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStatsResponseObject

type GetStatsResponseObject interface {
	VisitGetStatsResponse(w http.ResponseWriter) error
}

type GetStatsdefaultJSONResponse

type GetStatsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetStatsdefaultJSONResponse) VisitGetStatsResponse

func (response GetStatsdefaultJSONResponse) VisitGetStatsResponse(w http.ResponseWriter) error

type GetTSIGKey200JSONResponse

type GetTSIGKey200JSONResponse TSIGKey

func (GetTSIGKey200JSONResponse) VisitGetTSIGKeyResponse

func (response GetTSIGKey200JSONResponse) VisitGetTSIGKeyResponse(w http.ResponseWriter) error

type GetTSIGKeyRequestObject

type GetTSIGKeyRequestObject struct {
	ServerId  ServerId `json:"server_id"`
	TsigkeyId string   `json:"tsigkey_id"`
}

type GetTSIGKeyResponse

type GetTSIGKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TSIGKey
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseGetTSIGKeyResponse

func ParseGetTSIGKeyResponse(rsp *http.Response) (*GetTSIGKeyResponse, error)

ParseGetTSIGKeyResponse parses an HTTP response from a GetTSIGKeyWithResponse call

func (GetTSIGKeyResponse) ContentType

func (r GetTSIGKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTSIGKeyResponse) GetBody

func (r GetTSIGKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTSIGKeyResponse) GetJSON200

func (r GetTSIGKeyResponse) GetJSON200() *TSIGKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTSIGKeyResponse) GetJSONDefault

func (r GetTSIGKeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetTSIGKeyResponse) Status

func (r GetTSIGKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetTSIGKeyResponse) StatusCode

func (r GetTSIGKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTSIGKeyResponseObject

type GetTSIGKeyResponseObject interface {
	VisitGetTSIGKeyResponse(w http.ResponseWriter) error
}

type GetTSIGKeydefaultJSONResponse

type GetTSIGKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetTSIGKeydefaultJSONResponse) VisitGetTSIGKeyResponse

func (response GetTSIGKeydefaultJSONResponse) VisitGetTSIGKeyResponse(w http.ResponseWriter) error

type GetZoneBinding200JSONResponse

type GetZoneBinding200JSONResponse ZoneBinding

func (GetZoneBinding200JSONResponse) VisitGetZoneBindingResponse

func (response GetZoneBinding200JSONResponse) VisitGetZoneBindingResponse(w http.ResponseWriter) error

type GetZoneBindingRequestObject

type GetZoneBindingRequestObject struct {
	ZoneBindingId ZoneBindingID `json:"zone_binding_id"`
}

type GetZoneBindingResponse

type GetZoneBindingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ZoneBinding
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseGetZoneBindingResponse

func ParseGetZoneBindingResponse(rsp *http.Response) (*GetZoneBindingResponse, error)

ParseGetZoneBindingResponse parses an HTTP response from a GetZoneBindingWithResponse call

func (GetZoneBindingResponse) ContentType

func (r GetZoneBindingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetZoneBindingResponse) GetBody

func (r GetZoneBindingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetZoneBindingResponse) GetJSON200

func (r GetZoneBindingResponse) GetJSON200() *ZoneBinding

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetZoneBindingResponse) GetJSONDefault

func (r GetZoneBindingResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetZoneBindingResponse) Status

func (r GetZoneBindingResponse) Status() string

Status returns HTTPResponse.Status

func (GetZoneBindingResponse) StatusCode

func (r GetZoneBindingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetZoneBindingResponseObject

type GetZoneBindingResponseObject interface {
	VisitGetZoneBindingResponse(w http.ResponseWriter) error
}

type GetZoneBindingdefaultJSONResponse

type GetZoneBindingdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetZoneBindingdefaultJSONResponse) VisitGetZoneBindingResponse

func (response GetZoneBindingdefaultJSONResponse) VisitGetZoneBindingResponse(w http.ResponseWriter) error

type Group

type Group struct {
	CreatedAt   time.Time                         `json:"created_at"`
	DisplayName nullable.Nullable[NullableString] `json:"display_name"`
	Enabled     bool                              `json:"enabled"`
	Handle      Handle                            `json:"handle"`
	Id          ResourceID                        `json:"id"`
	UpdatedAt   time.Time                         `json:"updated_at"`
}

Group defines model for Group.

type GroupCreate

type GroupCreate struct {
	DisplayName nullable.Nullable[NullableString] `json:"display_name,omitempty"`
	Handle      Handle                            `json:"handle"`
}

GroupCreate defines model for GroupCreate.

type GroupID

type GroupID = ResourceID

GroupID defines model for GroupID.

type GroupPage

type GroupPage struct {
	Items      []Group                           `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

GroupPage defines model for GroupPage.

type GroupPatch

type GroupPatch struct {
	DisplayName nullable.Nullable[string] `json:"display_name,omitempty"`
	Enabled     *bool                     `json:"enabled,omitempty"`
}

GroupPatch defines model for GroupPatch.

type Handle

type Handle = string

Handle defines model for Handle.

type HandlePrefix

type HandlePrefix = string

HandlePrefix defines model for HandlePrefix.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Identity

type Identity struct {
	CreatedAt   time.Time                         `json:"created_at"`
	DisplayName nullable.Nullable[NullableString] `json:"display_name"`
	Enabled     bool                              `json:"enabled"`
	Handle      Handle                            `json:"handle"`
	Id          ResourceID                        `json:"id"`
	Kind        IdentityKind                      `json:"kind"`
	Operator    bool                              `json:"operator"`
	UpdatedAt   time.Time                         `json:"updated_at"`
}

Identity defines model for Identity.

type IdentityCreate

type IdentityCreate struct {
	DisplayName nullable.Nullable[NullableString] `json:"display_name,omitempty"`
	Handle      Handle                            `json:"handle"`
	Kind        IdentityCreateKind                `json:"kind"`
}

IdentityCreate defines model for IdentityCreate.

type IdentityCreateKind

type IdentityCreateKind string

IdentityCreateKind defines model for IdentityCreate.Kind.

const (
	IdentityCreateKindService IdentityCreateKind = "service"
	IdentityCreateKindUser    IdentityCreateKind = "user"
)

Defines values for IdentityCreateKind.

func (IdentityCreateKind) Valid

func (e IdentityCreateKind) Valid() bool

Valid indicates whether the value is a known member of the IdentityCreateKind enum.

type IdentityID

type IdentityID = ResourceID

IdentityID defines model for IdentityID.

type IdentityKind

type IdentityKind string

IdentityKind defines model for Identity.Kind.

const (
	IdentityKindService IdentityKind = "service"
	IdentityKindUser    IdentityKind = "user"
)

Defines values for IdentityKind.

func (IdentityKind) Valid

func (e IdentityKind) Valid() bool

Valid indicates whether the value is a known member of the IdentityKind enum.

type IdentityPage

type IdentityPage struct {
	Items      []Identity                        `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

IdentityPage defines model for IdentityPage.

type IdentityPatch

type IdentityPatch struct {
	DisplayName nullable.Nullable[string] `json:"display_name,omitempty"`
	Enabled     *bool                     `json:"enabled,omitempty"`
	Operator    *bool                     `json:"operator,omitempty"`
}

IdentityPatch defines model for IdentityPatch.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type Limit

type Limit = int

Limit defines model for Limit.

type ListAuditEvents200JSONResponse

type ListAuditEvents200JSONResponse AuditEventPage

func (ListAuditEvents200JSONResponse) VisitListAuditEventsResponse

func (response ListAuditEvents200JSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEventsParams

type ListAuditEventsParams struct {
	Limit      *Limit      `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor     *Cursor     `form:"cursor,omitempty" json:"cursor,omitempty"`
	ActorId    *ResourceID `form:"actor_id,omitempty" json:"actor_id,omitempty"`
	Action     *string     `form:"action,omitempty" json:"action,omitempty"`
	TargetType *string     `form:"target_type,omitempty" json:"target_type,omitempty"`
	TargetId   *string     `form:"target_id,omitempty" json:"target_id,omitempty"`
	Result     *string     `form:"result,omitempty" json:"result,omitempty"`
}

ListAuditEventsParams defines parameters for ListAuditEvents.

type ListAuditEventsRequestObject

type ListAuditEventsRequestObject struct {
	Params ListAuditEventsParams
}

type ListAuditEventsResponse

type ListAuditEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AuditEventPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListAuditEventsResponse

func ParseListAuditEventsResponse(rsp *http.Response) (*ListAuditEventsResponse, error)

ParseListAuditEventsResponse parses an HTTP response from a ListAuditEventsWithResponse call

func (ListAuditEventsResponse) ContentType

func (r ListAuditEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAuditEventsResponse) GetBody

func (r ListAuditEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAuditEventsResponse) GetJSON200

func (r ListAuditEventsResponse) GetJSON200() *AuditEventPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAuditEventsResponse) GetJSONDefault

func (r ListAuditEventsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListAuditEventsResponse) Status

func (r ListAuditEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAuditEventsResponse) StatusCode

func (r ListAuditEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAuditEventsResponseObject

type ListAuditEventsResponseObject interface {
	VisitListAuditEventsResponse(w http.ResponseWriter) error
}

type ListAuditEventsdefaultJSONResponse

type ListAuditEventsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListAuditEventsdefaultJSONResponse) VisitListAuditEventsResponse

func (response ListAuditEventsdefaultJSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListCryptokeys200JSONResponse

type ListCryptokeys200JSONResponse []Cryptokey

func (ListCryptokeys200JSONResponse) VisitListCryptokeysResponse

func (response ListCryptokeys200JSONResponse) VisitListCryptokeysResponse(w http.ResponseWriter) error

type ListCryptokeysRequestObject

type ListCryptokeysRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type ListCryptokeysResponse

type ListCryptokeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Cryptokey
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListCryptokeysResponse

func ParseListCryptokeysResponse(rsp *http.Response) (*ListCryptokeysResponse, error)

ParseListCryptokeysResponse parses an HTTP response from a ListCryptokeysWithResponse call

func (ListCryptokeysResponse) ContentType

func (r ListCryptokeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListCryptokeysResponse) GetBody

func (r ListCryptokeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListCryptokeysResponse) GetJSON200

func (r ListCryptokeysResponse) GetJSON200() *[]Cryptokey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListCryptokeysResponse) GetJSONDefault

func (r ListCryptokeysResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListCryptokeysResponse) Status

func (r ListCryptokeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListCryptokeysResponse) StatusCode

func (r ListCryptokeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCryptokeysResponseObject

type ListCryptokeysResponseObject interface {
	VisitListCryptokeysResponse(w http.ResponseWriter) error
}

type ListCryptokeysdefaultJSONResponse

type ListCryptokeysdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListCryptokeysdefaultJSONResponse) VisitListCryptokeysResponse

func (response ListCryptokeysdefaultJSONResponse) VisitListCryptokeysResponse(w http.ResponseWriter) error

type ListCurrentIdentityDelegations200JSONResponse

type ListCurrentIdentityDelegations200JSONResponse SelfDelegationPage

func (ListCurrentIdentityDelegations200JSONResponse) VisitListCurrentIdentityDelegationsResponse

func (response ListCurrentIdentityDelegations200JSONResponse) VisitListCurrentIdentityDelegationsResponse(w http.ResponseWriter) error

type ListCurrentIdentityDelegationsParams

type ListCurrentIdentityDelegationsParams struct {
	Limit  *Limit  `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListCurrentIdentityDelegationsParams defines parameters for ListCurrentIdentityDelegations.

type ListCurrentIdentityDelegationsRequestObject

type ListCurrentIdentityDelegationsRequestObject struct {
	Params ListCurrentIdentityDelegationsParams
}

type ListCurrentIdentityDelegationsResponse

type ListCurrentIdentityDelegationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SelfDelegationPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListCurrentIdentityDelegationsResponse

func ParseListCurrentIdentityDelegationsResponse(rsp *http.Response) (*ListCurrentIdentityDelegationsResponse, error)

ParseListCurrentIdentityDelegationsResponse parses an HTTP response from a ListCurrentIdentityDelegationsWithResponse call

func (ListCurrentIdentityDelegationsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListCurrentIdentityDelegationsResponse) GetBody

GetBody returns the raw response body bytes

func (ListCurrentIdentityDelegationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListCurrentIdentityDelegationsResponse) GetJSONDefault

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListCurrentIdentityDelegationsResponse) Status

Status returns HTTPResponse.Status

func (ListCurrentIdentityDelegationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListCurrentIdentityDelegationsResponseObject

type ListCurrentIdentityDelegationsResponseObject interface {
	VisitListCurrentIdentityDelegationsResponse(w http.ResponseWriter) error
}

type ListCurrentIdentityDelegationsdefaultJSONResponse

type ListCurrentIdentityDelegationsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListCurrentIdentityDelegationsdefaultJSONResponse) VisitListCurrentIdentityDelegationsResponse

func (response ListCurrentIdentityDelegationsdefaultJSONResponse) VisitListCurrentIdentityDelegationsResponse(w http.ResponseWriter) error

type ListCurrentIdentityGroups200JSONResponse

type ListCurrentIdentityGroups200JSONResponse GroupPage

func (ListCurrentIdentityGroups200JSONResponse) VisitListCurrentIdentityGroupsResponse

func (response ListCurrentIdentityGroups200JSONResponse) VisitListCurrentIdentityGroupsResponse(w http.ResponseWriter) error

type ListCurrentIdentityGroupsParams

type ListCurrentIdentityGroupsParams struct {
	// HandlePrefix Literal case-sensitive handle prefix, intersected with any exact handle filter.
	HandlePrefix *HandlePrefix `form:"handle_prefix,omitempty" json:"handle_prefix,omitempty"`
	Limit        *Limit        `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor       *Cursor       `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListCurrentIdentityGroupsParams defines parameters for ListCurrentIdentityGroups.

type ListCurrentIdentityGroupsRequestObject

type ListCurrentIdentityGroupsRequestObject struct {
	Params ListCurrentIdentityGroupsParams
}

type ListCurrentIdentityGroupsResponse

type ListCurrentIdentityGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListCurrentIdentityGroupsResponse

func ParseListCurrentIdentityGroupsResponse(rsp *http.Response) (*ListCurrentIdentityGroupsResponse, error)

ParseListCurrentIdentityGroupsResponse parses an HTTP response from a ListCurrentIdentityGroupsWithResponse call

func (ListCurrentIdentityGroupsResponse) ContentType

func (r ListCurrentIdentityGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListCurrentIdentityGroupsResponse) GetBody

GetBody returns the raw response body bytes

func (ListCurrentIdentityGroupsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListCurrentIdentityGroupsResponse) GetJSONDefault

func (r ListCurrentIdentityGroupsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListCurrentIdentityGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListCurrentIdentityGroupsResponse) StatusCode

func (r ListCurrentIdentityGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCurrentIdentityGroupsResponseObject

type ListCurrentIdentityGroupsResponseObject interface {
	VisitListCurrentIdentityGroupsResponse(w http.ResponseWriter) error
}

type ListCurrentIdentityGroupsdefaultJSONResponse

type ListCurrentIdentityGroupsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListCurrentIdentityGroupsdefaultJSONResponse) VisitListCurrentIdentityGroupsResponse

func (response ListCurrentIdentityGroupsdefaultJSONResponse) VisitListCurrentIdentityGroupsResponse(w http.ResponseWriter) error

type ListCurrentIdentityTokens200JSONResponse

type ListCurrentIdentityTokens200JSONResponse TokenPage

func (ListCurrentIdentityTokens200JSONResponse) VisitListCurrentIdentityTokensResponse

func (response ListCurrentIdentityTokens200JSONResponse) VisitListCurrentIdentityTokensResponse(w http.ResponseWriter) error

type ListCurrentIdentityTokensParams

type ListCurrentIdentityTokensParams struct {
	Limit  *Limit  `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListCurrentIdentityTokensParams defines parameters for ListCurrentIdentityTokens.

type ListCurrentIdentityTokensRequestObject

type ListCurrentIdentityTokensRequestObject struct {
	Params ListCurrentIdentityTokensParams
}

type ListCurrentIdentityTokensResponse

type ListCurrentIdentityTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TokenPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListCurrentIdentityTokensResponse

func ParseListCurrentIdentityTokensResponse(rsp *http.Response) (*ListCurrentIdentityTokensResponse, error)

ParseListCurrentIdentityTokensResponse parses an HTTP response from a ListCurrentIdentityTokensWithResponse call

func (ListCurrentIdentityTokensResponse) ContentType

func (r ListCurrentIdentityTokensResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListCurrentIdentityTokensResponse) GetBody

GetBody returns the raw response body bytes

func (ListCurrentIdentityTokensResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListCurrentIdentityTokensResponse) GetJSONDefault

func (r ListCurrentIdentityTokensResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListCurrentIdentityTokensResponse) Status

Status returns HTTPResponse.Status

func (ListCurrentIdentityTokensResponse) StatusCode

func (r ListCurrentIdentityTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCurrentIdentityTokensResponseObject

type ListCurrentIdentityTokensResponseObject interface {
	VisitListCurrentIdentityTokensResponse(w http.ResponseWriter) error
}

type ListCurrentIdentityTokensdefaultJSONResponse

type ListCurrentIdentityTokensdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListCurrentIdentityTokensdefaultJSONResponse) VisitListCurrentIdentityTokensResponse

func (response ListCurrentIdentityTokensdefaultJSONResponse) VisitListCurrentIdentityTokensResponse(w http.ResponseWriter) error

type ListDelegations200JSONResponse

type ListDelegations200JSONResponse DelegationPage

func (ListDelegations200JSONResponse) VisitListDelegationsResponse

func (response ListDelegations200JSONResponse) VisitListDelegationsResponse(w http.ResponseWriter) error

type ListDelegationsParams

type ListDelegationsParams struct {
	Limit         *Limit      `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor        *Cursor     `form:"cursor,omitempty" json:"cursor,omitempty"`
	ZoneBindingId *ResourceID `form:"zone_binding_id,omitempty" json:"zone_binding_id,omitempty"`
	GranteeId     *ResourceID `form:"grantee_id,omitempty" json:"grantee_id,omitempty"`
	Active        *bool       `form:"active,omitempty" json:"active,omitempty"`
}

ListDelegationsParams defines parameters for ListDelegations.

type ListDelegationsRequestObject

type ListDelegationsRequestObject struct {
	Params ListDelegationsParams
}

type ListDelegationsResponse

type ListDelegationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DelegationPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListDelegationsResponse

func ParseListDelegationsResponse(rsp *http.Response) (*ListDelegationsResponse, error)

ParseListDelegationsResponse parses an HTTP response from a ListDelegationsWithResponse call

func (ListDelegationsResponse) ContentType

func (r ListDelegationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDelegationsResponse) GetBody

func (r ListDelegationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListDelegationsResponse) GetJSON200

func (r ListDelegationsResponse) GetJSON200() *DelegationPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDelegationsResponse) GetJSONDefault

func (r ListDelegationsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListDelegationsResponse) Status

func (r ListDelegationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDelegationsResponse) StatusCode

func (r ListDelegationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDelegationsResponseObject

type ListDelegationsResponseObject interface {
	VisitListDelegationsResponse(w http.ResponseWriter) error
}

type ListDelegationsdefaultJSONResponse

type ListDelegationsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListDelegationsdefaultJSONResponse) VisitListDelegationsResponse

func (response ListDelegationsdefaultJSONResponse) VisitListDelegationsResponse(w http.ResponseWriter) error

type ListGroupMembers200JSONResponse

type ListGroupMembers200JSONResponse IdentityPage

func (ListGroupMembers200JSONResponse) VisitListGroupMembersResponse

func (response ListGroupMembers200JSONResponse) VisitListGroupMembersResponse(w http.ResponseWriter) error

type ListGroupMembersParams

type ListGroupMembersParams struct {
	// HandlePrefix Literal case-sensitive handle prefix, intersected with any exact handle filter.
	HandlePrefix *HandlePrefix `form:"handle_prefix,omitempty" json:"handle_prefix,omitempty"`
	Limit        *Limit        `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor       *Cursor       `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListGroupMembersParams defines parameters for ListGroupMembers.

type ListGroupMembersRequestObject

type ListGroupMembersRequestObject struct {
	GroupId GroupID `json:"group_id"`
	Params  ListGroupMembersParams
}

type ListGroupMembersResponse

type ListGroupMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *IdentityPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListGroupMembersResponse

func ParseListGroupMembersResponse(rsp *http.Response) (*ListGroupMembersResponse, error)

ParseListGroupMembersResponse parses an HTTP response from a ListGroupMembersWithResponse call

func (ListGroupMembersResponse) ContentType

func (r ListGroupMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListGroupMembersResponse) GetBody

func (r ListGroupMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListGroupMembersResponse) GetJSON200

func (r ListGroupMembersResponse) GetJSON200() *IdentityPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListGroupMembersResponse) GetJSONDefault

func (r ListGroupMembersResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListGroupMembersResponse) Status

func (r ListGroupMembersResponse) Status() string

Status returns HTTPResponse.Status

func (ListGroupMembersResponse) StatusCode

func (r ListGroupMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGroupMembersResponseObject

type ListGroupMembersResponseObject interface {
	VisitListGroupMembersResponse(w http.ResponseWriter) error
}

type ListGroupMembersdefaultJSONResponse

type ListGroupMembersdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListGroupMembersdefaultJSONResponse) VisitListGroupMembersResponse

func (response ListGroupMembersdefaultJSONResponse) VisitListGroupMembersResponse(w http.ResponseWriter) error

type ListGroups200JSONResponse

type ListGroups200JSONResponse GroupPage

func (ListGroups200JSONResponse) VisitListGroupsResponse

func (response ListGroups200JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error

type ListGroupsParams

type ListGroupsParams struct {
	// HandlePrefix Literal case-sensitive handle prefix, intersected with any exact handle filter.
	HandlePrefix *HandlePrefix `form:"handle_prefix,omitempty" json:"handle_prefix,omitempty"`
	Limit        *Limit        `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor       *Cursor       `form:"cursor,omitempty" json:"cursor,omitempty"`
	Enabled      *bool         `form:"enabled,omitempty" json:"enabled,omitempty"`
	Handle       *Handle       `form:"handle,omitempty" json:"handle,omitempty"`
}

ListGroupsParams defines parameters for ListGroups.

type ListGroupsRequestObject

type ListGroupsRequestObject struct {
	Params ListGroupsParams
}

type ListGroupsResponse

type ListGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListGroupsResponse

func ParseListGroupsResponse(rsp *http.Response) (*ListGroupsResponse, error)

ParseListGroupsResponse parses an HTTP response from a ListGroupsWithResponse call

func (ListGroupsResponse) ContentType

func (r ListGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListGroupsResponse) GetBody

func (r ListGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListGroupsResponse) GetJSON200

func (r ListGroupsResponse) GetJSON200() *GroupPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListGroupsResponse) GetJSONDefault

func (r ListGroupsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListGroupsResponse) Status

func (r ListGroupsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGroupsResponse) StatusCode

func (r ListGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGroupsResponseObject

type ListGroupsResponseObject interface {
	VisitListGroupsResponse(w http.ResponseWriter) error
}

type ListGroupsdefaultJSONResponse

type ListGroupsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListGroupsdefaultJSONResponse) VisitListGroupsResponse

func (response ListGroupsdefaultJSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error

type ListIdentities200JSONResponse

type ListIdentities200JSONResponse IdentityPage

func (ListIdentities200JSONResponse) VisitListIdentitiesResponse

func (response ListIdentities200JSONResponse) VisitListIdentitiesResponse(w http.ResponseWriter) error

type ListIdentitiesParams

type ListIdentitiesParams struct {
	// HandlePrefix Literal case-sensitive handle prefix, intersected with any exact handle filter.
	HandlePrefix *HandlePrefix             `form:"handle_prefix,omitempty" json:"handle_prefix,omitempty"`
	Limit        *Limit                    `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor       *Cursor                   `form:"cursor,omitempty" json:"cursor,omitempty"`
	Kind         *ListIdentitiesParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
	Enabled      *bool                     `form:"enabled,omitempty" json:"enabled,omitempty"`
	Operator     *bool                     `form:"operator,omitempty" json:"operator,omitempty"`
	Handle       *Handle                   `form:"handle,omitempty" json:"handle,omitempty"`
}

ListIdentitiesParams defines parameters for ListIdentities.

type ListIdentitiesParamsKind

type ListIdentitiesParamsKind string

ListIdentitiesParamsKind defines parameters for ListIdentities.

const (
	ListIdentitiesParamsKindService ListIdentitiesParamsKind = "service"
	ListIdentitiesParamsKindUser    ListIdentitiesParamsKind = "user"
)

Defines values for ListIdentitiesParamsKind.

func (ListIdentitiesParamsKind) Valid

func (e ListIdentitiesParamsKind) Valid() bool

Valid indicates whether the value is a known member of the ListIdentitiesParamsKind enum.

type ListIdentitiesRequestObject

type ListIdentitiesRequestObject struct {
	Params ListIdentitiesParams
}

type ListIdentitiesResponse

type ListIdentitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *IdentityPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListIdentitiesResponse

func ParseListIdentitiesResponse(rsp *http.Response) (*ListIdentitiesResponse, error)

ParseListIdentitiesResponse parses an HTTP response from a ListIdentitiesWithResponse call

func (ListIdentitiesResponse) ContentType

func (r ListIdentitiesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListIdentitiesResponse) GetBody

func (r ListIdentitiesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListIdentitiesResponse) GetJSON200

func (r ListIdentitiesResponse) GetJSON200() *IdentityPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListIdentitiesResponse) GetJSONDefault

func (r ListIdentitiesResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListIdentitiesResponse) Status

func (r ListIdentitiesResponse) Status() string

Status returns HTTPResponse.Status

func (ListIdentitiesResponse) StatusCode

func (r ListIdentitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIdentitiesResponseObject

type ListIdentitiesResponseObject interface {
	VisitListIdentitiesResponse(w http.ResponseWriter) error
}

type ListIdentitiesdefaultJSONResponse

type ListIdentitiesdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListIdentitiesdefaultJSONResponse) VisitListIdentitiesResponse

func (response ListIdentitiesdefaultJSONResponse) VisitListIdentitiesResponse(w http.ResponseWriter) error

type ListIdentityAssignments200JSONResponse

type ListIdentityAssignments200JSONResponse RetainedAssignmentPage

func (ListIdentityAssignments200JSONResponse) VisitListIdentityAssignmentsResponse

func (response ListIdentityAssignments200JSONResponse) VisitListIdentityAssignmentsResponse(w http.ResponseWriter) error

type ListIdentityAssignmentsParams

type ListIdentityAssignmentsParams struct {
	Limit  *Limit  `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListIdentityAssignmentsParams defines parameters for ListIdentityAssignments.

type ListIdentityAssignmentsRequestObject

type ListIdentityAssignmentsRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	Params     ListIdentityAssignmentsParams
}

type ListIdentityAssignmentsResponse

type ListIdentityAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RetainedAssignmentPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListIdentityAssignmentsResponse

func ParseListIdentityAssignmentsResponse(rsp *http.Response) (*ListIdentityAssignmentsResponse, error)

ParseListIdentityAssignmentsResponse parses an HTTP response from a ListIdentityAssignmentsWithResponse call

func (ListIdentityAssignmentsResponse) ContentType

func (r ListIdentityAssignmentsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListIdentityAssignmentsResponse) GetBody

func (r ListIdentityAssignmentsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListIdentityAssignmentsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListIdentityAssignmentsResponse) GetJSONDefault

func (r ListIdentityAssignmentsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListIdentityAssignmentsResponse) Status

Status returns HTTPResponse.Status

func (ListIdentityAssignmentsResponse) StatusCode

func (r ListIdentityAssignmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIdentityAssignmentsResponseObject

type ListIdentityAssignmentsResponseObject interface {
	VisitListIdentityAssignmentsResponse(w http.ResponseWriter) error
}

type ListIdentityAssignmentsdefaultJSONResponse

type ListIdentityAssignmentsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListIdentityAssignmentsdefaultJSONResponse) VisitListIdentityAssignmentsResponse

func (response ListIdentityAssignmentsdefaultJSONResponse) VisitListIdentityAssignmentsResponse(w http.ResponseWriter) error

type ListIdentityDelegations200JSONResponse

type ListIdentityDelegations200JSONResponse SelfDelegationPage

func (ListIdentityDelegations200JSONResponse) VisitListIdentityDelegationsResponse

func (response ListIdentityDelegations200JSONResponse) VisitListIdentityDelegationsResponse(w http.ResponseWriter) error

type ListIdentityDelegationsParams

type ListIdentityDelegationsParams struct {
	Limit  *Limit  `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListIdentityDelegationsParams defines parameters for ListIdentityDelegations.

type ListIdentityDelegationsRequestObject

type ListIdentityDelegationsRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	Params     ListIdentityDelegationsParams
}

type ListIdentityDelegationsResponse

type ListIdentityDelegationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SelfDelegationPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListIdentityDelegationsResponse

func ParseListIdentityDelegationsResponse(rsp *http.Response) (*ListIdentityDelegationsResponse, error)

ParseListIdentityDelegationsResponse parses an HTTP response from a ListIdentityDelegationsWithResponse call

func (ListIdentityDelegationsResponse) ContentType

func (r ListIdentityDelegationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListIdentityDelegationsResponse) GetBody

func (r ListIdentityDelegationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListIdentityDelegationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListIdentityDelegationsResponse) GetJSONDefault

func (r ListIdentityDelegationsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListIdentityDelegationsResponse) Status

Status returns HTTPResponse.Status

func (ListIdentityDelegationsResponse) StatusCode

func (r ListIdentityDelegationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIdentityDelegationsResponseObject

type ListIdentityDelegationsResponseObject interface {
	VisitListIdentityDelegationsResponse(w http.ResponseWriter) error
}

type ListIdentityDelegationsdefaultJSONResponse

type ListIdentityDelegationsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListIdentityDelegationsdefaultJSONResponse) VisitListIdentityDelegationsResponse

func (response ListIdentityDelegationsdefaultJSONResponse) VisitListIdentityDelegationsResponse(w http.ResponseWriter) error

type ListIdentityGroups200JSONResponse

type ListIdentityGroups200JSONResponse GroupPage

func (ListIdentityGroups200JSONResponse) VisitListIdentityGroupsResponse

func (response ListIdentityGroups200JSONResponse) VisitListIdentityGroupsResponse(w http.ResponseWriter) error

type ListIdentityGroupsParams

type ListIdentityGroupsParams struct {
	Limit  *Limit  `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// HandlePrefix Literal case-sensitive handle prefix, intersected with any exact handle filter.
	HandlePrefix *HandlePrefix `form:"handle_prefix,omitempty" json:"handle_prefix,omitempty"`
}

ListIdentityGroupsParams defines parameters for ListIdentityGroups.

type ListIdentityGroupsRequestObject

type ListIdentityGroupsRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	Params     ListIdentityGroupsParams
}

type ListIdentityGroupsResponse

type ListIdentityGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GroupPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListIdentityGroupsResponse

func ParseListIdentityGroupsResponse(rsp *http.Response) (*ListIdentityGroupsResponse, error)

ParseListIdentityGroupsResponse parses an HTTP response from a ListIdentityGroupsWithResponse call

func (ListIdentityGroupsResponse) ContentType

func (r ListIdentityGroupsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListIdentityGroupsResponse) GetBody

func (r ListIdentityGroupsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListIdentityGroupsResponse) GetJSON200

func (r ListIdentityGroupsResponse) GetJSON200() *GroupPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListIdentityGroupsResponse) GetJSONDefault

func (r ListIdentityGroupsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListIdentityGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListIdentityGroupsResponse) StatusCode

func (r ListIdentityGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIdentityGroupsResponseObject

type ListIdentityGroupsResponseObject interface {
	VisitListIdentityGroupsResponse(w http.ResponseWriter) error
}

type ListIdentityGroupsdefaultJSONResponse

type ListIdentityGroupsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListIdentityGroupsdefaultJSONResponse) VisitListIdentityGroupsResponse

func (response ListIdentityGroupsdefaultJSONResponse) VisitListIdentityGroupsResponse(w http.ResponseWriter) error

type ListIdentityTokens200JSONResponse

type ListIdentityTokens200JSONResponse TokenPage

func (ListIdentityTokens200JSONResponse) VisitListIdentityTokensResponse

func (response ListIdentityTokens200JSONResponse) VisitListIdentityTokensResponse(w http.ResponseWriter) error

type ListIdentityTokensParams

type ListIdentityTokensParams struct {
	Limit  *Limit  `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListIdentityTokensParams defines parameters for ListIdentityTokens.

type ListIdentityTokensRequestObject

type ListIdentityTokensRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	Params     ListIdentityTokensParams
}

type ListIdentityTokensResponse

type ListIdentityTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TokenPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListIdentityTokensResponse

func ParseListIdentityTokensResponse(rsp *http.Response) (*ListIdentityTokensResponse, error)

ParseListIdentityTokensResponse parses an HTTP response from a ListIdentityTokensWithResponse call

func (ListIdentityTokensResponse) ContentType

func (r ListIdentityTokensResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListIdentityTokensResponse) GetBody

func (r ListIdentityTokensResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListIdentityTokensResponse) GetJSON200

func (r ListIdentityTokensResponse) GetJSON200() *TokenPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListIdentityTokensResponse) GetJSONDefault

func (r ListIdentityTokensResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListIdentityTokensResponse) Status

Status returns HTTPResponse.Status

func (ListIdentityTokensResponse) StatusCode

func (r ListIdentityTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIdentityTokensResponseObject

type ListIdentityTokensResponseObject interface {
	VisitListIdentityTokensResponse(w http.ResponseWriter) error
}

type ListIdentityTokensdefaultJSONResponse

type ListIdentityTokensdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListIdentityTokensdefaultJSONResponse) VisitListIdentityTokensResponse

func (response ListIdentityTokensdefaultJSONResponse) VisitListIdentityTokensResponse(w http.ResponseWriter) error

type ListMetadata200JSONResponse

type ListMetadata200JSONResponse []Metadata

func (ListMetadata200JSONResponse) VisitListMetadataResponse

func (response ListMetadata200JSONResponse) VisitListMetadataResponse(w http.ResponseWriter) error

type ListMetadataRequestObject

type ListMetadataRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type ListMetadataResponse

type ListMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Metadata
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListMetadataResponse

func ParseListMetadataResponse(rsp *http.Response) (*ListMetadataResponse, error)

ParseListMetadataResponse parses an HTTP response from a ListMetadataWithResponse call

func (ListMetadataResponse) ContentType

func (r ListMetadataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListMetadataResponse) GetBody

func (r ListMetadataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListMetadataResponse) GetJSON200

func (r ListMetadataResponse) GetJSON200() *[]Metadata

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListMetadataResponse) GetJSONDefault

func (r ListMetadataResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListMetadataResponse) Status

func (r ListMetadataResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetadataResponse) StatusCode

func (r ListMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetadataResponseObject

type ListMetadataResponseObject interface {
	VisitListMetadataResponse(w http.ResponseWriter) error
}

type ListMetadatadefaultJSONResponse

type ListMetadatadefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListMetadatadefaultJSONResponse) VisitListMetadataResponse

func (response ListMetadatadefaultJSONResponse) VisitListMetadataResponse(w http.ResponseWriter) error

type ListNetworks200JSONResponse

type ListNetworks200JSONResponse Networks

func (ListNetworks200JSONResponse) VisitListNetworksResponse

func (response ListNetworks200JSONResponse) VisitListNetworksResponse(w http.ResponseWriter) error

type ListNetworksRequestObject

type ListNetworksRequestObject struct {
	ServerId ServerId `json:"server_id"`
}

type ListNetworksResponse

type ListNetworksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Networks
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListNetworksResponse

func ParseListNetworksResponse(rsp *http.Response) (*ListNetworksResponse, error)

ParseListNetworksResponse parses an HTTP response from a ListNetworksWithResponse call

func (ListNetworksResponse) ContentType

func (r ListNetworksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListNetworksResponse) GetBody

func (r ListNetworksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListNetworksResponse) GetJSON200

func (r ListNetworksResponse) GetJSON200() *Networks

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListNetworksResponse) GetJSONDefault

func (r ListNetworksResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListNetworksResponse) Status

func (r ListNetworksResponse) Status() string

Status returns HTTPResponse.Status

func (ListNetworksResponse) StatusCode

func (r ListNetworksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNetworksResponseObject

type ListNetworksResponseObject interface {
	VisitListNetworksResponse(w http.ResponseWriter) error
}

type ListNetworksdefaultJSONResponse

type ListNetworksdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListNetworksdefaultJSONResponse) VisitListNetworksResponse

func (response ListNetworksdefaultJSONResponse) VisitListNetworksResponse(w http.ResponseWriter) error

type ListServer200JSONResponse

type ListServer200JSONResponse Server

func (ListServer200JSONResponse) VisitListServerResponse

func (response ListServer200JSONResponse) VisitListServerResponse(w http.ResponseWriter) error

type ListServerRequestObject

type ListServerRequestObject struct {
	ServerId ServerId `json:"server_id"`
}

type ListServerResponse

type ListServerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Server
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListServerResponse

func ParseListServerResponse(rsp *http.Response) (*ListServerResponse, error)

ParseListServerResponse parses an HTTP response from a ListServerWithResponse call

func (ListServerResponse) ContentType

func (r ListServerResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListServerResponse) GetBody

func (r ListServerResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListServerResponse) GetJSON200

func (r ListServerResponse) GetJSON200() *Server

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListServerResponse) GetJSONDefault

func (r ListServerResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListServerResponse) Status

func (r ListServerResponse) Status() string

Status returns HTTPResponse.Status

func (ListServerResponse) StatusCode

func (r ListServerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListServerResponseObject

type ListServerResponseObject interface {
	VisitListServerResponse(w http.ResponseWriter) error
}

type ListServerdefaultJSONResponse

type ListServerdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListServerdefaultJSONResponse) VisitListServerResponse

func (response ListServerdefaultJSONResponse) VisitListServerResponse(w http.ResponseWriter) error

type ListServers200JSONResponse

type ListServers200JSONResponse []Server

func (ListServers200JSONResponse) VisitListServersResponse

func (response ListServers200JSONResponse) VisitListServersResponse(w http.ResponseWriter) error

type ListServersRequestObject

type ListServersRequestObject struct {
}

type ListServersResponse

type ListServersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Server
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListServersResponse

func ParseListServersResponse(rsp *http.Response) (*ListServersResponse, error)

ParseListServersResponse parses an HTTP response from a ListServersWithResponse call

func (ListServersResponse) ContentType

func (r ListServersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListServersResponse) GetBody

func (r ListServersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListServersResponse) GetJSON200

func (r ListServersResponse) GetJSON200() *[]Server

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListServersResponse) GetJSONDefault

func (r ListServersResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListServersResponse) Status

func (r ListServersResponse) Status() string

Status returns HTTPResponse.Status

func (ListServersResponse) StatusCode

func (r ListServersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListServersResponseObject

type ListServersResponseObject interface {
	VisitListServersResponse(w http.ResponseWriter) error
}

type ListServersdefaultJSONResponse

type ListServersdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListServersdefaultJSONResponse) VisitListServersResponse

func (response ListServersdefaultJSONResponse) VisitListServersResponse(w http.ResponseWriter) error

type ListTSIGKeys200JSONResponse

type ListTSIGKeys200JSONResponse []TSIGKey

func (ListTSIGKeys200JSONResponse) VisitListTSIGKeysResponse

func (response ListTSIGKeys200JSONResponse) VisitListTSIGKeysResponse(w http.ResponseWriter) error

type ListTSIGKeysRequestObject

type ListTSIGKeysRequestObject struct {
	ServerId ServerId `json:"server_id"`
}

type ListTSIGKeysResponse

type ListTSIGKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TSIGKey
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListTSIGKeysResponse

func ParseListTSIGKeysResponse(rsp *http.Response) (*ListTSIGKeysResponse, error)

ParseListTSIGKeysResponse parses an HTTP response from a ListTSIGKeysWithResponse call

func (ListTSIGKeysResponse) ContentType

func (r ListTSIGKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTSIGKeysResponse) GetBody

func (r ListTSIGKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTSIGKeysResponse) GetJSON200

func (r ListTSIGKeysResponse) GetJSON200() *[]TSIGKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTSIGKeysResponse) GetJSONDefault

func (r ListTSIGKeysResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListTSIGKeysResponse) Status

func (r ListTSIGKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListTSIGKeysResponse) StatusCode

func (r ListTSIGKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTSIGKeysResponseObject

type ListTSIGKeysResponseObject interface {
	VisitListTSIGKeysResponse(w http.ResponseWriter) error
}

type ListTSIGKeysdefaultJSONResponse

type ListTSIGKeysdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListTSIGKeysdefaultJSONResponse) VisitListTSIGKeysResponse

func (response ListTSIGKeysdefaultJSONResponse) VisitListTSIGKeysResponse(w http.ResponseWriter) error

type ListView200JSONResponse

type ListView200JSONResponse PowerDNSView

func (ListView200JSONResponse) VisitListViewResponse

func (response ListView200JSONResponse) VisitListViewResponse(w http.ResponseWriter) error

type ListViewRequestObject

type ListViewRequestObject struct {
	ServerId ServerId `json:"server_id"`
	View     View     `json:"view"`
}

type ListViewResponse

type ListViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PowerDNSView
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListViewResponse

func ParseListViewResponse(rsp *http.Response) (*ListViewResponse, error)

ParseListViewResponse parses an HTTP response from a ListViewWithResponse call

func (ListViewResponse) ContentType

func (r ListViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListViewResponse) GetBody

func (r ListViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListViewResponse) GetJSON200

func (r ListViewResponse) GetJSON200() *PowerDNSView

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListViewResponse) GetJSONDefault

func (r ListViewResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListViewResponse) Status

func (r ListViewResponse) Status() string

Status returns HTTPResponse.Status

func (ListViewResponse) StatusCode

func (r ListViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListViewResponseObject

type ListViewResponseObject interface {
	VisitListViewResponse(w http.ResponseWriter) error
}

type ListViewdefaultJSONResponse

type ListViewdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListViewdefaultJSONResponse) VisitListViewResponse

func (response ListViewdefaultJSONResponse) VisitListViewResponse(w http.ResponseWriter) error

type ListViews200JSONResponse

type ListViews200JSONResponse Views

func (ListViews200JSONResponse) VisitListViewsResponse

func (response ListViews200JSONResponse) VisitListViewsResponse(w http.ResponseWriter) error

type ListViewsRequestObject

type ListViewsRequestObject struct {
	ServerId ServerId `json:"server_id"`
}

type ListViewsResponse

type ListViewsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Views
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListViewsResponse

func ParseListViewsResponse(rsp *http.Response) (*ListViewsResponse, error)

ParseListViewsResponse parses an HTTP response from a ListViewsWithResponse call

func (ListViewsResponse) ContentType

func (r ListViewsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListViewsResponse) GetBody

func (r ListViewsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListViewsResponse) GetJSON200

func (r ListViewsResponse) GetJSON200() *Views

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListViewsResponse) GetJSONDefault

func (r ListViewsResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListViewsResponse) Status

func (r ListViewsResponse) Status() string

Status returns HTTPResponse.Status

func (ListViewsResponse) StatusCode

func (r ListViewsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListViewsResponseObject

type ListViewsResponseObject interface {
	VisitListViewsResponse(w http.ResponseWriter) error
}

type ListViewsdefaultJSONResponse

type ListViewsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListViewsdefaultJSONResponse) VisitListViewsResponse

func (response ListViewsdefaultJSONResponse) VisitListViewsResponse(w http.ResponseWriter) error

type ListZone200JSONResponse

type ListZone200JSONResponse Zone

func (ListZone200JSONResponse) VisitListZoneResponse

func (response ListZone200JSONResponse) VisitListZoneResponse(w http.ResponseWriter) error

type ListZoneBindings200JSONResponse

type ListZoneBindings200JSONResponse ZoneBindingPage

func (ListZoneBindings200JSONResponse) VisitListZoneBindingsResponse

func (response ListZoneBindings200JSONResponse) VisitListZoneBindingsResponse(w http.ResponseWriter) error

type ListZoneBindingsParams

type ListZoneBindingsParams struct {
	Limit    *Limit                        `form:"limit,omitempty" json:"limit,omitempty"`
	Cursor   *Cursor                       `form:"cursor,omitempty" json:"cursor,omitempty"`
	Status   *ListZoneBindingsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
	ZoneName *string                       `form:"zone_name,omitempty" json:"zone_name,omitempty"`
}

ListZoneBindingsParams defines parameters for ListZoneBindings.

type ListZoneBindingsParamsStatus

type ListZoneBindingsParamsStatus string

ListZoneBindingsParamsStatus defines parameters for ListZoneBindings.

const (
	ListZoneBindingsParamsStatusActive  ListZoneBindingsParamsStatus = "active"
	ListZoneBindingsParamsStatusRetired ListZoneBindingsParamsStatus = "retired"
)

Defines values for ListZoneBindingsParamsStatus.

func (ListZoneBindingsParamsStatus) Valid

Valid indicates whether the value is a known member of the ListZoneBindingsParamsStatus enum.

type ListZoneBindingsRequestObject

type ListZoneBindingsRequestObject struct {
	Params ListZoneBindingsParams
}

type ListZoneBindingsResponse

type ListZoneBindingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ZoneBindingPage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseListZoneBindingsResponse

func ParseListZoneBindingsResponse(rsp *http.Response) (*ListZoneBindingsResponse, error)

ParseListZoneBindingsResponse parses an HTTP response from a ListZoneBindingsWithResponse call

func (ListZoneBindingsResponse) ContentType

func (r ListZoneBindingsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListZoneBindingsResponse) GetBody

func (r ListZoneBindingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListZoneBindingsResponse) GetJSON200

func (r ListZoneBindingsResponse) GetJSON200() *ZoneBindingPage

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListZoneBindingsResponse) GetJSONDefault

func (r ListZoneBindingsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListZoneBindingsResponse) Status

func (r ListZoneBindingsResponse) Status() string

Status returns HTTPResponse.Status

func (ListZoneBindingsResponse) StatusCode

func (r ListZoneBindingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListZoneBindingsResponseObject

type ListZoneBindingsResponseObject interface {
	VisitListZoneBindingsResponse(w http.ResponseWriter) error
}

type ListZoneBindingsdefaultJSONResponse

type ListZoneBindingsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListZoneBindingsdefaultJSONResponse) VisitListZoneBindingsResponse

func (response ListZoneBindingsdefaultJSONResponse) VisitListZoneBindingsResponse(w http.ResponseWriter) error

type ListZoneParams

type ListZoneParams struct {
	// Rrsets “true” (default) or “false”, whether to include the “rrsets” in the response Zone object.
	Rrsets *bool `form:"rrsets,omitempty" json:"rrsets,omitempty"`

	// RrsetName Limit output to RRsets for this name.
	RrsetName *string `form:"rrset_name,omitempty" json:"rrset_name,omitempty"`

	// RrsetType Limit output to the RRset of this type. Can only be used together with rrset_name.
	RrsetType *string `form:"rrset_type,omitempty" json:"rrset_type,omitempty"`

	// IncludeDisabled “true” (default) or “false”, whether to include disabled RRsets in the response.
	IncludeDisabled *bool `form:"include_disabled,omitempty" json:"include_disabled,omitempty"`
}

ListZoneParams defines parameters for ListZone.

type ListZoneRequestObject

type ListZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
	Params   ListZoneParams
}

type ListZoneResponse

type ListZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Zone
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListZoneResponse

func ParseListZoneResponse(rsp *http.Response) (*ListZoneResponse, error)

ParseListZoneResponse parses an HTTP response from a ListZoneWithResponse call

func (ListZoneResponse) ContentType

func (r ListZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListZoneResponse) GetBody

func (r ListZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListZoneResponse) GetJSON200

func (r ListZoneResponse) GetJSON200() *Zone

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListZoneResponse) GetJSONDefault

func (r ListZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListZoneResponse) Status

func (r ListZoneResponse) Status() string

Status returns HTTPResponse.Status

func (ListZoneResponse) StatusCode

func (r ListZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListZoneResponseObject

type ListZoneResponseObject interface {
	VisitListZoneResponse(w http.ResponseWriter) error
}

type ListZonedefaultJSONResponse

type ListZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListZonedefaultJSONResponse) VisitListZoneResponse

func (response ListZonedefaultJSONResponse) VisitListZoneResponse(w http.ResponseWriter) error

type ListZones200JSONResponse

type ListZones200JSONResponse []Zone

func (ListZones200JSONResponse) VisitListZonesResponse

func (response ListZones200JSONResponse) VisitListZonesResponse(w http.ResponseWriter) error

type ListZonesParams

type ListZonesParams struct {
	// Zone 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.
	Zone *string `form:"zone,omitempty" json:"zone,omitempty"`

	// Dnssec “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.
	Dnssec *bool `form:"dnssec,omitempty" json:"dnssec,omitempty"`
}

ListZonesParams defines parameters for ListZones.

type ListZonesRequestObject

type ListZonesRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Params   ListZonesParams
}

type ListZonesResponse

type ListZonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Zone
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseListZonesResponse

func ParseListZonesResponse(rsp *http.Response) (*ListZonesResponse, error)

ParseListZonesResponse parses an HTTP response from a ListZonesWithResponse call

func (ListZonesResponse) ContentType

func (r ListZonesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListZonesResponse) GetBody

func (r ListZonesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListZonesResponse) GetJSON200

func (r ListZonesResponse) GetJSON200() *[]Zone

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListZonesResponse) GetJSONDefault

func (r ListZonesResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListZonesResponse) Status

func (r ListZonesResponse) Status() string

Status returns HTTPResponse.Status

func (ListZonesResponse) StatusCode

func (r ListZonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListZonesResponseObject

type ListZonesResponseObject interface {
	VisitListZonesResponse(w http.ResponseWriter) error
}

type ListZonesdefaultJSONResponse

type ListZonesdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListZonesdefaultJSONResponse) VisitListZonesResponse

func (response ListZonesdefaultJSONResponse) VisitListZonesResponse(w http.ResponseWriter) error

type MapStatisticItem

type MapStatisticItem struct {
	// Name Item name
	Name *string `json:"name,omitempty"`

	// Type Set to "MapStatisticItem"
	Type *string `json:"type,omitempty"`

	// Value Named values
	Value *[]SimpleStatisticItem `json:"value,omitempty"`
}

MapStatisticItem defines model for MapStatisticItem.

type Metadata

type Metadata struct {
	// Kind Name of the metadata
	Kind *string `json:"kind,omitempty"`

	// Metadata Array with all values for this metadata kind.
	Metadata *[]string `json:"metadata,omitempty"`
}

Metadata Represents zone metadata

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type ModifyCryptokey204Response

type ModifyCryptokey204Response struct {
}

func (ModifyCryptokey204Response) VisitModifyCryptokeyResponse

func (response ModifyCryptokey204Response) VisitModifyCryptokeyResponse(w http.ResponseWriter) error

type ModifyCryptokeyJSONRequestBody

type ModifyCryptokeyJSONRequestBody = Cryptokey

ModifyCryptokeyJSONRequestBody defines body for ModifyCryptokey for application/json ContentType.

type ModifyCryptokeyRequestObject

type ModifyCryptokeyRequestObject struct {
	ServerId    ServerId `json:"server_id"`
	ZoneId      ZoneId   `json:"zone_id"`
	CryptokeyId string   `json:"cryptokey_id"`
	Body        *ModifyCryptokeyJSONRequestBody
}

type ModifyCryptokeyResponse

type ModifyCryptokeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseModifyCryptokeyResponse

func ParseModifyCryptokeyResponse(rsp *http.Response) (*ModifyCryptokeyResponse, error)

ParseModifyCryptokeyResponse parses an HTTP response from a ModifyCryptokeyWithResponse call

func (ModifyCryptokeyResponse) ContentType

func (r ModifyCryptokeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ModifyCryptokeyResponse) GetBody

func (r ModifyCryptokeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ModifyCryptokeyResponse) GetJSONDefault

func (r ModifyCryptokeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ModifyCryptokeyResponse) Status

func (r ModifyCryptokeyResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyCryptokeyResponse) StatusCode

func (r ModifyCryptokeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifyCryptokeyResponseObject

type ModifyCryptokeyResponseObject interface {
	VisitModifyCryptokeyResponse(w http.ResponseWriter) error
}

type ModifyCryptokeydefaultJSONResponse

type ModifyCryptokeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ModifyCryptokeydefaultJSONResponse) VisitModifyCryptokeyResponse

func (response ModifyCryptokeydefaultJSONResponse) VisitModifyCryptokeyResponse(w http.ResponseWriter) error

type ModifyMetadata200JSONResponse

type ModifyMetadata200JSONResponse Metadata

func (ModifyMetadata200JSONResponse) VisitModifyMetadataResponse

func (response ModifyMetadata200JSONResponse) VisitModifyMetadataResponse(w http.ResponseWriter) error

type ModifyMetadataJSONRequestBody

type ModifyMetadataJSONRequestBody = Metadata

ModifyMetadataJSONRequestBody defines body for ModifyMetadata for application/json ContentType.

type ModifyMetadataRequestObject

type ModifyMetadataRequestObject struct {
	ServerId     ServerId `json:"server_id"`
	ZoneId       ZoneId   `json:"zone_id"`
	MetadataKind string   `json:"metadata_kind"`
	Body         *ModifyMetadataJSONRequestBody
}

type ModifyMetadataResponse

type ModifyMetadataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Metadata
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseModifyMetadataResponse

func ParseModifyMetadataResponse(rsp *http.Response) (*ModifyMetadataResponse, error)

ParseModifyMetadataResponse parses an HTTP response from a ModifyMetadataWithResponse call

func (ModifyMetadataResponse) ContentType

func (r ModifyMetadataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ModifyMetadataResponse) GetBody

func (r ModifyMetadataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ModifyMetadataResponse) GetJSON200

func (r ModifyMetadataResponse) GetJSON200() *Metadata

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ModifyMetadataResponse) GetJSONDefault

func (r ModifyMetadataResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ModifyMetadataResponse) Status

func (r ModifyMetadataResponse) Status() string

Status returns HTTPResponse.Status

func (ModifyMetadataResponse) StatusCode

func (r ModifyMetadataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifyMetadataResponseObject

type ModifyMetadataResponseObject interface {
	VisitModifyMetadataResponse(w http.ResponseWriter) error
}

type ModifyMetadatadefaultJSONResponse

type ModifyMetadatadefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ModifyMetadatadefaultJSONResponse) VisitModifyMetadataResponse

func (response ModifyMetadatadefaultJSONResponse) VisitModifyMetadataResponse(w http.ResponseWriter) error

type Network

type Network struct {
	// Network Network specification in human-readable form base address/prefix length
	Network *string `json:"network,omitempty"`

	// View The name of the view
	View *string `json:"view,omitempty"`
}

Network defines model for Network.

type Networks

type Networks struct {
	Networks *[]Network `json:"networks,omitempty"`
}

Networks defines model for Networks.

type NotifyZone200Response

type NotifyZone200Response struct {
}

func (NotifyZone200Response) VisitNotifyZoneResponse

func (response NotifyZone200Response) VisitNotifyZoneResponse(w http.ResponseWriter) error

type NotifyZoneRequestObject

type NotifyZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type NotifyZoneResponse

type NotifyZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseNotifyZoneResponse

func ParseNotifyZoneResponse(rsp *http.Response) (*NotifyZoneResponse, error)

ParseNotifyZoneResponse parses an HTTP response from a NotifyZoneWithResponse call

func (NotifyZoneResponse) ContentType

func (r NotifyZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (NotifyZoneResponse) GetBody

func (r NotifyZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (NotifyZoneResponse) GetJSONDefault

func (r NotifyZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (NotifyZoneResponse) Status

func (r NotifyZoneResponse) Status() string

Status returns HTTPResponse.Status

func (NotifyZoneResponse) StatusCode

func (r NotifyZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NotifyZoneResponseObject

type NotifyZoneResponseObject interface {
	VisitNotifyZoneResponse(w http.ResponseWriter) error
}

type NotifyZonedefaultJSONResponse

type NotifyZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (NotifyZonedefaultJSONResponse) VisitNotifyZoneResponse

func (response NotifyZonedefaultJSONResponse) VisitNotifyZoneResponse(w http.ResponseWriter) error

type NullableResourceID

type NullableResourceID = openapi_types.UUID

NullableResourceID defines model for NullableResourceID.

type NullableString

type NullableString = string

NullableString defines model for NullableString.

type NullableTimestamp

type NullableTimestamp = time.Time

NullableTimestamp defines model for NullableTimestamp.

type ObserveZoneBinding200JSONResponse

type ObserveZoneBinding200JSONResponse ZoneObservation

func (ObserveZoneBinding200JSONResponse) VisitObserveZoneBindingResponse

func (response ObserveZoneBinding200JSONResponse) VisitObserveZoneBindingResponse(w http.ResponseWriter) error

type ObserveZoneBindingRequestObject

type ObserveZoneBindingRequestObject struct {
	ZoneBindingId ZoneBindingID `json:"zone_binding_id"`
}

type ObserveZoneBindingResponse

type ObserveZoneBindingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ZoneObservation
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseObserveZoneBindingResponse

func ParseObserveZoneBindingResponse(rsp *http.Response) (*ObserveZoneBindingResponse, error)

ParseObserveZoneBindingResponse parses an HTTP response from a ObserveZoneBindingWithResponse call

func (ObserveZoneBindingResponse) ContentType

func (r ObserveZoneBindingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ObserveZoneBindingResponse) GetBody

func (r ObserveZoneBindingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ObserveZoneBindingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObserveZoneBindingResponse) GetJSONDefault

func (r ObserveZoneBindingResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ObserveZoneBindingResponse) Status

Status returns HTTPResponse.Status

func (ObserveZoneBindingResponse) StatusCode

func (r ObserveZoneBindingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ObserveZoneBindingResponseObject

type ObserveZoneBindingResponseObject interface {
	VisitObserveZoneBindingResponse(w http.ResponseWriter) error
}

type ObserveZoneBindingdefaultJSONResponse

type ObserveZoneBindingdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ObserveZoneBindingdefaultJSONResponse) VisitObserveZoneBindingResponse

func (response ObserveZoneBindingdefaultJSONResponse) VisitObserveZoneBindingResponse(w http.ResponseWriter) error

type PatchZone204Response

type PatchZone204Response struct {
}

func (PatchZone204Response) VisitPatchZoneResponse

func (response PatchZone204Response) VisitPatchZoneResponse(w http.ResponseWriter) error

type PatchZoneJSONRequestBody

type PatchZoneJSONRequestBody = ZonePatch

PatchZoneJSONRequestBody defines body for PatchZone for application/json ContentType.

type PatchZoneRequestObject

type PatchZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
	Body     *PatchZoneJSONRequestBody
}

type PatchZoneResponse

type PatchZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParsePatchZoneResponse

func ParsePatchZoneResponse(rsp *http.Response) (*PatchZoneResponse, error)

ParsePatchZoneResponse parses an HTTP response from a PatchZoneWithResponse call

func (PatchZoneResponse) ContentType

func (r PatchZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchZoneResponse) GetBody

func (r PatchZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchZoneResponse) GetJSONDefault

func (r PatchZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (PatchZoneResponse) Status

func (r PatchZoneResponse) Status() string

Status returns HTTPResponse.Status

func (PatchZoneResponse) StatusCode

func (r PatchZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchZoneResponseObject

type PatchZoneResponseObject interface {
	VisitPatchZoneResponse(w http.ResponseWriter) error
}

type PatchZonedefaultJSONResponse

type PatchZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (PatchZonedefaultJSONResponse) VisitPatchZoneResponse

func (response PatchZonedefaultJSONResponse) VisitPatchZoneResponse(w http.ResponseWriter) error

type PowerDNSErrorRequestObject

type PowerDNSErrorRequestObject struct {
}

type PowerDNSErrorResponse

type PowerDNSErrorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParsePowerDNSErrorResponse

func ParsePowerDNSErrorResponse(rsp *http.Response) (*PowerDNSErrorResponse, error)

ParsePowerDNSErrorResponse parses an HTTP response from a PowerDNSErrorWithResponse call

func (PowerDNSErrorResponse) ContentType

func (r PowerDNSErrorResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PowerDNSErrorResponse) GetBody

func (r PowerDNSErrorResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PowerDNSErrorResponse) GetJSONDefault

func (r PowerDNSErrorResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (PowerDNSErrorResponse) Status

func (r PowerDNSErrorResponse) Status() string

Status returns HTTPResponse.Status

func (PowerDNSErrorResponse) StatusCode

func (r PowerDNSErrorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PowerDNSErrorResponseObject

type PowerDNSErrorResponseObject interface {
	VisitPowerDNSErrorResponse(w http.ResponseWriter) error
}

type PowerDNSErrordefaultJSONResponse

type PowerDNSErrordefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (PowerDNSErrordefaultJSONResponse) VisitPowerDNSErrorResponse

func (response PowerDNSErrordefaultJSONResponse) VisitPowerDNSErrorResponse(w http.ResponseWriter) error

type PowerDNSView

type PowerDNSView struct {
	// Zones An array of zone names
	Zones *[]string `json:"zones,omitempty"`
}

PowerDNSView defines model for View.

type PutTSIGKey200JSONResponse

type PutTSIGKey200JSONResponse TSIGKey

func (PutTSIGKey200JSONResponse) VisitPutTSIGKeyResponse

func (response PutTSIGKey200JSONResponse) VisitPutTSIGKeyResponse(w http.ResponseWriter) error

type PutTSIGKey409JSONResponse

type PutTSIGKey409JSONResponse Error

func (PutTSIGKey409JSONResponse) VisitPutTSIGKeyResponse

func (response PutTSIGKey409JSONResponse) VisitPutTSIGKeyResponse(w http.ResponseWriter) error

type PutTSIGKeyJSONRequestBody

type PutTSIGKeyJSONRequestBody = TSIGKey

PutTSIGKeyJSONRequestBody defines body for PutTSIGKey for application/json ContentType.

type PutTSIGKeyRequestObject

type PutTSIGKeyRequestObject struct {
	ServerId  ServerId `json:"server_id"`
	TsigkeyId string   `json:"tsigkey_id"`
	Body      *PutTSIGKeyJSONRequestBody
}

type PutTSIGKeyResponse

type PutTSIGKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TSIGKey
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParsePutTSIGKeyResponse

func ParsePutTSIGKeyResponse(rsp *http.Response) (*PutTSIGKeyResponse, error)

ParsePutTSIGKeyResponse parses an HTTP response from a PutTSIGKeyWithResponse call

func (PutTSIGKeyResponse) ContentType

func (r PutTSIGKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutTSIGKeyResponse) GetBody

func (r PutTSIGKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutTSIGKeyResponse) GetJSON200

func (r PutTSIGKeyResponse) GetJSON200() *TSIGKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutTSIGKeyResponse) GetJSON409

func (r PutTSIGKeyResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutTSIGKeyResponse) GetJSONDefault

func (r PutTSIGKeyResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (PutTSIGKeyResponse) Status

func (r PutTSIGKeyResponse) Status() string

Status returns HTTPResponse.Status

func (PutTSIGKeyResponse) StatusCode

func (r PutTSIGKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutTSIGKeyResponseObject

type PutTSIGKeyResponseObject interface {
	VisitPutTSIGKeyResponse(w http.ResponseWriter) error
}

type PutTSIGKeydefaultJSONResponse

type PutTSIGKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (PutTSIGKeydefaultJSONResponse) VisitPutTSIGKeyResponse

func (response PutTSIGKeydefaultJSONResponse) VisitPutTSIGKeyResponse(w http.ResponseWriter) error

type PutZone204Response

type PutZone204Response struct {
}

func (PutZone204Response) VisitPutZoneResponse

func (response PutZone204Response) VisitPutZoneResponse(w http.ResponseWriter) error

type PutZoneJSONRequestBody

type PutZoneJSONRequestBody = Zone

PutZoneJSONRequestBody defines body for PutZone for application/json ContentType.

type PutZoneRequestObject

type PutZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
	Body     *PutZoneJSONRequestBody
}

type PutZoneResponse

type PutZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParsePutZoneResponse

func ParsePutZoneResponse(rsp *http.Response) (*PutZoneResponse, error)

ParsePutZoneResponse parses an HTTP response from a PutZoneWithResponse call

func (PutZoneResponse) ContentType

func (r PutZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutZoneResponse) GetBody

func (r PutZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PutZoneResponse) GetJSONDefault

func (r PutZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (PutZoneResponse) Status

func (r PutZoneResponse) Status() string

Status returns HTTPResponse.Status

func (PutZoneResponse) StatusCode

func (r PutZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutZoneResponseObject

type PutZoneResponseObject interface {
	VisitPutZoneResponse(w http.ResponseWriter) error
}

type PutZonedefaultJSONResponse

type PutZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (PutZonedefaultJSONResponse) VisitPutZoneResponse

func (response PutZonedefaultJSONResponse) VisitPutZoneResponse(w http.ResponseWriter) error

type RRSet

type RRSet struct {
	// Changetype 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,omitempty"`

	// Comments 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"`

	// Name Name for record set (e.g. “www.powerdns.com.”)
	Name string `json:"name"`

	// Records 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"`

	// Ttl DNS TTL of the records, in seconds. MUST NOT be included when changetype is set to “DELETE”.
	Ttl int `json:"ttl"`

	// Type Type of this record (e.g. “A”, “PTR”, “MX”)
	Type string `json:"type"`
}

RRSet This represents a Resource Record Set (all records with the same name and type).

type RRSetChange

type RRSetChange struct {
	Changetype RRSetChangeChangetype `json:"changetype"`
	Comments   *[]Comment            `json:"comments,omitempty"`
	Name       string                `json:"name"`

	// Records Required by PowerDNS for REPLACE, EXTEND, and PRUNE; omitted or empty for DELETE.
	Records *[]Record `json:"records,omitempty"`

	// Ttl Required by PowerDNS for REPLACE; omitted for DELETE and permitted to be omitted for EXTEND or PRUNE.
	Ttl  *int   `json:"ttl,omitempty"`
	Type string `json:"type"`
}

RRSetChange defines model for RRSetChange.

type RRSetChangeChangetype

type RRSetChangeChangetype string

RRSetChangeChangetype defines model for RRSetChange.Changetype.

const (
	RRSetChangeChangetypeDELETE  RRSetChangeChangetype = "DELETE"
	RRSetChangeChangetypeEXTEND  RRSetChangeChangetype = "EXTEND"
	RRSetChangeChangetypePRUNE   RRSetChangeChangetype = "PRUNE"
	RRSetChangeChangetypeREPLACE RRSetChangeChangetype = "REPLACE"
)

Defines values for RRSetChangeChangetype.

func (RRSetChangeChangetype) Valid

func (e RRSetChangeChangetype) Valid() bool

Valid indicates whether the value is a known member of the RRSetChangeChangetype enum.

type RRsetBrowsePage

type RRsetBrowsePage struct {
	Error           nullable.Nullable[NullableString]    `json:"error"`
	Items           []RRSet                              `json:"items"`
	LastRefreshedAt nullable.Nullable[NullableTimestamp] `json:"last_refreshed_at"`
	NextCursor      nullable.Nullable[NullableString]    `json:"next_cursor"`
	State           RRsetBrowsePageState                 `json:"state"`
}

RRsetBrowsePage defines model for RRsetBrowsePage.

type RRsetBrowsePageState

type RRsetBrowsePageState string

RRsetBrowsePageState defines model for RRsetBrowsePage.State.

const (
	Indexing   RRsetBrowsePageState = "indexing"
	Ready      RRsetBrowsePageState = "ready"
	Refreshing RRsetBrowsePageState = "refreshing"
	Stale      RRsetBrowsePageState = "stale"
)

Defines values for RRsetBrowsePageState.

func (RRsetBrowsePageState) Valid

func (e RRsetBrowsePageState) Valid() bool

Valid indicates whether the value is a known member of the RRsetBrowsePageState enum.

type RebindZoneBinding201JSONResponse

type RebindZoneBinding201JSONResponse struct {
	Body    ZoneBinding
	Headers RebindZoneBinding201ResponseHeaders
}

func (RebindZoneBinding201JSONResponse) VisitRebindZoneBindingResponse

func (response RebindZoneBinding201JSONResponse) VisitRebindZoneBindingResponse(w http.ResponseWriter) error

type RebindZoneBinding201ResponseHeaders

type RebindZoneBinding201ResponseHeaders struct {
	Location *string
}

type RebindZoneBindingJSONRequestBody

type RebindZoneBindingJSONRequestBody = ZoneBindingCreate

RebindZoneBindingJSONRequestBody defines body for RebindZoneBinding for application/json ContentType.

type RebindZoneBindingRequestObject

type RebindZoneBindingRequestObject struct {
	ZoneBindingId ZoneBindingID `json:"zone_binding_id"`
	Body          *RebindZoneBindingJSONRequestBody
}

type RebindZoneBindingResponse

type RebindZoneBindingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ZoneBinding
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *RebindZoneBindingResponse201Headers
}

func ParseRebindZoneBindingResponse

func ParseRebindZoneBindingResponse(rsp *http.Response) (*RebindZoneBindingResponse, error)

ParseRebindZoneBindingResponse parses an HTTP response from a RebindZoneBindingWithResponse call

func (RebindZoneBindingResponse) ContentType

func (r RebindZoneBindingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RebindZoneBindingResponse) GetBody

func (r RebindZoneBindingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RebindZoneBindingResponse) GetJSON201

func (r RebindZoneBindingResponse) GetJSON201() *ZoneBinding

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (RebindZoneBindingResponse) GetJSONDefault

func (r RebindZoneBindingResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RebindZoneBindingResponse) Status

func (r RebindZoneBindingResponse) Status() string

Status returns HTTPResponse.Status

func (RebindZoneBindingResponse) StatusCode

func (r RebindZoneBindingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RebindZoneBindingResponse201Headers

type RebindZoneBindingResponse201Headers struct {
	Location *string
}

RebindZoneBindingResponse201Headers the declared response headers of an HTTP 201 response for RebindZoneBinding

type RebindZoneBindingResponseObject

type RebindZoneBindingResponseObject interface {
	VisitRebindZoneBindingResponse(w http.ResponseWriter) error
}

type RebindZoneBindingdefaultJSONResponse

type RebindZoneBindingdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RebindZoneBindingdefaultJSONResponse) VisitRebindZoneBindingResponse

func (response RebindZoneBindingdefaultJSONResponse) VisitRebindZoneBindingResponse(w http.ResponseWriter) error

type Record

type Record struct {
	// Content The content of this record
	Content string `json:"content"`

	// Disabled Whether or not this record is disabled. When unset, the record is not disabled
	Disabled *bool `json:"disabled,omitempty"`

	// ModifiedAt Timestamp of the last record change.
	ModifiedAt *int `json:"modified_at,omitempty"`
}

Record The RREntry object represents a single record.

type RectifyZone200JSONResponse

type RectifyZone200JSONResponse string

func (RectifyZone200JSONResponse) VisitRectifyZoneResponse

func (response RectifyZone200JSONResponse) VisitRectifyZoneResponse(w http.ResponseWriter) error

type RectifyZoneRequestObject

type RectifyZoneRequestObject struct {
	ServerId ServerId `json:"server_id"`
	ZoneId   ZoneId   `json:"zone_id"`
}

type RectifyZoneResponse

type RectifyZoneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseRectifyZoneResponse

func ParseRectifyZoneResponse(rsp *http.Response) (*RectifyZoneResponse, error)

ParseRectifyZoneResponse parses an HTTP response from a RectifyZoneWithResponse call

func (RectifyZoneResponse) ContentType

func (r RectifyZoneResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RectifyZoneResponse) GetBody

func (r RectifyZoneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RectifyZoneResponse) GetJSON200

func (r RectifyZoneResponse) GetJSON200() *string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RectifyZoneResponse) GetJSONDefault

func (r RectifyZoneResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RectifyZoneResponse) Status

func (r RectifyZoneResponse) Status() string

Status returns HTTPResponse.Status

func (RectifyZoneResponse) StatusCode

func (r RectifyZoneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RectifyZoneResponseObject

type RectifyZoneResponseObject interface {
	VisitRectifyZoneResponse(w http.ResponseWriter) error
}

type RectifyZonedefaultJSONResponse

type RectifyZonedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RectifyZonedefaultJSONResponse) VisitRectifyZoneResponse

func (response RectifyZonedefaultJSONResponse) VisitRectifyZoneResponse(w http.ResponseWriter) error

type RefreshRRsets202JSONResponse

type RefreshRRsets202JSONResponse RRsetBrowsePage

func (RefreshRRsets202JSONResponse) VisitRefreshRRsetsResponse

func (response RefreshRRsets202JSONResponse) VisitRefreshRRsetsResponse(w http.ResponseWriter) error

type RefreshRRsetsRequestObject

type RefreshRRsetsRequestObject struct {
	ServerId string `json:"server_id"`
	ZoneId   string `json:"zone_id"`
}

type RefreshRRsetsResponse

type RefreshRRsetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *RRsetBrowsePage
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseRefreshRRsetsResponse

func ParseRefreshRRsetsResponse(rsp *http.Response) (*RefreshRRsetsResponse, error)

ParseRefreshRRsetsResponse parses an HTTP response from a RefreshRRsetsWithResponse call

func (RefreshRRsetsResponse) ContentType

func (r RefreshRRsetsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RefreshRRsetsResponse) GetBody

func (r RefreshRRsetsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RefreshRRsetsResponse) GetJSON202

func (r RefreshRRsetsResponse) GetJSON202() *RRsetBrowsePage

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (RefreshRRsetsResponse) GetJSONDefault

func (r RefreshRRsetsResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RefreshRRsetsResponse) Status

func (r RefreshRRsetsResponse) Status() string

Status returns HTTPResponse.Status

func (RefreshRRsetsResponse) StatusCode

func (r RefreshRRsetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RefreshRRsetsResponseObject

type RefreshRRsetsResponseObject interface {
	VisitRefreshRRsetsResponse(w http.ResponseWriter) error
}

type RefreshRRsetsdefaultJSONResponse

type RefreshRRsetsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RefreshRRsetsdefaultJSONResponse) VisitRefreshRRsetsResponse

func (response RefreshRRsetsdefaultJSONResponse) VisitRefreshRRsetsResponse(w http.ResponseWriter) error

type RemoveGroupMember204Response

type RemoveGroupMember204Response struct {
}

func (RemoveGroupMember204Response) VisitRemoveGroupMemberResponse

func (response RemoveGroupMember204Response) VisitRemoveGroupMemberResponse(w http.ResponseWriter) error

type RemoveGroupMemberRequestObject

type RemoveGroupMemberRequestObject struct {
	GroupId    GroupID    `json:"group_id"`
	IdentityId IdentityID `json:"identity_id"`
}

type RemoveGroupMemberResponse

type RemoveGroupMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseRemoveGroupMemberResponse

func ParseRemoveGroupMemberResponse(rsp *http.Response) (*RemoveGroupMemberResponse, error)

ParseRemoveGroupMemberResponse parses an HTTP response from a RemoveGroupMemberWithResponse call

func (RemoveGroupMemberResponse) ContentType

func (r RemoveGroupMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveGroupMemberResponse) GetBody

func (r RemoveGroupMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveGroupMemberResponse) GetJSONDefault

func (r RemoveGroupMemberResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RemoveGroupMemberResponse) Status

func (r RemoveGroupMemberResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveGroupMemberResponse) StatusCode

func (r RemoveGroupMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveGroupMemberResponseObject

type RemoveGroupMemberResponseObject interface {
	VisitRemoveGroupMemberResponse(w http.ResponseWriter) error
}

type RemoveGroupMemberdefaultJSONResponse

type RemoveGroupMemberdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RemoveGroupMemberdefaultJSONResponse) VisitRemoveGroupMemberResponse

func (response RemoveGroupMemberdefaultJSONResponse) VisitRemoveGroupMemberResponse(w http.ResponseWriter) error

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResourceID

type ResourceID = openapi_types.UUID

ResourceID defines model for ResourceID.

type RetainedAssignment

type RetainedAssignment struct {
	BindingStatus   RetainedAssignmentBindingStatus      `json:"binding_status"`
	ChangeKinds     []RetainedAssignmentChangeKinds      `json:"change_kinds"`
	CreatedAt       time.Time                            `json:"created_at"`
	Effective       bool                                 `json:"effective"`
	GranteeId       ResourceID                           `json:"grantee_id"`
	GranteeKind     RetainedAssignmentGranteeKind        `json:"grantee_kind"`
	GroupEnabled    nullable.Nullable[bool]              `json:"group_enabled"`
	GroupHandle     nullable.Nullable[NullableString]    `json:"group_handle"`
	Id              ResourceID                           `json:"id"`
	IdentityEnabled bool                                 `json:"identity_enabled"`
	RecordTypes     []string                             `json:"record_types"`
	RevokedAt       nullable.Nullable[NullableTimestamp] `json:"revoked_at"`
	Selectors       []Selector                           `json:"selectors"`
	ZoneBindingId   ResourceID                           `json:"zone_binding_id"`
	ZoneId          string                               `json:"zone_id"`
	ZoneName        string                               `json:"zone_name"`
}

RetainedAssignment defines model for RetainedAssignment.

type RetainedAssignmentBindingStatus

type RetainedAssignmentBindingStatus string

RetainedAssignmentBindingStatus defines model for RetainedAssignment.BindingStatus.

const (
	RetainedAssignmentBindingStatusActive  RetainedAssignmentBindingStatus = "active"
	RetainedAssignmentBindingStatusRetired RetainedAssignmentBindingStatus = "retired"
)

Defines values for RetainedAssignmentBindingStatus.

func (RetainedAssignmentBindingStatus) Valid

Valid indicates whether the value is a known member of the RetainedAssignmentBindingStatus enum.

type RetainedAssignmentChangeKinds

type RetainedAssignmentChangeKinds string

RetainedAssignmentChangeKinds defines model for RetainedAssignment.ChangeKinds.

const (
	RetainedAssignmentChangeKindsDELETE  RetainedAssignmentChangeKinds = "DELETE"
	RetainedAssignmentChangeKindsEXTEND  RetainedAssignmentChangeKinds = "EXTEND"
	RetainedAssignmentChangeKindsPRUNE   RetainedAssignmentChangeKinds = "PRUNE"
	RetainedAssignmentChangeKindsREPLACE RetainedAssignmentChangeKinds = "REPLACE"
)

Defines values for RetainedAssignmentChangeKinds.

func (RetainedAssignmentChangeKinds) Valid

Valid indicates whether the value is a known member of the RetainedAssignmentChangeKinds enum.

type RetainedAssignmentGranteeKind

type RetainedAssignmentGranteeKind string

RetainedAssignmentGranteeKind defines model for RetainedAssignment.GranteeKind.

const (
	RetainedAssignmentGranteeKindGroup    RetainedAssignmentGranteeKind = "group"
	RetainedAssignmentGranteeKindIdentity RetainedAssignmentGranteeKind = "identity"
)

Defines values for RetainedAssignmentGranteeKind.

func (RetainedAssignmentGranteeKind) Valid

Valid indicates whether the value is a known member of the RetainedAssignmentGranteeKind enum.

type RetainedAssignmentPage

type RetainedAssignmentPage struct {
	Items      []RetainedAssignment              `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

RetainedAssignmentPage defines model for RetainedAssignmentPage.

type RetryZoneBindingDeletion204Response

type RetryZoneBindingDeletion204Response struct {
}

func (RetryZoneBindingDeletion204Response) VisitRetryZoneBindingDeletionResponse

func (response RetryZoneBindingDeletion204Response) VisitRetryZoneBindingDeletionResponse(w http.ResponseWriter) error

type RetryZoneBindingDeletionRequestObject

type RetryZoneBindingDeletionRequestObject struct {
	ZoneBindingId ZoneBindingID `json:"zone_binding_id"`
}

type RetryZoneBindingDeletionResponse

type RetryZoneBindingDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseRetryZoneBindingDeletionResponse

func ParseRetryZoneBindingDeletionResponse(rsp *http.Response) (*RetryZoneBindingDeletionResponse, error)

ParseRetryZoneBindingDeletionResponse parses an HTTP response from a RetryZoneBindingDeletionWithResponse call

func (RetryZoneBindingDeletionResponse) ContentType

func (r RetryZoneBindingDeletionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RetryZoneBindingDeletionResponse) GetBody

func (r RetryZoneBindingDeletionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RetryZoneBindingDeletionResponse) GetJSONDefault

func (r RetryZoneBindingDeletionResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RetryZoneBindingDeletionResponse) Status

Status returns HTTPResponse.Status

func (RetryZoneBindingDeletionResponse) StatusCode

func (r RetryZoneBindingDeletionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RetryZoneBindingDeletionResponseObject

type RetryZoneBindingDeletionResponseObject interface {
	VisitRetryZoneBindingDeletionResponse(w http.ResponseWriter) error
}

type RetryZoneBindingDeletiondefaultJSONResponse

type RetryZoneBindingDeletiondefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RetryZoneBindingDeletiondefaultJSONResponse) VisitRetryZoneBindingDeletionResponse

func (response RetryZoneBindingDeletiondefaultJSONResponse) VisitRetryZoneBindingDeletionResponse(w http.ResponseWriter) error

type RevokeCurrentIdentityToken204Response

type RevokeCurrentIdentityToken204Response struct {
}

func (RevokeCurrentIdentityToken204Response) VisitRevokeCurrentIdentityTokenResponse

func (response RevokeCurrentIdentityToken204Response) VisitRevokeCurrentIdentityTokenResponse(w http.ResponseWriter) error

type RevokeCurrentIdentityTokenRequestObject

type RevokeCurrentIdentityTokenRequestObject struct {
	TokenId TokenID `json:"token_id"`
}

type RevokeCurrentIdentityTokenResponse

type RevokeCurrentIdentityTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseRevokeCurrentIdentityTokenResponse

func ParseRevokeCurrentIdentityTokenResponse(rsp *http.Response) (*RevokeCurrentIdentityTokenResponse, error)

ParseRevokeCurrentIdentityTokenResponse parses an HTTP response from a RevokeCurrentIdentityTokenWithResponse call

func (RevokeCurrentIdentityTokenResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeCurrentIdentityTokenResponse) GetBody

GetBody returns the raw response body bytes

func (RevokeCurrentIdentityTokenResponse) GetJSONDefault

func (r RevokeCurrentIdentityTokenResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RevokeCurrentIdentityTokenResponse) Status

Status returns HTTPResponse.Status

func (RevokeCurrentIdentityTokenResponse) StatusCode

func (r RevokeCurrentIdentityTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeCurrentIdentityTokenResponseObject

type RevokeCurrentIdentityTokenResponseObject interface {
	VisitRevokeCurrentIdentityTokenResponse(w http.ResponseWriter) error
}

type RevokeCurrentIdentityTokendefaultJSONResponse

type RevokeCurrentIdentityTokendefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RevokeCurrentIdentityTokendefaultJSONResponse) VisitRevokeCurrentIdentityTokenResponse

func (response RevokeCurrentIdentityTokendefaultJSONResponse) VisitRevokeCurrentIdentityTokenResponse(w http.ResponseWriter) error

type RevokeDelegation204Response

type RevokeDelegation204Response struct {
}

func (RevokeDelegation204Response) VisitRevokeDelegationResponse

func (response RevokeDelegation204Response) VisitRevokeDelegationResponse(w http.ResponseWriter) error

type RevokeDelegationRequestObject

type RevokeDelegationRequestObject struct {
	DelegationId DelegationID `json:"delegation_id"`
}

type RevokeDelegationResponse

type RevokeDelegationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseRevokeDelegationResponse

func ParseRevokeDelegationResponse(rsp *http.Response) (*RevokeDelegationResponse, error)

ParseRevokeDelegationResponse parses an HTTP response from a RevokeDelegationWithResponse call

func (RevokeDelegationResponse) ContentType

func (r RevokeDelegationResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeDelegationResponse) GetBody

func (r RevokeDelegationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeDelegationResponse) GetJSONDefault

func (r RevokeDelegationResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RevokeDelegationResponse) Status

func (r RevokeDelegationResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeDelegationResponse) StatusCode

func (r RevokeDelegationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeDelegationResponseObject

type RevokeDelegationResponseObject interface {
	VisitRevokeDelegationResponse(w http.ResponseWriter) error
}

type RevokeDelegationdefaultJSONResponse

type RevokeDelegationdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RevokeDelegationdefaultJSONResponse) VisitRevokeDelegationResponse

func (response RevokeDelegationdefaultJSONResponse) VisitRevokeDelegationResponse(w http.ResponseWriter) error

type RevokeIdentityToken204Response

type RevokeIdentityToken204Response struct {
}

func (RevokeIdentityToken204Response) VisitRevokeIdentityTokenResponse

func (response RevokeIdentityToken204Response) VisitRevokeIdentityTokenResponse(w http.ResponseWriter) error

type RevokeIdentityTokenRequestObject

type RevokeIdentityTokenRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	TokenId    TokenID    `json:"token_id"`
}

type RevokeIdentityTokenResponse

type RevokeIdentityTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseRevokeIdentityTokenResponse

func ParseRevokeIdentityTokenResponse(rsp *http.Response) (*RevokeIdentityTokenResponse, error)

ParseRevokeIdentityTokenResponse parses an HTTP response from a RevokeIdentityTokenWithResponse call

func (RevokeIdentityTokenResponse) ContentType

func (r RevokeIdentityTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeIdentityTokenResponse) GetBody

func (r RevokeIdentityTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeIdentityTokenResponse) GetJSONDefault

func (r RevokeIdentityTokenResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (RevokeIdentityTokenResponse) Status

Status returns HTTPResponse.Status

func (RevokeIdentityTokenResponse) StatusCode

func (r RevokeIdentityTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeIdentityTokenResponseObject

type RevokeIdentityTokenResponseObject interface {
	VisitRevokeIdentityTokenResponse(w http.ResponseWriter) error
}

type RevokeIdentityTokendefaultJSONResponse

type RevokeIdentityTokendefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RevokeIdentityTokendefaultJSONResponse) VisitRevokeIdentityTokenResponse

func (response RevokeIdentityTokendefaultJSONResponse) VisitRevokeIdentityTokenResponse(w http.ResponseWriter) error

type RingStatisticItem

type RingStatisticItem struct {
	// Name Item name
	Name *string `json:"name,omitempty"`

	// Size Ring size
	Size *int `json:"size,omitempty"`

	// Type Set to "RingStatisticItem"
	Type *string `json:"type,omitempty"`

	// Value Named values
	Value *[]SimpleStatisticItem `json:"value,omitempty"`
}

RingStatisticItem defines model for RingStatisticItem.

type SearchData200JSONResponse

type SearchData200JSONResponse SearchResults

func (SearchData200JSONResponse) VisitSearchDataResponse

func (response SearchData200JSONResponse) VisitSearchDataResponse(w http.ResponseWriter) error

type SearchDataParams

type SearchDataParams struct {
	// Q The string to search for
	Q string `form:"q" json:"q"`

	// Max Maximum number of entries to return
	Max int `form:"max" json:"max"`

	// ObjectType Type of data to search for, one of “all”, “zone”, “record”, “comment”
	ObjectType *string `form:"object_type,omitempty" json:"object_type,omitempty"`
}

SearchDataParams defines parameters for SearchData.

type SearchDataRequestObject

type SearchDataRequestObject struct {
	ServerId ServerId `json:"server_id"`
	Params   SearchDataParams
}

type SearchDataResponse

type SearchDataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SearchResults
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseSearchDataResponse

func ParseSearchDataResponse(rsp *http.Response) (*SearchDataResponse, error)

ParseSearchDataResponse parses an HTTP response from a SearchDataWithResponse call

func (SearchDataResponse) ContentType

func (r SearchDataResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchDataResponse) GetBody

func (r SearchDataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchDataResponse) GetJSON200

func (r SearchDataResponse) GetJSON200() *SearchResults

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchDataResponse) GetJSONDefault

func (r SearchDataResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SearchDataResponse) Status

func (r SearchDataResponse) Status() string

Status returns HTTPResponse.Status

func (SearchDataResponse) StatusCode

func (r SearchDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchDataResponseObject

type SearchDataResponseObject interface {
	VisitSearchDataResponse(w http.ResponseWriter) error
}

type SearchDatadefaultJSONResponse

type SearchDatadefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (SearchDatadefaultJSONResponse) VisitSearchDataResponse

func (response SearchDatadefaultJSONResponse) VisitSearchDataResponse(w http.ResponseWriter) error

type SearchResult

type SearchResult struct {
	// contains filtered or unexported fields
}

SearchResult defines model for SearchResult.

func (SearchResult) AsSearchResultComment

func (t SearchResult) AsSearchResultComment() (SearchResultComment, error)

AsSearchResultComment returns the union data inside the SearchResult as a SearchResultComment

func (SearchResult) AsSearchResultRecord

func (t SearchResult) AsSearchResultRecord() (SearchResultRecord, error)

AsSearchResultRecord returns the union data inside the SearchResult as a SearchResultRecord

func (SearchResult) AsSearchResultZone

func (t SearchResult) AsSearchResultZone() (SearchResultZone, error)

AsSearchResultZone returns the union data inside the SearchResult as a SearchResultZone

func (SearchResult) Discriminator

func (t SearchResult) Discriminator() (string, error)

func (*SearchResult) FromSearchResultComment

func (t *SearchResult) FromSearchResultComment(v SearchResultComment) error

FromSearchResultComment overwrites any union data inside the SearchResult as the provided SearchResultComment

func (*SearchResult) FromSearchResultRecord

func (t *SearchResult) FromSearchResultRecord(v SearchResultRecord) error

FromSearchResultRecord overwrites any union data inside the SearchResult as the provided SearchResultRecord

func (*SearchResult) FromSearchResultZone

func (t *SearchResult) FromSearchResultZone(v SearchResultZone) error

FromSearchResultZone overwrites any union data inside the SearchResult as the provided SearchResultZone

func (SearchResult) MarshalJSON

func (t SearchResult) MarshalJSON() ([]byte, error)

func (*SearchResult) MergeSearchResultComment

func (t *SearchResult) MergeSearchResultComment(v SearchResultComment) error

MergeSearchResultComment performs a merge with any union data inside the SearchResult, using the provided SearchResultComment

func (*SearchResult) MergeSearchResultRecord

func (t *SearchResult) MergeSearchResultRecord(v SearchResultRecord) error

MergeSearchResultRecord performs a merge with any union data inside the SearchResult, using the provided SearchResultRecord

func (*SearchResult) MergeSearchResultZone

func (t *SearchResult) MergeSearchResultZone(v SearchResultZone) error

MergeSearchResultZone performs a merge with any union data inside the SearchResult, using the provided SearchResultZone

func (*SearchResult) UnmarshalJSON

func (t *SearchResult) UnmarshalJSON(b []byte) error

func (SearchResult) ValueByDiscriminator

func (t SearchResult) ValueByDiscriminator() (interface{}, error)

type SearchResultComment

type SearchResultComment struct {
	Content *string `json:"content,omitempty"`
	Name    *string `json:"name,omitempty"`

	// ObjectType set to "comment"
	ObjectType *SearchResultCommentObjectType `json:"object_type,omitempty"`
	Type       *string                        `json:"type,omitempty"`
	Zone       *string                        `json:"zone,omitempty"`
	ZoneId     *string                        `json:"zone_id,omitempty"`
}

SearchResultComment defines model for SearchResultComment.

type SearchResultCommentObjectType

type SearchResultCommentObjectType string

SearchResultCommentObjectType set to "comment"

const (
	SearchResultCommentObjectTypeComment SearchResultCommentObjectType = "comment"
)

Defines values for SearchResultCommentObjectType.

func (SearchResultCommentObjectType) Valid

Valid indicates whether the value is a known member of the SearchResultCommentObjectType enum.

type SearchResultRecord

type SearchResultRecord struct {
	Content  *string `json:"content,omitempty"`
	Disabled *bool   `json:"disabled,omitempty"`
	Name     *string `json:"name,omitempty"`

	// ObjectType set to "record"
	ObjectType *SearchResultRecordObjectType `json:"object_type,omitempty"`
	Ttl        *int                          `json:"ttl,omitempty"`
	Type       *string                       `json:"type,omitempty"`
	Zone       *string                       `json:"zone,omitempty"`
	ZoneId     *string                       `json:"zone_id,omitempty"`
}

SearchResultRecord defines model for SearchResultRecord.

type SearchResultRecordObjectType

type SearchResultRecordObjectType string

SearchResultRecordObjectType set to "record"

const (
	SearchResultRecordObjectTypeRecord SearchResultRecordObjectType = "record"
)

Defines values for SearchResultRecordObjectType.

func (SearchResultRecordObjectType) Valid

Valid indicates whether the value is a known member of the SearchResultRecordObjectType enum.

type SearchResultZone

type SearchResultZone struct {
	Name *string `json:"name,omitempty"`

	// ObjectType set to "zone"
	ObjectType *SearchResultZoneObjectType `json:"object_type,omitempty"`
	ZoneId     *string                     `json:"zone_id,omitempty"`
}

SearchResultZone defines model for SearchResultZone.

type SearchResultZoneObjectType

type SearchResultZoneObjectType string

SearchResultZoneObjectType set to "zone"

const (
	SearchResultZoneObjectTypeZone SearchResultZoneObjectType = "zone"
)

Defines values for SearchResultZoneObjectType.

func (SearchResultZoneObjectType) Valid

func (e SearchResultZoneObjectType) Valid() bool

Valid indicates whether the value is a known member of the SearchResultZoneObjectType enum.

type SearchResults

type SearchResults = []SearchResult

SearchResults defines model for SearchResults.

type Selector

type Selector struct {
	Kind  SelectorKind `json:"kind"`
	Value string       `json:"value"`
}

Selector defines model for Selector.

type SelectorKind

type SelectorKind string

SelectorKind defines model for Selector.Kind.

const (
	SelectorKindExact SelectorKind = "exact"
	SelectorKindGlob  SelectorKind = "glob"
)

Defines values for SelectorKind.

func (SelectorKind) Valid

func (e SelectorKind) Valid() bool

Valid indicates whether the value is a known member of the SelectorKind enum.

type SelfDelegation

type SelfDelegation struct {
	ChangeKinds   []SelfDelegationChangeKinds          `json:"change_kinds"`
	CreatedAt     time.Time                            `json:"created_at"`
	GranteeId     ResourceID                           `json:"grantee_id"`
	GranteeKind   SelfDelegationGranteeKind            `json:"grantee_kind"`
	Id            ResourceID                           `json:"id"`
	RecordTypes   []string                             `json:"record_types"`
	RevokedAt     nullable.Nullable[NullableTimestamp] `json:"revoked_at"`
	Selectors     []Selector                           `json:"selectors"`
	ZoneBindingId ResourceID                           `json:"zone_binding_id"`
	ZoneId        string                               `json:"zone_id"`
	ZoneName      string                               `json:"zone_name"`
}

SelfDelegation defines model for SelfDelegation.

type SelfDelegationChangeKinds

type SelfDelegationChangeKinds string

SelfDelegationChangeKinds defines model for SelfDelegation.ChangeKinds.

const (
	SelfDelegationChangeKindsDELETE  SelfDelegationChangeKinds = "DELETE"
	SelfDelegationChangeKindsEXTEND  SelfDelegationChangeKinds = "EXTEND"
	SelfDelegationChangeKindsPRUNE   SelfDelegationChangeKinds = "PRUNE"
	SelfDelegationChangeKindsREPLACE SelfDelegationChangeKinds = "REPLACE"
)

Defines values for SelfDelegationChangeKinds.

func (SelfDelegationChangeKinds) Valid

func (e SelfDelegationChangeKinds) Valid() bool

Valid indicates whether the value is a known member of the SelfDelegationChangeKinds enum.

type SelfDelegationGranteeKind

type SelfDelegationGranteeKind string

SelfDelegationGranteeKind defines model for SelfDelegation.GranteeKind.

const (
	SelfDelegationGranteeKindGroup    SelfDelegationGranteeKind = "group"
	SelfDelegationGranteeKindIdentity SelfDelegationGranteeKind = "identity"
)

Defines values for SelfDelegationGranteeKind.

func (SelfDelegationGranteeKind) Valid

func (e SelfDelegationGranteeKind) Valid() bool

Valid indicates whether the value is a known member of the SelfDelegationGranteeKind enum.

type SelfDelegationPage

type SelfDelegationPage struct {
	Items      []SelfDelegation                  `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

SelfDelegationPage defines model for SelfDelegationPage.

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type Server

type Server struct {
	// ConfigUrl The API endpoint for this server’s configuration
	ConfigUrl *string `json:"config_url,omitempty"`

	// DaemonType “recursor” for the PowerDNS Recursor and “authoritative” for the Authoritative Server
	DaemonType *string `json:"daemon_type,omitempty"`

	// Id The id of the server, “localhost”
	Id *string `json:"id,omitempty"`

	// Type Set to “Server”
	Type *string `json:"type,omitempty"`

	// Url The API endpoint for this server
	Url *string `json:"url,omitempty"`

	// Version The version of the server software
	Version *string `json:"version,omitempty"`

	// ZonesUrl The API endpoint for this server’s zones
	ZonesUrl *string `json:"zones_url,omitempty"`
}

Server defines model for Server.

type ServerId

type ServerId = string

ServerId defines model for server_id.

type ServerInterface

type ServerInterface interface {
	// GetAPIDocument Return this combined OpenAPI document.
	// (GET /api/docs)
	GetAPIDocument(w http.ResponseWriter, r *http.Request)

	// (GET /dans/audit-events)
	ListAuditEvents(w http.ResponseWriter, r *http.Request, params ListAuditEventsParams)

	// (GET /dans/audit-events/export)
	ExportAuditEvents(w http.ResponseWriter, r *http.Request, params ExportAuditEventsParams)

	// (GET /dans/delegations)
	ListDelegations(w http.ResponseWriter, r *http.Request, params ListDelegationsParams)

	// (POST /dans/delegations)
	CreateDelegation(w http.ResponseWriter, r *http.Request)

	// (DELETE /dans/delegations/{delegation_id})
	RevokeDelegation(w http.ResponseWriter, r *http.Request, delegationId DelegationID)

	// (GET /dans/delegations/{delegation_id})
	GetDelegation(w http.ResponseWriter, r *http.Request, delegationId DelegationID)

	// (GET /dans/groups)
	ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)

	// (POST /dans/groups)
	CreateGroup(w http.ResponseWriter, r *http.Request)

	// (GET /dans/groups/{group_id})
	GetGroup(w http.ResponseWriter, r *http.Request, groupId GroupID)

	// (PATCH /dans/groups/{group_id})
	UpdateGroup(w http.ResponseWriter, r *http.Request, groupId GroupID)

	// (GET /dans/groups/{group_id}/members)
	ListGroupMembers(w http.ResponseWriter, r *http.Request, groupId GroupID, params ListGroupMembersParams)

	// (DELETE /dans/groups/{group_id}/members/{identity_id})
	RemoveGroupMember(w http.ResponseWriter, r *http.Request, groupId GroupID, identityId IdentityID)

	// (PUT /dans/groups/{group_id}/members/{identity_id})
	AddGroupMember(w http.ResponseWriter, r *http.Request, groupId GroupID, identityId IdentityID)

	// (GET /dans/identities)
	ListIdentities(w http.ResponseWriter, r *http.Request, params ListIdentitiesParams)

	// (POST /dans/identities)
	CreateIdentity(w http.ResponseWriter, r *http.Request)

	// (GET /dans/identities/{identity_id})
	GetIdentity(w http.ResponseWriter, r *http.Request, identityId IdentityID)

	// (PATCH /dans/identities/{identity_id})
	UpdateIdentity(w http.ResponseWriter, r *http.Request, identityId IdentityID)

	// (GET /dans/identities/{identity_id}/assignments)
	ListIdentityAssignments(w http.ResponseWriter, r *http.Request, identityId IdentityID, params ListIdentityAssignmentsParams)

	// (GET /dans/identities/{identity_id}/delegations)
	ListIdentityDelegations(w http.ResponseWriter, r *http.Request, identityId IdentityID, params ListIdentityDelegationsParams)

	// (GET /dans/identities/{identity_id}/groups)
	ListIdentityGroups(w http.ResponseWriter, r *http.Request, identityId IdentityID, params ListIdentityGroupsParams)

	// (GET /dans/identities/{identity_id}/tokens)
	ListIdentityTokens(w http.ResponseWriter, r *http.Request, identityId IdentityID, params ListIdentityTokensParams)

	// (POST /dans/identities/{identity_id}/tokens)
	CreateIdentityToken(w http.ResponseWriter, r *http.Request, identityId IdentityID)

	// (DELETE /dans/identities/{identity_id}/tokens/{token_id})
	RevokeIdentityToken(w http.ResponseWriter, r *http.Request, identityId IdentityID, tokenId TokenID)

	// (GET /dans/me)
	GetCurrentIdentity(w http.ResponseWriter, r *http.Request)

	// (GET /dans/me/credential)
	GetCurrentCredential(w http.ResponseWriter, r *http.Request)

	// (GET /dans/me/delegations)
	ListCurrentIdentityDelegations(w http.ResponseWriter, r *http.Request, params ListCurrentIdentityDelegationsParams)

	// (GET /dans/me/groups)
	ListCurrentIdentityGroups(w http.ResponseWriter, r *http.Request, params ListCurrentIdentityGroupsParams)

	// (GET /dans/me/tokens)
	ListCurrentIdentityTokens(w http.ResponseWriter, r *http.Request, params ListCurrentIdentityTokensParams)

	// (POST /dans/me/tokens)
	CreateCurrentIdentityToken(w http.ResponseWriter, r *http.Request)

	// (DELETE /dans/me/tokens/{token_id})
	RevokeCurrentIdentityToken(w http.ResponseWriter, r *http.Request, tokenId TokenID)

	// (GET /dans/servers/{server_id}/zones/{zone_id}/rrsets)
	BrowseRRsets(w http.ResponseWriter, r *http.Request, serverId string, zoneId string, params BrowseRRsetsParams)

	// (POST /dans/servers/{server_id}/zones/{zone_id}/rrsets/refresh)
	RefreshRRsets(w http.ResponseWriter, r *http.Request, serverId string, zoneId string)
	// DeleteBrowserSession Clear this browser session without revoking its API token.
	// (DELETE /dans/session)
	DeleteBrowserSession(w http.ResponseWriter, r *http.Request)
	// CreateBrowserSession Sign in with an existing API token.
	// (POST /dans/session)
	CreateBrowserSession(w http.ResponseWriter, r *http.Request)

	// (GET /dans/zone-bindings)
	ListZoneBindings(w http.ResponseWriter, r *http.Request, params ListZoneBindingsParams)

	// (POST /dans/zone-bindings)
	CreateZoneBinding(w http.ResponseWriter, r *http.Request)

	// (GET /dans/zone-bindings/{zone_binding_id})
	GetZoneBinding(w http.ResponseWriter, r *http.Request, zoneBindingId ZoneBindingID)

	// (POST /dans/zone-bindings/{zone_binding_id}/confirm-absent)
	ConfirmZoneBindingAbsent(w http.ResponseWriter, r *http.Request, zoneBindingId ZoneBindingID)

	// (POST /dans/zone-bindings/{zone_binding_id}/observe)
	ObserveZoneBinding(w http.ResponseWriter, r *http.Request, zoneBindingId ZoneBindingID)

	// (POST /dans/zone-bindings/{zone_binding_id}/rebind)
	RebindZoneBinding(w http.ResponseWriter, r *http.Request, zoneBindingId ZoneBindingID)

	// (POST /dans/zone-bindings/{zone_binding_id}/retry-delete)
	RetryZoneBindingDeletion(w http.ResponseWriter, r *http.Request, zoneBindingId ZoneBindingID)
	// PowerDNSError Will always generate an error
	// (GET /error)
	PowerDNSError(w http.ResponseWriter, r *http.Request)
	// GetLiveness Report process liveness.
	// (GET /livez)
	GetLiveness(w http.ResponseWriter, r *http.Request)
	// GetReadiness Report whether authenticated API traffic can be served.
	// (GET /readyz)
	GetReadiness(w http.ResponseWriter, r *http.Request)
	// ListServers List all servers
	// (GET /servers)
	ListServers(w http.ResponseWriter, r *http.Request)
	// ListServer List a server
	// (GET /servers/{server_id})
	ListServer(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// GetAutoprimaries Get a list of autoprimaries
	// (GET /servers/{server_id}/autoprimaries)
	GetAutoprimaries(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// CreateAutoprimary Add an autoprimary
	// (POST /servers/{server_id}/autoprimaries)
	CreateAutoprimary(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// DeleteAutoprimary Delete the autoprimary entry
	// (DELETE /servers/{server_id}/autoprimaries/{ip}/{nameserver})
	DeleteAutoprimary(w http.ResponseWriter, r *http.Request, serverId ServerId, ip string, nameserver string)
	// CacheFlushByName Flush a cache-entry by name
	// (PUT /servers/{server_id}/cache/flush)
	CacheFlushByName(w http.ResponseWriter, r *http.Request, serverId ServerId, params CacheFlushByNameParams)
	// GetConfig Returns all ConfigSettings for a single server
	// (GET /servers/{server_id}/config)
	GetConfig(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// GetConfigSetting Returns a specific ConfigSetting for a single server
	// (GET /servers/{server_id}/config/{config_setting_name})
	GetConfigSetting(w http.ResponseWriter, r *http.Request, serverId ServerId, configSettingName string)
	// ListNetworks List all registered networks and views in a server
	// (GET /servers/{server_id}/networks)
	ListNetworks(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// GetNetwork Return the view associated to the given network
	// (GET /servers/{server_id}/networks/{ip}/{prefixlen})
	GetNetwork(w http.ResponseWriter, r *http.Request, serverId ServerId, ip string, prefixlen string)
	// SetNetwork Sets the view associated to the given network
	// (PUT /servers/{server_id}/networks/{ip}/{prefixlen})
	SetNetwork(w http.ResponseWriter, r *http.Request, serverId ServerId, ip string, prefixlen string)
	// SearchData Search the data inside PowerDNS
	// (GET /servers/{server_id}/search-data)
	SearchData(w http.ResponseWriter, r *http.Request, serverId ServerId, params SearchDataParams)
	// GetStats Query statistics.
	// (GET /servers/{server_id}/statistics)
	GetStats(w http.ResponseWriter, r *http.Request, serverId ServerId, params GetStatsParams)
	// ListTSIGKeys Get all TSIGKeys on the server, except the actual key
	// (GET /servers/{server_id}/tsigkeys)
	ListTSIGKeys(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// CreateTSIGKey Add a TSIG key
	// (POST /servers/{server_id}/tsigkeys)
	CreateTSIGKey(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// DeleteTSIGKey Delete the TSIGKey with tsigkey_id
	// (DELETE /servers/{server_id}/tsigkeys/{tsigkey_id})
	DeleteTSIGKey(w http.ResponseWriter, r *http.Request, serverId ServerId, tsigkeyId string)
	// GetTSIGKey Get a specific TSIGKeys on the server, including the actual key
	// (GET /servers/{server_id}/tsigkeys/{tsigkey_id})
	GetTSIGKey(w http.ResponseWriter, r *http.Request, serverId ServerId, tsigkeyId string)

	// (PUT /servers/{server_id}/tsigkeys/{tsigkey_id})
	PutTSIGKey(w http.ResponseWriter, r *http.Request, serverId ServerId, tsigkeyId string)
	// ListViews List all views in a server
	// (GET /servers/{server_id}/views)
	ListViews(w http.ResponseWriter, r *http.Request, serverId ServerId)
	// ListView List the contents of a given view
	// (GET /servers/{server_id}/views/{view})
	ListView(w http.ResponseWriter, r *http.Request, serverId ServerId, view View)
	// AddToView Adds a zone to a given view, creating it if needed
	// (POST /servers/{server_id}/views/{view})
	AddToView(w http.ResponseWriter, r *http.Request, serverId ServerId, view View)
	// DeleteFromView Removes the given zone from the given view
	// (DELETE /servers/{server_id}/views/{view}/{id})
	DeleteFromView(w http.ResponseWriter, r *http.Request, serverId ServerId, view View, id string)
	// ListZones List all Zones in a server
	// (GET /servers/{server_id}/zones)
	ListZones(w http.ResponseWriter, r *http.Request, serverId ServerId, params ListZonesParams)
	// CreateZone Creates a new domain, returns the Zone on creation.
	// (POST /servers/{server_id}/zones)
	CreateZone(w http.ResponseWriter, r *http.Request, serverId ServerId, params CreateZoneParams)
	// DeleteZone Deletes this zone, all attached metadata and rrsets.
	// (DELETE /servers/{server_id}/zones/{zone_id})
	DeleteZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// ListZone zone managed by a server
	// (GET /servers/{server_id}/zones/{zone_id})
	ListZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, params ListZoneParams)
	// PatchZone Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
	// (PATCH /servers/{server_id}/zones/{zone_id})
	PatchZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// PutZone Modifies basic zone data.
	// (PUT /servers/{server_id}/zones/{zone_id})
	PutZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// AxfrRetrieveZone Retrieve slave zone from its master.
	// (PUT /servers/{server_id}/zones/{zone_id}/axfr-retrieve)
	AxfrRetrieveZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// ListCryptokeys Get all CryptoKeys for a zone, except the privatekey
	// (GET /servers/{server_id}/zones/{zone_id}/cryptokeys)
	ListCryptokeys(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// CreateCryptokey Creates a Cryptokey
	// (POST /servers/{server_id}/zones/{zone_id}/cryptokeys)
	CreateCryptokey(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// DeleteCryptokey This method deletes a key specified by cryptokey_id.
	// (DELETE /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id})
	DeleteCryptokey(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, cryptokeyId string)
	// GetCryptokey Returns all data about the CryptoKey, including the privatekey.
	// (GET /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id})
	GetCryptokey(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, cryptokeyId string)
	// ModifyCryptokey This method (de)activates a key from zone_name specified by cryptokey_id
	// (PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id})
	ModifyCryptokey(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, cryptokeyId string)
	// AxfrExportZone Returns the zone in AXFR format.
	// (GET /servers/{server_id}/zones/{zone_id}/export)
	AxfrExportZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// ListMetadata Get all the Metadata associated with the zone.
	// (GET /servers/{server_id}/zones/{zone_id}/metadata)
	ListMetadata(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// CreateMetadata Creates a set of metadata entries
	// (POST /servers/{server_id}/zones/{zone_id}/metadata)
	CreateMetadata(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// DeleteMetadata Delete all items of a single kind of domain metadata.
	// (DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind})
	DeleteMetadata(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, metadataKind string)
	// GetMetadata Get the content of a single kind of domain metadata as a Metadata object.
	// (GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind})
	GetMetadata(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, metadataKind string)
	// ModifyMetadata Replace the content of a single kind of domain metadata.
	// (PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind})
	ModifyMetadata(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId, metadataKind string)
	// NotifyZone Send a DNS NOTIFY to all slaves.
	// (PUT /servers/{server_id}/zones/{zone_id}/notify)
	NotifyZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
	// RectifyZone Rectify the zone data.
	// (PUT /servers/{server_id}/zones/{zone_id}/rectify)
	RectifyZone(w http.ResponseWriter, r *http.Request, serverId ServerId, zoneId ZoneId)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AddGroupMember

func (siw *ServerInterfaceWrapper) AddGroupMember(w http.ResponseWriter, r *http.Request)

AddGroupMember operation middleware

func (*ServerInterfaceWrapper) AddToView

func (siw *ServerInterfaceWrapper) AddToView(w http.ResponseWriter, r *http.Request)

AddToView operation middleware

func (*ServerInterfaceWrapper) AxfrExportZone

func (siw *ServerInterfaceWrapper) AxfrExportZone(w http.ResponseWriter, r *http.Request)

AxfrExportZone operation middleware

func (*ServerInterfaceWrapper) AxfrRetrieveZone

func (siw *ServerInterfaceWrapper) AxfrRetrieveZone(w http.ResponseWriter, r *http.Request)

AxfrRetrieveZone operation middleware

func (*ServerInterfaceWrapper) BrowseRRsets

func (siw *ServerInterfaceWrapper) BrowseRRsets(w http.ResponseWriter, r *http.Request)

BrowseRRsets operation middleware

func (*ServerInterfaceWrapper) CacheFlushByName

func (siw *ServerInterfaceWrapper) CacheFlushByName(w http.ResponseWriter, r *http.Request)

CacheFlushByName operation middleware

func (*ServerInterfaceWrapper) ConfirmZoneBindingAbsent

func (siw *ServerInterfaceWrapper) ConfirmZoneBindingAbsent(w http.ResponseWriter, r *http.Request)

ConfirmZoneBindingAbsent operation middleware

func (*ServerInterfaceWrapper) CreateAutoprimary

func (siw *ServerInterfaceWrapper) CreateAutoprimary(w http.ResponseWriter, r *http.Request)

CreateAutoprimary operation middleware

func (*ServerInterfaceWrapper) CreateBrowserSession

func (siw *ServerInterfaceWrapper) CreateBrowserSession(w http.ResponseWriter, r *http.Request)

CreateBrowserSession operation middleware

func (*ServerInterfaceWrapper) CreateCryptokey

func (siw *ServerInterfaceWrapper) CreateCryptokey(w http.ResponseWriter, r *http.Request)

CreateCryptokey operation middleware

func (*ServerInterfaceWrapper) CreateCurrentIdentityToken

func (siw *ServerInterfaceWrapper) CreateCurrentIdentityToken(w http.ResponseWriter, r *http.Request)

CreateCurrentIdentityToken operation middleware

func (*ServerInterfaceWrapper) CreateDelegation

func (siw *ServerInterfaceWrapper) CreateDelegation(w http.ResponseWriter, r *http.Request)

CreateDelegation operation middleware

func (*ServerInterfaceWrapper) CreateGroup

func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)

CreateGroup operation middleware

func (*ServerInterfaceWrapper) CreateIdentity

func (siw *ServerInterfaceWrapper) CreateIdentity(w http.ResponseWriter, r *http.Request)

CreateIdentity operation middleware

func (*ServerInterfaceWrapper) CreateIdentityToken

func (siw *ServerInterfaceWrapper) CreateIdentityToken(w http.ResponseWriter, r *http.Request)

CreateIdentityToken operation middleware

func (*ServerInterfaceWrapper) CreateMetadata

func (siw *ServerInterfaceWrapper) CreateMetadata(w http.ResponseWriter, r *http.Request)

CreateMetadata operation middleware

func (*ServerInterfaceWrapper) CreateTSIGKey

func (siw *ServerInterfaceWrapper) CreateTSIGKey(w http.ResponseWriter, r *http.Request)

CreateTSIGKey operation middleware

func (*ServerInterfaceWrapper) CreateZone

func (siw *ServerInterfaceWrapper) CreateZone(w http.ResponseWriter, r *http.Request)

CreateZone operation middleware

func (*ServerInterfaceWrapper) CreateZoneBinding

func (siw *ServerInterfaceWrapper) CreateZoneBinding(w http.ResponseWriter, r *http.Request)

CreateZoneBinding operation middleware

func (*ServerInterfaceWrapper) DeleteAutoprimary

func (siw *ServerInterfaceWrapper) DeleteAutoprimary(w http.ResponseWriter, r *http.Request)

DeleteAutoprimary operation middleware

func (*ServerInterfaceWrapper) DeleteBrowserSession

func (siw *ServerInterfaceWrapper) DeleteBrowserSession(w http.ResponseWriter, r *http.Request)

DeleteBrowserSession operation middleware

func (*ServerInterfaceWrapper) DeleteCryptokey

func (siw *ServerInterfaceWrapper) DeleteCryptokey(w http.ResponseWriter, r *http.Request)

DeleteCryptokey operation middleware

func (*ServerInterfaceWrapper) DeleteFromView

func (siw *ServerInterfaceWrapper) DeleteFromView(w http.ResponseWriter, r *http.Request)

DeleteFromView operation middleware

func (*ServerInterfaceWrapper) DeleteMetadata

func (siw *ServerInterfaceWrapper) DeleteMetadata(w http.ResponseWriter, r *http.Request)

DeleteMetadata operation middleware

func (*ServerInterfaceWrapper) DeleteTSIGKey

func (siw *ServerInterfaceWrapper) DeleteTSIGKey(w http.ResponseWriter, r *http.Request)

DeleteTSIGKey operation middleware

func (*ServerInterfaceWrapper) DeleteZone

func (siw *ServerInterfaceWrapper) DeleteZone(w http.ResponseWriter, r *http.Request)

DeleteZone operation middleware

func (*ServerInterfaceWrapper) ExportAuditEvents

func (siw *ServerInterfaceWrapper) ExportAuditEvents(w http.ResponseWriter, r *http.Request)

ExportAuditEvents operation middleware

func (*ServerInterfaceWrapper) GetAPIDocument

func (siw *ServerInterfaceWrapper) GetAPIDocument(w http.ResponseWriter, r *http.Request)

GetAPIDocument operation middleware

func (*ServerInterfaceWrapper) GetAutoprimaries

func (siw *ServerInterfaceWrapper) GetAutoprimaries(w http.ResponseWriter, r *http.Request)

GetAutoprimaries operation middleware

func (*ServerInterfaceWrapper) GetConfig

func (siw *ServerInterfaceWrapper) GetConfig(w http.ResponseWriter, r *http.Request)

GetConfig operation middleware

func (*ServerInterfaceWrapper) GetConfigSetting

func (siw *ServerInterfaceWrapper) GetConfigSetting(w http.ResponseWriter, r *http.Request)

GetConfigSetting operation middleware

func (*ServerInterfaceWrapper) GetCryptokey

func (siw *ServerInterfaceWrapper) GetCryptokey(w http.ResponseWriter, r *http.Request)

GetCryptokey operation middleware

func (*ServerInterfaceWrapper) GetCurrentCredential

func (siw *ServerInterfaceWrapper) GetCurrentCredential(w http.ResponseWriter, r *http.Request)

GetCurrentCredential operation middleware

func (*ServerInterfaceWrapper) GetCurrentIdentity

func (siw *ServerInterfaceWrapper) GetCurrentIdentity(w http.ResponseWriter, r *http.Request)

GetCurrentIdentity operation middleware

func (*ServerInterfaceWrapper) GetDelegation

func (siw *ServerInterfaceWrapper) GetDelegation(w http.ResponseWriter, r *http.Request)

GetDelegation operation middleware

func (*ServerInterfaceWrapper) GetGroup

func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)

GetGroup operation middleware

func (*ServerInterfaceWrapper) GetIdentity

func (siw *ServerInterfaceWrapper) GetIdentity(w http.ResponseWriter, r *http.Request)

GetIdentity operation middleware

func (*ServerInterfaceWrapper) GetLiveness

func (siw *ServerInterfaceWrapper) GetLiveness(w http.ResponseWriter, r *http.Request)

GetLiveness operation middleware

func (*ServerInterfaceWrapper) GetMetadata

func (siw *ServerInterfaceWrapper) GetMetadata(w http.ResponseWriter, r *http.Request)

GetMetadata operation middleware

func (*ServerInterfaceWrapper) GetNetwork

func (siw *ServerInterfaceWrapper) GetNetwork(w http.ResponseWriter, r *http.Request)

GetNetwork operation middleware

func (*ServerInterfaceWrapper) GetReadiness

func (siw *ServerInterfaceWrapper) GetReadiness(w http.ResponseWriter, r *http.Request)

GetReadiness operation middleware

func (*ServerInterfaceWrapper) GetStats

func (siw *ServerInterfaceWrapper) GetStats(w http.ResponseWriter, r *http.Request)

GetStats operation middleware

func (*ServerInterfaceWrapper) GetTSIGKey

func (siw *ServerInterfaceWrapper) GetTSIGKey(w http.ResponseWriter, r *http.Request)

GetTSIGKey operation middleware

func (*ServerInterfaceWrapper) GetZoneBinding

func (siw *ServerInterfaceWrapper) GetZoneBinding(w http.ResponseWriter, r *http.Request)

GetZoneBinding operation middleware

func (*ServerInterfaceWrapper) ListAuditEvents

func (siw *ServerInterfaceWrapper) ListAuditEvents(w http.ResponseWriter, r *http.Request)

ListAuditEvents operation middleware

func (*ServerInterfaceWrapper) ListCryptokeys

func (siw *ServerInterfaceWrapper) ListCryptokeys(w http.ResponseWriter, r *http.Request)

ListCryptokeys operation middleware

func (*ServerInterfaceWrapper) ListCurrentIdentityDelegations

func (siw *ServerInterfaceWrapper) ListCurrentIdentityDelegations(w http.ResponseWriter, r *http.Request)

ListCurrentIdentityDelegations operation middleware

func (*ServerInterfaceWrapper) ListCurrentIdentityGroups

func (siw *ServerInterfaceWrapper) ListCurrentIdentityGroups(w http.ResponseWriter, r *http.Request)

ListCurrentIdentityGroups operation middleware

func (*ServerInterfaceWrapper) ListCurrentIdentityTokens

func (siw *ServerInterfaceWrapper) ListCurrentIdentityTokens(w http.ResponseWriter, r *http.Request)

ListCurrentIdentityTokens operation middleware

func (*ServerInterfaceWrapper) ListDelegations

func (siw *ServerInterfaceWrapper) ListDelegations(w http.ResponseWriter, r *http.Request)

ListDelegations operation middleware

func (*ServerInterfaceWrapper) ListGroupMembers

func (siw *ServerInterfaceWrapper) ListGroupMembers(w http.ResponseWriter, r *http.Request)

ListGroupMembers operation middleware

func (*ServerInterfaceWrapper) ListGroups

func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)

ListGroups operation middleware

func (*ServerInterfaceWrapper) ListIdentities

func (siw *ServerInterfaceWrapper) ListIdentities(w http.ResponseWriter, r *http.Request)

ListIdentities operation middleware

func (*ServerInterfaceWrapper) ListIdentityAssignments

func (siw *ServerInterfaceWrapper) ListIdentityAssignments(w http.ResponseWriter, r *http.Request)

ListIdentityAssignments operation middleware

func (*ServerInterfaceWrapper) ListIdentityDelegations

func (siw *ServerInterfaceWrapper) ListIdentityDelegations(w http.ResponseWriter, r *http.Request)

ListIdentityDelegations operation middleware

func (*ServerInterfaceWrapper) ListIdentityGroups

func (siw *ServerInterfaceWrapper) ListIdentityGroups(w http.ResponseWriter, r *http.Request)

ListIdentityGroups operation middleware

func (*ServerInterfaceWrapper) ListIdentityTokens

func (siw *ServerInterfaceWrapper) ListIdentityTokens(w http.ResponseWriter, r *http.Request)

ListIdentityTokens operation middleware

func (*ServerInterfaceWrapper) ListMetadata

func (siw *ServerInterfaceWrapper) ListMetadata(w http.ResponseWriter, r *http.Request)

ListMetadata operation middleware

func (*ServerInterfaceWrapper) ListNetworks

func (siw *ServerInterfaceWrapper) ListNetworks(w http.ResponseWriter, r *http.Request)

ListNetworks operation middleware

func (*ServerInterfaceWrapper) ListServer

func (siw *ServerInterfaceWrapper) ListServer(w http.ResponseWriter, r *http.Request)

ListServer operation middleware

func (*ServerInterfaceWrapper) ListServers

func (siw *ServerInterfaceWrapper) ListServers(w http.ResponseWriter, r *http.Request)

ListServers operation middleware

func (*ServerInterfaceWrapper) ListTSIGKeys

func (siw *ServerInterfaceWrapper) ListTSIGKeys(w http.ResponseWriter, r *http.Request)

ListTSIGKeys operation middleware

func (*ServerInterfaceWrapper) ListView

func (siw *ServerInterfaceWrapper) ListView(w http.ResponseWriter, r *http.Request)

ListView operation middleware

func (*ServerInterfaceWrapper) ListViews

func (siw *ServerInterfaceWrapper) ListViews(w http.ResponseWriter, r *http.Request)

ListViews operation middleware

func (*ServerInterfaceWrapper) ListZone

func (siw *ServerInterfaceWrapper) ListZone(w http.ResponseWriter, r *http.Request)

ListZone operation middleware

func (*ServerInterfaceWrapper) ListZoneBindings

func (siw *ServerInterfaceWrapper) ListZoneBindings(w http.ResponseWriter, r *http.Request)

ListZoneBindings operation middleware

func (*ServerInterfaceWrapper) ListZones

func (siw *ServerInterfaceWrapper) ListZones(w http.ResponseWriter, r *http.Request)

ListZones operation middleware

func (*ServerInterfaceWrapper) ModifyCryptokey

func (siw *ServerInterfaceWrapper) ModifyCryptokey(w http.ResponseWriter, r *http.Request)

ModifyCryptokey operation middleware

func (*ServerInterfaceWrapper) ModifyMetadata

func (siw *ServerInterfaceWrapper) ModifyMetadata(w http.ResponseWriter, r *http.Request)

ModifyMetadata operation middleware

func (*ServerInterfaceWrapper) NotifyZone

func (siw *ServerInterfaceWrapper) NotifyZone(w http.ResponseWriter, r *http.Request)

NotifyZone operation middleware

func (*ServerInterfaceWrapper) ObserveZoneBinding

func (siw *ServerInterfaceWrapper) ObserveZoneBinding(w http.ResponseWriter, r *http.Request)

ObserveZoneBinding operation middleware

func (*ServerInterfaceWrapper) PatchZone

func (siw *ServerInterfaceWrapper) PatchZone(w http.ResponseWriter, r *http.Request)

PatchZone operation middleware

func (*ServerInterfaceWrapper) PowerDNSError

func (siw *ServerInterfaceWrapper) PowerDNSError(w http.ResponseWriter, r *http.Request)

PowerDNSError operation middleware

func (*ServerInterfaceWrapper) PutTSIGKey

func (siw *ServerInterfaceWrapper) PutTSIGKey(w http.ResponseWriter, r *http.Request)

PutTSIGKey operation middleware

func (*ServerInterfaceWrapper) PutZone

PutZone operation middleware

func (*ServerInterfaceWrapper) RebindZoneBinding

func (siw *ServerInterfaceWrapper) RebindZoneBinding(w http.ResponseWriter, r *http.Request)

RebindZoneBinding operation middleware

func (*ServerInterfaceWrapper) RectifyZone

func (siw *ServerInterfaceWrapper) RectifyZone(w http.ResponseWriter, r *http.Request)

RectifyZone operation middleware

func (*ServerInterfaceWrapper) RefreshRRsets

func (siw *ServerInterfaceWrapper) RefreshRRsets(w http.ResponseWriter, r *http.Request)

RefreshRRsets operation middleware

func (*ServerInterfaceWrapper) RemoveGroupMember

func (siw *ServerInterfaceWrapper) RemoveGroupMember(w http.ResponseWriter, r *http.Request)

RemoveGroupMember operation middleware

func (*ServerInterfaceWrapper) RetryZoneBindingDeletion

func (siw *ServerInterfaceWrapper) RetryZoneBindingDeletion(w http.ResponseWriter, r *http.Request)

RetryZoneBindingDeletion operation middleware

func (*ServerInterfaceWrapper) RevokeCurrentIdentityToken

func (siw *ServerInterfaceWrapper) RevokeCurrentIdentityToken(w http.ResponseWriter, r *http.Request)

RevokeCurrentIdentityToken operation middleware

func (*ServerInterfaceWrapper) RevokeDelegation

func (siw *ServerInterfaceWrapper) RevokeDelegation(w http.ResponseWriter, r *http.Request)

RevokeDelegation operation middleware

func (*ServerInterfaceWrapper) RevokeIdentityToken

func (siw *ServerInterfaceWrapper) RevokeIdentityToken(w http.ResponseWriter, r *http.Request)

RevokeIdentityToken operation middleware

func (*ServerInterfaceWrapper) SearchData

func (siw *ServerInterfaceWrapper) SearchData(w http.ResponseWriter, r *http.Request)

SearchData operation middleware

func (*ServerInterfaceWrapper) SetNetwork

func (siw *ServerInterfaceWrapper) SetNetwork(w http.ResponseWriter, r *http.Request)

SetNetwork operation middleware

func (*ServerInterfaceWrapper) UpdateGroup

func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)

UpdateGroup operation middleware

func (*ServerInterfaceWrapper) UpdateIdentity

func (siw *ServerInterfaceWrapper) UpdateIdentity(w http.ResponseWriter, r *http.Request)

UpdateIdentity operation middleware

type SetNetwork204Response

type SetNetwork204Response struct {
}

func (SetNetwork204Response) VisitSetNetworkResponse

func (response SetNetwork204Response) VisitSetNetworkResponse(w http.ResponseWriter) error

type SetNetworkJSONBody

type SetNetworkJSONBody struct {
	// View The name of the view to use for this network
	View *string `json:"view,omitempty"`
}

SetNetworkJSONBody defines parameters for SetNetwork.

type SetNetworkJSONRequestBody

type SetNetworkJSONRequestBody SetNetworkJSONBody

SetNetworkJSONRequestBody defines body for SetNetwork for application/json ContentType.

type SetNetworkRequestObject

type SetNetworkRequestObject struct {
	ServerId  ServerId `json:"server_id"`
	Ip        string   `json:"ip"`
	Prefixlen string   `json:"prefixlen"`
	Body      *SetNetworkJSONRequestBody
}

type SetNetworkResponse

type SetNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *Error
}

func ParseSetNetworkResponse

func ParseSetNetworkResponse(rsp *http.Response) (*SetNetworkResponse, error)

ParseSetNetworkResponse parses an HTTP response from a SetNetworkWithResponse call

func (SetNetworkResponse) ContentType

func (r SetNetworkResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetNetworkResponse) GetBody

func (r SetNetworkResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetNetworkResponse) GetJSONDefault

func (r SetNetworkResponse) GetJSONDefault() *Error

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SetNetworkResponse) Status

func (r SetNetworkResponse) Status() string

Status returns HTTPResponse.Status

func (SetNetworkResponse) StatusCode

func (r SetNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetNetworkResponseObject

type SetNetworkResponseObject interface {
	VisitSetNetworkResponse(w http.ResponseWriter) error
}

type SetNetworkdefaultJSONResponse

type SetNetworkdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (SetNetworkdefaultJSONResponse) VisitSetNetworkResponse

func (response SetNetworkdefaultJSONResponse) VisitSetNetworkResponse(w http.ResponseWriter) error

type SimpleStatisticItem

type SimpleStatisticItem struct {
	// Name Item name
	Name *string `json:"name,omitempty"`

	// Value Item value
	Value *string `json:"value,omitempty"`
}

SimpleStatisticItem defines model for SimpleStatisticItem.

type StatisticItem

type StatisticItem struct {
	// Name Item name
	Name *string `json:"name,omitempty"`

	// Type set to "StatisticItem"
	Type *string `json:"type,omitempty"`

	// Value Item value
	Value *string `json:"value,omitempty"`
}

StatisticItem defines model for StatisticItem.

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHandlerFunc

type StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// GetAPIDocument Return this combined OpenAPI document.
	// (GET /api/docs)
	GetAPIDocument(ctx context.Context, request GetAPIDocumentRequestObject) (GetAPIDocumentResponseObject, error)

	// (GET /dans/audit-events)
	ListAuditEvents(ctx context.Context, request ListAuditEventsRequestObject) (ListAuditEventsResponseObject, error)

	// (GET /dans/audit-events/export)
	ExportAuditEvents(ctx context.Context, request ExportAuditEventsRequestObject) (ExportAuditEventsResponseObject, error)

	// (GET /dans/delegations)
	ListDelegations(ctx context.Context, request ListDelegationsRequestObject) (ListDelegationsResponseObject, error)

	// (POST /dans/delegations)
	CreateDelegation(ctx context.Context, request CreateDelegationRequestObject) (CreateDelegationResponseObject, error)

	// (DELETE /dans/delegations/{delegation_id})
	RevokeDelegation(ctx context.Context, request RevokeDelegationRequestObject) (RevokeDelegationResponseObject, error)

	// (GET /dans/delegations/{delegation_id})
	GetDelegation(ctx context.Context, request GetDelegationRequestObject) (GetDelegationResponseObject, error)

	// (GET /dans/groups)
	ListGroups(ctx context.Context, request ListGroupsRequestObject) (ListGroupsResponseObject, error)

	// (POST /dans/groups)
	CreateGroup(ctx context.Context, request CreateGroupRequestObject) (CreateGroupResponseObject, error)

	// (GET /dans/groups/{group_id})
	GetGroup(ctx context.Context, request GetGroupRequestObject) (GetGroupResponseObject, error)

	// (PATCH /dans/groups/{group_id})
	UpdateGroup(ctx context.Context, request UpdateGroupRequestObject) (UpdateGroupResponseObject, error)

	// (GET /dans/groups/{group_id}/members)
	ListGroupMembers(ctx context.Context, request ListGroupMembersRequestObject) (ListGroupMembersResponseObject, error)

	// (DELETE /dans/groups/{group_id}/members/{identity_id})
	RemoveGroupMember(ctx context.Context, request RemoveGroupMemberRequestObject) (RemoveGroupMemberResponseObject, error)

	// (PUT /dans/groups/{group_id}/members/{identity_id})
	AddGroupMember(ctx context.Context, request AddGroupMemberRequestObject) (AddGroupMemberResponseObject, error)

	// (GET /dans/identities)
	ListIdentities(ctx context.Context, request ListIdentitiesRequestObject) (ListIdentitiesResponseObject, error)

	// (POST /dans/identities)
	CreateIdentity(ctx context.Context, request CreateIdentityRequestObject) (CreateIdentityResponseObject, error)

	// (GET /dans/identities/{identity_id})
	GetIdentity(ctx context.Context, request GetIdentityRequestObject) (GetIdentityResponseObject, error)

	// (PATCH /dans/identities/{identity_id})
	UpdateIdentity(ctx context.Context, request UpdateIdentityRequestObject) (UpdateIdentityResponseObject, error)

	// (GET /dans/identities/{identity_id}/assignments)
	ListIdentityAssignments(ctx context.Context, request ListIdentityAssignmentsRequestObject) (ListIdentityAssignmentsResponseObject, error)

	// (GET /dans/identities/{identity_id}/delegations)
	ListIdentityDelegations(ctx context.Context, request ListIdentityDelegationsRequestObject) (ListIdentityDelegationsResponseObject, error)

	// (GET /dans/identities/{identity_id}/groups)
	ListIdentityGroups(ctx context.Context, request ListIdentityGroupsRequestObject) (ListIdentityGroupsResponseObject, error)

	// (GET /dans/identities/{identity_id}/tokens)
	ListIdentityTokens(ctx context.Context, request ListIdentityTokensRequestObject) (ListIdentityTokensResponseObject, error)

	// (POST /dans/identities/{identity_id}/tokens)
	CreateIdentityToken(ctx context.Context, request CreateIdentityTokenRequestObject) (CreateIdentityTokenResponseObject, error)

	// (DELETE /dans/identities/{identity_id}/tokens/{token_id})
	RevokeIdentityToken(ctx context.Context, request RevokeIdentityTokenRequestObject) (RevokeIdentityTokenResponseObject, error)

	// (GET /dans/me)
	GetCurrentIdentity(ctx context.Context, request GetCurrentIdentityRequestObject) (GetCurrentIdentityResponseObject, error)

	// (GET /dans/me/credential)
	GetCurrentCredential(ctx context.Context, request GetCurrentCredentialRequestObject) (GetCurrentCredentialResponseObject, error)

	// (GET /dans/me/delegations)
	ListCurrentIdentityDelegations(ctx context.Context, request ListCurrentIdentityDelegationsRequestObject) (ListCurrentIdentityDelegationsResponseObject, error)

	// (GET /dans/me/groups)
	ListCurrentIdentityGroups(ctx context.Context, request ListCurrentIdentityGroupsRequestObject) (ListCurrentIdentityGroupsResponseObject, error)

	// (GET /dans/me/tokens)
	ListCurrentIdentityTokens(ctx context.Context, request ListCurrentIdentityTokensRequestObject) (ListCurrentIdentityTokensResponseObject, error)

	// (POST /dans/me/tokens)
	CreateCurrentIdentityToken(ctx context.Context, request CreateCurrentIdentityTokenRequestObject) (CreateCurrentIdentityTokenResponseObject, error)

	// (DELETE /dans/me/tokens/{token_id})
	RevokeCurrentIdentityToken(ctx context.Context, request RevokeCurrentIdentityTokenRequestObject) (RevokeCurrentIdentityTokenResponseObject, error)

	// (GET /dans/servers/{server_id}/zones/{zone_id}/rrsets)
	BrowseRRsets(ctx context.Context, request BrowseRRsetsRequestObject) (BrowseRRsetsResponseObject, error)

	// (POST /dans/servers/{server_id}/zones/{zone_id}/rrsets/refresh)
	RefreshRRsets(ctx context.Context, request RefreshRRsetsRequestObject) (RefreshRRsetsResponseObject, error)
	// DeleteBrowserSession Clear this browser session without revoking its API token.
	// (DELETE /dans/session)
	DeleteBrowserSession(ctx context.Context, request DeleteBrowserSessionRequestObject) (DeleteBrowserSessionResponseObject, error)
	// CreateBrowserSession Sign in with an existing API token.
	// (POST /dans/session)
	CreateBrowserSession(ctx context.Context, request CreateBrowserSessionRequestObject) (CreateBrowserSessionResponseObject, error)

	// (GET /dans/zone-bindings)
	ListZoneBindings(ctx context.Context, request ListZoneBindingsRequestObject) (ListZoneBindingsResponseObject, error)

	// (POST /dans/zone-bindings)
	CreateZoneBinding(ctx context.Context, request CreateZoneBindingRequestObject) (CreateZoneBindingResponseObject, error)

	// (GET /dans/zone-bindings/{zone_binding_id})
	GetZoneBinding(ctx context.Context, request GetZoneBindingRequestObject) (GetZoneBindingResponseObject, error)

	// (POST /dans/zone-bindings/{zone_binding_id}/confirm-absent)
	ConfirmZoneBindingAbsent(ctx context.Context, request ConfirmZoneBindingAbsentRequestObject) (ConfirmZoneBindingAbsentResponseObject, error)

	// (POST /dans/zone-bindings/{zone_binding_id}/observe)
	ObserveZoneBinding(ctx context.Context, request ObserveZoneBindingRequestObject) (ObserveZoneBindingResponseObject, error)

	// (POST /dans/zone-bindings/{zone_binding_id}/rebind)
	RebindZoneBinding(ctx context.Context, request RebindZoneBindingRequestObject) (RebindZoneBindingResponseObject, error)

	// (POST /dans/zone-bindings/{zone_binding_id}/retry-delete)
	RetryZoneBindingDeletion(ctx context.Context, request RetryZoneBindingDeletionRequestObject) (RetryZoneBindingDeletionResponseObject, error)
	// PowerDNSError Will always generate an error
	// (GET /error)
	PowerDNSError(ctx context.Context, request PowerDNSErrorRequestObject) (PowerDNSErrorResponseObject, error)
	// GetLiveness Report process liveness.
	// (GET /livez)
	GetLiveness(ctx context.Context, request GetLivenessRequestObject) (GetLivenessResponseObject, error)
	// GetReadiness Report whether authenticated API traffic can be served.
	// (GET /readyz)
	GetReadiness(ctx context.Context, request GetReadinessRequestObject) (GetReadinessResponseObject, error)
	// ListServers List all servers
	// (GET /servers)
	ListServers(ctx context.Context, request ListServersRequestObject) (ListServersResponseObject, error)
	// ListServer List a server
	// (GET /servers/{server_id})
	ListServer(ctx context.Context, request ListServerRequestObject) (ListServerResponseObject, error)
	// GetAutoprimaries Get a list of autoprimaries
	// (GET /servers/{server_id}/autoprimaries)
	GetAutoprimaries(ctx context.Context, request GetAutoprimariesRequestObject) (GetAutoprimariesResponseObject, error)
	// CreateAutoprimary Add an autoprimary
	// (POST /servers/{server_id}/autoprimaries)
	CreateAutoprimary(ctx context.Context, request CreateAutoprimaryRequestObject) (CreateAutoprimaryResponseObject, error)
	// DeleteAutoprimary Delete the autoprimary entry
	// (DELETE /servers/{server_id}/autoprimaries/{ip}/{nameserver})
	DeleteAutoprimary(ctx context.Context, request DeleteAutoprimaryRequestObject) (DeleteAutoprimaryResponseObject, error)
	// CacheFlushByName Flush a cache-entry by name
	// (PUT /servers/{server_id}/cache/flush)
	CacheFlushByName(ctx context.Context, request CacheFlushByNameRequestObject) (CacheFlushByNameResponseObject, error)
	// GetConfig Returns all ConfigSettings for a single server
	// (GET /servers/{server_id}/config)
	GetConfig(ctx context.Context, request GetConfigRequestObject) (GetConfigResponseObject, error)
	// GetConfigSetting Returns a specific ConfigSetting for a single server
	// (GET /servers/{server_id}/config/{config_setting_name})
	GetConfigSetting(ctx context.Context, request GetConfigSettingRequestObject) (GetConfigSettingResponseObject, error)
	// ListNetworks List all registered networks and views in a server
	// (GET /servers/{server_id}/networks)
	ListNetworks(ctx context.Context, request ListNetworksRequestObject) (ListNetworksResponseObject, error)
	// GetNetwork Return the view associated to the given network
	// (GET /servers/{server_id}/networks/{ip}/{prefixlen})
	GetNetwork(ctx context.Context, request GetNetworkRequestObject) (GetNetworkResponseObject, error)
	// SetNetwork Sets the view associated to the given network
	// (PUT /servers/{server_id}/networks/{ip}/{prefixlen})
	SetNetwork(ctx context.Context, request SetNetworkRequestObject) (SetNetworkResponseObject, error)
	// SearchData Search the data inside PowerDNS
	// (GET /servers/{server_id}/search-data)
	SearchData(ctx context.Context, request SearchDataRequestObject) (SearchDataResponseObject, error)
	// GetStats Query statistics.
	// (GET /servers/{server_id}/statistics)
	GetStats(ctx context.Context, request GetStatsRequestObject) (GetStatsResponseObject, error)
	// ListTSIGKeys Get all TSIGKeys on the server, except the actual key
	// (GET /servers/{server_id}/tsigkeys)
	ListTSIGKeys(ctx context.Context, request ListTSIGKeysRequestObject) (ListTSIGKeysResponseObject, error)
	// CreateTSIGKey Add a TSIG key
	// (POST /servers/{server_id}/tsigkeys)
	CreateTSIGKey(ctx context.Context, request CreateTSIGKeyRequestObject) (CreateTSIGKeyResponseObject, error)
	// DeleteTSIGKey Delete the TSIGKey with tsigkey_id
	// (DELETE /servers/{server_id}/tsigkeys/{tsigkey_id})
	DeleteTSIGKey(ctx context.Context, request DeleteTSIGKeyRequestObject) (DeleteTSIGKeyResponseObject, error)
	// GetTSIGKey Get a specific TSIGKeys on the server, including the actual key
	// (GET /servers/{server_id}/tsigkeys/{tsigkey_id})
	GetTSIGKey(ctx context.Context, request GetTSIGKeyRequestObject) (GetTSIGKeyResponseObject, error)

	// (PUT /servers/{server_id}/tsigkeys/{tsigkey_id})
	PutTSIGKey(ctx context.Context, request PutTSIGKeyRequestObject) (PutTSIGKeyResponseObject, error)
	// ListViews List all views in a server
	// (GET /servers/{server_id}/views)
	ListViews(ctx context.Context, request ListViewsRequestObject) (ListViewsResponseObject, error)
	// ListView List the contents of a given view
	// (GET /servers/{server_id}/views/{view})
	ListView(ctx context.Context, request ListViewRequestObject) (ListViewResponseObject, error)
	// AddToView Adds a zone to a given view, creating it if needed
	// (POST /servers/{server_id}/views/{view})
	AddToView(ctx context.Context, request AddToViewRequestObject) (AddToViewResponseObject, error)
	// DeleteFromView Removes the given zone from the given view
	// (DELETE /servers/{server_id}/views/{view}/{id})
	DeleteFromView(ctx context.Context, request DeleteFromViewRequestObject) (DeleteFromViewResponseObject, error)
	// ListZones List all Zones in a server
	// (GET /servers/{server_id}/zones)
	ListZones(ctx context.Context, request ListZonesRequestObject) (ListZonesResponseObject, error)
	// CreateZone Creates a new domain, returns the Zone on creation.
	// (POST /servers/{server_id}/zones)
	CreateZone(ctx context.Context, request CreateZoneRequestObject) (CreateZoneResponseObject, error)
	// DeleteZone Deletes this zone, all attached metadata and rrsets.
	// (DELETE /servers/{server_id}/zones/{zone_id})
	DeleteZone(ctx context.Context, request DeleteZoneRequestObject) (DeleteZoneResponseObject, error)
	// ListZone zone managed by a server
	// (GET /servers/{server_id}/zones/{zone_id})
	ListZone(ctx context.Context, request ListZoneRequestObject) (ListZoneResponseObject, error)
	// PatchZone Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.
	// (PATCH /servers/{server_id}/zones/{zone_id})
	PatchZone(ctx context.Context, request PatchZoneRequestObject) (PatchZoneResponseObject, error)
	// PutZone Modifies basic zone data.
	// (PUT /servers/{server_id}/zones/{zone_id})
	PutZone(ctx context.Context, request PutZoneRequestObject) (PutZoneResponseObject, error)
	// AxfrRetrieveZone Retrieve slave zone from its master.
	// (PUT /servers/{server_id}/zones/{zone_id}/axfr-retrieve)
	AxfrRetrieveZone(ctx context.Context, request AxfrRetrieveZoneRequestObject) (AxfrRetrieveZoneResponseObject, error)
	// ListCryptokeys Get all CryptoKeys for a zone, except the privatekey
	// (GET /servers/{server_id}/zones/{zone_id}/cryptokeys)
	ListCryptokeys(ctx context.Context, request ListCryptokeysRequestObject) (ListCryptokeysResponseObject, error)
	// CreateCryptokey Creates a Cryptokey
	// (POST /servers/{server_id}/zones/{zone_id}/cryptokeys)
	CreateCryptokey(ctx context.Context, request CreateCryptokeyRequestObject) (CreateCryptokeyResponseObject, error)
	// DeleteCryptokey This method deletes a key specified by cryptokey_id.
	// (DELETE /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id})
	DeleteCryptokey(ctx context.Context, request DeleteCryptokeyRequestObject) (DeleteCryptokeyResponseObject, error)
	// GetCryptokey Returns all data about the CryptoKey, including the privatekey.
	// (GET /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id})
	GetCryptokey(ctx context.Context, request GetCryptokeyRequestObject) (GetCryptokeyResponseObject, error)
	// ModifyCryptokey This method (de)activates a key from zone_name specified by cryptokey_id
	// (PUT /servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id})
	ModifyCryptokey(ctx context.Context, request ModifyCryptokeyRequestObject) (ModifyCryptokeyResponseObject, error)
	// AxfrExportZone Returns the zone in AXFR format.
	// (GET /servers/{server_id}/zones/{zone_id}/export)
	AxfrExportZone(ctx context.Context, request AxfrExportZoneRequestObject) (AxfrExportZoneResponseObject, error)
	// ListMetadata Get all the Metadata associated with the zone.
	// (GET /servers/{server_id}/zones/{zone_id}/metadata)
	ListMetadata(ctx context.Context, request ListMetadataRequestObject) (ListMetadataResponseObject, error)
	// CreateMetadata Creates a set of metadata entries
	// (POST /servers/{server_id}/zones/{zone_id}/metadata)
	CreateMetadata(ctx context.Context, request CreateMetadataRequestObject) (CreateMetadataResponseObject, error)
	// DeleteMetadata Delete all items of a single kind of domain metadata.
	// (DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind})
	DeleteMetadata(ctx context.Context, request DeleteMetadataRequestObject) (DeleteMetadataResponseObject, error)
	// GetMetadata Get the content of a single kind of domain metadata as a Metadata object.
	// (GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind})
	GetMetadata(ctx context.Context, request GetMetadataRequestObject) (GetMetadataResponseObject, error)
	// ModifyMetadata Replace the content of a single kind of domain metadata.
	// (PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind})
	ModifyMetadata(ctx context.Context, request ModifyMetadataRequestObject) (ModifyMetadataResponseObject, error)
	// NotifyZone Send a DNS NOTIFY to all slaves.
	// (PUT /servers/{server_id}/zones/{zone_id}/notify)
	NotifyZone(ctx context.Context, request NotifyZoneRequestObject) (NotifyZoneResponseObject, error)
	// RectifyZone Rectify the zone data.
	// (PUT /servers/{server_id}/zones/{zone_id}/rectify)
	RectifyZone(ctx context.Context, request RectifyZoneRequestObject) (RectifyZoneResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TSIGKey

type TSIGKey struct {
	// Algorithm The algorithm of the TSIG key
	Algorithm *string `json:"algorithm,omitempty"`

	// Id The ID for this key, used in the TSIGkey URL endpoint.
	Id *string `json:"id,omitempty"`

	// Key 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"`

	// Name The name of the key
	Name *string `json:"name,omitempty"`

	// Type Set to "TSIGKey"
	Type *string `json:"type,omitempty"`
}

TSIGKey A TSIG key that can be used to authenticate NOTIFY, AXFR, and DNSUPDATE queries.

type Token

type Token struct {
	CreatedAt  time.Time                            `json:"created_at"`
	ExpiresAt  nullable.Nullable[NullableTimestamp] `json:"expires_at"`
	Id         ResourceID                           `json:"id"`
	IdentityId ResourceID                           `json:"identity_id"`
	Label      Handle                               `json:"label"`
	RevokedAt  nullable.Nullable[NullableTimestamp] `json:"revoked_at"`
	Status     TokenStatus                          `json:"status"`
}

Token defines model for Token.

type TokenCreate

type TokenCreate struct {
	ExpiresAt nullable.Nullable[NullableTimestamp] `json:"expires_at,omitempty"`
	Label     Handle                               `json:"label"`
}

TokenCreate defines model for TokenCreate.

type TokenID

type TokenID = ResourceID

TokenID defines model for TokenID.

type TokenPage

type TokenPage struct {
	Items      []Token                           `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

TokenPage defines model for TokenPage.

type TokenSecret

type TokenSecret struct {
	CreatedAt  time.Time                            `json:"created_at"`
	ExpiresAt  nullable.Nullable[NullableTimestamp] `json:"expires_at"`
	Id         ResourceID                           `json:"id"`
	IdentityId ResourceID                           `json:"identity_id"`
	Label      Handle                               `json:"label"`
	RevokedAt  nullable.Nullable[NullableTimestamp] `json:"revoked_at"`
	Secret     string                               `json:"secret"`
	Status     TokenSecretStatus                    `json:"status"`
}

TokenSecret defines model for TokenSecret.

type TokenSecretStatus

type TokenSecretStatus string

TokenSecretStatus defines model for TokenSecret.Status.

const (
	TokenSecretStatusActive TokenSecretStatus = "active"
)

Defines values for TokenSecretStatus.

func (TokenSecretStatus) Valid

func (e TokenSecretStatus) Valid() bool

Valid indicates whether the value is a known member of the TokenSecretStatus enum.

type TokenStatus

type TokenStatus string

TokenStatus defines model for Token.Status.

const (
	TokenStatusActive  TokenStatus = "active"
	TokenStatusExpired TokenStatus = "expired"
	TokenStatusRevoked TokenStatus = "revoked"
)

Defines values for TokenStatus.

func (TokenStatus) Valid

func (e TokenStatus) Valid() bool

Valid indicates whether the value is a known member of the TokenStatus enum.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateGroup200JSONResponse

type UpdateGroup200JSONResponse Group

func (UpdateGroup200JSONResponse) VisitUpdateGroupResponse

func (response UpdateGroup200JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroupJSONRequestBody

type UpdateGroupJSONRequestBody = GroupPatch

UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.

type UpdateGroupRequestObject

type UpdateGroupRequestObject struct {
	GroupId GroupID `json:"group_id"`
	Body    *UpdateGroupJSONRequestBody
}

type UpdateGroupResponse

type UpdateGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Group
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseUpdateGroupResponse

func ParseUpdateGroupResponse(rsp *http.Response) (*UpdateGroupResponse, error)

ParseUpdateGroupResponse parses an HTTP response from a UpdateGroupWithResponse call

func (UpdateGroupResponse) ContentType

func (r UpdateGroupResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateGroupResponse) GetBody

func (r UpdateGroupResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateGroupResponse) GetJSON200

func (r UpdateGroupResponse) GetJSON200() *Group

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateGroupResponse) GetJSONDefault

func (r UpdateGroupResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateGroupResponse) Status

func (r UpdateGroupResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateGroupResponse) StatusCode

func (r UpdateGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGroupResponseObject

type UpdateGroupResponseObject interface {
	VisitUpdateGroupResponse(w http.ResponseWriter) error
}

type UpdateGroupdefaultJSONResponse

type UpdateGroupdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateGroupdefaultJSONResponse) VisitUpdateGroupResponse

func (response UpdateGroupdefaultJSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateIdentity200JSONResponse

type UpdateIdentity200JSONResponse Identity

func (UpdateIdentity200JSONResponse) VisitUpdateIdentityResponse

func (response UpdateIdentity200JSONResponse) VisitUpdateIdentityResponse(w http.ResponseWriter) error

type UpdateIdentityJSONRequestBody

type UpdateIdentityJSONRequestBody = IdentityPatch

UpdateIdentityJSONRequestBody defines body for UpdateIdentity for application/json ContentType.

type UpdateIdentityRequestObject

type UpdateIdentityRequestObject struct {
	IdentityId IdentityID `json:"identity_id"`
	Body       *UpdateIdentityJSONRequestBody
}

type UpdateIdentityResponse

type UpdateIdentityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Identity
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *DansError
}

func ParseUpdateIdentityResponse

func ParseUpdateIdentityResponse(rsp *http.Response) (*UpdateIdentityResponse, error)

ParseUpdateIdentityResponse parses an HTTP response from a UpdateIdentityWithResponse call

func (UpdateIdentityResponse) ContentType

func (r UpdateIdentityResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateIdentityResponse) GetBody

func (r UpdateIdentityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateIdentityResponse) GetJSON200

func (r UpdateIdentityResponse) GetJSON200() *Identity

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateIdentityResponse) GetJSONDefault

func (r UpdateIdentityResponse) GetJSONDefault() *DansError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateIdentityResponse) Status

func (r UpdateIdentityResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateIdentityResponse) StatusCode

func (r UpdateIdentityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateIdentityResponseObject

type UpdateIdentityResponseObject interface {
	VisitUpdateIdentityResponse(w http.ResponseWriter) error
}

type UpdateIdentitydefaultJSONResponse

type UpdateIdentitydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateIdentitydefaultJSONResponse) VisitUpdateIdentityResponse

func (response UpdateIdentitydefaultJSONResponse) VisitUpdateIdentityResponse(w http.ResponseWriter) error

type View

type View = string

View defines model for view.

type Views

type Views struct {
	// Views An array of view names
	Views *[]string `json:"views,omitempty"`
}

Views defines model for Views.

type Zone

type Zone struct {
	// Account MAY be set. Its value is defined by local policy
	Account *string `json:"account,omitempty"`

	// ApiRectify Whether or not the zone will be rectified on data changes via the API
	ApiRectify *bool `json:"api_rectify,omitempty"`

	// Catalog The catalog this zone is a member of
	Catalog *string `json:"catalog,omitempty"`

	// Dnssec 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"`

	// EditedSerial The SOA serial as seen in query responses. Calculated using the SOA-EDIT metadata, default-soa-edit and default-soa-edit-signed settings
	EditedSerial *int `json:"edited_serial,omitempty"`

	// Id 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"`

	// Kind Zone kind, one of “Native”, “Master”, “Slave”, “Producer”, “Consumer”
	Kind      *ZoneKind `json:"kind,omitempty"`
	LastCheck *int      `json:"last_check,omitempty"`

	// MasterTsigKeyIds The id of the TSIG keys used for master operation in this zone
	MasterTsigKeyIds *[]string `json:"master_tsig_key_ids,omitempty"`

	// Masters List of IP addresses configured as a master for this zone (“Slave” type zones only)
	Masters *[]string `json:"masters,omitempty"`

	// Name Name of the zone (e.g. “example.com.”) MUST have a trailing dot
	Name *string `json:"name,omitempty"`

	// Nameservers 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"`

	// NotifiedSerial The SOA serial notifications have been sent out for
	NotifiedSerial *int `json:"notified_serial,omitempty"`

	// Nsec3narrow Whether or not the zone uses NSEC3 narrow
	Nsec3narrow *bool `json:"nsec3narrow,omitempty"`

	// Nsec3param The NSEC3PARAM record
	Nsec3param *string `json:"nsec3param,omitempty"`

	// Presigned Whether or not the zone is pre-signed
	Presigned *bool `json:"presigned,omitempty"`

	// Rrsets RRSets in this zone (for zones/{zone_id} endpoint only; omitted during GET on the .../zones list endpoint)
	Rrsets *[]RRSet `json:"rrsets,omitempty"`

	// Serial The SOA serial number
	Serial *int `json:"serial,omitempty"`

	// SlaveTsigKeyIds The id of the TSIG keys used for slave operation in this zone
	SlaveTsigKeyIds *[]string `json:"slave_tsig_key_ids,omitempty"`

	// SoaEdit The SOA-EDIT metadata item
	SoaEdit *string `json:"soa_edit,omitempty"`

	// SoaEditApi The SOA-EDIT-API metadata item
	SoaEditApi *string `json:"soa_edit_api,omitempty"`

	// Type Set to “Zone”
	Type *string `json:"type,omitempty"`

	// Url API endpoint for this zone
	Url *string `json:"url,omitempty"`

	// Zone MAY contain a BIND-style zone file when creating a zone
	Zone *string `json:"zone,omitempty"`
}

Zone This represents an authoritative DNS Zone.

type ZoneBinding

type ZoneBinding struct {
	CreatedAt time.Time `json:"created_at"`

	// DeletionState Advisory reconciliation state, included on the binding detail read.
	DeletionState *ZoneBindingDeletionState `json:"deletion_state,omitempty"`
	Generation    int                       `json:"generation"`
	Id            ResourceID                `json:"id"`

	// RecoveryActions Advisory actions; mutations recheck current state and upstream observations.
	RecoveryActions *[]ZoneBindingRecoveryActions        `json:"recovery_actions,omitempty"`
	RetiredAt       nullable.Nullable[NullableTimestamp] `json:"retired_at"`
	Status          ZoneBindingStatus                    `json:"status"`
	Upstream        ZoneBindingUpstream                  `json:"upstream"`
	ZoneId          string                               `json:"zone_id"`
	ZoneName        string                               `json:"zone_name"`
}

ZoneBinding defines model for ZoneBinding.

type ZoneBindingCreate

type ZoneBindingCreate struct {
	ZoneId string `json:"zone_id"`
}

ZoneBindingCreate defines model for ZoneBindingCreate.

type ZoneBindingDeletionState

type ZoneBindingDeletionState string

ZoneBindingDeletionState Advisory reconciliation state, included on the binding detail read.

const (
	Completed       ZoneBindingDeletionState = "completed"
	ConfirmedAbsent ZoneBindingDeletionState = "confirmed_absent"
	Failed          ZoneBindingDeletionState = "failed"
	NoAttempt       ZoneBindingDeletionState = "no_attempt"
	Pending         ZoneBindingDeletionState = "pending"
	Unknown         ZoneBindingDeletionState = "unknown"
)

Defines values for ZoneBindingDeletionState.

func (ZoneBindingDeletionState) Valid

func (e ZoneBindingDeletionState) Valid() bool

Valid indicates whether the value is a known member of the ZoneBindingDeletionState enum.

type ZoneBindingID

type ZoneBindingID = ResourceID

ZoneBindingID defines model for ZoneBindingID.

type ZoneBindingPage

type ZoneBindingPage struct {
	Items      []ZoneBinding                     `json:"items"`
	NextCursor nullable.Nullable[NullableString] `json:"next_cursor"`
}

ZoneBindingPage defines model for ZoneBindingPage.

type ZoneBindingRecoveryActions

type ZoneBindingRecoveryActions string

ZoneBindingRecoveryActions defines model for ZoneBinding.RecoveryActions.

const (
	ConfirmAbsent ZoneBindingRecoveryActions = "confirm_absent"
	Observe       ZoneBindingRecoveryActions = "observe"
	Rebind        ZoneBindingRecoveryActions = "rebind"
	RetryDelete   ZoneBindingRecoveryActions = "retry_delete"
)

Defines values for ZoneBindingRecoveryActions.

func (ZoneBindingRecoveryActions) Valid

func (e ZoneBindingRecoveryActions) Valid() bool

Valid indicates whether the value is a known member of the ZoneBindingRecoveryActions enum.

type ZoneBindingStatus

type ZoneBindingStatus string

ZoneBindingStatus defines model for ZoneBinding.Status.

const (
	ZoneBindingStatusActive  ZoneBindingStatus = "active"
	ZoneBindingStatusRetired ZoneBindingStatus = "retired"
)

Defines values for ZoneBindingStatus.

func (ZoneBindingStatus) Valid

func (e ZoneBindingStatus) Valid() bool

Valid indicates whether the value is a known member of the ZoneBindingStatus enum.

type ZoneBindingUpstream

type ZoneBindingUpstream string

ZoneBindingUpstream defines model for ZoneBinding.Upstream.

const (
	Powerdns ZoneBindingUpstream = "powerdns"
)

Defines values for ZoneBindingUpstream.

func (ZoneBindingUpstream) Valid

func (e ZoneBindingUpstream) Valid() bool

Valid indicates whether the value is a known member of the ZoneBindingUpstream enum.

type ZoneId

type ZoneId = string

ZoneId defines model for zone_id.

type ZoneKind

type ZoneKind string

ZoneKind Zone kind, one of “Native”, “Master”, “Slave”, “Producer”, “Consumer”

const (
	Consumer ZoneKind = "Consumer"
	Master   ZoneKind = "Master"
	Native   ZoneKind = "Native"
	Producer ZoneKind = "Producer"
	Slave    ZoneKind = "Slave"
)

Defines values for ZoneKind.

func (ZoneKind) Valid

func (e ZoneKind) Valid() bool

Valid indicates whether the value is a known member of the ZoneKind enum.

type ZoneObservation

type ZoneObservation struct {
	BindingId      ResourceID                `json:"binding_id"`
	ObservedAt     time.Time                 `json:"observed_at"`
	ObservedZoneId nullable.Nullable[string] `json:"observed_zone_id"`
	ZonePresent    bool                      `json:"zone_present"`
}

ZoneObservation defines model for ZoneObservation.

type ZonePatch

type ZonePatch struct {
	Rrsets []RRSetChange `json:"rrsets"`
}

ZonePatch defines model for ZonePatch.

Directories

Path Synopsis
Package openapi embeds the exact checked-in combined API contract.
Package openapi embeds the exact checked-in combined API contract.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL