vanity_domains

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for vanity domains API

func (*Client) CreateVanityDomain

func (a *Client) CreateVanityDomain(params *CreateVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVanityDomainOK, error)

CreateVanityDomain creates vanity domain

Create vanity domain.

func (*Client) DeleteVanityDomain

func (a *Client) DeleteVanityDomain(params *DeleteVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVanityDomainNoContent, error)

DeleteVanityDomain deletes vanity domain

Delete vanity domain.

func (*Client) GetVanityDomain

func (a *Client) GetVanityDomain(params *GetVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVanityDomainOK, error)

GetVanityDomain gets vanity domain

Get vanity domain.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateVanityDomain

func (a *Client) UpdateVanityDomain(params *UpdateVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVanityDomainOK, error)

UpdateVanityDomain updates vanity domain

Update vanity domain.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVanityDomain(params *CreateVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVanityDomainOK, error)

	DeleteVanityDomain(params *DeleteVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVanityDomainNoContent, error)

	GetVanityDomain(params *GetVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetVanityDomainOK, error)

	UpdateVanityDomain(params *UpdateVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVanityDomainOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new vanity domains API client.

type CreateVanityDomainBadRequest

type CreateVanityDomainBadRequest struct {
	Payload *models.Error
}

CreateVanityDomainBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVanityDomainBadRequest

func NewCreateVanityDomainBadRequest() *CreateVanityDomainBadRequest

NewCreateVanityDomainBadRequest creates a CreateVanityDomainBadRequest with default headers values

func (*CreateVanityDomainBadRequest) Code

Code gets the status code for the create vanity domain bad request response

func (*CreateVanityDomainBadRequest) Error

func (*CreateVanityDomainBadRequest) GetPayload

func (o *CreateVanityDomainBadRequest) GetPayload() *models.Error

func (*CreateVanityDomainBadRequest) IsClientError

func (o *CreateVanityDomainBadRequest) IsClientError() bool

IsClientError returns true when this create vanity domain bad request response has a 4xx status code

func (*CreateVanityDomainBadRequest) IsCode

func (o *CreateVanityDomainBadRequest) IsCode(code int) bool

IsCode returns true when this create vanity domain bad request response a status code equal to that given

func (*CreateVanityDomainBadRequest) IsRedirect

func (o *CreateVanityDomainBadRequest) IsRedirect() bool

IsRedirect returns true when this create vanity domain bad request response has a 3xx status code

func (*CreateVanityDomainBadRequest) IsServerError

func (o *CreateVanityDomainBadRequest) IsServerError() bool

IsServerError returns true when this create vanity domain bad request response has a 5xx status code

func (*CreateVanityDomainBadRequest) IsSuccess

func (o *CreateVanityDomainBadRequest) IsSuccess() bool

IsSuccess returns true when this create vanity domain bad request response has a 2xx status code

func (*CreateVanityDomainBadRequest) String

type CreateVanityDomainConflict

type CreateVanityDomainConflict struct {
	Payload *models.Error
}

CreateVanityDomainConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateVanityDomainConflict

func NewCreateVanityDomainConflict() *CreateVanityDomainConflict

NewCreateVanityDomainConflict creates a CreateVanityDomainConflict with default headers values

func (*CreateVanityDomainConflict) Code

func (o *CreateVanityDomainConflict) Code() int

Code gets the status code for the create vanity domain conflict response

func (*CreateVanityDomainConflict) Error

func (*CreateVanityDomainConflict) GetPayload

func (o *CreateVanityDomainConflict) GetPayload() *models.Error

func (*CreateVanityDomainConflict) IsClientError

func (o *CreateVanityDomainConflict) IsClientError() bool

IsClientError returns true when this create vanity domain conflict response has a 4xx status code

func (*CreateVanityDomainConflict) IsCode

func (o *CreateVanityDomainConflict) IsCode(code int) bool

IsCode returns true when this create vanity domain conflict response a status code equal to that given

func (*CreateVanityDomainConflict) IsRedirect

func (o *CreateVanityDomainConflict) IsRedirect() bool

IsRedirect returns true when this create vanity domain conflict response has a 3xx status code

func (*CreateVanityDomainConflict) IsServerError

func (o *CreateVanityDomainConflict) IsServerError() bool

IsServerError returns true when this create vanity domain conflict response has a 5xx status code

func (*CreateVanityDomainConflict) IsSuccess

func (o *CreateVanityDomainConflict) IsSuccess() bool

IsSuccess returns true when this create vanity domain conflict response has a 2xx status code

func (*CreateVanityDomainConflict) String

func (o *CreateVanityDomainConflict) String() string

type CreateVanityDomainForbidden

type CreateVanityDomainForbidden struct {
	Payload *models.Error
}

CreateVanityDomainForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateVanityDomainForbidden

func NewCreateVanityDomainForbidden() *CreateVanityDomainForbidden

NewCreateVanityDomainForbidden creates a CreateVanityDomainForbidden with default headers values

func (*CreateVanityDomainForbidden) Code

func (o *CreateVanityDomainForbidden) Code() int

Code gets the status code for the create vanity domain forbidden response

func (*CreateVanityDomainForbidden) Error

func (*CreateVanityDomainForbidden) GetPayload

func (o *CreateVanityDomainForbidden) GetPayload() *models.Error

func (*CreateVanityDomainForbidden) IsClientError

func (o *CreateVanityDomainForbidden) IsClientError() bool

IsClientError returns true when this create vanity domain forbidden response has a 4xx status code

func (*CreateVanityDomainForbidden) IsCode

func (o *CreateVanityDomainForbidden) IsCode(code int) bool

IsCode returns true when this create vanity domain forbidden response a status code equal to that given

func (*CreateVanityDomainForbidden) IsRedirect

func (o *CreateVanityDomainForbidden) IsRedirect() bool

IsRedirect returns true when this create vanity domain forbidden response has a 3xx status code

func (*CreateVanityDomainForbidden) IsServerError

func (o *CreateVanityDomainForbidden) IsServerError() bool

IsServerError returns true when this create vanity domain forbidden response has a 5xx status code

func (*CreateVanityDomainForbidden) IsSuccess

func (o *CreateVanityDomainForbidden) IsSuccess() bool

IsSuccess returns true when this create vanity domain forbidden response has a 2xx status code

func (*CreateVanityDomainForbidden) String

func (o *CreateVanityDomainForbidden) String() string

type CreateVanityDomainNotFound

type CreateVanityDomainNotFound struct {
	Payload *models.Error
}

CreateVanityDomainNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVanityDomainNotFound

func NewCreateVanityDomainNotFound() *CreateVanityDomainNotFound

NewCreateVanityDomainNotFound creates a CreateVanityDomainNotFound with default headers values

func (*CreateVanityDomainNotFound) Code

func (o *CreateVanityDomainNotFound) Code() int

Code gets the status code for the create vanity domain not found response

func (*CreateVanityDomainNotFound) Error

func (*CreateVanityDomainNotFound) GetPayload

func (o *CreateVanityDomainNotFound) GetPayload() *models.Error

func (*CreateVanityDomainNotFound) IsClientError

func (o *CreateVanityDomainNotFound) IsClientError() bool

IsClientError returns true when this create vanity domain not found response has a 4xx status code

func (*CreateVanityDomainNotFound) IsCode

func (o *CreateVanityDomainNotFound) IsCode(code int) bool

IsCode returns true when this create vanity domain not found response a status code equal to that given

func (*CreateVanityDomainNotFound) IsRedirect

func (o *CreateVanityDomainNotFound) IsRedirect() bool

IsRedirect returns true when this create vanity domain not found response has a 3xx status code

func (*CreateVanityDomainNotFound) IsServerError

func (o *CreateVanityDomainNotFound) IsServerError() bool

IsServerError returns true when this create vanity domain not found response has a 5xx status code

func (*CreateVanityDomainNotFound) IsSuccess

func (o *CreateVanityDomainNotFound) IsSuccess() bool

IsSuccess returns true when this create vanity domain not found response has a 2xx status code

func (*CreateVanityDomainNotFound) String

func (o *CreateVanityDomainNotFound) String() string

type CreateVanityDomainOK

type CreateVanityDomainOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.VanityDomain
}

CreateVanityDomainOK describes a response with status code 200, with default header values.

Vanity domain

func NewCreateVanityDomainOK

func NewCreateVanityDomainOK() *CreateVanityDomainOK

NewCreateVanityDomainOK creates a CreateVanityDomainOK with default headers values

func (*CreateVanityDomainOK) Code

func (o *CreateVanityDomainOK) Code() int

Code gets the status code for the create vanity domain o k response

func (*CreateVanityDomainOK) Error

func (o *CreateVanityDomainOK) Error() string

func (*CreateVanityDomainOK) GetPayload

func (o *CreateVanityDomainOK) GetPayload() *models.VanityDomain

func (*CreateVanityDomainOK) IsClientError

func (o *CreateVanityDomainOK) IsClientError() bool

IsClientError returns true when this create vanity domain o k response has a 4xx status code

func (*CreateVanityDomainOK) IsCode

func (o *CreateVanityDomainOK) IsCode(code int) bool

IsCode returns true when this create vanity domain o k response a status code equal to that given

func (*CreateVanityDomainOK) IsRedirect

func (o *CreateVanityDomainOK) IsRedirect() bool

IsRedirect returns true when this create vanity domain o k response has a 3xx status code

func (*CreateVanityDomainOK) IsServerError

func (o *CreateVanityDomainOK) IsServerError() bool

IsServerError returns true when this create vanity domain o k response has a 5xx status code

func (*CreateVanityDomainOK) IsSuccess

func (o *CreateVanityDomainOK) IsSuccess() bool

IsSuccess returns true when this create vanity domain o k response has a 2xx status code

func (*CreateVanityDomainOK) String

func (o *CreateVanityDomainOK) String() string

type CreateVanityDomainParams

type CreateVanityDomainParams struct {

	// VanityDomain.
	VanityDomain *models.VanityDomain

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVanityDomainParams contains all the parameters to send to the API endpoint

for the create vanity domain operation.

Typically these are written to a http.Request.

func NewCreateVanityDomainParams

func NewCreateVanityDomainParams() *CreateVanityDomainParams

NewCreateVanityDomainParams creates a new CreateVanityDomainParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateVanityDomainParamsWithContext

func NewCreateVanityDomainParamsWithContext(ctx context.Context) *CreateVanityDomainParams

NewCreateVanityDomainParamsWithContext creates a new CreateVanityDomainParams object with the ability to set a context for a request.

func NewCreateVanityDomainParamsWithHTTPClient

func NewCreateVanityDomainParamsWithHTTPClient(client *http.Client) *CreateVanityDomainParams

NewCreateVanityDomainParamsWithHTTPClient creates a new CreateVanityDomainParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVanityDomainParamsWithTimeout

func NewCreateVanityDomainParamsWithTimeout(timeout time.Duration) *CreateVanityDomainParams

NewCreateVanityDomainParamsWithTimeout creates a new CreateVanityDomainParams object with the ability to set a timeout on a request.

func (*CreateVanityDomainParams) SetContext

func (o *CreateVanityDomainParams) SetContext(ctx context.Context)

SetContext adds the context to the create vanity domain params

func (*CreateVanityDomainParams) SetDefaults

func (o *CreateVanityDomainParams) SetDefaults()

SetDefaults hydrates default values in the create vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVanityDomainParams) SetHTTPClient

func (o *CreateVanityDomainParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create vanity domain params

func (*CreateVanityDomainParams) SetIfMatch

func (o *CreateVanityDomainParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create vanity domain params

func (*CreateVanityDomainParams) SetTimeout

func (o *CreateVanityDomainParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create vanity domain params

func (*CreateVanityDomainParams) SetVanityDomain

func (o *CreateVanityDomainParams) SetVanityDomain(vanityDomain *models.VanityDomain)

SetVanityDomain adds the vanityDomain to the create vanity domain params

func (*CreateVanityDomainParams) WithContext

WithContext adds the context to the create vanity domain params

func (*CreateVanityDomainParams) WithDefaults

WithDefaults hydrates default values in the create vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVanityDomainParams) WithHTTPClient

func (o *CreateVanityDomainParams) WithHTTPClient(client *http.Client) *CreateVanityDomainParams

WithHTTPClient adds the HTTPClient to the create vanity domain params

func (*CreateVanityDomainParams) WithIfMatch

func (o *CreateVanityDomainParams) WithIfMatch(ifMatch *string) *CreateVanityDomainParams

WithIfMatch adds the ifMatch to the create vanity domain params

func (*CreateVanityDomainParams) WithTimeout

WithTimeout adds the timeout to the create vanity domain params

func (*CreateVanityDomainParams) WithVanityDomain

func (o *CreateVanityDomainParams) WithVanityDomain(vanityDomain *models.VanityDomain) *CreateVanityDomainParams

WithVanityDomain adds the vanityDomain to the create vanity domain params

func (*CreateVanityDomainParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVanityDomainReader

type CreateVanityDomainReader struct {
	// contains filtered or unexported fields
}

CreateVanityDomainReader is a Reader for the CreateVanityDomain structure.

func (*CreateVanityDomainReader) ReadResponse

func (o *CreateVanityDomainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateVanityDomainTooManyRequests

type CreateVanityDomainTooManyRequests struct {
	Payload *models.Error
}

CreateVanityDomainTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCreateVanityDomainTooManyRequests

func NewCreateVanityDomainTooManyRequests() *CreateVanityDomainTooManyRequests

NewCreateVanityDomainTooManyRequests creates a CreateVanityDomainTooManyRequests with default headers values

func (*CreateVanityDomainTooManyRequests) Code

Code gets the status code for the create vanity domain too many requests response

func (*CreateVanityDomainTooManyRequests) Error

func (*CreateVanityDomainTooManyRequests) GetPayload

func (*CreateVanityDomainTooManyRequests) IsClientError

func (o *CreateVanityDomainTooManyRequests) IsClientError() bool

IsClientError returns true when this create vanity domain too many requests response has a 4xx status code

func (*CreateVanityDomainTooManyRequests) IsCode

func (o *CreateVanityDomainTooManyRequests) IsCode(code int) bool

IsCode returns true when this create vanity domain too many requests response a status code equal to that given

func (*CreateVanityDomainTooManyRequests) IsRedirect

func (o *CreateVanityDomainTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create vanity domain too many requests response has a 3xx status code

func (*CreateVanityDomainTooManyRequests) IsServerError

func (o *CreateVanityDomainTooManyRequests) IsServerError() bool

IsServerError returns true when this create vanity domain too many requests response has a 5xx status code

func (*CreateVanityDomainTooManyRequests) IsSuccess

func (o *CreateVanityDomainTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create vanity domain too many requests response has a 2xx status code

func (*CreateVanityDomainTooManyRequests) String

type CreateVanityDomainUnauthorized

type CreateVanityDomainUnauthorized struct {
	Payload *models.Error
}

CreateVanityDomainUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateVanityDomainUnauthorized

func NewCreateVanityDomainUnauthorized() *CreateVanityDomainUnauthorized

NewCreateVanityDomainUnauthorized creates a CreateVanityDomainUnauthorized with default headers values

func (*CreateVanityDomainUnauthorized) Code

Code gets the status code for the create vanity domain unauthorized response

func (*CreateVanityDomainUnauthorized) Error

func (*CreateVanityDomainUnauthorized) GetPayload

func (o *CreateVanityDomainUnauthorized) GetPayload() *models.Error

func (*CreateVanityDomainUnauthorized) IsClientError

func (o *CreateVanityDomainUnauthorized) IsClientError() bool

IsClientError returns true when this create vanity domain unauthorized response has a 4xx status code

func (*CreateVanityDomainUnauthorized) IsCode

func (o *CreateVanityDomainUnauthorized) IsCode(code int) bool

IsCode returns true when this create vanity domain unauthorized response a status code equal to that given

func (*CreateVanityDomainUnauthorized) IsRedirect

func (o *CreateVanityDomainUnauthorized) IsRedirect() bool

IsRedirect returns true when this create vanity domain unauthorized response has a 3xx status code

func (*CreateVanityDomainUnauthorized) IsServerError

func (o *CreateVanityDomainUnauthorized) IsServerError() bool

IsServerError returns true when this create vanity domain unauthorized response has a 5xx status code

func (*CreateVanityDomainUnauthorized) IsSuccess

func (o *CreateVanityDomainUnauthorized) IsSuccess() bool

IsSuccess returns true when this create vanity domain unauthorized response has a 2xx status code

func (*CreateVanityDomainUnauthorized) String

type CreateVanityDomainUnprocessableEntity

type CreateVanityDomainUnprocessableEntity struct {
	Payload *models.Error
}

CreateVanityDomainUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateVanityDomainUnprocessableEntity

func NewCreateVanityDomainUnprocessableEntity() *CreateVanityDomainUnprocessableEntity

NewCreateVanityDomainUnprocessableEntity creates a CreateVanityDomainUnprocessableEntity with default headers values

func (*CreateVanityDomainUnprocessableEntity) Code

Code gets the status code for the create vanity domain unprocessable entity response

func (*CreateVanityDomainUnprocessableEntity) Error

func (*CreateVanityDomainUnprocessableEntity) GetPayload

func (*CreateVanityDomainUnprocessableEntity) IsClientError

func (o *CreateVanityDomainUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create vanity domain unprocessable entity response has a 4xx status code

func (*CreateVanityDomainUnprocessableEntity) IsCode

IsCode returns true when this create vanity domain unprocessable entity response a status code equal to that given

func (*CreateVanityDomainUnprocessableEntity) IsRedirect

IsRedirect returns true when this create vanity domain unprocessable entity response has a 3xx status code

func (*CreateVanityDomainUnprocessableEntity) IsServerError

func (o *CreateVanityDomainUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create vanity domain unprocessable entity response has a 5xx status code

func (*CreateVanityDomainUnprocessableEntity) IsSuccess

IsSuccess returns true when this create vanity domain unprocessable entity response has a 2xx status code

func (*CreateVanityDomainUnprocessableEntity) String

type DeleteVanityDomainForbidden

type DeleteVanityDomainForbidden struct {
	Payload *models.Error
}

DeleteVanityDomainForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteVanityDomainForbidden

func NewDeleteVanityDomainForbidden() *DeleteVanityDomainForbidden

NewDeleteVanityDomainForbidden creates a DeleteVanityDomainForbidden with default headers values

func (*DeleteVanityDomainForbidden) Code

func (o *DeleteVanityDomainForbidden) Code() int

Code gets the status code for the delete vanity domain forbidden response

func (*DeleteVanityDomainForbidden) Error

func (*DeleteVanityDomainForbidden) GetPayload

func (o *DeleteVanityDomainForbidden) GetPayload() *models.Error

func (*DeleteVanityDomainForbidden) IsClientError

func (o *DeleteVanityDomainForbidden) IsClientError() bool

IsClientError returns true when this delete vanity domain forbidden response has a 4xx status code

func (*DeleteVanityDomainForbidden) IsCode

func (o *DeleteVanityDomainForbidden) IsCode(code int) bool

IsCode returns true when this delete vanity domain forbidden response a status code equal to that given

func (*DeleteVanityDomainForbidden) IsRedirect

func (o *DeleteVanityDomainForbidden) IsRedirect() bool

IsRedirect returns true when this delete vanity domain forbidden response has a 3xx status code

func (*DeleteVanityDomainForbidden) IsServerError

func (o *DeleteVanityDomainForbidden) IsServerError() bool

IsServerError returns true when this delete vanity domain forbidden response has a 5xx status code

func (*DeleteVanityDomainForbidden) IsSuccess

func (o *DeleteVanityDomainForbidden) IsSuccess() bool

IsSuccess returns true when this delete vanity domain forbidden response has a 2xx status code

func (*DeleteVanityDomainForbidden) String

func (o *DeleteVanityDomainForbidden) String() string

type DeleteVanityDomainNoContent

type DeleteVanityDomainNoContent struct {
}

DeleteVanityDomainNoContent describes a response with status code 204, with default header values.

Vanity domain has been deleted

func NewDeleteVanityDomainNoContent

func NewDeleteVanityDomainNoContent() *DeleteVanityDomainNoContent

NewDeleteVanityDomainNoContent creates a DeleteVanityDomainNoContent with default headers values

func (*DeleteVanityDomainNoContent) Code

func (o *DeleteVanityDomainNoContent) Code() int

Code gets the status code for the delete vanity domain no content response

func (*DeleteVanityDomainNoContent) Error

func (*DeleteVanityDomainNoContent) IsClientError

func (o *DeleteVanityDomainNoContent) IsClientError() bool

IsClientError returns true when this delete vanity domain no content response has a 4xx status code

func (*DeleteVanityDomainNoContent) IsCode

func (o *DeleteVanityDomainNoContent) IsCode(code int) bool

IsCode returns true when this delete vanity domain no content response a status code equal to that given

func (*DeleteVanityDomainNoContent) IsRedirect

func (o *DeleteVanityDomainNoContent) IsRedirect() bool

IsRedirect returns true when this delete vanity domain no content response has a 3xx status code

func (*DeleteVanityDomainNoContent) IsServerError

func (o *DeleteVanityDomainNoContent) IsServerError() bool

IsServerError returns true when this delete vanity domain no content response has a 5xx status code

func (*DeleteVanityDomainNoContent) IsSuccess

func (o *DeleteVanityDomainNoContent) IsSuccess() bool

IsSuccess returns true when this delete vanity domain no content response has a 2xx status code

func (*DeleteVanityDomainNoContent) String

func (o *DeleteVanityDomainNoContent) String() string

type DeleteVanityDomainNotFound

type DeleteVanityDomainNotFound struct {
	Payload *models.Error
}

DeleteVanityDomainNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteVanityDomainNotFound

func NewDeleteVanityDomainNotFound() *DeleteVanityDomainNotFound

NewDeleteVanityDomainNotFound creates a DeleteVanityDomainNotFound with default headers values

func (*DeleteVanityDomainNotFound) Code

func (o *DeleteVanityDomainNotFound) Code() int

Code gets the status code for the delete vanity domain not found response

func (*DeleteVanityDomainNotFound) Error

func (*DeleteVanityDomainNotFound) GetPayload

func (o *DeleteVanityDomainNotFound) GetPayload() *models.Error

func (*DeleteVanityDomainNotFound) IsClientError

func (o *DeleteVanityDomainNotFound) IsClientError() bool

IsClientError returns true when this delete vanity domain not found response has a 4xx status code

func (*DeleteVanityDomainNotFound) IsCode

func (o *DeleteVanityDomainNotFound) IsCode(code int) bool

IsCode returns true when this delete vanity domain not found response a status code equal to that given

func (*DeleteVanityDomainNotFound) IsRedirect

func (o *DeleteVanityDomainNotFound) IsRedirect() bool

IsRedirect returns true when this delete vanity domain not found response has a 3xx status code

func (*DeleteVanityDomainNotFound) IsServerError

func (o *DeleteVanityDomainNotFound) IsServerError() bool

IsServerError returns true when this delete vanity domain not found response has a 5xx status code

func (*DeleteVanityDomainNotFound) IsSuccess

func (o *DeleteVanityDomainNotFound) IsSuccess() bool

IsSuccess returns true when this delete vanity domain not found response has a 2xx status code

func (*DeleteVanityDomainNotFound) String

func (o *DeleteVanityDomainNotFound) String() string

type DeleteVanityDomainParams

type DeleteVanityDomainParams struct {

	// VanityDomain.
	VanityDomain *models.VanityDomain

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVanityDomainParams contains all the parameters to send to the API endpoint

for the delete vanity domain operation.

Typically these are written to a http.Request.

func NewDeleteVanityDomainParams

func NewDeleteVanityDomainParams() *DeleteVanityDomainParams

NewDeleteVanityDomainParams creates a new DeleteVanityDomainParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteVanityDomainParamsWithContext

func NewDeleteVanityDomainParamsWithContext(ctx context.Context) *DeleteVanityDomainParams

NewDeleteVanityDomainParamsWithContext creates a new DeleteVanityDomainParams object with the ability to set a context for a request.

func NewDeleteVanityDomainParamsWithHTTPClient

func NewDeleteVanityDomainParamsWithHTTPClient(client *http.Client) *DeleteVanityDomainParams

NewDeleteVanityDomainParamsWithHTTPClient creates a new DeleteVanityDomainParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVanityDomainParamsWithTimeout

func NewDeleteVanityDomainParamsWithTimeout(timeout time.Duration) *DeleteVanityDomainParams

NewDeleteVanityDomainParamsWithTimeout creates a new DeleteVanityDomainParams object with the ability to set a timeout on a request.

func (*DeleteVanityDomainParams) SetContext

func (o *DeleteVanityDomainParams) SetContext(ctx context.Context)

SetContext adds the context to the delete vanity domain params

func (*DeleteVanityDomainParams) SetDefaults

func (o *DeleteVanityDomainParams) SetDefaults()

SetDefaults hydrates default values in the delete vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVanityDomainParams) SetHTTPClient

func (o *DeleteVanityDomainParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete vanity domain params

func (*DeleteVanityDomainParams) SetIfMatch

func (o *DeleteVanityDomainParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete vanity domain params

func (*DeleteVanityDomainParams) SetTimeout

func (o *DeleteVanityDomainParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete vanity domain params

func (*DeleteVanityDomainParams) SetVanityDomain

func (o *DeleteVanityDomainParams) SetVanityDomain(vanityDomain *models.VanityDomain)

SetVanityDomain adds the vanityDomain to the delete vanity domain params

func (*DeleteVanityDomainParams) WithContext

WithContext adds the context to the delete vanity domain params

func (*DeleteVanityDomainParams) WithDefaults

WithDefaults hydrates default values in the delete vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVanityDomainParams) WithHTTPClient

func (o *DeleteVanityDomainParams) WithHTTPClient(client *http.Client) *DeleteVanityDomainParams

WithHTTPClient adds the HTTPClient to the delete vanity domain params

func (*DeleteVanityDomainParams) WithIfMatch

func (o *DeleteVanityDomainParams) WithIfMatch(ifMatch *string) *DeleteVanityDomainParams

WithIfMatch adds the ifMatch to the delete vanity domain params

func (*DeleteVanityDomainParams) WithTimeout

WithTimeout adds the timeout to the delete vanity domain params

func (*DeleteVanityDomainParams) WithVanityDomain

func (o *DeleteVanityDomainParams) WithVanityDomain(vanityDomain *models.VanityDomain) *DeleteVanityDomainParams

WithVanityDomain adds the vanityDomain to the delete vanity domain params

func (*DeleteVanityDomainParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVanityDomainReader

type DeleteVanityDomainReader struct {
	// contains filtered or unexported fields
}

DeleteVanityDomainReader is a Reader for the DeleteVanityDomain structure.

func (*DeleteVanityDomainReader) ReadResponse

func (o *DeleteVanityDomainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVanityDomainTooManyRequests

type DeleteVanityDomainTooManyRequests struct {
	Payload *models.Error
}

DeleteVanityDomainTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewDeleteVanityDomainTooManyRequests

func NewDeleteVanityDomainTooManyRequests() *DeleteVanityDomainTooManyRequests

NewDeleteVanityDomainTooManyRequests creates a DeleteVanityDomainTooManyRequests with default headers values

func (*DeleteVanityDomainTooManyRequests) Code

Code gets the status code for the delete vanity domain too many requests response

func (*DeleteVanityDomainTooManyRequests) Error

func (*DeleteVanityDomainTooManyRequests) GetPayload

func (*DeleteVanityDomainTooManyRequests) IsClientError

func (o *DeleteVanityDomainTooManyRequests) IsClientError() bool

IsClientError returns true when this delete vanity domain too many requests response has a 4xx status code

func (*DeleteVanityDomainTooManyRequests) IsCode

func (o *DeleteVanityDomainTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete vanity domain too many requests response a status code equal to that given

func (*DeleteVanityDomainTooManyRequests) IsRedirect

func (o *DeleteVanityDomainTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete vanity domain too many requests response has a 3xx status code

func (*DeleteVanityDomainTooManyRequests) IsServerError

func (o *DeleteVanityDomainTooManyRequests) IsServerError() bool

IsServerError returns true when this delete vanity domain too many requests response has a 5xx status code

func (*DeleteVanityDomainTooManyRequests) IsSuccess

func (o *DeleteVanityDomainTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete vanity domain too many requests response has a 2xx status code

func (*DeleteVanityDomainTooManyRequests) String

type DeleteVanityDomainUnauthorized

type DeleteVanityDomainUnauthorized struct {
	Payload *models.Error
}

DeleteVanityDomainUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteVanityDomainUnauthorized

func NewDeleteVanityDomainUnauthorized() *DeleteVanityDomainUnauthorized

NewDeleteVanityDomainUnauthorized creates a DeleteVanityDomainUnauthorized with default headers values

func (*DeleteVanityDomainUnauthorized) Code

Code gets the status code for the delete vanity domain unauthorized response

func (*DeleteVanityDomainUnauthorized) Error

func (*DeleteVanityDomainUnauthorized) GetPayload

func (o *DeleteVanityDomainUnauthorized) GetPayload() *models.Error

func (*DeleteVanityDomainUnauthorized) IsClientError

func (o *DeleteVanityDomainUnauthorized) IsClientError() bool

IsClientError returns true when this delete vanity domain unauthorized response has a 4xx status code

func (*DeleteVanityDomainUnauthorized) IsCode

func (o *DeleteVanityDomainUnauthorized) IsCode(code int) bool

IsCode returns true when this delete vanity domain unauthorized response a status code equal to that given

func (*DeleteVanityDomainUnauthorized) IsRedirect

func (o *DeleteVanityDomainUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete vanity domain unauthorized response has a 3xx status code

func (*DeleteVanityDomainUnauthorized) IsServerError

func (o *DeleteVanityDomainUnauthorized) IsServerError() bool

IsServerError returns true when this delete vanity domain unauthorized response has a 5xx status code

func (*DeleteVanityDomainUnauthorized) IsSuccess

func (o *DeleteVanityDomainUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete vanity domain unauthorized response has a 2xx status code

func (*DeleteVanityDomainUnauthorized) String

type GetVanityDomainForbidden

type GetVanityDomainForbidden struct {
	Payload *models.Error
}

GetVanityDomainForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetVanityDomainForbidden

func NewGetVanityDomainForbidden() *GetVanityDomainForbidden

NewGetVanityDomainForbidden creates a GetVanityDomainForbidden with default headers values

func (*GetVanityDomainForbidden) Code

func (o *GetVanityDomainForbidden) Code() int

Code gets the status code for the get vanity domain forbidden response

func (*GetVanityDomainForbidden) Error

func (o *GetVanityDomainForbidden) Error() string

func (*GetVanityDomainForbidden) GetPayload

func (o *GetVanityDomainForbidden) GetPayload() *models.Error

func (*GetVanityDomainForbidden) IsClientError

func (o *GetVanityDomainForbidden) IsClientError() bool

IsClientError returns true when this get vanity domain forbidden response has a 4xx status code

func (*GetVanityDomainForbidden) IsCode

func (o *GetVanityDomainForbidden) IsCode(code int) bool

IsCode returns true when this get vanity domain forbidden response a status code equal to that given

func (*GetVanityDomainForbidden) IsRedirect

func (o *GetVanityDomainForbidden) IsRedirect() bool

IsRedirect returns true when this get vanity domain forbidden response has a 3xx status code

func (*GetVanityDomainForbidden) IsServerError

func (o *GetVanityDomainForbidden) IsServerError() bool

IsServerError returns true when this get vanity domain forbidden response has a 5xx status code

func (*GetVanityDomainForbidden) IsSuccess

func (o *GetVanityDomainForbidden) IsSuccess() bool

IsSuccess returns true when this get vanity domain forbidden response has a 2xx status code

func (*GetVanityDomainForbidden) String

func (o *GetVanityDomainForbidden) String() string

type GetVanityDomainNotFound

type GetVanityDomainNotFound struct {
	Payload *models.Error
}

GetVanityDomainNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVanityDomainNotFound

func NewGetVanityDomainNotFound() *GetVanityDomainNotFound

NewGetVanityDomainNotFound creates a GetVanityDomainNotFound with default headers values

func (*GetVanityDomainNotFound) Code

func (o *GetVanityDomainNotFound) Code() int

Code gets the status code for the get vanity domain not found response

func (*GetVanityDomainNotFound) Error

func (o *GetVanityDomainNotFound) Error() string

func (*GetVanityDomainNotFound) GetPayload

func (o *GetVanityDomainNotFound) GetPayload() *models.Error

func (*GetVanityDomainNotFound) IsClientError

func (o *GetVanityDomainNotFound) IsClientError() bool

IsClientError returns true when this get vanity domain not found response has a 4xx status code

func (*GetVanityDomainNotFound) IsCode

func (o *GetVanityDomainNotFound) IsCode(code int) bool

IsCode returns true when this get vanity domain not found response a status code equal to that given

func (*GetVanityDomainNotFound) IsRedirect

func (o *GetVanityDomainNotFound) IsRedirect() bool

IsRedirect returns true when this get vanity domain not found response has a 3xx status code

func (*GetVanityDomainNotFound) IsServerError

func (o *GetVanityDomainNotFound) IsServerError() bool

IsServerError returns true when this get vanity domain not found response has a 5xx status code

func (*GetVanityDomainNotFound) IsSuccess

func (o *GetVanityDomainNotFound) IsSuccess() bool

IsSuccess returns true when this get vanity domain not found response has a 2xx status code

func (*GetVanityDomainNotFound) String

func (o *GetVanityDomainNotFound) String() string

type GetVanityDomainOK

type GetVanityDomainOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.VanityDomain
}

GetVanityDomainOK describes a response with status code 200, with default header values.

Vanity domain

func NewGetVanityDomainOK

func NewGetVanityDomainOK() *GetVanityDomainOK

NewGetVanityDomainOK creates a GetVanityDomainOK with default headers values

func (*GetVanityDomainOK) Code

func (o *GetVanityDomainOK) Code() int

Code gets the status code for the get vanity domain o k response

func (*GetVanityDomainOK) Error

func (o *GetVanityDomainOK) Error() string

func (*GetVanityDomainOK) GetPayload

func (o *GetVanityDomainOK) GetPayload() *models.VanityDomain

func (*GetVanityDomainOK) IsClientError

func (o *GetVanityDomainOK) IsClientError() bool

IsClientError returns true when this get vanity domain o k response has a 4xx status code

func (*GetVanityDomainOK) IsCode

func (o *GetVanityDomainOK) IsCode(code int) bool

IsCode returns true when this get vanity domain o k response a status code equal to that given

func (*GetVanityDomainOK) IsRedirect

func (o *GetVanityDomainOK) IsRedirect() bool

IsRedirect returns true when this get vanity domain o k response has a 3xx status code

func (*GetVanityDomainOK) IsServerError

func (o *GetVanityDomainOK) IsServerError() bool

IsServerError returns true when this get vanity domain o k response has a 5xx status code

func (*GetVanityDomainOK) IsSuccess

func (o *GetVanityDomainOK) IsSuccess() bool

IsSuccess returns true when this get vanity domain o k response has a 2xx status code

func (*GetVanityDomainOK) String

func (o *GetVanityDomainOK) String() string

type GetVanityDomainParams

type GetVanityDomainParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* ServerID.

	   Get vanity domain for a given server
	*/
	ServerID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVanityDomainParams contains all the parameters to send to the API endpoint

for the get vanity domain operation.

Typically these are written to a http.Request.

func NewGetVanityDomainParams

func NewGetVanityDomainParams() *GetVanityDomainParams

NewGetVanityDomainParams creates a new GetVanityDomainParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVanityDomainParamsWithContext

func NewGetVanityDomainParamsWithContext(ctx context.Context) *GetVanityDomainParams

NewGetVanityDomainParamsWithContext creates a new GetVanityDomainParams object with the ability to set a context for a request.

func NewGetVanityDomainParamsWithHTTPClient

func NewGetVanityDomainParamsWithHTTPClient(client *http.Client) *GetVanityDomainParams

NewGetVanityDomainParamsWithHTTPClient creates a new GetVanityDomainParams object with the ability to set a custom HTTPClient for a request.

func NewGetVanityDomainParamsWithTimeout

func NewGetVanityDomainParamsWithTimeout(timeout time.Duration) *GetVanityDomainParams

NewGetVanityDomainParamsWithTimeout creates a new GetVanityDomainParams object with the ability to set a timeout on a request.

func (*GetVanityDomainParams) SetContext

func (o *GetVanityDomainParams) SetContext(ctx context.Context)

SetContext adds the context to the get vanity domain params

func (*GetVanityDomainParams) SetDefaults

func (o *GetVanityDomainParams) SetDefaults()

SetDefaults hydrates default values in the get vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*GetVanityDomainParams) SetHTTPClient

func (o *GetVanityDomainParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vanity domain params

func (*GetVanityDomainParams) SetIfMatch

func (o *GetVanityDomainParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get vanity domain params

func (*GetVanityDomainParams) SetServerID

func (o *GetVanityDomainParams) SetServerID(serverID *string)

SetServerID adds the serverId to the get vanity domain params

func (*GetVanityDomainParams) SetTimeout

func (o *GetVanityDomainParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vanity domain params

func (*GetVanityDomainParams) WithContext

WithContext adds the context to the get vanity domain params

func (*GetVanityDomainParams) WithDefaults

func (o *GetVanityDomainParams) WithDefaults() *GetVanityDomainParams

WithDefaults hydrates default values in the get vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*GetVanityDomainParams) WithHTTPClient

func (o *GetVanityDomainParams) WithHTTPClient(client *http.Client) *GetVanityDomainParams

WithHTTPClient adds the HTTPClient to the get vanity domain params

func (*GetVanityDomainParams) WithIfMatch

func (o *GetVanityDomainParams) WithIfMatch(ifMatch *string) *GetVanityDomainParams

WithIfMatch adds the ifMatch to the get vanity domain params

func (*GetVanityDomainParams) WithServerID

func (o *GetVanityDomainParams) WithServerID(serverID *string) *GetVanityDomainParams

WithServerID adds the serverID to the get vanity domain params

func (*GetVanityDomainParams) WithTimeout

func (o *GetVanityDomainParams) WithTimeout(timeout time.Duration) *GetVanityDomainParams

WithTimeout adds the timeout to the get vanity domain params

func (*GetVanityDomainParams) WriteToRequest

func (o *GetVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVanityDomainReader

type GetVanityDomainReader struct {
	// contains filtered or unexported fields
}

GetVanityDomainReader is a Reader for the GetVanityDomain structure.

func (*GetVanityDomainReader) ReadResponse

func (o *GetVanityDomainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVanityDomainTooManyRequests

type GetVanityDomainTooManyRequests struct {
	Payload *models.Error
}

GetVanityDomainTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetVanityDomainTooManyRequests

func NewGetVanityDomainTooManyRequests() *GetVanityDomainTooManyRequests

NewGetVanityDomainTooManyRequests creates a GetVanityDomainTooManyRequests with default headers values

func (*GetVanityDomainTooManyRequests) Code

Code gets the status code for the get vanity domain too many requests response

func (*GetVanityDomainTooManyRequests) Error

func (*GetVanityDomainTooManyRequests) GetPayload

func (o *GetVanityDomainTooManyRequests) GetPayload() *models.Error

func (*GetVanityDomainTooManyRequests) IsClientError

func (o *GetVanityDomainTooManyRequests) IsClientError() bool

IsClientError returns true when this get vanity domain too many requests response has a 4xx status code

func (*GetVanityDomainTooManyRequests) IsCode

func (o *GetVanityDomainTooManyRequests) IsCode(code int) bool

IsCode returns true when this get vanity domain too many requests response a status code equal to that given

func (*GetVanityDomainTooManyRequests) IsRedirect

func (o *GetVanityDomainTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get vanity domain too many requests response has a 3xx status code

func (*GetVanityDomainTooManyRequests) IsServerError

func (o *GetVanityDomainTooManyRequests) IsServerError() bool

IsServerError returns true when this get vanity domain too many requests response has a 5xx status code

func (*GetVanityDomainTooManyRequests) IsSuccess

func (o *GetVanityDomainTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get vanity domain too many requests response has a 2xx status code

func (*GetVanityDomainTooManyRequests) String

type GetVanityDomainUnauthorized

type GetVanityDomainUnauthorized struct {
	Payload *models.Error
}

GetVanityDomainUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetVanityDomainUnauthorized

func NewGetVanityDomainUnauthorized() *GetVanityDomainUnauthorized

NewGetVanityDomainUnauthorized creates a GetVanityDomainUnauthorized with default headers values

func (*GetVanityDomainUnauthorized) Code

func (o *GetVanityDomainUnauthorized) Code() int

Code gets the status code for the get vanity domain unauthorized response

func (*GetVanityDomainUnauthorized) Error

func (*GetVanityDomainUnauthorized) GetPayload

func (o *GetVanityDomainUnauthorized) GetPayload() *models.Error

func (*GetVanityDomainUnauthorized) IsClientError

func (o *GetVanityDomainUnauthorized) IsClientError() bool

IsClientError returns true when this get vanity domain unauthorized response has a 4xx status code

func (*GetVanityDomainUnauthorized) IsCode

func (o *GetVanityDomainUnauthorized) IsCode(code int) bool

IsCode returns true when this get vanity domain unauthorized response a status code equal to that given

func (*GetVanityDomainUnauthorized) IsRedirect

func (o *GetVanityDomainUnauthorized) IsRedirect() bool

IsRedirect returns true when this get vanity domain unauthorized response has a 3xx status code

func (*GetVanityDomainUnauthorized) IsServerError

func (o *GetVanityDomainUnauthorized) IsServerError() bool

IsServerError returns true when this get vanity domain unauthorized response has a 5xx status code

func (*GetVanityDomainUnauthorized) IsSuccess

func (o *GetVanityDomainUnauthorized) IsSuccess() bool

IsSuccess returns true when this get vanity domain unauthorized response has a 2xx status code

func (*GetVanityDomainUnauthorized) String

func (o *GetVanityDomainUnauthorized) String() string

type UpdateVanityDomainConflict

type UpdateVanityDomainConflict struct {
	Payload *models.Error
}

UpdateVanityDomainConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateVanityDomainConflict

func NewUpdateVanityDomainConflict() *UpdateVanityDomainConflict

NewUpdateVanityDomainConflict creates a UpdateVanityDomainConflict with default headers values

func (*UpdateVanityDomainConflict) Code

func (o *UpdateVanityDomainConflict) Code() int

Code gets the status code for the update vanity domain conflict response

func (*UpdateVanityDomainConflict) Error

func (*UpdateVanityDomainConflict) GetPayload

func (o *UpdateVanityDomainConflict) GetPayload() *models.Error

func (*UpdateVanityDomainConflict) IsClientError

func (o *UpdateVanityDomainConflict) IsClientError() bool

IsClientError returns true when this update vanity domain conflict response has a 4xx status code

func (*UpdateVanityDomainConflict) IsCode

func (o *UpdateVanityDomainConflict) IsCode(code int) bool

IsCode returns true when this update vanity domain conflict response a status code equal to that given

func (*UpdateVanityDomainConflict) IsRedirect

func (o *UpdateVanityDomainConflict) IsRedirect() bool

IsRedirect returns true when this update vanity domain conflict response has a 3xx status code

func (*UpdateVanityDomainConflict) IsServerError

func (o *UpdateVanityDomainConflict) IsServerError() bool

IsServerError returns true when this update vanity domain conflict response has a 5xx status code

func (*UpdateVanityDomainConflict) IsSuccess

func (o *UpdateVanityDomainConflict) IsSuccess() bool

IsSuccess returns true when this update vanity domain conflict response has a 2xx status code

func (*UpdateVanityDomainConflict) String

func (o *UpdateVanityDomainConflict) String() string

type UpdateVanityDomainForbidden

type UpdateVanityDomainForbidden struct {
	Payload *models.Error
}

UpdateVanityDomainForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateVanityDomainForbidden

func NewUpdateVanityDomainForbidden() *UpdateVanityDomainForbidden

NewUpdateVanityDomainForbidden creates a UpdateVanityDomainForbidden with default headers values

func (*UpdateVanityDomainForbidden) Code

func (o *UpdateVanityDomainForbidden) Code() int

Code gets the status code for the update vanity domain forbidden response

func (*UpdateVanityDomainForbidden) Error

func (*UpdateVanityDomainForbidden) GetPayload

func (o *UpdateVanityDomainForbidden) GetPayload() *models.Error

func (*UpdateVanityDomainForbidden) IsClientError

func (o *UpdateVanityDomainForbidden) IsClientError() bool

IsClientError returns true when this update vanity domain forbidden response has a 4xx status code

func (*UpdateVanityDomainForbidden) IsCode

func (o *UpdateVanityDomainForbidden) IsCode(code int) bool

IsCode returns true when this update vanity domain forbidden response a status code equal to that given

func (*UpdateVanityDomainForbidden) IsRedirect

func (o *UpdateVanityDomainForbidden) IsRedirect() bool

IsRedirect returns true when this update vanity domain forbidden response has a 3xx status code

func (*UpdateVanityDomainForbidden) IsServerError

func (o *UpdateVanityDomainForbidden) IsServerError() bool

IsServerError returns true when this update vanity domain forbidden response has a 5xx status code

func (*UpdateVanityDomainForbidden) IsSuccess

func (o *UpdateVanityDomainForbidden) IsSuccess() bool

IsSuccess returns true when this update vanity domain forbidden response has a 2xx status code

func (*UpdateVanityDomainForbidden) String

func (o *UpdateVanityDomainForbidden) String() string

type UpdateVanityDomainNotFound

type UpdateVanityDomainNotFound struct {
	Payload *models.Error
}

UpdateVanityDomainNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVanityDomainNotFound

func NewUpdateVanityDomainNotFound() *UpdateVanityDomainNotFound

NewUpdateVanityDomainNotFound creates a UpdateVanityDomainNotFound with default headers values

func (*UpdateVanityDomainNotFound) Code

func (o *UpdateVanityDomainNotFound) Code() int

Code gets the status code for the update vanity domain not found response

func (*UpdateVanityDomainNotFound) Error

func (*UpdateVanityDomainNotFound) GetPayload

func (o *UpdateVanityDomainNotFound) GetPayload() *models.Error

func (*UpdateVanityDomainNotFound) IsClientError

func (o *UpdateVanityDomainNotFound) IsClientError() bool

IsClientError returns true when this update vanity domain not found response has a 4xx status code

func (*UpdateVanityDomainNotFound) IsCode

func (o *UpdateVanityDomainNotFound) IsCode(code int) bool

IsCode returns true when this update vanity domain not found response a status code equal to that given

func (*UpdateVanityDomainNotFound) IsRedirect

func (o *UpdateVanityDomainNotFound) IsRedirect() bool

IsRedirect returns true when this update vanity domain not found response has a 3xx status code

func (*UpdateVanityDomainNotFound) IsServerError

func (o *UpdateVanityDomainNotFound) IsServerError() bool

IsServerError returns true when this update vanity domain not found response has a 5xx status code

func (*UpdateVanityDomainNotFound) IsSuccess

func (o *UpdateVanityDomainNotFound) IsSuccess() bool

IsSuccess returns true when this update vanity domain not found response has a 2xx status code

func (*UpdateVanityDomainNotFound) String

func (o *UpdateVanityDomainNotFound) String() string

type UpdateVanityDomainOK

type UpdateVanityDomainOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.VanityDomain
}

UpdateVanityDomainOK describes a response with status code 200, with default header values.

Vanity domain

func NewUpdateVanityDomainOK

func NewUpdateVanityDomainOK() *UpdateVanityDomainOK

NewUpdateVanityDomainOK creates a UpdateVanityDomainOK with default headers values

func (*UpdateVanityDomainOK) Code

func (o *UpdateVanityDomainOK) Code() int

Code gets the status code for the update vanity domain o k response

func (*UpdateVanityDomainOK) Error

func (o *UpdateVanityDomainOK) Error() string

func (*UpdateVanityDomainOK) GetPayload

func (o *UpdateVanityDomainOK) GetPayload() *models.VanityDomain

func (*UpdateVanityDomainOK) IsClientError

func (o *UpdateVanityDomainOK) IsClientError() bool

IsClientError returns true when this update vanity domain o k response has a 4xx status code

func (*UpdateVanityDomainOK) IsCode

func (o *UpdateVanityDomainOK) IsCode(code int) bool

IsCode returns true when this update vanity domain o k response a status code equal to that given

func (*UpdateVanityDomainOK) IsRedirect

func (o *UpdateVanityDomainOK) IsRedirect() bool

IsRedirect returns true when this update vanity domain o k response has a 3xx status code

func (*UpdateVanityDomainOK) IsServerError

func (o *UpdateVanityDomainOK) IsServerError() bool

IsServerError returns true when this update vanity domain o k response has a 5xx status code

func (*UpdateVanityDomainOK) IsSuccess

func (o *UpdateVanityDomainOK) IsSuccess() bool

IsSuccess returns true when this update vanity domain o k response has a 2xx status code

func (*UpdateVanityDomainOK) String

func (o *UpdateVanityDomainOK) String() string

type UpdateVanityDomainParams

type UpdateVanityDomainParams struct {

	// VanityDomain.
	VanityDomain *models.VanityDomain

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVanityDomainParams contains all the parameters to send to the API endpoint

for the update vanity domain operation.

Typically these are written to a http.Request.

func NewUpdateVanityDomainParams

func NewUpdateVanityDomainParams() *UpdateVanityDomainParams

NewUpdateVanityDomainParams creates a new UpdateVanityDomainParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVanityDomainParamsWithContext

func NewUpdateVanityDomainParamsWithContext(ctx context.Context) *UpdateVanityDomainParams

NewUpdateVanityDomainParamsWithContext creates a new UpdateVanityDomainParams object with the ability to set a context for a request.

func NewUpdateVanityDomainParamsWithHTTPClient

func NewUpdateVanityDomainParamsWithHTTPClient(client *http.Client) *UpdateVanityDomainParams

NewUpdateVanityDomainParamsWithHTTPClient creates a new UpdateVanityDomainParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVanityDomainParamsWithTimeout

func NewUpdateVanityDomainParamsWithTimeout(timeout time.Duration) *UpdateVanityDomainParams

NewUpdateVanityDomainParamsWithTimeout creates a new UpdateVanityDomainParams object with the ability to set a timeout on a request.

func (*UpdateVanityDomainParams) SetContext

func (o *UpdateVanityDomainParams) SetContext(ctx context.Context)

SetContext adds the context to the update vanity domain params

func (*UpdateVanityDomainParams) SetDefaults

func (o *UpdateVanityDomainParams) SetDefaults()

SetDefaults hydrates default values in the update vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVanityDomainParams) SetHTTPClient

func (o *UpdateVanityDomainParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update vanity domain params

func (*UpdateVanityDomainParams) SetIfMatch

func (o *UpdateVanityDomainParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update vanity domain params

func (*UpdateVanityDomainParams) SetTimeout

func (o *UpdateVanityDomainParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update vanity domain params

func (*UpdateVanityDomainParams) SetVanityDomain

func (o *UpdateVanityDomainParams) SetVanityDomain(vanityDomain *models.VanityDomain)

SetVanityDomain adds the vanityDomain to the update vanity domain params

func (*UpdateVanityDomainParams) WithContext

WithContext adds the context to the update vanity domain params

func (*UpdateVanityDomainParams) WithDefaults

WithDefaults hydrates default values in the update vanity domain params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVanityDomainParams) WithHTTPClient

func (o *UpdateVanityDomainParams) WithHTTPClient(client *http.Client) *UpdateVanityDomainParams

WithHTTPClient adds the HTTPClient to the update vanity domain params

func (*UpdateVanityDomainParams) WithIfMatch

func (o *UpdateVanityDomainParams) WithIfMatch(ifMatch *string) *UpdateVanityDomainParams

WithIfMatch adds the ifMatch to the update vanity domain params

func (*UpdateVanityDomainParams) WithTimeout

WithTimeout adds the timeout to the update vanity domain params

func (*UpdateVanityDomainParams) WithVanityDomain

func (o *UpdateVanityDomainParams) WithVanityDomain(vanityDomain *models.VanityDomain) *UpdateVanityDomainParams

WithVanityDomain adds the vanityDomain to the update vanity domain params

func (*UpdateVanityDomainParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVanityDomainReader

type UpdateVanityDomainReader struct {
	// contains filtered or unexported fields
}

UpdateVanityDomainReader is a Reader for the UpdateVanityDomain structure.

func (*UpdateVanityDomainReader) ReadResponse

func (o *UpdateVanityDomainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVanityDomainTooManyRequests

type UpdateVanityDomainTooManyRequests struct {
	Payload *models.Error
}

UpdateVanityDomainTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUpdateVanityDomainTooManyRequests

func NewUpdateVanityDomainTooManyRequests() *UpdateVanityDomainTooManyRequests

NewUpdateVanityDomainTooManyRequests creates a UpdateVanityDomainTooManyRequests with default headers values

func (*UpdateVanityDomainTooManyRequests) Code

Code gets the status code for the update vanity domain too many requests response

func (*UpdateVanityDomainTooManyRequests) Error

func (*UpdateVanityDomainTooManyRequests) GetPayload

func (*UpdateVanityDomainTooManyRequests) IsClientError

func (o *UpdateVanityDomainTooManyRequests) IsClientError() bool

IsClientError returns true when this update vanity domain too many requests response has a 4xx status code

func (*UpdateVanityDomainTooManyRequests) IsCode

func (o *UpdateVanityDomainTooManyRequests) IsCode(code int) bool

IsCode returns true when this update vanity domain too many requests response a status code equal to that given

func (*UpdateVanityDomainTooManyRequests) IsRedirect

func (o *UpdateVanityDomainTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update vanity domain too many requests response has a 3xx status code

func (*UpdateVanityDomainTooManyRequests) IsServerError

func (o *UpdateVanityDomainTooManyRequests) IsServerError() bool

IsServerError returns true when this update vanity domain too many requests response has a 5xx status code

func (*UpdateVanityDomainTooManyRequests) IsSuccess

func (o *UpdateVanityDomainTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update vanity domain too many requests response has a 2xx status code

func (*UpdateVanityDomainTooManyRequests) String

type UpdateVanityDomainUnauthorized

type UpdateVanityDomainUnauthorized struct {
	Payload *models.Error
}

UpdateVanityDomainUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateVanityDomainUnauthorized

func NewUpdateVanityDomainUnauthorized() *UpdateVanityDomainUnauthorized

NewUpdateVanityDomainUnauthorized creates a UpdateVanityDomainUnauthorized with default headers values

func (*UpdateVanityDomainUnauthorized) Code

Code gets the status code for the update vanity domain unauthorized response

func (*UpdateVanityDomainUnauthorized) Error

func (*UpdateVanityDomainUnauthorized) GetPayload

func (o *UpdateVanityDomainUnauthorized) GetPayload() *models.Error

func (*UpdateVanityDomainUnauthorized) IsClientError

func (o *UpdateVanityDomainUnauthorized) IsClientError() bool

IsClientError returns true when this update vanity domain unauthorized response has a 4xx status code

func (*UpdateVanityDomainUnauthorized) IsCode

func (o *UpdateVanityDomainUnauthorized) IsCode(code int) bool

IsCode returns true when this update vanity domain unauthorized response a status code equal to that given

func (*UpdateVanityDomainUnauthorized) IsRedirect

func (o *UpdateVanityDomainUnauthorized) IsRedirect() bool

IsRedirect returns true when this update vanity domain unauthorized response has a 3xx status code

func (*UpdateVanityDomainUnauthorized) IsServerError

func (o *UpdateVanityDomainUnauthorized) IsServerError() bool

IsServerError returns true when this update vanity domain unauthorized response has a 5xx status code

func (*UpdateVanityDomainUnauthorized) IsSuccess

func (o *UpdateVanityDomainUnauthorized) IsSuccess() bool

IsSuccess returns true when this update vanity domain unauthorized response has a 2xx status code

func (*UpdateVanityDomainUnauthorized) String

type UpdateVanityDomainUnprocessableEntity

type UpdateVanityDomainUnprocessableEntity struct {
	Payload *models.Error
}

UpdateVanityDomainUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateVanityDomainUnprocessableEntity

func NewUpdateVanityDomainUnprocessableEntity() *UpdateVanityDomainUnprocessableEntity

NewUpdateVanityDomainUnprocessableEntity creates a UpdateVanityDomainUnprocessableEntity with default headers values

func (*UpdateVanityDomainUnprocessableEntity) Code

Code gets the status code for the update vanity domain unprocessable entity response

func (*UpdateVanityDomainUnprocessableEntity) Error

func (*UpdateVanityDomainUnprocessableEntity) GetPayload

func (*UpdateVanityDomainUnprocessableEntity) IsClientError

func (o *UpdateVanityDomainUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update vanity domain unprocessable entity response has a 4xx status code

func (*UpdateVanityDomainUnprocessableEntity) IsCode

IsCode returns true when this update vanity domain unprocessable entity response a status code equal to that given

func (*UpdateVanityDomainUnprocessableEntity) IsRedirect

IsRedirect returns true when this update vanity domain unprocessable entity response has a 3xx status code

func (*UpdateVanityDomainUnprocessableEntity) IsServerError

func (o *UpdateVanityDomainUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update vanity domain unprocessable entity response has a 5xx status code

func (*UpdateVanityDomainUnprocessableEntity) IsSuccess

IsSuccess returns true when this update vanity domain unprocessable entity response has a 2xx status code

func (*UpdateVanityDomainUnprocessableEntity) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL