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 ¶
- func NewCreateAPIKeyRequest(server string, userId UserId, body CreateAPIKeyJSONRequestBody) (*http.Request, error)
- func NewCreateAPIKeyRequestWithBody(server string, userId UserId, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAlertRequest(server string, body CreateAlertJSONRequestBody) (*http.Request, error)
- func NewCreateAlertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDNSControlConnectionRequest(server string, body CreateDNSControlConnectionJSONRequestBody) (*http.Request, error)
- func NewCreateDNSControlConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDNSControlConnectionZoneSnapshotRequest(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Request, error)
- func NewCreateDNSControlConnectionZoneSnapshotRequestWithBody(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Request, error)
- func NewCreateDNSControlInventorySnapshotRequest(server string, inventoryId InventoryId) (*http.Request, error)
- func NewCreateDNSSECCryptokeyRequest(server string, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody) (*http.Request, error)
- func NewCreateDNSSECCryptokeyRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInvitationRequest(server string, body CreateInvitationJSONRequestBody) (*http.Request, error)
- func NewCreateInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRecordRequest(server string, zoneId ZoneId, body CreateRecordJSONRequestBody) (*http.Request, error)
- func NewCreateRecordRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateUserRequest(server string, body CreateUserJSONRequestBody) (*http.Request, error)
- func NewCreateUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateZoneRequest(server string, body CreateZoneJSONRequestBody) (*http.Request, error)
- func NewCreateZoneRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAPIKeyRequest(server string, userId UserId, keyId APIKeyId) (*http.Request, error)
- func NewDeleteAlertRequest(server string, alertId AlertId) (*http.Request, error)
- func NewDeleteDNSSECCryptokeyRequest(server string, zoneId ZoneId, keyId CryptokeyId) (*http.Request, error)
- func NewDeleteInvitationRequest(server string, invitationId InvitationId) (*http.Request, error)
- func NewDeleteRecordRequest(server string, zoneId ZoneId, recordId RecordId) (*http.Request, error)
- func NewDeleteRecordsByNameAndTypeRequest(server string, zoneId ZoneId, recordName RecordName, recordType RecordType, ...) (*http.Request, error)
- func NewDeleteUserRequest(server string, userId UserId) (*http.Request, error)
- func NewDeleteZoneRequest(server string, zoneId ZoneId) (*http.Request, error)
- func NewDiffDNSControlSnapshotsRequest(server string, inventoryId InventoryId, fromSnapshotId FromSnapshotId, ...) (*http.Request, error)
- func NewGetAPIKeyRequest(server string, userId UserId, keyId APIKeyId) (*http.Request, error)
- func NewGetAlertRequest(server string, alertId AlertId) (*http.Request, error)
- func NewGetBillingHistoryRequest(server string, params *GetBillingHistoryParams) (*http.Request, error)
- func NewGetBillingSummaryRequest(server string, params *GetBillingSummaryParams) (*http.Request, error)
- func NewGetCurrentUsageRequest(server string) (*http.Request, error)
- func NewGetDNSControlSnapshotRequest(server string, inventoryId InventoryId, snapshotId SnapshotId) (*http.Request, error)
- func NewGetDNSSECCryptokeyRequest(server string, zoneId ZoneId, keyId CryptokeyId) (*http.Request, error)
- func NewGetDNSSECStatusRequest(server string, zoneId ZoneId) (*http.Request, error)
- func NewGetDailyUsageRequest(server string, params *GetDailyUsageParams) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetInvitationRequest(server string, invitationId InvitationId) (*http.Request, error)
- func NewGetRecordRequest(server string, zoneId ZoneId, recordId RecordId) (*http.Request, error)
- func NewGetUsageSummaryRequest(server string, params *GetUsageSummaryParams) (*http.Request, error)
- func NewGetUserRequest(server string, userId UserId) (*http.Request, error)
- func NewGetZoneRequest(server string, zoneId ZoneId) (*http.Request, error)
- func NewGetZoneUsageRequest(server string, zoneId ZoneId, params *GetZoneUsageParams) (*http.Request, error)
- func NewListAPIKeysRequest(server string, userId UserId) (*http.Request, error)
- func NewListActivityRequest(server string, params *ListActivityParams) (*http.Request, error)
- func NewListAlertsRequest(server string, params *ListAlertsParams) (*http.Request, error)
- func NewListDNSControlConnectionZonesRequest(server string, connectionId ConnectionId) (*http.Request, error)
- func NewListDNSControlConnectionsRequest(server string) (*http.Request, error)
- func NewListDNSControlInventoryRequest(server string) (*http.Request, error)
- func NewListDNSControlProvidersRequest(server string) (*http.Request, error)
- func NewListDNSControlSnapshotsRequest(server string, inventoryId InventoryId, params *ListDNSControlSnapshotsParams) (*http.Request, error)
- func NewListDNSSECCryptokeysRequest(server string, zoneId ZoneId) (*http.Request, error)
- func NewListDNSSECDSRecordsRequest(server string, zoneId ZoneId) (*http.Request, error)
- func NewListInvitationsRequest(server string, params *ListInvitationsParams) (*http.Request, error)
- func NewListInvoicesRequest(server string, params *ListInvoicesParams) (*http.Request, error)
- func NewListRecordsRequest(server string, zoneId ZoneId, params *ListRecordsParams) (*http.Request, error)
- func NewListTopZonesByUsageRequest(server string, params *ListTopZonesByUsageParams) (*http.Request, error)
- func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
- func NewListZonesRequest(server string, params *ListZonesParams) (*http.Request, error)
- func NewSaveDNSControlZoneInventoryRequest(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Request, error)
- func NewSaveDNSControlZoneInventoryRequestWithBody(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Request, error)
- func NewSetDNSSECStatusRequest(server string, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody) (*http.Request, error)
- func NewSetDNSSECStatusRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAlertRequest(server string, alertId AlertId, body UpdateAlertJSONRequestBody) (*http.Request, error)
- func NewUpdateAlertRequestWithBody(server string, alertId AlertId, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDNSSECCryptokeyRequest(server string, zoneId ZoneId, keyId CryptokeyId, ...) (*http.Request, error)
- func NewUpdateDNSSECCryptokeyRequestWithBody(server string, zoneId ZoneId, keyId CryptokeyId, contentType string, ...) (*http.Request, error)
- func NewUpdateRecordByNameAndTypeRequest(server string, zoneId ZoneId, recordName RecordName, recordType RecordType, ...) (*http.Request, error)
- func NewUpdateRecordByNameAndTypeRequestWithBody(server string, zoneId ZoneId, recordName RecordName, recordType RecordType, ...) (*http.Request, error)
- func NewUpdateRecordRequest(server string, zoneId ZoneId, recordId RecordId, ...) (*http.Request, error)
- func NewUpdateRecordRequestWithBody(server string, zoneId ZoneId, recordId RecordId, contentType string, ...) (*http.Request, error)
- func NewUpdateUserRequest(server string, userId UserId, body UpdateUserJSONRequestBody) (*http.Request, error)
- func NewUpdateUserRequestWithBody(server string, userId UserId, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateZoneRequest(server string, zoneId ZoneId, body UpdateZoneJSONRequestBody) (*http.Request, error)
- func NewUpdateZoneRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
- type APIKey
- type APIKeyData
- type APIKeyId
- type APIKeyResponse
- type APIKeyResponseStatus
- type APIKeyZoneScope
- type APIKeyZoneScopeRecordAccess
- type APIKeysData
- type APIKeysResponse
- type APIKeysResponseStatus
- type ActivityData
- type ActivityItem
- type ActivityResponse
- type ActivityResponseStatus
- type AggregatedDailyStat
- type AggregatedUsageResponse
- type AggregatedUsageResponseEnvelope
- type AggregatedUsageResponseEnvelopeStatus
- type Alert
- type AlertChannel
- type AlertChannelType
- type AlertData
- type AlertId
- type AlertResponse
- type AlertResponseStatus
- type AlertScopeType
- type AlertSeverity
- type AlertStatus
- type AlertThresholdConfig
- type AlertsData
- type AlertsResponse
- type AlertsResponseStatus
- type BillingHistory
- type BillingHistoryResponseEnvelope
- type BillingHistoryResponseEnvelopeStatus
- type BillingSummary
- type BillingSummaryResponseEnvelope
- type BillingSummaryResponseEnvelopeStatus
- type Client
- func (c *Client) CreateAPIKey(ctx context.Context, userId UserId, body CreateAPIKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAPIKeyWithBody(ctx context.Context, userId UserId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAlert(ctx context.Context, body CreateAlertJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAlertWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDNSControlConnection(ctx context.Context, body CreateDNSControlConnectionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDNSControlConnectionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDNSControlConnectionZoneSnapshot(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Response, error)
- func (c *Client) CreateDNSControlConnectionZoneSnapshotWithBody(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Response, error)
- func (c *Client) CreateDNSControlInventorySnapshot(ctx context.Context, inventoryId InventoryId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateDNSSECCryptokey(ctx context.Context, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDNSSECCryptokeyWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInvitation(ctx context.Context, body CreateInvitationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInvitationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRecord(ctx context.Context, zoneId ZoneId, body CreateRecordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRecordWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateUser(ctx context.Context, body CreateUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateZone(ctx context.Context, body CreateZoneJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateZoneWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAPIKey(ctx context.Context, userId UserId, keyId APIKeyId, ...) (*http.Response, error)
- func (c *Client) DeleteAlert(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, ...) (*http.Response, error)
- func (c *Client) DeleteInvitation(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, ...) (*http.Response, error)
- func (c *Client) DeleteRecordsByNameAndType(ctx context.Context, zoneId ZoneId, recordName RecordName, ...) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteZone(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DiffDNSControlSnapshots(ctx context.Context, inventoryId InventoryId, fromSnapshotId FromSnapshotId, ...) (*http.Response, error)
- func (c *Client) GetAPIKey(ctx context.Context, userId UserId, keyId APIKeyId, ...) (*http.Response, error)
- func (c *Client) GetAlert(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBillingHistory(ctx context.Context, params *GetBillingHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetBillingSummary(ctx context.Context, params *GetBillingSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetCurrentUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDNSControlSnapshot(ctx context.Context, inventoryId InventoryId, snapshotId SnapshotId, ...) (*http.Response, error)
- func (c *Client) GetDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, ...) (*http.Response, error)
- func (c *Client) GetDNSSECStatus(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDailyUsage(ctx context.Context, params *GetDailyUsageParams, ...) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInvitation(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, ...) (*http.Response, error)
- func (c *Client) GetUsageSummary(ctx context.Context, params *GetUsageSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetUser(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetZone(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetZoneUsage(ctx context.Context, zoneId ZoneId, params *GetZoneUsageParams, ...) (*http.Response, error)
- func (c *Client) ListAPIKeys(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListActivity(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAlerts(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDNSControlConnectionZones(ctx context.Context, connectionId ConnectionId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDNSControlConnections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDNSControlInventory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDNSControlProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDNSControlSnapshots(ctx context.Context, inventoryId InventoryId, ...) (*http.Response, error)
- func (c *Client) ListDNSSECCryptokeys(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDNSSECDSRecords(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsParams, ...) (*http.Response, error)
- func (c *Client) ListInvoices(ctx context.Context, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRecords(ctx context.Context, zoneId ZoneId, params *ListRecordsParams, ...) (*http.Response, error)
- func (c *Client) ListTopZonesByUsage(ctx context.Context, params *ListTopZonesByUsageParams, ...) (*http.Response, error)
- func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListZones(ctx context.Context, params *ListZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SaveDNSControlZoneInventory(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Response, error)
- func (c *Client) SaveDNSControlZoneInventoryWithBody(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*http.Response, error)
- func (c *Client) SetDNSSECStatus(ctx context.Context, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetDNSSECStatusWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAlert(ctx context.Context, alertId AlertId, body UpdateAlertJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAlertWithBody(ctx context.Context, alertId AlertId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, ...) (*http.Response, error)
- func (c *Client) UpdateDNSSECCryptokeyWithBody(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, ...) (*http.Response, error)
- func (c *Client) UpdateRecordByNameAndType(ctx context.Context, zoneId ZoneId, recordName RecordName, ...) (*http.Response, error)
- func (c *Client) UpdateRecordByNameAndTypeWithBody(ctx context.Context, zoneId ZoneId, recordName RecordName, ...) (*http.Response, error)
- func (c *Client) UpdateRecordWithBody(ctx context.Context, zoneId ZoneId, recordId RecordId, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateUser(ctx context.Context, userId UserId, body UpdateUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateUserWithBody(ctx context.Context, userId UserId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateZone(ctx context.Context, zoneId ZoneId, body UpdateZoneJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateZoneWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, userId UserId, contentType string, body io.Reader, ...) (*CreateAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, userId UserId, body CreateAPIKeyJSONRequestBody, ...) (*CreateAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAlertResponse, error)
- func (c *ClientWithResponses) CreateAlertWithResponse(ctx context.Context, body CreateAlertJSONRequestBody, ...) (*CreateAlertResponse, error)
- func (c *ClientWithResponses) CreateDNSControlConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDNSControlConnectionResponse, error)
- func (c *ClientWithResponses) CreateDNSControlConnectionWithResponse(ctx context.Context, body CreateDNSControlConnectionJSONRequestBody, ...) (*CreateDNSControlConnectionResponse, error)
- func (c *ClientWithResponses) CreateDNSControlConnectionZoneSnapshotWithBodyWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
- func (c *ClientWithResponses) CreateDNSControlConnectionZoneSnapshotWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
- func (c *ClientWithResponses) CreateDNSControlInventorySnapshotWithResponse(ctx context.Context, inventoryId InventoryId, reqEditors ...RequestEditorFn) (*CreateDNSControlInventorySnapshotResponse, error)
- func (c *ClientWithResponses) CreateDNSSECCryptokeyWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*CreateDNSSECCryptokeyResponse, error)
- func (c *ClientWithResponses) CreateDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody, ...) (*CreateDNSSECCryptokeyResponse, error)
- func (c *ClientWithResponses) CreateInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInvitationResponse, error)
- func (c *ClientWithResponses) CreateInvitationWithResponse(ctx context.Context, body CreateInvitationJSONRequestBody, ...) (*CreateInvitationResponse, error)
- func (c *ClientWithResponses) CreateRecordWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*CreateRecordResponse, error)
- func (c *ClientWithResponses) CreateRecordWithResponse(ctx context.Context, zoneId ZoneId, body CreateRecordJSONRequestBody, ...) (*CreateRecordResponse, error)
- func (c *ClientWithResponses) CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateUserResponse, error)
- func (c *ClientWithResponses) CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, ...) (*CreateUserResponse, error)
- func (c *ClientWithResponses) CreateZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateZoneResponse, error)
- func (c *ClientWithResponses) CreateZoneWithResponse(ctx context.Context, body CreateZoneJSONRequestBody, ...) (*CreateZoneResponse, error)
- func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, userId UserId, keyId APIKeyId, ...) (*DeleteAPIKeyResponse, error)
- func (c *ClientWithResponses) DeleteAlertWithResponse(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*DeleteAlertResponse, error)
- func (c *ClientWithResponses) DeleteDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, ...) (*DeleteDNSSECCryptokeyResponse, error)
- func (c *ClientWithResponses) DeleteInvitationWithResponse(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*DeleteInvitationResponse, error)
- func (c *ClientWithResponses) DeleteRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, ...) (*DeleteRecordResponse, error)
- func (c *ClientWithResponses) DeleteRecordsByNameAndTypeWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, ...) (*DeleteRecordsByNameAndTypeResponse, error)
- func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
- func (c *ClientWithResponses) DeleteZoneWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneResponse, error)
- func (c *ClientWithResponses) DiffDNSControlSnapshotsWithResponse(ctx context.Context, inventoryId InventoryId, fromSnapshotId FromSnapshotId, ...) (*DiffDNSControlSnapshotsResponse, error)
- func (c *ClientWithResponses) GetAPIKeyWithResponse(ctx context.Context, userId UserId, keyId APIKeyId, ...) (*GetAPIKeyResponse, error)
- func (c *ClientWithResponses) GetAlertWithResponse(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*GetAlertResponse, error)
- func (c *ClientWithResponses) GetBillingHistoryWithResponse(ctx context.Context, params *GetBillingHistoryParams, ...) (*GetBillingHistoryResponse, error)
- func (c *ClientWithResponses) GetBillingSummaryWithResponse(ctx context.Context, params *GetBillingSummaryParams, ...) (*GetBillingSummaryResponse, error)
- func (c *ClientWithResponses) GetCurrentUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUsageResponse, error)
- func (c *ClientWithResponses) GetDNSControlSnapshotWithResponse(ctx context.Context, inventoryId InventoryId, snapshotId SnapshotId, ...) (*GetDNSControlSnapshotResponse, error)
- func (c *ClientWithResponses) GetDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, ...) (*GetDNSSECCryptokeyResponse, error)
- func (c *ClientWithResponses) GetDNSSECStatusWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetDNSSECStatusResponse, error)
- func (c *ClientWithResponses) GetDailyUsageWithResponse(ctx context.Context, params *GetDailyUsageParams, ...) (*GetDailyUsageResponse, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
- func (c *ClientWithResponses) GetInvitationWithResponse(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*GetInvitationResponse, error)
- func (c *ClientWithResponses) GetRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, ...) (*GetRecordResponse, error)
- func (c *ClientWithResponses) GetUsageSummaryWithResponse(ctx context.Context, params *GetUsageSummaryParams, ...) (*GetUsageSummaryResponse, error)
- func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
- func (c *ClientWithResponses) GetZoneUsageWithResponse(ctx context.Context, zoneId ZoneId, params *GetZoneUsageParams, ...) (*GetZoneUsageResponse, error)
- func (c *ClientWithResponses) GetZoneWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneResponse, error)
- func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
- func (c *ClientWithResponses) ListActivityWithResponse(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*ListActivityResponse, error)
- func (c *ClientWithResponses) ListAlertsWithResponse(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*ListAlertsResponse, error)
- func (c *ClientWithResponses) ListDNSControlConnectionZonesWithResponse(ctx context.Context, connectionId ConnectionId, reqEditors ...RequestEditorFn) (*ListDNSControlConnectionZonesResponse, error)
- func (c *ClientWithResponses) ListDNSControlConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlConnectionsResponse, error)
- func (c *ClientWithResponses) ListDNSControlInventoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlInventoryResponse, error)
- func (c *ClientWithResponses) ListDNSControlProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlProvidersResponse, error)
- func (c *ClientWithResponses) ListDNSControlSnapshotsWithResponse(ctx context.Context, inventoryId InventoryId, ...) (*ListDNSControlSnapshotsResponse, error)
- func (c *ClientWithResponses) ListDNSSECCryptokeysWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListDNSSECCryptokeysResponse, error)
- func (c *ClientWithResponses) ListDNSSECDSRecordsWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListDNSSECDSRecordsResponse, error)
- func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, ...) (*ListInvitationsResponse, error)
- func (c *ClientWithResponses) ListInvoicesWithResponse(ctx context.Context, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)
- func (c *ClientWithResponses) ListRecordsWithResponse(ctx context.Context, zoneId ZoneId, params *ListRecordsParams, ...) (*ListRecordsResponse, error)
- func (c *ClientWithResponses) ListTopZonesByUsageWithResponse(ctx context.Context, params *ListTopZonesByUsageParams, ...) (*ListTopZonesByUsageResponse, error)
- func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
- func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context, params *ListZonesParams, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)
- func (c *ClientWithResponses) SaveDNSControlZoneInventoryWithBodyWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*SaveDNSControlZoneInventoryResponse, error)
- func (c *ClientWithResponses) SaveDNSControlZoneInventoryWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, ...) (*SaveDNSControlZoneInventoryResponse, error)
- func (c *ClientWithResponses) SetDNSSECStatusWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*SetDNSSECStatusResponse, error)
- func (c *ClientWithResponses) SetDNSSECStatusWithResponse(ctx context.Context, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody, ...) (*SetDNSSECStatusResponse, error)
- func (c *ClientWithResponses) UpdateAlertWithBodyWithResponse(ctx context.Context, alertId AlertId, contentType string, body io.Reader, ...) (*UpdateAlertResponse, error)
- func (c *ClientWithResponses) UpdateAlertWithResponse(ctx context.Context, alertId AlertId, body UpdateAlertJSONRequestBody, ...) (*UpdateAlertResponse, error)
- func (c *ClientWithResponses) UpdateDNSSECCryptokeyWithBodyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, contentType string, ...) (*UpdateDNSSECCryptokeyResponse, error)
- func (c *ClientWithResponses) UpdateDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, ...) (*UpdateDNSSECCryptokeyResponse, error)
- func (c *ClientWithResponses) UpdateRecordByNameAndTypeWithBodyWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, ...) (*UpdateRecordByNameAndTypeResponse, error)
- func (c *ClientWithResponses) UpdateRecordByNameAndTypeWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, ...) (*UpdateRecordByNameAndTypeResponse, error)
- func (c *ClientWithResponses) UpdateRecordWithBodyWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, contentType string, ...) (*UpdateRecordResponse, error)
- func (c *ClientWithResponses) UpdateRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, ...) (*UpdateRecordResponse, error)
- func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, userId UserId, contentType string, body io.Reader, ...) (*UpdateUserResponse, error)
- func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, userId UserId, body UpdateUserJSONRequestBody, ...) (*UpdateUserResponse, error)
- func (c *ClientWithResponses) UpdateZoneWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, ...) (*UpdateZoneResponse, error)
- func (c *ClientWithResponses) UpdateZoneWithResponse(ctx context.Context, zoneId ZoneId, body UpdateZoneJSONRequestBody, ...) (*UpdateZoneResponse, error)
- type ClientWithResponsesInterface
- type ConnectionId
- type CreateAPIKeyJSONRequestBody
- type CreateAPIKeyRequest
- type CreateAPIKeyResponse
- func (r CreateAPIKeyResponse) ContentType() string
- func (r CreateAPIKeyResponse) GetBody() []byte
- func (r CreateAPIKeyResponse) GetJSON201() *APIKeyResponse
- func (r CreateAPIKeyResponse) GetJSONDefault() *Error
- func (r CreateAPIKeyResponse) Status() string
- func (r CreateAPIKeyResponse) StatusCode() int
- type CreateAlertJSONRequestBody
- type CreateAlertRequest
- type CreateAlertResponse
- type CreateCryptokeyRequest
- type CreateCryptokeyRequestKeytype
- type CreateDNSControlConnectionJSONRequestBody
- type CreateDNSControlConnectionRequest
- type CreateDNSControlConnectionRequestMode
- type CreateDNSControlConnectionRequestProvider
- type CreateDNSControlConnectionResponse
- func (r CreateDNSControlConnectionResponse) ContentType() string
- func (r CreateDNSControlConnectionResponse) GetBody() []byte
- func (r CreateDNSControlConnectionResponse) GetJSON201() *DNSControlConnectionResponse
- func (r CreateDNSControlConnectionResponse) GetJSONDefault() *Error
- func (r CreateDNSControlConnectionResponse) Status() string
- func (r CreateDNSControlConnectionResponse) StatusCode() int
- type CreateDNSControlConnectionZoneSnapshotJSONRequestBody
- type CreateDNSControlConnectionZoneSnapshotResponse
- func (r CreateDNSControlConnectionZoneSnapshotResponse) ContentType() string
- func (r CreateDNSControlConnectionZoneSnapshotResponse) GetBody() []byte
- func (r CreateDNSControlConnectionZoneSnapshotResponse) GetJSON201() *DNSControlConnectionSnapshotResponse
- func (r CreateDNSControlConnectionZoneSnapshotResponse) GetJSONDefault() *Error
- func (r CreateDNSControlConnectionZoneSnapshotResponse) Status() string
- func (r CreateDNSControlConnectionZoneSnapshotResponse) StatusCode() int
- type CreateDNSControlInventorySnapshotResponse
- func (r CreateDNSControlInventorySnapshotResponse) ContentType() string
- func (r CreateDNSControlInventorySnapshotResponse) GetBody() []byte
- func (r CreateDNSControlInventorySnapshotResponse) GetJSON201() *DNSControlSnapshotResponse
- func (r CreateDNSControlInventorySnapshotResponse) GetJSONDefault() *Error
- func (r CreateDNSControlInventorySnapshotResponse) Status() string
- func (r CreateDNSControlInventorySnapshotResponse) StatusCode() int
- type CreateDNSSECCryptokeyJSONRequestBody
- type CreateDNSSECCryptokeyResponse
- func (r CreateDNSSECCryptokeyResponse) ContentType() string
- func (r CreateDNSSECCryptokeyResponse) GetBody() []byte
- func (r CreateDNSSECCryptokeyResponse) GetJSON201() *CryptokeyResponse
- func (r CreateDNSSECCryptokeyResponse) GetJSONDefault() *Error
- func (r CreateDNSSECCryptokeyResponse) Status() string
- func (r CreateDNSSECCryptokeyResponse) StatusCode() int
- type CreateInvitationJSONRequestBody
- type CreateInvitationRequest
- type CreateInvitationResponse
- func (r CreateInvitationResponse) ContentType() string
- func (r CreateInvitationResponse) GetBody() []byte
- func (r CreateInvitationResponse) GetJSON201() *InvitationResponse
- func (r CreateInvitationResponse) GetJSONDefault() *Error
- func (r CreateInvitationResponse) Status() string
- func (r CreateInvitationResponse) StatusCode() int
- type CreateRecordJSONRequestBody
- type CreateRecordRequest
- type CreateRecordResponse
- func (r CreateRecordResponse) ContentType() string
- func (r CreateRecordResponse) GetBody() []byte
- func (r CreateRecordResponse) GetJSON201() *RecordResponse
- func (r CreateRecordResponse) GetJSONDefault() *Error
- func (r CreateRecordResponse) Status() string
- func (r CreateRecordResponse) StatusCode() int
- type CreateUserJSONRequestBody
- type CreateUserRequest
- type CreateUserResponse
- type CreateZoneJSONRequestBody
- type CreateZoneRequest
- type CreateZoneResponse
- type Cryptokey
- type CryptokeyData
- type CryptokeyId
- type CryptokeyKeytype
- type CryptokeyResponse
- type CryptokeyResponseStatus
- type CryptokeysData
- type CryptokeysResponse
- type CryptokeysResponseStatus
- type CustomerUsageResponse
- type CustomerUsageResponseStatus
- type CustomerUsageSummary
- type CustomerUsageSummaryBillingType
- type DNSControlAuthField
- type DNSControlAuthFieldType
- type DNSControlConnection
- type DNSControlConnectionData
- type DNSControlConnectionMode
- type DNSControlConnectionResponse
- type DNSControlConnectionResponseStatus
- type DNSControlConnectionSnapshotData
- type DNSControlConnectionSnapshotResponse
- type DNSControlConnectionSnapshotResponseStatus
- type DNSControlConnectionStatus
- type DNSControlConnectionsData
- type DNSControlConnectionsResponse
- type DNSControlConnectionsResponseStatus
- type DNSControlInventory
- type DNSControlInventoryData
- type DNSControlInventoryListData
- type DNSControlInventoryListResponse
- type DNSControlInventoryListResponseStatus
- type DNSControlInventoryResponse
- type DNSControlInventoryResponseStatus
- type DNSControlProvider
- type DNSControlProviderAuthType
- type DNSControlProviderCapabilities
- type DNSControlProviderType
- type DNSControlProviderZone
- type DNSControlProviderZoneRequest
- type DNSControlProviderZonesData
- type DNSControlProviderZonesResponse
- type DNSControlProviderZonesResponseStatus
- type DNSControlProvidersData
- type DNSControlProvidersResponse
- type DNSControlProvidersResponseStatus
- type DNSControlRecordSet
- type DNSControlSnapshot
- type DNSControlSnapshotData
- type DNSControlSnapshotDiff
- type DNSControlSnapshotDiffChange
- type DNSControlSnapshotDiffChangeSeverity
- type DNSControlSnapshotDiffChangeType
- type DNSControlSnapshotDiffData
- type DNSControlSnapshotDiffResponse
- type DNSControlSnapshotDiffResponseStatus
- type DNSControlSnapshotDiffSummary
- type DNSControlSnapshotResponse
- type DNSControlSnapshotResponseStatus
- type DNSControlSnapshotSourceKind
- type DNSControlSnapshotsData
- type DNSControlSnapshotsResponse
- type DNSControlSnapshotsResponseStatus
- type DNSSECStatusData
- type DNSSECStatusResponse
- type DNSSECStatusResponseStatus
- type DSRecordsData
- type DSRecordsResponse
- type DSRecordsResponseStatus
- type DeleteAPIKeyResponse
- type DeleteAlertResponse
- type DeleteDNSSECCryptokeyResponse
- type DeleteInvitationResponse
- type DeleteRecordResponse
- type DeleteRecordsByNameAndTypeParams
- type DeleteRecordsByNameAndTypeResponse
- func (r DeleteRecordsByNameAndTypeResponse) ContentType() string
- func (r DeleteRecordsByNameAndTypeResponse) GetBody() []byte
- func (r DeleteRecordsByNameAndTypeResponse) GetJSONDefault() *Error
- func (r DeleteRecordsByNameAndTypeResponse) Status() string
- func (r DeleteRecordsByNameAndTypeResponse) StatusCode() int
- type DeleteUserResponse
- type DeleteZoneResponse
- type DiffDNSControlSnapshotsResponse
- func (r DiffDNSControlSnapshotsResponse) ContentType() string
- func (r DiffDNSControlSnapshotsResponse) GetBody() []byte
- func (r DiffDNSControlSnapshotsResponse) GetJSON200() *DNSControlSnapshotDiffResponse
- func (r DiffDNSControlSnapshotsResponse) GetJSONDefault() *Error
- func (r DiffDNSControlSnapshotsResponse) Status() string
- func (r DiffDNSControlSnapshotsResponse) StatusCode() int
- type EndDate
- type Error
- type ErrorDetail
- type ErrorResponse
- type ErrorResponseStatus
- type ExternalZoneId
- type FromSnapshotId
- type GetAPIKeyResponse
- type GetAlertResponse
- type GetBillingHistoryParams
- type GetBillingHistoryResponse
- func (r GetBillingHistoryResponse) ContentType() string
- func (r GetBillingHistoryResponse) GetBody() []byte
- func (r GetBillingHistoryResponse) GetJSON200() *BillingHistoryResponseEnvelope
- func (r GetBillingHistoryResponse) GetJSONDefault() *Error
- func (r GetBillingHistoryResponse) Status() string
- func (r GetBillingHistoryResponse) StatusCode() int
- type GetBillingSummaryParams
- type GetBillingSummaryResponse
- func (r GetBillingSummaryResponse) ContentType() string
- func (r GetBillingSummaryResponse) GetBody() []byte
- func (r GetBillingSummaryResponse) GetJSON200() *BillingSummaryResponseEnvelope
- func (r GetBillingSummaryResponse) GetJSONDefault() *Error
- func (r GetBillingSummaryResponse) Status() string
- func (r GetBillingSummaryResponse) StatusCode() int
- type GetCurrentUsageResponse
- func (r GetCurrentUsageResponse) ContentType() string
- func (r GetCurrentUsageResponse) GetBody() []byte
- func (r GetCurrentUsageResponse) GetJSON200() *CustomerUsageResponse
- func (r GetCurrentUsageResponse) GetJSONDefault() *Error
- func (r GetCurrentUsageResponse) Status() string
- func (r GetCurrentUsageResponse) StatusCode() int
- type GetDNSControlSnapshotResponse
- func (r GetDNSControlSnapshotResponse) ContentType() string
- func (r GetDNSControlSnapshotResponse) GetBody() []byte
- func (r GetDNSControlSnapshotResponse) GetJSON200() *DNSControlSnapshotResponse
- func (r GetDNSControlSnapshotResponse) GetJSONDefault() *Error
- func (r GetDNSControlSnapshotResponse) Status() string
- func (r GetDNSControlSnapshotResponse) StatusCode() int
- type GetDNSSECCryptokeyResponse
- func (r GetDNSSECCryptokeyResponse) ContentType() string
- func (r GetDNSSECCryptokeyResponse) GetBody() []byte
- func (r GetDNSSECCryptokeyResponse) GetJSON200() *CryptokeyResponse
- func (r GetDNSSECCryptokeyResponse) GetJSONDefault() *Error
- func (r GetDNSSECCryptokeyResponse) Status() string
- func (r GetDNSSECCryptokeyResponse) StatusCode() int
- type GetDNSSECStatusResponse
- func (r GetDNSSECStatusResponse) ContentType() string
- func (r GetDNSSECStatusResponse) GetBody() []byte
- func (r GetDNSSECStatusResponse) GetJSON200() *DNSSECStatusResponse
- func (r GetDNSSECStatusResponse) GetJSONDefault() *Error
- func (r GetDNSSECStatusResponse) Status() string
- func (r GetDNSSECStatusResponse) StatusCode() int
- type GetDailyUsageParams
- type GetDailyUsageResponse
- func (r GetDailyUsageResponse) ContentType() string
- func (r GetDailyUsageResponse) GetBody() []byte
- func (r GetDailyUsageResponse) GetJSON200() *AggregatedUsageResponseEnvelope
- func (r GetDailyUsageResponse) GetJSONDefault() *Error
- func (r GetDailyUsageResponse) Status() string
- func (r GetDailyUsageResponse) StatusCode() int
- type GetHealthResponse
- type GetInvitationResponse
- func (r GetInvitationResponse) ContentType() string
- func (r GetInvitationResponse) GetBody() []byte
- func (r GetInvitationResponse) GetJSON200() *InvitationResponse
- func (r GetInvitationResponse) GetJSONDefault() *Error
- func (r GetInvitationResponse) Status() string
- func (r GetInvitationResponse) StatusCode() int
- type GetRecordResponse
- type GetUsageSummaryParams
- type GetUsageSummaryResponse
- func (r GetUsageSummaryResponse) ContentType() string
- func (r GetUsageSummaryResponse) GetBody() []byte
- func (r GetUsageSummaryResponse) GetJSON200() *CustomerUsageResponse
- func (r GetUsageSummaryResponse) GetJSONDefault() *Error
- func (r GetUsageSummaryResponse) Status() string
- func (r GetUsageSummaryResponse) StatusCode() int
- type GetUserResponse
- type GetZoneResponse
- type GetZoneUsageParams
- type GetZoneUsageResponse
- func (r GetZoneUsageResponse) ContentType() string
- func (r GetZoneUsageResponse) GetBody() []byte
- func (r GetZoneUsageResponse) GetJSON200() *ZoneUsageResponse
- func (r GetZoneUsageResponse) GetJSONDefault() *Error
- func (r GetZoneUsageResponse) Status() string
- func (r GetZoneUsageResponse) StatusCode() int
- type Health
- type HealthData
- type HealthResponse
- type HealthResponseStatus
- type HealthStatus
- type HttpRequestDoer
- type InventoryId
- type Invitation
- type InvitationData
- type InvitationId
- type InvitationResponse
- type InvitationResponseStatus
- type InvitationStatus
- type InvitationsData
- type InvitationsResponse
- type InvitationsResponseStatus
- type Invoice
- type InvoicesData
- type InvoicesResponse
- type InvoicesResponseStatus
- type Limit
- type ListAPIKeysResponse
- type ListActivityParams
- type ListActivityResponse
- func (r ListActivityResponse) ContentType() string
- func (r ListActivityResponse) GetBody() []byte
- func (r ListActivityResponse) GetJSON200() *ActivityResponse
- func (r ListActivityResponse) GetJSONDefault() *Error
- func (r ListActivityResponse) Status() string
- func (r ListActivityResponse) StatusCode() int
- type ListAlertsParams
- type ListAlertsResponse
- type ListDNSControlConnectionZonesResponse
- func (r ListDNSControlConnectionZonesResponse) ContentType() string
- func (r ListDNSControlConnectionZonesResponse) GetBody() []byte
- func (r ListDNSControlConnectionZonesResponse) GetJSON200() *DNSControlProviderZonesResponse
- func (r ListDNSControlConnectionZonesResponse) GetJSONDefault() *Error
- func (r ListDNSControlConnectionZonesResponse) Status() string
- func (r ListDNSControlConnectionZonesResponse) StatusCode() int
- type ListDNSControlConnectionsResponse
- func (r ListDNSControlConnectionsResponse) ContentType() string
- func (r ListDNSControlConnectionsResponse) GetBody() []byte
- func (r ListDNSControlConnectionsResponse) GetJSON200() *DNSControlConnectionsResponse
- func (r ListDNSControlConnectionsResponse) GetJSONDefault() *Error
- func (r ListDNSControlConnectionsResponse) Status() string
- func (r ListDNSControlConnectionsResponse) StatusCode() int
- type ListDNSControlInventoryResponse
- func (r ListDNSControlInventoryResponse) ContentType() string
- func (r ListDNSControlInventoryResponse) GetBody() []byte
- func (r ListDNSControlInventoryResponse) GetJSON200() *DNSControlInventoryListResponse
- func (r ListDNSControlInventoryResponse) GetJSONDefault() *Error
- func (r ListDNSControlInventoryResponse) Status() string
- func (r ListDNSControlInventoryResponse) StatusCode() int
- type ListDNSControlProvidersResponse
- func (r ListDNSControlProvidersResponse) ContentType() string
- func (r ListDNSControlProvidersResponse) GetBody() []byte
- func (r ListDNSControlProvidersResponse) GetJSON200() *DNSControlProvidersResponse
- func (r ListDNSControlProvidersResponse) GetJSONDefault() *Error
- func (r ListDNSControlProvidersResponse) Status() string
- func (r ListDNSControlProvidersResponse) StatusCode() int
- type ListDNSControlSnapshotsParams
- type ListDNSControlSnapshotsResponse
- func (r ListDNSControlSnapshotsResponse) ContentType() string
- func (r ListDNSControlSnapshotsResponse) GetBody() []byte
- func (r ListDNSControlSnapshotsResponse) GetJSON200() *DNSControlSnapshotsResponse
- func (r ListDNSControlSnapshotsResponse) GetJSONDefault() *Error
- func (r ListDNSControlSnapshotsResponse) Status() string
- func (r ListDNSControlSnapshotsResponse) StatusCode() int
- type ListDNSSECCryptokeysResponse
- func (r ListDNSSECCryptokeysResponse) ContentType() string
- func (r ListDNSSECCryptokeysResponse) GetBody() []byte
- func (r ListDNSSECCryptokeysResponse) GetJSON200() *CryptokeysResponse
- func (r ListDNSSECCryptokeysResponse) GetJSONDefault() *Error
- func (r ListDNSSECCryptokeysResponse) Status() string
- func (r ListDNSSECCryptokeysResponse) StatusCode() int
- type ListDNSSECDSRecordsResponse
- func (r ListDNSSECDSRecordsResponse) ContentType() string
- func (r ListDNSSECDSRecordsResponse) GetBody() []byte
- func (r ListDNSSECDSRecordsResponse) GetJSON200() *DSRecordsResponse
- func (r ListDNSSECDSRecordsResponse) GetJSONDefault() *Error
- func (r ListDNSSECDSRecordsResponse) Status() string
- func (r ListDNSSECDSRecordsResponse) StatusCode() int
- type ListInvitationsParams
- type ListInvitationsResponse
- func (r ListInvitationsResponse) ContentType() string
- func (r ListInvitationsResponse) GetBody() []byte
- func (r ListInvitationsResponse) GetJSON200() *InvitationsResponse
- func (r ListInvitationsResponse) GetJSONDefault() *Error
- func (r ListInvitationsResponse) Status() string
- func (r ListInvitationsResponse) StatusCode() int
- type ListInvoicesParams
- type ListInvoicesResponse
- func (r ListInvoicesResponse) ContentType() string
- func (r ListInvoicesResponse) GetBody() []byte
- func (r ListInvoicesResponse) GetJSON200() *InvoicesResponse
- func (r ListInvoicesResponse) GetJSONDefault() *Error
- func (r ListInvoicesResponse) Status() string
- func (r ListInvoicesResponse) StatusCode() int
- type ListRecordsParams
- type ListRecordsResponse
- type ListTopZonesByUsageParams
- type ListTopZonesByUsageResponse
- func (r ListTopZonesByUsageResponse) ContentType() string
- func (r ListTopZonesByUsageResponse) GetBody() []byte
- func (r ListTopZonesByUsageResponse) GetJSON200() *TopZonesResponse
- func (r ListTopZonesByUsageResponse) GetJSONDefault() *Error
- func (r ListTopZonesByUsageResponse) Status() string
- func (r ListTopZonesByUsageResponse) StatusCode() int
- type ListUsersParams
- type ListUsersResponse
- type ListZonesParams
- type ListZonesResponse
- type Month
- type Offset
- type OffsetMeta
- type Pagination
- type ProviderCredentials
- type Record
- type RecordContent
- type RecordData
- type RecordId
- type RecordLimit
- type RecordName
- type RecordOffset
- type RecordResponse
- type RecordResponseStatus
- type RecordType
- type RecordsData
- type RecordsResponse
- type RecordsResponseStatus
- type RequestEditorFn
- type SaveDNSControlZoneInventoryJSONRequestBody
- type SaveDNSControlZoneInventoryResponse
- func (r SaveDNSControlZoneInventoryResponse) ContentType() string
- func (r SaveDNSControlZoneInventoryResponse) GetBody() []byte
- func (r SaveDNSControlZoneInventoryResponse) GetJSON201() *DNSControlInventoryResponse
- func (r SaveDNSControlZoneInventoryResponse) GetJSONDefault() *Error
- func (r SaveDNSControlZoneInventoryResponse) Status() string
- func (r SaveDNSControlZoneInventoryResponse) StatusCode() int
- type SetDNSSECRequest
- type SetDNSSECStatusJSONRequestBody
- type SetDNSSECStatusResponse
- type SnapshotId
- type StartDate
- type ToSnapshotId
- type TopZonesData
- type TopZonesResponse
- type TopZonesResponseStatus
- type UpdateAlertJSONRequestBody
- type UpdateAlertRequest
- type UpdateAlertResponse
- type UpdateCryptokeyRequest
- type UpdateDNSSECCryptokeyJSONRequestBody
- type UpdateDNSSECCryptokeyResponse
- type UpdateRecordByNameAndTypeJSONRequestBody
- type UpdateRecordByNameAndTypeParams
- type UpdateRecordByNameAndTypeResponse
- func (r UpdateRecordByNameAndTypeResponse) ContentType() string
- func (r UpdateRecordByNameAndTypeResponse) GetBody() []byte
- func (r UpdateRecordByNameAndTypeResponse) GetJSON200() *RecordResponse
- func (r UpdateRecordByNameAndTypeResponse) GetJSONDefault() *Error
- func (r UpdateRecordByNameAndTypeResponse) Status() string
- func (r UpdateRecordByNameAndTypeResponse) StatusCode() int
- type UpdateRecordByNameRequest
- type UpdateRecordJSONRequestBody
- type UpdateRecordRequest
- type UpdateRecordResponse
- func (r UpdateRecordResponse) ContentType() string
- func (r UpdateRecordResponse) GetBody() []byte
- func (r UpdateRecordResponse) GetJSON200() *RecordResponse
- func (r UpdateRecordResponse) GetJSONDefault() *Error
- func (r UpdateRecordResponse) Status() string
- func (r UpdateRecordResponse) StatusCode() int
- type UpdateUserJSONRequestBody
- type UpdateUserRequest
- type UpdateUserResponse
- type UpdateZoneJSONRequestBody
- type UpdateZoneRequest
- type UpdateZoneResponse
- type UsageMap
- type User
- type UserData
- type UserId
- type UserResponse
- type UserResponseStatus
- type UserRole
- type UsersData
- type UsersResponse
- type UsersResponseStatus
- type Zone
- type ZoneData
- type ZoneId
- type ZoneLimit
- type ZoneOffset
- type ZoneRegion
- type ZoneResponse
- type ZoneResponseStatus
- type ZoneSettingsBrief
- type ZoneStatus
- type ZoneType
- type ZoneUsageDaily
- type ZoneUsageResponse
- type ZoneUsageResponseStatus
- type ZoneUsageSummary
- type ZonesData
- type ZonesResponse
- type ZonesResponseStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateAPIKeyRequest ¶
func NewCreateAPIKeyRequest(server string, userId UserId, body CreateAPIKeyJSONRequestBody) (*http.Request, error)
NewCreateAPIKeyRequest calls the generic CreateAPIKey builder with application/json body
func NewCreateAPIKeyRequestWithBody ¶
func NewCreateAPIKeyRequestWithBody(server string, userId UserId, contentType string, body io.Reader) (*http.Request, error)
NewCreateAPIKeyRequestWithBody constructs an http.Request for the CreateAPIKey method, with any body, and a specified content type
func NewCreateAlertRequest ¶
func NewCreateAlertRequest(server string, body CreateAlertJSONRequestBody) (*http.Request, error)
NewCreateAlertRequest calls the generic CreateAlert builder with application/json body
func NewCreateAlertRequestWithBody ¶
func NewCreateAlertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAlertRequestWithBody constructs an http.Request for the CreateAlert method, with any body, and a specified content type
func NewCreateDNSControlConnectionRequest ¶
func NewCreateDNSControlConnectionRequest(server string, body CreateDNSControlConnectionJSONRequestBody) (*http.Request, error)
NewCreateDNSControlConnectionRequest calls the generic CreateDNSControlConnection builder with application/json body
func NewCreateDNSControlConnectionRequestWithBody ¶
func NewCreateDNSControlConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDNSControlConnectionRequestWithBody constructs an http.Request for the CreateDNSControlConnection method, with any body, and a specified content type
func NewCreateDNSControlConnectionZoneSnapshotRequest ¶
func NewCreateDNSControlConnectionZoneSnapshotRequest(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, body CreateDNSControlConnectionZoneSnapshotJSONRequestBody) (*http.Request, error)
NewCreateDNSControlConnectionZoneSnapshotRequest calls the generic CreateDNSControlConnectionZoneSnapshot builder with application/json body
func NewCreateDNSControlConnectionZoneSnapshotRequestWithBody ¶
func NewCreateDNSControlConnectionZoneSnapshotRequestWithBody(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader) (*http.Request, error)
NewCreateDNSControlConnectionZoneSnapshotRequestWithBody constructs an http.Request for the CreateDNSControlConnectionZoneSnapshot method, with any body, and a specified content type
func NewCreateDNSControlInventorySnapshotRequest ¶
func NewCreateDNSControlInventorySnapshotRequest(server string, inventoryId InventoryId) (*http.Request, error)
NewCreateDNSControlInventorySnapshotRequest constructs an http.Request for the CreateDNSControlInventorySnapshot method
func NewCreateDNSSECCryptokeyRequest ¶
func NewCreateDNSSECCryptokeyRequest(server string, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody) (*http.Request, error)
NewCreateDNSSECCryptokeyRequest calls the generic CreateDNSSECCryptokey builder with application/json body
func NewCreateDNSSECCryptokeyRequestWithBody ¶
func NewCreateDNSSECCryptokeyRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
NewCreateDNSSECCryptokeyRequestWithBody constructs an http.Request for the CreateDNSSECCryptokey method, with any body, and a specified content type
func NewCreateInvitationRequest ¶
func NewCreateInvitationRequest(server string, body CreateInvitationJSONRequestBody) (*http.Request, error)
NewCreateInvitationRequest calls the generic CreateInvitation builder with application/json body
func NewCreateInvitationRequestWithBody ¶
func NewCreateInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInvitationRequestWithBody constructs an http.Request for the CreateInvitation method, with any body, and a specified content type
func NewCreateRecordRequest ¶
func NewCreateRecordRequest(server string, zoneId ZoneId, body CreateRecordJSONRequestBody) (*http.Request, error)
NewCreateRecordRequest calls the generic CreateRecord builder with application/json body
func NewCreateRecordRequestWithBody ¶
func NewCreateRecordRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
NewCreateRecordRequestWithBody constructs an http.Request for the CreateRecord method, with any body, and a specified content type
func NewCreateUserRequest ¶
func NewCreateUserRequest(server string, body CreateUserJSONRequestBody) (*http.Request, error)
NewCreateUserRequest calls the generic CreateUser builder with application/json body
func NewCreateUserRequestWithBody ¶
func NewCreateUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateUserRequestWithBody constructs an http.Request for the CreateUser method, with any body, and a specified content type
func NewCreateZoneRequest ¶
func NewCreateZoneRequest(server string, body CreateZoneJSONRequestBody) (*http.Request, error)
NewCreateZoneRequest calls the generic CreateZone builder with application/json body
func NewCreateZoneRequestWithBody ¶
func NewCreateZoneRequestWithBody(server string, 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 NewDeleteAPIKeyRequest ¶
NewDeleteAPIKeyRequest constructs an http.Request for the DeleteAPIKey method
func NewDeleteAlertRequest ¶
NewDeleteAlertRequest constructs an http.Request for the DeleteAlert method
func NewDeleteDNSSECCryptokeyRequest ¶
func NewDeleteDNSSECCryptokeyRequest(server string, zoneId ZoneId, keyId CryptokeyId) (*http.Request, error)
NewDeleteDNSSECCryptokeyRequest constructs an http.Request for the DeleteDNSSECCryptokey method
func NewDeleteInvitationRequest ¶
func NewDeleteInvitationRequest(server string, invitationId InvitationId) (*http.Request, error)
NewDeleteInvitationRequest constructs an http.Request for the DeleteInvitation method
func NewDeleteRecordRequest ¶
NewDeleteRecordRequest constructs an http.Request for the DeleteRecord method
func NewDeleteRecordsByNameAndTypeRequest ¶
func NewDeleteRecordsByNameAndTypeRequest(server string, zoneId ZoneId, recordName RecordName, recordType RecordType, params *DeleteRecordsByNameAndTypeParams) (*http.Request, error)
NewDeleteRecordsByNameAndTypeRequest constructs an http.Request for the DeleteRecordsByNameAndType method
func NewDeleteUserRequest ¶
NewDeleteUserRequest constructs an http.Request for the DeleteUser method
func NewDeleteZoneRequest ¶
NewDeleteZoneRequest constructs an http.Request for the DeleteZone method
func NewDiffDNSControlSnapshotsRequest ¶
func NewDiffDNSControlSnapshotsRequest(server string, inventoryId InventoryId, fromSnapshotId FromSnapshotId, toSnapshotId ToSnapshotId) (*http.Request, error)
NewDiffDNSControlSnapshotsRequest constructs an http.Request for the DiffDNSControlSnapshots method
func NewGetAPIKeyRequest ¶
NewGetAPIKeyRequest constructs an http.Request for the GetAPIKey method
func NewGetAlertRequest ¶
NewGetAlertRequest constructs an http.Request for the GetAlert method
func NewGetBillingHistoryRequest ¶
func NewGetBillingHistoryRequest(server string, params *GetBillingHistoryParams) (*http.Request, error)
NewGetBillingHistoryRequest constructs an http.Request for the GetBillingHistory method
func NewGetBillingSummaryRequest ¶
func NewGetBillingSummaryRequest(server string, params *GetBillingSummaryParams) (*http.Request, error)
NewGetBillingSummaryRequest constructs an http.Request for the GetBillingSummary method
func NewGetCurrentUsageRequest ¶
NewGetCurrentUsageRequest constructs an http.Request for the GetCurrentUsage method
func NewGetDNSControlSnapshotRequest ¶
func NewGetDNSControlSnapshotRequest(server string, inventoryId InventoryId, snapshotId SnapshotId) (*http.Request, error)
NewGetDNSControlSnapshotRequest constructs an http.Request for the GetDNSControlSnapshot method
func NewGetDNSSECCryptokeyRequest ¶
func NewGetDNSSECCryptokeyRequest(server string, zoneId ZoneId, keyId CryptokeyId) (*http.Request, error)
NewGetDNSSECCryptokeyRequest constructs an http.Request for the GetDNSSECCryptokey method
func NewGetDNSSECStatusRequest ¶
NewGetDNSSECStatusRequest constructs an http.Request for the GetDNSSECStatus method
func NewGetDailyUsageRequest ¶
func NewGetDailyUsageRequest(server string, params *GetDailyUsageParams) (*http.Request, error)
NewGetDailyUsageRequest constructs an http.Request for the GetDailyUsage method
func NewGetHealthRequest ¶
NewGetHealthRequest constructs an http.Request for the GetHealth method
func NewGetInvitationRequest ¶
func NewGetInvitationRequest(server string, invitationId InvitationId) (*http.Request, error)
NewGetInvitationRequest constructs an http.Request for the GetInvitation method
func NewGetRecordRequest ¶
NewGetRecordRequest constructs an http.Request for the GetRecord method
func NewGetUsageSummaryRequest ¶
func NewGetUsageSummaryRequest(server string, params *GetUsageSummaryParams) (*http.Request, error)
NewGetUsageSummaryRequest constructs an http.Request for the GetUsageSummary method
func NewGetUserRequest ¶
NewGetUserRequest constructs an http.Request for the GetUser method
func NewGetZoneRequest ¶
NewGetZoneRequest constructs an http.Request for the GetZone method
func NewGetZoneUsageRequest ¶
func NewGetZoneUsageRequest(server string, zoneId ZoneId, params *GetZoneUsageParams) (*http.Request, error)
NewGetZoneUsageRequest constructs an http.Request for the GetZoneUsage method
func NewListAPIKeysRequest ¶
NewListAPIKeysRequest constructs an http.Request for the ListAPIKeys method
func NewListActivityRequest ¶
func NewListActivityRequest(server string, params *ListActivityParams) (*http.Request, error)
NewListActivityRequest constructs an http.Request for the ListActivity method
func NewListAlertsRequest ¶
func NewListAlertsRequest(server string, params *ListAlertsParams) (*http.Request, error)
NewListAlertsRequest constructs an http.Request for the ListAlerts method
func NewListDNSControlConnectionZonesRequest ¶
func NewListDNSControlConnectionZonesRequest(server string, connectionId ConnectionId) (*http.Request, error)
NewListDNSControlConnectionZonesRequest constructs an http.Request for the ListDNSControlConnectionZones method
func NewListDNSControlConnectionsRequest ¶
NewListDNSControlConnectionsRequest constructs an http.Request for the ListDNSControlConnections method
func NewListDNSControlInventoryRequest ¶
NewListDNSControlInventoryRequest constructs an http.Request for the ListDNSControlInventory method
func NewListDNSControlProvidersRequest ¶
NewListDNSControlProvidersRequest constructs an http.Request for the ListDNSControlProviders method
func NewListDNSControlSnapshotsRequest ¶
func NewListDNSControlSnapshotsRequest(server string, inventoryId InventoryId, params *ListDNSControlSnapshotsParams) (*http.Request, error)
NewListDNSControlSnapshotsRequest constructs an http.Request for the ListDNSControlSnapshots method
func NewListDNSSECCryptokeysRequest ¶
NewListDNSSECCryptokeysRequest constructs an http.Request for the ListDNSSECCryptokeys method
func NewListDNSSECDSRecordsRequest ¶
NewListDNSSECDSRecordsRequest constructs an http.Request for the ListDNSSECDSRecords method
func NewListInvitationsRequest ¶
func NewListInvitationsRequest(server string, params *ListInvitationsParams) (*http.Request, error)
NewListInvitationsRequest constructs an http.Request for the ListInvitations method
func NewListInvoicesRequest ¶
func NewListInvoicesRequest(server string, params *ListInvoicesParams) (*http.Request, error)
NewListInvoicesRequest constructs an http.Request for the ListInvoices method
func NewListRecordsRequest ¶
func NewListRecordsRequest(server string, zoneId ZoneId, params *ListRecordsParams) (*http.Request, error)
NewListRecordsRequest constructs an http.Request for the ListRecords method
func NewListTopZonesByUsageRequest ¶
func NewListTopZonesByUsageRequest(server string, params *ListTopZonesByUsageParams) (*http.Request, error)
NewListTopZonesByUsageRequest constructs an http.Request for the ListTopZonesByUsage method
func NewListUsersRequest ¶
func NewListUsersRequest(server string, params *ListUsersParams) (*http.Request, error)
NewListUsersRequest constructs an http.Request for the ListUsers method
func NewListZonesRequest ¶
func NewListZonesRequest(server string, params *ListZonesParams) (*http.Request, error)
NewListZonesRequest constructs an http.Request for the ListZones method
func NewSaveDNSControlZoneInventoryRequest ¶
func NewSaveDNSControlZoneInventoryRequest(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, body SaveDNSControlZoneInventoryJSONRequestBody) (*http.Request, error)
NewSaveDNSControlZoneInventoryRequest calls the generic SaveDNSControlZoneInventory builder with application/json body
func NewSaveDNSControlZoneInventoryRequestWithBody ¶
func NewSaveDNSControlZoneInventoryRequestWithBody(server string, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader) (*http.Request, error)
NewSaveDNSControlZoneInventoryRequestWithBody constructs an http.Request for the SaveDNSControlZoneInventory method, with any body, and a specified content type
func NewSetDNSSECStatusRequest ¶
func NewSetDNSSECStatusRequest(server string, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody) (*http.Request, error)
NewSetDNSSECStatusRequest calls the generic SetDNSSECStatus builder with application/json body
func NewSetDNSSECStatusRequestWithBody ¶
func NewSetDNSSECStatusRequestWithBody(server string, zoneId ZoneId, contentType string, body io.Reader) (*http.Request, error)
NewSetDNSSECStatusRequestWithBody constructs an http.Request for the SetDNSSECStatus method, with any body, and a specified content type
func NewUpdateAlertRequest ¶
func NewUpdateAlertRequest(server string, alertId AlertId, body UpdateAlertJSONRequestBody) (*http.Request, error)
NewUpdateAlertRequest calls the generic UpdateAlert builder with application/json body
func NewUpdateAlertRequestWithBody ¶
func NewUpdateAlertRequestWithBody(server string, alertId AlertId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAlertRequestWithBody constructs an http.Request for the UpdateAlert method, with any body, and a specified content type
func NewUpdateDNSSECCryptokeyRequest ¶
func NewUpdateDNSSECCryptokeyRequest(server string, zoneId ZoneId, keyId CryptokeyId, body UpdateDNSSECCryptokeyJSONRequestBody) (*http.Request, error)
NewUpdateDNSSECCryptokeyRequest calls the generic UpdateDNSSECCryptokey builder with application/json body
func NewUpdateDNSSECCryptokeyRequestWithBody ¶
func NewUpdateDNSSECCryptokeyRequestWithBody(server string, zoneId ZoneId, keyId CryptokeyId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDNSSECCryptokeyRequestWithBody constructs an http.Request for the UpdateDNSSECCryptokey method, with any body, and a specified content type
func NewUpdateRecordByNameAndTypeRequest ¶
func NewUpdateRecordByNameAndTypeRequest(server string, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, body UpdateRecordByNameAndTypeJSONRequestBody) (*http.Request, error)
NewUpdateRecordByNameAndTypeRequest calls the generic UpdateRecordByNameAndType builder with application/json body
func NewUpdateRecordByNameAndTypeRequestWithBody ¶
func NewUpdateRecordByNameAndTypeRequestWithBody(server string, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRecordByNameAndTypeRequestWithBody constructs an http.Request for the UpdateRecordByNameAndType method, with any body, and a specified content type
func NewUpdateRecordRequest ¶
func NewUpdateRecordRequest(server string, zoneId ZoneId, recordId RecordId, body UpdateRecordJSONRequestBody) (*http.Request, error)
NewUpdateRecordRequest calls the generic UpdateRecord builder with application/json body
func NewUpdateRecordRequestWithBody ¶
func NewUpdateRecordRequestWithBody(server string, zoneId ZoneId, recordId RecordId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRecordRequestWithBody constructs an http.Request for the UpdateRecord method, with any body, and a specified content type
func NewUpdateUserRequest ¶
func NewUpdateUserRequest(server string, userId UserId, body UpdateUserJSONRequestBody) (*http.Request, error)
NewUpdateUserRequest calls the generic UpdateUser builder with application/json body
func NewUpdateUserRequestWithBody ¶
func NewUpdateUserRequestWithBody(server string, userId UserId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateUserRequestWithBody constructs an http.Request for the UpdateUser method, with any body, and a specified content type
func NewUpdateZoneRequest ¶
func NewUpdateZoneRequest(server string, zoneId ZoneId, body UpdateZoneJSONRequestBody) (*http.Request, error)
NewUpdateZoneRequest calls the generic UpdateZone builder with application/json body
Types ¶
type APIKey ¶
type APIKey struct {
CreatedAt time.Time `json:"created_at"`
CustomerId openapi_types.UUID `json:"customer_id"`
ExpiresAt nullable.Nullable[time.Time] `json:"expires_at,omitempty"`
Id openapi_types.UUID `json:"id"`
// Key Secret API key. Present only in the create response.
Key *string `json:"key,omitempty"`
Name string `json:"name"`
// Scopes JSON-encoded scope-name array.
//
// Example: ["zones:read","records:read"]
Scopes string `json:"scopes"`
UpdatedAt time.Time `json:"updated_at"`
UserId openapi_types.UUID `json:"user_id"`
// ZoneIds Compatibility zone list. Empty means customer-wide.
ZoneIds []openapi_types.UUID `json:"zone_ids"`
// ZoneScopes Per-zone resource policy. Empty means customer-wide.
ZoneScopes []APIKeyZoneScope `json:"zone_scopes"`
}
APIKey defines model for APIKey.
type APIKeyData ¶
type APIKeyData struct {
ApiKey APIKey `json:"api_key"`
}
APIKeyData defines model for APIKeyData.
type APIKeyResponse ¶
type APIKeyResponse struct {
Data APIKeyData `json:"data"`
Status APIKeyResponseStatus `json:"status"`
}
APIKeyResponse defines model for APIKeyResponse.
type APIKeyResponseStatus ¶
type APIKeyResponseStatus string
APIKeyResponseStatus defines model for APIKeyResponse.Status.
const (
APIKeyResponseStatusSuccess APIKeyResponseStatus = "success"
)
Defines values for APIKeyResponseStatus.
func (APIKeyResponseStatus) Valid ¶
func (e APIKeyResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the APIKeyResponseStatus enum.
type APIKeyZoneScope ¶
type APIKeyZoneScope struct {
// RecordAccess Whole-zone or exact-name access.
RecordAccess APIKeyZoneScopeRecordAccess `json:"record_access"`
// RecordNames Canonical relative owners. Use `@` for the apex. Names may
// also be supplied as in-zone absolute names when creating a key and
// are returned in canonical relative form. A literal `*` matches only
// the wildcard owner; it is not a glob. Required and non-empty when
// `record_access` is `names`; empty when it is `all`.
//
//
// Example: ["_acme-challenge","_acme-challenge.api"]
RecordNames []string `json:"record_names"`
ZoneId openapi_types.UUID `json:"zone_id"`
}
APIKeyZoneScope defines model for APIKeyZoneScope.
type APIKeyZoneScopeRecordAccess ¶
type APIKeyZoneScopeRecordAccess string
APIKeyZoneScopeRecordAccess Whole-zone or exact-name access.
const ( All APIKeyZoneScopeRecordAccess = "all" Names APIKeyZoneScopeRecordAccess = "names" )
Defines values for APIKeyZoneScopeRecordAccess.
func (APIKeyZoneScopeRecordAccess) Valid ¶
func (e APIKeyZoneScopeRecordAccess) Valid() bool
Valid indicates whether the value is a known member of the APIKeyZoneScopeRecordAccess enum.
type APIKeysData ¶
type APIKeysData struct {
ApiKeys []APIKey `json:"api_keys"`
}
APIKeysData defines model for APIKeysData.
type APIKeysResponse ¶
type APIKeysResponse struct {
Data APIKeysData `json:"data"`
Status APIKeysResponseStatus `json:"status"`
}
APIKeysResponse defines model for APIKeysResponse.
type APIKeysResponseStatus ¶
type APIKeysResponseStatus string
APIKeysResponseStatus defines model for APIKeysResponse.Status.
const (
APIKeysResponseStatusSuccess APIKeysResponseStatus = "success"
)
Defines values for APIKeysResponseStatus.
func (APIKeysResponseStatus) Valid ¶
func (e APIKeysResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the APIKeysResponseStatus enum.
type ActivityData ¶
type ActivityData struct {
Items []ActivityItem `json:"items"`
Meta OffsetMeta `json:"meta"`
}
ActivityData defines model for ActivityData.
type ActivityItem ¶
type ActivityItem struct {
Action string `json:"action"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
IpAddress string `json:"ip_address"`
NewValues nullable.Nullable[map[string]interface{}] `json:"new_values,omitempty"`
OldValues nullable.Nullable[map[string]interface{}] `json:"old_values,omitempty"`
Resource string `json:"resource"`
ResourceId string `json:"resource_id"`
UserAgent string `json:"user_agent"`
UserEmail nullable.Nullable[openapi_types.Email] `json:"user_email,omitempty"`
UserId nullable.Nullable[openapi_types.UUID] `json:"user_id,omitempty"`
UserName nullable.Nullable[string] `json:"user_name,omitempty"`
}
ActivityItem defines model for ActivityItem.
type ActivityResponse ¶
type ActivityResponse struct {
Data ActivityData `json:"data"`
Status ActivityResponseStatus `json:"status"`
}
ActivityResponse defines model for ActivityResponse.
type ActivityResponseStatus ¶
type ActivityResponseStatus string
ActivityResponseStatus defines model for ActivityResponse.Status.
const (
ActivityResponseStatusSuccess ActivityResponseStatus = "success"
)
Defines values for ActivityResponseStatus.
func (ActivityResponseStatus) Valid ¶
func (e ActivityResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the ActivityResponseStatus enum.
type AggregatedDailyStat ¶
type AggregatedDailyStat struct {
Date time.Time `json:"date"`
QueryByRcode *UsageMap `json:"query_by_rcode,omitempty"`
QueryByType *UsageMap `json:"query_by_type,omitempty"`
TotalQueries int64 `json:"total_queries"`
}
AggregatedDailyStat defines model for AggregatedDailyStat.
type AggregatedUsageResponse ¶
type AggregatedUsageResponse struct {
DailyStats []AggregatedDailyStat `json:"daily_stats"`
PeriodEnd time.Time `json:"period_end"`
PeriodStart time.Time `json:"period_start"`
QueryTypeBreakdown UsageMap `json:"query_type_breakdown"`
RcodeBreakdown UsageMap `json:"rcode_breakdown"`
TotalQueries int64 `json:"total_queries"`
}
AggregatedUsageResponse defines model for AggregatedUsageResponse.
type AggregatedUsageResponseEnvelope ¶
type AggregatedUsageResponseEnvelope struct {
Data AggregatedUsageResponse `json:"data"`
Status AggregatedUsageResponseEnvelopeStatus `json:"status"`
}
AggregatedUsageResponseEnvelope defines model for AggregatedUsageResponseEnvelope.
type AggregatedUsageResponseEnvelopeStatus ¶
type AggregatedUsageResponseEnvelopeStatus string
AggregatedUsageResponseEnvelopeStatus defines model for AggregatedUsageResponseEnvelope.Status.
const (
AggregatedUsageResponseEnvelopeStatusSuccess AggregatedUsageResponseEnvelopeStatus = "success"
)
Defines values for AggregatedUsageResponseEnvelopeStatus.
func (AggregatedUsageResponseEnvelopeStatus) Valid ¶
func (e AggregatedUsageResponseEnvelopeStatus) Valid() bool
Valid indicates whether the value is a known member of the AggregatedUsageResponseEnvelopeStatus enum.
type Alert ¶
type Alert struct {
Actions map[string]string `json:"actions"`
Channels []AlertChannel `json:"channels"`
CooldownSeconds *int `json:"cooldown_seconds,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
LastTriggeredAt nullable.Nullable[time.Time] `json:"last_triggered_at,omitempty"`
ScopeId string `json:"scope_id"`
ScopeType AlertScopeType `json:"scope_type"`
Severity *AlertSeverity `json:"severity,omitempty"`
Status *AlertStatus `json:"status,omitempty"`
ThresholdConfig *AlertThresholdConfig `json:"threshold_config,omitempty"`
Thresholds []int `json:"thresholds"`
UpdatedAt time.Time `json:"updated_at"`
}
Alert defines model for Alert.
type AlertChannel ¶
type AlertChannel struct {
EmailTo *[]openapi_types.Email `json:"email_to,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
PagerKey nullable.Nullable[string] `json:"pager_key,omitempty"`
SlackUrl nullable.Nullable[string] `json:"slack_url,omitempty"`
Type AlertChannelType `json:"type"`
WebhookUrl nullable.Nullable[string] `json:"webhook_url,omitempty"`
}
AlertChannel defines model for AlertChannel.
type AlertChannelType ¶
type AlertChannelType string
AlertChannelType defines model for AlertChannel.Type.
const ( Email AlertChannelType = "email" Pagerduty AlertChannelType = "pagerduty" Slack AlertChannelType = "slack" Webhook AlertChannelType = "webhook" )
Defines values for AlertChannelType.
func (AlertChannelType) Valid ¶
func (e AlertChannelType) Valid() bool
Valid indicates whether the value is a known member of the AlertChannelType enum.
type AlertData ¶
type AlertData struct {
Alert Alert `json:"alert"`
}
AlertData defines model for AlertData.
type AlertResponse ¶
type AlertResponse struct {
Data AlertData `json:"data"`
Status AlertResponseStatus `json:"status"`
}
AlertResponse defines model for AlertResponse.
type AlertResponseStatus ¶
type AlertResponseStatus string
AlertResponseStatus defines model for AlertResponse.Status.
const (
AlertResponseStatusSuccess AlertResponseStatus = "success"
)
Defines values for AlertResponseStatus.
func (AlertResponseStatus) Valid ¶
func (e AlertResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the AlertResponseStatus enum.
type AlertScopeType ¶
type AlertScopeType string
AlertScopeType defines model for AlertScopeType.
const ( AlertScopeTypeAccount AlertScopeType = "account" AlertScopeTypeZone AlertScopeType = "zone" )
Defines values for AlertScopeType.
func (AlertScopeType) Valid ¶
func (e AlertScopeType) Valid() bool
Valid indicates whether the value is a known member of the AlertScopeType enum.
type AlertSeverity ¶
type AlertSeverity string
AlertSeverity defines model for AlertSeverity.
const ( AlertSeverityCritical AlertSeverity = "critical" AlertSeverityInfo AlertSeverity = "info" AlertSeverityWarning AlertSeverity = "warning" )
Defines values for AlertSeverity.
func (AlertSeverity) Valid ¶
func (e AlertSeverity) Valid() bool
Valid indicates whether the value is a known member of the AlertSeverity enum.
type AlertStatus ¶
type AlertStatus string
AlertStatus defines model for AlertStatus.
const ( AlertStatusDisabled AlertStatus = "disabled" AlertStatusEnabled AlertStatus = "enabled" )
Defines values for AlertStatus.
func (AlertStatus) Valid ¶
func (e AlertStatus) Valid() bool
Valid indicates whether the value is a known member of the AlertStatus enum.
type AlertThresholdConfig ¶
type AlertThresholdConfig struct {
NxdomainRatioCritical *float64 `json:"nxdomain_ratio_critical,omitempty"`
NxdomainRatioWarning *float64 `json:"nxdomain_ratio_warning,omitempty"`
QpsCritical *int `json:"qps_critical,omitempty"`
QpsWarning *int `json:"qps_warning,omitempty"`
QueryDropThreshold *float64 `json:"query_drop_threshold,omitempty"`
RefusedQpsCritical *int `json:"refused_qps_critical,omitempty"`
RefusedQpsWarning *int `json:"refused_qps_warning,omitempty"`
ServfailRatioCritical *float64 `json:"servfail_ratio_critical,omitempty"`
ServfailRatioWarning *float64 `json:"servfail_ratio_warning,omitempty"`
}
AlertThresholdConfig defines model for AlertThresholdConfig.
type AlertsData ¶
type AlertsData struct {
Alerts []Alert `json:"alerts"`
}
AlertsData defines model for AlertsData.
type AlertsResponse ¶
type AlertsResponse struct {
Data AlertsData `json:"data"`
Status AlertsResponseStatus `json:"status"`
}
AlertsResponse defines model for AlertsResponse.
type AlertsResponseStatus ¶
type AlertsResponseStatus string
AlertsResponseStatus defines model for AlertsResponse.Status.
const (
AlertsResponseStatusSuccess AlertsResponseStatus = "success"
)
Defines values for AlertsResponseStatus.
func (AlertsResponseStatus) Valid ¶
func (e AlertsResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the AlertsResponseStatus enum.
type BillingHistory ¶
type BillingHistory struct {
Records []BillingSummary `json:"records"`
Total int `json:"total"`
}
BillingHistory defines model for BillingHistory.
type BillingHistoryResponseEnvelope ¶
type BillingHistoryResponseEnvelope struct {
Data BillingHistory `json:"data"`
Status BillingHistoryResponseEnvelopeStatus `json:"status"`
}
BillingHistoryResponseEnvelope defines model for BillingHistoryResponseEnvelope.
type BillingHistoryResponseEnvelopeStatus ¶
type BillingHistoryResponseEnvelopeStatus string
BillingHistoryResponseEnvelopeStatus defines model for BillingHistoryResponseEnvelope.Status.
const (
BillingHistoryResponseEnvelopeStatusSuccess BillingHistoryResponseEnvelopeStatus = "success"
)
Defines values for BillingHistoryResponseEnvelopeStatus.
func (BillingHistoryResponseEnvelopeStatus) Valid ¶
func (e BillingHistoryResponseEnvelopeStatus) Valid() bool
Valid indicates whether the value is a known member of the BillingHistoryResponseEnvelopeStatus enum.
type BillingSummary ¶
type BillingSummary struct {
BillingMonth string `json:"billing_month"`
CustomerId openapi_types.UUID `json:"customer_id"`
DaysActive *int `json:"days_active,omitempty"`
DaysInMonth *int `json:"days_in_month,omitempty"`
IncludedQueries int64 `json:"included_queries"`
IsProRated bool `json:"is_pro_rated"`
OverageAmount float64 `json:"overage_amount"`
OverageQueries int64 `json:"overage_queries"`
OverageRate float64 `json:"overage_rate"`
TotalQueries int64 `json:"total_queries"`
UsagePercentage float64 `json:"usage_percentage"`
}
BillingSummary defines model for BillingSummary.
type BillingSummaryResponseEnvelope ¶
type BillingSummaryResponseEnvelope struct {
Data BillingSummary `json:"data"`
Status BillingSummaryResponseEnvelopeStatus `json:"status"`
}
BillingSummaryResponseEnvelope defines model for BillingSummaryResponseEnvelope.
type BillingSummaryResponseEnvelopeStatus ¶
type BillingSummaryResponseEnvelopeStatus string
BillingSummaryResponseEnvelopeStatus defines model for BillingSummaryResponseEnvelope.Status.
const (
BillingSummaryResponseEnvelopeStatusSuccess BillingSummaryResponseEnvelopeStatus = "success"
)
Defines values for BillingSummaryResponseEnvelopeStatus.
func (BillingSummaryResponseEnvelopeStatus) Valid ¶
func (e BillingSummaryResponseEnvelopeStatus) Valid() bool
Valid indicates whether the value is a known member of the BillingSummaryResponseEnvelopeStatus enum.
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) CreateAPIKey ¶
func (c *Client) CreateAPIKey(ctx context.Context, userId UserId, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAPIKey Create an API key for a user
The secret key is returned only in this response. Use `zone_scopes` to restrict a key to zones and, optionally, exact DNS owner names within each zone. `zone_ids` is retained for compatibility and grants all DNS names in each listed zone. Do not send both fields with non-empty values.
Takes a body of the `application/json` content type.
Corresponds with POST /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
func (*Client) CreateAPIKeyWithBody ¶
func (c *Client) CreateAPIKeyWithBody(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAPIKeyWithBody Create an API key for a user
The secret key is returned only in this response. Use `zone_scopes` to restrict a key to zones and, optionally, exact DNS owner names within each zone. `zone_ids` is retained for compatibility and grants all DNS names in each listed zone. Do not send both fields with non-empty values.
Takes any type of body and a specified content type.
Corresponds with POST /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
func (*Client) CreateAlert ¶
func (c *Client) CreateAlert(ctx context.Context, body CreateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAlert Create a DNS traffic alert route
Takes a body of the `application/json` content type.
Corresponds with POST /alerts (the `CreateAlert` operationId).
func (*Client) CreateAlertWithBody ¶
func (c *Client) CreateAlertWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAlertWithBody Create a DNS traffic alert route
Takes any type of body and a specified content type.
Corresponds with POST /alerts (the `CreateAlert` operationId).
func (*Client) CreateDNSControlConnection ¶
func (c *Client) CreateDNSControlConnection(ctx context.Context, body CreateDNSControlConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSControlConnection Create and validate a read-only provider connection
Takes a body of the `application/json` content type.
Corresponds with POST /dns-sources/connections (the `CreateDNSControlConnection` operationId).
func (*Client) CreateDNSControlConnectionWithBody ¶
func (c *Client) CreateDNSControlConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSControlConnectionWithBody Create and validate a read-only provider connection
Takes any type of body and a specified content type.
Corresponds with POST /dns-sources/connections (the `CreateDNSControlConnection` operationId).
func (*Client) CreateDNSControlConnectionZoneSnapshot ¶
func (c *Client) CreateDNSControlConnectionZoneSnapshot(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body CreateDNSControlConnectionZoneSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSControlConnectionZoneSnapshot Capture a snapshot directly from an external provider zone
Takes a body of the `application/json` content type.
Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
func (*Client) CreateDNSControlConnectionZoneSnapshotWithBody ¶
func (c *Client) CreateDNSControlConnectionZoneSnapshotWithBody(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSControlConnectionZoneSnapshotWithBody Capture a snapshot directly from an external provider zone
Takes any type of body and a specified content type.
Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
func (*Client) CreateDNSControlInventorySnapshot ¶
func (c *Client) CreateDNSControlInventorySnapshot(ctx context.Context, inventoryId InventoryId, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSControlInventorySnapshot Capture a new snapshot for an inventory item
Corresponds with POST /dns-inventory/{inventory_id}/snapshots (the `CreateDNSControlInventorySnapshot` operationId).
func (*Client) CreateDNSSECCryptokey ¶
func (c *Client) CreateDNSSECCryptokey(ctx context.Context, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSSECCryptokey Create a DNSSEC cryptographic key
Takes a body of the `application/json` content type.
Corresponds with POST /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
func (*Client) CreateDNSSECCryptokeyWithBody ¶
func (c *Client) CreateDNSSECCryptokeyWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDNSSECCryptokeyWithBody Create a DNSSEC cryptographic key
Takes any type of body and a specified content type.
Corresponds with POST /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
func (*Client) CreateInvitation ¶
func (c *Client) CreateInvitation(ctx context.Context, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInvitation Invite a user to the authenticated customer account
Takes a body of the `application/json` content type.
Corresponds with POST /invitations-admin (the `CreateInvitation` operationId).
func (*Client) CreateInvitationWithBody ¶
func (c *Client) CreateInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInvitationWithBody Invite a user to the authenticated customer account
Takes any type of body and a specified content type.
Corresponds with POST /invitations-admin (the `CreateInvitation` operationId).
func (*Client) CreateRecord ¶
func (c *Client) CreateRecord(ctx context.Context, zoneId ZoneId, body CreateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRecord Create a DNS record value
Takes a body of the `application/json` content type.
Corresponds with POST /zones/{zone_id}/records (the `CreateRecord` operationId).
func (*Client) CreateRecordWithBody ¶
func (c *Client) CreateRecordWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRecordWithBody Create a DNS record value
Takes any type of body and a specified content type.
Corresponds with POST /zones/{zone_id}/records (the `CreateRecord` operationId).
func (*Client) CreateUser ¶
func (c *Client) CreateUser(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUser Create a user
Takes a body of the `application/json` content type.
Corresponds with POST /users (the `CreateUser` operationId).
func (*Client) CreateUserWithBody ¶
func (c *Client) CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateUserWithBody Create a user
Takes any type of body and a specified content type.
Corresponds with POST /users (the `CreateUser` operationId).
func (*Client) CreateZone ¶
func (c *Client) CreateZone(ctx context.Context, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateZone Create a zone
Takes a body of the `application/json` content type.
Corresponds with POST /zones (the `CreateZone` operationId).
func (*Client) CreateZoneWithBody ¶
func (c *Client) CreateZoneWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateZoneWithBody Create a zone
Takes any type of body and a specified content type.
Corresponds with POST /zones (the `CreateZone` operationId).
func (*Client) DeleteAPIKey ¶
func (c *Client) DeleteAPIKey(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAPIKey Revoke an API key
Corresponds with DELETE /users/{user_id}/apikeys/{key_id} (the `DeleteAPIKey` operationId).
func (*Client) DeleteAlert ¶
func (c *Client) DeleteAlert(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAlert Delete an alert route
Corresponds with DELETE /alerts/{alert_id} (the `DeleteAlert` operationId).
func (*Client) DeleteDNSSECCryptokey ¶
func (c *Client) DeleteDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDNSSECCryptokey Delete a DNSSEC cryptographic key
Corresponds with DELETE /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `DeleteDNSSECCryptokey` operationId).
func (*Client) DeleteInvitation ¶
func (c *Client) DeleteInvitation(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteInvitation Revoke an invitation
Corresponds with DELETE /invitations-admin/{invitation_id} (the `DeleteInvitation` operationId).
func (*Client) DeleteRecord ¶
func (c *Client) DeleteRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRecord Delete a record by its content-derived ID
Corresponds with DELETE /zones/{zone_id}/records/{record_id} (the `DeleteRecord` operationId).
func (*Client) DeleteRecordsByNameAndType ¶
func (c *Client) DeleteRecordsByNameAndType(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *DeleteRecordsByNameAndTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRecordsByNameAndType Delete matching record values
Omit `content` to delete the entire RRset, or supply it to delete one value.
Corresponds with DELETE /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `DeleteRecordsByNameAndType` operationId).
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteUser Delete a user and revoke their API keys
Corresponds with DELETE /users/{user_id} (the `DeleteUser` operationId).
func (*Client) DeleteZone ¶
func (c *Client) DeleteZone(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteZone Delete a zone and its records
Corresponds with DELETE /zones/{zone_id} (the `DeleteZone` operationId).
func (*Client) DiffDNSControlSnapshots ¶
func (c *Client) DiffDNSControlSnapshots(ctx context.Context, inventoryId InventoryId, fromSnapshotId FromSnapshotId, toSnapshotId ToSnapshotId, reqEditors ...RequestEditorFn) (*http.Response, error)
DiffDNSControlSnapshots Compare two immutable DNS state snapshots
Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{from_snapshot_id}/diff/{to_snapshot_id} (the `DiffDNSControlSnapshots` operationId).
func (*Client) GetAPIKey ¶
func (c *Client) GetAPIKey(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAPIKey Get API key metadata
Corresponds with GET /users/{user_id}/apikeys/{key_id} (the `GetAPIKey` operationId).
func (*Client) GetAlert ¶
func (c *Client) GetAlert(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAlert Get a DNS traffic alert route
Corresponds with GET /alerts/{alert_id} (the `GetAlert` operationId).
func (*Client) GetBillingHistory ¶
func (c *Client) GetBillingHistory(ctx context.Context, params *GetBillingHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingHistory List monthly billing records
Corresponds with GET /billing/history (the `GetBillingHistory` operationId).
func (*Client) GetBillingSummary ¶
func (c *Client) GetBillingSummary(ctx context.Context, params *GetBillingSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBillingSummary Get billing calculations for a month
Corresponds with GET /billing/summary (the `GetBillingSummary` operationId).
func (*Client) GetCurrentUsage ¶
func (c *Client) GetCurrentUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCurrentUsage Get usage for the current billing month
Corresponds with GET /usage/current (the `GetCurrentUsage` operationId).
func (*Client) GetDNSControlSnapshot ¶
func (c *Client) GetDNSControlSnapshot(ctx context.Context, inventoryId InventoryId, snapshotId SnapshotId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDNSControlSnapshot Get a snapshot and its normalized record sets
Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{snapshot_id} (the `GetDNSControlSnapshot` operationId).
func (*Client) GetDNSSECCryptokey ¶
func (c *Client) GetDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDNSSECCryptokey Get a DNSSEC cryptographic key
Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `GetDNSSECCryptokey` operationId).
func (*Client) GetDNSSECStatus ¶
func (c *Client) GetDNSSECStatus(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDNSSECStatus Get DNSSEC status for a zone
Corresponds with GET /zones/{zone_id}/dnssec/status (the `GetDNSSECStatus` operationId).
func (*Client) GetDailyUsage ¶
func (c *Client) GetDailyUsage(ctx context.Context, params *GetDailyUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDailyUsage Get daily usage aggregated across accessible zones
Corresponds with GET /usage/daily (the `GetDailyUsage` operationId).
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHealth Check API health
Corresponds with GET /health (the `GetHealth` operationId).
func (*Client) GetInvitation ¶
func (c *Client) GetInvitation(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetInvitation Get an invitation
Corresponds with GET /invitations-admin/{invitation_id} (the `GetInvitation` operationId).
func (*Client) GetRecord ¶
func (c *Client) GetRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRecord Get a record by its content-derived ID
Corresponds with GET /zones/{zone_id}/records/{record_id} (the `GetRecord` operationId).
func (*Client) GetUsageSummary ¶
func (c *Client) GetUsageSummary(ctx context.Context, params *GetUsageSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUsageSummary Get customer usage for a billing month
Corresponds with GET /usage/summary (the `GetUsageSummary` operationId).
func (*Client) GetUser ¶
func (c *Client) GetUser(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUser Get a user
Corresponds with GET /users/{user_id} (the `GetUser` operationId).
func (*Client) GetZone ¶
func (c *Client) GetZone(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
GetZone Get a zone
Corresponds with GET /zones/{zone_id} (the `GetZone` operationId).
func (*Client) GetZoneUsage ¶
func (c *Client) GetZoneUsage(ctx context.Context, zoneId ZoneId, params *GetZoneUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetZoneUsage Get daily usage for a zone
Corresponds with GET /zones/{zone_id}/usage (the `GetZoneUsage` operationId).
func (*Client) ListAPIKeys ¶
func (c *Client) ListAPIKeys(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAPIKeys List API keys for a user
Corresponds with GET /users/{user_id}/apikeys (the `ListAPIKeys` operationId).
func (*Client) ListActivity ¶
func (c *Client) ListActivity(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListActivity List customer activity and audit entries
Corresponds with GET /activity (the `ListActivity` operationId).
func (*Client) ListAlerts ¶
func (c *Client) ListAlerts(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAlerts List DNS traffic alert routes
Corresponds with GET /alerts (the `ListAlerts` operationId).
func (*Client) ListDNSControlConnectionZones ¶
func (c *Client) ListDNSControlConnectionZones(ctx context.Context, connectionId ConnectionId, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSControlConnectionZones List zones visible through a provider connection
Corresponds with GET /dns-sources/connections/{connection_id}/zones (the `ListDNSControlConnectionZones` operationId).
func (*Client) ListDNSControlConnections ¶
func (c *Client) ListDNSControlConnections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSControlConnections List redacted external DNS provider connections
Corresponds with GET /dns-sources/connections (the `ListDNSControlConnections` operationId).
func (*Client) ListDNSControlInventory ¶
func (c *Client) ListDNSControlInventory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSControlInventory List saved external DNS zone inventory
Corresponds with GET /dns-inventory (the `ListDNSControlInventory` operationId).
func (*Client) ListDNSControlProviders ¶
func (c *Client) ListDNSControlProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSControlProviders List supported external DNS provider adapters
Corresponds with GET /dns-sources/providers (the `ListDNSControlProviders` operationId).
func (*Client) ListDNSControlSnapshots ¶
func (c *Client) ListDNSControlSnapshots(ctx context.Context, inventoryId InventoryId, params *ListDNSControlSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSControlSnapshots List snapshots for an inventory item
Corresponds with GET /dns-inventory/{inventory_id}/snapshots (the `ListDNSControlSnapshots` operationId).
func (*Client) ListDNSSECCryptokeys ¶
func (c *Client) ListDNSSECCryptokeys(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSSECCryptokeys List DNSSEC cryptographic keys
Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys (the `ListDNSSECCryptokeys` operationId).
func (*Client) ListDNSSECDSRecords ¶
func (c *Client) ListDNSSECDSRecords(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDNSSECDSRecords List DS records to publish at the registrar
Corresponds with GET /zones/{zone_id}/dnssec/ds (the `ListDNSSECDSRecords` operationId).
func (*Client) ListInvitations ¶
func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListInvitations List account invitations
Corresponds with GET /invitations-admin (the `ListInvitations` operationId).
func (*Client) ListInvoices ¶
func (c *Client) ListInvoices(ctx context.Context, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListInvoices List Stripe invoice records and hosted invoice links
Corresponds with GET /billing/invoices (the `ListInvoices` operationId).
func (*Client) ListRecords ¶
func (c *Client) ListRecords(ctx context.Context, zoneId ZoneId, params *ListRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRecords List records in a zone
Corresponds with GET /zones/{zone_id}/records (the `ListRecords` operationId).
func (*Client) ListTopZonesByUsage ¶
func (c *Client) ListTopZonesByUsage(ctx context.Context, params *ListTopZonesByUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTopZonesByUsage List zones with the highest query volume
Corresponds with GET /usage/top-zones (the `ListTopZonesByUsage` operationId).
func (*Client) ListUsers ¶
func (c *Client) ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListUsers List users in the authenticated customer account
Corresponds with GET /users (the `ListUsers` operationId).
func (*Client) ListZones ¶
func (c *Client) ListZones(ctx context.Context, params *ListZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListZones List zones in the authenticated customer account
Corresponds with GET /zones (the `ListZones` operationId).
func (*Client) SaveDNSControlZoneInventory ¶
func (c *Client) SaveDNSControlZoneInventory(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body SaveDNSControlZoneInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveDNSControlZoneInventory Save an external zone as an inventory item
Takes a body of the `application/json` content type.
Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
func (*Client) SaveDNSControlZoneInventoryWithBody ¶
func (c *Client) SaveDNSControlZoneInventoryWithBody(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveDNSControlZoneInventoryWithBody Save an external zone as an inventory item
Takes any type of body and a specified content type.
Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
func (*Client) SetDNSSECStatus ¶
func (c *Client) SetDNSSECStatus(ctx context.Context, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDNSSECStatus Enable or disable DNSSEC
Takes a body of the `application/json` content type.
Corresponds with PATCH /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
func (*Client) SetDNSSECStatusWithBody ¶
func (c *Client) SetDNSSECStatusWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDNSSECStatusWithBody Enable or disable DNSSEC
Takes any type of body and a specified content type.
Corresponds with PATCH /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
func (*Client) UpdateAlert ¶
func (c *Client) UpdateAlert(ctx context.Context, alertId AlertId, body UpdateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAlert Update selected fields of an alert route
Takes a body of the `application/json` content type.
Corresponds with PATCH /alerts/{alert_id} (the `UpdateAlert` operationId).
func (*Client) UpdateAlertWithBody ¶
func (c *Client) UpdateAlertWithBody(ctx context.Context, alertId AlertId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAlertWithBody Update selected fields of an alert route
Takes any type of body and a specified content type.
Corresponds with PATCH /alerts/{alert_id} (the `UpdateAlert` operationId).
func (*Client) UpdateDNSSECCryptokey ¶
func (c *Client) UpdateDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, body UpdateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDNSSECCryptokey Activate, deactivate, publish, or unpublish a DNSSEC key
Takes a body of the `application/json` content type.
Corresponds with PUT /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
func (*Client) UpdateDNSSECCryptokeyWithBody ¶
func (c *Client) UpdateDNSSECCryptokeyWithBody(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDNSSECCryptokeyWithBody Activate, deactivate, publish, or unpublish a DNSSEC key
Takes any type of body and a specified content type.
Corresponds with PUT /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
func (*Client) UpdateRecord ¶
func (c *Client) UpdateRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, body UpdateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRecord Replace a record by its content-derived ID
The request name and type must match the record ID. A changed value produces a new record ID.
Takes a body of the `application/json` content type.
Corresponds with PUT /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
func (*Client) UpdateRecordByNameAndType ¶
func (c *Client) UpdateRecordByNameAndType(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, body UpdateRecordByNameAndTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRecordByNameAndType Update a record without tracking its content-derived ID
For a multi-value RRset, pass the old value in `content` to select one record.
Takes a body of the `application/json` content type.
Corresponds with PUT /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
func (*Client) UpdateRecordByNameAndTypeWithBody ¶
func (c *Client) UpdateRecordByNameAndTypeWithBody(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRecordByNameAndTypeWithBody Update a record without tracking its content-derived ID
For a multi-value RRset, pass the old value in `content` to select one record.
Takes any type of body and a specified content type.
Corresponds with PUT /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
func (*Client) UpdateRecordWithBody ¶
func (c *Client) UpdateRecordWithBody(ctx context.Context, zoneId ZoneId, recordId RecordId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRecordWithBody Replace a record by its content-derived ID
The request name and type must match the record ID. A changed value produces a new record ID.
Takes any type of body and a specified content type.
Corresponds with PUT /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(ctx context.Context, userId UserId, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUser Replace mutable user fields
Takes a body of the `application/json` content type.
Corresponds with PUT /users/{user_id} (the `UpdateUser` operationId).
func (*Client) UpdateUserWithBody ¶
func (c *Client) UpdateUserWithBody(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateUserWithBody Replace mutable user fields
Takes any type of body and a specified content type.
Corresponds with PUT /users/{user_id} (the `UpdateUser` operationId).
func (*Client) UpdateZone ¶
func (c *Client) UpdateZone(ctx context.Context, zoneId ZoneId, body UpdateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateZone Replace mutable zone fields
Takes a body of the `application/json` content type.
Corresponds with PUT /zones/{zone_id} (the `UpdateZone` operationId).
func (*Client) UpdateZoneWithBody ¶
func (c *Client) UpdateZoneWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateZoneWithBody Replace mutable zone fields
Takes any type of body and a specified content type.
Corresponds with PUT /zones/{zone_id} (the `UpdateZone` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ListActivity List customer activity and audit entries
//
// Corresponds with GET /activity (the `ListActivity` operationId).
ListActivity(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAlerts List DNS traffic alert routes
//
// Corresponds with GET /alerts (the `ListAlerts` operationId).
ListAlerts(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAlertWithBody Create a DNS traffic alert route
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /alerts (the `CreateAlert` operationId).
CreateAlertWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAlert Create a DNS traffic alert route
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /alerts (the `CreateAlert` operationId).
CreateAlert(ctx context.Context, body CreateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlert Delete an alert route
//
// Corresponds with DELETE /alerts/{alert_id} (the `DeleteAlert` operationId).
DeleteAlert(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAlert Get a DNS traffic alert route
//
// Corresponds with GET /alerts/{alert_id} (the `GetAlert` operationId).
GetAlert(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAlertWithBody Update selected fields of an alert route
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /alerts/{alert_id} (the `UpdateAlert` operationId).
UpdateAlertWithBody(ctx context.Context, alertId AlertId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAlert Update selected fields of an alert route
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /alerts/{alert_id} (the `UpdateAlert` operationId).
UpdateAlert(ctx context.Context, alertId AlertId, body UpdateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingHistory List monthly billing records
//
// Corresponds with GET /billing/history (the `GetBillingHistory` operationId).
GetBillingHistory(ctx context.Context, params *GetBillingHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInvoices List Stripe invoice records and hosted invoice links
//
// Corresponds with GET /billing/invoices (the `ListInvoices` operationId).
ListInvoices(ctx context.Context, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBillingSummary Get billing calculations for a month
//
// Corresponds with GET /billing/summary (the `GetBillingSummary` operationId).
GetBillingSummary(ctx context.Context, params *GetBillingSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSControlInventory List saved external DNS zone inventory
//
// Corresponds with GET /dns-inventory (the `ListDNSControlInventory` operationId).
ListDNSControlInventory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSControlSnapshots List snapshots for an inventory item
//
// Corresponds with GET /dns-inventory/{inventory_id}/snapshots (the `ListDNSControlSnapshots` operationId).
ListDNSControlSnapshots(ctx context.Context, inventoryId InventoryId, params *ListDNSControlSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSControlInventorySnapshot Capture a new snapshot for an inventory item
//
// Corresponds with POST /dns-inventory/{inventory_id}/snapshots (the `CreateDNSControlInventorySnapshot` operationId).
CreateDNSControlInventorySnapshot(ctx context.Context, inventoryId InventoryId, reqEditors ...RequestEditorFn) (*http.Response, error)
// DiffDNSControlSnapshots Compare two immutable DNS state snapshots
//
// Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{from_snapshot_id}/diff/{to_snapshot_id} (the `DiffDNSControlSnapshots` operationId).
DiffDNSControlSnapshots(ctx context.Context, inventoryId InventoryId, fromSnapshotId FromSnapshotId, toSnapshotId ToSnapshotId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDNSControlSnapshot Get a snapshot and its normalized record sets
//
// Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{snapshot_id} (the `GetDNSControlSnapshot` operationId).
GetDNSControlSnapshot(ctx context.Context, inventoryId InventoryId, snapshotId SnapshotId, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSControlConnections List redacted external DNS provider connections
//
// Corresponds with GET /dns-sources/connections (the `ListDNSControlConnections` operationId).
ListDNSControlConnections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSControlConnectionWithBody Create and validate a read-only provider connection
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /dns-sources/connections (the `CreateDNSControlConnection` operationId).
CreateDNSControlConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSControlConnection Create and validate a read-only provider connection
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /dns-sources/connections (the `CreateDNSControlConnection` operationId).
CreateDNSControlConnection(ctx context.Context, body CreateDNSControlConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSControlConnectionZones List zones visible through a provider connection
//
// Corresponds with GET /dns-sources/connections/{connection_id}/zones (the `ListDNSControlConnectionZones` operationId).
ListDNSControlConnectionZones(ctx context.Context, connectionId ConnectionId, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveDNSControlZoneInventoryWithBody Save an external zone as an inventory item
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
SaveDNSControlZoneInventoryWithBody(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveDNSControlZoneInventory Save an external zone as an inventory item
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
SaveDNSControlZoneInventory(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body SaveDNSControlZoneInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSControlConnectionZoneSnapshotWithBody Capture a snapshot directly from an external provider zone
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
CreateDNSControlConnectionZoneSnapshotWithBody(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSControlConnectionZoneSnapshot Capture a snapshot directly from an external provider zone
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
CreateDNSControlConnectionZoneSnapshot(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body CreateDNSControlConnectionZoneSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSControlProviders List supported external DNS provider adapters
//
// Corresponds with GET /dns-sources/providers (the `ListDNSControlProviders` operationId).
ListDNSControlProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealth Check API health
//
// Corresponds with GET /health (the `GetHealth` operationId).
GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInvitations List account invitations
//
// Corresponds with GET /invitations-admin (the `ListInvitations` operationId).
ListInvitations(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInvitationWithBody Invite a user to the authenticated customer account
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /invitations-admin (the `CreateInvitation` operationId).
CreateInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInvitation Invite a user to the authenticated customer account
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /invitations-admin (the `CreateInvitation` operationId).
CreateInvitation(ctx context.Context, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInvitation Revoke an invitation
//
// Corresponds with DELETE /invitations-admin/{invitation_id} (the `DeleteInvitation` operationId).
DeleteInvitation(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInvitation Get an invitation
//
// Corresponds with GET /invitations-admin/{invitation_id} (the `GetInvitation` operationId).
GetInvitation(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentUsage Get usage for the current billing month
//
// Corresponds with GET /usage/current (the `GetCurrentUsage` operationId).
GetCurrentUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDailyUsage Get daily usage aggregated across accessible zones
//
// Corresponds with GET /usage/daily (the `GetDailyUsage` operationId).
GetDailyUsage(ctx context.Context, params *GetDailyUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsageSummary Get customer usage for a billing month
//
// Corresponds with GET /usage/summary (the `GetUsageSummary` operationId).
GetUsageSummary(ctx context.Context, params *GetUsageSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTopZonesByUsage List zones with the highest query volume
//
// Corresponds with GET /usage/top-zones (the `ListTopZonesByUsage` operationId).
ListTopZonesByUsage(ctx context.Context, params *ListTopZonesByUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsers List users in the authenticated customer account
//
// Corresponds with GET /users (the `ListUsers` operationId).
ListUsers(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUserWithBody Create a user
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /users (the `CreateUser` operationId).
CreateUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateUser Create a user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /users (the `CreateUser` operationId).
CreateUser(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteUser Delete a user and revoke their API keys
//
// Corresponds with DELETE /users/{user_id} (the `DeleteUser` operationId).
DeleteUser(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUser Get a user
//
// Corresponds with GET /users/{user_id} (the `GetUser` operationId).
GetUser(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUserWithBody Replace mutable user fields
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /users/{user_id} (the `UpdateUser` operationId).
UpdateUserWithBody(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateUser Replace mutable user fields
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /users/{user_id} (the `UpdateUser` operationId).
UpdateUser(ctx context.Context, userId UserId, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAPIKeys List API keys for a user
//
// Corresponds with GET /users/{user_id}/apikeys (the `ListAPIKeys` operationId).
ListAPIKeys(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAPIKeyWithBody Create an API key for a user
//
// The secret key is returned only in this response. Use `zone_scopes` to
// restrict a key to zones and, optionally, exact DNS owner names within
// each zone. `zone_ids` is retained for compatibility and grants all DNS
// names in each listed zone. Do not send both fields with non-empty values.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
CreateAPIKeyWithBody(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAPIKey Create an API key for a user
//
// The secret key is returned only in this response. Use `zone_scopes` to
// restrict a key to zones and, optionally, exact DNS owner names within
// each zone. `zone_ids` is retained for compatibility and grants all DNS
// names in each listed zone. Do not send both fields with non-empty values.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
CreateAPIKey(ctx context.Context, userId UserId, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAPIKey Revoke an API key
//
// Corresponds with DELETE /users/{user_id}/apikeys/{key_id} (the `DeleteAPIKey` operationId).
DeleteAPIKey(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAPIKey Get API key metadata
//
// Corresponds with GET /users/{user_id}/apikeys/{key_id} (the `GetAPIKey` operationId).
GetAPIKey(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListZones List zones in the authenticated customer account
//
// Corresponds with GET /zones (the `ListZones` operationId).
ListZones(ctx context.Context, params *ListZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateZoneWithBody Create a zone
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /zones (the `CreateZone` operationId).
CreateZoneWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateZone Create a zone
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /zones (the `CreateZone` operationId).
CreateZone(ctx context.Context, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteZone Delete a zone and its records
//
// Corresponds with DELETE /zones/{zone_id} (the `DeleteZone` operationId).
DeleteZone(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetZone Get a zone
//
// Corresponds with GET /zones/{zone_id} (the `GetZone` operationId).
GetZone(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateZoneWithBody Replace mutable zone fields
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /zones/{zone_id} (the `UpdateZone` operationId).
UpdateZoneWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateZone Replace mutable zone fields
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /zones/{zone_id} (the `UpdateZone` operationId).
UpdateZone(ctx context.Context, zoneId ZoneId, body UpdateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSSECCryptokeys List DNSSEC cryptographic keys
//
// Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys (the `ListDNSSECCryptokeys` operationId).
ListDNSSECCryptokeys(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSSECCryptokeyWithBody Create a DNSSEC cryptographic key
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
CreateDNSSECCryptokeyWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDNSSECCryptokey Create a DNSSEC cryptographic key
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
CreateDNSSECCryptokey(ctx context.Context, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDNSSECCryptokey Delete a DNSSEC cryptographic key
//
// Corresponds with DELETE /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `DeleteDNSSECCryptokey` operationId).
DeleteDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDNSSECCryptokey Get a DNSSEC cryptographic key
//
// Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `GetDNSSECCryptokey` operationId).
GetDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDNSSECCryptokeyWithBody Activate, deactivate, publish, or unpublish a DNSSEC key
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
UpdateDNSSECCryptokeyWithBody(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDNSSECCryptokey Activate, deactivate, publish, or unpublish a DNSSEC key
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
UpdateDNSSECCryptokey(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, body UpdateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDNSSECDSRecords List DS records to publish at the registrar
//
// Corresponds with GET /zones/{zone_id}/dnssec/ds (the `ListDNSSECDSRecords` operationId).
ListDNSSECDSRecords(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDNSSECStatus Get DNSSEC status for a zone
//
// Corresponds with GET /zones/{zone_id}/dnssec/status (the `GetDNSSECStatus` operationId).
GetDNSSECStatus(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDNSSECStatusWithBody Enable or disable DNSSEC
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
SetDNSSECStatusWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDNSSECStatus Enable or disable DNSSEC
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
SetDNSSECStatus(ctx context.Context, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRecords List records in a zone
//
// Corresponds with GET /zones/{zone_id}/records (the `ListRecords` operationId).
ListRecords(ctx context.Context, zoneId ZoneId, params *ListRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRecordWithBody Create a DNS record value
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /zones/{zone_id}/records (the `CreateRecord` operationId).
CreateRecordWithBody(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRecord Create a DNS record value
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /zones/{zone_id}/records (the `CreateRecord` operationId).
CreateRecord(ctx context.Context, zoneId ZoneId, body CreateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRecordsByNameAndType Delete matching record values
//
// Omit `content` to delete the entire RRset, or supply it to delete one value.
//
// Corresponds with DELETE /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `DeleteRecordsByNameAndType` operationId).
DeleteRecordsByNameAndType(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *DeleteRecordsByNameAndTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRecordByNameAndTypeWithBody Update a record without tracking its content-derived ID
//
// For a multi-value RRset, pass the old value in `content` to select one record.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
UpdateRecordByNameAndTypeWithBody(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRecordByNameAndType Update a record without tracking its content-derived ID
//
// For a multi-value RRset, pass the old value in `content` to select one record.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
UpdateRecordByNameAndType(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, body UpdateRecordByNameAndTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRecord Delete a record by its content-derived ID
//
// Corresponds with DELETE /zones/{zone_id}/records/{record_id} (the `DeleteRecord` operationId).
DeleteRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRecord Get a record by its content-derived ID
//
// Corresponds with GET /zones/{zone_id}/records/{record_id} (the `GetRecord` operationId).
GetRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRecordWithBody Replace a record by its content-derived ID
//
// The request name and type must match the record ID. A changed value produces a new record ID.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
UpdateRecordWithBody(ctx context.Context, zoneId ZoneId, recordId RecordId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRecord Replace a record by its content-derived ID
//
// The request name and type must match the record ID. A changed value produces a new record ID.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
UpdateRecord(ctx context.Context, zoneId ZoneId, recordId RecordId, body UpdateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetZoneUsage Get daily usage for a zone
//
// Corresponds with GET /zones/{zone_id}/usage (the `GetZoneUsage` operationId).
GetZoneUsage(ctx context.Context, zoneId ZoneId, params *GetZoneUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) CreateAPIKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
CreateAPIKeyWithBodyWithResponse Create an API key for a user
The secret key is returned only in this response. Use `zone_scopes` to restrict a key to zones and, optionally, exact DNS owner names within each zone. `zone_ids` is retained for compatibility and grants all DNS names in each listed zone. Do not send both fields with non-empty values.
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 /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
func (*ClientWithResponses) CreateAPIKeyWithResponse ¶
func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, userId UserId, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
CreateAPIKeyWithResponse Create an API key for a user
The secret key is returned only in this response. Use `zone_scopes` to restrict a key to zones and, optionally, exact DNS owner names within each zone. `zone_ids` is retained for compatibility and grants all DNS names in each listed zone. Do not send both fields with non-empty values.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
func (*ClientWithResponses) CreateAlertWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertResponse, error)
CreateAlertWithBodyWithResponse Create a DNS traffic alert route
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 /alerts (the `CreateAlert` operationId).
func (*ClientWithResponses) CreateAlertWithResponse ¶
func (c *ClientWithResponses) CreateAlertWithResponse(ctx context.Context, body CreateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertResponse, error)
CreateAlertWithResponse Create a DNS traffic alert route
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /alerts (the `CreateAlert` operationId).
func (*ClientWithResponses) CreateDNSControlConnectionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDNSControlConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionResponse, error)
CreateDNSControlConnectionWithBodyWithResponse Create and validate a read-only provider connection
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 /dns-sources/connections (the `CreateDNSControlConnection` operationId).
func (*ClientWithResponses) CreateDNSControlConnectionWithResponse ¶
func (c *ClientWithResponses) CreateDNSControlConnectionWithResponse(ctx context.Context, body CreateDNSControlConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionResponse, error)
CreateDNSControlConnectionWithResponse Create and validate a read-only provider connection
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /dns-sources/connections (the `CreateDNSControlConnection` operationId).
func (*ClientWithResponses) CreateDNSControlConnectionZoneSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDNSControlConnectionZoneSnapshotWithBodyWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
CreateDNSControlConnectionZoneSnapshotWithBodyWithResponse Capture a snapshot directly from an external provider zone
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 /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
func (*ClientWithResponses) CreateDNSControlConnectionZoneSnapshotWithResponse ¶
func (c *ClientWithResponses) CreateDNSControlConnectionZoneSnapshotWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body CreateDNSControlConnectionZoneSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
CreateDNSControlConnectionZoneSnapshotWithResponse Capture a snapshot directly from an external provider zone
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
func (*ClientWithResponses) CreateDNSControlInventorySnapshotWithResponse ¶
func (c *ClientWithResponses) CreateDNSControlInventorySnapshotWithResponse(ctx context.Context, inventoryId InventoryId, reqEditors ...RequestEditorFn) (*CreateDNSControlInventorySnapshotResponse, error)
CreateDNSControlInventorySnapshotWithResponse Capture a new snapshot for an inventory item
Returns a wrapper object for the known response body format(s).
Corresponds with POST /dns-inventory/{inventory_id}/snapshots (the `CreateDNSControlInventorySnapshot` operationId).
func (*ClientWithResponses) CreateDNSSECCryptokeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDNSSECCryptokeyWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDNSSECCryptokeyResponse, error)
CreateDNSSECCryptokeyWithBodyWithResponse Create a DNSSEC cryptographic key
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 /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
func (*ClientWithResponses) CreateDNSSECCryptokeyWithResponse ¶
func (c *ClientWithResponses) CreateDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDNSSECCryptokeyResponse, error)
CreateDNSSECCryptokeyWithResponse Create a DNSSEC cryptographic key
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
func (*ClientWithResponses) CreateInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)
CreateInvitationWithBodyWithResponse Invite a user to the authenticated customer account
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 /invitations-admin (the `CreateInvitation` operationId).
func (*ClientWithResponses) CreateInvitationWithResponse ¶
func (c *ClientWithResponses) CreateInvitationWithResponse(ctx context.Context, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)
CreateInvitationWithResponse Invite a user to the authenticated customer account
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /invitations-admin (the `CreateInvitation` operationId).
func (*ClientWithResponses) CreateRecordWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRecordWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRecordResponse, error)
CreateRecordWithBodyWithResponse Create a DNS record value
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 /zones/{zone_id}/records (the `CreateRecord` operationId).
func (*ClientWithResponses) CreateRecordWithResponse ¶
func (c *ClientWithResponses) CreateRecordWithResponse(ctx context.Context, zoneId ZoneId, body CreateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRecordResponse, error)
CreateRecordWithResponse Create a DNS record value
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /zones/{zone_id}/records (the `CreateRecord` operationId).
func (*ClientWithResponses) CreateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
CreateUserWithBodyWithResponse Create a user
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 /users (the `CreateUser` operationId).
func (*ClientWithResponses) CreateUserWithResponse ¶
func (c *ClientWithResponses) CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
CreateUserWithResponse Create a user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /users (the `CreateUser` operationId).
func (*ClientWithResponses) CreateZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)
CreateZoneWithBodyWithResponse Create a zone
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 /zones (the `CreateZone` operationId).
func (*ClientWithResponses) CreateZoneWithResponse ¶
func (c *ClientWithResponses) CreateZoneWithResponse(ctx context.Context, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)
CreateZoneWithResponse Create a zone
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /zones (the `CreateZone` operationId).
func (*ClientWithResponses) DeleteAPIKeyWithResponse ¶
func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)
DeleteAPIKeyWithResponse Revoke an API key
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /users/{user_id}/apikeys/{key_id} (the `DeleteAPIKey` operationId).
func (*ClientWithResponses) DeleteAlertWithResponse ¶
func (c *ClientWithResponses) DeleteAlertWithResponse(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*DeleteAlertResponse, error)
DeleteAlertWithResponse Delete an alert route
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /alerts/{alert_id} (the `DeleteAlert` operationId).
func (*ClientWithResponses) DeleteDNSSECCryptokeyWithResponse ¶
func (c *ClientWithResponses) DeleteDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*DeleteDNSSECCryptokeyResponse, error)
DeleteDNSSECCryptokeyWithResponse Delete a DNSSEC cryptographic key
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `DeleteDNSSECCryptokey` operationId).
func (*ClientWithResponses) DeleteInvitationWithResponse ¶
func (c *ClientWithResponses) DeleteInvitationWithResponse(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*DeleteInvitationResponse, error)
DeleteInvitationWithResponse Revoke an invitation
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /invitations-admin/{invitation_id} (the `DeleteInvitation` operationId).
func (*ClientWithResponses) DeleteRecordWithResponse ¶
func (c *ClientWithResponses) DeleteRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*DeleteRecordResponse, error)
DeleteRecordWithResponse Delete a record by its content-derived ID
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /zones/{zone_id}/records/{record_id} (the `DeleteRecord` operationId).
func (*ClientWithResponses) DeleteRecordsByNameAndTypeWithResponse ¶
func (c *ClientWithResponses) DeleteRecordsByNameAndTypeWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *DeleteRecordsByNameAndTypeParams, reqEditors ...RequestEditorFn) (*DeleteRecordsByNameAndTypeResponse, error)
DeleteRecordsByNameAndTypeWithResponse Delete matching record values
Omit `content` to delete the entire RRset, or supply it to delete one value.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `DeleteRecordsByNameAndType` operationId).
func (*ClientWithResponses) DeleteUserWithResponse ¶
func (c *ClientWithResponses) DeleteUserWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
DeleteUserWithResponse Delete a user and revoke their API keys
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /users/{user_id} (the `DeleteUser` operationId).
func (*ClientWithResponses) DeleteZoneWithResponse ¶
func (c *ClientWithResponses) DeleteZoneWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneResponse, error)
DeleteZoneWithResponse Delete a zone and its records
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /zones/{zone_id} (the `DeleteZone` operationId).
func (*ClientWithResponses) DiffDNSControlSnapshotsWithResponse ¶
func (c *ClientWithResponses) DiffDNSControlSnapshotsWithResponse(ctx context.Context, inventoryId InventoryId, fromSnapshotId FromSnapshotId, toSnapshotId ToSnapshotId, reqEditors ...RequestEditorFn) (*DiffDNSControlSnapshotsResponse, error)
DiffDNSControlSnapshotsWithResponse Compare two immutable DNS state snapshots
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{from_snapshot_id}/diff/{to_snapshot_id} (the `DiffDNSControlSnapshots` operationId).
func (*ClientWithResponses) GetAPIKeyWithResponse ¶
func (c *ClientWithResponses) GetAPIKeyWithResponse(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)
GetAPIKeyWithResponse Get API key metadata
Returns a wrapper object for the known response body format(s).
Corresponds with GET /users/{user_id}/apikeys/{key_id} (the `GetAPIKey` operationId).
func (*ClientWithResponses) GetAlertWithResponse ¶
func (c *ClientWithResponses) GetAlertWithResponse(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*GetAlertResponse, error)
GetAlertWithResponse Get a DNS traffic alert route
Returns a wrapper object for the known response body format(s).
Corresponds with GET /alerts/{alert_id} (the `GetAlert` operationId).
func (*ClientWithResponses) GetBillingHistoryWithResponse ¶
func (c *ClientWithResponses) GetBillingHistoryWithResponse(ctx context.Context, params *GetBillingHistoryParams, reqEditors ...RequestEditorFn) (*GetBillingHistoryResponse, error)
GetBillingHistoryWithResponse List monthly billing records
Returns a wrapper object for the known response body format(s).
Corresponds with GET /billing/history (the `GetBillingHistory` operationId).
func (*ClientWithResponses) GetBillingSummaryWithResponse ¶
func (c *ClientWithResponses) GetBillingSummaryWithResponse(ctx context.Context, params *GetBillingSummaryParams, reqEditors ...RequestEditorFn) (*GetBillingSummaryResponse, error)
GetBillingSummaryWithResponse Get billing calculations for a month
Returns a wrapper object for the known response body format(s).
Corresponds with GET /billing/summary (the `GetBillingSummary` operationId).
func (*ClientWithResponses) GetCurrentUsageWithResponse ¶
func (c *ClientWithResponses) GetCurrentUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUsageResponse, error)
GetCurrentUsageWithResponse Get usage for the current billing month
Returns a wrapper object for the known response body format(s).
Corresponds with GET /usage/current (the `GetCurrentUsage` operationId).
func (*ClientWithResponses) GetDNSControlSnapshotWithResponse ¶
func (c *ClientWithResponses) GetDNSControlSnapshotWithResponse(ctx context.Context, inventoryId InventoryId, snapshotId SnapshotId, reqEditors ...RequestEditorFn) (*GetDNSControlSnapshotResponse, error)
GetDNSControlSnapshotWithResponse Get a snapshot and its normalized record sets
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{snapshot_id} (the `GetDNSControlSnapshot` operationId).
func (*ClientWithResponses) GetDNSSECCryptokeyWithResponse ¶
func (c *ClientWithResponses) GetDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*GetDNSSECCryptokeyResponse, error)
GetDNSSECCryptokeyWithResponse Get a DNSSEC cryptographic key
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `GetDNSSECCryptokey` operationId).
func (*ClientWithResponses) GetDNSSECStatusWithResponse ¶
func (c *ClientWithResponses) GetDNSSECStatusWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetDNSSECStatusResponse, error)
GetDNSSECStatusWithResponse Get DNSSEC status for a zone
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/dnssec/status (the `GetDNSSECStatus` operationId).
func (*ClientWithResponses) GetDailyUsageWithResponse ¶
func (c *ClientWithResponses) GetDailyUsageWithResponse(ctx context.Context, params *GetDailyUsageParams, reqEditors ...RequestEditorFn) (*GetDailyUsageResponse, error)
GetDailyUsageWithResponse Get daily usage aggregated across accessible zones
Returns a wrapper object for the known response body format(s).
Corresponds with GET /usage/daily (the `GetDailyUsage` operationId).
func (*ClientWithResponses) GetHealthWithResponse ¶
func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
GetHealthWithResponse Check API health
Returns a wrapper object for the known response body format(s).
Corresponds with GET /health (the `GetHealth` operationId).
func (*ClientWithResponses) GetInvitationWithResponse ¶
func (c *ClientWithResponses) GetInvitationWithResponse(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*GetInvitationResponse, error)
GetInvitationWithResponse Get an invitation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /invitations-admin/{invitation_id} (the `GetInvitation` operationId).
func (*ClientWithResponses) GetRecordWithResponse ¶
func (c *ClientWithResponses) GetRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*GetRecordResponse, error)
GetRecordWithResponse Get a record by its content-derived ID
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/records/{record_id} (the `GetRecord` operationId).
func (*ClientWithResponses) GetUsageSummaryWithResponse ¶
func (c *ClientWithResponses) GetUsageSummaryWithResponse(ctx context.Context, params *GetUsageSummaryParams, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)
GetUsageSummaryWithResponse Get customer usage for a billing month
Returns a wrapper object for the known response body format(s).
Corresponds with GET /usage/summary (the `GetUsageSummary` operationId).
func (*ClientWithResponses) GetUserWithResponse ¶
func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
GetUserWithResponse Get a user
Returns a wrapper object for the known response body format(s).
Corresponds with GET /users/{user_id} (the `GetUser` operationId).
func (*ClientWithResponses) GetZoneUsageWithResponse ¶
func (c *ClientWithResponses) GetZoneUsageWithResponse(ctx context.Context, zoneId ZoneId, params *GetZoneUsageParams, reqEditors ...RequestEditorFn) (*GetZoneUsageResponse, error)
GetZoneUsageWithResponse Get daily usage for a zone
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/usage (the `GetZoneUsage` operationId).
func (*ClientWithResponses) GetZoneWithResponse ¶
func (c *ClientWithResponses) GetZoneWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneResponse, error)
GetZoneWithResponse Get a zone
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id} (the `GetZone` operationId).
func (*ClientWithResponses) ListAPIKeysWithResponse ¶
func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
ListAPIKeysWithResponse List API keys for a user
Returns a wrapper object for the known response body format(s).
Corresponds with GET /users/{user_id}/apikeys (the `ListAPIKeys` operationId).
func (*ClientWithResponses) ListActivityWithResponse ¶
func (c *ClientWithResponses) ListActivityWithResponse(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*ListActivityResponse, error)
ListActivityWithResponse List customer activity and audit entries
Returns a wrapper object for the known response body format(s).
Corresponds with GET /activity (the `ListActivity` operationId).
func (*ClientWithResponses) ListAlertsWithResponse ¶
func (c *ClientWithResponses) ListAlertsWithResponse(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*ListAlertsResponse, error)
ListAlertsWithResponse List DNS traffic alert routes
Returns a wrapper object for the known response body format(s).
Corresponds with GET /alerts (the `ListAlerts` operationId).
func (*ClientWithResponses) ListDNSControlConnectionZonesWithResponse ¶
func (c *ClientWithResponses) ListDNSControlConnectionZonesWithResponse(ctx context.Context, connectionId ConnectionId, reqEditors ...RequestEditorFn) (*ListDNSControlConnectionZonesResponse, error)
ListDNSControlConnectionZonesWithResponse List zones visible through a provider connection
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-sources/connections/{connection_id}/zones (the `ListDNSControlConnectionZones` operationId).
func (*ClientWithResponses) ListDNSControlConnectionsWithResponse ¶
func (c *ClientWithResponses) ListDNSControlConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlConnectionsResponse, error)
ListDNSControlConnectionsWithResponse List redacted external DNS provider connections
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-sources/connections (the `ListDNSControlConnections` operationId).
func (*ClientWithResponses) ListDNSControlInventoryWithResponse ¶
func (c *ClientWithResponses) ListDNSControlInventoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlInventoryResponse, error)
ListDNSControlInventoryWithResponse List saved external DNS zone inventory
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-inventory (the `ListDNSControlInventory` operationId).
func (*ClientWithResponses) ListDNSControlProvidersWithResponse ¶
func (c *ClientWithResponses) ListDNSControlProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlProvidersResponse, error)
ListDNSControlProvidersWithResponse List supported external DNS provider adapters
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-sources/providers (the `ListDNSControlProviders` operationId).
func (*ClientWithResponses) ListDNSControlSnapshotsWithResponse ¶
func (c *ClientWithResponses) ListDNSControlSnapshotsWithResponse(ctx context.Context, inventoryId InventoryId, params *ListDNSControlSnapshotsParams, reqEditors ...RequestEditorFn) (*ListDNSControlSnapshotsResponse, error)
ListDNSControlSnapshotsWithResponse List snapshots for an inventory item
Returns a wrapper object for the known response body format(s).
Corresponds with GET /dns-inventory/{inventory_id}/snapshots (the `ListDNSControlSnapshots` operationId).
func (*ClientWithResponses) ListDNSSECCryptokeysWithResponse ¶
func (c *ClientWithResponses) ListDNSSECCryptokeysWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListDNSSECCryptokeysResponse, error)
ListDNSSECCryptokeysWithResponse List DNSSEC cryptographic keys
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys (the `ListDNSSECCryptokeys` operationId).
func (*ClientWithResponses) ListDNSSECDSRecordsWithResponse ¶
func (c *ClientWithResponses) ListDNSSECDSRecordsWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListDNSSECDSRecordsResponse, error)
ListDNSSECDSRecordsWithResponse List DS records to publish at the registrar
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/dnssec/ds (the `ListDNSSECDSRecords` operationId).
func (*ClientWithResponses) ListInvitationsWithResponse ¶
func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)
ListInvitationsWithResponse List account invitations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /invitations-admin (the `ListInvitations` operationId).
func (*ClientWithResponses) ListInvoicesWithResponse ¶
func (c *ClientWithResponses) ListInvoicesWithResponse(ctx context.Context, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)
ListInvoicesWithResponse List Stripe invoice records and hosted invoice links
Returns a wrapper object for the known response body format(s).
Corresponds with GET /billing/invoices (the `ListInvoices` operationId).
func (*ClientWithResponses) ListRecordsWithResponse ¶
func (c *ClientWithResponses) ListRecordsWithResponse(ctx context.Context, zoneId ZoneId, params *ListRecordsParams, reqEditors ...RequestEditorFn) (*ListRecordsResponse, error)
ListRecordsWithResponse List records in a zone
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones/{zone_id}/records (the `ListRecords` operationId).
func (*ClientWithResponses) ListTopZonesByUsageWithResponse ¶
func (c *ClientWithResponses) ListTopZonesByUsageWithResponse(ctx context.Context, params *ListTopZonesByUsageParams, reqEditors ...RequestEditorFn) (*ListTopZonesByUsageResponse, error)
ListTopZonesByUsageWithResponse List zones with the highest query volume
Returns a wrapper object for the known response body format(s).
Corresponds with GET /usage/top-zones (the `ListTopZonesByUsage` operationId).
func (*ClientWithResponses) ListUsersWithResponse ¶
func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
ListUsersWithResponse List users in the authenticated customer account
Returns a wrapper object for the known response body format(s).
Corresponds with GET /users (the `ListUsers` operationId).
func (*ClientWithResponses) ListZonesWithResponse ¶
func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context, params *ListZonesParams, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)
ListZonesWithResponse List zones in the authenticated customer account
Returns a wrapper object for the known response body format(s).
Corresponds with GET /zones (the `ListZones` operationId).
func (*ClientWithResponses) SaveDNSControlZoneInventoryWithBodyWithResponse ¶
func (c *ClientWithResponses) SaveDNSControlZoneInventoryWithBodyWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveDNSControlZoneInventoryResponse, error)
SaveDNSControlZoneInventoryWithBodyWithResponse Save an external zone as an inventory item
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 /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
func (*ClientWithResponses) SaveDNSControlZoneInventoryWithResponse ¶
func (c *ClientWithResponses) SaveDNSControlZoneInventoryWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body SaveDNSControlZoneInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveDNSControlZoneInventoryResponse, error)
SaveDNSControlZoneInventoryWithResponse Save an external zone as an inventory item
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
func (*ClientWithResponses) SetDNSSECStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) SetDNSSECStatusWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDNSSECStatusResponse, error)
SetDNSSECStatusWithBodyWithResponse Enable or disable DNSSEC
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 /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
func (*ClientWithResponses) SetDNSSECStatusWithResponse ¶
func (c *ClientWithResponses) SetDNSSECStatusWithResponse(ctx context.Context, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDNSSECStatusResponse, error)
SetDNSSECStatusWithResponse Enable or disable DNSSEC
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
func (*ClientWithResponses) UpdateAlertWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAlertWithBodyWithResponse(ctx context.Context, alertId AlertId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAlertResponse, error)
UpdateAlertWithBodyWithResponse Update selected fields of an alert route
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 /alerts/{alert_id} (the `UpdateAlert` operationId).
func (*ClientWithResponses) UpdateAlertWithResponse ¶
func (c *ClientWithResponses) UpdateAlertWithResponse(ctx context.Context, alertId AlertId, body UpdateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAlertResponse, error)
UpdateAlertWithResponse Update selected fields of an alert route
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /alerts/{alert_id} (the `UpdateAlert` operationId).
func (*ClientWithResponses) UpdateDNSSECCryptokeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDNSSECCryptokeyWithBodyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDNSSECCryptokeyResponse, error)
UpdateDNSSECCryptokeyWithBodyWithResponse Activate, deactivate, publish, or unpublish a DNSSEC key
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 /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
func (*ClientWithResponses) UpdateDNSSECCryptokeyWithResponse ¶
func (c *ClientWithResponses) UpdateDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, body UpdateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDNSSECCryptokeyResponse, error)
UpdateDNSSECCryptokeyWithResponse Activate, deactivate, publish, or unpublish a DNSSEC key
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
func (*ClientWithResponses) UpdateRecordByNameAndTypeWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRecordByNameAndTypeWithBodyWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecordByNameAndTypeResponse, error)
UpdateRecordByNameAndTypeWithBodyWithResponse Update a record without tracking its content-derived ID
For a multi-value RRset, pass the old value in `content` to select one record.
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 /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
func (*ClientWithResponses) UpdateRecordByNameAndTypeWithResponse ¶
func (c *ClientWithResponses) UpdateRecordByNameAndTypeWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, body UpdateRecordByNameAndTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecordByNameAndTypeResponse, error)
UpdateRecordByNameAndTypeWithResponse Update a record without tracking its content-derived ID
For a multi-value RRset, pass the old value in `content` to select one record.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
func (*ClientWithResponses) UpdateRecordWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRecordWithBodyWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecordResponse, error)
UpdateRecordWithBodyWithResponse Replace a record by its content-derived ID
The request name and type must match the record ID. A changed value produces a new record 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 /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
func (*ClientWithResponses) UpdateRecordWithResponse ¶
func (c *ClientWithResponses) UpdateRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, body UpdateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecordResponse, error)
UpdateRecordWithResponse Replace a record by its content-derived ID
The request name and type must match the record ID. A changed value produces a new record 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 /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
func (*ClientWithResponses) UpdateUserWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateUserWithBodyWithResponse(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
UpdateUserWithBodyWithResponse Replace mutable user fields
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 /users/{user_id} (the `UpdateUser` operationId).
func (*ClientWithResponses) UpdateUserWithResponse ¶
func (c *ClientWithResponses) UpdateUserWithResponse(ctx context.Context, userId UserId, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
UpdateUserWithResponse Replace mutable user fields
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /users/{user_id} (the `UpdateUser` operationId).
func (*ClientWithResponses) UpdateZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateZoneWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateZoneResponse, error)
UpdateZoneWithBodyWithResponse Replace mutable zone fields
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 /zones/{zone_id} (the `UpdateZone` operationId).
func (*ClientWithResponses) UpdateZoneWithResponse ¶
func (c *ClientWithResponses) UpdateZoneWithResponse(ctx context.Context, zoneId ZoneId, body UpdateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateZoneResponse, error)
UpdateZoneWithResponse Replace mutable zone fields
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /zones/{zone_id} (the `UpdateZone` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListActivityWithResponse List customer activity and audit entries
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /activity (the `ListActivity` operationId).
ListActivityWithResponse(ctx context.Context, params *ListActivityParams, reqEditors ...RequestEditorFn) (*ListActivityResponse, error)
// ListAlertsWithResponse List DNS traffic alert routes
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /alerts (the `ListAlerts` operationId).
ListAlertsWithResponse(ctx context.Context, params *ListAlertsParams, reqEditors ...RequestEditorFn) (*ListAlertsResponse, error)
// CreateAlertWithBodyWithResponse Create a DNS traffic alert route
//
// 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 /alerts (the `CreateAlert` operationId).
CreateAlertWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertResponse, error)
// CreateAlertWithResponse Create a DNS traffic alert route
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /alerts (the `CreateAlert` operationId).
CreateAlertWithResponse(ctx context.Context, body CreateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertResponse, error)
// DeleteAlertWithResponse Delete an alert route
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /alerts/{alert_id} (the `DeleteAlert` operationId).
DeleteAlertWithResponse(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*DeleteAlertResponse, error)
// GetAlertWithResponse Get a DNS traffic alert route
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /alerts/{alert_id} (the `GetAlert` operationId).
GetAlertWithResponse(ctx context.Context, alertId AlertId, reqEditors ...RequestEditorFn) (*GetAlertResponse, error)
// UpdateAlertWithBodyWithResponse Update selected fields of an alert route
//
// 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 /alerts/{alert_id} (the `UpdateAlert` operationId).
UpdateAlertWithBodyWithResponse(ctx context.Context, alertId AlertId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAlertResponse, error)
// UpdateAlertWithResponse Update selected fields of an alert route
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /alerts/{alert_id} (the `UpdateAlert` operationId).
UpdateAlertWithResponse(ctx context.Context, alertId AlertId, body UpdateAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAlertResponse, error)
// GetBillingHistoryWithResponse List monthly billing records
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /billing/history (the `GetBillingHistory` operationId).
GetBillingHistoryWithResponse(ctx context.Context, params *GetBillingHistoryParams, reqEditors ...RequestEditorFn) (*GetBillingHistoryResponse, error)
// ListInvoicesWithResponse List Stripe invoice records and hosted invoice links
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /billing/invoices (the `ListInvoices` operationId).
ListInvoicesWithResponse(ctx context.Context, params *ListInvoicesParams, reqEditors ...RequestEditorFn) (*ListInvoicesResponse, error)
// GetBillingSummaryWithResponse Get billing calculations for a month
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /billing/summary (the `GetBillingSummary` operationId).
GetBillingSummaryWithResponse(ctx context.Context, params *GetBillingSummaryParams, reqEditors ...RequestEditorFn) (*GetBillingSummaryResponse, error)
// ListDNSControlInventoryWithResponse List saved external DNS zone inventory
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-inventory (the `ListDNSControlInventory` operationId).
ListDNSControlInventoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlInventoryResponse, error)
// ListDNSControlSnapshotsWithResponse List snapshots for an inventory item
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-inventory/{inventory_id}/snapshots (the `ListDNSControlSnapshots` operationId).
ListDNSControlSnapshotsWithResponse(ctx context.Context, inventoryId InventoryId, params *ListDNSControlSnapshotsParams, reqEditors ...RequestEditorFn) (*ListDNSControlSnapshotsResponse, error)
// CreateDNSControlInventorySnapshotWithResponse Capture a new snapshot for an inventory item
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /dns-inventory/{inventory_id}/snapshots (the `CreateDNSControlInventorySnapshot` operationId).
CreateDNSControlInventorySnapshotWithResponse(ctx context.Context, inventoryId InventoryId, reqEditors ...RequestEditorFn) (*CreateDNSControlInventorySnapshotResponse, error)
// DiffDNSControlSnapshotsWithResponse Compare two immutable DNS state snapshots
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{from_snapshot_id}/diff/{to_snapshot_id} (the `DiffDNSControlSnapshots` operationId).
DiffDNSControlSnapshotsWithResponse(ctx context.Context, inventoryId InventoryId, fromSnapshotId FromSnapshotId, toSnapshotId ToSnapshotId, reqEditors ...RequestEditorFn) (*DiffDNSControlSnapshotsResponse, error)
// GetDNSControlSnapshotWithResponse Get a snapshot and its normalized record sets
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-inventory/{inventory_id}/snapshots/{snapshot_id} (the `GetDNSControlSnapshot` operationId).
GetDNSControlSnapshotWithResponse(ctx context.Context, inventoryId InventoryId, snapshotId SnapshotId, reqEditors ...RequestEditorFn) (*GetDNSControlSnapshotResponse, error)
// ListDNSControlConnectionsWithResponse List redacted external DNS provider connections
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-sources/connections (the `ListDNSControlConnections` operationId).
ListDNSControlConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlConnectionsResponse, error)
// CreateDNSControlConnectionWithBodyWithResponse Create and validate a read-only provider connection
//
// 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 /dns-sources/connections (the `CreateDNSControlConnection` operationId).
CreateDNSControlConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionResponse, error)
// CreateDNSControlConnectionWithResponse Create and validate a read-only provider connection
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /dns-sources/connections (the `CreateDNSControlConnection` operationId).
CreateDNSControlConnectionWithResponse(ctx context.Context, body CreateDNSControlConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionResponse, error)
// ListDNSControlConnectionZonesWithResponse List zones visible through a provider connection
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-sources/connections/{connection_id}/zones (the `ListDNSControlConnectionZones` operationId).
ListDNSControlConnectionZonesWithResponse(ctx context.Context, connectionId ConnectionId, reqEditors ...RequestEditorFn) (*ListDNSControlConnectionZonesResponse, error)
// SaveDNSControlZoneInventoryWithBodyWithResponse Save an external zone as an inventory item
//
// 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 /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
SaveDNSControlZoneInventoryWithBodyWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveDNSControlZoneInventoryResponse, error)
// SaveDNSControlZoneInventoryWithResponse Save an external zone as an inventory item
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/inventory (the `SaveDNSControlZoneInventory` operationId).
SaveDNSControlZoneInventoryWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body SaveDNSControlZoneInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveDNSControlZoneInventoryResponse, error)
// CreateDNSControlConnectionZoneSnapshotWithBodyWithResponse Capture a snapshot directly from an external provider zone
//
// 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 /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
CreateDNSControlConnectionZoneSnapshotWithBodyWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
// CreateDNSControlConnectionZoneSnapshotWithResponse Capture a snapshot directly from an external provider zone
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /dns-sources/connections/{connection_id}/zones/{external_zone_id}/snapshots (the `CreateDNSControlConnectionZoneSnapshot` operationId).
CreateDNSControlConnectionZoneSnapshotWithResponse(ctx context.Context, connectionId ConnectionId, externalZoneId ExternalZoneId, body CreateDNSControlConnectionZoneSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
// ListDNSControlProvidersWithResponse List supported external DNS provider adapters
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /dns-sources/providers (the `ListDNSControlProviders` operationId).
ListDNSControlProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDNSControlProvidersResponse, error)
// GetHealthWithResponse Check API health
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /health (the `GetHealth` operationId).
GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
// ListInvitationsWithResponse List account invitations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /invitations-admin (the `ListInvitations` operationId).
ListInvitationsWithResponse(ctx context.Context, params *ListInvitationsParams, reqEditors ...RequestEditorFn) (*ListInvitationsResponse, error)
// CreateInvitationWithBodyWithResponse Invite a user to the authenticated customer account
//
// 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 /invitations-admin (the `CreateInvitation` operationId).
CreateInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)
// CreateInvitationWithResponse Invite a user to the authenticated customer account
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /invitations-admin (the `CreateInvitation` operationId).
CreateInvitationWithResponse(ctx context.Context, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationResponse, error)
// DeleteInvitationWithResponse Revoke an invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /invitations-admin/{invitation_id} (the `DeleteInvitation` operationId).
DeleteInvitationWithResponse(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*DeleteInvitationResponse, error)
// GetInvitationWithResponse Get an invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /invitations-admin/{invitation_id} (the `GetInvitation` operationId).
GetInvitationWithResponse(ctx context.Context, invitationId InvitationId, reqEditors ...RequestEditorFn) (*GetInvitationResponse, error)
// GetCurrentUsageWithResponse Get usage for the current billing month
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /usage/current (the `GetCurrentUsage` operationId).
GetCurrentUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUsageResponse, error)
// GetDailyUsageWithResponse Get daily usage aggregated across accessible zones
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /usage/daily (the `GetDailyUsage` operationId).
GetDailyUsageWithResponse(ctx context.Context, params *GetDailyUsageParams, reqEditors ...RequestEditorFn) (*GetDailyUsageResponse, error)
// GetUsageSummaryWithResponse Get customer usage for a billing month
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /usage/summary (the `GetUsageSummary` operationId).
GetUsageSummaryWithResponse(ctx context.Context, params *GetUsageSummaryParams, reqEditors ...RequestEditorFn) (*GetUsageSummaryResponse, error)
// ListTopZonesByUsageWithResponse List zones with the highest query volume
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /usage/top-zones (the `ListTopZonesByUsage` operationId).
ListTopZonesByUsageWithResponse(ctx context.Context, params *ListTopZonesByUsageParams, reqEditors ...RequestEditorFn) (*ListTopZonesByUsageResponse, error)
// ListUsersWithResponse List users in the authenticated customer account
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /users (the `ListUsers` operationId).
ListUsersWithResponse(ctx context.Context, params *ListUsersParams, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
// CreateUserWithBodyWithResponse Create a user
//
// 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 /users (the `CreateUser` operationId).
CreateUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
// CreateUserWithResponse Create a user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /users (the `CreateUser` operationId).
CreateUserWithResponse(ctx context.Context, body CreateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserResponse, error)
// DeleteUserWithResponse Delete a user and revoke their API keys
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /users/{user_id} (the `DeleteUser` operationId).
DeleteUserWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*DeleteUserResponse, error)
// GetUserWithResponse Get a user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /users/{user_id} (the `GetUser` operationId).
GetUserWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
// UpdateUserWithBodyWithResponse Replace mutable user fields
//
// 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 /users/{user_id} (the `UpdateUser` operationId).
UpdateUserWithBodyWithResponse(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
// UpdateUserWithResponse Replace mutable user fields
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /users/{user_id} (the `UpdateUser` operationId).
UpdateUserWithResponse(ctx context.Context, userId UserId, body UpdateUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserResponse, error)
// ListAPIKeysWithResponse List API keys for a user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /users/{user_id}/apikeys (the `ListAPIKeys` operationId).
ListAPIKeysWithResponse(ctx context.Context, userId UserId, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
// CreateAPIKeyWithBodyWithResponse Create an API key for a user
//
// The secret key is returned only in this response. Use `zone_scopes` to
// restrict a key to zones and, optionally, exact DNS owner names within
// each zone. `zone_ids` is retained for compatibility and grants all DNS
// names in each listed zone. Do not send both fields with non-empty values.
//
// 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 /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
CreateAPIKeyWithBodyWithResponse(ctx context.Context, userId UserId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
// CreateAPIKeyWithResponse Create an API key for a user
//
// The secret key is returned only in this response. Use `zone_scopes` to
// restrict a key to zones and, optionally, exact DNS owner names within
// each zone. `zone_ids` is retained for compatibility and grants all DNS
// names in each listed zone. Do not send both fields with non-empty values.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /users/{user_id}/apikeys (the `CreateAPIKey` operationId).
CreateAPIKeyWithResponse(ctx context.Context, userId UserId, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
// DeleteAPIKeyWithResponse Revoke an API key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /users/{user_id}/apikeys/{key_id} (the `DeleteAPIKey` operationId).
DeleteAPIKeyWithResponse(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)
// GetAPIKeyWithResponse Get API key metadata
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /users/{user_id}/apikeys/{key_id} (the `GetAPIKey` operationId).
GetAPIKeyWithResponse(ctx context.Context, userId UserId, keyId APIKeyId, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)
// ListZonesWithResponse List zones in the authenticated customer account
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones (the `ListZones` operationId).
ListZonesWithResponse(ctx context.Context, params *ListZonesParams, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)
// CreateZoneWithBodyWithResponse Create a zone
//
// 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 /zones (the `CreateZone` operationId).
CreateZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)
// CreateZoneWithResponse Create a zone
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /zones (the `CreateZone` operationId).
CreateZoneWithResponse(ctx context.Context, body CreateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateZoneResponse, error)
// DeleteZoneWithResponse Delete a zone and its records
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /zones/{zone_id} (the `DeleteZone` operationId).
DeleteZoneWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*DeleteZoneResponse, error)
// GetZoneWithResponse Get a zone
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id} (the `GetZone` operationId).
GetZoneWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetZoneResponse, error)
// UpdateZoneWithBodyWithResponse Replace mutable zone fields
//
// 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 /zones/{zone_id} (the `UpdateZone` operationId).
UpdateZoneWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateZoneResponse, error)
// UpdateZoneWithResponse Replace mutable zone fields
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /zones/{zone_id} (the `UpdateZone` operationId).
UpdateZoneWithResponse(ctx context.Context, zoneId ZoneId, body UpdateZoneJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateZoneResponse, error)
// ListDNSSECCryptokeysWithResponse List DNSSEC cryptographic keys
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys (the `ListDNSSECCryptokeys` operationId).
ListDNSSECCryptokeysWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListDNSSECCryptokeysResponse, error)
// CreateDNSSECCryptokeyWithBodyWithResponse Create a DNSSEC cryptographic key
//
// 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 /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
CreateDNSSECCryptokeyWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDNSSECCryptokeyResponse, error)
// CreateDNSSECCryptokeyWithResponse Create a DNSSEC cryptographic key
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /zones/{zone_id}/dnssec/cryptokeys (the `CreateDNSSECCryptokey` operationId).
CreateDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, body CreateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDNSSECCryptokeyResponse, error)
// DeleteDNSSECCryptokeyWithResponse Delete a DNSSEC cryptographic key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `DeleteDNSSECCryptokey` operationId).
DeleteDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*DeleteDNSSECCryptokeyResponse, error)
// GetDNSSECCryptokeyWithResponse Get a DNSSEC cryptographic key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `GetDNSSECCryptokey` operationId).
GetDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, reqEditors ...RequestEditorFn) (*GetDNSSECCryptokeyResponse, error)
// UpdateDNSSECCryptokeyWithBodyWithResponse Activate, deactivate, publish, or unpublish a DNSSEC key
//
// 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 /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
UpdateDNSSECCryptokeyWithBodyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDNSSECCryptokeyResponse, error)
// UpdateDNSSECCryptokeyWithResponse Activate, deactivate, publish, or unpublish a DNSSEC key
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /zones/{zone_id}/dnssec/cryptokeys/{key_id} (the `UpdateDNSSECCryptokey` operationId).
UpdateDNSSECCryptokeyWithResponse(ctx context.Context, zoneId ZoneId, keyId CryptokeyId, body UpdateDNSSECCryptokeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDNSSECCryptokeyResponse, error)
// ListDNSSECDSRecordsWithResponse List DS records to publish at the registrar
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/dnssec/ds (the `ListDNSSECDSRecords` operationId).
ListDNSSECDSRecordsWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*ListDNSSECDSRecordsResponse, error)
// GetDNSSECStatusWithResponse Get DNSSEC status for a zone
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/dnssec/status (the `GetDNSSECStatus` operationId).
GetDNSSECStatusWithResponse(ctx context.Context, zoneId ZoneId, reqEditors ...RequestEditorFn) (*GetDNSSECStatusResponse, error)
// SetDNSSECStatusWithBodyWithResponse Enable or disable DNSSEC
//
// 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 /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
SetDNSSECStatusWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDNSSECStatusResponse, error)
// SetDNSSECStatusWithResponse Enable or disable DNSSEC
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /zones/{zone_id}/dnssec/status (the `SetDNSSECStatus` operationId).
SetDNSSECStatusWithResponse(ctx context.Context, zoneId ZoneId, body SetDNSSECStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDNSSECStatusResponse, error)
// ListRecordsWithResponse List records in a zone
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/records (the `ListRecords` operationId).
ListRecordsWithResponse(ctx context.Context, zoneId ZoneId, params *ListRecordsParams, reqEditors ...RequestEditorFn) (*ListRecordsResponse, error)
// CreateRecordWithBodyWithResponse Create a DNS record value
//
// 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 /zones/{zone_id}/records (the `CreateRecord` operationId).
CreateRecordWithBodyWithResponse(ctx context.Context, zoneId ZoneId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRecordResponse, error)
// CreateRecordWithResponse Create a DNS record value
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /zones/{zone_id}/records (the `CreateRecord` operationId).
CreateRecordWithResponse(ctx context.Context, zoneId ZoneId, body CreateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRecordResponse, error)
// DeleteRecordsByNameAndTypeWithResponse Delete matching record values
//
// Omit `content` to delete the entire RRset, or supply it to delete one value.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `DeleteRecordsByNameAndType` operationId).
DeleteRecordsByNameAndTypeWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *DeleteRecordsByNameAndTypeParams, reqEditors ...RequestEditorFn) (*DeleteRecordsByNameAndTypeResponse, error)
// UpdateRecordByNameAndTypeWithBodyWithResponse Update a record without tracking its content-derived ID
//
// For a multi-value RRset, pass the old value in `content` to select one record.
//
// 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 /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
UpdateRecordByNameAndTypeWithBodyWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecordByNameAndTypeResponse, error)
// UpdateRecordByNameAndTypeWithResponse Update a record without tracking its content-derived ID
//
// For a multi-value RRset, pass the old value in `content` to select one record.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /zones/{zone_id}/records/by-name/{record_name}/{record_type} (the `UpdateRecordByNameAndType` operationId).
UpdateRecordByNameAndTypeWithResponse(ctx context.Context, zoneId ZoneId, recordName RecordName, recordType RecordType, params *UpdateRecordByNameAndTypeParams, body UpdateRecordByNameAndTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecordByNameAndTypeResponse, error)
// DeleteRecordWithResponse Delete a record by its content-derived ID
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /zones/{zone_id}/records/{record_id} (the `DeleteRecord` operationId).
DeleteRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*DeleteRecordResponse, error)
// GetRecordWithResponse Get a record by its content-derived ID
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/records/{record_id} (the `GetRecord` operationId).
GetRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, reqEditors ...RequestEditorFn) (*GetRecordResponse, error)
// UpdateRecordWithBodyWithResponse Replace a record by its content-derived ID
//
// The request name and type must match the record ID. A changed value produces a new record 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 /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
UpdateRecordWithBodyWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecordResponse, error)
// UpdateRecordWithResponse Replace a record by its content-derived ID
//
// The request name and type must match the record ID. A changed value produces a new record 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 /zones/{zone_id}/records/{record_id} (the `UpdateRecord` operationId).
UpdateRecordWithResponse(ctx context.Context, zoneId ZoneId, recordId RecordId, body UpdateRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecordResponse, error)
// GetZoneUsageWithResponse Get daily usage for a zone
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /zones/{zone_id}/usage (the `GetZoneUsage` operationId).
GetZoneUsageWithResponse(ctx context.Context, zoneId ZoneId, params *GetZoneUsageParams, reqEditors ...RequestEditorFn) (*GetZoneUsageResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConnectionId ¶
type ConnectionId = openapi_types.UUID
ConnectionId defines model for ConnectionId.
type CreateAPIKeyJSONRequestBody ¶
type CreateAPIKeyJSONRequestBody = CreateAPIKeyRequest
CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.
type CreateAPIKeyRequest ¶
type CreateAPIKeyRequest struct {
ExpiresAt nullable.Nullable[time.Time] `json:"expires_at,omitempty"`
Name string `json:"name"`
// Scopes JSON-encoded array of scope names.
//
// Example: ["zones:read","zones:write","records:read","records:write"]
Scopes string `json:"scopes"`
// ZoneIds Compatibility zone list.
// Grants all DNS names in every listed zone.
// Mutually exclusive with a non-empty `zone_scopes` value. Empty or
// omitted together with `zone_scopes` creates a customer-wide key.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ZoneIds *[]openapi_types.UUID `json:"zone_ids,omitempty"`
// ZoneScopes Preferred per-zone resource policy.
// Each zone can grant all DNS names or up to 100 exact owner names;
// a key can contain at most 500 names total.
// Mutually exclusive with a non-empty `zone_ids` value.
ZoneScopes *[]APIKeyZoneScope `json:"zone_scopes,omitempty"`
}
CreateAPIKeyRequest defines model for CreateAPIKeyRequest.
type CreateAPIKeyResponse ¶
type CreateAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *APIKeyResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateAPIKeyResponse ¶
func ParseCreateAPIKeyResponse(rsp *http.Response) (*CreateAPIKeyResponse, error)
ParseCreateAPIKeyResponse parses an HTTP response from a CreateAPIKeyWithResponse call
func (CreateAPIKeyResponse) ContentType ¶
func (r CreateAPIKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAPIKeyResponse) GetBody ¶
func (r CreateAPIKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAPIKeyResponse) GetJSON201 ¶
func (r CreateAPIKeyResponse) GetJSON201() *APIKeyResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateAPIKeyResponse) GetJSONDefault ¶
func (r CreateAPIKeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateAPIKeyResponse) Status ¶
func (r CreateAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAPIKeyResponse) StatusCode ¶
func (r CreateAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAlertJSONRequestBody ¶
type CreateAlertJSONRequestBody = CreateAlertRequest
CreateAlertJSONRequestBody defines body for CreateAlert for application/json ContentType.
type CreateAlertRequest ¶
type CreateAlertRequest struct {
Actions *map[string]string `json:"actions,omitempty"`
Channels []AlertChannel `json:"channels"`
CooldownSeconds *int `json:"cooldown_seconds,omitempty"`
ScopeId string `json:"scope_id"`
ScopeType AlertScopeType `json:"scope_type"`
Severity *AlertSeverity `json:"severity,omitempty"`
Status *AlertStatus `json:"status,omitempty"`
ThresholdConfig *AlertThresholdConfig `json:"threshold_config,omitempty"`
Thresholds []int `json:"thresholds"`
}
CreateAlertRequest defines model for CreateAlertRequest.
type CreateAlertResponse ¶
type CreateAlertResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AlertResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateAlertResponse ¶
func ParseCreateAlertResponse(rsp *http.Response) (*CreateAlertResponse, error)
ParseCreateAlertResponse parses an HTTP response from a CreateAlertWithResponse call
func (CreateAlertResponse) ContentType ¶
func (r CreateAlertResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAlertResponse) GetBody ¶
func (r CreateAlertResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAlertResponse) GetJSON201 ¶
func (r CreateAlertResponse) GetJSON201() *AlertResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateAlertResponse) GetJSONDefault ¶
func (r CreateAlertResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateAlertResponse) Status ¶
func (r CreateAlertResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAlertResponse) StatusCode ¶
func (r CreateAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCryptokeyRequest ¶
type CreateCryptokeyRequest struct {
Active *bool `json:"active,omitempty"`
Algorithm *string `json:"algorithm,omitempty"`
Bits *int `json:"bits,omitempty"`
Cds *[]string `json:"cds,omitempty"`
Content *string `json:"content,omitempty"`
Dnskey *string `json:"dnskey,omitempty"`
Ds *[]string `json:"ds,omitempty"`
Keytype *CreateCryptokeyRequestKeytype `json:"keytype,omitempty"`
Privatekey *string `json:"privatekey,omitempty"`
Published *bool `json:"published,omitempty"`
}
CreateCryptokeyRequest defines model for CreateCryptokeyRequest.
type CreateCryptokeyRequestKeytype ¶
type CreateCryptokeyRequestKeytype string
CreateCryptokeyRequestKeytype defines model for CreateCryptokeyRequest.Keytype.
const ( CreateCryptokeyRequestKeytypeCsk CreateCryptokeyRequestKeytype = "csk" CreateCryptokeyRequestKeytypeKsk CreateCryptokeyRequestKeytype = "ksk" CreateCryptokeyRequestKeytypeZsk CreateCryptokeyRequestKeytype = "zsk" )
Defines values for CreateCryptokeyRequestKeytype.
func (CreateCryptokeyRequestKeytype) Valid ¶
func (e CreateCryptokeyRequestKeytype) Valid() bool
Valid indicates whether the value is a known member of the CreateCryptokeyRequestKeytype enum.
type CreateDNSControlConnectionJSONRequestBody ¶
type CreateDNSControlConnectionJSONRequestBody = CreateDNSControlConnectionRequest
CreateDNSControlConnectionJSONRequestBody defines body for CreateDNSControlConnection for application/json ContentType.
type CreateDNSControlConnectionRequest ¶
type CreateDNSControlConnectionRequest struct {
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AccessKeyId *string `json:"access_key_id,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ApiToken *string `json:"api_token,omitempty"`
// Credentials Credentials are accepted on create and are never returned.
Credentials *ProviderCredentials `json:"credentials,omitempty"`
Mode *CreateDNSControlConnectionRequestMode `json:"mode,omitempty"`
Name *string `json:"name,omitempty"`
Provider CreateDNSControlConnectionRequestProvider `json:"provider"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Region *string `json:"region,omitempty"`
Scopes *[]string `json:"scopes,omitempty"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SecretAccessKey *string `json:"secret_access_key,omitempty"`
}
CreateDNSControlConnectionRequest defines model for CreateDNSControlConnectionRequest.
type CreateDNSControlConnectionRequestMode ¶
type CreateDNSControlConnectionRequestMode string
CreateDNSControlConnectionRequestMode defines model for CreateDNSControlConnectionRequest.Mode.
const (
CreateDNSControlConnectionRequestModeReadOnly CreateDNSControlConnectionRequestMode = "read_only"
)
Defines values for CreateDNSControlConnectionRequestMode.
func (CreateDNSControlConnectionRequestMode) Valid ¶
func (e CreateDNSControlConnectionRequestMode) Valid() bool
Valid indicates whether the value is a known member of the CreateDNSControlConnectionRequestMode enum.
type CreateDNSControlConnectionRequestProvider ¶
type CreateDNSControlConnectionRequestProvider string
CreateDNSControlConnectionRequestProvider defines model for CreateDNSControlConnectionRequest.Provider.
const ( CreateDNSControlConnectionRequestProviderCloudflare CreateDNSControlConnectionRequestProvider = "cloudflare" CreateDNSControlConnectionRequestProviderRoute53 CreateDNSControlConnectionRequestProvider = "route53" )
Defines values for CreateDNSControlConnectionRequestProvider.
func (CreateDNSControlConnectionRequestProvider) Valid ¶
func (e CreateDNSControlConnectionRequestProvider) Valid() bool
Valid indicates whether the value is a known member of the CreateDNSControlConnectionRequestProvider enum.
type CreateDNSControlConnectionResponse ¶
type CreateDNSControlConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DNSControlConnectionResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateDNSControlConnectionResponse ¶
func ParseCreateDNSControlConnectionResponse(rsp *http.Response) (*CreateDNSControlConnectionResponse, error)
ParseCreateDNSControlConnectionResponse parses an HTTP response from a CreateDNSControlConnectionWithResponse call
func (CreateDNSControlConnectionResponse) ContentType ¶
func (r CreateDNSControlConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDNSControlConnectionResponse) GetBody ¶
func (r CreateDNSControlConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDNSControlConnectionResponse) GetJSON201 ¶
func (r CreateDNSControlConnectionResponse) GetJSON201() *DNSControlConnectionResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDNSControlConnectionResponse) GetJSONDefault ¶
func (r CreateDNSControlConnectionResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateDNSControlConnectionResponse) Status ¶
func (r CreateDNSControlConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDNSControlConnectionResponse) StatusCode ¶
func (r CreateDNSControlConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDNSControlConnectionZoneSnapshotJSONRequestBody ¶
type CreateDNSControlConnectionZoneSnapshotJSONRequestBody = DNSControlProviderZoneRequest
CreateDNSControlConnectionZoneSnapshotJSONRequestBody defines body for CreateDNSControlConnectionZoneSnapshot for application/json ContentType.
type CreateDNSControlConnectionZoneSnapshotResponse ¶
type CreateDNSControlConnectionZoneSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DNSControlConnectionSnapshotResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateDNSControlConnectionZoneSnapshotResponse ¶
func ParseCreateDNSControlConnectionZoneSnapshotResponse(rsp *http.Response) (*CreateDNSControlConnectionZoneSnapshotResponse, error)
ParseCreateDNSControlConnectionZoneSnapshotResponse parses an HTTP response from a CreateDNSControlConnectionZoneSnapshotWithResponse call
func (CreateDNSControlConnectionZoneSnapshotResponse) ContentType ¶
func (r CreateDNSControlConnectionZoneSnapshotResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDNSControlConnectionZoneSnapshotResponse) GetBody ¶
func (r CreateDNSControlConnectionZoneSnapshotResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDNSControlConnectionZoneSnapshotResponse) GetJSON201 ¶
func (r CreateDNSControlConnectionZoneSnapshotResponse) GetJSON201() *DNSControlConnectionSnapshotResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDNSControlConnectionZoneSnapshotResponse) GetJSONDefault ¶
func (r CreateDNSControlConnectionZoneSnapshotResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateDNSControlConnectionZoneSnapshotResponse) Status ¶
func (r CreateDNSControlConnectionZoneSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDNSControlConnectionZoneSnapshotResponse) StatusCode ¶
func (r CreateDNSControlConnectionZoneSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDNSControlInventorySnapshotResponse ¶
type CreateDNSControlInventorySnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DNSControlSnapshotResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateDNSControlInventorySnapshotResponse ¶
func ParseCreateDNSControlInventorySnapshotResponse(rsp *http.Response) (*CreateDNSControlInventorySnapshotResponse, error)
ParseCreateDNSControlInventorySnapshotResponse parses an HTTP response from a CreateDNSControlInventorySnapshotWithResponse call
func (CreateDNSControlInventorySnapshotResponse) ContentType ¶
func (r CreateDNSControlInventorySnapshotResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDNSControlInventorySnapshotResponse) GetBody ¶
func (r CreateDNSControlInventorySnapshotResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDNSControlInventorySnapshotResponse) GetJSON201 ¶
func (r CreateDNSControlInventorySnapshotResponse) GetJSON201() *DNSControlSnapshotResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDNSControlInventorySnapshotResponse) GetJSONDefault ¶
func (r CreateDNSControlInventorySnapshotResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateDNSControlInventorySnapshotResponse) Status ¶
func (r CreateDNSControlInventorySnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDNSControlInventorySnapshotResponse) StatusCode ¶
func (r CreateDNSControlInventorySnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDNSSECCryptokeyJSONRequestBody ¶
type CreateDNSSECCryptokeyJSONRequestBody = CreateCryptokeyRequest
CreateDNSSECCryptokeyJSONRequestBody defines body for CreateDNSSECCryptokey for application/json ContentType.
type CreateDNSSECCryptokeyResponse ¶
type CreateDNSSECCryptokeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CryptokeyResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateDNSSECCryptokeyResponse ¶
func ParseCreateDNSSECCryptokeyResponse(rsp *http.Response) (*CreateDNSSECCryptokeyResponse, error)
ParseCreateDNSSECCryptokeyResponse parses an HTTP response from a CreateDNSSECCryptokeyWithResponse call
func (CreateDNSSECCryptokeyResponse) ContentType ¶
func (r CreateDNSSECCryptokeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDNSSECCryptokeyResponse) GetBody ¶
func (r CreateDNSSECCryptokeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDNSSECCryptokeyResponse) GetJSON201 ¶
func (r CreateDNSSECCryptokeyResponse) GetJSON201() *CryptokeyResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDNSSECCryptokeyResponse) GetJSONDefault ¶
func (r CreateDNSSECCryptokeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateDNSSECCryptokeyResponse) Status ¶
func (r CreateDNSSECCryptokeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDNSSECCryptokeyResponse) StatusCode ¶
func (r CreateDNSSECCryptokeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInvitationJSONRequestBody ¶
type CreateInvitationJSONRequestBody = CreateInvitationRequest
CreateInvitationJSONRequestBody defines body for CreateInvitation for application/json ContentType.
type CreateInvitationRequest ¶
type CreateInvitationRequest struct {
Email openapi_types.Email `json:"email"`
}
CreateInvitationRequest defines model for CreateInvitationRequest.
type CreateInvitationResponse ¶
type CreateInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *InvitationResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateInvitationResponse ¶
func ParseCreateInvitationResponse(rsp *http.Response) (*CreateInvitationResponse, error)
ParseCreateInvitationResponse parses an HTTP response from a CreateInvitationWithResponse call
func (CreateInvitationResponse) ContentType ¶
func (r CreateInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateInvitationResponse) GetBody ¶
func (r CreateInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateInvitationResponse) GetJSON201 ¶
func (r CreateInvitationResponse) GetJSON201() *InvitationResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateInvitationResponse) GetJSONDefault ¶
func (r CreateInvitationResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateInvitationResponse) Status ¶
func (r CreateInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInvitationResponse) StatusCode ¶
func (r CreateInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRecordJSONRequestBody ¶
type CreateRecordJSONRequestBody = CreateRecordRequest
CreateRecordJSONRequestBody defines body for CreateRecord for application/json ContentType.
type CreateRecordRequest ¶
type CreateRecordRequest struct {
Comment nullable.Nullable[string] `json:"comment,omitempty"`
Content string `json:"content"`
Disabled *bool `json:"disabled,omitempty"`
// Name Relative owner name, `@` for the apex, or a fully qualified name.
Name string `json:"name"`
Priority nullable.Nullable[int] `json:"priority,omitempty"`
Ttl *int `json:"ttl,omitempty"`
Type RecordType `json:"type"`
}
CreateRecordRequest defines model for CreateRecordRequest.
type CreateRecordResponse ¶
type CreateRecordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *RecordResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateRecordResponse ¶
func ParseCreateRecordResponse(rsp *http.Response) (*CreateRecordResponse, error)
ParseCreateRecordResponse parses an HTTP response from a CreateRecordWithResponse call
func (CreateRecordResponse) ContentType ¶
func (r CreateRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRecordResponse) GetBody ¶
func (r CreateRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRecordResponse) GetJSON201 ¶
func (r CreateRecordResponse) GetJSON201() *RecordResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateRecordResponse) GetJSONDefault ¶
func (r CreateRecordResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateRecordResponse) Status ¶
func (r CreateRecordResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRecordResponse) StatusCode ¶
func (r CreateRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateUserJSONRequestBody ¶
type CreateUserJSONRequestBody = CreateUserRequest
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
type CreateUserRequest ¶
type CreateUserRequest struct {
Active *bool `json:"active,omitempty"`
Email openapi_types.Email `json:"email"`
FullName *string `json:"full_name,omitempty"`
Role *UserRole `json:"role,omitempty"`
}
CreateUserRequest defines model for CreateUserRequest.
type CreateUserResponse ¶
type CreateUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *UserResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseCreateUserResponse ¶
func ParseCreateUserResponse(rsp *http.Response) (*CreateUserResponse, error)
ParseCreateUserResponse parses an HTTP response from a CreateUserWithResponse call
func (CreateUserResponse) ContentType ¶
func (r CreateUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateUserResponse) GetBody ¶
func (r CreateUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateUserResponse) GetJSON201 ¶
func (r CreateUserResponse) GetJSON201() *UserResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateUserResponse) GetJSONDefault ¶
func (r CreateUserResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (CreateUserResponse) Status ¶
func (r CreateUserResponse) Status() string
Status returns HTTPResponse.Status
func (CreateUserResponse) StatusCode ¶
func (r CreateUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateZoneJSONRequestBody ¶
type CreateZoneJSONRequestBody = CreateZoneRequest
CreateZoneJSONRequestBody defines body for CreateZone for application/json ContentType.
type CreateZoneRequest ¶
type CreateZoneRequest struct {
// Name Example: example.com
Name string `json:"name"`
Region *ZoneRegion `json:"region,omitempty"`
Status *ZoneStatus `json:"status,omitempty"`
// Type PowerDNS zone kind. `master` is the default for newly created zones.
Type *ZoneType `json:"type,omitempty"`
}
CreateZoneRequest defines model for CreateZoneRequest.
type CreateZoneResponse ¶
type CreateZoneResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ZoneResponse
// 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() *ZoneResponse
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 Cryptokey ¶
type Cryptokey struct {
Active bool `json:"active"`
Algorithm string `json:"algorithm"`
Bits int `json:"bits"`
Cds []string `json:"cds"`
Dnskey string `json:"dnskey"`
Ds []string `json:"ds"`
Id int `json:"id"`
Keytag *int `json:"keytag,omitempty"`
Keytype CryptokeyKeytype `json:"keytype"`
Privatekey *string `json:"privatekey,omitempty"`
Published bool `json:"published"`
}
Cryptokey defines model for Cryptokey.
type CryptokeyData ¶
type CryptokeyData struct {
Cryptokey Cryptokey `json:"cryptokey"`
}
CryptokeyData defines model for CryptokeyData.
type CryptokeyKeytype ¶
type CryptokeyKeytype string
CryptokeyKeytype defines model for Cryptokey.Keytype.
const ( CryptokeyKeytypeCsk CryptokeyKeytype = "csk" CryptokeyKeytypeKsk CryptokeyKeytype = "ksk" CryptokeyKeytypeZsk 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 CryptokeyResponse ¶
type CryptokeyResponse struct {
Data CryptokeyData `json:"data"`
Status CryptokeyResponseStatus `json:"status"`
}
CryptokeyResponse defines model for CryptokeyResponse.
type CryptokeyResponseStatus ¶
type CryptokeyResponseStatus string
CryptokeyResponseStatus defines model for CryptokeyResponse.Status.
const (
CryptokeyResponseStatusSuccess CryptokeyResponseStatus = "success"
)
Defines values for CryptokeyResponseStatus.
func (CryptokeyResponseStatus) Valid ¶
func (e CryptokeyResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the CryptokeyResponseStatus enum.
type CryptokeysData ¶
type CryptokeysData struct {
Cryptokeys []Cryptokey `json:"cryptokeys"`
}
CryptokeysData defines model for CryptokeysData.
type CryptokeysResponse ¶
type CryptokeysResponse struct {
Data CryptokeysData `json:"data"`
Status CryptokeysResponseStatus `json:"status"`
}
CryptokeysResponse defines model for CryptokeysResponse.
type CryptokeysResponseStatus ¶
type CryptokeysResponseStatus string
CryptokeysResponseStatus defines model for CryptokeysResponse.Status.
const (
CryptokeysResponseStatusSuccess CryptokeysResponseStatus = "success"
)
Defines values for CryptokeysResponseStatus.
func (CryptokeysResponseStatus) Valid ¶
func (e CryptokeysResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the CryptokeysResponseStatus enum.
type CustomerUsageResponse ¶
type CustomerUsageResponse struct {
Data CustomerUsageSummary `json:"data"`
Status CustomerUsageResponseStatus `json:"status"`
}
CustomerUsageResponse defines model for CustomerUsageResponse.
type CustomerUsageResponseStatus ¶
type CustomerUsageResponseStatus string
CustomerUsageResponseStatus defines model for CustomerUsageResponse.Status.
const (
CustomerUsageResponseStatusSuccess CustomerUsageResponseStatus = "success"
)
Defines values for CustomerUsageResponseStatus.
func (CustomerUsageResponseStatus) Valid ¶
func (e CustomerUsageResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the CustomerUsageResponseStatus enum.
type CustomerUsageSummary ¶
type CustomerUsageSummary struct {
ActiveZones *int `json:"active_zones,omitempty"`
BillingMonth time.Time `json:"billing_month"`
BillingType CustomerUsageSummaryBillingType `json:"billing_type"`
CustomerId openapi_types.UUID `json:"customer_id"`
DaysActive int `json:"days_active"`
DaysInMonth int `json:"days_in_month"`
EstimatedTotal *float64 `json:"estimated_total,omitempty"`
IncludedQueries int64 `json:"included_queries"`
IsProRated bool `json:"is_pro_rated"`
OverageAmount float64 `json:"overage_amount"`
OverageQueries int64 `json:"overage_queries"`
QueryCharges *float64 `json:"query_charges,omitempty"`
TotalQueries int64 `json:"total_queries"`
UsagePercentage float64 `json:"usage_percentage"`
ZoneBreakdown *[]ZoneUsageSummary `json:"zone_breakdown,omitempty"`
ZoneCharges *float64 `json:"zone_charges,omitempty"`
}
CustomerUsageSummary defines model for CustomerUsageSummary.
type CustomerUsageSummaryBillingType ¶
type CustomerUsageSummaryBillingType string
CustomerUsageSummaryBillingType defines model for CustomerUsageSummary.BillingType.
const ( Metered CustomerUsageSummaryBillingType = "metered" Subscription CustomerUsageSummaryBillingType = "subscription" )
Defines values for CustomerUsageSummaryBillingType.
func (CustomerUsageSummaryBillingType) Valid ¶
func (e CustomerUsageSummaryBillingType) Valid() bool
Valid indicates whether the value is a known member of the CustomerUsageSummaryBillingType enum.
type DNSControlAuthField ¶
type DNSControlAuthField struct {
HelpText *string `json:"help_text,omitempty"`
Label string `json:"label"`
Name string `json:"name"`
Placeholder *string `json:"placeholder,omitempty"`
Required bool `json:"required"`
Type DNSControlAuthFieldType `json:"type"`
}
DNSControlAuthField defines model for DNSControlAuthField.
type DNSControlAuthFieldType ¶
type DNSControlAuthFieldType string
DNSControlAuthFieldType defines model for DNSControlAuthField.Type.
const ( Password DNSControlAuthFieldType = "password" Select DNSControlAuthFieldType = "select" Text DNSControlAuthFieldType = "text" )
Defines values for DNSControlAuthFieldType.
func (DNSControlAuthFieldType) Valid ¶
func (e DNSControlAuthFieldType) Valid() bool
Valid indicates whether the value is a known member of the DNSControlAuthFieldType enum.
type DNSControlConnection ¶
type DNSControlConnection struct {
Capabilities DNSControlProviderCapabilities `json:"capabilities"`
CreatedAt time.Time `json:"created_at"`
DisabledAt nullable.Nullable[time.Time] `json:"disabled_at,omitempty"`
Id openapi_types.UUID `json:"id"`
LastSuccessfulInventoryAt nullable.Nullable[time.Time] `json:"last_successful_inventory_at,omitempty"`
LastVerifiedAt nullable.Nullable[time.Time] `json:"last_verified_at,omitempty"`
Mode DNSControlConnectionMode `json:"mode"`
Name string `json:"name"`
Provider string `json:"provider"`
Scopes []string `json:"scopes"`
Status DNSControlConnectionStatus `json:"status"`
UpdatedAt time.Time `json:"updated_at"`
}
DNSControlConnection defines model for DNSControlConnection.
type DNSControlConnectionData ¶
type DNSControlConnectionData struct {
Connection DNSControlConnection `json:"connection"`
}
DNSControlConnectionData defines model for DNSControlConnectionData.
type DNSControlConnectionMode ¶
type DNSControlConnectionMode string
DNSControlConnectionMode defines model for DNSControlConnection.Mode.
const (
DNSControlConnectionModeReadOnly DNSControlConnectionMode = "read_only"
)
Defines values for DNSControlConnectionMode.
func (DNSControlConnectionMode) Valid ¶
func (e DNSControlConnectionMode) Valid() bool
Valid indicates whether the value is a known member of the DNSControlConnectionMode enum.
type DNSControlConnectionResponse ¶
type DNSControlConnectionResponse struct {
Data DNSControlConnectionData `json:"data"`
Status DNSControlConnectionResponseStatus `json:"status"`
}
DNSControlConnectionResponse defines model for DNSControlConnectionResponse.
type DNSControlConnectionResponseStatus ¶
type DNSControlConnectionResponseStatus string
DNSControlConnectionResponseStatus defines model for DNSControlConnectionResponse.Status.
const (
DNSControlConnectionResponseStatusSuccess DNSControlConnectionResponseStatus = "success"
)
Defines values for DNSControlConnectionResponseStatus.
func (DNSControlConnectionResponseStatus) Valid ¶
func (e DNSControlConnectionResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlConnectionResponseStatus enum.
type DNSControlConnectionSnapshotData ¶
type DNSControlConnectionSnapshotData struct {
Inventory DNSControlInventory `json:"inventory"`
Snapshot DNSControlSnapshot `json:"snapshot"`
}
DNSControlConnectionSnapshotData defines model for DNSControlConnectionSnapshotData.
type DNSControlConnectionSnapshotResponse ¶
type DNSControlConnectionSnapshotResponse struct {
Data DNSControlConnectionSnapshotData `json:"data"`
Status DNSControlConnectionSnapshotResponseStatus `json:"status"`
}
DNSControlConnectionSnapshotResponse defines model for DNSControlConnectionSnapshotResponse.
type DNSControlConnectionSnapshotResponseStatus ¶
type DNSControlConnectionSnapshotResponseStatus string
DNSControlConnectionSnapshotResponseStatus defines model for DNSControlConnectionSnapshotResponse.Status.
const (
DNSControlConnectionSnapshotResponseStatusSuccess DNSControlConnectionSnapshotResponseStatus = "success"
)
Defines values for DNSControlConnectionSnapshotResponseStatus.
func (DNSControlConnectionSnapshotResponseStatus) Valid ¶
func (e DNSControlConnectionSnapshotResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlConnectionSnapshotResponseStatus enum.
type DNSControlConnectionStatus ¶
type DNSControlConnectionStatus string
DNSControlConnectionStatus defines model for DNSControlConnection.Status.
const ( DNSControlConnectionStatusDisabled DNSControlConnectionStatus = "disabled" DNSControlConnectionStatusError DNSControlConnectionStatus = "error" DNSControlConnectionStatusPending DNSControlConnectionStatus = "pending" DNSControlConnectionStatusVerified DNSControlConnectionStatus = "verified" )
Defines values for DNSControlConnectionStatus.
func (DNSControlConnectionStatus) Valid ¶
func (e DNSControlConnectionStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlConnectionStatus enum.
type DNSControlConnectionsData ¶
type DNSControlConnectionsData struct {
Connections []DNSControlConnection `json:"connections"`
}
DNSControlConnectionsData defines model for DNSControlConnectionsData.
type DNSControlConnectionsResponse ¶
type DNSControlConnectionsResponse struct {
Data DNSControlConnectionsData `json:"data"`
Status DNSControlConnectionsResponseStatus `json:"status"`
}
DNSControlConnectionsResponse defines model for DNSControlConnectionsResponse.
type DNSControlConnectionsResponseStatus ¶
type DNSControlConnectionsResponseStatus string
DNSControlConnectionsResponseStatus defines model for DNSControlConnectionsResponse.Status.
const (
DNSControlConnectionsResponseStatusSuccess DNSControlConnectionsResponseStatus = "success"
)
Defines values for DNSControlConnectionsResponseStatus.
func (DNSControlConnectionsResponseStatus) Valid ¶
func (e DNSControlConnectionsResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlConnectionsResponseStatus enum.
type DNSControlInventory ¶
type DNSControlInventory struct {
CreatedAt time.Time `json:"created_at"`
Delegation map[string]interface{} `json:"delegation"`
Dnssec map[string]interface{} `json:"dnssec"`
Id openapi_types.UUID `json:"id"`
Nameservers []string `json:"nameservers"`
ProviderConnectionId nullable.Nullable[openapi_types.UUID] `json:"provider_connection_id,omitempty"`
ProviderZoneId string `json:"provider_zone_id"`
Status string `json:"status"`
UpdatedAt time.Time `json:"updated_at"`
ZoneName string `json:"zone_name"`
}
DNSControlInventory defines model for DNSControlInventory.
type DNSControlInventoryData ¶
type DNSControlInventoryData struct {
Inventory DNSControlInventory `json:"inventory"`
}
DNSControlInventoryData defines model for DNSControlInventoryData.
type DNSControlInventoryListData ¶
type DNSControlInventoryListData struct {
Inventory []DNSControlInventory `json:"inventory"`
}
DNSControlInventoryListData defines model for DNSControlInventoryListData.
type DNSControlInventoryListResponse ¶
type DNSControlInventoryListResponse struct {
Data DNSControlInventoryListData `json:"data"`
Status DNSControlInventoryListResponseStatus `json:"status"`
}
DNSControlInventoryListResponse defines model for DNSControlInventoryListResponse.
type DNSControlInventoryListResponseStatus ¶
type DNSControlInventoryListResponseStatus string
DNSControlInventoryListResponseStatus defines model for DNSControlInventoryListResponse.Status.
const (
DNSControlInventoryListResponseStatusSuccess DNSControlInventoryListResponseStatus = "success"
)
Defines values for DNSControlInventoryListResponseStatus.
func (DNSControlInventoryListResponseStatus) Valid ¶
func (e DNSControlInventoryListResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlInventoryListResponseStatus enum.
type DNSControlInventoryResponse ¶
type DNSControlInventoryResponse struct {
Data DNSControlInventoryData `json:"data"`
Status DNSControlInventoryResponseStatus `json:"status"`
}
DNSControlInventoryResponse defines model for DNSControlInventoryResponse.
type DNSControlInventoryResponseStatus ¶
type DNSControlInventoryResponseStatus string
DNSControlInventoryResponseStatus defines model for DNSControlInventoryResponse.Status.
const (
DNSControlInventoryResponseStatusSuccess DNSControlInventoryResponseStatus = "success"
)
Defines values for DNSControlInventoryResponseStatus.
func (DNSControlInventoryResponseStatus) Valid ¶
func (e DNSControlInventoryResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlInventoryResponseStatus enum.
type DNSControlProvider ¶
type DNSControlProvider struct {
AuthFields []DNSControlAuthField `json:"auth_fields"`
AuthType DNSControlProviderAuthType `json:"auth_type"`
Capabilities DNSControlProviderCapabilities `json:"capabilities"`
Description string `json:"description"`
DocsUrl string `json:"docs_url"`
Name string `json:"name"`
Type DNSControlProviderType `json:"type"`
Warnings *[]string `json:"warnings,omitempty"`
}
DNSControlProvider defines model for DNSControlProvider.
type DNSControlProviderAuthType ¶
type DNSControlProviderAuthType string
DNSControlProviderAuthType defines model for DNSControlProvider.AuthType.
const ( AccessKeys DNSControlProviderAuthType = "access_keys" ApiKey DNSControlProviderAuthType = "api_key" ApiToken DNSControlProviderAuthType = "api_token" Oauth DNSControlProviderAuthType = "oauth" )
Defines values for DNSControlProviderAuthType.
func (DNSControlProviderAuthType) Valid ¶
func (e DNSControlProviderAuthType) Valid() bool
Valid indicates whether the value is a known member of the DNSControlProviderAuthType enum.
type DNSControlProviderCapabilities ¶
type DNSControlProviderCapabilities struct {
CanListZones bool `json:"can_list_zones"`
CanReadRecords bool `json:"can_read_records"`
CanWriteRecords bool `json:"can_write_records"`
ExposesAssignedNameservers bool `json:"exposes_assigned_nameservers"`
ExposesRegistrarConstraints bool `json:"exposes_registrar_constraints"`
KnownImportExportExclusions *[]string `json:"known_import_export_exclusions,omitempty"`
LiveSecondaryWithoutDelegationChange bool `json:"live_secondary_without_delegation_change"`
SupportsAliasFlattening bool `json:"supports_alias_flattening"`
SupportsComments bool `json:"supports_comments"`
SupportsDnssecStatusRead bool `json:"supports_dnssec_status_read"`
SupportsProxiedRecords bool `json:"supports_proxied_records"`
SupportsTags bool `json:"supports_tags"`
}
DNSControlProviderCapabilities defines model for DNSControlProviderCapabilities.
type DNSControlProviderType ¶
type DNSControlProviderType string
DNSControlProviderType defines model for DNSControlProvider.Type.
const ( DNSControlProviderTypeCloudflare DNSControlProviderType = "cloudflare" DNSControlProviderTypeRoute53 DNSControlProviderType = "route53" )
Defines values for DNSControlProviderType.
func (DNSControlProviderType) Valid ¶
func (e DNSControlProviderType) Valid() bool
Valid indicates whether the value is a known member of the DNSControlProviderType enum.
type DNSControlProviderZone ¶
type DNSControlProviderZone struct {
Dnssec *map[string]interface{} `json:"dnssec,omitempty"`
Id string `json:"id"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name string `json:"name"`
Nameservers *[]string `json:"nameservers,omitempty"`
RecordCount *int `json:"record_count,omitempty"`
Status *string `json:"status,omitempty"`
}
DNSControlProviderZone defines model for DNSControlProviderZone.
type DNSControlProviderZoneRequest ¶
type DNSControlProviderZoneRequest struct {
ZoneName *string `json:"zone_name,omitempty"`
}
DNSControlProviderZoneRequest defines model for DNSControlProviderZoneRequest.
type DNSControlProviderZonesData ¶
type DNSControlProviderZonesData struct {
Zones []DNSControlProviderZone `json:"zones"`
}
DNSControlProviderZonesData defines model for DNSControlProviderZonesData.
type DNSControlProviderZonesResponse ¶
type DNSControlProviderZonesResponse struct {
Data DNSControlProviderZonesData `json:"data"`
Status DNSControlProviderZonesResponseStatus `json:"status"`
}
DNSControlProviderZonesResponse defines model for DNSControlProviderZonesResponse.
type DNSControlProviderZonesResponseStatus ¶
type DNSControlProviderZonesResponseStatus string
DNSControlProviderZonesResponseStatus defines model for DNSControlProviderZonesResponse.Status.
const (
DNSControlProviderZonesResponseStatusSuccess DNSControlProviderZonesResponseStatus = "success"
)
Defines values for DNSControlProviderZonesResponseStatus.
func (DNSControlProviderZonesResponseStatus) Valid ¶
func (e DNSControlProviderZonesResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlProviderZonesResponseStatus enum.
type DNSControlProvidersData ¶
type DNSControlProvidersData struct {
Providers []DNSControlProvider `json:"providers"`
}
DNSControlProvidersData defines model for DNSControlProvidersData.
type DNSControlProvidersResponse ¶
type DNSControlProvidersResponse struct {
Data DNSControlProvidersData `json:"data"`
Status DNSControlProvidersResponseStatus `json:"status"`
}
DNSControlProvidersResponse defines model for DNSControlProvidersResponse.
type DNSControlProvidersResponseStatus ¶
type DNSControlProvidersResponseStatus string
DNSControlProvidersResponseStatus defines model for DNSControlProvidersResponse.Status.
const (
DNSControlProvidersResponseStatusSuccess DNSControlProvidersResponseStatus = "success"
)
Defines values for DNSControlProvidersResponseStatus.
func (DNSControlProvidersResponseStatus) Valid ¶
func (e DNSControlProvidersResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlProvidersResponseStatus enum.
type DNSControlRecordSet ¶
type DNSControlRecordSet struct {
DnsClass string `json:"dns_class"`
Id openapi_types.UUID `json:"id"`
OwnerName string `json:"owner_name"`
PortableHash string `json:"portable_hash"`
ProviderHash string `json:"provider_hash"`
ProviderMetadata map[string]interface{} `json:"provider_metadata"`
RawRefs []map[string]interface{} `json:"raw_refs"`
RecordSetKey string `json:"record_set_key"`
RoutingPolicyKey string `json:"routing_policy_key"`
Rrtype string `json:"rrtype"`
SnapshotId openapi_types.UUID `json:"snapshot_id"`
Ttl int `json:"ttl"`
Unsupported bool `json:"unsupported"`
ValueHash string `json:"value_hash"`
Values []map[string]interface{} `json:"values"`
Warnings []string `json:"warnings"`
}
DNSControlRecordSet defines model for DNSControlRecordSet.
type DNSControlSnapshot ¶
type DNSControlSnapshot struct {
CanonicalZone map[string]interface{} `json:"canonical_zone"`
CapturedAt time.Time `json:"captured_at"`
Id openapi_types.UUID `json:"id"`
PortableHash string `json:"portable_hash"`
ProviderHash string `json:"provider_hash"`
RecordSetCount int `json:"record_set_count"`
RecordSets *[]DNSControlRecordSet `json:"record_sets,omitempty"`
SourceKind DNSControlSnapshotSourceKind `json:"source_kind"`
SourceVersion string `json:"source_version"`
ZoneInventoryId openapi_types.UUID `json:"zone_inventory_id"`
}
DNSControlSnapshot defines model for DNSControlSnapshot.
type DNSControlSnapshotData ¶
type DNSControlSnapshotData struct {
Snapshot DNSControlSnapshot `json:"snapshot"`
}
DNSControlSnapshotData defines model for DNSControlSnapshotData.
type DNSControlSnapshotDiff ¶
type DNSControlSnapshotDiff struct {
Changes []DNSControlSnapshotDiffChange `json:"changes"`
FromSnapshotId openapi_types.UUID `json:"from_snapshot_id"`
Summary DNSControlSnapshotDiffSummary `json:"summary"`
ToSnapshotId openapi_types.UUID `json:"to_snapshot_id"`
}
DNSControlSnapshotDiff defines model for DNSControlSnapshotDiff.
type DNSControlSnapshotDiffChange ¶
type DNSControlSnapshotDiffChange struct {
After *map[string]interface{} `json:"after,omitempty"`
Before *map[string]interface{} `json:"before,omitempty"`
OwnerName string `json:"owner_name"`
RecordSetKey string `json:"record_set_key"`
Rrtype string `json:"rrtype"`
Severity DNSControlSnapshotDiffChangeSeverity `json:"severity"`
Type DNSControlSnapshotDiffChangeType `json:"type"`
Warnings *[]string `json:"warnings,omitempty"`
}
DNSControlSnapshotDiffChange defines model for DNSControlSnapshotDiffChange.
type DNSControlSnapshotDiffChangeSeverity ¶
type DNSControlSnapshotDiffChangeSeverity string
DNSControlSnapshotDiffChangeSeverity defines model for DNSControlSnapshotDiffChange.Severity.
const ( DNSControlSnapshotDiffChangeSeverityCritical DNSControlSnapshotDiffChangeSeverity = "critical" DNSControlSnapshotDiffChangeSeverityInfo DNSControlSnapshotDiffChangeSeverity = "info" DNSControlSnapshotDiffChangeSeverityWarning DNSControlSnapshotDiffChangeSeverity = "warning" )
Defines values for DNSControlSnapshotDiffChangeSeverity.
func (DNSControlSnapshotDiffChangeSeverity) Valid ¶
func (e DNSControlSnapshotDiffChangeSeverity) Valid() bool
Valid indicates whether the value is a known member of the DNSControlSnapshotDiffChangeSeverity enum.
type DNSControlSnapshotDiffChangeType ¶
type DNSControlSnapshotDiffChangeType string
DNSControlSnapshotDiffChangeType defines model for DNSControlSnapshotDiffChange.Type.
const ( AddedRecordSet DNSControlSnapshotDiffChangeType = "added_record_set" ProviderMetadataChanged DNSControlSnapshotDiffChangeType = "provider_metadata_changed" RemovedRecordSet DNSControlSnapshotDiffChangeType = "removed_record_set" TtlChanged DNSControlSnapshotDiffChangeType = "ttl_changed" ValueChanged DNSControlSnapshotDiffChangeType = "value_changed" )
Defines values for DNSControlSnapshotDiffChangeType.
func (DNSControlSnapshotDiffChangeType) Valid ¶
func (e DNSControlSnapshotDiffChangeType) Valid() bool
Valid indicates whether the value is a known member of the DNSControlSnapshotDiffChangeType enum.
type DNSControlSnapshotDiffData ¶
type DNSControlSnapshotDiffData struct {
Diff DNSControlSnapshotDiff `json:"diff"`
}
DNSControlSnapshotDiffData defines model for DNSControlSnapshotDiffData.
type DNSControlSnapshotDiffResponse ¶
type DNSControlSnapshotDiffResponse struct {
Data DNSControlSnapshotDiffData `json:"data"`
Status DNSControlSnapshotDiffResponseStatus `json:"status"`
}
DNSControlSnapshotDiffResponse defines model for DNSControlSnapshotDiffResponse.
type DNSControlSnapshotDiffResponseStatus ¶
type DNSControlSnapshotDiffResponseStatus string
DNSControlSnapshotDiffResponseStatus defines model for DNSControlSnapshotDiffResponse.Status.
const (
DNSControlSnapshotDiffResponseStatusSuccess DNSControlSnapshotDiffResponseStatus = "success"
)
Defines values for DNSControlSnapshotDiffResponseStatus.
func (DNSControlSnapshotDiffResponseStatus) Valid ¶
func (e DNSControlSnapshotDiffResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlSnapshotDiffResponseStatus enum.
type DNSControlSnapshotDiffSummary ¶
type DNSControlSnapshotDiffSummary struct {
AddedRecordSets int `json:"added_record_sets"`
ProviderMetadataChanged int `json:"provider_metadata_changed"`
RemovedRecordSets int `json:"removed_record_sets"`
TtlChanged int `json:"ttl_changed"`
UnsupportedProviderFeatures int `json:"unsupported_provider_features"`
ValueChanged int `json:"value_changed"`
}
DNSControlSnapshotDiffSummary defines model for DNSControlSnapshotDiffSummary.
type DNSControlSnapshotResponse ¶
type DNSControlSnapshotResponse struct {
Data DNSControlSnapshotData `json:"data"`
Status DNSControlSnapshotResponseStatus `json:"status"`
}
DNSControlSnapshotResponse defines model for DNSControlSnapshotResponse.
type DNSControlSnapshotResponseStatus ¶
type DNSControlSnapshotResponseStatus string
DNSControlSnapshotResponseStatus defines model for DNSControlSnapshotResponse.Status.
const (
DNSControlSnapshotResponseStatusSuccess DNSControlSnapshotResponseStatus = "success"
)
Defines values for DNSControlSnapshotResponseStatus.
func (DNSControlSnapshotResponseStatus) Valid ¶
func (e DNSControlSnapshotResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlSnapshotResponseStatus enum.
type DNSControlSnapshotSourceKind ¶
type DNSControlSnapshotSourceKind string
DNSControlSnapshotSourceKind defines model for DNSControlSnapshot.SourceKind.
const (
ProviderApi DNSControlSnapshotSourceKind = "provider_api"
)
Defines values for DNSControlSnapshotSourceKind.
func (DNSControlSnapshotSourceKind) Valid ¶
func (e DNSControlSnapshotSourceKind) Valid() bool
Valid indicates whether the value is a known member of the DNSControlSnapshotSourceKind enum.
type DNSControlSnapshotsData ¶
type DNSControlSnapshotsData struct {
Meta OffsetMeta `json:"meta"`
Snapshots []DNSControlSnapshot `json:"snapshots"`
}
DNSControlSnapshotsData defines model for DNSControlSnapshotsData.
type DNSControlSnapshotsResponse ¶
type DNSControlSnapshotsResponse struct {
Data DNSControlSnapshotsData `json:"data"`
Status DNSControlSnapshotsResponseStatus `json:"status"`
}
DNSControlSnapshotsResponse defines model for DNSControlSnapshotsResponse.
type DNSControlSnapshotsResponseStatus ¶
type DNSControlSnapshotsResponseStatus string
DNSControlSnapshotsResponseStatus defines model for DNSControlSnapshotsResponse.Status.
const (
DNSControlSnapshotsResponseStatusSuccess DNSControlSnapshotsResponseStatus = "success"
)
Defines values for DNSControlSnapshotsResponseStatus.
func (DNSControlSnapshotsResponseStatus) Valid ¶
func (e DNSControlSnapshotsResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSControlSnapshotsResponseStatus enum.
type DNSSECStatusData ¶
type DNSSECStatusData struct {
Dnssec bool `json:"dnssec"`
}
DNSSECStatusData defines model for DNSSECStatusData.
type DNSSECStatusResponse ¶
type DNSSECStatusResponse struct {
Data DNSSECStatusData `json:"data"`
Status DNSSECStatusResponseStatus `json:"status"`
}
DNSSECStatusResponse defines model for DNSSECStatusResponse.
type DNSSECStatusResponseStatus ¶
type DNSSECStatusResponseStatus string
DNSSECStatusResponseStatus defines model for DNSSECStatusResponse.Status.
const (
DNSSECStatusResponseStatusSuccess DNSSECStatusResponseStatus = "success"
)
Defines values for DNSSECStatusResponseStatus.
func (DNSSECStatusResponseStatus) Valid ¶
func (e DNSSECStatusResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DNSSECStatusResponseStatus enum.
type DSRecordsData ¶
type DSRecordsData struct {
DsRecords []string `json:"ds_records"`
}
DSRecordsData defines model for DSRecordsData.
type DSRecordsResponse ¶
type DSRecordsResponse struct {
Data DSRecordsData `json:"data"`
Status DSRecordsResponseStatus `json:"status"`
}
DSRecordsResponse defines model for DSRecordsResponse.
type DSRecordsResponseStatus ¶
type DSRecordsResponseStatus string
DSRecordsResponseStatus defines model for DSRecordsResponse.Status.
const (
DSRecordsResponseStatusSuccess DSRecordsResponseStatus = "success"
)
Defines values for DSRecordsResponseStatus.
func (DSRecordsResponseStatus) Valid ¶
func (e DSRecordsResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the DSRecordsResponseStatus enum.
type DeleteAPIKeyResponse ¶
type DeleteAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteAPIKeyResponse ¶
func ParseDeleteAPIKeyResponse(rsp *http.Response) (*DeleteAPIKeyResponse, error)
ParseDeleteAPIKeyResponse parses an HTTP response from a DeleteAPIKeyWithResponse call
func (DeleteAPIKeyResponse) ContentType ¶
func (r DeleteAPIKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAPIKeyResponse) GetBody ¶
func (r DeleteAPIKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAPIKeyResponse) GetJSONDefault ¶
func (r DeleteAPIKeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteAPIKeyResponse) Status ¶
func (r DeleteAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAPIKeyResponse) StatusCode ¶
func (r DeleteAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAlertResponse ¶
type DeleteAlertResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteAlertResponse ¶
func ParseDeleteAlertResponse(rsp *http.Response) (*DeleteAlertResponse, error)
ParseDeleteAlertResponse parses an HTTP response from a DeleteAlertWithResponse call
func (DeleteAlertResponse) ContentType ¶
func (r DeleteAlertResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAlertResponse) GetBody ¶
func (r DeleteAlertResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAlertResponse) GetJSONDefault ¶
func (r DeleteAlertResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteAlertResponse) Status ¶
func (r DeleteAlertResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAlertResponse) StatusCode ¶
func (r DeleteAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDNSSECCryptokeyResponse ¶
type DeleteDNSSECCryptokeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteDNSSECCryptokeyResponse ¶
func ParseDeleteDNSSECCryptokeyResponse(rsp *http.Response) (*DeleteDNSSECCryptokeyResponse, error)
ParseDeleteDNSSECCryptokeyResponse parses an HTTP response from a DeleteDNSSECCryptokeyWithResponse call
func (DeleteDNSSECCryptokeyResponse) ContentType ¶
func (r DeleteDNSSECCryptokeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDNSSECCryptokeyResponse) GetBody ¶
func (r DeleteDNSSECCryptokeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDNSSECCryptokeyResponse) GetJSONDefault ¶
func (r DeleteDNSSECCryptokeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteDNSSECCryptokeyResponse) Status ¶
func (r DeleteDNSSECCryptokeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDNSSECCryptokeyResponse) StatusCode ¶
func (r DeleteDNSSECCryptokeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInvitationResponse ¶
type DeleteInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteInvitationResponse ¶
func ParseDeleteInvitationResponse(rsp *http.Response) (*DeleteInvitationResponse, error)
ParseDeleteInvitationResponse parses an HTTP response from a DeleteInvitationWithResponse call
func (DeleteInvitationResponse) ContentType ¶
func (r DeleteInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteInvitationResponse) GetBody ¶
func (r DeleteInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteInvitationResponse) GetJSONDefault ¶
func (r DeleteInvitationResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteInvitationResponse) Status ¶
func (r DeleteInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInvitationResponse) StatusCode ¶
func (r DeleteInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRecordResponse ¶
type DeleteRecordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteRecordResponse ¶
func ParseDeleteRecordResponse(rsp *http.Response) (*DeleteRecordResponse, error)
ParseDeleteRecordResponse parses an HTTP response from a DeleteRecordWithResponse call
func (DeleteRecordResponse) ContentType ¶
func (r DeleteRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRecordResponse) GetBody ¶
func (r DeleteRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRecordResponse) GetJSONDefault ¶
func (r DeleteRecordResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteRecordResponse) Status ¶
func (r DeleteRecordResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRecordResponse) StatusCode ¶
func (r DeleteRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRecordsByNameAndTypeParams ¶
type DeleteRecordsByNameAndTypeParams struct {
// Content Existing record value used to disambiguate a multi-value RRset.
Content *RecordContent `form:"content,omitempty" json:"content,omitempty"`
}
DeleteRecordsByNameAndTypeParams defines parameters for DeleteRecordsByNameAndType.
type DeleteRecordsByNameAndTypeResponse ¶
type DeleteRecordsByNameAndTypeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteRecordsByNameAndTypeResponse ¶
func ParseDeleteRecordsByNameAndTypeResponse(rsp *http.Response) (*DeleteRecordsByNameAndTypeResponse, error)
ParseDeleteRecordsByNameAndTypeResponse parses an HTTP response from a DeleteRecordsByNameAndTypeWithResponse call
func (DeleteRecordsByNameAndTypeResponse) ContentType ¶
func (r DeleteRecordsByNameAndTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRecordsByNameAndTypeResponse) GetBody ¶
func (r DeleteRecordsByNameAndTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRecordsByNameAndTypeResponse) GetJSONDefault ¶
func (r DeleteRecordsByNameAndTypeResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteRecordsByNameAndTypeResponse) Status ¶
func (r DeleteRecordsByNameAndTypeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRecordsByNameAndTypeResponse) StatusCode ¶
func (r DeleteRecordsByNameAndTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteUserResponse ¶
type DeleteUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDeleteUserResponse ¶
func ParseDeleteUserResponse(rsp *http.Response) (*DeleteUserResponse, error)
ParseDeleteUserResponse parses an HTTP response from a DeleteUserWithResponse call
func (DeleteUserResponse) ContentType ¶
func (r DeleteUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteUserResponse) GetBody ¶
func (r DeleteUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteUserResponse) GetJSONDefault ¶
func (r DeleteUserResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DeleteUserResponse) Status ¶
func (r DeleteUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteUserResponse) StatusCode ¶
func (r DeleteUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 DiffDNSControlSnapshotsResponse ¶
type DiffDNSControlSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlSnapshotDiffResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseDiffDNSControlSnapshotsResponse ¶
func ParseDiffDNSControlSnapshotsResponse(rsp *http.Response) (*DiffDNSControlSnapshotsResponse, error)
ParseDiffDNSControlSnapshotsResponse parses an HTTP response from a DiffDNSControlSnapshotsWithResponse call
func (DiffDNSControlSnapshotsResponse) ContentType ¶
func (r DiffDNSControlSnapshotsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DiffDNSControlSnapshotsResponse) GetBody ¶
func (r DiffDNSControlSnapshotsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DiffDNSControlSnapshotsResponse) GetJSON200 ¶
func (r DiffDNSControlSnapshotsResponse) GetJSON200() *DNSControlSnapshotDiffResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DiffDNSControlSnapshotsResponse) GetJSONDefault ¶
func (r DiffDNSControlSnapshotsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (DiffDNSControlSnapshotsResponse) Status ¶
func (r DiffDNSControlSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (DiffDNSControlSnapshotsResponse) StatusCode ¶
func (r DiffDNSControlSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorDetail ¶
type ErrorDetail struct {
// Code Example: INVALID_ZONE_ID
Code string `json:"code"`
Details *[]map[string]string `json:"details,omitempty"`
Message string `json:"message"`
}
ErrorDetail defines model for ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct {
Error ErrorDetail `json:"error"`
Status ErrorResponseStatus `json:"status"`
}
ErrorResponse defines model for ErrorResponse.
type ErrorResponseStatus ¶
type ErrorResponseStatus string
ErrorResponseStatus defines model for ErrorResponse.Status.
const (
ErrorResponseStatusError ErrorResponseStatus = "error"
)
Defines values for ErrorResponseStatus.
func (ErrorResponseStatus) Valid ¶
func (e ErrorResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the ErrorResponseStatus enum.
type FromSnapshotId ¶
type FromSnapshotId = openapi_types.UUID
FromSnapshotId defines model for FromSnapshotId.
type GetAPIKeyResponse ¶
type GetAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *APIKeyResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetAPIKeyResponse ¶
func ParseGetAPIKeyResponse(rsp *http.Response) (*GetAPIKeyResponse, error)
ParseGetAPIKeyResponse parses an HTTP response from a GetAPIKeyWithResponse call
func (GetAPIKeyResponse) ContentType ¶
func (r GetAPIKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAPIKeyResponse) GetBody ¶
func (r GetAPIKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAPIKeyResponse) GetJSON200 ¶
func (r GetAPIKeyResponse) GetJSON200() *APIKeyResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAPIKeyResponse) GetJSONDefault ¶
func (r GetAPIKeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetAPIKeyResponse) Status ¶
func (r GetAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetAPIKeyResponse) StatusCode ¶
func (r GetAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAlertResponse ¶
type GetAlertResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AlertResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetAlertResponse ¶
func ParseGetAlertResponse(rsp *http.Response) (*GetAlertResponse, error)
ParseGetAlertResponse parses an HTTP response from a GetAlertWithResponse call
func (GetAlertResponse) ContentType ¶
func (r GetAlertResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAlertResponse) GetBody ¶
func (r GetAlertResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAlertResponse) GetJSON200 ¶
func (r GetAlertResponse) GetJSON200() *AlertResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAlertResponse) GetJSONDefault ¶
func (r GetAlertResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetAlertResponse) Status ¶
func (r GetAlertResponse) Status() string
Status returns HTTPResponse.Status
func (GetAlertResponse) StatusCode ¶
func (r GetAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingHistoryParams ¶
type GetBillingHistoryParams struct {
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetBillingHistoryParams defines parameters for GetBillingHistory.
type GetBillingHistoryResponse ¶
type GetBillingHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BillingHistoryResponseEnvelope
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetBillingHistoryResponse ¶
func ParseGetBillingHistoryResponse(rsp *http.Response) (*GetBillingHistoryResponse, error)
ParseGetBillingHistoryResponse parses an HTTP response from a GetBillingHistoryWithResponse call
func (GetBillingHistoryResponse) ContentType ¶
func (r GetBillingHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingHistoryResponse) GetBody ¶
func (r GetBillingHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingHistoryResponse) GetJSON200 ¶
func (r GetBillingHistoryResponse) GetJSON200() *BillingHistoryResponseEnvelope
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingHistoryResponse) GetJSONDefault ¶
func (r GetBillingHistoryResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetBillingHistoryResponse) Status ¶
func (r GetBillingHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingHistoryResponse) StatusCode ¶
func (r GetBillingHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBillingSummaryParams ¶
type GetBillingSummaryParams struct {
// Month Billing month in YYYY-MM format. Defaults to the current month.
Month *Month `form:"month,omitempty" json:"month,omitempty"`
}
GetBillingSummaryParams defines parameters for GetBillingSummary.
type GetBillingSummaryResponse ¶
type GetBillingSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BillingSummaryResponseEnvelope
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetBillingSummaryResponse ¶
func ParseGetBillingSummaryResponse(rsp *http.Response) (*GetBillingSummaryResponse, error)
ParseGetBillingSummaryResponse parses an HTTP response from a GetBillingSummaryWithResponse call
func (GetBillingSummaryResponse) ContentType ¶
func (r GetBillingSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBillingSummaryResponse) GetBody ¶
func (r GetBillingSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBillingSummaryResponse) GetJSON200 ¶
func (r GetBillingSummaryResponse) GetJSON200() *BillingSummaryResponseEnvelope
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBillingSummaryResponse) GetJSONDefault ¶
func (r GetBillingSummaryResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetBillingSummaryResponse) Status ¶
func (r GetBillingSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetBillingSummaryResponse) StatusCode ¶
func (r GetBillingSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUsageResponse ¶
type GetCurrentUsageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomerUsageResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetCurrentUsageResponse ¶
func ParseGetCurrentUsageResponse(rsp *http.Response) (*GetCurrentUsageResponse, error)
ParseGetCurrentUsageResponse parses an HTTP response from a GetCurrentUsageWithResponse call
func (GetCurrentUsageResponse) ContentType ¶
func (r GetCurrentUsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCurrentUsageResponse) GetBody ¶
func (r GetCurrentUsageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCurrentUsageResponse) GetJSON200 ¶
func (r GetCurrentUsageResponse) GetJSON200() *CustomerUsageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCurrentUsageResponse) GetJSONDefault ¶
func (r GetCurrentUsageResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetCurrentUsageResponse) Status ¶
func (r GetCurrentUsageResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUsageResponse) StatusCode ¶
func (r GetCurrentUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDNSControlSnapshotResponse ¶
type GetDNSControlSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlSnapshotResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetDNSControlSnapshotResponse ¶
func ParseGetDNSControlSnapshotResponse(rsp *http.Response) (*GetDNSControlSnapshotResponse, error)
ParseGetDNSControlSnapshotResponse parses an HTTP response from a GetDNSControlSnapshotWithResponse call
func (GetDNSControlSnapshotResponse) ContentType ¶
func (r GetDNSControlSnapshotResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDNSControlSnapshotResponse) GetBody ¶
func (r GetDNSControlSnapshotResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDNSControlSnapshotResponse) GetJSON200 ¶
func (r GetDNSControlSnapshotResponse) GetJSON200() *DNSControlSnapshotResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDNSControlSnapshotResponse) GetJSONDefault ¶
func (r GetDNSControlSnapshotResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetDNSControlSnapshotResponse) Status ¶
func (r GetDNSControlSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (GetDNSControlSnapshotResponse) StatusCode ¶
func (r GetDNSControlSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDNSSECCryptokeyResponse ¶
type GetDNSSECCryptokeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CryptokeyResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetDNSSECCryptokeyResponse ¶
func ParseGetDNSSECCryptokeyResponse(rsp *http.Response) (*GetDNSSECCryptokeyResponse, error)
ParseGetDNSSECCryptokeyResponse parses an HTTP response from a GetDNSSECCryptokeyWithResponse call
func (GetDNSSECCryptokeyResponse) ContentType ¶
func (r GetDNSSECCryptokeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDNSSECCryptokeyResponse) GetBody ¶
func (r GetDNSSECCryptokeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDNSSECCryptokeyResponse) GetJSON200 ¶
func (r GetDNSSECCryptokeyResponse) GetJSON200() *CryptokeyResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDNSSECCryptokeyResponse) GetJSONDefault ¶
func (r GetDNSSECCryptokeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetDNSSECCryptokeyResponse) Status ¶
func (r GetDNSSECCryptokeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetDNSSECCryptokeyResponse) StatusCode ¶
func (r GetDNSSECCryptokeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDNSSECStatusResponse ¶
type GetDNSSECStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSSECStatusResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetDNSSECStatusResponse ¶
func ParseGetDNSSECStatusResponse(rsp *http.Response) (*GetDNSSECStatusResponse, error)
ParseGetDNSSECStatusResponse parses an HTTP response from a GetDNSSECStatusWithResponse call
func (GetDNSSECStatusResponse) ContentType ¶
func (r GetDNSSECStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDNSSECStatusResponse) GetBody ¶
func (r GetDNSSECStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDNSSECStatusResponse) GetJSON200 ¶
func (r GetDNSSECStatusResponse) GetJSON200() *DNSSECStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDNSSECStatusResponse) GetJSONDefault ¶
func (r GetDNSSECStatusResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetDNSSECStatusResponse) Status ¶
func (r GetDNSSECStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetDNSSECStatusResponse) StatusCode ¶
func (r GetDNSSECStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDailyUsageParams ¶
type GetDailyUsageParams struct {
// StartDate Inclusive start date in YYYY-MM-DD format. Defaults to 30 days ago.
StartDate *StartDate `form:"start_date,omitempty" json:"start_date,omitempty"`
// EndDate Inclusive end date in YYYY-MM-DD format. Defaults to today.
EndDate *EndDate `form:"end_date,omitempty" json:"end_date,omitempty"`
// ZoneId Optionally restrict the aggregation to one accessible zone.
ZoneId *openapi_types.UUID `form:"zone_id,omitempty" json:"zone_id,omitempty"`
}
GetDailyUsageParams defines parameters for GetDailyUsage.
type GetDailyUsageResponse ¶
type GetDailyUsageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AggregatedUsageResponseEnvelope
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetDailyUsageResponse ¶
func ParseGetDailyUsageResponse(rsp *http.Response) (*GetDailyUsageResponse, error)
ParseGetDailyUsageResponse parses an HTTP response from a GetDailyUsageWithResponse call
func (GetDailyUsageResponse) ContentType ¶
func (r GetDailyUsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDailyUsageResponse) GetBody ¶
func (r GetDailyUsageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDailyUsageResponse) GetJSON200 ¶
func (r GetDailyUsageResponse) GetJSON200() *AggregatedUsageResponseEnvelope
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDailyUsageResponse) GetJSONDefault ¶
func (r GetDailyUsageResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetDailyUsageResponse) Status ¶
func (r GetDailyUsageResponse) Status() string
Status returns HTTPResponse.Status
func (GetDailyUsageResponse) StatusCode ¶
func (r GetDailyUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthResponse ¶
type GetHealthResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HealthResponse
}
func ParseGetHealthResponse ¶
func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResponse) ContentType ¶
func (r GetHealthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHealthResponse) GetBody ¶
func (r GetHealthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHealthResponse) GetJSON200 ¶
func (r GetHealthResponse) GetJSON200() *HealthResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHealthResponse) Status ¶
func (r GetHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthResponse) StatusCode ¶
func (r GetHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInvitationResponse ¶
type GetInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvitationResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetInvitationResponse ¶
func ParseGetInvitationResponse(rsp *http.Response) (*GetInvitationResponse, error)
ParseGetInvitationResponse parses an HTTP response from a GetInvitationWithResponse call
func (GetInvitationResponse) ContentType ¶
func (r GetInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetInvitationResponse) GetBody ¶
func (r GetInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetInvitationResponse) GetJSON200 ¶
func (r GetInvitationResponse) GetJSON200() *InvitationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInvitationResponse) GetJSONDefault ¶
func (r GetInvitationResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetInvitationResponse) Status ¶
func (r GetInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (GetInvitationResponse) StatusCode ¶
func (r GetInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRecordResponse ¶
type GetRecordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecordResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetRecordResponse ¶
func ParseGetRecordResponse(rsp *http.Response) (*GetRecordResponse, error)
ParseGetRecordResponse parses an HTTP response from a GetRecordWithResponse call
func (GetRecordResponse) ContentType ¶
func (r GetRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRecordResponse) GetBody ¶
func (r GetRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRecordResponse) GetJSON200 ¶
func (r GetRecordResponse) GetJSON200() *RecordResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRecordResponse) GetJSONDefault ¶
func (r GetRecordResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetRecordResponse) Status ¶
func (r GetRecordResponse) Status() string
Status returns HTTPResponse.Status
func (GetRecordResponse) StatusCode ¶
func (r GetRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsageSummaryParams ¶
type GetUsageSummaryParams struct {
// Month Billing month in YYYY-MM format. Defaults to the current month.
Month *Month `form:"month,omitempty" json:"month,omitempty"`
}
GetUsageSummaryParams defines parameters for GetUsageSummary.
type GetUsageSummaryResponse ¶
type GetUsageSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomerUsageResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetUsageSummaryResponse ¶
func ParseGetUsageSummaryResponse(rsp *http.Response) (*GetUsageSummaryResponse, error)
ParseGetUsageSummaryResponse parses an HTTP response from a GetUsageSummaryWithResponse call
func (GetUsageSummaryResponse) ContentType ¶
func (r GetUsageSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUsageSummaryResponse) GetBody ¶
func (r GetUsageSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUsageSummaryResponse) GetJSON200 ¶
func (r GetUsageSummaryResponse) GetJSON200() *CustomerUsageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUsageSummaryResponse) GetJSONDefault ¶
func (r GetUsageSummaryResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetUsageSummaryResponse) Status ¶
func (r GetUsageSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsageSummaryResponse) StatusCode ¶
func (r GetUsageSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResponse ¶
type GetUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetUserResponse ¶
func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call
func (GetUserResponse) ContentType ¶
func (r GetUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserResponse) GetBody ¶
func (r GetUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUserResponse) GetJSON200 ¶
func (r GetUserResponse) GetJSON200() *UserResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUserResponse) GetJSONDefault ¶
func (r GetUserResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetUserResponse) Status ¶
func (r GetUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserResponse) StatusCode ¶
func (r GetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetZoneResponse ¶
type GetZoneResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ZoneResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetZoneResponse ¶
func ParseGetZoneResponse(rsp *http.Response) (*GetZoneResponse, error)
ParseGetZoneResponse parses an HTTP response from a GetZoneWithResponse call
func (GetZoneResponse) ContentType ¶
func (r GetZoneResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetZoneResponse) GetBody ¶
func (r GetZoneResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetZoneResponse) GetJSON200 ¶
func (r GetZoneResponse) GetJSON200() *ZoneResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetZoneResponse) GetJSONDefault ¶
func (r GetZoneResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetZoneResponse) Status ¶
func (r GetZoneResponse) Status() string
Status returns HTTPResponse.Status
func (GetZoneResponse) StatusCode ¶
func (r GetZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetZoneUsageParams ¶
type GetZoneUsageParams struct {
// StartDate Inclusive start date in YYYY-MM-DD format. Defaults to 30 days ago.
StartDate *StartDate `form:"start_date,omitempty" json:"start_date,omitempty"`
// EndDate Inclusive end date in YYYY-MM-DD format. Defaults to today.
EndDate *EndDate `form:"end_date,omitempty" json:"end_date,omitempty"`
}
GetZoneUsageParams defines parameters for GetZoneUsage.
type GetZoneUsageResponse ¶
type GetZoneUsageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ZoneUsageResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseGetZoneUsageResponse ¶
func ParseGetZoneUsageResponse(rsp *http.Response) (*GetZoneUsageResponse, error)
ParseGetZoneUsageResponse parses an HTTP response from a GetZoneUsageWithResponse call
func (GetZoneUsageResponse) ContentType ¶
func (r GetZoneUsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetZoneUsageResponse) GetBody ¶
func (r GetZoneUsageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetZoneUsageResponse) GetJSON200 ¶
func (r GetZoneUsageResponse) GetJSON200() *ZoneUsageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetZoneUsageResponse) GetJSONDefault ¶
func (r GetZoneUsageResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (GetZoneUsageResponse) Status ¶
func (r GetZoneUsageResponse) Status() string
Status returns HTTPResponse.Status
func (GetZoneUsageResponse) StatusCode ¶
func (r GetZoneUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Health ¶
type Health struct {
Status HealthStatus `json:"status"`
Timestamp time.Time `json:"timestamp"`
Version string `json:"version"`
}
Health defines model for Health.
type HealthData ¶
type HealthData struct {
Health Health `json:"health"`
}
HealthData defines model for HealthData.
type HealthResponse ¶
type HealthResponse struct {
Data HealthData `json:"data"`
Status HealthResponseStatus `json:"status"`
}
HealthResponse defines model for HealthResponse.
type HealthResponseStatus ¶
type HealthResponseStatus string
HealthResponseStatus defines model for HealthResponse.Status.
const (
HealthResponseStatusSuccess HealthResponseStatus = "success"
)
Defines values for HealthResponseStatus.
func (HealthResponseStatus) Valid ¶
func (e HealthResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthResponseStatus enum.
type HealthStatus ¶
type HealthStatus string
HealthStatus defines model for Health.Status.
const (
Ok HealthStatus = "ok"
)
Defines values for HealthStatus.
func (HealthStatus) Valid ¶
func (e HealthStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthStatus enum.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Invitation ¶
type Invitation struct {
CreatedAt time.Time `json:"created_at"`
CustomerId openapi_types.UUID `json:"customer_id"`
Email openapi_types.Email `json:"email"`
ExpiresAt time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
// InvitedBy UUID of the inviting user, or an empty string for legacy invitations.
InvitedBy string `json:"invited_by"`
Status InvitationStatus `json:"status"`
// Token Present only in the create response.
Token *string `json:"token,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
}
Invitation defines model for Invitation.
type InvitationData ¶
type InvitationData struct {
Invitation Invitation `json:"invitation"`
}
InvitationData defines model for InvitationData.
type InvitationId ¶
type InvitationId = openapi_types.UUID
InvitationId defines model for InvitationId.
type InvitationResponse ¶
type InvitationResponse struct {
Data InvitationData `json:"data"`
Status InvitationResponseStatus `json:"status"`
}
InvitationResponse defines model for InvitationResponse.
type InvitationResponseStatus ¶
type InvitationResponseStatus string
InvitationResponseStatus defines model for InvitationResponse.Status.
const (
InvitationResponseStatusSuccess InvitationResponseStatus = "success"
)
Defines values for InvitationResponseStatus.
func (InvitationResponseStatus) Valid ¶
func (e InvitationResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the InvitationResponseStatus enum.
type InvitationStatus ¶
type InvitationStatus string
InvitationStatus defines model for InvitationStatus.
const ( InvitationStatusAccepted InvitationStatus = "accepted" InvitationStatusExpired InvitationStatus = "expired" InvitationStatusPending InvitationStatus = "pending" InvitationStatusRevoked InvitationStatus = "revoked" )
Defines values for InvitationStatus.
func (InvitationStatus) Valid ¶
func (e InvitationStatus) Valid() bool
Valid indicates whether the value is a known member of the InvitationStatus enum.
type InvitationsData ¶
type InvitationsData struct {
Invitations []Invitation `json:"invitations"`
}
InvitationsData defines model for InvitationsData.
type InvitationsResponse ¶
type InvitationsResponse struct {
Data InvitationsData `json:"data"`
Status InvitationsResponseStatus `json:"status"`
}
InvitationsResponse defines model for InvitationsResponse.
type InvitationsResponseStatus ¶
type InvitationsResponseStatus string
InvitationsResponseStatus defines model for InvitationsResponse.Status.
const (
InvitationsResponseStatusSuccess InvitationsResponseStatus = "success"
)
Defines values for InvitationsResponseStatus.
func (InvitationsResponseStatus) Valid ¶
func (e InvitationsResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the InvitationsResponseStatus enum.
type Invoice ¶
type Invoice struct {
// AmountDue Minor currency units (for example, euro cents).
AmountDue int64 `json:"amount_due"`
// AmountPaid Minor currency units (for example, euro cents).
AmountPaid int64 `json:"amount_paid"`
BillingReason nullable.Nullable[string] `json:"billing_reason,omitempty"`
CreatedAt time.Time `json:"created_at"`
Currency string `json:"currency"`
CustomerId openapi_types.UUID `json:"customer_id"`
Description nullable.Nullable[string] `json:"description,omitempty"`
Id openapi_types.UUID `json:"id"`
InvoicePdf nullable.Nullable[string] `json:"invoice_pdf,omitempty"`
InvoiceUrl nullable.Nullable[string] `json:"invoice_url,omitempty"`
PeriodEnd nullable.Nullable[time.Time] `json:"period_end,omitempty"`
PeriodStart nullable.Nullable[time.Time] `json:"period_start,omitempty"`
Status string `json:"status"`
StripeInvoiceId string `json:"stripe_invoice_id"`
SubscriptionId nullable.Nullable[openapi_types.UUID] `json:"subscription_id,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
}
Invoice defines model for Invoice.
type InvoicesData ¶
InvoicesData defines model for InvoicesData.
type InvoicesResponse ¶
type InvoicesResponse struct {
Data InvoicesData `json:"data"`
Status InvoicesResponseStatus `json:"status"`
}
InvoicesResponse defines model for InvoicesResponse.
type InvoicesResponseStatus ¶
type InvoicesResponseStatus string
InvoicesResponseStatus defines model for InvoicesResponse.Status.
const (
InvoicesResponseStatusSuccess InvoicesResponseStatus = "success"
)
Defines values for InvoicesResponseStatus.
func (InvoicesResponseStatus) Valid ¶
func (e InvoicesResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the InvoicesResponseStatus enum.
type ListAPIKeysResponse ¶
type ListAPIKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *APIKeysResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListAPIKeysResponse ¶
func ParseListAPIKeysResponse(rsp *http.Response) (*ListAPIKeysResponse, error)
ParseListAPIKeysResponse parses an HTTP response from a ListAPIKeysWithResponse call
func (ListAPIKeysResponse) ContentType ¶
func (r ListAPIKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAPIKeysResponse) GetBody ¶
func (r ListAPIKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAPIKeysResponse) GetJSON200 ¶
func (r ListAPIKeysResponse) GetJSON200() *APIKeysResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAPIKeysResponse) GetJSONDefault ¶
func (r ListAPIKeysResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListAPIKeysResponse) Status ¶
func (r ListAPIKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListAPIKeysResponse) StatusCode ¶
func (r ListAPIKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivityParams ¶
type ListActivityParams struct {
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Resource *string `form:"resource,omitempty" json:"resource,omitempty"`
Action *string `form:"action,omitempty" json:"action,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
StartTime *time.Time `form:"start_time,omitempty" json:"start_time,omitempty"`
EndTime *time.Time `form:"end_time,omitempty" json:"end_time,omitempty"`
}
ListActivityParams defines parameters for ListActivity.
type ListActivityResponse ¶
type ListActivityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActivityResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListActivityResponse ¶
func ParseListActivityResponse(rsp *http.Response) (*ListActivityResponse, error)
ParseListActivityResponse parses an HTTP response from a ListActivityWithResponse call
func (ListActivityResponse) ContentType ¶
func (r ListActivityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListActivityResponse) GetBody ¶
func (r ListActivityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListActivityResponse) GetJSON200 ¶
func (r ListActivityResponse) GetJSON200() *ActivityResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListActivityResponse) GetJSONDefault ¶
func (r ListActivityResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListActivityResponse) Status ¶
func (r ListActivityResponse) Status() string
Status returns HTTPResponse.Status
func (ListActivityResponse) StatusCode ¶
func (r ListActivityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAlertsParams ¶
type ListAlertsParams struct {
ScopeType *AlertScopeType `form:"scope_type,omitempty" json:"scope_type,omitempty"`
ScopeId *string `form:"scope_id,omitempty" json:"scope_id,omitempty"`
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAlertsParams defines parameters for ListAlerts.
type ListAlertsResponse ¶
type ListAlertsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AlertsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListAlertsResponse ¶
func ParseListAlertsResponse(rsp *http.Response) (*ListAlertsResponse, error)
ParseListAlertsResponse parses an HTTP response from a ListAlertsWithResponse call
func (ListAlertsResponse) ContentType ¶
func (r ListAlertsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAlertsResponse) GetBody ¶
func (r ListAlertsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAlertsResponse) GetJSON200 ¶
func (r ListAlertsResponse) GetJSON200() *AlertsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAlertsResponse) GetJSONDefault ¶
func (r ListAlertsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListAlertsResponse) Status ¶
func (r ListAlertsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAlertsResponse) StatusCode ¶
func (r ListAlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSControlConnectionZonesResponse ¶
type ListDNSControlConnectionZonesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlProviderZonesResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSControlConnectionZonesResponse ¶
func ParseListDNSControlConnectionZonesResponse(rsp *http.Response) (*ListDNSControlConnectionZonesResponse, error)
ParseListDNSControlConnectionZonesResponse parses an HTTP response from a ListDNSControlConnectionZonesWithResponse call
func (ListDNSControlConnectionZonesResponse) ContentType ¶
func (r ListDNSControlConnectionZonesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSControlConnectionZonesResponse) GetBody ¶
func (r ListDNSControlConnectionZonesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSControlConnectionZonesResponse) GetJSON200 ¶
func (r ListDNSControlConnectionZonesResponse) GetJSON200() *DNSControlProviderZonesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSControlConnectionZonesResponse) GetJSONDefault ¶
func (r ListDNSControlConnectionZonesResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSControlConnectionZonesResponse) Status ¶
func (r ListDNSControlConnectionZonesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSControlConnectionZonesResponse) StatusCode ¶
func (r ListDNSControlConnectionZonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSControlConnectionsResponse ¶
type ListDNSControlConnectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlConnectionsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSControlConnectionsResponse ¶
func ParseListDNSControlConnectionsResponse(rsp *http.Response) (*ListDNSControlConnectionsResponse, error)
ParseListDNSControlConnectionsResponse parses an HTTP response from a ListDNSControlConnectionsWithResponse call
func (ListDNSControlConnectionsResponse) ContentType ¶
func (r ListDNSControlConnectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSControlConnectionsResponse) GetBody ¶
func (r ListDNSControlConnectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSControlConnectionsResponse) GetJSON200 ¶
func (r ListDNSControlConnectionsResponse) GetJSON200() *DNSControlConnectionsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSControlConnectionsResponse) GetJSONDefault ¶
func (r ListDNSControlConnectionsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSControlConnectionsResponse) Status ¶
func (r ListDNSControlConnectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSControlConnectionsResponse) StatusCode ¶
func (r ListDNSControlConnectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSControlInventoryResponse ¶
type ListDNSControlInventoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlInventoryListResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSControlInventoryResponse ¶
func ParseListDNSControlInventoryResponse(rsp *http.Response) (*ListDNSControlInventoryResponse, error)
ParseListDNSControlInventoryResponse parses an HTTP response from a ListDNSControlInventoryWithResponse call
func (ListDNSControlInventoryResponse) ContentType ¶
func (r ListDNSControlInventoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSControlInventoryResponse) GetBody ¶
func (r ListDNSControlInventoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSControlInventoryResponse) GetJSON200 ¶
func (r ListDNSControlInventoryResponse) GetJSON200() *DNSControlInventoryListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSControlInventoryResponse) GetJSONDefault ¶
func (r ListDNSControlInventoryResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSControlInventoryResponse) Status ¶
func (r ListDNSControlInventoryResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSControlInventoryResponse) StatusCode ¶
func (r ListDNSControlInventoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSControlProvidersResponse ¶
type ListDNSControlProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlProvidersResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSControlProvidersResponse ¶
func ParseListDNSControlProvidersResponse(rsp *http.Response) (*ListDNSControlProvidersResponse, error)
ParseListDNSControlProvidersResponse parses an HTTP response from a ListDNSControlProvidersWithResponse call
func (ListDNSControlProvidersResponse) ContentType ¶
func (r ListDNSControlProvidersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSControlProvidersResponse) GetBody ¶
func (r ListDNSControlProvidersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSControlProvidersResponse) GetJSON200 ¶
func (r ListDNSControlProvidersResponse) GetJSON200() *DNSControlProvidersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSControlProvidersResponse) GetJSONDefault ¶
func (r ListDNSControlProvidersResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSControlProvidersResponse) Status ¶
func (r ListDNSControlProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSControlProvidersResponse) StatusCode ¶
func (r ListDNSControlProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSControlSnapshotsParams ¶
type ListDNSControlSnapshotsParams struct {
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Maximum number of items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListDNSControlSnapshotsParams defines parameters for ListDNSControlSnapshots.
type ListDNSControlSnapshotsResponse ¶
type ListDNSControlSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DNSControlSnapshotsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSControlSnapshotsResponse ¶
func ParseListDNSControlSnapshotsResponse(rsp *http.Response) (*ListDNSControlSnapshotsResponse, error)
ParseListDNSControlSnapshotsResponse parses an HTTP response from a ListDNSControlSnapshotsWithResponse call
func (ListDNSControlSnapshotsResponse) ContentType ¶
func (r ListDNSControlSnapshotsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSControlSnapshotsResponse) GetBody ¶
func (r ListDNSControlSnapshotsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSControlSnapshotsResponse) GetJSON200 ¶
func (r ListDNSControlSnapshotsResponse) GetJSON200() *DNSControlSnapshotsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSControlSnapshotsResponse) GetJSONDefault ¶
func (r ListDNSControlSnapshotsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSControlSnapshotsResponse) Status ¶
func (r ListDNSControlSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSControlSnapshotsResponse) StatusCode ¶
func (r ListDNSControlSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSSECCryptokeysResponse ¶
type ListDNSSECCryptokeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CryptokeysResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSSECCryptokeysResponse ¶
func ParseListDNSSECCryptokeysResponse(rsp *http.Response) (*ListDNSSECCryptokeysResponse, error)
ParseListDNSSECCryptokeysResponse parses an HTTP response from a ListDNSSECCryptokeysWithResponse call
func (ListDNSSECCryptokeysResponse) ContentType ¶
func (r ListDNSSECCryptokeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSSECCryptokeysResponse) GetBody ¶
func (r ListDNSSECCryptokeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSSECCryptokeysResponse) GetJSON200 ¶
func (r ListDNSSECCryptokeysResponse) GetJSON200() *CryptokeysResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSSECCryptokeysResponse) GetJSONDefault ¶
func (r ListDNSSECCryptokeysResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSSECCryptokeysResponse) Status ¶
func (r ListDNSSECCryptokeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSSECCryptokeysResponse) StatusCode ¶
func (r ListDNSSECCryptokeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSSECDSRecordsResponse ¶
type ListDNSSECDSRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DSRecordsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListDNSSECDSRecordsResponse ¶
func ParseListDNSSECDSRecordsResponse(rsp *http.Response) (*ListDNSSECDSRecordsResponse, error)
ParseListDNSSECDSRecordsResponse parses an HTTP response from a ListDNSSECDSRecordsWithResponse call
func (ListDNSSECDSRecordsResponse) ContentType ¶
func (r ListDNSSECDSRecordsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDNSSECDSRecordsResponse) GetBody ¶
func (r ListDNSSECDSRecordsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDNSSECDSRecordsResponse) GetJSON200 ¶
func (r ListDNSSECDSRecordsResponse) GetJSON200() *DSRecordsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDNSSECDSRecordsResponse) GetJSONDefault ¶
func (r ListDNSSECDSRecordsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListDNSSECDSRecordsResponse) Status ¶
func (r ListDNSSECDSRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSSECDSRecordsResponse) StatusCode ¶
func (r ListDNSSECDSRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInvitationsParams ¶
type ListInvitationsParams struct {
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Maximum number of items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListInvitationsParams defines parameters for ListInvitations.
type ListInvitationsResponse ¶
type ListInvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvitationsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListInvitationsResponse ¶
func ParseListInvitationsResponse(rsp *http.Response) (*ListInvitationsResponse, error)
ParseListInvitationsResponse parses an HTTP response from a ListInvitationsWithResponse call
func (ListInvitationsResponse) ContentType ¶
func (r ListInvitationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListInvitationsResponse) GetBody ¶
func (r ListInvitationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListInvitationsResponse) GetJSON200 ¶
func (r ListInvitationsResponse) GetJSON200() *InvitationsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListInvitationsResponse) GetJSONDefault ¶
func (r ListInvitationsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListInvitationsResponse) Status ¶
func (r ListInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInvitationsResponse) StatusCode ¶
func (r ListInvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInvoicesParams ¶
type ListInvoicesParams struct {
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListInvoicesParams defines parameters for ListInvoices.
type ListInvoicesResponse ¶
type ListInvoicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvoicesResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListInvoicesResponse ¶
func ParseListInvoicesResponse(rsp *http.Response) (*ListInvoicesResponse, error)
ParseListInvoicesResponse parses an HTTP response from a ListInvoicesWithResponse call
func (ListInvoicesResponse) ContentType ¶
func (r ListInvoicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListInvoicesResponse) GetBody ¶
func (r ListInvoicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListInvoicesResponse) GetJSON200 ¶
func (r ListInvoicesResponse) GetJSON200() *InvoicesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListInvoicesResponse) GetJSONDefault ¶
func (r ListInvoicesResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListInvoicesResponse) Status ¶
func (r ListInvoicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInvoicesResponse) StatusCode ¶
func (r ListInvoicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRecordsParams ¶
type ListRecordsParams struct {
// Offset Number of records to skip.
Offset *RecordOffset `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Maximum number of records to return.
Limit *RecordLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListRecordsParams defines parameters for ListRecords.
type ListRecordsResponse ¶
type ListRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecordsResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListRecordsResponse ¶
func ParseListRecordsResponse(rsp *http.Response) (*ListRecordsResponse, error)
ParseListRecordsResponse parses an HTTP response from a ListRecordsWithResponse call
func (ListRecordsResponse) ContentType ¶
func (r ListRecordsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRecordsResponse) GetBody ¶
func (r ListRecordsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRecordsResponse) GetJSON200 ¶
func (r ListRecordsResponse) GetJSON200() *RecordsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRecordsResponse) GetJSONDefault ¶
func (r ListRecordsResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListRecordsResponse) Status ¶
func (r ListRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRecordsResponse) StatusCode ¶
func (r ListRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTopZonesByUsageParams ¶
type ListTopZonesByUsageParams struct {
// StartDate Inclusive start date in YYYY-MM-DD format. Defaults to 30 days ago.
StartDate *StartDate `form:"start_date,omitempty" json:"start_date,omitempty"`
// EndDate Inclusive end date in YYYY-MM-DD format. Defaults to today.
EndDate *EndDate `form:"end_date,omitempty" json:"end_date,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListTopZonesByUsageParams defines parameters for ListTopZonesByUsage.
type ListTopZonesByUsageResponse ¶
type ListTopZonesByUsageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TopZonesResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListTopZonesByUsageResponse ¶
func ParseListTopZonesByUsageResponse(rsp *http.Response) (*ListTopZonesByUsageResponse, error)
ParseListTopZonesByUsageResponse parses an HTTP response from a ListTopZonesByUsageWithResponse call
func (ListTopZonesByUsageResponse) ContentType ¶
func (r ListTopZonesByUsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTopZonesByUsageResponse) GetBody ¶
func (r ListTopZonesByUsageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTopZonesByUsageResponse) GetJSON200 ¶
func (r ListTopZonesByUsageResponse) GetJSON200() *TopZonesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTopZonesByUsageResponse) GetJSONDefault ¶
func (r ListTopZonesByUsageResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListTopZonesByUsageResponse) Status ¶
func (r ListTopZonesByUsageResponse) Status() string
Status returns HTTPResponse.Status
func (ListTopZonesByUsageResponse) StatusCode ¶
func (r ListTopZonesByUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersParams ¶
type ListUsersParams struct {
// Offset Number of items to skip.
Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Maximum number of items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListUsersParams defines parameters for ListUsers.
type ListUsersResponse ¶
type ListUsersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UsersResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseListUsersResponse ¶
func ParseListUsersResponse(rsp *http.Response) (*ListUsersResponse, error)
ParseListUsersResponse parses an HTTP response from a ListUsersWithResponse call
func (ListUsersResponse) ContentType ¶
func (r ListUsersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUsersResponse) GetBody ¶
func (r ListUsersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListUsersResponse) GetJSON200 ¶
func (r ListUsersResponse) GetJSON200() *UsersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListUsersResponse) GetJSONDefault ¶
func (r ListUsersResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (ListUsersResponse) Status ¶
func (r ListUsersResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsersResponse) StatusCode ¶
func (r ListUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListZonesParams ¶
type ListZonesParams struct {
// Offset Number of zones to skip.
Offset *ZoneOffset `form:"offset,omitempty" json:"offset,omitempty"`
// Limit Maximum number of zones to return.
Limit *ZoneLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListZonesParams defines parameters for ListZones.
type ListZonesResponse ¶
type ListZonesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ZonesResponse
// 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() *ZonesResponse
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 OffsetMeta ¶
OffsetMeta defines model for OffsetMeta.
type Pagination ¶
type Pagination struct {
Count int `json:"count"`
HasMore bool `json:"has_more"`
Limit int `json:"limit"`
Offset int `json:"offset"`
Total int `json:"total"`
}
Pagination defines model for Pagination.
type ProviderCredentials ¶
type ProviderCredentials struct {
AccessKeyId *string `json:"access_key_id,omitempty"`
ApiKey *string `json:"api_key,omitempty"`
ApiToken *string `json:"api_token,omitempty"`
Region *string `json:"region,omitempty"`
SecretAccessKey *string `json:"secret_access_key,omitempty"`
}
ProviderCredentials Credentials are accepted on create and are never returned.
type Record ¶
type Record struct {
Comment nullable.Nullable[string] `json:"comment,omitempty"`
// Content Example: 192.0.2.1
Content string `json:"content"`
Disabled bool `json:"disabled"`
Id string `json:"id"`
// Name Example: www.example.com.
Name string `json:"name"`
Priority nullable.Nullable[int] `json:"priority,omitempty"`
Ttl int `json:"ttl"`
Type RecordType `json:"type"`
}
Record defines model for Record.
type RecordData ¶
type RecordData struct {
Record Record `json:"record"`
}
RecordData defines model for RecordData.
type RecordResponse ¶
type RecordResponse struct {
Data RecordData `json:"data"`
Status RecordResponseStatus `json:"status"`
}
RecordResponse defines model for RecordResponse.
type RecordResponseStatus ¶
type RecordResponseStatus string
RecordResponseStatus defines model for RecordResponse.Status.
const (
RecordResponseStatusSuccess RecordResponseStatus = "success"
)
Defines values for RecordResponseStatus.
func (RecordResponseStatus) Valid ¶
func (e RecordResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the RecordResponseStatus enum.
type RecordType ¶
type RecordType string
RecordType defines model for RecordType.
const ( A RecordType = "A" AAAA RecordType = "AAAA" ALIAS RecordType = "ALIAS" CAA RecordType = "CAA" CNAME RecordType = "CNAME" HTTPS RecordType = "HTTPS" MX RecordType = "MX" NAPTR RecordType = "NAPTR" NS RecordType = "NS" PTR RecordType = "PTR" SOA RecordType = "SOA" SRV RecordType = "SRV" SVCB RecordType = "SVCB" TLSA RecordType = "TLSA" TXT RecordType = "TXT" )
Defines values for RecordType.
func (RecordType) Valid ¶
func (e RecordType) Valid() bool
Valid indicates whether the value is a known member of the RecordType enum.
type RecordsData ¶
type RecordsData struct {
Pagination Pagination `json:"pagination"`
Records []Record `json:"records"`
}
RecordsData defines model for RecordsData.
type RecordsResponse ¶
type RecordsResponse struct {
Data RecordsData `json:"data"`
Status RecordsResponseStatus `json:"status"`
}
RecordsResponse defines model for RecordsResponse.
type RecordsResponseStatus ¶
type RecordsResponseStatus string
RecordsResponseStatus defines model for RecordsResponse.Status.
const (
RecordsResponseStatusSuccess RecordsResponseStatus = "success"
)
Defines values for RecordsResponseStatus.
func (RecordsResponseStatus) Valid ¶
func (e RecordsResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the RecordsResponseStatus enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SaveDNSControlZoneInventoryJSONRequestBody ¶
type SaveDNSControlZoneInventoryJSONRequestBody = DNSControlProviderZoneRequest
SaveDNSControlZoneInventoryJSONRequestBody defines body for SaveDNSControlZoneInventory for application/json ContentType.
type SaveDNSControlZoneInventoryResponse ¶
type SaveDNSControlZoneInventoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DNSControlInventoryResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseSaveDNSControlZoneInventoryResponse ¶
func ParseSaveDNSControlZoneInventoryResponse(rsp *http.Response) (*SaveDNSControlZoneInventoryResponse, error)
ParseSaveDNSControlZoneInventoryResponse parses an HTTP response from a SaveDNSControlZoneInventoryWithResponse call
func (SaveDNSControlZoneInventoryResponse) ContentType ¶
func (r SaveDNSControlZoneInventoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SaveDNSControlZoneInventoryResponse) GetBody ¶
func (r SaveDNSControlZoneInventoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SaveDNSControlZoneInventoryResponse) GetJSON201 ¶
func (r SaveDNSControlZoneInventoryResponse) GetJSON201() *DNSControlInventoryResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (SaveDNSControlZoneInventoryResponse) GetJSONDefault ¶
func (r SaveDNSControlZoneInventoryResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SaveDNSControlZoneInventoryResponse) Status ¶
func (r SaveDNSControlZoneInventoryResponse) Status() string
Status returns HTTPResponse.Status
func (SaveDNSControlZoneInventoryResponse) StatusCode ¶
func (r SaveDNSControlZoneInventoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetDNSSECRequest ¶
type SetDNSSECRequest struct {
Enable bool `json:"enable"`
}
SetDNSSECRequest defines model for SetDNSSECRequest.
type SetDNSSECStatusJSONRequestBody ¶
type SetDNSSECStatusJSONRequestBody = SetDNSSECRequest
SetDNSSECStatusJSONRequestBody defines body for SetDNSSECStatus for application/json ContentType.
type SetDNSSECStatusResponse ¶
type SetDNSSECStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseSetDNSSECStatusResponse ¶
func ParseSetDNSSECStatusResponse(rsp *http.Response) (*SetDNSSECStatusResponse, error)
ParseSetDNSSECStatusResponse parses an HTTP response from a SetDNSSECStatusWithResponse call
func (SetDNSSECStatusResponse) ContentType ¶
func (r SetDNSSECStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetDNSSECStatusResponse) GetBody ¶
func (r SetDNSSECStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetDNSSECStatusResponse) GetJSONDefault ¶
func (r SetDNSSECStatusResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (SetDNSSECStatusResponse) Status ¶
func (r SetDNSSECStatusResponse) Status() string
Status returns HTTPResponse.Status
func (SetDNSSECStatusResponse) StatusCode ¶
func (r SetDNSSECStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ToSnapshotId ¶
type ToSnapshotId = openapi_types.UUID
ToSnapshotId defines model for ToSnapshotId.
type TopZonesData ¶
type TopZonesData struct {
Zones []ZoneUsageSummary `json:"zones"`
}
TopZonesData defines model for TopZonesData.
type TopZonesResponse ¶
type TopZonesResponse struct {
Data TopZonesData `json:"data"`
Status TopZonesResponseStatus `json:"status"`
}
TopZonesResponse defines model for TopZonesResponse.
type TopZonesResponseStatus ¶
type TopZonesResponseStatus string
TopZonesResponseStatus defines model for TopZonesResponse.Status.
const (
TopZonesResponseStatusSuccess TopZonesResponseStatus = "success"
)
Defines values for TopZonesResponseStatus.
func (TopZonesResponseStatus) Valid ¶
func (e TopZonesResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the TopZonesResponseStatus enum.
type UpdateAlertJSONRequestBody ¶
type UpdateAlertJSONRequestBody = UpdateAlertRequest
UpdateAlertJSONRequestBody defines body for UpdateAlert for application/json ContentType.
type UpdateAlertRequest ¶
type UpdateAlertRequest struct {
Actions *map[string]string `json:"actions,omitempty"`
Channels *[]AlertChannel `json:"channels,omitempty"`
CooldownSeconds *int `json:"cooldown_seconds,omitempty"`
ScopeId *string `json:"scope_id,omitempty"`
ScopeType *AlertScopeType `json:"scope_type,omitempty"`
Severity *AlertSeverity `json:"severity,omitempty"`
Status *AlertStatus `json:"status,omitempty"`
ThresholdConfig *AlertThresholdConfig `json:"threshold_config,omitempty"`
Thresholds *[]int `json:"thresholds,omitempty"`
}
UpdateAlertRequest defines model for UpdateAlertRequest.
type UpdateAlertResponse ¶
type UpdateAlertResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AlertResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseUpdateAlertResponse ¶
func ParseUpdateAlertResponse(rsp *http.Response) (*UpdateAlertResponse, error)
ParseUpdateAlertResponse parses an HTTP response from a UpdateAlertWithResponse call
func (UpdateAlertResponse) ContentType ¶
func (r UpdateAlertResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateAlertResponse) GetBody ¶
func (r UpdateAlertResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateAlertResponse) GetJSON200 ¶
func (r UpdateAlertResponse) GetJSON200() *AlertResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateAlertResponse) GetJSONDefault ¶
func (r UpdateAlertResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UpdateAlertResponse) Status ¶
func (r UpdateAlertResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAlertResponse) StatusCode ¶
func (r UpdateAlertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCryptokeyRequest ¶
type UpdateCryptokeyRequest struct {
Active *bool `json:"active,omitempty"`
Published *bool `json:"published,omitempty"`
}
UpdateCryptokeyRequest defines model for UpdateCryptokeyRequest.
type UpdateDNSSECCryptokeyJSONRequestBody ¶
type UpdateDNSSECCryptokeyJSONRequestBody = UpdateCryptokeyRequest
UpdateDNSSECCryptokeyJSONRequestBody defines body for UpdateDNSSECCryptokey for application/json ContentType.
type UpdateDNSSECCryptokeyResponse ¶
type UpdateDNSSECCryptokeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseUpdateDNSSECCryptokeyResponse ¶
func ParseUpdateDNSSECCryptokeyResponse(rsp *http.Response) (*UpdateDNSSECCryptokeyResponse, error)
ParseUpdateDNSSECCryptokeyResponse parses an HTTP response from a UpdateDNSSECCryptokeyWithResponse call
func (UpdateDNSSECCryptokeyResponse) ContentType ¶
func (r UpdateDNSSECCryptokeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDNSSECCryptokeyResponse) GetBody ¶
func (r UpdateDNSSECCryptokeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDNSSECCryptokeyResponse) GetJSONDefault ¶
func (r UpdateDNSSECCryptokeyResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UpdateDNSSECCryptokeyResponse) Status ¶
func (r UpdateDNSSECCryptokeyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDNSSECCryptokeyResponse) StatusCode ¶
func (r UpdateDNSSECCryptokeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRecordByNameAndTypeJSONRequestBody ¶
type UpdateRecordByNameAndTypeJSONRequestBody = UpdateRecordByNameRequest
UpdateRecordByNameAndTypeJSONRequestBody defines body for UpdateRecordByNameAndType for application/json ContentType.
type UpdateRecordByNameAndTypeParams ¶
type UpdateRecordByNameAndTypeParams struct {
// Content Existing record value used to disambiguate a multi-value RRset.
Content *RecordContent `form:"content,omitempty" json:"content,omitempty"`
}
UpdateRecordByNameAndTypeParams defines parameters for UpdateRecordByNameAndType.
type UpdateRecordByNameAndTypeResponse ¶
type UpdateRecordByNameAndTypeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecordResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseUpdateRecordByNameAndTypeResponse ¶
func ParseUpdateRecordByNameAndTypeResponse(rsp *http.Response) (*UpdateRecordByNameAndTypeResponse, error)
ParseUpdateRecordByNameAndTypeResponse parses an HTTP response from a UpdateRecordByNameAndTypeWithResponse call
func (UpdateRecordByNameAndTypeResponse) ContentType ¶
func (r UpdateRecordByNameAndTypeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateRecordByNameAndTypeResponse) GetBody ¶
func (r UpdateRecordByNameAndTypeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateRecordByNameAndTypeResponse) GetJSON200 ¶
func (r UpdateRecordByNameAndTypeResponse) GetJSON200() *RecordResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateRecordByNameAndTypeResponse) GetJSONDefault ¶
func (r UpdateRecordByNameAndTypeResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UpdateRecordByNameAndTypeResponse) Status ¶
func (r UpdateRecordByNameAndTypeResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRecordByNameAndTypeResponse) StatusCode ¶
func (r UpdateRecordByNameAndTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRecordByNameRequest ¶
type UpdateRecordByNameRequest struct {
Comment nullable.Nullable[string] `json:"comment,omitempty"`
Content string `json:"content"`
Disabled *bool `json:"disabled,omitempty"`
Priority nullable.Nullable[int] `json:"priority,omitempty"`
Ttl *int `json:"ttl,omitempty"`
}
UpdateRecordByNameRequest defines model for UpdateRecordByNameRequest.
type UpdateRecordJSONRequestBody ¶
type UpdateRecordJSONRequestBody = UpdateRecordRequest
UpdateRecordJSONRequestBody defines body for UpdateRecord for application/json ContentType.
type UpdateRecordRequest ¶
type UpdateRecordRequest = CreateRecordRequest
UpdateRecordRequest defines model for UpdateRecordRequest.
type UpdateRecordResponse ¶
type UpdateRecordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecordResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseUpdateRecordResponse ¶
func ParseUpdateRecordResponse(rsp *http.Response) (*UpdateRecordResponse, error)
ParseUpdateRecordResponse parses an HTTP response from a UpdateRecordWithResponse call
func (UpdateRecordResponse) ContentType ¶
func (r UpdateRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateRecordResponse) GetBody ¶
func (r UpdateRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateRecordResponse) GetJSON200 ¶
func (r UpdateRecordResponse) GetJSON200() *RecordResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateRecordResponse) GetJSONDefault ¶
func (r UpdateRecordResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UpdateRecordResponse) Status ¶
func (r UpdateRecordResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRecordResponse) StatusCode ¶
func (r UpdateRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateUserJSONRequestBody ¶
type UpdateUserJSONRequestBody = UpdateUserRequest
UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.
type UpdateUserRequest ¶
type UpdateUserRequest struct {
Active *bool `json:"active,omitempty"`
Email openapi_types.Email `json:"email"`
FullName *string `json:"full_name,omitempty"`
Role *UserRole `json:"role,omitempty"`
}
UpdateUserRequest The current API requires `email`; omitted role and active values retain their existing values.
type UpdateUserResponse ¶
type UpdateUserResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseUpdateUserResponse ¶
func ParseUpdateUserResponse(rsp *http.Response) (*UpdateUserResponse, error)
ParseUpdateUserResponse parses an HTTP response from a UpdateUserWithResponse call
func (UpdateUserResponse) ContentType ¶
func (r UpdateUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateUserResponse) GetBody ¶
func (r UpdateUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateUserResponse) GetJSON200 ¶
func (r UpdateUserResponse) GetJSON200() *UserResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateUserResponse) GetJSONDefault ¶
func (r UpdateUserResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UpdateUserResponse) Status ¶
func (r UpdateUserResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateUserResponse) StatusCode ¶
func (r UpdateUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateZoneJSONRequestBody ¶
type UpdateZoneJSONRequestBody = UpdateZoneRequest
UpdateZoneJSONRequestBody defines body for UpdateZone for application/json ContentType.
type UpdateZoneRequest ¶
type UpdateZoneRequest struct {
Name string `json:"name"`
Region *ZoneRegion `json:"region,omitempty"`
Status *ZoneStatus `json:"status,omitempty"`
// Type PowerDNS zone kind. `master` is the default for newly created zones.
Type *ZoneType `json:"type,omitempty"`
}
UpdateZoneRequest The current API requires `name`; omitted type, region, and status values retain their existing values.
type UpdateZoneResponse ¶
type UpdateZoneResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ZoneResponse
// JSONDefault the response for an HTTP default `application/json` response
JSONDefault *Error
}
func ParseUpdateZoneResponse ¶
func ParseUpdateZoneResponse(rsp *http.Response) (*UpdateZoneResponse, error)
ParseUpdateZoneResponse parses an HTTP response from a UpdateZoneWithResponse call
func (UpdateZoneResponse) ContentType ¶
func (r UpdateZoneResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateZoneResponse) GetBody ¶
func (r UpdateZoneResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateZoneResponse) GetJSON200 ¶
func (r UpdateZoneResponse) GetJSON200() *ZoneResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateZoneResponse) GetJSONDefault ¶
func (r UpdateZoneResponse) GetJSONDefault() *Error
GetJSONDefault returns the response for an HTTP default `application/json` response
func (UpdateZoneResponse) Status ¶
func (r UpdateZoneResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateZoneResponse) StatusCode ¶
func (r UpdateZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
Active bool `json:"active"`
CreatedAt time.Time `json:"created_at"`
CustomerId openapi_types.UUID `json:"customer_id"`
Email openapi_types.Email `json:"email"`
FullName string `json:"full_name"`
Id openapi_types.UUID `json:"id"`
Role UserRole `json:"role"`
UpdatedAt time.Time `json:"updated_at"`
ZoneCount nullable.Nullable[int] `json:"zone_count,omitempty"`
}
User defines model for User.
type UserData ¶
type UserData struct {
User User `json:"user"`
}
UserData defines model for UserData.
type UserResponse ¶
type UserResponse struct {
Data UserData `json:"data"`
Status UserResponseStatus `json:"status"`
}
UserResponse defines model for UserResponse.
type UserResponseStatus ¶
type UserResponseStatus string
UserResponseStatus defines model for UserResponse.Status.
const (
UserResponseStatusSuccess UserResponseStatus = "success"
)
Defines values for UserResponseStatus.
func (UserResponseStatus) Valid ¶
func (e UserResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the UserResponseStatus enum.
type UserRole ¶
type UserRole string
UserRole defines model for UserRole.
Defines values for UserRole.
type UsersData ¶
type UsersData struct {
Users []User `json:"users"`
}
UsersData defines model for UsersData.
type UsersResponse ¶
type UsersResponse struct {
Data UsersData `json:"data"`
Status UsersResponseStatus `json:"status"`
}
UsersResponse defines model for UsersResponse.
type UsersResponseStatus ¶
type UsersResponseStatus string
UsersResponseStatus defines model for UsersResponse.Status.
const (
UsersResponseStatusSuccess UsersResponseStatus = "success"
)
Defines values for UsersResponseStatus.
func (UsersResponseStatus) Valid ¶
func (e UsersResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the UsersResponseStatus enum.
type Zone ¶
type Zone struct {
CreatedAt time.Time `json:"created_at"`
CustomerId openapi_types.UUID `json:"customer_id"`
Id openapi_types.UUID `json:"id"`
// Name Example: example.com
Name string `json:"name"`
Region ZoneRegion `json:"region"`
Settings *ZoneSettingsBrief `json:"settings,omitempty"`
Status ZoneStatus `json:"status"`
// Type PowerDNS zone kind. `master` is the default for newly created zones.
Type ZoneType `json:"type"`
UpdatedAt time.Time `json:"updated_at"`
}
Zone defines model for Zone.
type ZoneData ¶
type ZoneData struct {
Zone Zone `json:"zone"`
}
ZoneData defines model for ZoneData.
type ZoneRegion ¶
type ZoneRegion string
ZoneRegion defines model for ZoneRegion.
const ( EU ZoneRegion = "EU" EUGLOBAL ZoneRegion = "EU_GLOBAL" GLOBAL ZoneRegion = "GLOBAL" )
Defines values for ZoneRegion.
func (ZoneRegion) Valid ¶
func (e ZoneRegion) Valid() bool
Valid indicates whether the value is a known member of the ZoneRegion enum.
type ZoneResponse ¶
type ZoneResponse struct {
Data ZoneData `json:"data"`
Status ZoneResponseStatus `json:"status"`
}
ZoneResponse defines model for ZoneResponse.
type ZoneResponseStatus ¶
type ZoneResponseStatus string
ZoneResponseStatus defines model for ZoneResponse.Status.
const (
ZoneResponseStatusSuccess ZoneResponseStatus = "success"
)
Defines values for ZoneResponseStatus.
func (ZoneResponseStatus) Valid ¶
func (e ZoneResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the ZoneResponseStatus enum.
type ZoneSettingsBrief ¶
type ZoneSettingsBrief struct {
DnssecEnabled bool `json:"dnssec_enabled"`
}
ZoneSettingsBrief defines model for ZoneSettingsBrief.
type ZoneStatus ¶
type ZoneStatus string
ZoneStatus defines model for ZoneStatus.
const ( ZoneStatusActive ZoneStatus = "active" ZoneStatusError ZoneStatus = "error" ZoneStatusPaused ZoneStatus = "paused" ZoneStatusPending ZoneStatus = "pending" )
Defines values for ZoneStatus.
func (ZoneStatus) Valid ¶
func (e ZoneStatus) Valid() bool
Valid indicates whether the value is a known member of the ZoneStatus enum.
type ZoneType ¶
type ZoneType string
ZoneType PowerDNS zone kind. `master` is the default for newly created zones.
type ZoneUsageDaily ¶
type ZoneUsageDaily struct {
CreatedAt time.Time `json:"created_at"`
CustomerId openapi_types.UUID `json:"customer_id"`
Id int64 `json:"id"`
QueryByRcode *UsageMap `json:"query_by_rcode,omitempty"`
QueryByType *UsageMap `json:"query_by_type,omitempty"`
TotalQueries int64 `json:"total_queries"`
UpdatedAt time.Time `json:"updated_at"`
UsageDate time.Time `json:"usage_date"`
ZoneId nullable.Nullable[openapi_types.UUID] `json:"zone_id,omitempty"`
ZoneName string `json:"zone_name"`
}
ZoneUsageDaily defines model for ZoneUsageDaily.
type ZoneUsageResponse ¶
type ZoneUsageResponse struct {
Data ZoneUsageSummary `json:"data"`
Status ZoneUsageResponseStatus `json:"status"`
}
ZoneUsageResponse defines model for ZoneUsageResponse.
type ZoneUsageResponseStatus ¶
type ZoneUsageResponseStatus string
ZoneUsageResponseStatus defines model for ZoneUsageResponse.Status.
const (
ZoneUsageResponseStatusSuccess ZoneUsageResponseStatus = "success"
)
Defines values for ZoneUsageResponseStatus.
func (ZoneUsageResponseStatus) Valid ¶
func (e ZoneUsageResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the ZoneUsageResponseStatus enum.
type ZoneUsageSummary ¶
type ZoneUsageSummary struct {
DailyBreakdown *[]ZoneUsageDaily `json:"daily_breakdown,omitempty"`
PeriodEnd time.Time `json:"period_end"`
PeriodStart time.Time `json:"period_start"`
TotalQueries int64 `json:"total_queries"`
ZoneId nullable.Nullable[openapi_types.UUID] `json:"zone_id,omitempty"`
ZoneName string `json:"zone_name"`
}
ZoneUsageSummary defines model for ZoneUsageSummary.
type ZonesData ¶
type ZonesData struct {
Pagination Pagination `json:"pagination"`
Zones []Zone `json:"zones"`
}
ZonesData defines model for ZonesData.
type ZonesResponse ¶
type ZonesResponse struct {
Data ZonesData `json:"data"`
Status ZonesResponseStatus `json:"status"`
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Zones *[]Zone `json:"zones,omitempty"`
}
ZonesResponse `zones` is also emitted as a deprecated top-level compatibility alias.
type ZonesResponseStatus ¶
type ZonesResponseStatus string
ZonesResponseStatus defines model for ZonesResponse.Status.
const (
ZonesResponseStatusSuccess ZonesResponseStatus = "success"
)
Defines values for ZonesResponseStatus.
func (ZonesResponseStatus) Valid ¶
func (e ZonesResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the ZonesResponseStatus enum.