Documentation
¶
Overview ¶
Package ScalewayDns provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Index ¶
- func NewBuyDomainRequest(server string, body BuyDomainJSONRequestBody) (*http.Request, error)
- func NewBuyDomainRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewClearDNSZoneRecordsRequest(server string, dnsZone string) (*http.Request, error)
- func NewCopyDNSZoneRequest(server string, dnsZone string, body CopyDNSZoneJSONRequestBody) (*http.Request, error)
- func NewCopyDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDNSZoneRequest(server string, body CreateDNSZoneJSONRequestBody) (*http.Request, error)
- func NewCreateDNSZoneRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSSLCertificateRequest(server string, body CreateSSLCertificateJSONRequestBody) (*http.Request, error)
- func NewCreateSSLCertificateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteDNSZoneRequest(server string, dnsZone string) (*http.Request, error)
- func NewDeleteDNSZoneTsigKeyRequest(server string, dnsZone string, id string) (*http.Request, error)
- func NewDeleteExternalDomainRequest(server string, domain string) (*http.Request, error)
- func NewDeleteSSLCertificateRequest(server string, dnsZone string) (*http.Request, error)
- func NewDisableDomainAutoRenewRequest(server string, domain string, body DisableDomainAutoRenewJSONRequestBody) (*http.Request, error)
- func NewDisableDomainAutoRenewRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewDisableDomainDNSSECRequest(server string, domain string, body DisableDomainDNSSECJSONRequestBody) (*http.Request, error)
- func NewDisableDomainDNSSECRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnableDomainAutoRenewRequest(server string, domain string, body EnableDomainAutoRenewJSONRequestBody) (*http.Request, error)
- func NewEnableDomainAutoRenewRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnableDomainDNSSECRequest(server string, domain string, body EnableDomainDNSSECJSONRequestBody) (*http.Request, error)
- func NewEnableDomainDNSSECRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewExportRawDNSZoneRequest(server string, dnsZone string, params *ExportRawDNSZoneParams) (*http.Request, error)
- func NewGetContactRequest(server string, contactId string) (*http.Request, error)
- func NewGetDNSZoneTsigKeyRequest(server string, dnsZone string) (*http.Request, error)
- func NewGetDNSZoneVersionDiffRequest(server string, dnsZone string, version string) (*http.Request, error)
- func NewGetDomainAuthCodeRequest(server string, domain string) (*http.Request, error)
- func NewGetDomainRequest(server string, domain string) (*http.Request, error)
- func NewImportProviderDNSZoneRequest(server string, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*http.Request, error)
- func NewImportProviderDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewImportRawDNSZoneRequest(server string, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*http.Request, error)
- func NewImportRawDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
- func NewListDNSZoneNameserversRequest(server string, dnsZone string, params *ListDNSZoneNameserversParams) (*http.Request, error)
- func NewListDNSZoneRecordsRequest(server string, dnsZone string, params *ListDNSZoneRecordsParams) (*http.Request, error)
- func NewListDNSZoneVersionRecordsRequest(server string, dnsZone string, version string, ...) (*http.Request, error)
- func NewListDNSZoneVersionsRequest(server string, dnsZone string, params *ListDNSZoneVersionsParams) (*http.Request, error)
- func NewListDNSZonesRequest(server string, params *ListDNSZonesParams) (*http.Request, error)
- func NewListDomainsRequest(server string, params *ListDomainsParams) (*http.Request, error)
- func NewListSSLCertificatesRequest(server string, params *ListSSLCertificatesParams) (*http.Request, error)
- func NewListTasksRequest(server string, params *ListTasksParams) (*http.Request, error)
- func NewLockDomainTransferRequest(server string, domain string, body LockDomainTransferJSONRequestBody) (*http.Request, error)
- func NewLockDomainTransferRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewRefreshDNSZoneRequest(server string, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*http.Request, error)
- func NewRefreshDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewRegisterExternalDomainRequest(server string, body RegisterExternalDomainJSONRequestBody) (*http.Request, error)
- func NewRegisterExternalDomainRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRenewDomainRequest(server string, domain string, body RenewDomainJSONRequestBody) (*http.Request, error)
- func NewRenewDomainRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreDNSZoneVersionRequest(server string, dnsZone string, version string, ...) (*http.Request, error)
- func NewRestoreDNSZoneVersionRequestWithBody(server string, dnsZone string, version string, contentType string, ...) (*http.Request, error)
- func NewTradeDomainRequest(server string, domain string, body TradeDomainJSONRequestBody) (*http.Request, error)
- func NewTradeDomainRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewTransferDomainRequest(server string, body TransferDomainJSONRequestBody) (*http.Request, error)
- func NewTransferDomainRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUnlockDomainTransferRequest(server string, domain string, body UnlockDomainTransferJSONRequestBody) (*http.Request, error)
- func NewUnlockDomainTransferRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateContactRequest(server string, contactId string, body UpdateContactJSONRequestBody) (*http.Request, error)
- func NewUpdateContactRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDNSZoneNameserversRequest(server string, dnsZone string, body UpdateDNSZoneNameserversJSONRequestBody) (*http.Request, error)
- func NewUpdateDNSZoneNameserversRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDNSZoneRecordsRequest(server string, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*http.Request, error)
- func NewUpdateDNSZoneRecordsRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDNSZoneRequest(server string, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*http.Request, error)
- func NewUpdateDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDomainRequest(server string, domain string, body UpdateDomainJSONRequestBody) (*http.Request, error)
- func NewUpdateDomainRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- type BuyDomainJSONBody
- type BuyDomainJSONRequestBody
- type BuyDomainResponse
- type ClearDNSZoneRecordsResponse
- type Client
- func (c *Client) BuyDomain(ctx context.Context, body BuyDomainJSONRequestBody) (*http.Response, error)
- func (c *Client) BuyDomainWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) ClearDNSZoneRecords(ctx context.Context, dnsZone string) (*http.Response, error)
- func (c *Client) CopyDNSZone(ctx context.Context, dnsZone string, body CopyDNSZoneJSONRequestBody) (*http.Response, error)
- func (c *Client) CopyDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateDNSZone(ctx context.Context, body CreateDNSZoneJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateDNSZoneWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateSSLCertificate(ctx context.Context, body CreateSSLCertificateJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateSSLCertificateWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) DeleteDNSZone(ctx context.Context, dnsZone string) (*http.Response, error)
- func (c *Client) DeleteDNSZoneTsigKey(ctx context.Context, dnsZone string, id string) (*http.Response, error)
- func (c *Client) DeleteExternalDomain(ctx context.Context, domain string) (*http.Response, error)
- func (c *Client) DeleteSSLCertificate(ctx context.Context, dnsZone string) (*http.Response, error)
- func (c *Client) DisableDomainAutoRenew(ctx context.Context, domain string, body DisableDomainAutoRenewJSONRequestBody) (*http.Response, error)
- func (c *Client) DisableDomainAutoRenewWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) DisableDomainDNSSEC(ctx context.Context, domain string, body DisableDomainDNSSECJSONRequestBody) (*http.Response, error)
- func (c *Client) DisableDomainDNSSECWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) EnableDomainAutoRenew(ctx context.Context, domain string, body EnableDomainAutoRenewJSONRequestBody) (*http.Response, error)
- func (c *Client) EnableDomainAutoRenewWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) EnableDomainDNSSEC(ctx context.Context, domain string, body EnableDomainDNSSECJSONRequestBody) (*http.Response, error)
- func (c *Client) EnableDomainDNSSECWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) ExportRawDNSZone(ctx context.Context, dnsZone string, params *ExportRawDNSZoneParams) (*http.Response, error)
- func (c *Client) GetContact(ctx context.Context, contactId string) (*http.Response, error)
- func (c *Client) GetDNSZoneTsigKey(ctx context.Context, dnsZone string) (*http.Response, error)
- func (c *Client) GetDNSZoneVersionDiff(ctx context.Context, dnsZone string, version string) (*http.Response, error)
- func (c *Client) GetDomain(ctx context.Context, domain string) (*http.Response, error)
- func (c *Client) GetDomainAuthCode(ctx context.Context, domain string) (*http.Response, error)
- func (c *Client) ImportProviderDNSZone(ctx context.Context, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*http.Response, error)
- func (c *Client) ImportProviderDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) ImportRawDNSZone(ctx context.Context, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*http.Response, error)
- func (c *Client) ImportRawDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams) (*http.Response, error)
- func (c *Client) ListDNSZoneNameservers(ctx context.Context, dnsZone string, params *ListDNSZoneNameserversParams) (*http.Response, error)
- func (c *Client) ListDNSZoneRecords(ctx context.Context, dnsZone string, params *ListDNSZoneRecordsParams) (*http.Response, error)
- func (c *Client) ListDNSZoneVersionRecords(ctx context.Context, dnsZone string, version string, ...) (*http.Response, error)
- func (c *Client) ListDNSZoneVersions(ctx context.Context, dnsZone string, params *ListDNSZoneVersionsParams) (*http.Response, error)
- func (c *Client) ListDNSZones(ctx context.Context, params *ListDNSZonesParams) (*http.Response, error)
- func (c *Client) ListDomains(ctx context.Context, params *ListDomainsParams) (*http.Response, error)
- func (c *Client) ListSSLCertificates(ctx context.Context, params *ListSSLCertificatesParams) (*http.Response, error)
- func (c *Client) ListTasks(ctx context.Context, params *ListTasksParams) (*http.Response, error)
- func (c *Client) LockDomainTransfer(ctx context.Context, domain string, body LockDomainTransferJSONRequestBody) (*http.Response, error)
- func (c *Client) LockDomainTransferWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) RefreshDNSZone(ctx context.Context, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*http.Response, error)
- func (c *Client) RefreshDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) RegisterExternalDomain(ctx context.Context, body RegisterExternalDomainJSONRequestBody) (*http.Response, error)
- func (c *Client) RegisterExternalDomainWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) RenewDomain(ctx context.Context, domain string, body RenewDomainJSONRequestBody) (*http.Response, error)
- func (c *Client) RenewDomainWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) RestoreDNSZoneVersion(ctx context.Context, dnsZone string, version string, ...) (*http.Response, error)
- func (c *Client) RestoreDNSZoneVersionWithBody(ctx context.Context, dnsZone string, version string, contentType string, ...) (*http.Response, error)
- func (c *Client) TradeDomain(ctx context.Context, domain string, body TradeDomainJSONRequestBody) (*http.Response, error)
- func (c *Client) TradeDomainWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) TransferDomain(ctx context.Context, body TransferDomainJSONRequestBody) (*http.Response, error)
- func (c *Client) TransferDomainWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UnlockDomainTransfer(ctx context.Context, domain string, body UnlockDomainTransferJSONRequestBody) (*http.Response, error)
- func (c *Client) UnlockDomainTransferWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateContact(ctx context.Context, contactId string, body UpdateContactJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateContactWithBody(ctx context.Context, contactId string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateDNSZone(ctx context.Context, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateDNSZoneNameservers(ctx context.Context, dnsZone string, ...) (*http.Response, error)
- func (c *Client) UpdateDNSZoneNameserversWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateDNSZoneRecords(ctx context.Context, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateDNSZoneRecordsWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateDomain(ctx context.Context, domain string, body UpdateDomainJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateDomainWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) BuyDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*BuyDomainResponse, error)
- func (c *ClientWithResponses) BuyDomainWithResponse(ctx context.Context, body BuyDomainJSONRequestBody) (*BuyDomainResponse, error)
- func (c *ClientWithResponses) ClearDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string) (*ClearDNSZoneRecordsResponse, error)
- func (c *ClientWithResponses) CopyDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*CopyDNSZoneResponse, error)
- func (c *ClientWithResponses) CopyDNSZoneWithResponse(ctx context.Context, dnsZone string, body CopyDNSZoneJSONRequestBody) (*CopyDNSZoneResponse, error)
- func (c *ClientWithResponses) CreateDNSZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateDNSZoneResponse, error)
- func (c *ClientWithResponses) CreateDNSZoneWithResponse(ctx context.Context, body CreateDNSZoneJSONRequestBody) (*CreateDNSZoneResponse, error)
- func (c *ClientWithResponses) CreateSSLCertificateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSSLCertificateResponse, error)
- func (c *ClientWithResponses) CreateSSLCertificateWithResponse(ctx context.Context, body CreateSSLCertificateJSONRequestBody) (*CreateSSLCertificateResponse, error)
- func (c *ClientWithResponses) DeleteDNSZoneTsigKeyWithResponse(ctx context.Context, dnsZone string, id string) (*DeleteDNSZoneTsigKeyResponse, error)
- func (c *ClientWithResponses) DeleteDNSZoneWithResponse(ctx context.Context, dnsZone string) (*DeleteDNSZoneResponse, error)
- func (c *ClientWithResponses) DeleteExternalDomainWithResponse(ctx context.Context, domain string) (*DeleteExternalDomainResponse, error)
- func (c *ClientWithResponses) DeleteSSLCertificateWithResponse(ctx context.Context, dnsZone string) (*DeleteSSLCertificateResponse, error)
- func (c *ClientWithResponses) DisableDomainAutoRenewWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*DisableDomainAutoRenewResponse, error)
- func (c *ClientWithResponses) DisableDomainAutoRenewWithResponse(ctx context.Context, domain string, body DisableDomainAutoRenewJSONRequestBody) (*DisableDomainAutoRenewResponse, error)
- func (c *ClientWithResponses) DisableDomainDNSSECWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*DisableDomainDNSSECResponse, error)
- func (c *ClientWithResponses) DisableDomainDNSSECWithResponse(ctx context.Context, domain string, body DisableDomainDNSSECJSONRequestBody) (*DisableDomainDNSSECResponse, error)
- func (c *ClientWithResponses) EnableDomainAutoRenewWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*EnableDomainAutoRenewResponse, error)
- func (c *ClientWithResponses) EnableDomainAutoRenewWithResponse(ctx context.Context, domain string, body EnableDomainAutoRenewJSONRequestBody) (*EnableDomainAutoRenewResponse, error)
- func (c *ClientWithResponses) EnableDomainDNSSECWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*EnableDomainDNSSECResponse, error)
- func (c *ClientWithResponses) EnableDomainDNSSECWithResponse(ctx context.Context, domain string, body EnableDomainDNSSECJSONRequestBody) (*EnableDomainDNSSECResponse, error)
- func (c *ClientWithResponses) ExportRawDNSZoneWithResponse(ctx context.Context, dnsZone string, params *ExportRawDNSZoneParams) (*ExportRawDNSZoneResponse, error)
- func (c *ClientWithResponses) GetContactWithResponse(ctx context.Context, contactId string) (*GetContactResponse, error)
- func (c *ClientWithResponses) GetDNSZoneTsigKeyWithResponse(ctx context.Context, dnsZone string) (*GetDNSZoneTsigKeyResponse, error)
- func (c *ClientWithResponses) GetDNSZoneVersionDiffWithResponse(ctx context.Context, dnsZone string, version string) (*GetDNSZoneVersionDiffResponse, error)
- func (c *ClientWithResponses) GetDomainAuthCodeWithResponse(ctx context.Context, domain string) (*GetDomainAuthCodeResponse, error)
- func (c *ClientWithResponses) GetDomainWithResponse(ctx context.Context, domain string) (*GetDomainResponse, error)
- func (c *ClientWithResponses) ImportProviderDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*ImportProviderDNSZoneResponse, error)
- func (c *ClientWithResponses) ImportProviderDNSZoneWithResponse(ctx context.Context, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*ImportProviderDNSZoneResponse, error)
- func (c *ClientWithResponses) ImportRawDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*ImportRawDNSZoneResponse, error)
- func (c *ClientWithResponses) ImportRawDNSZoneWithResponse(ctx context.Context, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*ImportRawDNSZoneResponse, error)
- func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams) (*ListContactsResponse, error)
- func (c *ClientWithResponses) ListDNSZoneNameserversWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneNameserversParams) (*ListDNSZoneNameserversResponse, error)
- func (c *ClientWithResponses) ListDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneRecordsParams) (*ListDNSZoneRecordsResponse, error)
- func (c *ClientWithResponses) ListDNSZoneVersionRecordsWithResponse(ctx context.Context, dnsZone string, version string, ...) (*ListDNSZoneVersionRecordsResponse, error)
- func (c *ClientWithResponses) ListDNSZoneVersionsWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneVersionsParams) (*ListDNSZoneVersionsResponse, error)
- func (c *ClientWithResponses) ListDNSZonesWithResponse(ctx context.Context, params *ListDNSZonesParams) (*ListDNSZonesResponse, error)
- func (c *ClientWithResponses) ListDomainsWithResponse(ctx context.Context, params *ListDomainsParams) (*ListDomainsResponse, error)
- func (c *ClientWithResponses) ListSSLCertificatesWithResponse(ctx context.Context, params *ListSSLCertificatesParams) (*ListSSLCertificatesResponse, error)
- func (c *ClientWithResponses) ListTasksWithResponse(ctx context.Context, params *ListTasksParams) (*ListTasksResponse, error)
- func (c *ClientWithResponses) LockDomainTransferWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*LockDomainTransferResponse, error)
- func (c *ClientWithResponses) LockDomainTransferWithResponse(ctx context.Context, domain string, body LockDomainTransferJSONRequestBody) (*LockDomainTransferResponse, error)
- func (c *ClientWithResponses) RefreshDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*RefreshDNSZoneResponse, error)
- func (c *ClientWithResponses) RefreshDNSZoneWithResponse(ctx context.Context, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*RefreshDNSZoneResponse, error)
- func (c *ClientWithResponses) RegisterExternalDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*RegisterExternalDomainResponse, error)
- func (c *ClientWithResponses) RegisterExternalDomainWithResponse(ctx context.Context, body RegisterExternalDomainJSONRequestBody) (*RegisterExternalDomainResponse, error)
- func (c *ClientWithResponses) RenewDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*RenewDomainResponse, error)
- func (c *ClientWithResponses) RenewDomainWithResponse(ctx context.Context, domain string, body RenewDomainJSONRequestBody) (*RenewDomainResponse, error)
- func (c *ClientWithResponses) RestoreDNSZoneVersionWithBodyWithResponse(ctx context.Context, dnsZone string, version string, contentType string, ...) (*RestoreDNSZoneVersionResponse, error)
- func (c *ClientWithResponses) RestoreDNSZoneVersionWithResponse(ctx context.Context, dnsZone string, version string, ...) (*RestoreDNSZoneVersionResponse, error)
- func (c *ClientWithResponses) TradeDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*TradeDomainResponse, error)
- func (c *ClientWithResponses) TradeDomainWithResponse(ctx context.Context, domain string, body TradeDomainJSONRequestBody) (*TradeDomainResponse, error)
- func (c *ClientWithResponses) TransferDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*TransferDomainResponse, error)
- func (c *ClientWithResponses) TransferDomainWithResponse(ctx context.Context, body TransferDomainJSONRequestBody) (*TransferDomainResponse, error)
- func (c *ClientWithResponses) UnlockDomainTransferWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*UnlockDomainTransferResponse, error)
- func (c *ClientWithResponses) UnlockDomainTransferWithResponse(ctx context.Context, domain string, body UnlockDomainTransferJSONRequestBody) (*UnlockDomainTransferResponse, error)
- func (c *ClientWithResponses) UpdateContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader) (*UpdateContactResponse, error)
- func (c *ClientWithResponses) UpdateContactWithResponse(ctx context.Context, contactId string, body UpdateContactJSONRequestBody) (*UpdateContactResponse, error)
- func (c *ClientWithResponses) UpdateDNSZoneNameserversWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneNameserversResponse, error)
- func (c *ClientWithResponses) UpdateDNSZoneNameserversWithResponse(ctx context.Context, dnsZone string, ...) (*UpdateDNSZoneNameserversResponse, error)
- func (c *ClientWithResponses) UpdateDNSZoneRecordsWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneRecordsResponse, error)
- func (c *ClientWithResponses) UpdateDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*UpdateDNSZoneRecordsResponse, error)
- func (c *ClientWithResponses) UpdateDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneResponse, error)
- func (c *ClientWithResponses) UpdateDNSZoneWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*UpdateDNSZoneResponse, error)
- func (c *ClientWithResponses) UpdateDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*UpdateDomainResponse, error)
- func (c *ClientWithResponses) UpdateDomainWithResponse(ctx context.Context, domain string, body UpdateDomainJSONRequestBody) (*UpdateDomainResponse, error)
- type ClientWithResponsesInterface
- type CopyDNSZoneJSONBody
- type CopyDNSZoneJSONRequestBody
- type CopyDNSZoneResponse
- type CreateDNSZoneJSONBody
- type CreateDNSZoneJSONRequestBody
- type CreateDNSZoneResponse
- type CreateSSLCertificateJSONBody
- type CreateSSLCertificateJSONRequestBody
- type CreateSSLCertificateResponse
- type DeleteDNSZoneResponse
- type DeleteDNSZoneTsigKeyResponse
- type DeleteExternalDomainResponse
- type DeleteSSLCertificateResponse
- type DisableDomainAutoRenewJSONBody
- type DisableDomainAutoRenewJSONRequestBody
- type DisableDomainAutoRenewResponse
- type DisableDomainDNSSECJSONBody
- type DisableDomainDNSSECJSONRequestBody
- type DisableDomainDNSSECResponse
- type EnableDomainAutoRenewJSONBody
- type EnableDomainAutoRenewJSONRequestBody
- type EnableDomainAutoRenewResponse
- type EnableDomainDNSSECJSONBody
- type EnableDomainDNSSECJSONRequestBody
- type EnableDomainDNSSECResponse
- type ExportRawDNSZoneParams
- type ExportRawDNSZoneResponse
- type GetContactResponse
- type GetDNSZoneTsigKeyResponse
- type GetDNSZoneVersionDiffResponse
- type GetDomainAuthCodeResponse
- type GetDomainResponse
- type GoogleProtobufBoolValue
- type GoogleProtobufStringValue
- type GoogleProtobufTimestamp
- type HttpRequestDoer
- type ImportProviderDNSZoneJSONBody
- type ImportProviderDNSZoneJSONRequestBody
- type ImportProviderDNSZoneResponse
- type ImportRawDNSZoneJSONBody
- type ImportRawDNSZoneJSONRequestBody
- type ImportRawDNSZoneResponse
- type ListContactsParams
- type ListContactsResponse
- type ListDNSZoneNameserversParams
- type ListDNSZoneNameserversResponse
- type ListDNSZoneRecordsParams
- type ListDNSZoneRecordsResponse
- type ListDNSZoneVersionRecordsParams
- type ListDNSZoneVersionRecordsResponse
- type ListDNSZoneVersionsParams
- type ListDNSZoneVersionsResponse
- type ListDNSZonesParams
- type ListDNSZonesResponse
- type ListDomainsParams
- type ListDomainsResponse
- type ListSSLCertificatesParams
- type ListSSLCertificatesResponse
- type ListTasksParams
- type ListTasksResponse
- type LockDomainTransferJSONBody
- type LockDomainTransferJSONRequestBody
- type LockDomainTransferResponse
- type RefreshDNSZoneJSONBody
- type RefreshDNSZoneJSONRequestBody
- type RefreshDNSZoneResponse
- type RegisterExternalDomainJSONBody
- type RegisterExternalDomainJSONRequestBody
- type RegisterExternalDomainResponse
- type RenewDomainJSONBody
- type RenewDomainJSONRequestBody
- type RenewDomainResponse
- type RequestEditorFn
- type RestoreDNSZoneVersionJSONBody
- type RestoreDNSZoneVersionJSONRequestBody
- type RestoreDNSZoneVersionResponse
- type ScalewayDomainV2alpha2Civility
- type ScalewayDomainV2alpha2ClearDNSZoneRecordsResponse
- type ScalewayDomainV2alpha2Contact
- type ScalewayDomainV2alpha2ContactEmailStatus
- type ScalewayDomainV2alpha2ContactRoles
- type ScalewayDomainV2alpha2ContactRolesRoles
- type ScalewayDomainV2alpha2ContactRoles_Roles
- func (a ScalewayDomainV2alpha2ContactRoles_Roles) Get(fieldName string) (value interface{}, found bool)
- func (a ScalewayDomainV2alpha2ContactRoles_Roles) MarshalJSON() ([]byte, error)
- func (a *ScalewayDomainV2alpha2ContactRoles_Roles) Set(fieldName string, value interface{})
- func (a *ScalewayDomainV2alpha2ContactRoles_Roles) UnmarshalJSON(b []byte) error
- type ScalewayDomainV2alpha2DNSZone
- type ScalewayDomainV2alpha2DNSZoneStatus
- type ScalewayDomainV2alpha2DSRecord
- type ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm
- type ScalewayDomainV2alpha2DeleteDNSZoneResponse
- type ScalewayDomainV2alpha2DeleteExternalDomainResponse
- type ScalewayDomainV2alpha2DeleteSSLCertificateResponse
- type ScalewayDomainV2alpha2DigestDNSSECDigestType
- type ScalewayDomainV2alpha2Domain
- type ScalewayDomainV2alpha2DomainFeatureStatus
- type ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus
- type ScalewayDomainV2alpha2DomainStatus
- type ScalewayDomainV2alpha2DomainSummary
- type ScalewayDomainV2alpha2DomainTrademarkProtectionConfig
- type ScalewayDomainV2alpha2ExtensionEU
- type ScalewayDomainV2alpha2ExtensionFR
- type ScalewayDomainV2alpha2ExtensionFRMode
- type ScalewayDomainV2alpha2GetDNSZoneTsigKeyResponse
- type ScalewayDomainV2alpha2GetDNSZoneVersionDiffResponse
- type ScalewayDomainV2alpha2GetDomainAuthCodeResponse
- type ScalewayDomainV2alpha2GetDomainResponse
- type ScalewayDomainV2alpha2ImportProviderDNSZoneResponse
- type ScalewayDomainV2alpha2ImportRawDNSZoneResponse
- type ScalewayDomainV2alpha2Lang
- type ScalewayDomainV2alpha2LegalForm
- type ScalewayDomainV2alpha2ListContactsResponse
- type ScalewayDomainV2alpha2ListDNSZoneNameserversResponse
- type ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy
- type ScalewayDomainV2alpha2ListDNSZoneRecordsResponse
- type ScalewayDomainV2alpha2ListDNSZoneVersionRecordsResponse
- type ScalewayDomainV2alpha2ListDNSZoneVersionsResponse
- type ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy
- type ScalewayDomainV2alpha2ListDNSZonesResponse
- type ScalewayDomainV2alpha2ListDomainsRequestOrderBy
- type ScalewayDomainV2alpha2ListDomainsResponse
- type ScalewayDomainV2alpha2ListSSLCertificatesResponse
- type ScalewayDomainV2alpha2ListTasksResponse
- type ScalewayDomainV2alpha2Nameserver
- type ScalewayDomainV2alpha2Record
- type ScalewayDomainV2alpha2RecordChange
- type ScalewayDomainV2alpha2RecordGeoIPConfigFilter
- type ScalewayDomainV2alpha2RecordServiceUPConfigStrategy
- type ScalewayDomainV2alpha2RecordType
- type ScalewayDomainV2alpha2RecordViewConfigView
- type ScalewayDomainV2alpha2RecordWeightedConfigWeightedIP
- type ScalewayDomainV2alpha2RefreshDNSZoneResponse
- type ScalewayDomainV2alpha2RegisterExternalDomainResponse
- type ScalewayDomainV2alpha2RestoreDNSZoneVersionResponse
- type ScalewayDomainV2alpha2Task
- type ScalewayDomainV2alpha2TaskStatus
- type ScalewayDomainV2alpha2TaskType
- type ScalewayDomainV2alpha2UpdateDNSZoneNameserversResponse
- type ScalewayDomainV2alpha2UpdateDNSZoneRecordsResponse
- type ScalewayDomainV2alpha2Version
- type ScalewayDomainV2alpha2ZoneSSL
- type ScalewayDomainV2alpha2ZoneSSLStatus
- type ScalewayStdFile
- type ScalewayStdStringsValue
- type TradeDomainJSONBody
- type TradeDomainJSONRequestBody
- type TradeDomainResponse
- type TransferDomainJSONBody
- type TransferDomainJSONRequestBody
- type TransferDomainResponse
- type UnlockDomainTransferJSONBody
- type UnlockDomainTransferJSONRequestBody
- type UnlockDomainTransferResponse
- type UpdateContactJSONBody
- type UpdateContactJSONRequestBody
- type UpdateContactResponse
- type UpdateDNSZoneJSONBody
- type UpdateDNSZoneJSONRequestBody
- type UpdateDNSZoneNameserversJSONBody
- type UpdateDNSZoneNameserversJSONRequestBody
- type UpdateDNSZoneNameserversResponse
- type UpdateDNSZoneRecordsJSONBody
- type UpdateDNSZoneRecordsJSONRequestBody
- type UpdateDNSZoneRecordsResponse
- type UpdateDNSZoneResponse
- type UpdateDomainJSONBody
- type UpdateDomainJSONRequestBody
- type UpdateDomainResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuyDomainRequest ¶
func NewBuyDomainRequest(server string, body BuyDomainJSONRequestBody) (*http.Request, error)
NewBuyDomainRequest calls the generic BuyDomain builder with application/json body
func NewBuyDomainRequestWithBody ¶
func NewBuyDomainRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBuyDomainRequestWithBody generates requests for BuyDomain with any type of body
func NewClearDNSZoneRecordsRequest ¶
NewClearDNSZoneRecordsRequest generates requests for ClearDNSZoneRecords
func NewCopyDNSZoneRequest ¶
func NewCopyDNSZoneRequest(server string, dnsZone string, body CopyDNSZoneJSONRequestBody) (*http.Request, error)
NewCopyDNSZoneRequest calls the generic CopyDNSZone builder with application/json body
func NewCopyDNSZoneRequestWithBody ¶
func NewCopyDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewCopyDNSZoneRequestWithBody generates requests for CopyDNSZone with any type of body
func NewCreateDNSZoneRequest ¶
func NewCreateDNSZoneRequest(server string, body CreateDNSZoneJSONRequestBody) (*http.Request, error)
NewCreateDNSZoneRequest calls the generic CreateDNSZone builder with application/json body
func NewCreateDNSZoneRequestWithBody ¶
func NewCreateDNSZoneRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDNSZoneRequestWithBody generates requests for CreateDNSZone with any type of body
func NewCreateSSLCertificateRequest ¶
func NewCreateSSLCertificateRequest(server string, body CreateSSLCertificateJSONRequestBody) (*http.Request, error)
NewCreateSSLCertificateRequest calls the generic CreateSSLCertificate builder with application/json body
func NewCreateSSLCertificateRequestWithBody ¶
func NewCreateSSLCertificateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSSLCertificateRequestWithBody generates requests for CreateSSLCertificate with any type of body
func NewDeleteDNSZoneRequest ¶
NewDeleteDNSZoneRequest generates requests for DeleteDNSZone
func NewDeleteDNSZoneTsigKeyRequest ¶
func NewDeleteDNSZoneTsigKeyRequest(server string, dnsZone string, id string) (*http.Request, error)
NewDeleteDNSZoneTsigKeyRequest generates requests for DeleteDNSZoneTsigKey
func NewDeleteExternalDomainRequest ¶
NewDeleteExternalDomainRequest generates requests for DeleteExternalDomain
func NewDeleteSSLCertificateRequest ¶
NewDeleteSSLCertificateRequest generates requests for DeleteSSLCertificate
func NewDisableDomainAutoRenewRequest ¶
func NewDisableDomainAutoRenewRequest(server string, domain string, body DisableDomainAutoRenewJSONRequestBody) (*http.Request, error)
NewDisableDomainAutoRenewRequest calls the generic DisableDomainAutoRenew builder with application/json body
func NewDisableDomainAutoRenewRequestWithBody ¶
func NewDisableDomainAutoRenewRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewDisableDomainAutoRenewRequestWithBody generates requests for DisableDomainAutoRenew with any type of body
func NewDisableDomainDNSSECRequest ¶
func NewDisableDomainDNSSECRequest(server string, domain string, body DisableDomainDNSSECJSONRequestBody) (*http.Request, error)
NewDisableDomainDNSSECRequest calls the generic DisableDomainDNSSEC builder with application/json body
func NewDisableDomainDNSSECRequestWithBody ¶
func NewDisableDomainDNSSECRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewDisableDomainDNSSECRequestWithBody generates requests for DisableDomainDNSSEC with any type of body
func NewEnableDomainAutoRenewRequest ¶
func NewEnableDomainAutoRenewRequest(server string, domain string, body EnableDomainAutoRenewJSONRequestBody) (*http.Request, error)
NewEnableDomainAutoRenewRequest calls the generic EnableDomainAutoRenew builder with application/json body
func NewEnableDomainAutoRenewRequestWithBody ¶
func NewEnableDomainAutoRenewRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewEnableDomainAutoRenewRequestWithBody generates requests for EnableDomainAutoRenew with any type of body
func NewEnableDomainDNSSECRequest ¶
func NewEnableDomainDNSSECRequest(server string, domain string, body EnableDomainDNSSECJSONRequestBody) (*http.Request, error)
NewEnableDomainDNSSECRequest calls the generic EnableDomainDNSSEC builder with application/json body
func NewEnableDomainDNSSECRequestWithBody ¶
func NewEnableDomainDNSSECRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewEnableDomainDNSSECRequestWithBody generates requests for EnableDomainDNSSEC with any type of body
func NewExportRawDNSZoneRequest ¶
func NewExportRawDNSZoneRequest(server string, dnsZone string, params *ExportRawDNSZoneParams) (*http.Request, error)
NewExportRawDNSZoneRequest generates requests for ExportRawDNSZone
func NewGetContactRequest ¶
NewGetContactRequest generates requests for GetContact
func NewGetDNSZoneTsigKeyRequest ¶
NewGetDNSZoneTsigKeyRequest generates requests for GetDNSZoneTsigKey
func NewGetDNSZoneVersionDiffRequest ¶
func NewGetDNSZoneVersionDiffRequest(server string, dnsZone string, version string) (*http.Request, error)
NewGetDNSZoneVersionDiffRequest generates requests for GetDNSZoneVersionDiff
func NewGetDomainAuthCodeRequest ¶
NewGetDomainAuthCodeRequest generates requests for GetDomainAuthCode
func NewGetDomainRequest ¶
NewGetDomainRequest generates requests for GetDomain
func NewImportProviderDNSZoneRequest ¶
func NewImportProviderDNSZoneRequest(server string, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*http.Request, error)
NewImportProviderDNSZoneRequest calls the generic ImportProviderDNSZone builder with application/json body
func NewImportProviderDNSZoneRequestWithBody ¶
func NewImportProviderDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewImportProviderDNSZoneRequestWithBody generates requests for ImportProviderDNSZone with any type of body
func NewImportRawDNSZoneRequest ¶
func NewImportRawDNSZoneRequest(server string, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*http.Request, error)
NewImportRawDNSZoneRequest calls the generic ImportRawDNSZone builder with application/json body
func NewImportRawDNSZoneRequestWithBody ¶
func NewImportRawDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewImportRawDNSZoneRequestWithBody generates requests for ImportRawDNSZone with any type of body
func NewListContactsRequest ¶
func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
NewListContactsRequest generates requests for ListContacts
func NewListDNSZoneNameserversRequest ¶
func NewListDNSZoneNameserversRequest(server string, dnsZone string, params *ListDNSZoneNameserversParams) (*http.Request, error)
NewListDNSZoneNameserversRequest generates requests for ListDNSZoneNameservers
func NewListDNSZoneRecordsRequest ¶
func NewListDNSZoneRecordsRequest(server string, dnsZone string, params *ListDNSZoneRecordsParams) (*http.Request, error)
NewListDNSZoneRecordsRequest generates requests for ListDNSZoneRecords
func NewListDNSZoneVersionRecordsRequest ¶
func NewListDNSZoneVersionRecordsRequest(server string, dnsZone string, version string, params *ListDNSZoneVersionRecordsParams) (*http.Request, error)
NewListDNSZoneVersionRecordsRequest generates requests for ListDNSZoneVersionRecords
func NewListDNSZoneVersionsRequest ¶
func NewListDNSZoneVersionsRequest(server string, dnsZone string, params *ListDNSZoneVersionsParams) (*http.Request, error)
NewListDNSZoneVersionsRequest generates requests for ListDNSZoneVersions
func NewListDNSZonesRequest ¶
func NewListDNSZonesRequest(server string, params *ListDNSZonesParams) (*http.Request, error)
NewListDNSZonesRequest generates requests for ListDNSZones
func NewListDomainsRequest ¶
func NewListDomainsRequest(server string, params *ListDomainsParams) (*http.Request, error)
NewListDomainsRequest generates requests for ListDomains
func NewListSSLCertificatesRequest ¶
func NewListSSLCertificatesRequest(server string, params *ListSSLCertificatesParams) (*http.Request, error)
NewListSSLCertificatesRequest generates requests for ListSSLCertificates
func NewListTasksRequest ¶
func NewListTasksRequest(server string, params *ListTasksParams) (*http.Request, error)
NewListTasksRequest generates requests for ListTasks
func NewLockDomainTransferRequest ¶
func NewLockDomainTransferRequest(server string, domain string, body LockDomainTransferJSONRequestBody) (*http.Request, error)
NewLockDomainTransferRequest calls the generic LockDomainTransfer builder with application/json body
func NewLockDomainTransferRequestWithBody ¶
func NewLockDomainTransferRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewLockDomainTransferRequestWithBody generates requests for LockDomainTransfer with any type of body
func NewRefreshDNSZoneRequest ¶
func NewRefreshDNSZoneRequest(server string, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*http.Request, error)
NewRefreshDNSZoneRequest calls the generic RefreshDNSZone builder with application/json body
func NewRefreshDNSZoneRequestWithBody ¶
func NewRefreshDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewRefreshDNSZoneRequestWithBody generates requests for RefreshDNSZone with any type of body
func NewRegisterExternalDomainRequest ¶
func NewRegisterExternalDomainRequest(server string, body RegisterExternalDomainJSONRequestBody) (*http.Request, error)
NewRegisterExternalDomainRequest calls the generic RegisterExternalDomain builder with application/json body
func NewRegisterExternalDomainRequestWithBody ¶
func NewRegisterExternalDomainRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterExternalDomainRequestWithBody generates requests for RegisterExternalDomain with any type of body
func NewRenewDomainRequest ¶
func NewRenewDomainRequest(server string, domain string, body RenewDomainJSONRequestBody) (*http.Request, error)
NewRenewDomainRequest calls the generic RenewDomain builder with application/json body
func NewRenewDomainRequestWithBody ¶
func NewRenewDomainRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewRenewDomainRequestWithBody generates requests for RenewDomain with any type of body
func NewRestoreDNSZoneVersionRequest ¶
func NewRestoreDNSZoneVersionRequest(server string, dnsZone string, version string, body RestoreDNSZoneVersionJSONRequestBody) (*http.Request, error)
NewRestoreDNSZoneVersionRequest calls the generic RestoreDNSZoneVersion builder with application/json body
func NewRestoreDNSZoneVersionRequestWithBody ¶
func NewRestoreDNSZoneVersionRequestWithBody(server string, dnsZone string, version string, contentType string, body io.Reader) (*http.Request, error)
NewRestoreDNSZoneVersionRequestWithBody generates requests for RestoreDNSZoneVersion with any type of body
func NewTradeDomainRequest ¶
func NewTradeDomainRequest(server string, domain string, body TradeDomainJSONRequestBody) (*http.Request, error)
NewTradeDomainRequest calls the generic TradeDomain builder with application/json body
func NewTradeDomainRequestWithBody ¶
func NewTradeDomainRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewTradeDomainRequestWithBody generates requests for TradeDomain with any type of body
func NewTransferDomainRequest ¶
func NewTransferDomainRequest(server string, body TransferDomainJSONRequestBody) (*http.Request, error)
NewTransferDomainRequest calls the generic TransferDomain builder with application/json body
func NewTransferDomainRequestWithBody ¶
func NewTransferDomainRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTransferDomainRequestWithBody generates requests for TransferDomain with any type of body
func NewUnlockDomainTransferRequest ¶
func NewUnlockDomainTransferRequest(server string, domain string, body UnlockDomainTransferJSONRequestBody) (*http.Request, error)
NewUnlockDomainTransferRequest calls the generic UnlockDomainTransfer builder with application/json body
func NewUnlockDomainTransferRequestWithBody ¶
func NewUnlockDomainTransferRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewUnlockDomainTransferRequestWithBody generates requests for UnlockDomainTransfer with any type of body
func NewUpdateContactRequest ¶
func NewUpdateContactRequest(server string, contactId string, body UpdateContactJSONRequestBody) (*http.Request, error)
NewUpdateContactRequest calls the generic UpdateContact builder with application/json body
func NewUpdateContactRequestWithBody ¶
func NewUpdateContactRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateContactRequestWithBody generates requests for UpdateContact with any type of body
func NewUpdateDNSZoneNameserversRequest ¶
func NewUpdateDNSZoneNameserversRequest(server string, dnsZone string, body UpdateDNSZoneNameserversJSONRequestBody) (*http.Request, error)
NewUpdateDNSZoneNameserversRequest calls the generic UpdateDNSZoneNameservers builder with application/json body
func NewUpdateDNSZoneNameserversRequestWithBody ¶
func NewUpdateDNSZoneNameserversRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDNSZoneNameserversRequestWithBody generates requests for UpdateDNSZoneNameservers with any type of body
func NewUpdateDNSZoneRecordsRequest ¶
func NewUpdateDNSZoneRecordsRequest(server string, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*http.Request, error)
NewUpdateDNSZoneRecordsRequest calls the generic UpdateDNSZoneRecords builder with application/json body
func NewUpdateDNSZoneRecordsRequestWithBody ¶
func NewUpdateDNSZoneRecordsRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDNSZoneRecordsRequestWithBody generates requests for UpdateDNSZoneRecords with any type of body
func NewUpdateDNSZoneRequest ¶
func NewUpdateDNSZoneRequest(server string, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*http.Request, error)
NewUpdateDNSZoneRequest calls the generic UpdateDNSZone builder with application/json body
func NewUpdateDNSZoneRequestWithBody ¶
func NewUpdateDNSZoneRequestWithBody(server string, dnsZone string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDNSZoneRequestWithBody generates requests for UpdateDNSZone with any type of body
func NewUpdateDomainRequest ¶
func NewUpdateDomainRequest(server string, domain string, body UpdateDomainJSONRequestBody) (*http.Request, error)
NewUpdateDomainRequest calls the generic UpdateDomain builder with application/json body
Types ¶
type BuyDomainJSONBody ¶
type BuyDomainJSONBody struct {
AdministrativeContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"administrative_contact,omitempty"`
AdministrativeContactId *string `json:"administrative_contact_id,omitempty"`
Contact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"contact,omitempty"`
ContactId *string `json:"contact_id,omitempty"`
Domain *string `json:"domain,omitempty"`
OrganizationId *string `json:"organization_id,omitempty"`
Period *float32 `json:"period,omitempty"`
TechnicalContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"technical_contact,omitempty"`
TechnicalContactId *string `json:"technical_contact_id,omitempty"`
}
BuyDomainJSONBody defines parameters for BuyDomain.
type BuyDomainJSONRequestBody ¶
type BuyDomainJSONRequestBody BuyDomainJSONBody
BuyDomainRequestBody defines body for BuyDomain for application/json ContentType.
type BuyDomainResponse ¶
type BuyDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseBuyDomainResponse ¶
func ParseBuyDomainResponse(rsp *http.Response) (*BuyDomainResponse, error)
ParseBuyDomainResponse parses an HTTP response from a BuyDomainWithResponse call
func (BuyDomainResponse) Status ¶
func (r BuyDomainResponse) Status() string
Status returns HTTPResponse.Status
func (BuyDomainResponse) StatusCode ¶
func (r BuyDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClearDNSZoneRecordsResponse ¶
type ClearDNSZoneRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ClearDNSZoneRecordsResponse
}
func ParseClearDNSZoneRecordsResponse ¶
func ParseClearDNSZoneRecordsResponse(rsp *http.Response) (*ClearDNSZoneRecordsResponse, error)
ParseClearDNSZoneRecordsResponse parses an HTTP response from a ClearDNSZoneRecordsWithResponse call
func (ClearDNSZoneRecordsResponse) Status ¶
func (r ClearDNSZoneRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (ClearDNSZoneRecordsResponse) StatusCode ¶
func (r ClearDNSZoneRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A callback for modifying requests which are generated before sending over
// the network.
RequestEditor 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) BuyDomainWithBody ¶
func (*Client) ClearDNSZoneRecords ¶
func (*Client) CopyDNSZone ¶
func (*Client) CopyDNSZoneWithBody ¶
func (*Client) CreateDNSZone ¶
func (*Client) CreateDNSZoneWithBody ¶
func (*Client) CreateSSLCertificate ¶
func (*Client) CreateSSLCertificateWithBody ¶
func (*Client) DeleteDNSZone ¶
func (*Client) DeleteDNSZoneTsigKey ¶
func (*Client) DeleteExternalDomain ¶
func (*Client) DeleteSSLCertificate ¶
func (*Client) DisableDomainAutoRenew ¶
func (*Client) DisableDomainAutoRenewWithBody ¶
func (*Client) DisableDomainDNSSEC ¶
func (*Client) DisableDomainDNSSECWithBody ¶
func (*Client) EnableDomainAutoRenew ¶
func (*Client) EnableDomainAutoRenewWithBody ¶
func (*Client) EnableDomainDNSSEC ¶
func (*Client) EnableDomainDNSSECWithBody ¶
func (*Client) ExportRawDNSZone ¶
func (*Client) GetContact ¶
func (*Client) GetDNSZoneTsigKey ¶
func (*Client) GetDNSZoneVersionDiff ¶
func (*Client) GetDomainAuthCode ¶
func (*Client) ImportProviderDNSZone ¶
func (*Client) ImportProviderDNSZoneWithBody ¶
func (*Client) ImportRawDNSZone ¶
func (*Client) ImportRawDNSZoneWithBody ¶
func (*Client) ListContacts ¶
func (*Client) ListDNSZoneNameservers ¶
func (*Client) ListDNSZoneRecords ¶
func (*Client) ListDNSZoneVersionRecords ¶
func (*Client) ListDNSZoneVersions ¶
func (*Client) ListDNSZones ¶
func (*Client) ListDomains ¶
func (*Client) ListSSLCertificates ¶
func (*Client) LockDomainTransfer ¶
func (*Client) LockDomainTransferWithBody ¶
func (*Client) RefreshDNSZone ¶
func (*Client) RefreshDNSZoneWithBody ¶
func (*Client) RegisterExternalDomain ¶
func (*Client) RegisterExternalDomainWithBody ¶
func (*Client) RenewDomain ¶
func (*Client) RenewDomainWithBody ¶
func (*Client) RestoreDNSZoneVersion ¶
func (*Client) RestoreDNSZoneVersionWithBody ¶
func (*Client) TradeDomain ¶
func (*Client) TradeDomainWithBody ¶
func (*Client) TransferDomain ¶
func (*Client) TransferDomainWithBody ¶
func (*Client) UnlockDomainTransfer ¶
func (*Client) UnlockDomainTransferWithBody ¶
func (*Client) UpdateContact ¶
func (*Client) UpdateContactWithBody ¶
func (*Client) UpdateDNSZone ¶
func (*Client) UpdateDNSZoneNameservers ¶
func (*Client) UpdateDNSZoneNameserversWithBody ¶
func (*Client) UpdateDNSZoneRecords ¶
func (*Client) UpdateDNSZoneRecordsWithBody ¶
func (*Client) UpdateDNSZoneWithBody ¶
func (*Client) UpdateDomain ¶
type ClientInterface ¶
type ClientInterface interface {
// ListContacts request
ListContacts(ctx context.Context, params *ListContactsParams) (*http.Response, error)
// GetContact request
GetContact(ctx context.Context, contactId string) (*http.Response, error)
// UpdateContact request with any body
UpdateContactWithBody(ctx context.Context, contactId string, contentType string, body io.Reader) (*http.Response, error)
UpdateContact(ctx context.Context, contactId string, body UpdateContactJSONRequestBody) (*http.Response, error)
// ListDNSZones request
ListDNSZones(ctx context.Context, params *ListDNSZonesParams) (*http.Response, error)
// CreateDNSZone request with any body
CreateDNSZoneWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
CreateDNSZone(ctx context.Context, body CreateDNSZoneJSONRequestBody) (*http.Response, error)
// DeleteDNSZone request
DeleteDNSZone(ctx context.Context, dnsZone string) (*http.Response, error)
// UpdateDNSZone request with any body
UpdateDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
UpdateDNSZone(ctx context.Context, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*http.Response, error)
// CopyDNSZone request with any body
CopyDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
CopyDNSZone(ctx context.Context, dnsZone string, body CopyDNSZoneJSONRequestBody) (*http.Response, error)
// ImportProviderDNSZone request with any body
ImportProviderDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
ImportProviderDNSZone(ctx context.Context, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*http.Response, error)
// ListDNSZoneNameservers request
ListDNSZoneNameservers(ctx context.Context, dnsZone string, params *ListDNSZoneNameserversParams) (*http.Response, error)
// UpdateDNSZoneNameservers request with any body
UpdateDNSZoneNameserversWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
UpdateDNSZoneNameservers(ctx context.Context, dnsZone string, body UpdateDNSZoneNameserversJSONRequestBody) (*http.Response, error)
// ExportRawDNSZone request
ExportRawDNSZone(ctx context.Context, dnsZone string, params *ExportRawDNSZoneParams) (*http.Response, error)
// ImportRawDNSZone request with any body
ImportRawDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
ImportRawDNSZone(ctx context.Context, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*http.Response, error)
// ClearDNSZoneRecords request
ClearDNSZoneRecords(ctx context.Context, dnsZone string) (*http.Response, error)
// ListDNSZoneRecords request
ListDNSZoneRecords(ctx context.Context, dnsZone string, params *ListDNSZoneRecordsParams) (*http.Response, error)
// UpdateDNSZoneRecords request with any body
UpdateDNSZoneRecordsWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
UpdateDNSZoneRecords(ctx context.Context, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*http.Response, error)
// RefreshDNSZone request with any body
RefreshDNSZoneWithBody(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*http.Response, error)
RefreshDNSZone(ctx context.Context, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*http.Response, error)
// GetDNSZoneTsigKey request
GetDNSZoneTsigKey(ctx context.Context, dnsZone string) (*http.Response, error)
// DeleteDNSZoneTsigKey request
DeleteDNSZoneTsigKey(ctx context.Context, dnsZone string, id string) (*http.Response, error)
// ListDNSZoneVersions request
ListDNSZoneVersions(ctx context.Context, dnsZone string, params *ListDNSZoneVersionsParams) (*http.Response, error)
// GetDNSZoneVersionDiff request
GetDNSZoneVersionDiff(ctx context.Context, dnsZone string, version string) (*http.Response, error)
// ListDNSZoneVersionRecords request
ListDNSZoneVersionRecords(ctx context.Context, dnsZone string, version string, params *ListDNSZoneVersionRecordsParams) (*http.Response, error)
// RestoreDNSZoneVersion request with any body
RestoreDNSZoneVersionWithBody(ctx context.Context, dnsZone string, version string, contentType string, body io.Reader) (*http.Response, error)
RestoreDNSZoneVersion(ctx context.Context, dnsZone string, version string, body RestoreDNSZoneVersionJSONRequestBody) (*http.Response, error)
// ListDomains request
ListDomains(ctx context.Context, params *ListDomainsParams) (*http.Response, error)
// BuyDomain request with any body
BuyDomainWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
BuyDomain(ctx context.Context, body BuyDomainJSONRequestBody) (*http.Response, error)
// RegisterExternalDomain request with any body
RegisterExternalDomainWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
RegisterExternalDomain(ctx context.Context, body RegisterExternalDomainJSONRequestBody) (*http.Response, error)
// DeleteExternalDomain request
DeleteExternalDomain(ctx context.Context, domain string) (*http.Response, error)
// TransferDomain request with any body
TransferDomainWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
TransferDomain(ctx context.Context, body TransferDomainJSONRequestBody) (*http.Response, error)
// GetDomain request
GetDomain(ctx context.Context, domain string) (*http.Response, error)
// UpdateDomain request with any body
UpdateDomainWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
UpdateDomain(ctx context.Context, domain string, body UpdateDomainJSONRequestBody) (*http.Response, error)
// GetDomainAuthCode request
GetDomainAuthCode(ctx context.Context, domain string) (*http.Response, error)
// DisableDomainAutoRenew request with any body
DisableDomainAutoRenewWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
DisableDomainAutoRenew(ctx context.Context, domain string, body DisableDomainAutoRenewJSONRequestBody) (*http.Response, error)
// DisableDomainDNSSEC request with any body
DisableDomainDNSSECWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
DisableDomainDNSSEC(ctx context.Context, domain string, body DisableDomainDNSSECJSONRequestBody) (*http.Response, error)
// EnableDomainAutoRenew request with any body
EnableDomainAutoRenewWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
EnableDomainAutoRenew(ctx context.Context, domain string, body EnableDomainAutoRenewJSONRequestBody) (*http.Response, error)
// EnableDomainDNSSEC request with any body
EnableDomainDNSSECWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
EnableDomainDNSSEC(ctx context.Context, domain string, body EnableDomainDNSSECJSONRequestBody) (*http.Response, error)
// LockDomainTransfer request with any body
LockDomainTransferWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
LockDomainTransfer(ctx context.Context, domain string, body LockDomainTransferJSONRequestBody) (*http.Response, error)
// RenewDomain request with any body
RenewDomainWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
RenewDomain(ctx context.Context, domain string, body RenewDomainJSONRequestBody) (*http.Response, error)
// TradeDomain request with any body
TradeDomainWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
TradeDomain(ctx context.Context, domain string, body TradeDomainJSONRequestBody) (*http.Response, error)
// UnlockDomainTransfer request with any body
UnlockDomainTransferWithBody(ctx context.Context, domain string, contentType string, body io.Reader) (*http.Response, error)
UnlockDomainTransfer(ctx context.Context, domain string, body UnlockDomainTransferJSONRequestBody) (*http.Response, error)
// ListSSLCertificates request
ListSSLCertificates(ctx context.Context, params *ListSSLCertificatesParams) (*http.Response, error)
// CreateSSLCertificate request with any body
CreateSSLCertificateWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
CreateSSLCertificate(ctx context.Context, body CreateSSLCertificateJSONRequestBody) (*http.Response, error)
// DeleteSSLCertificate request
DeleteSSLCertificate(ctx context.Context, dnsZone string) (*http.Response, error)
// ListTasks request
ListTasks(ctx context.Context, params *ListTasksParams) (*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) BuyDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) BuyDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*BuyDomainResponse, error)
BuyDomainWithBodyWithResponse request with arbitrary body returning *BuyDomainResponse
func (*ClientWithResponses) BuyDomainWithResponse ¶
func (c *ClientWithResponses) BuyDomainWithResponse(ctx context.Context, body BuyDomainJSONRequestBody) (*BuyDomainResponse, error)
func (*ClientWithResponses) ClearDNSZoneRecordsWithResponse ¶
func (c *ClientWithResponses) ClearDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string) (*ClearDNSZoneRecordsResponse, error)
ClearDNSZoneRecordsWithResponse request returning *ClearDNSZoneRecordsResponse
func (*ClientWithResponses) CopyDNSZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) CopyDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*CopyDNSZoneResponse, error)
CopyDNSZoneWithBodyWithResponse request with arbitrary body returning *CopyDNSZoneResponse
func (*ClientWithResponses) CopyDNSZoneWithResponse ¶
func (c *ClientWithResponses) CopyDNSZoneWithResponse(ctx context.Context, dnsZone string, body CopyDNSZoneJSONRequestBody) (*CopyDNSZoneResponse, error)
func (*ClientWithResponses) CreateDNSZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDNSZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateDNSZoneResponse, error)
CreateDNSZoneWithBodyWithResponse request with arbitrary body returning *CreateDNSZoneResponse
func (*ClientWithResponses) CreateDNSZoneWithResponse ¶
func (c *ClientWithResponses) CreateDNSZoneWithResponse(ctx context.Context, body CreateDNSZoneJSONRequestBody) (*CreateDNSZoneResponse, error)
func (*ClientWithResponses) CreateSSLCertificateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSSLCertificateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSSLCertificateResponse, error)
CreateSSLCertificateWithBodyWithResponse request with arbitrary body returning *CreateSSLCertificateResponse
func (*ClientWithResponses) CreateSSLCertificateWithResponse ¶
func (c *ClientWithResponses) CreateSSLCertificateWithResponse(ctx context.Context, body CreateSSLCertificateJSONRequestBody) (*CreateSSLCertificateResponse, error)
func (*ClientWithResponses) DeleteDNSZoneTsigKeyWithResponse ¶
func (c *ClientWithResponses) DeleteDNSZoneTsigKeyWithResponse(ctx context.Context, dnsZone string, id string) (*DeleteDNSZoneTsigKeyResponse, error)
DeleteDNSZoneTsigKeyWithResponse request returning *DeleteDNSZoneTsigKeyResponse
func (*ClientWithResponses) DeleteDNSZoneWithResponse ¶
func (c *ClientWithResponses) DeleteDNSZoneWithResponse(ctx context.Context, dnsZone string) (*DeleteDNSZoneResponse, error)
DeleteDNSZoneWithResponse request returning *DeleteDNSZoneResponse
func (*ClientWithResponses) DeleteExternalDomainWithResponse ¶
func (c *ClientWithResponses) DeleteExternalDomainWithResponse(ctx context.Context, domain string) (*DeleteExternalDomainResponse, error)
DeleteExternalDomainWithResponse request returning *DeleteExternalDomainResponse
func (*ClientWithResponses) DeleteSSLCertificateWithResponse ¶
func (c *ClientWithResponses) DeleteSSLCertificateWithResponse(ctx context.Context, dnsZone string) (*DeleteSSLCertificateResponse, error)
DeleteSSLCertificateWithResponse request returning *DeleteSSLCertificateResponse
func (*ClientWithResponses) DisableDomainAutoRenewWithBodyWithResponse ¶
func (c *ClientWithResponses) DisableDomainAutoRenewWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*DisableDomainAutoRenewResponse, error)
DisableDomainAutoRenewWithBodyWithResponse request with arbitrary body returning *DisableDomainAutoRenewResponse
func (*ClientWithResponses) DisableDomainAutoRenewWithResponse ¶
func (c *ClientWithResponses) DisableDomainAutoRenewWithResponse(ctx context.Context, domain string, body DisableDomainAutoRenewJSONRequestBody) (*DisableDomainAutoRenewResponse, error)
func (*ClientWithResponses) DisableDomainDNSSECWithBodyWithResponse ¶
func (c *ClientWithResponses) DisableDomainDNSSECWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*DisableDomainDNSSECResponse, error)
DisableDomainDNSSECWithBodyWithResponse request with arbitrary body returning *DisableDomainDNSSECResponse
func (*ClientWithResponses) DisableDomainDNSSECWithResponse ¶
func (c *ClientWithResponses) DisableDomainDNSSECWithResponse(ctx context.Context, domain string, body DisableDomainDNSSECJSONRequestBody) (*DisableDomainDNSSECResponse, error)
func (*ClientWithResponses) EnableDomainAutoRenewWithBodyWithResponse ¶
func (c *ClientWithResponses) EnableDomainAutoRenewWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*EnableDomainAutoRenewResponse, error)
EnableDomainAutoRenewWithBodyWithResponse request with arbitrary body returning *EnableDomainAutoRenewResponse
func (*ClientWithResponses) EnableDomainAutoRenewWithResponse ¶
func (c *ClientWithResponses) EnableDomainAutoRenewWithResponse(ctx context.Context, domain string, body EnableDomainAutoRenewJSONRequestBody) (*EnableDomainAutoRenewResponse, error)
func (*ClientWithResponses) EnableDomainDNSSECWithBodyWithResponse ¶
func (c *ClientWithResponses) EnableDomainDNSSECWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*EnableDomainDNSSECResponse, error)
EnableDomainDNSSECWithBodyWithResponse request with arbitrary body returning *EnableDomainDNSSECResponse
func (*ClientWithResponses) EnableDomainDNSSECWithResponse ¶
func (c *ClientWithResponses) EnableDomainDNSSECWithResponse(ctx context.Context, domain string, body EnableDomainDNSSECJSONRequestBody) (*EnableDomainDNSSECResponse, error)
func (*ClientWithResponses) ExportRawDNSZoneWithResponse ¶
func (c *ClientWithResponses) ExportRawDNSZoneWithResponse(ctx context.Context, dnsZone string, params *ExportRawDNSZoneParams) (*ExportRawDNSZoneResponse, error)
ExportRawDNSZoneWithResponse request returning *ExportRawDNSZoneResponse
func (*ClientWithResponses) GetContactWithResponse ¶
func (c *ClientWithResponses) GetContactWithResponse(ctx context.Context, contactId string) (*GetContactResponse, error)
GetContactWithResponse request returning *GetContactResponse
func (*ClientWithResponses) GetDNSZoneTsigKeyWithResponse ¶
func (c *ClientWithResponses) GetDNSZoneTsigKeyWithResponse(ctx context.Context, dnsZone string) (*GetDNSZoneTsigKeyResponse, error)
GetDNSZoneTsigKeyWithResponse request returning *GetDNSZoneTsigKeyResponse
func (*ClientWithResponses) GetDNSZoneVersionDiffWithResponse ¶
func (c *ClientWithResponses) GetDNSZoneVersionDiffWithResponse(ctx context.Context, dnsZone string, version string) (*GetDNSZoneVersionDiffResponse, error)
GetDNSZoneVersionDiffWithResponse request returning *GetDNSZoneVersionDiffResponse
func (*ClientWithResponses) GetDomainAuthCodeWithResponse ¶
func (c *ClientWithResponses) GetDomainAuthCodeWithResponse(ctx context.Context, domain string) (*GetDomainAuthCodeResponse, error)
GetDomainAuthCodeWithResponse request returning *GetDomainAuthCodeResponse
func (*ClientWithResponses) GetDomainWithResponse ¶
func (c *ClientWithResponses) GetDomainWithResponse(ctx context.Context, domain string) (*GetDomainResponse, error)
GetDomainWithResponse request returning *GetDomainResponse
func (*ClientWithResponses) ImportProviderDNSZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportProviderDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*ImportProviderDNSZoneResponse, error)
ImportProviderDNSZoneWithBodyWithResponse request with arbitrary body returning *ImportProviderDNSZoneResponse
func (*ClientWithResponses) ImportProviderDNSZoneWithResponse ¶
func (c *ClientWithResponses) ImportProviderDNSZoneWithResponse(ctx context.Context, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*ImportProviderDNSZoneResponse, error)
func (*ClientWithResponses) ImportRawDNSZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportRawDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*ImportRawDNSZoneResponse, error)
ImportRawDNSZoneWithBodyWithResponse request with arbitrary body returning *ImportRawDNSZoneResponse
func (*ClientWithResponses) ImportRawDNSZoneWithResponse ¶
func (c *ClientWithResponses) ImportRawDNSZoneWithResponse(ctx context.Context, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*ImportRawDNSZoneResponse, error)
func (*ClientWithResponses) ListContactsWithResponse ¶
func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams) (*ListContactsResponse, error)
ListContactsWithResponse request returning *ListContactsResponse
func (*ClientWithResponses) ListDNSZoneNameserversWithResponse ¶
func (c *ClientWithResponses) ListDNSZoneNameserversWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneNameserversParams) (*ListDNSZoneNameserversResponse, error)
ListDNSZoneNameserversWithResponse request returning *ListDNSZoneNameserversResponse
func (*ClientWithResponses) ListDNSZoneRecordsWithResponse ¶
func (c *ClientWithResponses) ListDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneRecordsParams) (*ListDNSZoneRecordsResponse, error)
ListDNSZoneRecordsWithResponse request returning *ListDNSZoneRecordsResponse
func (*ClientWithResponses) ListDNSZoneVersionRecordsWithResponse ¶
func (c *ClientWithResponses) ListDNSZoneVersionRecordsWithResponse(ctx context.Context, dnsZone string, version string, params *ListDNSZoneVersionRecordsParams) (*ListDNSZoneVersionRecordsResponse, error)
ListDNSZoneVersionRecordsWithResponse request returning *ListDNSZoneVersionRecordsResponse
func (*ClientWithResponses) ListDNSZoneVersionsWithResponse ¶
func (c *ClientWithResponses) ListDNSZoneVersionsWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneVersionsParams) (*ListDNSZoneVersionsResponse, error)
ListDNSZoneVersionsWithResponse request returning *ListDNSZoneVersionsResponse
func (*ClientWithResponses) ListDNSZonesWithResponse ¶
func (c *ClientWithResponses) ListDNSZonesWithResponse(ctx context.Context, params *ListDNSZonesParams) (*ListDNSZonesResponse, error)
ListDNSZonesWithResponse request returning *ListDNSZonesResponse
func (*ClientWithResponses) ListDomainsWithResponse ¶
func (c *ClientWithResponses) ListDomainsWithResponse(ctx context.Context, params *ListDomainsParams) (*ListDomainsResponse, error)
ListDomainsWithResponse request returning *ListDomainsResponse
func (*ClientWithResponses) ListSSLCertificatesWithResponse ¶
func (c *ClientWithResponses) ListSSLCertificatesWithResponse(ctx context.Context, params *ListSSLCertificatesParams) (*ListSSLCertificatesResponse, error)
ListSSLCertificatesWithResponse request returning *ListSSLCertificatesResponse
func (*ClientWithResponses) ListTasksWithResponse ¶
func (c *ClientWithResponses) ListTasksWithResponse(ctx context.Context, params *ListTasksParams) (*ListTasksResponse, error)
ListTasksWithResponse request returning *ListTasksResponse
func (*ClientWithResponses) LockDomainTransferWithBodyWithResponse ¶
func (c *ClientWithResponses) LockDomainTransferWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*LockDomainTransferResponse, error)
LockDomainTransferWithBodyWithResponse request with arbitrary body returning *LockDomainTransferResponse
func (*ClientWithResponses) LockDomainTransferWithResponse ¶
func (c *ClientWithResponses) LockDomainTransferWithResponse(ctx context.Context, domain string, body LockDomainTransferJSONRequestBody) (*LockDomainTransferResponse, error)
func (*ClientWithResponses) RefreshDNSZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) RefreshDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*RefreshDNSZoneResponse, error)
RefreshDNSZoneWithBodyWithResponse request with arbitrary body returning *RefreshDNSZoneResponse
func (*ClientWithResponses) RefreshDNSZoneWithResponse ¶
func (c *ClientWithResponses) RefreshDNSZoneWithResponse(ctx context.Context, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*RefreshDNSZoneResponse, error)
func (*ClientWithResponses) RegisterExternalDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterExternalDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*RegisterExternalDomainResponse, error)
RegisterExternalDomainWithBodyWithResponse request with arbitrary body returning *RegisterExternalDomainResponse
func (*ClientWithResponses) RegisterExternalDomainWithResponse ¶
func (c *ClientWithResponses) RegisterExternalDomainWithResponse(ctx context.Context, body RegisterExternalDomainJSONRequestBody) (*RegisterExternalDomainResponse, error)
func (*ClientWithResponses) RenewDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) RenewDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*RenewDomainResponse, error)
RenewDomainWithBodyWithResponse request with arbitrary body returning *RenewDomainResponse
func (*ClientWithResponses) RenewDomainWithResponse ¶
func (c *ClientWithResponses) RenewDomainWithResponse(ctx context.Context, domain string, body RenewDomainJSONRequestBody) (*RenewDomainResponse, error)
func (*ClientWithResponses) RestoreDNSZoneVersionWithBodyWithResponse ¶
func (c *ClientWithResponses) RestoreDNSZoneVersionWithBodyWithResponse(ctx context.Context, dnsZone string, version string, contentType string, body io.Reader) (*RestoreDNSZoneVersionResponse, error)
RestoreDNSZoneVersionWithBodyWithResponse request with arbitrary body returning *RestoreDNSZoneVersionResponse
func (*ClientWithResponses) RestoreDNSZoneVersionWithResponse ¶
func (c *ClientWithResponses) RestoreDNSZoneVersionWithResponse(ctx context.Context, dnsZone string, version string, body RestoreDNSZoneVersionJSONRequestBody) (*RestoreDNSZoneVersionResponse, error)
func (*ClientWithResponses) TradeDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) TradeDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*TradeDomainResponse, error)
TradeDomainWithBodyWithResponse request with arbitrary body returning *TradeDomainResponse
func (*ClientWithResponses) TradeDomainWithResponse ¶
func (c *ClientWithResponses) TradeDomainWithResponse(ctx context.Context, domain string, body TradeDomainJSONRequestBody) (*TradeDomainResponse, error)
func (*ClientWithResponses) TransferDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) TransferDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*TransferDomainResponse, error)
TransferDomainWithBodyWithResponse request with arbitrary body returning *TransferDomainResponse
func (*ClientWithResponses) TransferDomainWithResponse ¶
func (c *ClientWithResponses) TransferDomainWithResponse(ctx context.Context, body TransferDomainJSONRequestBody) (*TransferDomainResponse, error)
func (*ClientWithResponses) UnlockDomainTransferWithBodyWithResponse ¶
func (c *ClientWithResponses) UnlockDomainTransferWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*UnlockDomainTransferResponse, error)
UnlockDomainTransferWithBodyWithResponse request with arbitrary body returning *UnlockDomainTransferResponse
func (*ClientWithResponses) UnlockDomainTransferWithResponse ¶
func (c *ClientWithResponses) UnlockDomainTransferWithResponse(ctx context.Context, domain string, body UnlockDomainTransferJSONRequestBody) (*UnlockDomainTransferResponse, error)
func (*ClientWithResponses) UpdateContactWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader) (*UpdateContactResponse, error)
UpdateContactWithBodyWithResponse request with arbitrary body returning *UpdateContactResponse
func (*ClientWithResponses) UpdateContactWithResponse ¶
func (c *ClientWithResponses) UpdateContactWithResponse(ctx context.Context, contactId string, body UpdateContactJSONRequestBody) (*UpdateContactResponse, error)
func (*ClientWithResponses) UpdateDNSZoneNameserversWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDNSZoneNameserversWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneNameserversResponse, error)
UpdateDNSZoneNameserversWithBodyWithResponse request with arbitrary body returning *UpdateDNSZoneNameserversResponse
func (*ClientWithResponses) UpdateDNSZoneNameserversWithResponse ¶
func (c *ClientWithResponses) UpdateDNSZoneNameserversWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneNameserversJSONRequestBody) (*UpdateDNSZoneNameserversResponse, error)
func (*ClientWithResponses) UpdateDNSZoneRecordsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDNSZoneRecordsWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneRecordsResponse, error)
UpdateDNSZoneRecordsWithBodyWithResponse request with arbitrary body returning *UpdateDNSZoneRecordsResponse
func (*ClientWithResponses) UpdateDNSZoneRecordsWithResponse ¶
func (c *ClientWithResponses) UpdateDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*UpdateDNSZoneRecordsResponse, error)
func (*ClientWithResponses) UpdateDNSZoneWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneResponse, error)
UpdateDNSZoneWithBodyWithResponse request with arbitrary body returning *UpdateDNSZoneResponse
func (*ClientWithResponses) UpdateDNSZoneWithResponse ¶
func (c *ClientWithResponses) UpdateDNSZoneWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*UpdateDNSZoneResponse, error)
func (*ClientWithResponses) UpdateDomainWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*UpdateDomainResponse, error)
UpdateDomainWithBodyWithResponse request with arbitrary body returning *UpdateDomainResponse
func (*ClientWithResponses) UpdateDomainWithResponse ¶
func (c *ClientWithResponses) UpdateDomainWithResponse(ctx context.Context, domain string, body UpdateDomainJSONRequestBody) (*UpdateDomainResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListContacts request
ListContactsWithResponse(ctx context.Context, params *ListContactsParams) (*ListContactsResponse, error)
// GetContact request
GetContactWithResponse(ctx context.Context, contactId string) (*GetContactResponse, error)
// UpdateContact request with any body
UpdateContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader) (*UpdateContactResponse, error)
UpdateContactWithResponse(ctx context.Context, contactId string, body UpdateContactJSONRequestBody) (*UpdateContactResponse, error)
// ListDNSZones request
ListDNSZonesWithResponse(ctx context.Context, params *ListDNSZonesParams) (*ListDNSZonesResponse, error)
// CreateDNSZone request with any body
CreateDNSZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateDNSZoneResponse, error)
CreateDNSZoneWithResponse(ctx context.Context, body CreateDNSZoneJSONRequestBody) (*CreateDNSZoneResponse, error)
// DeleteDNSZone request
DeleteDNSZoneWithResponse(ctx context.Context, dnsZone string) (*DeleteDNSZoneResponse, error)
// UpdateDNSZone request with any body
UpdateDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneResponse, error)
UpdateDNSZoneWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneJSONRequestBody) (*UpdateDNSZoneResponse, error)
// CopyDNSZone request with any body
CopyDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*CopyDNSZoneResponse, error)
CopyDNSZoneWithResponse(ctx context.Context, dnsZone string, body CopyDNSZoneJSONRequestBody) (*CopyDNSZoneResponse, error)
// ImportProviderDNSZone request with any body
ImportProviderDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*ImportProviderDNSZoneResponse, error)
ImportProviderDNSZoneWithResponse(ctx context.Context, dnsZone string, body ImportProviderDNSZoneJSONRequestBody) (*ImportProviderDNSZoneResponse, error)
// ListDNSZoneNameservers request
ListDNSZoneNameserversWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneNameserversParams) (*ListDNSZoneNameserversResponse, error)
// UpdateDNSZoneNameservers request with any body
UpdateDNSZoneNameserversWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneNameserversResponse, error)
UpdateDNSZoneNameserversWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneNameserversJSONRequestBody) (*UpdateDNSZoneNameserversResponse, error)
// ExportRawDNSZone request
ExportRawDNSZoneWithResponse(ctx context.Context, dnsZone string, params *ExportRawDNSZoneParams) (*ExportRawDNSZoneResponse, error)
// ImportRawDNSZone request with any body
ImportRawDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*ImportRawDNSZoneResponse, error)
ImportRawDNSZoneWithResponse(ctx context.Context, dnsZone string, body ImportRawDNSZoneJSONRequestBody) (*ImportRawDNSZoneResponse, error)
// ClearDNSZoneRecords request
ClearDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string) (*ClearDNSZoneRecordsResponse, error)
// ListDNSZoneRecords request
ListDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneRecordsParams) (*ListDNSZoneRecordsResponse, error)
// UpdateDNSZoneRecords request with any body
UpdateDNSZoneRecordsWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*UpdateDNSZoneRecordsResponse, error)
UpdateDNSZoneRecordsWithResponse(ctx context.Context, dnsZone string, body UpdateDNSZoneRecordsJSONRequestBody) (*UpdateDNSZoneRecordsResponse, error)
// RefreshDNSZone request with any body
RefreshDNSZoneWithBodyWithResponse(ctx context.Context, dnsZone string, contentType string, body io.Reader) (*RefreshDNSZoneResponse, error)
RefreshDNSZoneWithResponse(ctx context.Context, dnsZone string, body RefreshDNSZoneJSONRequestBody) (*RefreshDNSZoneResponse, error)
// GetDNSZoneTsigKey request
GetDNSZoneTsigKeyWithResponse(ctx context.Context, dnsZone string) (*GetDNSZoneTsigKeyResponse, error)
// DeleteDNSZoneTsigKey request
DeleteDNSZoneTsigKeyWithResponse(ctx context.Context, dnsZone string, id string) (*DeleteDNSZoneTsigKeyResponse, error)
// ListDNSZoneVersions request
ListDNSZoneVersionsWithResponse(ctx context.Context, dnsZone string, params *ListDNSZoneVersionsParams) (*ListDNSZoneVersionsResponse, error)
// GetDNSZoneVersionDiff request
GetDNSZoneVersionDiffWithResponse(ctx context.Context, dnsZone string, version string) (*GetDNSZoneVersionDiffResponse, error)
// ListDNSZoneVersionRecords request
ListDNSZoneVersionRecordsWithResponse(ctx context.Context, dnsZone string, version string, params *ListDNSZoneVersionRecordsParams) (*ListDNSZoneVersionRecordsResponse, error)
// RestoreDNSZoneVersion request with any body
RestoreDNSZoneVersionWithBodyWithResponse(ctx context.Context, dnsZone string, version string, contentType string, body io.Reader) (*RestoreDNSZoneVersionResponse, error)
RestoreDNSZoneVersionWithResponse(ctx context.Context, dnsZone string, version string, body RestoreDNSZoneVersionJSONRequestBody) (*RestoreDNSZoneVersionResponse, error)
// ListDomains request
ListDomainsWithResponse(ctx context.Context, params *ListDomainsParams) (*ListDomainsResponse, error)
// BuyDomain request with any body
BuyDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*BuyDomainResponse, error)
BuyDomainWithResponse(ctx context.Context, body BuyDomainJSONRequestBody) (*BuyDomainResponse, error)
// RegisterExternalDomain request with any body
RegisterExternalDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*RegisterExternalDomainResponse, error)
RegisterExternalDomainWithResponse(ctx context.Context, body RegisterExternalDomainJSONRequestBody) (*RegisterExternalDomainResponse, error)
// DeleteExternalDomain request
DeleteExternalDomainWithResponse(ctx context.Context, domain string) (*DeleteExternalDomainResponse, error)
// TransferDomain request with any body
TransferDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*TransferDomainResponse, error)
TransferDomainWithResponse(ctx context.Context, body TransferDomainJSONRequestBody) (*TransferDomainResponse, error)
// GetDomain request
GetDomainWithResponse(ctx context.Context, domain string) (*GetDomainResponse, error)
// UpdateDomain request with any body
UpdateDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*UpdateDomainResponse, error)
UpdateDomainWithResponse(ctx context.Context, domain string, body UpdateDomainJSONRequestBody) (*UpdateDomainResponse, error)
// GetDomainAuthCode request
GetDomainAuthCodeWithResponse(ctx context.Context, domain string) (*GetDomainAuthCodeResponse, error)
// DisableDomainAutoRenew request with any body
DisableDomainAutoRenewWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*DisableDomainAutoRenewResponse, error)
DisableDomainAutoRenewWithResponse(ctx context.Context, domain string, body DisableDomainAutoRenewJSONRequestBody) (*DisableDomainAutoRenewResponse, error)
// DisableDomainDNSSEC request with any body
DisableDomainDNSSECWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*DisableDomainDNSSECResponse, error)
DisableDomainDNSSECWithResponse(ctx context.Context, domain string, body DisableDomainDNSSECJSONRequestBody) (*DisableDomainDNSSECResponse, error)
// EnableDomainAutoRenew request with any body
EnableDomainAutoRenewWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*EnableDomainAutoRenewResponse, error)
EnableDomainAutoRenewWithResponse(ctx context.Context, domain string, body EnableDomainAutoRenewJSONRequestBody) (*EnableDomainAutoRenewResponse, error)
// EnableDomainDNSSEC request with any body
EnableDomainDNSSECWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*EnableDomainDNSSECResponse, error)
EnableDomainDNSSECWithResponse(ctx context.Context, domain string, body EnableDomainDNSSECJSONRequestBody) (*EnableDomainDNSSECResponse, error)
// LockDomainTransfer request with any body
LockDomainTransferWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*LockDomainTransferResponse, error)
LockDomainTransferWithResponse(ctx context.Context, domain string, body LockDomainTransferJSONRequestBody) (*LockDomainTransferResponse, error)
// RenewDomain request with any body
RenewDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*RenewDomainResponse, error)
RenewDomainWithResponse(ctx context.Context, domain string, body RenewDomainJSONRequestBody) (*RenewDomainResponse, error)
// TradeDomain request with any body
TradeDomainWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*TradeDomainResponse, error)
TradeDomainWithResponse(ctx context.Context, domain string, body TradeDomainJSONRequestBody) (*TradeDomainResponse, error)
// UnlockDomainTransfer request with any body
UnlockDomainTransferWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader) (*UnlockDomainTransferResponse, error)
UnlockDomainTransferWithResponse(ctx context.Context, domain string, body UnlockDomainTransferJSONRequestBody) (*UnlockDomainTransferResponse, error)
// ListSSLCertificates request
ListSSLCertificatesWithResponse(ctx context.Context, params *ListSSLCertificatesParams) (*ListSSLCertificatesResponse, error)
// CreateSSLCertificate request with any body
CreateSSLCertificateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSSLCertificateResponse, error)
CreateSSLCertificateWithResponse(ctx context.Context, body CreateSSLCertificateJSONRequestBody) (*CreateSSLCertificateResponse, error)
// DeleteSSLCertificate request
DeleteSSLCertificateWithResponse(ctx context.Context, dnsZone string) (*DeleteSSLCertificateResponse, error)
// ListTasks request
ListTasksWithResponse(ctx context.Context, params *ListTasksParams) (*ListTasksResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CopyDNSZoneJSONBody ¶
type CopyDNSZoneJSONBody struct {
NewDnsZone *GoogleProtobufStringValue `json:"new_dns_zone"`
Overwrite *GoogleProtobufBoolValue `json:"overwrite"`
}
CopyDNSZoneJSONBody defines parameters for CopyDNSZone.
type CopyDNSZoneJSONRequestBody ¶
type CopyDNSZoneJSONRequestBody CopyDNSZoneJSONBody
CopyDNSZoneRequestBody defines body for CopyDNSZone for application/json ContentType.
type CopyDNSZoneResponse ¶
type CopyDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2DNSZone
}
func ParseCopyDNSZoneResponse ¶
func ParseCopyDNSZoneResponse(rsp *http.Response) (*CopyDNSZoneResponse, error)
ParseCopyDNSZoneResponse parses an HTTP response from a CopyDNSZoneWithResponse call
func (CopyDNSZoneResponse) Status ¶
func (r CopyDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (CopyDNSZoneResponse) StatusCode ¶
func (r CopyDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDNSZoneJSONBody ¶
type CreateDNSZoneJSONBody struct {
Domain *string `json:"domain,omitempty"`
OrganizationIds *[]string `json:"organization_ids,omitempty"`
Subdomain *string `json:"subdomain,omitempty"`
}
CreateDNSZoneJSONBody defines parameters for CreateDNSZone.
type CreateDNSZoneJSONRequestBody ¶
type CreateDNSZoneJSONRequestBody CreateDNSZoneJSONBody
CreateDNSZoneRequestBody defines body for CreateDNSZone for application/json ContentType.
type CreateDNSZoneResponse ¶
type CreateDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2DNSZone
}
func ParseCreateDNSZoneResponse ¶
func ParseCreateDNSZoneResponse(rsp *http.Response) (*CreateDNSZoneResponse, error)
ParseCreateDNSZoneResponse parses an HTTP response from a CreateDNSZoneWithResponse call
func (CreateDNSZoneResponse) Status ¶
func (r CreateDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDNSZoneResponse) StatusCode ¶
func (r CreateDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSSLCertificateJSONBody ¶
type CreateSSLCertificateJSONBody struct {
AlternativeDnsZones *[]string `json:"alternative_dns_zones,omitempty"`
DnsZone *string `json:"dns_zone,omitempty"`
}
CreateSSLCertificateJSONBody defines parameters for CreateSSLCertificate.
type CreateSSLCertificateJSONRequestBody ¶
type CreateSSLCertificateJSONRequestBody CreateSSLCertificateJSONBody
CreateSSLCertificateRequestBody defines body for CreateSSLCertificate for application/json ContentType.
type CreateSSLCertificateResponse ¶
type CreateSSLCertificateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ZoneSSL
}
func ParseCreateSSLCertificateResponse ¶
func ParseCreateSSLCertificateResponse(rsp *http.Response) (*CreateSSLCertificateResponse, error)
ParseCreateSSLCertificateResponse parses an HTTP response from a CreateSSLCertificateWithResponse call
func (CreateSSLCertificateResponse) Status ¶
func (r CreateSSLCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSSLCertificateResponse) StatusCode ¶
func (r CreateSSLCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDNSZoneResponse ¶
type DeleteDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2DeleteDNSZoneResponse
}
func ParseDeleteDNSZoneResponse ¶
func ParseDeleteDNSZoneResponse(rsp *http.Response) (*DeleteDNSZoneResponse, error)
ParseDeleteDNSZoneResponse parses an HTTP response from a DeleteDNSZoneWithResponse call
func (DeleteDNSZoneResponse) Status ¶
func (r DeleteDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDNSZoneResponse) StatusCode ¶
func (r DeleteDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDNSZoneTsigKeyResponse ¶
func ParseDeleteDNSZoneTsigKeyResponse ¶
func ParseDeleteDNSZoneTsigKeyResponse(rsp *http.Response) (*DeleteDNSZoneTsigKeyResponse, error)
ParseDeleteDNSZoneTsigKeyResponse parses an HTTP response from a DeleteDNSZoneTsigKeyWithResponse call
func (DeleteDNSZoneTsigKeyResponse) Status ¶
func (r DeleteDNSZoneTsigKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDNSZoneTsigKeyResponse) StatusCode ¶
func (r DeleteDNSZoneTsigKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteExternalDomainResponse ¶
type DeleteExternalDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2DeleteExternalDomainResponse
}
func ParseDeleteExternalDomainResponse ¶
func ParseDeleteExternalDomainResponse(rsp *http.Response) (*DeleteExternalDomainResponse, error)
ParseDeleteExternalDomainResponse parses an HTTP response from a DeleteExternalDomainWithResponse call
func (DeleteExternalDomainResponse) Status ¶
func (r DeleteExternalDomainResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteExternalDomainResponse) StatusCode ¶
func (r DeleteExternalDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSSLCertificateResponse ¶
type DeleteSSLCertificateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2DeleteSSLCertificateResponse
}
func ParseDeleteSSLCertificateResponse ¶
func ParseDeleteSSLCertificateResponse(rsp *http.Response) (*DeleteSSLCertificateResponse, error)
ParseDeleteSSLCertificateResponse parses an HTTP response from a DeleteSSLCertificateWithResponse call
func (DeleteSSLCertificateResponse) Status ¶
func (r DeleteSSLCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSSLCertificateResponse) StatusCode ¶
func (r DeleteSSLCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisableDomainAutoRenewJSONBody ¶
type DisableDomainAutoRenewJSONBody map[string]interface{}
DisableDomainAutoRenewJSONBody defines parameters for DisableDomainAutoRenew.
type DisableDomainAutoRenewJSONRequestBody ¶
type DisableDomainAutoRenewJSONRequestBody DisableDomainAutoRenewJSONBody
DisableDomainAutoRenewRequestBody defines body for DisableDomainAutoRenew for application/json ContentType.
type DisableDomainAutoRenewResponse ¶
type DisableDomainAutoRenewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseDisableDomainAutoRenewResponse ¶
func ParseDisableDomainAutoRenewResponse(rsp *http.Response) (*DisableDomainAutoRenewResponse, error)
ParseDisableDomainAutoRenewResponse parses an HTTP response from a DisableDomainAutoRenewWithResponse call
func (DisableDomainAutoRenewResponse) Status ¶
func (r DisableDomainAutoRenewResponse) Status() string
Status returns HTTPResponse.Status
func (DisableDomainAutoRenewResponse) StatusCode ¶
func (r DisableDomainAutoRenewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisableDomainDNSSECJSONBody ¶
type DisableDomainDNSSECJSONBody map[string]interface{}
DisableDomainDNSSECJSONBody defines parameters for DisableDomainDNSSEC.
type DisableDomainDNSSECJSONRequestBody ¶
type DisableDomainDNSSECJSONRequestBody DisableDomainDNSSECJSONBody
DisableDomainDNSSECRequestBody defines body for DisableDomainDNSSEC for application/json ContentType.
type DisableDomainDNSSECResponse ¶
type DisableDomainDNSSECResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseDisableDomainDNSSECResponse ¶
func ParseDisableDomainDNSSECResponse(rsp *http.Response) (*DisableDomainDNSSECResponse, error)
ParseDisableDomainDNSSECResponse parses an HTTP response from a DisableDomainDNSSECWithResponse call
func (DisableDomainDNSSECResponse) Status ¶
func (r DisableDomainDNSSECResponse) Status() string
Status returns HTTPResponse.Status
func (DisableDomainDNSSECResponse) StatusCode ¶
func (r DisableDomainDNSSECResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnableDomainAutoRenewJSONBody ¶
type EnableDomainAutoRenewJSONBody map[string]interface{}
EnableDomainAutoRenewJSONBody defines parameters for EnableDomainAutoRenew.
type EnableDomainAutoRenewJSONRequestBody ¶
type EnableDomainAutoRenewJSONRequestBody EnableDomainAutoRenewJSONBody
EnableDomainAutoRenewRequestBody defines body for EnableDomainAutoRenew for application/json ContentType.
type EnableDomainAutoRenewResponse ¶
type EnableDomainAutoRenewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseEnableDomainAutoRenewResponse ¶
func ParseEnableDomainAutoRenewResponse(rsp *http.Response) (*EnableDomainAutoRenewResponse, error)
ParseEnableDomainAutoRenewResponse parses an HTTP response from a EnableDomainAutoRenewWithResponse call
func (EnableDomainAutoRenewResponse) Status ¶
func (r EnableDomainAutoRenewResponse) Status() string
Status returns HTTPResponse.Status
func (EnableDomainAutoRenewResponse) StatusCode ¶
func (r EnableDomainAutoRenewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnableDomainDNSSECJSONBody ¶
type EnableDomainDNSSECJSONBody struct {
DsRecord *ScalewayDomainV2alpha2DSRecord `json:"ds_record,omitempty"`
}
EnableDomainDNSSECJSONBody defines parameters for EnableDomainDNSSEC.
type EnableDomainDNSSECJSONRequestBody ¶
type EnableDomainDNSSECJSONRequestBody EnableDomainDNSSECJSONBody
EnableDomainDNSSECRequestBody defines body for EnableDomainDNSSEC for application/json ContentType.
type EnableDomainDNSSECResponse ¶
type EnableDomainDNSSECResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseEnableDomainDNSSECResponse ¶
func ParseEnableDomainDNSSECResponse(rsp *http.Response) (*EnableDomainDNSSECResponse, error)
ParseEnableDomainDNSSECResponse parses an HTTP response from a EnableDomainDNSSECWithResponse call
func (EnableDomainDNSSECResponse) Status ¶
func (r EnableDomainDNSSECResponse) Status() string
Status returns HTTPResponse.Status
func (EnableDomainDNSSECResponse) StatusCode ¶
func (r EnableDomainDNSSECResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportRawDNSZoneParams ¶
type ExportRawDNSZoneParams struct {
Format *string `json:"format,omitempty"`
}
ExportRawDNSZoneParams defines parameters for ExportRawDNSZone.
type ExportRawDNSZoneResponse ¶
type ExportRawDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayStdFile
}
func ParseExportRawDNSZoneResponse ¶
func ParseExportRawDNSZoneResponse(rsp *http.Response) (*ExportRawDNSZoneResponse, error)
ParseExportRawDNSZoneResponse parses an HTTP response from a ExportRawDNSZoneWithResponse call
func (ExportRawDNSZoneResponse) Status ¶
func (r ExportRawDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (ExportRawDNSZoneResponse) StatusCode ¶
func (r ExportRawDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContactResponse ¶
type GetContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Contact
}
func ParseGetContactResponse ¶
func ParseGetContactResponse(rsp *http.Response) (*GetContactResponse, error)
ParseGetContactResponse parses an HTTP response from a GetContactWithResponse call
func (GetContactResponse) Status ¶
func (r GetContactResponse) Status() string
Status returns HTTPResponse.Status
func (GetContactResponse) StatusCode ¶
func (r GetContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDNSZoneTsigKeyResponse ¶
type GetDNSZoneTsigKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2GetDNSZoneTsigKeyResponse
}
func ParseGetDNSZoneTsigKeyResponse ¶
func ParseGetDNSZoneTsigKeyResponse(rsp *http.Response) (*GetDNSZoneTsigKeyResponse, error)
ParseGetDNSZoneTsigKeyResponse parses an HTTP response from a GetDNSZoneTsigKeyWithResponse call
func (GetDNSZoneTsigKeyResponse) Status ¶
func (r GetDNSZoneTsigKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetDNSZoneTsigKeyResponse) StatusCode ¶
func (r GetDNSZoneTsigKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDNSZoneVersionDiffResponse ¶
type GetDNSZoneVersionDiffResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2GetDNSZoneVersionDiffResponse
}
func ParseGetDNSZoneVersionDiffResponse ¶
func ParseGetDNSZoneVersionDiffResponse(rsp *http.Response) (*GetDNSZoneVersionDiffResponse, error)
ParseGetDNSZoneVersionDiffResponse parses an HTTP response from a GetDNSZoneVersionDiffWithResponse call
func (GetDNSZoneVersionDiffResponse) Status ¶
func (r GetDNSZoneVersionDiffResponse) Status() string
Status returns HTTPResponse.Status
func (GetDNSZoneVersionDiffResponse) StatusCode ¶
func (r GetDNSZoneVersionDiffResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDomainAuthCodeResponse ¶
type GetDomainAuthCodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2GetDomainAuthCodeResponse
}
func ParseGetDomainAuthCodeResponse ¶
func ParseGetDomainAuthCodeResponse(rsp *http.Response) (*GetDomainAuthCodeResponse, error)
ParseGetDomainAuthCodeResponse parses an HTTP response from a GetDomainAuthCodeWithResponse call
func (GetDomainAuthCodeResponse) Status ¶
func (r GetDomainAuthCodeResponse) Status() string
Status returns HTTPResponse.Status
func (GetDomainAuthCodeResponse) StatusCode ¶
func (r GetDomainAuthCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDomainResponse ¶
type GetDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2GetDomainResponse
}
func ParseGetDomainResponse ¶
func ParseGetDomainResponse(rsp *http.Response) (*GetDomainResponse, error)
ParseGetDomainResponse parses an HTTP response from a GetDomainWithResponse call
func (GetDomainResponse) Status ¶
func (r GetDomainResponse) Status() string
Status returns HTTPResponse.Status
func (GetDomainResponse) StatusCode ¶
func (r GetDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoogleProtobufBoolValue ¶
type GoogleProtobufBoolValue bool
GoogleProtobufBoolValue defines model for google.protobuf.BoolValue.
type GoogleProtobufStringValue ¶
type GoogleProtobufStringValue string
GoogleProtobufStringValue defines model for google.protobuf.StringValue.
type GoogleProtobufTimestamp ¶
GoogleProtobufTimestamp defines model for google.protobuf.Timestamp.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImportProviderDNSZoneJSONBody ¶
type ImportProviderDNSZoneJSONBody struct {
OnlineV1 *struct {
Token *string `json:"token,omitempty"`
} `json:"online_v1,omitempty"`
}
ImportProviderDNSZoneJSONBody defines parameters for ImportProviderDNSZone.
type ImportProviderDNSZoneJSONRequestBody ¶
type ImportProviderDNSZoneJSONRequestBody ImportProviderDNSZoneJSONBody
ImportProviderDNSZoneRequestBody defines body for ImportProviderDNSZone for application/json ContentType.
type ImportProviderDNSZoneResponse ¶
type ImportProviderDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ImportProviderDNSZoneResponse
}
func ParseImportProviderDNSZoneResponse ¶
func ParseImportProviderDNSZoneResponse(rsp *http.Response) (*ImportProviderDNSZoneResponse, error)
ParseImportProviderDNSZoneResponse parses an HTTP response from a ImportProviderDNSZoneWithResponse call
func (ImportProviderDNSZoneResponse) Status ¶
func (r ImportProviderDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (ImportProviderDNSZoneResponse) StatusCode ¶
func (r ImportProviderDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ImportRawDNSZoneJSONBody ¶
type ImportRawDNSZoneJSONBody struct {
Content *string `json:"content,omitempty"`
Format *string `json:"format,omitempty"`
}
ImportRawDNSZoneJSONBody defines parameters for ImportRawDNSZone.
type ImportRawDNSZoneJSONRequestBody ¶
type ImportRawDNSZoneJSONRequestBody ImportRawDNSZoneJSONBody
ImportRawDNSZoneRequestBody defines body for ImportRawDNSZone for application/json ContentType.
type ImportRawDNSZoneResponse ¶
type ImportRawDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ImportRawDNSZoneResponse
}
func ParseImportRawDNSZoneResponse ¶
func ParseImportRawDNSZoneResponse(rsp *http.Response) (*ImportRawDNSZoneResponse, error)
ParseImportRawDNSZoneResponse parses an HTTP response from a ImportRawDNSZoneWithResponse call
func (ImportRawDNSZoneResponse) Status ¶
func (r ImportRawDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (ImportRawDNSZoneResponse) StatusCode ¶
func (r ImportRawDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContactsParams ¶
type ListContactsParams struct {
Domain *GoogleProtobufStringValue `json:"domain,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListContactsParams defines parameters for ListContacts.
type ListContactsResponse ¶
type ListContactsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListContactsResponse
}
func ParseListContactsResponse ¶
func ParseListContactsResponse(rsp *http.Response) (*ListContactsResponse, error)
ParseListContactsResponse parses an HTTP response from a ListContactsWithResponse call
func (ListContactsResponse) Status ¶
func (r ListContactsResponse) Status() string
Status returns HTTPResponse.Status
func (ListContactsResponse) StatusCode ¶
func (r ListContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSZoneNameserversParams ¶
type ListDNSZoneNameserversParams struct {
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListDNSZoneNameserversParams defines parameters for ListDNSZoneNameservers.
type ListDNSZoneNameserversResponse ¶
type ListDNSZoneNameserversResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListDNSZoneNameserversResponse
}
func ParseListDNSZoneNameserversResponse ¶
func ParseListDNSZoneNameserversResponse(rsp *http.Response) (*ListDNSZoneNameserversResponse, error)
ParseListDNSZoneNameserversResponse parses an HTTP response from a ListDNSZoneNameserversWithResponse call
func (ListDNSZoneNameserversResponse) Status ¶
func (r ListDNSZoneNameserversResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSZoneNameserversResponse) StatusCode ¶
func (r ListDNSZoneNameserversResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSZoneRecordsParams ¶
type ListDNSZoneRecordsParams struct {
// Page number
Page *float32 `json:"page,omitempty"`
// Page size
PageSize *float32 `json:"page_size,omitempty"`
OrderBy *ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy `json:"order_by,omitempty"`
Name *string `json:"name,omitempty"`
Type *ScalewayDomainV2alpha2RecordType `json:"type,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListDNSZoneRecordsParams defines parameters for ListDNSZoneRecords.
type ListDNSZoneRecordsResponse ¶
type ListDNSZoneRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListDNSZoneRecordsResponse
}
func ParseListDNSZoneRecordsResponse ¶
func ParseListDNSZoneRecordsResponse(rsp *http.Response) (*ListDNSZoneRecordsResponse, error)
ParseListDNSZoneRecordsResponse parses an HTTP response from a ListDNSZoneRecordsWithResponse call
func (ListDNSZoneRecordsResponse) Status ¶
func (r ListDNSZoneRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSZoneRecordsResponse) StatusCode ¶
func (r ListDNSZoneRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSZoneVersionRecordsParams ¶
type ListDNSZoneVersionRecordsParams struct {
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListDNSZoneVersionRecordsParams defines parameters for ListDNSZoneVersionRecords.
type ListDNSZoneVersionRecordsResponse ¶
type ListDNSZoneVersionRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListDNSZoneVersionRecordsResponse
}
func ParseListDNSZoneVersionRecordsResponse ¶
func ParseListDNSZoneVersionRecordsResponse(rsp *http.Response) (*ListDNSZoneVersionRecordsResponse, error)
ParseListDNSZoneVersionRecordsResponse parses an HTTP response from a ListDNSZoneVersionRecordsWithResponse call
func (ListDNSZoneVersionRecordsResponse) Status ¶
func (r ListDNSZoneVersionRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSZoneVersionRecordsResponse) StatusCode ¶
func (r ListDNSZoneVersionRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSZoneVersionsParams ¶
type ListDNSZoneVersionsParams struct {
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListDNSZoneVersionsParams defines parameters for ListDNSZoneVersions.
type ListDNSZoneVersionsResponse ¶
type ListDNSZoneVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListDNSZoneVersionsResponse
}
func ParseListDNSZoneVersionsResponse ¶
func ParseListDNSZoneVersionsResponse(rsp *http.Response) (*ListDNSZoneVersionsResponse, error)
ParseListDNSZoneVersionsResponse parses an HTTP response from a ListDNSZoneVersionsWithResponse call
func (ListDNSZoneVersionsResponse) Status ¶
func (r ListDNSZoneVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSZoneVersionsResponse) StatusCode ¶
func (r ListDNSZoneVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDNSZonesParams ¶
type ListDNSZonesParams struct {
// Page number
Page *float32 `json:"page,omitempty"`
// Page size
PageSize *float32 `json:"page_size,omitempty"`
OrderBy *ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy `json:"order_by,omitempty"`
Domain *string `json:"domain,omitempty"`
DnsZone *string `json:"dns_zone,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListDNSZonesParams defines parameters for ListDNSZones.
type ListDNSZonesResponse ¶
type ListDNSZonesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListDNSZonesResponse
}
func ParseListDNSZonesResponse ¶
func ParseListDNSZonesResponse(rsp *http.Response) (*ListDNSZonesResponse, error)
ParseListDNSZonesResponse parses an HTTP response from a ListDNSZonesWithResponse call
func (ListDNSZonesResponse) Status ¶
func (r ListDNSZonesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDNSZonesResponse) StatusCode ¶
func (r ListDNSZonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDomainsParams ¶
type ListDomainsParams struct {
// Page number
Page *float32 `json:"page,omitempty"`
// Page size
PageSize *float32 `json:"page_size,omitempty"`
OrderBy *ScalewayDomainV2alpha2ListDomainsRequestOrderBy `json:"order_by,omitempty"`
Registrar *string `json:"registrar,omitempty"`
Status *ScalewayDomainV2alpha2DomainStatus `json:"status,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
IsExternal *GoogleProtobufBoolValue `json:"is_external,omitempty"`
}
ListDomainsParams defines parameters for ListDomains.
type ListDomainsResponse ¶
type ListDomainsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListDomainsResponse
}
func ParseListDomainsResponse ¶
func ParseListDomainsResponse(rsp *http.Response) (*ListDomainsResponse, error)
ParseListDomainsResponse parses an HTTP response from a ListDomainsWithResponse call
func (ListDomainsResponse) Status ¶
func (r ListDomainsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDomainsResponse) StatusCode ¶
func (r ListDomainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSSLCertificatesParams ¶
type ListSSLCertificatesParams struct {
// Page number
Page *float32 `json:"page,omitempty"`
// Page size
PageSize *float32 `json:"page_size,omitempty"`
DnsZone *string `json:"dns_zone,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListSSLCertificatesParams defines parameters for ListSSLCertificates.
type ListSSLCertificatesResponse ¶
type ListSSLCertificatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListSSLCertificatesResponse
}
func ParseListSSLCertificatesResponse ¶
func ParseListSSLCertificatesResponse(rsp *http.Response) (*ListSSLCertificatesResponse, error)
ParseListSSLCertificatesResponse parses an HTTP response from a ListSSLCertificatesWithResponse call
func (ListSSLCertificatesResponse) Status ¶
func (r ListSSLCertificatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSSLCertificatesResponse) StatusCode ¶
func (r ListSSLCertificatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTasksParams ¶
type ListTasksParams struct {
// Page number
Page *float32 `json:"page,omitempty"`
// Page size
PageSize *float32 `json:"page_size,omitempty"`
Domain *string `json:"domain,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id,omitempty"`
}
ListTasksParams defines parameters for ListTasks.
type ListTasksResponse ¶
type ListTasksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2ListTasksResponse
}
func ParseListTasksResponse ¶
func ParseListTasksResponse(rsp *http.Response) (*ListTasksResponse, error)
ParseListTasksResponse parses an HTTP response from a ListTasksWithResponse call
func (ListTasksResponse) Status ¶
func (r ListTasksResponse) Status() string
Status returns HTTPResponse.Status
func (ListTasksResponse) StatusCode ¶
func (r ListTasksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LockDomainTransferJSONBody ¶
type LockDomainTransferJSONBody map[string]interface{}
LockDomainTransferJSONBody defines parameters for LockDomainTransfer.
type LockDomainTransferJSONRequestBody ¶
type LockDomainTransferJSONRequestBody LockDomainTransferJSONBody
LockDomainTransferRequestBody defines body for LockDomainTransfer for application/json ContentType.
type LockDomainTransferResponse ¶
type LockDomainTransferResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseLockDomainTransferResponse ¶
func ParseLockDomainTransferResponse(rsp *http.Response) (*LockDomainTransferResponse, error)
ParseLockDomainTransferResponse parses an HTTP response from a LockDomainTransferWithResponse call
func (LockDomainTransferResponse) Status ¶
func (r LockDomainTransferResponse) Status() string
Status returns HTTPResponse.Status
func (LockDomainTransferResponse) StatusCode ¶
func (r LockDomainTransferResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshDNSZoneJSONBody ¶
type RefreshDNSZoneJSONBody struct {
RecreateDnsZone *bool `json:"recreate_dns_zone,omitempty"`
RecreateSubDnsZone *bool `json:"recreate_sub_dns_zone,omitempty"`
}
RefreshDNSZoneJSONBody defines parameters for RefreshDNSZone.
type RefreshDNSZoneJSONRequestBody ¶
type RefreshDNSZoneJSONRequestBody RefreshDNSZoneJSONBody
RefreshDNSZoneRequestBody defines body for RefreshDNSZone for application/json ContentType.
type RefreshDNSZoneResponse ¶
type RefreshDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2RefreshDNSZoneResponse
}
func ParseRefreshDNSZoneResponse ¶
func ParseRefreshDNSZoneResponse(rsp *http.Response) (*RefreshDNSZoneResponse, error)
ParseRefreshDNSZoneResponse parses an HTTP response from a RefreshDNSZoneWithResponse call
func (RefreshDNSZoneResponse) Status ¶
func (r RefreshDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshDNSZoneResponse) StatusCode ¶
func (r RefreshDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegisterExternalDomainJSONBody ¶
type RegisterExternalDomainJSONBody struct {
Domain *string `json:"domain,omitempty"`
OrganizationId *string `json:"organization_id,omitempty"`
}
RegisterExternalDomainJSONBody defines parameters for RegisterExternalDomain.
type RegisterExternalDomainJSONRequestBody ¶
type RegisterExternalDomainJSONRequestBody RegisterExternalDomainJSONBody
RegisterExternalDomainRequestBody defines body for RegisterExternalDomain for application/json ContentType.
type RegisterExternalDomainResponse ¶
type RegisterExternalDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2RegisterExternalDomainResponse
}
func ParseRegisterExternalDomainResponse ¶
func ParseRegisterExternalDomainResponse(rsp *http.Response) (*RegisterExternalDomainResponse, error)
ParseRegisterExternalDomainResponse parses an HTTP response from a RegisterExternalDomainWithResponse call
func (RegisterExternalDomainResponse) Status ¶
func (r RegisterExternalDomainResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterExternalDomainResponse) StatusCode ¶
func (r RegisterExternalDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenewDomainJSONBody ¶
type RenewDomainJSONBody struct {
Period *float32 `json:"period,omitempty"`
}
RenewDomainJSONBody defines parameters for RenewDomain.
type RenewDomainJSONRequestBody ¶
type RenewDomainJSONRequestBody RenewDomainJSONBody
RenewDomainRequestBody defines body for RenewDomain for application/json ContentType.
type RenewDomainResponse ¶
type RenewDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseRenewDomainResponse ¶
func ParseRenewDomainResponse(rsp *http.Response) (*RenewDomainResponse, error)
ParseRenewDomainResponse parses an HTTP response from a RenewDomainWithResponse call
func (RenewDomainResponse) Status ¶
func (r RenewDomainResponse) Status() string
Status returns HTTPResponse.Status
func (RenewDomainResponse) StatusCode ¶
func (r RenewDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RestoreDNSZoneVersionJSONBody ¶
type RestoreDNSZoneVersionJSONBody map[string]interface{}
RestoreDNSZoneVersionJSONBody defines parameters for RestoreDNSZoneVersion.
type RestoreDNSZoneVersionJSONRequestBody ¶
type RestoreDNSZoneVersionJSONRequestBody RestoreDNSZoneVersionJSONBody
RestoreDNSZoneVersionRequestBody defines body for RestoreDNSZoneVersion for application/json ContentType.
type RestoreDNSZoneVersionResponse ¶
type RestoreDNSZoneVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2RestoreDNSZoneVersionResponse
}
func ParseRestoreDNSZoneVersionResponse ¶
func ParseRestoreDNSZoneVersionResponse(rsp *http.Response) (*RestoreDNSZoneVersionResponse, error)
ParseRestoreDNSZoneVersionResponse parses an HTTP response from a RestoreDNSZoneVersionWithResponse call
func (RestoreDNSZoneVersionResponse) Status ¶
func (r RestoreDNSZoneVersionResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreDNSZoneVersionResponse) StatusCode ¶
func (r RestoreDNSZoneVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScalewayDomainV2alpha2Civility ¶
type ScalewayDomainV2alpha2Civility string
ScalewayDomainV2alpha2Civility defines model for scaleway.domain.v2alpha2.Civility.
const ( ScalewayDomainV2alpha2Civility_civility_unknown ScalewayDomainV2alpha2Civility = "civility_unknown" ScalewayDomainV2alpha2Civility_m ScalewayDomainV2alpha2Civility = "m" ScalewayDomainV2alpha2Civility_mme ScalewayDomainV2alpha2Civility = "mme" )
List of ScalewayDomainV2alpha2Civility
type ScalewayDomainV2alpha2ClearDNSZoneRecordsResponse ¶
type ScalewayDomainV2alpha2ClearDNSZoneRecordsResponse map[string]interface{}
ScalewayDomainV2alpha2ClearDNSZoneRecordsResponse defines model for scaleway.domain.v2alpha2.ClearDNSZoneRecordsResponse.
type ScalewayDomainV2alpha2Contact ¶
type ScalewayDomainV2alpha2Contact struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
EmailStatus *ScalewayDomainV2alpha2ContactEmailStatus `json:"email_status,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Id *string `json:"id,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
}
ScalewayDomainV2alpha2Contact defines model for scaleway.domain.v2alpha2.Contact.
type ScalewayDomainV2alpha2ContactEmailStatus ¶
type ScalewayDomainV2alpha2ContactEmailStatus string
ScalewayDomainV2alpha2ContactEmailStatus defines model for scaleway.domain.v2alpha2.Contact.EmailStatus.
const ( ScalewayDomainV2alpha2ContactEmailStatus_email_status_unknown ScalewayDomainV2alpha2ContactEmailStatus = "email_status_unknown" ScalewayDomainV2alpha2ContactEmailStatus_invalid_email ScalewayDomainV2alpha2ContactEmailStatus = "invalid_email" ScalewayDomainV2alpha2ContactEmailStatus_not_validated ScalewayDomainV2alpha2ContactEmailStatus = "not_validated" ScalewayDomainV2alpha2ContactEmailStatus_validated ScalewayDomainV2alpha2ContactEmailStatus = "validated" )
List of ScalewayDomainV2alpha2ContactEmailStatus
type ScalewayDomainV2alpha2ContactRoles ¶
type ScalewayDomainV2alpha2ContactRoles struct {
Contact *ScalewayDomainV2alpha2Contact `json:"contact,omitempty"`
Roles *ScalewayDomainV2alpha2ContactRoles_Roles `json:"roles,omitempty"`
}
ScalewayDomainV2alpha2ContactRoles defines model for scaleway.domain.v2alpha2.ContactRoles.
type ScalewayDomainV2alpha2ContactRolesRoles ¶
type ScalewayDomainV2alpha2ContactRolesRoles struct {
IsAdminitrative *bool `json:"is_adminitrative,omitempty"`
IsOwner *bool `json:"is_owner,omitempty"`
IsTechnical *bool `json:"is_technical,omitempty"`
}
ScalewayDomainV2alpha2ContactRolesRoles defines model for scaleway.domain.v2alpha2.ContactRoles.Roles.
type ScalewayDomainV2alpha2ContactRoles_Roles ¶
type ScalewayDomainV2alpha2ContactRoles_Roles struct {
AdditionalProperties map[string]interface{} `json:"-"`
// contains filtered or unexported fields
}
ScalewayDomainV2alpha2ContactRoles_Roles defines model for ScalewayDomainV2alpha2ContactRoles.Roles.
func (ScalewayDomainV2alpha2ContactRoles_Roles) Get ¶
func (a ScalewayDomainV2alpha2ContactRoles_Roles) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ScalewayDomainV2alpha2ContactRoles_Roles. Returns the specified element and whether it was found
func (ScalewayDomainV2alpha2ContactRoles_Roles) MarshalJSON ¶
func (a ScalewayDomainV2alpha2ContactRoles_Roles) MarshalJSON() ([]byte, error)
Override default JSON handling for ScalewayDomainV2alpha2ContactRoles_Roles to handle AdditionalProperties
func (*ScalewayDomainV2alpha2ContactRoles_Roles) Set ¶
func (a *ScalewayDomainV2alpha2ContactRoles_Roles) Set(fieldName string, value interface{})
Setter for additional properties for ScalewayDomainV2alpha2ContactRoles_Roles
func (*ScalewayDomainV2alpha2ContactRoles_Roles) UnmarshalJSON ¶
func (a *ScalewayDomainV2alpha2ContactRoles_Roles) UnmarshalJSON(b []byte) error
Override default JSON handling for ScalewayDomainV2alpha2ContactRoles_Roles to handle AdditionalProperties
type ScalewayDomainV2alpha2DNSZone ¶
type ScalewayDomainV2alpha2DNSZone struct {
Domain *string `json:"domain,omitempty"`
Message *GoogleProtobufStringValue `json:"message"`
Ns *[]string `json:"ns,omitempty"`
NsDefault *[]string `json:"ns_default,omitempty"`
NsMaster *[]string `json:"ns_master,omitempty"`
OrganizationIds *[]string `json:"organization_ids,omitempty"`
Status *ScalewayDomainV2alpha2DNSZoneStatus `json:"status,omitempty"`
Subdomain *string `json:"subdomain,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ScalewayDomainV2alpha2DNSZone defines model for scaleway.domain.v2alpha2.DNSZone.
type ScalewayDomainV2alpha2DNSZoneStatus ¶
type ScalewayDomainV2alpha2DNSZoneStatus string
ScalewayDomainV2alpha2DNSZoneStatus defines model for scaleway.domain.v2alpha2.DNSZone.Status.
const ( ScalewayDomainV2alpha2DNSZoneStatus__error ScalewayDomainV2alpha2DNSZoneStatus = "error" ScalewayDomainV2alpha2DNSZoneStatus_active ScalewayDomainV2alpha2DNSZoneStatus = "active" ScalewayDomainV2alpha2DNSZoneStatus_pending ScalewayDomainV2alpha2DNSZoneStatus = "pending" ScalewayDomainV2alpha2DNSZoneStatus_unknown ScalewayDomainV2alpha2DNSZoneStatus = "unknown" )
List of ScalewayDomainV2alpha2DNSZoneStatus
type ScalewayDomainV2alpha2DSRecord ¶
type ScalewayDomainV2alpha2DSRecord struct {
Algorithm *ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm `json:"algorithm,omitempty"`
Digest *struct {
Digest *string `json:"digest,omitempty"`
Type *ScalewayDomainV2alpha2DigestDNSSECDigestType `json:"type,omitempty"`
} `json:"digest,omitempty"`
KeyId *float32 `json:"key_id,omitempty"`
PublicKey *struct {
Key *string `json:"key,omitempty"`
} `json:"public_key,omitempty"`
}
ScalewayDomainV2alpha2DSRecord defines model for scaleway.domain.v2alpha2.DSRecord.
type ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm ¶
type ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm string
ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm defines model for scaleway.domain.v2alpha2.DSRecord.DNSSECAlgorithm.
const ( ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_dh ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "dh" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_dsa ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "dsa" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_dsa_nsec3_sha1 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "dsa_nsec3_sha1" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_ecc_gost ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "ecc_gost" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_ecdsap256sha256 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "ecdsap256sha256" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_ecdsap384sha384 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "ecdsap384sha384" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_ed25519 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "ed25519" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_ed448 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "ed448" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_rsamd5 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "rsamd5" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_rsasha1 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "rsasha1" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_rsasha1_nsec3_sha1 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "rsasha1_nsec3_sha1" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_rsasha256 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "rsasha256" ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm_rsasha512 ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm = "rsasha512" )
List of ScalewayDomainV2alpha2DSRecordDNSSECAlgorithm
type ScalewayDomainV2alpha2DeleteDNSZoneResponse ¶
type ScalewayDomainV2alpha2DeleteDNSZoneResponse map[string]interface{}
ScalewayDomainV2alpha2DeleteDNSZoneResponse defines model for scaleway.domain.v2alpha2.DeleteDNSZoneResponse.
type ScalewayDomainV2alpha2DeleteExternalDomainResponse ¶
type ScalewayDomainV2alpha2DeleteExternalDomainResponse map[string]interface{}
ScalewayDomainV2alpha2DeleteExternalDomainResponse defines model for scaleway.domain.v2alpha2.DeleteExternalDomainResponse.
type ScalewayDomainV2alpha2DeleteSSLCertificateResponse ¶
type ScalewayDomainV2alpha2DeleteSSLCertificateResponse map[string]interface{}
ScalewayDomainV2alpha2DeleteSSLCertificateResponse defines model for scaleway.domain.v2alpha2.DeleteSSLCertificateResponse.
type ScalewayDomainV2alpha2DigestDNSSECDigestType ¶
type ScalewayDomainV2alpha2DigestDNSSECDigestType string
ScalewayDomainV2alpha2DigestDNSSECDigestType defines model for scaleway.domain.v2alpha2.Digest.DNSSECDigestType.
const ( ScalewayDomainV2alpha2DigestDNSSECDigestType_gost_r_34_11_94 ScalewayDomainV2alpha2DigestDNSSECDigestType = "gost_r_34_11_94" ScalewayDomainV2alpha2DigestDNSSECDigestType_sha_1 ScalewayDomainV2alpha2DigestDNSSECDigestType = "sha_1" ScalewayDomainV2alpha2DigestDNSSECDigestType_sha_256 ScalewayDomainV2alpha2DigestDNSSECDigestType = "sha_256" ScalewayDomainV2alpha2DigestDNSSECDigestType_sha_384 ScalewayDomainV2alpha2DigestDNSSECDigestType = "sha_384" )
List of ScalewayDomainV2alpha2DigestDNSSECDigestType
type ScalewayDomainV2alpha2Domain ¶
type ScalewayDomainV2alpha2Domain struct {
AdministrativeContact *ScalewayDomainV2alpha2Contact `json:"administrative_contact,omitempty"`
AutoRenewStatus *ScalewayDomainV2alpha2DomainFeatureStatus `json:"auto_renew_status,omitempty"`
DnsZoneCount *float32 `json:"dns_zone_count,omitempty"`
DnsZones *[]ScalewayDomainV2alpha2DNSZone `json:"dns_zones,omitempty"`
DnssecStatus *ScalewayDomainV2alpha2DomainFeatureStatus `json:"dnssec_status,omitempty"`
Domain *string `json:"domain,omitempty"`
DsRecords *[]ScalewayDomainV2alpha2DSRecord `json:"ds_records,omitempty"`
Epp *[]string `json:"epp,omitempty"`
ExpiredAt *time.Time `json:"expired_at,omitempty"`
ExternalDomainRegistrationProcess *struct {
ValidationToken *string `json:"validation_token,omitempty"`
} `json:"external_domain_registration_process,omitempty"`
IsExternal *bool `json:"is_external,omitempty"`
OrganizationId *string `json:"organization_id,omitempty"`
OwnerContact *ScalewayDomainV2alpha2Contact `json:"owner_contact,omitempty"`
Registrar *string `json:"registrar,omitempty"`
Status *ScalewayDomainV2alpha2DomainStatus `json:"status,omitempty"`
TechnicalContact *ScalewayDomainV2alpha2Contact `json:"technical_contact,omitempty"`
TrademarkProtection *ScalewayDomainV2alpha2DomainTrademarkProtectionConfig `json:"trademark_protection,omitempty"`
TransferRegistrationProcess *struct {
Status *ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus `json:"status,omitempty"`
VoteNewOwner *bool `json:"vote_new_owner,omitempty"`
VoteOldOwner *bool `json:"vote_old_owner,omitempty"`
} `json:"transfer_registration_process,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ScalewayDomainV2alpha2Domain defines model for scaleway.domain.v2alpha2.Domain.
type ScalewayDomainV2alpha2DomainFeatureStatus ¶
type ScalewayDomainV2alpha2DomainFeatureStatus string
ScalewayDomainV2alpha2DomainFeatureStatus defines model for scaleway.domain.v2alpha2.Domain.FeatureStatus.
const ( ScalewayDomainV2alpha2DomainFeatureStatus_disabled ScalewayDomainV2alpha2DomainFeatureStatus = "disabled" ScalewayDomainV2alpha2DomainFeatureStatus_disabling ScalewayDomainV2alpha2DomainFeatureStatus = "disabling" ScalewayDomainV2alpha2DomainFeatureStatus_enabled ScalewayDomainV2alpha2DomainFeatureStatus = "enabled" ScalewayDomainV2alpha2DomainFeatureStatus_enabling ScalewayDomainV2alpha2DomainFeatureStatus = "enabling" )
List of ScalewayDomainV2alpha2DomainFeatureStatus
type ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus ¶
type ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus string
ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus defines model for scaleway.domain.v2alpha2.Domain.RegistrationProcessTransfer.Status.
const ( ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus_done ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus = "done" ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus_pending ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus = "pending" ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus_processing ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus = "processing" ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus_rejected ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus = "rejected" ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus_transfer_status_unknown ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus = "transfer_status_unknown" ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus_waitingVote ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus = "waitingVote" )
List of ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus
type ScalewayDomainV2alpha2DomainStatus ¶
type ScalewayDomainV2alpha2DomainStatus string
ScalewayDomainV2alpha2DomainStatus defines model for scaleway.domain.v2alpha2.Domain.Status.
const ( ScalewayDomainV2alpha2DomainStatus_active ScalewayDomainV2alpha2DomainStatus = "active" ScalewayDomainV2alpha2DomainStatus_checking ScalewayDomainV2alpha2DomainStatus = "checking" ScalewayDomainV2alpha2DomainStatus_create_error ScalewayDomainV2alpha2DomainStatus = "create_error" ScalewayDomainV2alpha2DomainStatus_creating ScalewayDomainV2alpha2DomainStatus = "creating" ScalewayDomainV2alpha2DomainStatus_expired ScalewayDomainV2alpha2DomainStatus = "expired" ScalewayDomainV2alpha2DomainStatus_expiring ScalewayDomainV2alpha2DomainStatus = "expiring" ScalewayDomainV2alpha2DomainStatus_renew_error ScalewayDomainV2alpha2DomainStatus = "renew_error" ScalewayDomainV2alpha2DomainStatus_renewing ScalewayDomainV2alpha2DomainStatus = "renewing" ScalewayDomainV2alpha2DomainStatus_restore_error ScalewayDomainV2alpha2DomainStatus = "restore_error" ScalewayDomainV2alpha2DomainStatus_restoring ScalewayDomainV2alpha2DomainStatus = "restoring" ScalewayDomainV2alpha2DomainStatus_to_create ScalewayDomainV2alpha2DomainStatus = "to_create" ScalewayDomainV2alpha2DomainStatus_to_delete ScalewayDomainV2alpha2DomainStatus = "to_delete" ScalewayDomainV2alpha2DomainStatus_to_renew ScalewayDomainV2alpha2DomainStatus = "to_renew" ScalewayDomainV2alpha2DomainStatus_to_restore ScalewayDomainV2alpha2DomainStatus = "to_restore" ScalewayDomainV2alpha2DomainStatus_to_xfer ScalewayDomainV2alpha2DomainStatus = "to_xfer" ScalewayDomainV2alpha2DomainStatus_unknown ScalewayDomainV2alpha2DomainStatus = "unknown" ScalewayDomainV2alpha2DomainStatus_updating ScalewayDomainV2alpha2DomainStatus = "updating" ScalewayDomainV2alpha2DomainStatus_xfer_error ScalewayDomainV2alpha2DomainStatus = "xfer_error" ScalewayDomainV2alpha2DomainStatus_xfering ScalewayDomainV2alpha2DomainStatus = "xfering" )
List of ScalewayDomainV2alpha2DomainStatus
type ScalewayDomainV2alpha2DomainSummary ¶
type ScalewayDomainV2alpha2DomainSummary struct {
AutoRenewStatus *ScalewayDomainV2alpha2DomainFeatureStatus `json:"auto_renew_status,omitempty"`
DnsZoneCount *float32 `json:"dns_zone_count,omitempty"`
DnssecStatus *ScalewayDomainV2alpha2DomainFeatureStatus `json:"dnssec_status,omitempty"`
Domain *string `json:"domain,omitempty"`
Epp *[]string `json:"epp,omitempty"`
ExpiredAt *time.Time `json:"expired_at,omitempty"`
ExternalDomainRegistrationProcess *struct {
ValidationToken *string `json:"validation_token,omitempty"`
} `json:"external_domain_registration_process,omitempty"`
IsExternal *bool `json:"is_external,omitempty"`
OrganizationId *string `json:"organization_id,omitempty"`
Registrar *string `json:"registrar,omitempty"`
Status *ScalewayDomainV2alpha2DomainStatus `json:"status,omitempty"`
TransferRegistrationProcess *struct {
Status *ScalewayDomainV2alpha2DomainRegistrationProcessTransferStatus `json:"status,omitempty"`
VoteNewOwner *bool `json:"vote_new_owner,omitempty"`
VoteOldOwner *bool `json:"vote_old_owner,omitempty"`
} `json:"transfer_registration_process,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ScalewayDomainV2alpha2DomainSummary defines model for scaleway.domain.v2alpha2.DomainSummary.
type ScalewayDomainV2alpha2DomainTrademarkProtectionConfig ¶
type ScalewayDomainV2alpha2DomainTrademarkProtectionConfig map[string]interface{}
ScalewayDomainV2alpha2DomainTrademarkProtectionConfig defines model for scaleway.domain.v2alpha2.Domain.TrademarkProtectionConfig.
type ScalewayDomainV2alpha2ExtensionEU ¶
type ScalewayDomainV2alpha2ExtensionEU struct {
EuropeanCitizenship *string `json:"european_citizenship,omitempty"`
}
ScalewayDomainV2alpha2ExtensionEU defines model for scaleway.domain.v2alpha2.ExtensionEU.
type ScalewayDomainV2alpha2ExtensionFR ¶
type ScalewayDomainV2alpha2ExtensionFR struct {
AssociationInfos *struct {
PublicationJo *time.Time `json:"publication_jo,omitempty"`
PublicationJoPage *float32 `json:"publication_jo_page,omitempty"`
} `json:"association_infos,omitempty"`
BrandInfos *struct {
BrandInpi *string `json:"brand_inpi,omitempty"`
} `json:"brand_infos,omitempty"`
CodeAuthAfnicInfos *struct {
CodeAuthAfnic *string `json:"code_auth_afnic,omitempty"`
} `json:"code_auth_afnic_infos,omitempty"`
DunsInfos *struct {
DunsId *string `json:"duns_id,omitempty"`
LocalId *string `json:"local_id,omitempty"`
} `json:"duns_infos,omitempty"`
Mode *ScalewayDomainV2alpha2ExtensionFRMode `json:"mode,omitempty"`
ParticularInfos *struct {
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
} `json:"particular_infos,omitempty"`
}
ScalewayDomainV2alpha2ExtensionFR defines model for scaleway.domain.v2alpha2.ExtensionFR.
type ScalewayDomainV2alpha2ExtensionFRMode ¶
type ScalewayDomainV2alpha2ExtensionFRMode string
ScalewayDomainV2alpha2ExtensionFRMode defines model for scaleway.domain.v2alpha2.ExtensionFR.Mode.
const ( ScalewayDomainV2alpha2ExtensionFRMode_association ScalewayDomainV2alpha2ExtensionFRMode = "association" ScalewayDomainV2alpha2ExtensionFRMode_brand ScalewayDomainV2alpha2ExtensionFRMode = "brand" ScalewayDomainV2alpha2ExtensionFRMode_code_auth_afnic ScalewayDomainV2alpha2ExtensionFRMode = "code_auth_afnic" ScalewayDomainV2alpha2ExtensionFRMode_duns ScalewayDomainV2alpha2ExtensionFRMode = "duns" ScalewayDomainV2alpha2ExtensionFRMode_local ScalewayDomainV2alpha2ExtensionFRMode = "local" ScalewayDomainV2alpha2ExtensionFRMode_mode_unknown ScalewayDomainV2alpha2ExtensionFRMode = "mode_unknown" ScalewayDomainV2alpha2ExtensionFRMode_particular ScalewayDomainV2alpha2ExtensionFRMode = "particular" ScalewayDomainV2alpha2ExtensionFRMode_siret ScalewayDomainV2alpha2ExtensionFRMode = "siret" )
List of ScalewayDomainV2alpha2ExtensionFRMode
type ScalewayDomainV2alpha2GetDNSZoneTsigKeyResponse ¶
type ScalewayDomainV2alpha2GetDNSZoneTsigKeyResponse struct {
Algorithm *string `json:"algorithm,omitempty"`
Id *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
}
ScalewayDomainV2alpha2GetDNSZoneTsigKeyResponse defines model for scaleway.domain.v2alpha2.GetDNSZoneTsigKeyResponse.
type ScalewayDomainV2alpha2GetDNSZoneVersionDiffResponse ¶
type ScalewayDomainV2alpha2GetDNSZoneVersionDiffResponse struct {
Changes *[]ScalewayDomainV2alpha2RecordChange `json:"changes,omitempty"`
}
ScalewayDomainV2alpha2GetDNSZoneVersionDiffResponse defines model for scaleway.domain.v2alpha2.GetDNSZoneVersionDiffResponse.
type ScalewayDomainV2alpha2GetDomainAuthCodeResponse ¶
type ScalewayDomainV2alpha2GetDomainAuthCodeResponse struct {
AuthCode *string `json:"auth_code,omitempty"`
}
ScalewayDomainV2alpha2GetDomainAuthCodeResponse defines model for scaleway.domain.v2alpha2.GetDomainAuthCodeResponse.
type ScalewayDomainV2alpha2GetDomainResponse ¶
type ScalewayDomainV2alpha2GetDomainResponse struct {
Domain *ScalewayDomainV2alpha2Domain `json:"domain,omitempty"`
}
ScalewayDomainV2alpha2GetDomainResponse defines model for scaleway.domain.v2alpha2.GetDomainResponse.
type ScalewayDomainV2alpha2ImportProviderDNSZoneResponse ¶
type ScalewayDomainV2alpha2ImportProviderDNSZoneResponse struct {
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
}
ScalewayDomainV2alpha2ImportProviderDNSZoneResponse defines model for scaleway.domain.v2alpha2.ImportProviderDNSZoneResponse.
type ScalewayDomainV2alpha2ImportRawDNSZoneResponse ¶
type ScalewayDomainV2alpha2ImportRawDNSZoneResponse struct {
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
}
ScalewayDomainV2alpha2ImportRawDNSZoneResponse defines model for scaleway.domain.v2alpha2.ImportRawDNSZoneResponse.
type ScalewayDomainV2alpha2Lang ¶
type ScalewayDomainV2alpha2Lang string
ScalewayDomainV2alpha2Lang defines model for scaleway.domain.v2alpha2.Lang.
const ( ScalewayDomainV2alpha2Lang_english ScalewayDomainV2alpha2Lang = "english" ScalewayDomainV2alpha2Lang_french ScalewayDomainV2alpha2Lang = "french" ScalewayDomainV2alpha2Lang_german ScalewayDomainV2alpha2Lang = "german" ScalewayDomainV2alpha2Lang_lang_unknown ScalewayDomainV2alpha2Lang = "lang_unknown" ScalewayDomainV2alpha2Lang_spanish ScalewayDomainV2alpha2Lang = "spanish" )
List of ScalewayDomainV2alpha2Lang
type ScalewayDomainV2alpha2LegalForm ¶
type ScalewayDomainV2alpha2LegalForm string
ScalewayDomainV2alpha2LegalForm defines model for scaleway.domain.v2alpha2.LegalForm.
const ( ScalewayDomainV2alpha2LegalForm_association ScalewayDomainV2alpha2LegalForm = "association" ScalewayDomainV2alpha2LegalForm_legal_form_unknown ScalewayDomainV2alpha2LegalForm = "legal_form_unknown" ScalewayDomainV2alpha2LegalForm_other ScalewayDomainV2alpha2LegalForm = "other" ScalewayDomainV2alpha2LegalForm_particular ScalewayDomainV2alpha2LegalForm = "particular" ScalewayDomainV2alpha2LegalForm_society ScalewayDomainV2alpha2LegalForm = "society" )
List of ScalewayDomainV2alpha2LegalForm
type ScalewayDomainV2alpha2ListContactsResponse ¶
type ScalewayDomainV2alpha2ListContactsResponse struct {
Contacts *[]ScalewayDomainV2alpha2ContactRoles `json:"contacts,omitempty"`
}
ScalewayDomainV2alpha2ListContactsResponse defines model for scaleway.domain.v2alpha2.ListContactsResponse.
type ScalewayDomainV2alpha2ListDNSZoneNameserversResponse ¶
type ScalewayDomainV2alpha2ListDNSZoneNameserversResponse struct {
Ns *[]ScalewayDomainV2alpha2Nameserver `json:"ns,omitempty"`
}
ScalewayDomainV2alpha2ListDNSZoneNameserversResponse defines model for scaleway.domain.v2alpha2.ListDNSZoneNameserversResponse.
type ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy ¶
type ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy string
ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy defines model for scaleway.domain.v2alpha2.ListDNSZoneRecordsRequest.OrderBy.
const ( ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy_name_asc ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy = "name_asc" ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy_name_desc ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy = "name_desc" )
List of ScalewayDomainV2alpha2ListDNSZoneRecordsRequestOrderBy
type ScalewayDomainV2alpha2ListDNSZoneRecordsResponse ¶
type ScalewayDomainV2alpha2ListDNSZoneRecordsResponse struct {
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
TotalCount *float32 `json:"total_count,omitempty"`
}
ScalewayDomainV2alpha2ListDNSZoneRecordsResponse defines model for scaleway.domain.v2alpha2.ListDNSZoneRecordsResponse.
type ScalewayDomainV2alpha2ListDNSZoneVersionRecordsResponse ¶
type ScalewayDomainV2alpha2ListDNSZoneVersionRecordsResponse struct {
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
}
ScalewayDomainV2alpha2ListDNSZoneVersionRecordsResponse defines model for scaleway.domain.v2alpha2.ListDNSZoneVersionRecordsResponse.
type ScalewayDomainV2alpha2ListDNSZoneVersionsResponse ¶
type ScalewayDomainV2alpha2ListDNSZoneVersionsResponse struct {
Versions *[]ScalewayDomainV2alpha2Version `json:"versions,omitempty"`
}
ScalewayDomainV2alpha2ListDNSZoneVersionsResponse defines model for scaleway.domain.v2alpha2.ListDNSZoneVersionsResponse.
type ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy ¶
type ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy string
ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy defines model for scaleway.domain.v2alpha2.ListDNSZonesRequest.OrderBy.
const ( ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy_domain_asc ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy = "domain_asc" ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy_domain_desc ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy = "domain_desc" ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy_subdomain_asc ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy = "subdomain_asc" ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy_subdomain_desc ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy = "subdomain_desc" )
List of ScalewayDomainV2alpha2ListDNSZonesRequestOrderBy
type ScalewayDomainV2alpha2ListDNSZonesResponse ¶
type ScalewayDomainV2alpha2ListDNSZonesResponse struct {
DnsZones *[]ScalewayDomainV2alpha2DNSZone `json:"dns_zones,omitempty"`
TotalCount *float32 `json:"total_count,omitempty"`
}
ScalewayDomainV2alpha2ListDNSZonesResponse defines model for scaleway.domain.v2alpha2.ListDNSZonesResponse.
type ScalewayDomainV2alpha2ListDomainsRequestOrderBy ¶
type ScalewayDomainV2alpha2ListDomainsRequestOrderBy string
ScalewayDomainV2alpha2ListDomainsRequestOrderBy defines model for scaleway.domain.v2alpha2.ListDomainsRequest.OrderBy.
const ( ScalewayDomainV2alpha2ListDomainsRequestOrderBy_domain_asc ScalewayDomainV2alpha2ListDomainsRequestOrderBy = "domain_asc" ScalewayDomainV2alpha2ListDomainsRequestOrderBy_domain_desc ScalewayDomainV2alpha2ListDomainsRequestOrderBy = "domain_desc" )
List of ScalewayDomainV2alpha2ListDomainsRequestOrderBy
type ScalewayDomainV2alpha2ListDomainsResponse ¶
type ScalewayDomainV2alpha2ListDomainsResponse struct {
Domains *[]ScalewayDomainV2alpha2DomainSummary `json:"domains,omitempty"`
TotalCount *float32 `json:"total_count,omitempty"`
}
ScalewayDomainV2alpha2ListDomainsResponse defines model for scaleway.domain.v2alpha2.ListDomainsResponse.
type ScalewayDomainV2alpha2ListSSLCertificatesResponse ¶
type ScalewayDomainV2alpha2ListSSLCertificatesResponse struct {
Certificates *[]ScalewayDomainV2alpha2ZoneSSL `json:"certificates,omitempty"`
}
ScalewayDomainV2alpha2ListSSLCertificatesResponse defines model for scaleway.domain.v2alpha2.ListSSLCertificatesResponse.
type ScalewayDomainV2alpha2ListTasksResponse ¶
type ScalewayDomainV2alpha2ListTasksResponse struct {
Tasks *[]ScalewayDomainV2alpha2Task `json:"tasks,omitempty"`
TotalCount *float32 `json:"total_count,omitempty"`
}
ScalewayDomainV2alpha2ListTasksResponse defines model for scaleway.domain.v2alpha2.ListTasksResponse.
type ScalewayDomainV2alpha2Nameserver ¶
type ScalewayDomainV2alpha2Nameserver struct {
Ip *[]string `json:"ip,omitempty"`
Name *string `json:"name,omitempty"`
}
ScalewayDomainV2alpha2Nameserver defines model for scaleway.domain.v2alpha2.Nameserver.
type ScalewayDomainV2alpha2Record ¶
type ScalewayDomainV2alpha2Record struct {
Comment *GoogleProtobufStringValue `json:"comment"`
Data *string `json:"data,omitempty"`
GeoIpConfig *struct {
Default *string `json:"default,omitempty"`
Filters *[]ScalewayDomainV2alpha2RecordGeoIPConfigFilter `json:"filters,omitempty"`
} `json:"geo_ip_config,omitempty"`
Name *string `json:"name,omitempty"`
Priority *float32 `json:"priority,omitempty"`
ServiceUpConfig *struct {
// (IP address)
Ips *[]string `json:"ips,omitempty"`
MustContain *GoogleProtobufStringValue `json:"must_contain"`
Strategy *ScalewayDomainV2alpha2RecordServiceUPConfigStrategy `json:"strategy,omitempty"`
Url *string `json:"url,omitempty"`
UserAgent *GoogleProtobufStringValue `json:"user_agent"`
} `json:"service_up_config,omitempty"`
Ttl *float32 `json:"ttl,omitempty"`
Type *ScalewayDomainV2alpha2RecordType `json:"type,omitempty"`
ViewConfig *struct {
Views *[]ScalewayDomainV2alpha2RecordViewConfigView `json:"views,omitempty"`
} `json:"view_config,omitempty"`
WeightedConfig *struct {
WeightedIps *[]ScalewayDomainV2alpha2RecordWeightedConfigWeightedIP `json:"weighted_ips,omitempty"`
} `json:"weighted_config,omitempty"`
}
ScalewayDomainV2alpha2Record defines model for scaleway.domain.v2alpha2.Record.
type ScalewayDomainV2alpha2RecordChange ¶
type ScalewayDomainV2alpha2RecordChange struct {
Add *struct {
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
} `json:"add,omitempty"`
Clear *map[string]interface{} `json:"clear,omitempty"`
Delete *struct {
Data *string `json:"data,omitempty"`
Name *string `json:"name,omitempty"`
Type *ScalewayDomainV2alpha2RecordType `json:"type,omitempty"`
} `json:"delete,omitempty"`
Set *struct {
Data *string `json:"data,omitempty"`
Name *string `json:"name,omitempty"`
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
Ttl *float32 `json:"ttl,omitempty"`
Type *ScalewayDomainV2alpha2RecordType `json:"type,omitempty"`
} `json:"set,omitempty"`
}
ScalewayDomainV2alpha2RecordChange defines model for scaleway.domain.v2alpha2.RecordChange.
type ScalewayDomainV2alpha2RecordGeoIPConfigFilter ¶
type ScalewayDomainV2alpha2RecordGeoIPConfigFilter struct {
Continents *[]string `json:"continents,omitempty"`
Countries *[]string `json:"countries,omitempty"`
Data *string `json:"data,omitempty"`
}
ScalewayDomainV2alpha2RecordGeoIPConfigFilter defines model for scaleway.domain.v2alpha2.Record.GeoIPConfig.Filter.
type ScalewayDomainV2alpha2RecordServiceUPConfigStrategy ¶
type ScalewayDomainV2alpha2RecordServiceUPConfigStrategy string
ScalewayDomainV2alpha2RecordServiceUPConfigStrategy defines model for scaleway.domain.v2alpha2.Record.ServiceUPConfig.Strategy.
const ( ScalewayDomainV2alpha2RecordServiceUPConfigStrategy_hashed ScalewayDomainV2alpha2RecordServiceUPConfigStrategy = "hashed" ScalewayDomainV2alpha2RecordServiceUPConfigStrategy_random ScalewayDomainV2alpha2RecordServiceUPConfigStrategy = "random" )
List of ScalewayDomainV2alpha2RecordServiceUPConfigStrategy
type ScalewayDomainV2alpha2RecordType ¶
type ScalewayDomainV2alpha2RecordType string
ScalewayDomainV2alpha2RecordType defines model for scaleway.domain.v2alpha2.Record.Type.
const ( ScalewayDomainV2alpha2RecordType_A ScalewayDomainV2alpha2RecordType = "A" ScalewayDomainV2alpha2RecordType_AAAA ScalewayDomainV2alpha2RecordType = "AAAA" ScalewayDomainV2alpha2RecordType_ALIAS ScalewayDomainV2alpha2RecordType = "ALIAS" ScalewayDomainV2alpha2RecordType_CAA ScalewayDomainV2alpha2RecordType = "CAA" ScalewayDomainV2alpha2RecordType_CNAME ScalewayDomainV2alpha2RecordType = "CNAME" ScalewayDomainV2alpha2RecordType_FUNCTION ScalewayDomainV2alpha2RecordType = "FUNCTION" ScalewayDomainV2alpha2RecordType_FUNC_MYIP_A ScalewayDomainV2alpha2RecordType = "FUNC_MYIP_A" ScalewayDomainV2alpha2RecordType_FUNC_MYIP_AAAA ScalewayDomainV2alpha2RecordType = "FUNC_MYIP_AAAA" ScalewayDomainV2alpha2RecordType_FUNC_PORTUP_A ScalewayDomainV2alpha2RecordType = "FUNC_PORTUP_A" ScalewayDomainV2alpha2RecordType_FUNC_PORTUP_AAAA ScalewayDomainV2alpha2RecordType = "FUNC_PORTUP_AAAA" ScalewayDomainV2alpha2RecordType_FUNC_URLUP_A ScalewayDomainV2alpha2RecordType = "FUNC_URLUP_A" ScalewayDomainV2alpha2RecordType_FUNC_URLUP_AAAA ScalewayDomainV2alpha2RecordType = "FUNC_URLUP_AAAA" ScalewayDomainV2alpha2RecordType_FUNC_VIEW_A ScalewayDomainV2alpha2RecordType = "FUNC_VIEW_A" ScalewayDomainV2alpha2RecordType_FUNC_VIEW_AAAA ScalewayDomainV2alpha2RecordType = "FUNC_VIEW_AAAA" ScalewayDomainV2alpha2RecordType_FUNC_VIEW_CNAME ScalewayDomainV2alpha2RecordType = "FUNC_VIEW_CNAME" ScalewayDomainV2alpha2RecordType_FUNC_VIEW_TXT ScalewayDomainV2alpha2RecordType = "FUNC_VIEW_TXT" ScalewayDomainV2alpha2RecordType_MX ScalewayDomainV2alpha2RecordType = "MX" ScalewayDomainV2alpha2RecordType_NS ScalewayDomainV2alpha2RecordType = "NS" ScalewayDomainV2alpha2RecordType_PTR ScalewayDomainV2alpha2RecordType = "PTR" ScalewayDomainV2alpha2RecordType_SRV ScalewayDomainV2alpha2RecordType = "SRV" ScalewayDomainV2alpha2RecordType_TLSA ScalewayDomainV2alpha2RecordType = "TLSA" ScalewayDomainV2alpha2RecordType_TXT ScalewayDomainV2alpha2RecordType = "TXT" ScalewayDomainV2alpha2RecordType_unknown ScalewayDomainV2alpha2RecordType = "unknown" )
List of ScalewayDomainV2alpha2RecordType
type ScalewayDomainV2alpha2RecordViewConfigView ¶
type ScalewayDomainV2alpha2RecordViewConfigView struct {
Data *string `json:"data,omitempty"`
Subnet *string `json:"subnet,omitempty"`
}
ScalewayDomainV2alpha2RecordViewConfigView defines model for scaleway.domain.v2alpha2.Record.ViewConfig.View.
type ScalewayDomainV2alpha2RecordWeightedConfigWeightedIP ¶
type ScalewayDomainV2alpha2RecordWeightedConfigWeightedIP struct {
// (IP address)
Ip *string `json:"ip,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
ScalewayDomainV2alpha2RecordWeightedConfigWeightedIP defines model for scaleway.domain.v2alpha2.Record.WeightedConfig.WeightedIP.
type ScalewayDomainV2alpha2RefreshDNSZoneResponse ¶
type ScalewayDomainV2alpha2RefreshDNSZoneResponse struct {
DnsZones *[]ScalewayDomainV2alpha2DNSZone `json:"dns_zones,omitempty"`
}
ScalewayDomainV2alpha2RefreshDNSZoneResponse defines model for scaleway.domain.v2alpha2.RefreshDNSZoneResponse.
type ScalewayDomainV2alpha2RegisterExternalDomainResponse ¶
type ScalewayDomainV2alpha2RegisterExternalDomainResponse struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Domain *string `json:"domain,omitempty"`
OrganizationId *string `json:"organization_id,omitempty"`
ValidationToken *string `json:"validation_token,omitempty"`
}
ScalewayDomainV2alpha2RegisterExternalDomainResponse defines model for scaleway.domain.v2alpha2.RegisterExternalDomainResponse.
type ScalewayDomainV2alpha2RestoreDNSZoneVersionResponse ¶
type ScalewayDomainV2alpha2RestoreDNSZoneVersionResponse map[string]interface{}
ScalewayDomainV2alpha2RestoreDNSZoneVersionResponse defines model for scaleway.domain.v2alpha2.RestoreDNSZoneVersionResponse.
type ScalewayDomainV2alpha2Task ¶
type ScalewayDomainV2alpha2Task struct {
Domain *GoogleProtobufStringValue `json:"domain"`
Id *string `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
StartedAt *time.Time `json:"started_at,omitempty"`
Status *ScalewayDomainV2alpha2TaskStatus `json:"status,omitempty"`
Type *ScalewayDomainV2alpha2TaskType `json:"type,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
ScalewayDomainV2alpha2Task defines model for scaleway.domain.v2alpha2.Task.
type ScalewayDomainV2alpha2TaskStatus ¶
type ScalewayDomainV2alpha2TaskStatus string
ScalewayDomainV2alpha2TaskStatus defines model for scaleway.domain.v2alpha2.Task.Status.
const ( ScalewayDomainV2alpha2TaskStatus__error ScalewayDomainV2alpha2TaskStatus = "error" ScalewayDomainV2alpha2TaskStatus__new ScalewayDomainV2alpha2TaskStatus = "new" ScalewayDomainV2alpha2TaskStatus_pending ScalewayDomainV2alpha2TaskStatus = "pending" ScalewayDomainV2alpha2TaskStatus_success ScalewayDomainV2alpha2TaskStatus = "success" ScalewayDomainV2alpha2TaskStatus_waiting_payment ScalewayDomainV2alpha2TaskStatus = "waiting_payment" )
List of ScalewayDomainV2alpha2TaskStatus
type ScalewayDomainV2alpha2TaskType ¶
type ScalewayDomainV2alpha2TaskType string
ScalewayDomainV2alpha2TaskType defines model for scaleway.domain.v2alpha2.Task.Type.
const ( ScalewayDomainV2alpha2TaskType_cancel_task ScalewayDomainV2alpha2TaskType = "cancel_task" ScalewayDomainV2alpha2TaskType_create_domain ScalewayDomainV2alpha2TaskType = "create_domain" ScalewayDomainV2alpha2TaskType_create_external_domain ScalewayDomainV2alpha2TaskType = "create_external_domain" ScalewayDomainV2alpha2TaskType_delete_domain ScalewayDomainV2alpha2TaskType = "delete_domain" ScalewayDomainV2alpha2TaskType_delete_domain_expired ScalewayDomainV2alpha2TaskType = "delete_domain_expired" ScalewayDomainV2alpha2TaskType_delete_external_domain ScalewayDomainV2alpha2TaskType = "delete_external_domain" ScalewayDomainV2alpha2TaskType_disable_dnssec ScalewayDomainV2alpha2TaskType = "disable_dnssec" ScalewayDomainV2alpha2TaskType_enable_dnssec ScalewayDomainV2alpha2TaskType = "enable_dnssec" ScalewayDomainV2alpha2TaskType_generate_ssl_certificate ScalewayDomainV2alpha2TaskType = "generate_ssl_certificate" ScalewayDomainV2alpha2TaskType_lock_domain_transfer ScalewayDomainV2alpha2TaskType = "lock_domain_transfer" ScalewayDomainV2alpha2TaskType_renew_domain ScalewayDomainV2alpha2TaskType = "renew_domain" ScalewayDomainV2alpha2TaskType_renew_ssl_certificate ScalewayDomainV2alpha2TaskType = "renew_ssl_certificate" ScalewayDomainV2alpha2TaskType_restore_domain ScalewayDomainV2alpha2TaskType = "restore_domain" ScalewayDomainV2alpha2TaskType_send_message ScalewayDomainV2alpha2TaskType = "send_message" ScalewayDomainV2alpha2TaskType_trade_domain ScalewayDomainV2alpha2TaskType = "trade_domain" ScalewayDomainV2alpha2TaskType_transfer_domain ScalewayDomainV2alpha2TaskType = "transfer_domain" ScalewayDomainV2alpha2TaskType_unknown ScalewayDomainV2alpha2TaskType = "unknown" ScalewayDomainV2alpha2TaskType_unlock_domain_transfer ScalewayDomainV2alpha2TaskType = "unlock_domain_transfer" ScalewayDomainV2alpha2TaskType_update_contact ScalewayDomainV2alpha2TaskType = "update_contact" ScalewayDomainV2alpha2TaskType_update_domain ScalewayDomainV2alpha2TaskType = "update_domain" )
List of ScalewayDomainV2alpha2TaskType
type ScalewayDomainV2alpha2UpdateDNSZoneNameserversResponse ¶
type ScalewayDomainV2alpha2UpdateDNSZoneNameserversResponse struct {
Ns *[]ScalewayDomainV2alpha2Nameserver `json:"ns,omitempty"`
}
ScalewayDomainV2alpha2UpdateDNSZoneNameserversResponse defines model for scaleway.domain.v2alpha2.UpdateDNSZoneNameserversResponse.
type ScalewayDomainV2alpha2UpdateDNSZoneRecordsResponse ¶
type ScalewayDomainV2alpha2UpdateDNSZoneRecordsResponse struct {
Records *[]ScalewayDomainV2alpha2Record `json:"records,omitempty"`
}
ScalewayDomainV2alpha2UpdateDNSZoneRecordsResponse defines model for scaleway.domain.v2alpha2.UpdateDNSZoneRecordsResponse.
type ScalewayDomainV2alpha2Version ¶
ScalewayDomainV2alpha2Version defines model for scaleway.domain.v2alpha2.Version.
type ScalewayDomainV2alpha2ZoneSSL ¶
type ScalewayDomainV2alpha2ZoneSSL struct {
AlternativeDnsZones *[]string `json:"alternative_dns_zones,omitempty"`
Certificate *[]string `json:"certificate,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DnsZone *string `json:"dns_zone,omitempty"`
ExpiredAt *time.Time `json:"expired_at,omitempty"`
PrivateKey *[]string `json:"private_key,omitempty"`
Status *ScalewayDomainV2alpha2ZoneSSLStatus `json:"status,omitempty"`
}
ScalewayDomainV2alpha2ZoneSSL defines model for scaleway.domain.v2alpha2.ZoneSSL.
type ScalewayDomainV2alpha2ZoneSSLStatus ¶
type ScalewayDomainV2alpha2ZoneSSLStatus string
ScalewayDomainV2alpha2ZoneSSLStatus defines model for scaleway.domain.v2alpha2.ZoneSSL.Status.
const ( ScalewayDomainV2alpha2ZoneSSLStatus__error ScalewayDomainV2alpha2ZoneSSLStatus = "error" ScalewayDomainV2alpha2ZoneSSLStatus__new ScalewayDomainV2alpha2ZoneSSLStatus = "new" ScalewayDomainV2alpha2ZoneSSLStatus_pending ScalewayDomainV2alpha2ZoneSSLStatus = "pending" ScalewayDomainV2alpha2ZoneSSLStatus_success ScalewayDomainV2alpha2ZoneSSLStatus = "success" ScalewayDomainV2alpha2ZoneSSLStatus_unknown ScalewayDomainV2alpha2ZoneSSLStatus = "unknown" )
List of ScalewayDomainV2alpha2ZoneSSLStatus
type ScalewayStdFile ¶
type ScalewayStdFile struct {
Content *string `json:"content,omitempty"`
ContentType *string `json:"content_type,omitempty"`
Name *string `json:"name,omitempty"`
}
ScalewayStdFile defines model for scaleway.std.File.
type ScalewayStdStringsValue ¶
type ScalewayStdStringsValue []string
ScalewayStdStringsValue defines model for scaleway.std.StringsValue.
type TradeDomainJSONBody ¶
type TradeDomainJSONBody struct {
Contact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"contact,omitempty"`
ContactId *string `json:"contact_id,omitempty"`
OrganizationId *GoogleProtobufStringValue `json:"organization_id"`
}
TradeDomainJSONBody defines parameters for TradeDomain.
type TradeDomainJSONRequestBody ¶
type TradeDomainJSONRequestBody TradeDomainJSONBody
TradeDomainRequestBody defines body for TradeDomain for application/json ContentType.
type TradeDomainResponse ¶
type TradeDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseTradeDomainResponse ¶
func ParseTradeDomainResponse(rsp *http.Response) (*TradeDomainResponse, error)
ParseTradeDomainResponse parses an HTTP response from a TradeDomainWithResponse call
func (TradeDomainResponse) Status ¶
func (r TradeDomainResponse) Status() string
Status returns HTTPResponse.Status
func (TradeDomainResponse) StatusCode ¶
func (r TradeDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TransferDomainJSONBody ¶
type TransferDomainJSONBody struct {
AdministrativeContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"administrative_contact,omitempty"`
AdministrativeContactId *string `json:"administrative_contact_id,omitempty"`
AuthCode *string `json:"auth_code,omitempty"`
Contact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"contact,omitempty"`
ContactId *string `json:"contact_id,omitempty"`
Domain *string `json:"domain,omitempty"`
OrganizationId *string `json:"organization_id,omitempty"`
TechnicalContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"technical_contact,omitempty"`
TechnicalContactId *string `json:"technical_contact_id,omitempty"`
}
TransferDomainJSONBody defines parameters for TransferDomain.
type TransferDomainJSONRequestBody ¶
type TransferDomainJSONRequestBody TransferDomainJSONBody
TransferDomainRequestBody defines body for TransferDomain for application/json ContentType.
type TransferDomainResponse ¶
type TransferDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseTransferDomainResponse ¶
func ParseTransferDomainResponse(rsp *http.Response) (*TransferDomainResponse, error)
ParseTransferDomainResponse parses an HTTP response from a TransferDomainWithResponse call
func (TransferDomainResponse) Status ¶
func (r TransferDomainResponse) Status() string
Status returns HTTPResponse.Status
func (TransferDomainResponse) StatusCode ¶
func (r TransferDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnlockDomainTransferJSONBody ¶
type UnlockDomainTransferJSONBody map[string]interface{}
UnlockDomainTransferJSONBody defines parameters for UnlockDomainTransfer.
type UnlockDomainTransferJSONRequestBody ¶
type UnlockDomainTransferJSONRequestBody UnlockDomainTransferJSONBody
UnlockDomainTransferRequestBody defines body for UnlockDomainTransfer for application/json ContentType.
type UnlockDomainTransferResponse ¶
type UnlockDomainTransferResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseUnlockDomainTransferResponse ¶
func ParseUnlockDomainTransferResponse(rsp *http.Response) (*UnlockDomainTransferResponse, error)
ParseUnlockDomainTransferResponse parses an HTTP response from a UnlockDomainTransferWithResponse call
func (UnlockDomainTransferResponse) Status ¶
func (r UnlockDomainTransferResponse) Status() string
Status returns HTTPResponse.Status
func (UnlockDomainTransferResponse) StatusCode ¶
func (r UnlockDomainTransferResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContactJSONBody ¶
type UpdateContactJSONBody struct {
Address1 *GoogleProtobufStringValue `json:"address1"`
Address2 *GoogleProtobufStringValue `json:"address2"`
Answer1 *GoogleProtobufStringValue `json:"answer1"`
Answer2 *GoogleProtobufStringValue `json:"answer2"`
Answer3 *GoogleProtobufStringValue `json:"answer3"`
Answer4 *GoogleProtobufStringValue `json:"answer4"`
Answer5 *GoogleProtobufStringValue `json:"answer5"`
City *GoogleProtobufStringValue `json:"city"`
Country *GoogleProtobufStringValue `json:"country"`
Email *GoogleProtobufStringValue `json:"email"`
EmailAlt *GoogleProtobufStringValue `json:"email_alt"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *GoogleProtobufStringValue `json:"fax_number"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
PhoneNumber *GoogleProtobufStringValue `json:"phone_number"`
Question1 *GoogleProtobufStringValue `json:"question1"`
Question2 *GoogleProtobufStringValue `json:"question2"`
Question3 *GoogleProtobufStringValue `json:"question3"`
Question4 *GoogleProtobufStringValue `json:"question4"`
Question5 *GoogleProtobufStringValue `json:"question5"`
Resale *GoogleProtobufBoolValue `json:"resale"`
Siret *GoogleProtobufStringValue `json:"siret"`
Vat *GoogleProtobufStringValue `json:"vat"`
WhoisOptOut *GoogleProtobufBoolValue `json:"whois_opt_out"`
Zip *GoogleProtobufStringValue `json:"zip"`
}
UpdateContactJSONBody defines parameters for UpdateContact.
type UpdateContactJSONRequestBody ¶
type UpdateContactJSONRequestBody UpdateContactJSONBody
UpdateContactRequestBody defines body for UpdateContact for application/json ContentType.
type UpdateContactResponse ¶
type UpdateContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Contact
}
func ParseUpdateContactResponse ¶
func ParseUpdateContactResponse(rsp *http.Response) (*UpdateContactResponse, error)
ParseUpdateContactResponse parses an HTTP response from a UpdateContactWithResponse call
func (UpdateContactResponse) Status ¶
func (r UpdateContactResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateContactResponse) StatusCode ¶
func (r UpdateContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDNSZoneJSONBody ¶
type UpdateDNSZoneJSONBody struct {
NewDnsZone *GoogleProtobufStringValue `json:"new_dns_zone"`
OrganizationIds *ScalewayStdStringsValue `json:"organization_ids"`
}
UpdateDNSZoneJSONBody defines parameters for UpdateDNSZone.
type UpdateDNSZoneJSONRequestBody ¶
type UpdateDNSZoneJSONRequestBody UpdateDNSZoneJSONBody
UpdateDNSZoneRequestBody defines body for UpdateDNSZone for application/json ContentType.
type UpdateDNSZoneNameserversJSONBody ¶
type UpdateDNSZoneNameserversJSONBody struct {
Ns *[]ScalewayDomainV2alpha2Nameserver `json:"ns,omitempty"`
}
UpdateDNSZoneNameserversJSONBody defines parameters for UpdateDNSZoneNameservers.
type UpdateDNSZoneNameserversJSONRequestBody ¶
type UpdateDNSZoneNameserversJSONRequestBody UpdateDNSZoneNameserversJSONBody
UpdateDNSZoneNameserversRequestBody defines body for UpdateDNSZoneNameservers for application/json ContentType.
type UpdateDNSZoneNameserversResponse ¶
type UpdateDNSZoneNameserversResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2UpdateDNSZoneNameserversResponse
}
func ParseUpdateDNSZoneNameserversResponse ¶
func ParseUpdateDNSZoneNameserversResponse(rsp *http.Response) (*UpdateDNSZoneNameserversResponse, error)
ParseUpdateDNSZoneNameserversResponse parses an HTTP response from a UpdateDNSZoneNameserversWithResponse call
func (UpdateDNSZoneNameserversResponse) Status ¶
func (r UpdateDNSZoneNameserversResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDNSZoneNameserversResponse) StatusCode ¶
func (r UpdateDNSZoneNameserversResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDNSZoneRecordsJSONBody ¶
type UpdateDNSZoneRecordsJSONBody struct {
Changes *[]ScalewayDomainV2alpha2RecordChange `json:"changes,omitempty"`
ReturnAllRecords *GoogleProtobufBoolValue `json:"return_all_records"`
}
UpdateDNSZoneRecordsJSONBody defines parameters for UpdateDNSZoneRecords.
type UpdateDNSZoneRecordsJSONRequestBody ¶
type UpdateDNSZoneRecordsJSONRequestBody UpdateDNSZoneRecordsJSONBody
UpdateDNSZoneRecordsRequestBody defines body for UpdateDNSZoneRecords for application/json ContentType.
type UpdateDNSZoneRecordsResponse ¶
type UpdateDNSZoneRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2UpdateDNSZoneRecordsResponse
}
func ParseUpdateDNSZoneRecordsResponse ¶
func ParseUpdateDNSZoneRecordsResponse(rsp *http.Response) (*UpdateDNSZoneRecordsResponse, error)
ParseUpdateDNSZoneRecordsResponse parses an HTTP response from a UpdateDNSZoneRecordsWithResponse call
func (UpdateDNSZoneRecordsResponse) Status ¶
func (r UpdateDNSZoneRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDNSZoneRecordsResponse) StatusCode ¶
func (r UpdateDNSZoneRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDNSZoneResponse ¶
type UpdateDNSZoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2DNSZone
}
func ParseUpdateDNSZoneResponse ¶
func ParseUpdateDNSZoneResponse(rsp *http.Response) (*UpdateDNSZoneResponse, error)
ParseUpdateDNSZoneResponse parses an HTTP response from a UpdateDNSZoneWithResponse call
func (UpdateDNSZoneResponse) Status ¶
func (r UpdateDNSZoneResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDNSZoneResponse) StatusCode ¶
func (r UpdateDNSZoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDomainJSONBody ¶
type UpdateDomainJSONBody struct {
AdministrativeContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"administrative_contact,omitempty"`
AdministrativeContactId *string `json:"administrative_contact_id,omitempty"`
OwnerContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"owner_contact,omitempty"`
OwnerContactId *string `json:"owner_contact_id,omitempty"`
TechnicalContact *struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
Answer1 *string `json:"answer1,omitempty"`
Answer2 *string `json:"answer2,omitempty"`
Answer3 *string `json:"answer3,omitempty"`
Answer4 *string `json:"answer4,omitempty"`
Answer5 *string `json:"answer5,omitempty"`
City *string `json:"city,omitempty"`
Civility *ScalewayDomainV2alpha2Civility `json:"civility,omitempty"`
CompanyName *string `json:"company_name,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
EmailAlt *string `json:"email_alt,omitempty"`
ExtensionEu *ScalewayDomainV2alpha2ExtensionEU `json:"extension_eu,omitempty"`
ExtensionFr *ScalewayDomainV2alpha2ExtensionFR `json:"extension_fr,omitempty"`
FaxNumber *string `json:"fax_number,omitempty"`
Firstname *string `json:"firstname,omitempty"`
Lang *ScalewayDomainV2alpha2Lang `json:"lang,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LegalForm *ScalewayDomainV2alpha2LegalForm `json:"legal_form,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Question1 *string `json:"question1,omitempty"`
Question2 *string `json:"question2,omitempty"`
Question3 *string `json:"question3,omitempty"`
Question4 *string `json:"question4,omitempty"`
Question5 *string `json:"question5,omitempty"`
Resale *bool `json:"resale,omitempty"`
Siret *string `json:"siret,omitempty"`
Vat *string `json:"vat,omitempty"`
WhoisOptOut *bool `json:"whois_opt_out,omitempty"`
Zip *string `json:"zip,omitempty"`
} `json:"technical_contact,omitempty"`
TechnicalContactId *string `json:"technical_contact_id,omitempty"`
}
UpdateDomainJSONBody defines parameters for UpdateDomain.
type UpdateDomainJSONRequestBody ¶
type UpdateDomainJSONRequestBody UpdateDomainJSONBody
UpdateDomainRequestBody defines body for UpdateDomain for application/json ContentType.
type UpdateDomainResponse ¶
type UpdateDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScalewayDomainV2alpha2Domain
}
func ParseUpdateDomainResponse ¶
func ParseUpdateDomainResponse(rsp *http.Response) (*UpdateDomainResponse, error)
ParseUpdateDomainResponse parses an HTTP response from a UpdateDomainWithResponse call
func (UpdateDomainResponse) Status ¶
func (r UpdateDomainResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDomainResponse) StatusCode ¶
func (r UpdateDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode