Documentation
¶
Index ¶
- type AbortDomainDeclarationRequest
- type CancelScheduledDeletionRequest
- type CheckDomainRegistrabilityRequest
- type CheckDomainRegistrabilityRequestBody
- type CheckDomainRegistrabilityResponse
- type CheckDomainTransferabilityRequest
- type CheckDomainTransferabilityRequestBody
- type CheckDomainTransferabilityResponse
- type CheckDomainTransferabilityResponseReasons
- type CheckReplaceCertificateRequest
- type CheckReplaceCertificateRequestBody
- type Client
- type CreateCertificateRequestRequest
- type CreateCertificateRequestRequestBody
- type CreateDNSZoneRequest
- type CreateDNSZoneRequestBody
- type CreateDNSZoneResponse
- type CreateDomainAuthCodeRequest
- type CreateDomainAuthCodeResponse
- type CreateIngressRequest
- type CreateIngressRequestBody
- type CreateIngressResponse
- type CreateScheduledDeletionRequest
- type CreateScheduledDeletionRequestBody
- type DeleteCertificateRequest
- type DeleteCertificateRequestRequest
- type DeleteDNSZoneRequest
- type DeleteDomainRequest
- type DeleteDomainResponse
- type DeleteIngressRequest
- type DeprecatedChangeOwnercOfDomainRequest
- type DeprecatedChangeOwnercOfDomainRequestBody
- type DeprecatedChangeOwnercOfDomainResponse
- type DeprecatedChangeProjectOfDomainRequest
- type DeprecatedChangeProjectOfDomainRequestBody
- type DeprecatedCheckDomainRegistrabilityRequest
- type DeprecatedCheckDomainRegistrabilityRequestBody
- type DeprecatedCheckDomainRegistrabilityResponse
- type DeprecatedDeclareNameserversRequest
- type DeprecatedDeclareNameserversRequestBody
- type DeprecatedDeclareProcessChangeAuthcodeRequest
- type DeprecatedDeclareProcessChangeAuthcodeRequestBody
- type DeprecatedDeclareProcessChangeAuthcodeResponse
- type DeprecatedDeclareProcessChangeHandlesRequest
- type DeprecatedDeclareProcessChangeHandlesRequestBody
- type DeprecatedDeclareProcessChangeHandlesResponse
- type DeprecatedGetHandleFieldsRequest
- type DeprecatedGetHandleFieldsResponse
- type DeprecatedGetHandleFieldsResponseJsonSchemaAdminC
- type DeprecatedGetHandleFieldsResponseJsonSchemaOwnerC
- type DeprecatedGetScreenshotForDomainRequest
- type DeprecatedGetScreenshotForDomainRequestBody
- type DeprecatedGetScreenshotForDomainResponse
- type DeprecatedListDomainsRequest
- type DeprecatedListIngressesRequest
- type DeprecatedPathsRequest
- type DeprecatedRecordASetCustomRequest
- type DeprecatedRecordASetCustomRequestBody
- type DeprecatedRecordASetManagedByIngressRequest
- type DeprecatedRecordASetManagedByIngressRequestBody
- type DeprecatedRecordASetManagedByIngressResponse
- type DeprecatedRecordCnameSetRequest
- type DeprecatedRecordCnameSetRequestBody
- type DeprecatedRecordMxSetCustomRequest
- type DeprecatedRecordMxSetCustomRequestBody
- type DeprecatedRecordMxSetManagedRequest
- type DeprecatedRecordMxSetManagedRequestBody
- type DeprecatedRecordSrvSetRequest
- type DeprecatedRecordSrvSetRequestBody
- type DeprecatedRecordTxtSetRequest
- type DeprecatedRecordTxtSetRequestBody
- type DeprecatedTLSRequest
- type DeprecatedTLSRequestBody
- type DeprecatedTLSResponse
- type GetCertificateRequest
- type GetCertificateRequestRequest
- type GetDNSZoneRequest
- type GetDomainRequest
- type GetIngressRequest
- type GetLatestScreenshotRequest
- type GetLatestScreenshotResponse
- type GetZoneFileRequest
- type IngressVerifyOwnershipRequest
- type IngressVerifyOwnershipResponse
- type ListCertificateRequestsRequest
- type ListCertificatesRequest
- type ListDNSZonesRequest
- type ListDomainsRequest
- type ListIngressesCompatibleWithCertificateRequest
- type ListIngressesCompatibleWithCertificateRequestBody
- type ListIngressesRequest
- type ListTldContactSchemasRequest
- type ListTldContactSchemasResponse
- type ListTldContactSchemasResponseJsonSchemaAdminC
- type ListTldContactSchemasResponseJsonSchemaOwnerC
- type ListTldsRequest
- type ReplaceCertificateRequest
- type ReplaceCertificateRequestBody
- type RequestIngressAcmeCertificateIssuanceRequest
- type ResendDomainEmailRequest
- type SetRecordSetManagedRequest
- type SetRecordSetManagedRequestBody
- type SetRecordSetManagedRequestPathRecordSet
- type SetRecordSetManagedResponse
- type SuggestRequest
- type UpdateDomainAuthCodeRequest
- type UpdateDomainAuthCodeRequestBody
- type UpdateDomainAuthCodeResponse
- type UpdateDomainContactRequest
- type UpdateDomainContactRequestBody
- type UpdateDomainContactRequestPathContact
- type UpdateDomainContactResponse
- type UpdateDomainNameserversRequest
- type UpdateDomainNameserversRequestBody
- type UpdateDomainProjectIDRequest
- type UpdateDomainProjectIDRequestBody
- type UpdateIngressPathsRequest
- type UpdateIngressTLSRequest
- type UpdateIngressTLSRequestBody
- type UpdateIngressTLSRequestBodyAlternative1
- type UpdateIngressTLSRequestBodyAlternative2
- type UpdateIngressTLSResponse
- type UpdateRecordSetRequest
- type UpdateRecordSetRequestBody
- type UpdateRecordSetRequestPathRecordSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortDomainDeclarationRequest ¶
type AbortDomainDeclarationRequest struct {
DomainID string
}
AbortDomainDeclarationRequest models a request for the 'domain-abort-domain-declaration' operation. See [1] for more information.
Abort a Domain declaration.
Abort an incomplete Domain registration/transfer.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-abort-domain-declaration
func (*AbortDomainDeclarationRequest) BuildRequest ¶
func (r *AbortDomainDeclarationRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CancelScheduledDeletionRequest ¶ added in v0.2.115
type CancelScheduledDeletionRequest struct {
DomainID string
}
CancelScheduledDeletionRequest models a request for the 'domain-cancel-scheduled-deletion' operation. See [1] for more information.
Cancel a scheduled deletion of a Domain.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-cancel-scheduled-deletion
func (*CancelScheduledDeletionRequest) BuildRequest ¶ added in v0.2.115
func (r *CancelScheduledDeletionRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CheckDomainRegistrabilityRequest ¶
type CheckDomainRegistrabilityRequest struct {
Body CheckDomainRegistrabilityRequestBody
}
CheckDomainRegistrabilityRequest models a request for the 'domain-check-domain-registrability' operation. See [1] for more information.
Check if a Domain is available to register.
If false, you have to start a transfer with an auth code instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-check-domain-registrability
func (*CheckDomainRegistrabilityRequest) BuildRequest ¶
func (r *CheckDomainRegistrabilityRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CheckDomainRegistrabilityRequestBody ¶
type CheckDomainRegistrabilityRequestBody struct {
Domain string `json:"domain"`
}
CheckDomainRegistrabilityRequestBody models the JSON body of a 'domain-check-domain-registrability' request
func (*CheckDomainRegistrabilityRequestBody) Validate ¶
func (o *CheckDomainRegistrabilityRequestBody) Validate() error
type CheckDomainRegistrabilityResponse ¶
type CheckDomainRegistrabilityResponse struct {
IsPremium bool `json:"isPremium"`
Registrable bool `json:"registrable"`
}
func (*CheckDomainRegistrabilityResponse) Validate ¶
func (o *CheckDomainRegistrabilityResponse) Validate() error
type CheckDomainTransferabilityRequest ¶
type CheckDomainTransferabilityRequest struct {
Body CheckDomainTransferabilityRequestBody
}
CheckDomainTransferabilityRequest models a request for the 'domain-check-domain-transferability' operation. See [1] for more information.
Check if a Domain is available to transfer.
For some TLDs (e.g., .de), transferability cannot be evaluated. In these cases, transferable = true is returned.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-check-domain-transferability
func (*CheckDomainTransferabilityRequest) BuildRequest ¶
func (r *CheckDomainTransferabilityRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CheckDomainTransferabilityRequestBody ¶
type CheckDomainTransferabilityRequestBody struct {
AuthCode *string `json:"authCode,omitempty"`
Domain string `json:"domain"`
}
CheckDomainTransferabilityRequestBody models the JSON body of a 'domain-check-domain-transferability' request
func (*CheckDomainTransferabilityRequestBody) Validate ¶
func (o *CheckDomainTransferabilityRequestBody) Validate() error
type CheckDomainTransferabilityResponse ¶
type CheckDomainTransferabilityResponse struct {
Reasons CheckDomainTransferabilityResponseReasons `json:"reasons"`
Transferable bool `json:"transferable"`
}
func (*CheckDomainTransferabilityResponse) Validate ¶
func (o *CheckDomainTransferabilityResponse) Validate() error
type CheckDomainTransferabilityResponseReasons ¶
type CheckDomainTransferabilityResponseReasons struct {
DomainAgeTooSmall bool `json:"domainAgeTooSmall"`
DomainDoesNotExist bool `json:"domainDoesNotExist"`
TransferLock bool `json:"transferLock"`
WrongAuthCode bool `json:"wrongAuthCode"`
}
func (*CheckDomainTransferabilityResponseReasons) Validate ¶
func (o *CheckDomainTransferabilityResponseReasons) Validate() error
type CheckReplaceCertificateRequest ¶
type CheckReplaceCertificateRequest struct {
Body CheckReplaceCertificateRequestBody
CertificateID string
}
CheckReplaceCertificateRequest models a request for the 'ssl-check-replace-certificate' operation. See [1] for more information.
Check the replacement of a Certificate.
Checks the replacement of a Certificate and shows differences between the current and the new Certificate.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-check-replace-certificate
func (*CheckReplaceCertificateRequest) BuildRequest ¶
func (r *CheckReplaceCertificateRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CheckReplaceCertificateRequestBody ¶
type CheckReplaceCertificateRequestBody struct {
Certificate string `json:"certificate"`
PrivateKey *string `json:"privateKey,omitempty"`
}
CheckReplaceCertificateRequestBody models the JSON body of a 'ssl-check-replace-certificate' request
func (*CheckReplaceCertificateRequestBody) Validate ¶
func (o *CheckReplaceCertificateRequestBody) Validate() error
type Client ¶
type Client interface {
DeprecatedRecordASetCustom(
ctx context.Context,
req DeprecatedRecordASetCustomRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedRecordASetManagedByIngress(
ctx context.Context,
req DeprecatedRecordASetManagedByIngressRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedRecordASetManagedByIngressResponse, *http.Response, error)
DeprecatedRecordCnameSet(
ctx context.Context,
req DeprecatedRecordCnameSetRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedRecordMxSetCustom(
ctx context.Context,
req DeprecatedRecordMxSetCustomRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedRecordMxSetManaged(
ctx context.Context,
req DeprecatedRecordMxSetManagedRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedRecordSrvSet(
ctx context.Context,
req DeprecatedRecordSrvSetRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedRecordTxtSet(
ctx context.Context,
req DeprecatedRecordTxtSetRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedChangeOwnercOfDomain(
ctx context.Context,
req DeprecatedChangeOwnercOfDomainRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedChangeOwnercOfDomainResponse, *http.Response, error)
DeprecatedChangeProjectOfDomain(
ctx context.Context,
req DeprecatedChangeProjectOfDomainRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
ListDomains(
ctx context.Context,
req ListDomainsRequest,
reqEditors ...func(req *http.Request) error,
) (*[]domainv2.Domain, *http.Response, error)
DeprecatedCheckDomainRegistrability(
ctx context.Context,
req DeprecatedCheckDomainRegistrabilityRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedCheckDomainRegistrabilityResponse, *http.Response, error)
DeprecatedDeclareNameservers(
ctx context.Context,
req DeprecatedDeclareNameserversRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
UpdateDomainNameservers(
ctx context.Context,
req UpdateDomainNameserversRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedDeclareProcessChangeAuthcode(
ctx context.Context,
req DeprecatedDeclareProcessChangeAuthcodeRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedDeclareProcessChangeAuthcodeResponse, *http.Response, error)
DeprecatedDeclareProcessChangeHandles(
ctx context.Context,
req DeprecatedDeclareProcessChangeHandlesRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedDeclareProcessChangeHandlesResponse, *http.Response, error)
DeprecatedGetHandleFields(
ctx context.Context,
req DeprecatedGetHandleFieldsRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedGetHandleFieldsResponse, *http.Response, error)
DeprecatedGetScreenshotForDomain(
ctx context.Context,
req DeprecatedGetScreenshotForDomainRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedGetScreenshotForDomainResponse, *http.Response, error)
DeprecatedListDomains(
ctx context.Context,
req DeprecatedListDomainsRequest,
reqEditors ...func(req *http.Request) error,
) (*[]domainv2.Domain, *http.Response, error)
DeprecatedListIngresses(
ctx context.Context,
req DeprecatedListIngressesRequest,
reqEditors ...func(req *http.Request) error,
) (*[]ingressv2.IngressDeprecated, *http.Response, error)
DeprecatedPaths(
ctx context.Context,
req DeprecatedPathsRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
UpdateIngressPaths(
ctx context.Context,
req UpdateIngressPathsRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeprecatedTLS(
ctx context.Context,
req DeprecatedTLSRequest,
reqEditors ...func(req *http.Request) error,
) (*DeprecatedTLSResponse, *http.Response, error)
UpdateIngressTLS(
ctx context.Context,
req UpdateIngressTLSRequest,
reqEditors ...func(req *http.Request) error,
) (*UpdateIngressTLSResponse, *http.Response, error)
CreateDNSZone(
ctx context.Context,
req CreateDNSZoneRequest,
reqEditors ...func(req *http.Request) error,
) (*CreateDNSZoneResponse, *http.Response, error)
GetDNSZone(
ctx context.Context,
req GetDNSZoneRequest,
reqEditors ...func(req *http.Request) error,
) (*dnsv2.Zone, *http.Response, error)
DeleteDNSZone(
ctx context.Context,
req DeleteDNSZoneRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
GetZoneFile(
ctx context.Context,
req GetZoneFileRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
ListDNSZones(
ctx context.Context,
req ListDNSZonesRequest,
reqEditors ...func(req *http.Request) error,
) (*[]dnsv2.Zone, *http.Response, error)
SetRecordSetManaged(
ctx context.Context,
req SetRecordSetManagedRequest,
reqEditors ...func(req *http.Request) error,
) (*SetRecordSetManagedResponse, *http.Response, error)
UpdateRecordSet(
ctx context.Context,
req UpdateRecordSetRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
AbortDomainDeclaration(
ctx context.Context,
req AbortDomainDeclarationRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
CreateScheduledDeletion(
ctx context.Context,
req CreateScheduledDeletionRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
CancelScheduledDeletion(
ctx context.Context,
req CancelScheduledDeletionRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
CheckDomainRegistrability(
ctx context.Context,
req CheckDomainRegistrabilityRequest,
reqEditors ...func(req *http.Request) error,
) (*CheckDomainRegistrabilityResponse, *http.Response, error)
CheckDomainTransferability(
ctx context.Context,
req CheckDomainTransferabilityRequest,
reqEditors ...func(req *http.Request) error,
) (*CheckDomainTransferabilityResponse, *http.Response, error)
CreateDomainAuthCode(
ctx context.Context,
req CreateDomainAuthCodeRequest,
reqEditors ...func(req *http.Request) error,
) (*CreateDomainAuthCodeResponse, *http.Response, error)
GetDomain(
ctx context.Context,
req GetDomainRequest,
reqEditors ...func(req *http.Request) error,
) (*domainv2.Domain, *http.Response, error)
DeleteDomain(
ctx context.Context,
req DeleteDomainRequest,
reqEditors ...func(req *http.Request) error,
) (*DeleteDomainResponse, *http.Response, error)
GetLatestScreenshot(
ctx context.Context,
req GetLatestScreenshotRequest,
reqEditors ...func(req *http.Request) error,
) (*GetLatestScreenshotResponse, *http.Response, error)
ListTldContactSchemas(
ctx context.Context,
req ListTldContactSchemasRequest,
reqEditors ...func(req *http.Request) error,
) (*ListTldContactSchemasResponse, *http.Response, error)
ListTlds(
ctx context.Context,
req ListTldsRequest,
reqEditors ...func(req *http.Request) error,
) (*[]domainv2.TopLevel, *http.Response, error)
ResendDomainEmail(
ctx context.Context,
req ResendDomainEmailRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
Suggest(
ctx context.Context,
req SuggestRequest,
reqEditors ...func(req *http.Request) error,
) (*domainv2.SuggestedDomains, *http.Response, error)
UpdateDomainAuthCode(
ctx context.Context,
req UpdateDomainAuthCodeRequest,
reqEditors ...func(req *http.Request) error,
) (*UpdateDomainAuthCodeResponse, *http.Response, error)
UpdateDomainContact(
ctx context.Context,
req UpdateDomainContactRequest,
reqEditors ...func(req *http.Request) error,
) (*UpdateDomainContactResponse, *http.Response, error)
UpdateDomainProjectID(
ctx context.Context,
req UpdateDomainProjectIDRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
ListIngresses(
ctx context.Context,
req ListIngressesRequest,
reqEditors ...func(req *http.Request) error,
) (*[]ingressv2.Ingress, *http.Response, error)
CreateIngress(
ctx context.Context,
req CreateIngressRequest,
reqEditors ...func(req *http.Request) error,
) (*CreateIngressResponse, *http.Response, error)
GetIngress(
ctx context.Context,
req GetIngressRequest,
reqEditors ...func(req *http.Request) error,
) (*ingressv2.Ingress, *http.Response, error)
DeleteIngress(
ctx context.Context,
req DeleteIngressRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
IngressVerifyOwnership(
ctx context.Context,
req IngressVerifyOwnershipRequest,
reqEditors ...func(req *http.Request) error,
) (*IngressVerifyOwnershipResponse, *http.Response, error)
ListIngressesCompatibleWithCertificate(
ctx context.Context,
req ListIngressesCompatibleWithCertificateRequest,
reqEditors ...func(req *http.Request) error,
) (*[]ingressv2.Ingress, *http.Response, error)
RequestIngressAcmeCertificateIssuance(
ctx context.Context,
req RequestIngressAcmeCertificateIssuanceRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
CheckReplaceCertificate(
ctx context.Context,
req CheckReplaceCertificateRequest,
reqEditors ...func(req *http.Request) error,
) (*sslv2.CheckReplaceCertificateResponse, *http.Response, error)
ListCertificateRequests(
ctx context.Context,
req ListCertificateRequestsRequest,
reqEditors ...func(req *http.Request) error,
) (*[]sslv2.CertificateRequest, *http.Response, error)
CreateCertificateRequest(
ctx context.Context,
req CreateCertificateRequestRequest,
reqEditors ...func(req *http.Request) error,
) (*sslv2.CertificateRequestCreateResponse, *http.Response, error)
DeleteCertificateRequest(
ctx context.Context,
req DeleteCertificateRequestRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
DeleteCertificate(
ctx context.Context,
req DeleteCertificateRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
GetCertificateRequest(
ctx context.Context,
req GetCertificateRequestRequest,
reqEditors ...func(req *http.Request) error,
) (*sslv2.CertificateRequest, *http.Response, error)
GetCertificate(
ctx context.Context,
req GetCertificateRequest,
reqEditors ...func(req *http.Request) error,
) (*sslv2.Certificate, *http.Response, error)
ReplaceCertificate(
ctx context.Context,
req ReplaceCertificateRequest,
reqEditors ...func(req *http.Request) error,
) (*http.Response, error)
ListCertificates(
ctx context.Context,
req ListCertificatesRequest,
reqEditors ...func(req *http.Request) error,
) (*[]sslv2.Certificate, *http.Response, error)
}
func NewClient ¶
func NewClient(client httpclient.RequestRunner) Client
type CreateCertificateRequestRequest ¶
type CreateCertificateRequestRequest struct {
Body CreateCertificateRequestRequestBody
}
CreateCertificateRequestRequest models a request for the 'ssl-create-certificate-request' operation. See [1] for more information.
Create a CertificateRequest.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-create-certificate-request
func (*CreateCertificateRequestRequest) BuildRequest ¶
func (r *CreateCertificateRequestRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CreateCertificateRequestRequestBody ¶
type CreateCertificateRequestRequestBody struct {
AlternativeCertificateRequestCreateRequest *sslv2.CertificateRequestCreateRequest
AlternativeCertificateRequestCreateWithCSRRequest *sslv2.CertificateRequestCreateWithCSRRequest
AlternativeCertificateRequestCreateWithDNSRequest *sslv2.CertificateRequestCreateWithDNSRequest
}
func (*CreateCertificateRequestRequestBody) MarshalJSON ¶
func (a *CreateCertificateRequestRequestBody) MarshalJSON() ([]byte, error)
func (*CreateCertificateRequestRequestBody) UnmarshalJSON ¶
func (a *CreateCertificateRequestRequestBody) UnmarshalJSON(input []byte) error
func (*CreateCertificateRequestRequestBody) Validate ¶
func (a *CreateCertificateRequestRequestBody) Validate() error
type CreateDNSZoneRequest ¶
type CreateDNSZoneRequest struct {
Body CreateDNSZoneRequestBody
}
CreateDNSZoneRequest models a request for the 'dns-create-dns-zone' operation. See 1 for more information.
Create a DNSZone.
func (*CreateDNSZoneRequest) BuildRequest ¶
func (r *CreateDNSZoneRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CreateDNSZoneRequestBody ¶
type CreateDNSZoneRequestBody struct {
Name string `json:"name"`
ParentZoneId string `json:"parentZoneId"`
}
CreateDNSZoneRequestBody models the JSON body of a 'dns-create-dns-zone' request
func (*CreateDNSZoneRequestBody) Validate ¶
func (o *CreateDNSZoneRequestBody) Validate() error
type CreateDNSZoneResponse ¶
type CreateDNSZoneResponse struct {
Id string `json:"id"`
}
func (*CreateDNSZoneResponse) Validate ¶
func (o *CreateDNSZoneResponse) Validate() error
type CreateDomainAuthCodeRequest ¶
type CreateDomainAuthCodeRequest struct {
DomainID string
}
CreateDomainAuthCodeRequest models a request for the 'domain-create-domain-auth-code' operation. See [1] for more information.
Create an auth code for a Domains transfer-out process.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-create-domain-auth-code
func (*CreateDomainAuthCodeRequest) BuildRequest ¶
func (r *CreateDomainAuthCodeRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CreateDomainAuthCodeResponse ¶
type CreateDomainAuthCodeResponse struct {
AuthCode string `json:"authCode"`
ExpirationDate *time.Time `json:"expirationDate,omitempty"`
}
func (*CreateDomainAuthCodeResponse) Validate ¶
func (o *CreateDomainAuthCodeResponse) Validate() error
type CreateIngressRequest ¶
type CreateIngressRequest struct {
Body CreateIngressRequestBody
}
CreateIngressRequest models a request for the 'ingress-create-ingress' operation. See [1] for more information.
Create an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ingress-create-ingress
func (*CreateIngressRequest) BuildRequest ¶
func (r *CreateIngressRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CreateIngressRequestBody ¶
type CreateIngressRequestBody struct {
Hostname string `json:"hostname"`
Paths []ingressv2.Path `json:"paths"`
ProjectId string `json:"projectId"`
}
CreateIngressRequestBody models the JSON body of a 'ingress-create-ingress' request
func (*CreateIngressRequestBody) Validate ¶
func (o *CreateIngressRequestBody) Validate() error
type CreateIngressResponse ¶
type CreateIngressResponse struct {
Id string `json:"id"`
Ownership ingressv2.Ownership `json:"ownership"`
}
func (*CreateIngressResponse) Validate ¶
func (o *CreateIngressResponse) Validate() error
type CreateScheduledDeletionRequest ¶ added in v0.2.115
type CreateScheduledDeletionRequest struct {
Body CreateScheduledDeletionRequestBody
DomainID string
}
CreateScheduledDeletionRequest models a request for the 'domain-create-scheduled-deletion' operation. See [1] for more information.
Create a scheduled deletion of a Domain.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-create-scheduled-deletion
func (*CreateScheduledDeletionRequest) BuildRequest ¶ added in v0.2.115
func (r *CreateScheduledDeletionRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type CreateScheduledDeletionRequestBody ¶ added in v0.2.115
type CreateScheduledDeletionRequestBody struct {
DeleteIngresses *bool `json:"deleteIngresses,omitempty"`
DeletionDate time.Time `json:"deletionDate"`
}
CreateScheduledDeletionRequestBody models the JSON body of a 'domain-create-scheduled-deletion' request
func (*CreateScheduledDeletionRequestBody) Validate ¶ added in v0.2.115
func (o *CreateScheduledDeletionRequestBody) Validate() error
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct {
CertificateID string
}
DeleteCertificateRequest models a request for the 'ssl-delete-certificate' operation. See [1] for more information.
Delete a Certificate.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-delete-certificate
func (*DeleteCertificateRequest) BuildRequest ¶
func (r *DeleteCertificateRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeleteCertificateRequestRequest ¶
type DeleteCertificateRequestRequest struct {
CertificateRequestID string
}
DeleteCertificateRequestRequest models a request for the 'ssl-delete-certificate-request' operation. See [1] for more information.
Delete a CertificateRequest.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-delete-certificate-request
func (*DeleteCertificateRequestRequest) BuildRequest ¶
func (r *DeleteCertificateRequestRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeleteDNSZoneRequest ¶
type DeleteDNSZoneRequest struct {
DNSZoneID string
}
DeleteDNSZoneRequest models a request for the 'dns-delete-dns-zone' operation. See 1 for more information.
Delete a DNSZone.
func (*DeleteDNSZoneRequest) BuildRequest ¶
func (r *DeleteDNSZoneRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeleteDomainRequest ¶
DeleteDomainRequest models a request for the 'domain-delete-domain' operation. See 1 for more information.
Delete a Domain.
func (*DeleteDomainRequest) BuildRequest ¶
func (r *DeleteDomainRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeleteDomainResponse ¶
type DeleteDomainResponse struct {
IsAsync *bool `json:"isAsync,omitempty"`
TransactionId *string `json:"transactionId,omitempty"`
}
func (*DeleteDomainResponse) Validate ¶
func (o *DeleteDomainResponse) Validate() error
type DeleteIngressRequest ¶
type DeleteIngressRequest struct {
IngressID string
}
DeleteIngressRequest models a request for the 'ingress-delete-ingress' operation. See [1] for more information.
Delete an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ingress-delete-ingress
func (*DeleteIngressRequest) BuildRequest ¶
func (r *DeleteIngressRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedChangeOwnercOfDomainRequest ¶
type DeprecatedChangeOwnercOfDomainRequest struct {
Body DeprecatedChangeOwnercOfDomainRequestBody
DomainID string
}
DeprecatedChangeOwnercOfDomainRequest models a request for the 'deprecated-domain-change-ownerc-of-domain' operation. See [1] for more information.
Change the owner contact of a domain.
This operation is deprecated. Use the PATCH /v2/domains/{domainId}/contacts/{contact} endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-change-ownerc-of-domain
func (*DeprecatedChangeOwnercOfDomainRequest) BuildRequest ¶
func (r *DeprecatedChangeOwnercOfDomainRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedChangeOwnercOfDomainRequestBody ¶
type DeprecatedChangeOwnercOfDomainRequestBody struct {
OwnerC []domainv2.HandleField `json:"ownerC"`
}
DeprecatedChangeOwnercOfDomainRequestBody models the JSON body of a 'deprecated-domain-change-ownerc-of-domain' request
func (*DeprecatedChangeOwnercOfDomainRequestBody) Validate ¶
func (o *DeprecatedChangeOwnercOfDomainRequestBody) Validate() error
type DeprecatedChangeOwnercOfDomainResponse ¶
type DeprecatedChangeOwnercOfDomainResponse struct {
IsAsync *bool `json:"isAsync,omitempty"`
TransactionId *string `json:"transactionId,omitempty"`
}
func (*DeprecatedChangeOwnercOfDomainResponse) Validate ¶
func (o *DeprecatedChangeOwnercOfDomainResponse) Validate() error
type DeprecatedChangeProjectOfDomainRequest ¶
type DeprecatedChangeProjectOfDomainRequest struct {
Body DeprecatedChangeProjectOfDomainRequestBody
DomainID string
}
DeprecatedChangeProjectOfDomainRequest models a request for the 'deprecated-domain-change-project-of-domain' operation. See [1] for more information.
Change the Project relation of a Domain.
This operation is deprecated. Use the PATCH /v2/domains/{domainId}/project-id endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-change-project-of-domain
func (*DeprecatedChangeProjectOfDomainRequest) BuildRequest ¶
func (r *DeprecatedChangeProjectOfDomainRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedChangeProjectOfDomainRequestBody ¶
type DeprecatedChangeProjectOfDomainRequestBody struct {
ProjectId *string `json:"projectId,omitempty"`
}
DeprecatedChangeProjectOfDomainRequestBody models the JSON body of a 'deprecated-domain-change-project-of-domain' request
func (*DeprecatedChangeProjectOfDomainRequestBody) Validate ¶
func (o *DeprecatedChangeProjectOfDomainRequestBody) Validate() error
type DeprecatedCheckDomainRegistrabilityRequest ¶
type DeprecatedCheckDomainRegistrabilityRequest struct {
Body DeprecatedCheckDomainRegistrabilityRequestBody
}
DeprecatedCheckDomainRegistrabilityRequest models a request for the 'deprecated-domain-check-domain-registrability' operation. See [1] for more information.
Check if a Domain is available to register.
This operation is deprecated. Use the POST /v2/domain-registrable endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-check-domain-registrability
func (*DeprecatedCheckDomainRegistrabilityRequest) BuildRequest ¶
func (r *DeprecatedCheckDomainRegistrabilityRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedCheckDomainRegistrabilityRequestBody ¶
type DeprecatedCheckDomainRegistrabilityRequestBody struct {
Domain string `json:"domain"`
}
DeprecatedCheckDomainRegistrabilityRequestBody models the JSON body of a 'deprecated-domain-check-domain-registrability' request
func (*DeprecatedCheckDomainRegistrabilityRequestBody) Validate ¶
func (o *DeprecatedCheckDomainRegistrabilityRequestBody) Validate() error
type DeprecatedCheckDomainRegistrabilityResponse ¶
type DeprecatedCheckDomainRegistrabilityResponse struct {
Available bool `json:"available"`
}
func (*DeprecatedCheckDomainRegistrabilityResponse) Validate ¶
func (o *DeprecatedCheckDomainRegistrabilityResponse) Validate() error
type DeprecatedDeclareNameserversRequest ¶
type DeprecatedDeclareNameserversRequest struct {
Body DeprecatedDeclareNameserversRequestBody
DomainID string
}
DeprecatedDeclareNameserversRequest models a request for the 'deprecated-domain-declare-nameservers' operation. See [1] for more information.
Change all nameservers of a Domain.
This operation is deprecated. Use the PATCH /v2/domains/{domainId}/nameservers endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-declare-nameservers
func (*DeprecatedDeclareNameserversRequest) BuildRequest ¶
func (r *DeprecatedDeclareNameserversRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedDeclareNameserversRequestBody ¶
type DeprecatedDeclareNameserversRequestBody struct {
Nameservers []string `json:"nameservers,omitempty"`
}
DeprecatedDeclareNameserversRequestBody models the JSON body of a 'deprecated-domain-declare-nameservers' request
func (*DeprecatedDeclareNameserversRequestBody) Validate ¶
func (o *DeprecatedDeclareNameserversRequestBody) Validate() error
type DeprecatedDeclareProcessChangeAuthcodeRequest ¶
type DeprecatedDeclareProcessChangeAuthcodeRequest struct {
Body DeprecatedDeclareProcessChangeAuthcodeRequestBody
DomainID string
}
DeprecatedDeclareProcessChangeAuthcodeRequest models a request for the 'deprecated-domain-declare-process-change-authcode' operation. See [1] for more information.
Update an AuthCode.
This operation is deprecated. Use the PATCH /v2/domains/{domainId}/auth-code endpoint instead.
func (*DeprecatedDeclareProcessChangeAuthcodeRequest) BuildRequest ¶
func (r *DeprecatedDeclareProcessChangeAuthcodeRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedDeclareProcessChangeAuthcodeRequestBody ¶
type DeprecatedDeclareProcessChangeAuthcodeRequestBody struct {
AuthCode string `json:"authCode"`
}
DeprecatedDeclareProcessChangeAuthcodeRequestBody models the JSON body of a 'deprecated-domain-declare-process-change-authcode' request
func (*DeprecatedDeclareProcessChangeAuthcodeRequestBody) Validate ¶
func (o *DeprecatedDeclareProcessChangeAuthcodeRequestBody) Validate() error
type DeprecatedDeclareProcessChangeAuthcodeResponse ¶
type DeprecatedDeclareProcessChangeAuthcodeResponse struct {
IsAsync *bool `json:"isAsync,omitempty"`
TransactionId *string `json:"transactionId,omitempty"`
}
func (*DeprecatedDeclareProcessChangeAuthcodeResponse) Validate ¶
func (o *DeprecatedDeclareProcessChangeAuthcodeResponse) Validate() error
type DeprecatedDeclareProcessChangeHandlesRequest ¶
type DeprecatedDeclareProcessChangeHandlesRequest struct {
Body DeprecatedDeclareProcessChangeHandlesRequestBody
DomainID string
}
DeprecatedDeclareProcessChangeHandlesRequest models a request for the 'deprecated-domain-declare-process-change-handles' operation. See [1] for more information.
Update a Domain's OwnerC handle.
This operation is deprecated and does not have an alternative.
func (*DeprecatedDeclareProcessChangeHandlesRequest) BuildRequest ¶
func (r *DeprecatedDeclareProcessChangeHandlesRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedDeclareProcessChangeHandlesRequestBody ¶
type DeprecatedDeclareProcessChangeHandlesRequestBody struct {
OwnerC []domainv2.HandleField `json:"ownerC"`
}
DeprecatedDeclareProcessChangeHandlesRequestBody models the JSON body of a 'deprecated-domain-declare-process-change-handles' request
func (*DeprecatedDeclareProcessChangeHandlesRequestBody) Validate ¶
func (o *DeprecatedDeclareProcessChangeHandlesRequestBody) Validate() error
type DeprecatedDeclareProcessChangeHandlesResponse ¶
type DeprecatedDeclareProcessChangeHandlesResponse struct {
IsAsync *bool `json:"isAsync,omitempty"`
TransactionId *string `json:"transactionId,omitempty"`
}
func (*DeprecatedDeclareProcessChangeHandlesResponse) Validate ¶
func (o *DeprecatedDeclareProcessChangeHandlesResponse) Validate() error
type DeprecatedGetHandleFieldsRequest ¶
type DeprecatedGetHandleFieldsRequest struct {
DomainName string
}
DeprecatedGetHandleFieldsRequest models a request for the 'deprecated-domain-get-handle-fields' operation. See [1] for more information.
Get a HandleSchema.
This operation is deprecated. Use the GET /v2/domain-tlds/{tld}/contact-schemas endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-get-handle-fields
func (*DeprecatedGetHandleFieldsRequest) BuildRequest ¶
func (r *DeprecatedGetHandleFieldsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedGetHandleFieldsResponse ¶
type DeprecatedGetHandleFieldsResponse struct {
JsonSchemaAdminC *DeprecatedGetHandleFieldsResponseJsonSchemaAdminC `json:"jsonSchemaAdminC,omitempty"`
JsonSchemaOwnerC DeprecatedGetHandleFieldsResponseJsonSchemaOwnerC `json:"jsonSchemaOwnerC"`
}
func (*DeprecatedGetHandleFieldsResponse) Validate ¶
func (o *DeprecatedGetHandleFieldsResponse) Validate() error
type DeprecatedGetHandleFieldsResponseJsonSchemaAdminC ¶
type DeprecatedGetHandleFieldsResponseJsonSchemaAdminC struct {
}
func (*DeprecatedGetHandleFieldsResponseJsonSchemaAdminC) Validate ¶
func (o *DeprecatedGetHandleFieldsResponseJsonSchemaAdminC) Validate() error
type DeprecatedGetHandleFieldsResponseJsonSchemaOwnerC ¶
type DeprecatedGetHandleFieldsResponseJsonSchemaOwnerC struct {
}
func (*DeprecatedGetHandleFieldsResponseJsonSchemaOwnerC) Validate ¶
func (o *DeprecatedGetHandleFieldsResponseJsonSchemaOwnerC) Validate() error
type DeprecatedGetScreenshotForDomainRequest ¶
type DeprecatedGetScreenshotForDomainRequest struct {
Body DeprecatedGetScreenshotForDomainRequestBody
DomainID string
}
DeprecatedGetScreenshotForDomainRequest models a request for the 'deprecated-domain-get-screenshot-for-domain' operation. See [1] for more information.
Get File Service Reference for a Screenshot of a domain.
Deprecated by `GET /v2/domains/{domainId}/latest-screenshot`.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-get-screenshot-for-domain
func (*DeprecatedGetScreenshotForDomainRequest) BuildRequest ¶
func (r *DeprecatedGetScreenshotForDomainRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedGetScreenshotForDomainRequestBody ¶
type DeprecatedGetScreenshotForDomainRequestBody struct {
DomainName string `json:"domainName"`
Path string `json:"path"`
}
DeprecatedGetScreenshotForDomainRequestBody models the JSON body of a 'deprecated-domain-get-screenshot-for-domain' request
func (*DeprecatedGetScreenshotForDomainRequestBody) Validate ¶
func (o *DeprecatedGetScreenshotForDomainRequestBody) Validate() error
type DeprecatedGetScreenshotForDomainResponse ¶
type DeprecatedGetScreenshotForDomainResponse struct {
References []string `json:"references,omitempty"`
}
func (*DeprecatedGetScreenshotForDomainResponse) Validate ¶
func (o *DeprecatedGetScreenshotForDomainResponse) Validate() error
type DeprecatedListDomainsRequest ¶
type DeprecatedListDomainsRequest struct {
ProjectID string
Page *int64
Limit *int64
DomainSearchName *string
}
DeprecatedListDomainsRequest models a request for the 'deprecated-domain-list-domains' operation. See [1] for more information.
List Domains belonging to a Project.
This operation is deprecated. Use the GET /v2/domains endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-domain-list-domains
func (*DeprecatedListDomainsRequest) BuildRequest ¶
func (r *DeprecatedListDomainsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedListIngressesRequest ¶
type DeprecatedListIngressesRequest struct {
ProjectID string
}
DeprecatedListIngressesRequest models a request for the 'deprecated-ingress-list-ingresses' operation. See [1] for more information.
List Ingresses belonging to a project.
This operation is deprecated. Use the GET /v2/ingresses endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-ingress-list-ingresses
func (*DeprecatedListIngressesRequest) BuildRequest ¶
func (r *DeprecatedListIngressesRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedPathsRequest ¶
DeprecatedPathsRequest models a request for the 'deprecated-ingress-paths' operation. See [1] for more information.
Update an Ingresses paths.
This operation is deprecated. Use the PATCH /v2/ingresses/{ingressId}/paths endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-ingress-paths
func (*DeprecatedPathsRequest) BuildRequest ¶
func (r *DeprecatedPathsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordASetCustomRequest ¶
type DeprecatedRecordASetCustomRequest struct {
Body DeprecatedRecordASetCustomRequestBody
ZoneID string
}
DeprecatedRecordASetCustomRequest models a request for the 'deprecated-dns-record-a-set-custom' operation. See [1] for more information.
updates a-records for a specific zone
This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-dns-record-a-set-custom
func (*DeprecatedRecordASetCustomRequest) BuildRequest ¶
func (r *DeprecatedRecordASetCustomRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordASetCustomRequestBody ¶
type DeprecatedRecordASetCustomRequestBody struct {
AlternativeRecordUnset *dnsv2.RecordUnset
AlternativeCombinedACustom *dnsv2.CombinedACustom
}
func (*DeprecatedRecordASetCustomRequestBody) MarshalJSON ¶
func (a *DeprecatedRecordASetCustomRequestBody) MarshalJSON() ([]byte, error)
func (*DeprecatedRecordASetCustomRequestBody) UnmarshalJSON ¶
func (a *DeprecatedRecordASetCustomRequestBody) UnmarshalJSON(input []byte) error
func (*DeprecatedRecordASetCustomRequestBody) Validate ¶
func (a *DeprecatedRecordASetCustomRequestBody) Validate() error
type DeprecatedRecordASetManagedByIngressRequest ¶
type DeprecatedRecordASetManagedByIngressRequest struct {
Body DeprecatedRecordASetManagedByIngressRequestBody
ZoneID string
}
DeprecatedRecordASetManagedByIngressRequest models a request for the 'deprecated-dns-record-a-set-managed-by-ingress' operation. See [1] for more information.
set a-records managed by ingress for a specific zone
This operation is deprecated. Use the POST v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed endpoint instead.
func (*DeprecatedRecordASetManagedByIngressRequest) BuildRequest ¶
func (r *DeprecatedRecordASetManagedByIngressRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordASetManagedByIngressRequestBody ¶
type DeprecatedRecordASetManagedByIngressRequestBody struct {
}
DeprecatedRecordASetManagedByIngressRequestBody models the JSON body of a 'deprecated-dns-record-a-set-managed-by-ingress' request
func (*DeprecatedRecordASetManagedByIngressRequestBody) Validate ¶
func (o *DeprecatedRecordASetManagedByIngressRequestBody) Validate() error
type DeprecatedRecordASetManagedByIngressResponse ¶
type DeprecatedRecordASetManagedByIngressResponse struct {
IngressId string `json:"ingressId"`
}
func (*DeprecatedRecordASetManagedByIngressResponse) Validate ¶
func (o *DeprecatedRecordASetManagedByIngressResponse) Validate() error
type DeprecatedRecordCnameSetRequest ¶
type DeprecatedRecordCnameSetRequest struct {
Body DeprecatedRecordCnameSetRequestBody
ZoneID string
}
DeprecatedRecordCnameSetRequest models a request for the 'deprecated-dns-record-cname-set' operation. See [1] for more information.
updates cname-record for a specific zone
This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-dns-record-cname-set
func (*DeprecatedRecordCnameSetRequest) BuildRequest ¶
func (r *DeprecatedRecordCnameSetRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordCnameSetRequestBody ¶
type DeprecatedRecordCnameSetRequestBody struct {
AlternativeRecordUnset *dnsv2.RecordUnset
AlternativeRecordCNAMEComponent *dnsv2.RecordCNAMEComponent
}
func (*DeprecatedRecordCnameSetRequestBody) MarshalJSON ¶
func (a *DeprecatedRecordCnameSetRequestBody) MarshalJSON() ([]byte, error)
func (*DeprecatedRecordCnameSetRequestBody) UnmarshalJSON ¶
func (a *DeprecatedRecordCnameSetRequestBody) UnmarshalJSON(input []byte) error
func (*DeprecatedRecordCnameSetRequestBody) Validate ¶
func (a *DeprecatedRecordCnameSetRequestBody) Validate() error
type DeprecatedRecordMxSetCustomRequest ¶
type DeprecatedRecordMxSetCustomRequest struct {
Body DeprecatedRecordMxSetCustomRequestBody
ZoneID string
}
DeprecatedRecordMxSetCustomRequest models a request for the 'deprecated-dns-record-mx-set-custom' operation. See [1] for more information.
updates mx-records for a specific zone
This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-dns-record-mx-set-custom
func (*DeprecatedRecordMxSetCustomRequest) BuildRequest ¶
func (r *DeprecatedRecordMxSetCustomRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordMxSetCustomRequestBody ¶
type DeprecatedRecordMxSetCustomRequestBody struct {
AlternativeRecordUnset *dnsv2.RecordUnset
AlternativeRecordMXCustom *dnsv2.RecordMXCustom
}
func (*DeprecatedRecordMxSetCustomRequestBody) MarshalJSON ¶
func (a *DeprecatedRecordMxSetCustomRequestBody) MarshalJSON() ([]byte, error)
func (*DeprecatedRecordMxSetCustomRequestBody) UnmarshalJSON ¶
func (a *DeprecatedRecordMxSetCustomRequestBody) UnmarshalJSON(input []byte) error
func (*DeprecatedRecordMxSetCustomRequestBody) Validate ¶
func (a *DeprecatedRecordMxSetCustomRequestBody) Validate() error
type DeprecatedRecordMxSetManagedRequest ¶
type DeprecatedRecordMxSetManagedRequest struct {
Body DeprecatedRecordMxSetManagedRequestBody
ZoneID string
}
DeprecatedRecordMxSetManagedRequest models a request for the 'deprecated-dns-record-mx-set-managed' operation. See [1] for more information.
sets mx-records to managed for a specific zone
This operation is deprecated. Use the POST v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-dns-record-mx-set-managed
func (*DeprecatedRecordMxSetManagedRequest) BuildRequest ¶
func (r *DeprecatedRecordMxSetManagedRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordMxSetManagedRequestBody ¶
type DeprecatedRecordMxSetManagedRequestBody struct {
}
DeprecatedRecordMxSetManagedRequestBody models the JSON body of a 'deprecated-dns-record-mx-set-managed' request
func (*DeprecatedRecordMxSetManagedRequestBody) Validate ¶
func (o *DeprecatedRecordMxSetManagedRequestBody) Validate() error
type DeprecatedRecordSrvSetRequest ¶
type DeprecatedRecordSrvSetRequest struct {
Body DeprecatedRecordSrvSetRequestBody
ZoneID string
}
DeprecatedRecordSrvSetRequest models a request for the 'deprecated-dns-record-srv-set' operation. See [1] for more information.
updates srv-records for a specific zone
This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-dns-record-srv-set
func (*DeprecatedRecordSrvSetRequest) BuildRequest ¶
func (r *DeprecatedRecordSrvSetRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordSrvSetRequestBody ¶
type DeprecatedRecordSrvSetRequestBody struct {
AlternativeRecordUnset *dnsv2.RecordUnset
AlternativeRecordSRVComponent *dnsv2.RecordSRVComponent
}
func (*DeprecatedRecordSrvSetRequestBody) MarshalJSON ¶
func (a *DeprecatedRecordSrvSetRequestBody) MarshalJSON() ([]byte, error)
func (*DeprecatedRecordSrvSetRequestBody) UnmarshalJSON ¶
func (a *DeprecatedRecordSrvSetRequestBody) UnmarshalJSON(input []byte) error
func (*DeprecatedRecordSrvSetRequestBody) Validate ¶
func (a *DeprecatedRecordSrvSetRequestBody) Validate() error
type DeprecatedRecordTxtSetRequest ¶
type DeprecatedRecordTxtSetRequest struct {
Body DeprecatedRecordTxtSetRequestBody
ZoneID string
}
DeprecatedRecordTxtSetRequest models a request for the 'deprecated-dns-record-txt-set' operation. See [1] for more information.
updates txt-records for a specific zone
This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-dns-record-txt-set
func (*DeprecatedRecordTxtSetRequest) BuildRequest ¶
func (r *DeprecatedRecordTxtSetRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedRecordTxtSetRequestBody ¶
type DeprecatedRecordTxtSetRequestBody struct {
AlternativeRecordUnset *dnsv2.RecordUnset
AlternativeRecordTXTComponent *dnsv2.RecordTXTComponent
}
func (*DeprecatedRecordTxtSetRequestBody) MarshalJSON ¶
func (a *DeprecatedRecordTxtSetRequestBody) MarshalJSON() ([]byte, error)
func (*DeprecatedRecordTxtSetRequestBody) UnmarshalJSON ¶
func (a *DeprecatedRecordTxtSetRequestBody) UnmarshalJSON(input []byte) error
func (*DeprecatedRecordTxtSetRequestBody) Validate ¶
func (a *DeprecatedRecordTxtSetRequestBody) Validate() error
type DeprecatedTLSRequest ¶
type DeprecatedTLSRequest struct {
Body DeprecatedTLSRequestBody
IngressID string
}
DeprecatedTLSRequest models a request for the 'deprecated-ingress-tls' operation. See [1] for more information.
Update an Ingresses tls settings.
This operation is deprecated. Use the PATCH /v2/ingresses/{ingressId}/tls endpoint instead.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/deprecated-ingress-tls
func (*DeprecatedTLSRequest) BuildRequest ¶
func (r *DeprecatedTLSRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type DeprecatedTLSRequestBody ¶
type DeprecatedTLSRequestBody struct {
AlternativeTlsAcme *ingressv2.TlsAcme
AlternativeTlsCertificate *ingressv2.TlsCertificate
}
func (*DeprecatedTLSRequestBody) MarshalJSON ¶
func (a *DeprecatedTLSRequestBody) MarshalJSON() ([]byte, error)
func (*DeprecatedTLSRequestBody) UnmarshalJSON ¶
func (a *DeprecatedTLSRequestBody) UnmarshalJSON(input []byte) error
func (*DeprecatedTLSRequestBody) Validate ¶
func (a *DeprecatedTLSRequestBody) Validate() error
type DeprecatedTLSResponse ¶
type DeprecatedTLSResponse struct {
}
func (*DeprecatedTLSResponse) Validate ¶
func (o *DeprecatedTLSResponse) Validate() error
type GetCertificateRequest ¶
type GetCertificateRequest struct {
CertificateID string
}
GetCertificateRequest models a request for the 'ssl-get-certificate' operation. See 1 for more information.
Get a Certificate.
func (*GetCertificateRequest) BuildRequest ¶
func (r *GetCertificateRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type GetCertificateRequestRequest ¶
type GetCertificateRequestRequest struct {
CertificateRequestID string
}
GetCertificateRequestRequest models a request for the 'ssl-get-certificate-request' operation. See [1] for more information.
Get a CertificateRequest.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-get-certificate-request
func (*GetCertificateRequestRequest) BuildRequest ¶
func (r *GetCertificateRequestRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type GetDNSZoneRequest ¶
type GetDNSZoneRequest struct {
DNSZoneID string
}
GetDNSZoneRequest models a request for the 'dns-get-dns-zone' operation. See 1 for more information.
Get a DNSZone.
func (*GetDNSZoneRequest) BuildRequest ¶
func (r *GetDNSZoneRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type GetDomainRequest ¶
type GetDomainRequest struct {
DomainID string
}
GetDomainRequest models a request for the 'domain-get-domain' operation. See 1 for more information.
Get a Domain.
func (*GetDomainRequest) BuildRequest ¶
func (r *GetDomainRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type GetIngressRequest ¶
type GetIngressRequest struct {
IngressID string
}
GetIngressRequest models a request for the 'ingress-get-ingress' operation. See 1 for more information.
Get an Ingress.
func (*GetIngressRequest) BuildRequest ¶
func (r *GetIngressRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type GetLatestScreenshotRequest ¶
type GetLatestScreenshotRequest struct {
DomainName string
}
GetLatestScreenshotRequest models a request for the 'domain-get-latest-screenshot' operation. See [1] for more information.
Get the latest screenshot's FileReference belonging to a Domain.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-get-latest-screenshot
func (*GetLatestScreenshotRequest) BuildRequest ¶
func (r *GetLatestScreenshotRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type GetLatestScreenshotResponse ¶
type GetLatestScreenshotResponse struct {
Reference *string `json:"reference,omitempty"`
}
func (*GetLatestScreenshotResponse) Validate ¶
func (o *GetLatestScreenshotResponse) Validate() error
type GetZoneFileRequest ¶ added in v0.2.91
type GetZoneFileRequest struct {
DNSZoneID string
}
GetZoneFileRequest models a request for the 'dns-get-zone-file' operation. See 1 for more information.
Get a zone file for a DNSZone.
Returns a BIND-compliant DNS zone file per RFC 1035 for the specified dnsZoneId, including all sub zone information. Entering the dnsZoneId of a sub zone will result in an error.
func (*GetZoneFileRequest) BuildRequest ¶ added in v0.2.91
func (r *GetZoneFileRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type IngressVerifyOwnershipRequest ¶
type IngressVerifyOwnershipRequest struct {
IngressID string
}
IngressVerifyOwnershipRequest models a request for the 'ingress-ingress-verify-ownership' operation. See [1] for more information.
Verifiy the ownership of an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ingress-ingress-verify-ownership
func (*IngressVerifyOwnershipRequest) BuildRequest ¶
func (r *IngressVerifyOwnershipRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type IngressVerifyOwnershipResponse ¶
type IngressVerifyOwnershipResponse struct {
}
func (*IngressVerifyOwnershipResponse) Validate ¶
func (o *IngressVerifyOwnershipResponse) Validate() error
type ListCertificateRequestsRequest ¶
ListCertificateRequestsRequest models a request for the 'ssl-list-certificate-requests' operation. See [1] for more information.
List CertificateRequests belonging to a Project or an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-list-certificate-requests
func (*ListCertificateRequestsRequest) BuildRequest ¶
func (r *ListCertificateRequestsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListCertificatesRequest ¶
ListCertificatesRequest models a request for the 'ssl-list-certificates' operation. See [1] for more information.
List Certificates belonging to a Project or an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-list-certificates
func (*ListCertificatesRequest) BuildRequest ¶
func (r *ListCertificatesRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListDNSZonesRequest ¶
type ListDNSZonesRequest struct {
ProjectID string
}
ListDNSZonesRequest models a request for the 'dns-list-dns-zones' operation. See 1 for more information.
List DNSZones belonging to a Project.
func (*ListDNSZonesRequest) BuildRequest ¶
func (r *ListDNSZonesRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListDomainsRequest ¶
type ListDomainsRequest struct {
ProjectID *string
DomainSearchName *string
ContactHash *string
Limit *int64
Skip *int64
Page *int64
}
ListDomainsRequest models a request for the 'domain-list-domains' operation. See 1 for more information.
List Domains ¶
func (*ListDomainsRequest) BuildRequest ¶
func (r *ListDomainsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListIngressesCompatibleWithCertificateRequest ¶
type ListIngressesCompatibleWithCertificateRequest struct {
Body ListIngressesCompatibleWithCertificateRequestBody
Limit *int64
Skip *int64
Page *int64
}
ListIngressesCompatibleWithCertificateRequest models a request for the 'ingress-list-ingresses-compatible-with-certificate' operation. See [1] for more information.
List Ingresses compatible with a certificate.
List Ingresses in a Project compatible with a certificate.
func (*ListIngressesCompatibleWithCertificateRequest) BuildRequest ¶
func (r *ListIngressesCompatibleWithCertificateRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListIngressesCompatibleWithCertificateRequestBody ¶
type ListIngressesCompatibleWithCertificateRequestBody struct {
AlternativeListIngressesCompatibleWithCertificateRequest *ingressv2.ListIngressesCompatibleWithCertificateRequest
AlternativeListIngressesCompatibleWithCertificateIDRequest *ingressv2.ListIngressesCompatibleWithCertificateIDRequest
}
func (*ListIngressesCompatibleWithCertificateRequestBody) MarshalJSON ¶ added in v0.2.153
func (a *ListIngressesCompatibleWithCertificateRequestBody) MarshalJSON() ([]byte, error)
func (*ListIngressesCompatibleWithCertificateRequestBody) UnmarshalJSON ¶ added in v0.2.153
func (a *ListIngressesCompatibleWithCertificateRequestBody) UnmarshalJSON(input []byte) error
func (*ListIngressesCompatibleWithCertificateRequestBody) Validate ¶
func (a *ListIngressesCompatibleWithCertificateRequestBody) Validate() error
type ListIngressesRequest ¶
type ListIngressesRequest struct {
ProjectID *string
CertificateID *string
HostnameSubstring *string
AppInstallationID *string
Limit *int64
Skip *int64
Page *int64
}
ListIngressesRequest models a request for the 'ingress-list-ingresses' operation. See [1] for more information.
List Ingresses.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ingress-list-ingresses
func (*ListIngressesRequest) BuildRequest ¶
func (r *ListIngressesRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListTldContactSchemasRequest ¶
type ListTldContactSchemasRequest struct {
Tld string
}
ListTldContactSchemasRequest models a request for the 'domain-list-tld-contact-schemas' operation. See [1] for more information.
List the contact schemas for a TLD.
List the contact schemas describing the fields required to register/transfer a Domain.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-list-tld-contact-schemas
func (*ListTldContactSchemasRequest) BuildRequest ¶
func (r *ListTldContactSchemasRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ListTldContactSchemasResponse ¶
type ListTldContactSchemasResponse struct {
JsonSchemaAdminC *ListTldContactSchemasResponseJsonSchemaAdminC `json:"jsonSchemaAdminC,omitempty"`
JsonSchemaOwnerC ListTldContactSchemasResponseJsonSchemaOwnerC `json:"jsonSchemaOwnerC"`
}
func (*ListTldContactSchemasResponse) Validate ¶
func (o *ListTldContactSchemasResponse) Validate() error
type ListTldContactSchemasResponseJsonSchemaAdminC ¶
type ListTldContactSchemasResponseJsonSchemaAdminC struct {
}
func (*ListTldContactSchemasResponseJsonSchemaAdminC) Validate ¶
func (o *ListTldContactSchemasResponseJsonSchemaAdminC) Validate() error
type ListTldContactSchemasResponseJsonSchemaOwnerC ¶
type ListTldContactSchemasResponseJsonSchemaOwnerC struct {
}
func (*ListTldContactSchemasResponseJsonSchemaOwnerC) Validate ¶
func (o *ListTldContactSchemasResponseJsonSchemaOwnerC) Validate() error
type ListTldsRequest ¶
type ListTldsRequest struct {
}
ListTldsRequest models a request for the 'domain-list-tlds' operation. See 1 for more information.
List TLDs.
List the top level domains currently supported by our API.
func (*ListTldsRequest) BuildRequest ¶
func (r *ListTldsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ReplaceCertificateRequest ¶
type ReplaceCertificateRequest struct {
Body ReplaceCertificateRequestBody
CertificateID string
}
ReplaceCertificateRequest models a request for the 'ssl-replace-certificate' operation. See [1] for more information.
Update a Certificate.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ssl-replace-certificate
func (*ReplaceCertificateRequest) BuildRequest ¶
func (r *ReplaceCertificateRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ReplaceCertificateRequestBody ¶
type ReplaceCertificateRequestBody struct {
Certificate string `json:"certificate"`
PrivateKey *string `json:"privateKey,omitempty"`
}
ReplaceCertificateRequestBody models the JSON body of a 'ssl-replace-certificate' request
func (*ReplaceCertificateRequestBody) Validate ¶
func (o *ReplaceCertificateRequestBody) Validate() error
type RequestIngressAcmeCertificateIssuanceRequest ¶
type RequestIngressAcmeCertificateIssuanceRequest struct {
IngressID string
}
RequestIngressAcmeCertificateIssuanceRequest models a request for the 'ingress-request-ingress-acme-certificate-issuance' operation. See [1] for more information.
Request the ACME certificate issuance of an Ingress.
func (*RequestIngressAcmeCertificateIssuanceRequest) BuildRequest ¶
func (r *RequestIngressAcmeCertificateIssuanceRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type ResendDomainEmailRequest ¶
type ResendDomainEmailRequest struct {
DomainID string
}
ResendDomainEmailRequest models a request for the 'domain-resend-domain-email' operation. See [1] for more information.
Resend a Domain email.
Trigger a resend of a confirmation or registrant verification email. Has no effect on .de Domains.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-resend-domain-email
func (*ResendDomainEmailRequest) BuildRequest ¶
func (r *ResendDomainEmailRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type SetRecordSetManagedRequest ¶
type SetRecordSetManagedRequest struct {
Body SetRecordSetManagedRequestBody
DNSZoneID string
RecordSet SetRecordSetManagedRequestPathRecordSet
}
SetRecordSetManagedRequest models a request for the 'dns-set-record-set-managed' operation. See [1] for more information.
Set a record set on a DNSZone to managed.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/dns-set-record-set-managed
func (*SetRecordSetManagedRequest) BuildRequest ¶
func (r *SetRecordSetManagedRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type SetRecordSetManagedRequestBody ¶
type SetRecordSetManagedRequestBody struct {
}
SetRecordSetManagedRequestBody models the JSON body of a 'dns-set-record-set-managed' request
func (*SetRecordSetManagedRequestBody) Validate ¶
func (o *SetRecordSetManagedRequestBody) Validate() error
type SetRecordSetManagedRequestPathRecordSet ¶
type SetRecordSetManagedRequestPathRecordSet string
const SetRecordSetManagedRequestPathRecordSetA SetRecordSetManagedRequestPathRecordSet = "a"
const SetRecordSetManagedRequestPathRecordSetMx SetRecordSetManagedRequestPathRecordSet = "mx"
func (SetRecordSetManagedRequestPathRecordSet) Validate ¶
func (e SetRecordSetManagedRequestPathRecordSet) Validate() error
type SetRecordSetManagedResponse ¶
type SetRecordSetManagedResponse struct {
IngressId *string `json:"ingressId,omitempty"`
}
func (*SetRecordSetManagedResponse) Validate ¶
func (o *SetRecordSetManagedResponse) Validate() error
type SuggestRequest ¶
SuggestRequest models a request for the 'domain-suggest' operation. See 1 for more information.
Suggest a list of domains based on a prompt using AI.
func (*SuggestRequest) BuildRequest ¶
func (r *SuggestRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateDomainAuthCodeRequest ¶
type UpdateDomainAuthCodeRequest struct {
Body UpdateDomainAuthCodeRequestBody
DomainID string
}
UpdateDomainAuthCodeRequest models a request for the 'domain-update-domain-auth-code' operation. See [1] for more information.
Update the auth code of a Domain.
Update an incorrect auth code of an ongoing/failed Domain transfer. This route will also restart the transfer itself.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-update-domain-auth-code
func (*UpdateDomainAuthCodeRequest) BuildRequest ¶
func (r *UpdateDomainAuthCodeRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateDomainAuthCodeRequestBody ¶
type UpdateDomainAuthCodeRequestBody struct {
AuthCode string `json:"authCode"`
}
UpdateDomainAuthCodeRequestBody models the JSON body of a 'domain-update-domain-auth-code' request
func (*UpdateDomainAuthCodeRequestBody) Validate ¶
func (o *UpdateDomainAuthCodeRequestBody) Validate() error
type UpdateDomainAuthCodeResponse ¶
type UpdateDomainAuthCodeResponse struct {
IsAsync *bool `json:"isAsync,omitempty"`
TransactionId *string `json:"transactionId,omitempty"`
}
func (*UpdateDomainAuthCodeResponse) Validate ¶
func (o *UpdateDomainAuthCodeResponse) Validate() error
type UpdateDomainContactRequest ¶
type UpdateDomainContactRequest struct {
Body UpdateDomainContactRequestBody
DomainID string
Contact UpdateDomainContactRequestPathContact
}
UpdateDomainContactRequest models a request for the 'domain-update-domain-contact' operation. See [1] for more information.
Update a contact of a Domain.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-update-domain-contact
func (*UpdateDomainContactRequest) BuildRequest ¶
func (r *UpdateDomainContactRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateDomainContactRequestBody ¶
type UpdateDomainContactRequestBody struct {
AvoidEmailConfirmation *bool `json:"avoidEmailConfirmation,omitempty"`
Contact []domainv2.HandleField `json:"contact"`
}
UpdateDomainContactRequestBody models the JSON body of a 'domain-update-domain-contact' request
func (*UpdateDomainContactRequestBody) Validate ¶
func (o *UpdateDomainContactRequestBody) Validate() error
type UpdateDomainContactRequestPathContact ¶
type UpdateDomainContactRequestPathContact string
const UpdateDomainContactRequestPathContactOwner UpdateDomainContactRequestPathContact = "owner"
func (UpdateDomainContactRequestPathContact) Validate ¶
func (e UpdateDomainContactRequestPathContact) Validate() error
type UpdateDomainContactResponse ¶
type UpdateDomainContactResponse struct {
IsAsync *bool `json:"isAsync,omitempty"`
TransactionId *string `json:"transactionId,omitempty"`
}
func (*UpdateDomainContactResponse) Validate ¶
func (o *UpdateDomainContactResponse) Validate() error
type UpdateDomainNameserversRequest ¶
type UpdateDomainNameserversRequest struct {
Body UpdateDomainNameserversRequestBody
DomainID string
}
UpdateDomainNameserversRequest models a request for the 'domain-update-domain-nameservers' operation. See [1] for more information.
Update the nameservers of a Domain.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-update-domain-nameservers
func (*UpdateDomainNameserversRequest) BuildRequest ¶
func (r *UpdateDomainNameserversRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateDomainNameserversRequestBody ¶
type UpdateDomainNameserversRequestBody struct {
Nameservers []string `json:"nameservers,omitempty"`
}
UpdateDomainNameserversRequestBody models the JSON body of a 'domain-update-domain-nameservers' request
func (*UpdateDomainNameserversRequestBody) Validate ¶
func (o *UpdateDomainNameserversRequestBody) Validate() error
type UpdateDomainProjectIDRequest ¶
type UpdateDomainProjectIDRequest struct {
Body UpdateDomainProjectIDRequestBody
DomainID string
}
UpdateDomainProjectIDRequest models a request for the 'domain-update-domain-project-id' operation. See [1] for more information.
Update a Domain's project id.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/domain-update-domain-project-id
func (*UpdateDomainProjectIDRequest) BuildRequest ¶
func (r *UpdateDomainProjectIDRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateDomainProjectIDRequestBody ¶
type UpdateDomainProjectIDRequestBody struct {
ProjectId *string `json:"projectId,omitempty"`
}
UpdateDomainProjectIDRequestBody models the JSON body of a 'domain-update-domain-project-id' request
func (*UpdateDomainProjectIDRequestBody) Validate ¶
func (o *UpdateDomainProjectIDRequestBody) Validate() error
type UpdateIngressPathsRequest ¶
UpdateIngressPathsRequest models a request for the 'ingress-update-ingress-paths' operation. See [1] for more information.
Update the paths of an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ingress-update-ingress-paths
func (*UpdateIngressPathsRequest) BuildRequest ¶
func (r *UpdateIngressPathsRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateIngressTLSRequest ¶
type UpdateIngressTLSRequest struct {
Body UpdateIngressTLSRequestBody
IngressID string
}
UpdateIngressTLSRequest models a request for the 'ingress-update-ingress-tls' operation. See [1] for more information.
Update the tls settings of an Ingress.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/ingress-update-ingress-tls
func (*UpdateIngressTLSRequest) BuildRequest ¶
func (r *UpdateIngressTLSRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateIngressTLSRequestBody ¶
type UpdateIngressTLSRequestBody struct {
AlternativeUpdateIngressTLSRequestBodyAlternative1 *UpdateIngressTLSRequestBodyAlternative1
AlternativeUpdateIngressTLSRequestBodyAlternative2 *UpdateIngressTLSRequestBodyAlternative2
}
func (*UpdateIngressTLSRequestBody) MarshalJSON ¶
func (a *UpdateIngressTLSRequestBody) MarshalJSON() ([]byte, error)
func (*UpdateIngressTLSRequestBody) UnmarshalJSON ¶
func (a *UpdateIngressTLSRequestBody) UnmarshalJSON(input []byte) error
func (*UpdateIngressTLSRequestBody) Validate ¶
func (a *UpdateIngressTLSRequestBody) Validate() error
type UpdateIngressTLSRequestBodyAlternative1 ¶
type UpdateIngressTLSRequestBodyAlternative1 struct {
Acme bool `json:"acme"`
IsCreated *bool `json:"isCreated,omitempty"`
RequestDeadline *time.Time `json:"requestDeadline,omitempty"`
}
func (*UpdateIngressTLSRequestBodyAlternative1) Validate ¶
func (o *UpdateIngressTLSRequestBodyAlternative1) Validate() error
type UpdateIngressTLSRequestBodyAlternative2 ¶
type UpdateIngressTLSRequestBodyAlternative2 struct {
CertificateId string `json:"certificateId"`
}
func (*UpdateIngressTLSRequestBodyAlternative2) Validate ¶
func (o *UpdateIngressTLSRequestBodyAlternative2) Validate() error
type UpdateIngressTLSResponse ¶
type UpdateIngressTLSResponse struct {
}
func (*UpdateIngressTLSResponse) Validate ¶
func (o *UpdateIngressTLSResponse) Validate() error
type UpdateRecordSetRequest ¶
type UpdateRecordSetRequest struct {
Body UpdateRecordSetRequestBody
DNSZoneID string
RecordSet UpdateRecordSetRequestPathRecordSet
}
UpdateRecordSetRequest models a request for the 'dns-update-record-set' operation. See [1] for more information.
Update a record set on a DNSZone.
[1]: https://developer.mittwald.de/docs/v2/reference/domain/dns-update-record-set
func (*UpdateRecordSetRequest) BuildRequest ¶
func (r *UpdateRecordSetRequest) BuildRequest(reqEditors ...func(req *http.Request) error) (*http.Request, error)
BuildRequest builds an *http.Request instance from this request that may be used with any regular *http.Client instance.
type UpdateRecordSetRequestBody ¶
type UpdateRecordSetRequestBody struct {
AlternativeRecordUnset *dnsv2.RecordUnset
AlternativeCombinedACustom *dnsv2.CombinedACustom
AlternativeRecordMXCustom *dnsv2.RecordMXCustom
AlternativeRecordTXTComponent *dnsv2.RecordTXTComponent
AlternativeRecordSRVComponent *dnsv2.RecordSRVComponent
AlternativeRecordCNAMEComponent *dnsv2.RecordCNAMEComponent
AlternativeRecordCAAComponent *dnsv2.RecordCAAComponent
}
func (*UpdateRecordSetRequestBody) MarshalJSON ¶
func (a *UpdateRecordSetRequestBody) MarshalJSON() ([]byte, error)
func (*UpdateRecordSetRequestBody) UnmarshalJSON ¶
func (a *UpdateRecordSetRequestBody) UnmarshalJSON(input []byte) error
func (*UpdateRecordSetRequestBody) Validate ¶
func (a *UpdateRecordSetRequestBody) Validate() error
type UpdateRecordSetRequestPathRecordSet ¶
type UpdateRecordSetRequestPathRecordSet string
const UpdateRecordSetRequestPathRecordSetA UpdateRecordSetRequestPathRecordSet = "a"
const UpdateRecordSetRequestPathRecordSetCaa UpdateRecordSetRequestPathRecordSet = "caa"
const UpdateRecordSetRequestPathRecordSetCname UpdateRecordSetRequestPathRecordSet = "cname"
const UpdateRecordSetRequestPathRecordSetMx UpdateRecordSetRequestPathRecordSet = "mx"
const UpdateRecordSetRequestPathRecordSetSrv UpdateRecordSetRequestPathRecordSet = "srv"
const UpdateRecordSetRequestPathRecordSetTxt UpdateRecordSetRequestPathRecordSet = "txt"
func (UpdateRecordSetRequestPathRecordSet) Validate ¶
func (e UpdateRecordSetRequestPathRecordSet) Validate() error
Source Files
¶
- abortdomaindeclaration_request.go
- cancelscheduleddeletion_request.go
- checkdomainregistrability_request.go
- checkdomainregistrability_request_body.go
- checkdomainregistrability_response.go
- checkdomaintransferability_request.go
- checkdomaintransferability_request_body.go
- checkdomaintransferability_response.go
- checkdomaintransferability_response_reasons.go
- checkreplacecertificate_request.go
- checkreplacecertificate_request_body.go
- client.go
- createcertificaterequest_request.go
- createcertificaterequest_request_body.go
- creatednszone_request.go
- creatednszone_request_body.go
- creatednszone_response.go
- createdomainauthcode_request.go
- createdomainauthcode_response.go
- createingress_request.go
- createingress_request_body.go
- createingress_response.go
- createscheduleddeletion_request.go
- createscheduleddeletion_request_body.go
- deletecertificate_request.go
- deletecertificaterequest_request.go
- deletednszone_request.go
- deletedomain_request.go
- deletedomain_response.go
- deleteingress_request.go
- deprecatedchangeownercofdomain_request.go
- deprecatedchangeownercofdomain_request_body.go
- deprecatedchangeownercofdomain_response.go
- deprecatedchangeprojectofdomain_request.go
- deprecatedchangeprojectofdomain_request_body.go
- deprecatedcheckdomainregistrability_request.go
- deprecatedcheckdomainregistrability_request_body.go
- deprecatedcheckdomainregistrability_response.go
- deprecateddeclarenameservers_request.go
- deprecateddeclarenameservers_request_body.go
- deprecateddeclareprocesschangeauthcode_request.go
- deprecateddeclareprocesschangeauthcode_request_body.go
- deprecateddeclareprocesschangeauthcode_response.go
- deprecateddeclareprocesschangehandles_request.go
- deprecateddeclareprocesschangehandles_request_body.go
- deprecateddeclareprocesschangehandles_response.go
- deprecatedgethandlefields_request.go
- deprecatedgethandlefields_response.go
- deprecatedgethandlefields_response_jsonschemaadminc.go
- deprecatedgethandlefields_response_jsonschemaownerc.go
- deprecatedgetscreenshotfordomain_request.go
- deprecatedgetscreenshotfordomain_request_body.go
- deprecatedgetscreenshotfordomain_response.go
- deprecatedlistdomains_request.go
- deprecatedlistingresses_request.go
- deprecatedpaths_request.go
- deprecatedrecordasetcustom_request.go
- deprecatedrecordasetcustom_request_body.go
- deprecatedrecordasetmanagedbyingress_request.go
- deprecatedrecordasetmanagedbyingress_request_body.go
- deprecatedrecordasetmanagedbyingress_response.go
- deprecatedrecordcnameset_request.go
- deprecatedrecordcnameset_request_body.go
- deprecatedrecordmxsetcustom_request.go
- deprecatedrecordmxsetcustom_request_body.go
- deprecatedrecordmxsetmanaged_request.go
- deprecatedrecordmxsetmanaged_request_body.go
- deprecatedrecordsrvset_request.go
- deprecatedrecordsrvset_request_body.go
- deprecatedrecordtxtset_request.go
- deprecatedrecordtxtset_request_body.go
- deprecatedtls_request.go
- deprecatedtls_request_body.go
- deprecatedtls_response.go
- getcertificate_request.go
- getcertificaterequest_request.go
- getdnszone_request.go
- getdomain_request.go
- getingress_request.go
- getlatestscreenshot_request.go
- getlatestscreenshot_response.go
- getzonefile_request.go
- ingressverifyownership_request.go
- ingressverifyownership_response.go
- listcertificaterequests_request.go
- listcertificates_request.go
- listdnszones_request.go
- listdomains_request.go
- listingresses_request.go
- listingressescompatiblewithcertificate_request.go
- listingressescompatiblewithcertificate_request_body.go
- listtldcontactschemas_request.go
- listtldcontactschemas_response.go
- listtldcontactschemas_response_jsonschemaadminc.go
- listtldcontactschemas_response_jsonschemaownerc.go
- listtlds_request.go
- replacecertificate_request.go
- replacecertificate_request_body.go
- requestingressacmecertificateissuance_request.go
- resenddomainemail_request.go
- setrecordsetmanaged_request.go
- setrecordsetmanaged_request_body.go
- setrecordsetmanaged_request_path_recordset.go
- setrecordsetmanaged_response.go
- suggest_request.go
- updatedomainauthcode_request.go
- updatedomainauthcode_request_body.go
- updatedomainauthcode_response.go
- updatedomaincontact_request.go
- updatedomaincontact_request_body.go
- updatedomaincontact_request_path_contact.go
- updatedomaincontact_response.go
- updatedomainnameservers_request.go
- updatedomainnameservers_request_body.go
- updatedomainprojectid_request.go
- updatedomainprojectid_request_body.go
- updateingresspaths_request.go
- updateingresstls_request.go
- updateingresstls_request_body.go
- updateingresstls_request_body_alternative1.go
- updateingresstls_request_body_alternative2.go
- updateingresstls_response.go
- updaterecordset_request.go
- updaterecordset_request_body.go
- updaterecordset_request_path_recordset.go