Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateVanityDomain(params *CreateVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateVanityDomainOK, error)
- func (a *Client) DeleteVanityDomain(params *DeleteVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteVanityDomainNoContent, error)
- func (a *Client) GetVanityDomain(params *GetVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetVanityDomainOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVanityDomain(params *UpdateVanityDomainParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateVanityDomainOK, error)
- type ClientOption
- type ClientService
- type CreateVanityDomainBadRequest
- func (o *CreateVanityDomainBadRequest) Code() int
- func (o *CreateVanityDomainBadRequest) Error() string
- func (o *CreateVanityDomainBadRequest) GetPayload() *models.Error
- func (o *CreateVanityDomainBadRequest) IsClientError() bool
- func (o *CreateVanityDomainBadRequest) IsCode(code int) bool
- func (o *CreateVanityDomainBadRequest) IsRedirect() bool
- func (o *CreateVanityDomainBadRequest) IsServerError() bool
- func (o *CreateVanityDomainBadRequest) IsSuccess() bool
- func (o *CreateVanityDomainBadRequest) String() string
- type CreateVanityDomainConflict
- func (o *CreateVanityDomainConflict) Code() int
- func (o *CreateVanityDomainConflict) Error() string
- func (o *CreateVanityDomainConflict) GetPayload() *models.Error
- func (o *CreateVanityDomainConflict) IsClientError() bool
- func (o *CreateVanityDomainConflict) IsCode(code int) bool
- func (o *CreateVanityDomainConflict) IsRedirect() bool
- func (o *CreateVanityDomainConflict) IsServerError() bool
- func (o *CreateVanityDomainConflict) IsSuccess() bool
- func (o *CreateVanityDomainConflict) String() string
- type CreateVanityDomainForbidden
- func (o *CreateVanityDomainForbidden) Code() int
- func (o *CreateVanityDomainForbidden) Error() string
- func (o *CreateVanityDomainForbidden) GetPayload() *models.Error
- func (o *CreateVanityDomainForbidden) IsClientError() bool
- func (o *CreateVanityDomainForbidden) IsCode(code int) bool
- func (o *CreateVanityDomainForbidden) IsRedirect() bool
- func (o *CreateVanityDomainForbidden) IsServerError() bool
- func (o *CreateVanityDomainForbidden) IsSuccess() bool
- func (o *CreateVanityDomainForbidden) String() string
- type CreateVanityDomainNotFound
- func (o *CreateVanityDomainNotFound) Code() int
- func (o *CreateVanityDomainNotFound) Error() string
- func (o *CreateVanityDomainNotFound) GetPayload() *models.Error
- func (o *CreateVanityDomainNotFound) IsClientError() bool
- func (o *CreateVanityDomainNotFound) IsCode(code int) bool
- func (o *CreateVanityDomainNotFound) IsRedirect() bool
- func (o *CreateVanityDomainNotFound) IsServerError() bool
- func (o *CreateVanityDomainNotFound) IsSuccess() bool
- func (o *CreateVanityDomainNotFound) String() string
- type CreateVanityDomainOK
- func (o *CreateVanityDomainOK) Code() int
- func (o *CreateVanityDomainOK) Error() string
- func (o *CreateVanityDomainOK) GetPayload() *models.VanityDomain
- func (o *CreateVanityDomainOK) IsClientError() bool
- func (o *CreateVanityDomainOK) IsCode(code int) bool
- func (o *CreateVanityDomainOK) IsRedirect() bool
- func (o *CreateVanityDomainOK) IsServerError() bool
- func (o *CreateVanityDomainOK) IsSuccess() bool
- func (o *CreateVanityDomainOK) String() string
- type CreateVanityDomainParams
- func NewCreateVanityDomainParams() *CreateVanityDomainParams
- func NewCreateVanityDomainParamsWithContext(ctx context.Context) *CreateVanityDomainParams
- func NewCreateVanityDomainParamsWithHTTPClient(client *http.Client) *CreateVanityDomainParams
- func NewCreateVanityDomainParamsWithTimeout(timeout time.Duration) *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) SetContext(ctx context.Context)
- func (o *CreateVanityDomainParams) SetDefaults()
- func (o *CreateVanityDomainParams) SetHTTPClient(client *http.Client)
- func (o *CreateVanityDomainParams) SetIfMatch(ifMatch *string)
- func (o *CreateVanityDomainParams) SetTimeout(timeout time.Duration)
- func (o *CreateVanityDomainParams) SetVanityDomain(vanityDomain *models.VanityDomain)
- func (o *CreateVanityDomainParams) WithContext(ctx context.Context) *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) WithDefaults() *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) WithHTTPClient(client *http.Client) *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) WithIfMatch(ifMatch *string) *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) WithTimeout(timeout time.Duration) *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) WithVanityDomain(vanityDomain *models.VanityDomain) *CreateVanityDomainParams
- func (o *CreateVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVanityDomainReader
- type CreateVanityDomainTooManyRequests
- func (o *CreateVanityDomainTooManyRequests) Code() int
- func (o *CreateVanityDomainTooManyRequests) Error() string
- func (o *CreateVanityDomainTooManyRequests) GetPayload() *models.Error
- func (o *CreateVanityDomainTooManyRequests) IsClientError() bool
- func (o *CreateVanityDomainTooManyRequests) IsCode(code int) bool
- func (o *CreateVanityDomainTooManyRequests) IsRedirect() bool
- func (o *CreateVanityDomainTooManyRequests) IsServerError() bool
- func (o *CreateVanityDomainTooManyRequests) IsSuccess() bool
- func (o *CreateVanityDomainTooManyRequests) String() string
- type CreateVanityDomainUnauthorized
- func (o *CreateVanityDomainUnauthorized) Code() int
- func (o *CreateVanityDomainUnauthorized) Error() string
- func (o *CreateVanityDomainUnauthorized) GetPayload() *models.Error
- func (o *CreateVanityDomainUnauthorized) IsClientError() bool
- func (o *CreateVanityDomainUnauthorized) IsCode(code int) bool
- func (o *CreateVanityDomainUnauthorized) IsRedirect() bool
- func (o *CreateVanityDomainUnauthorized) IsServerError() bool
- func (o *CreateVanityDomainUnauthorized) IsSuccess() bool
- func (o *CreateVanityDomainUnauthorized) String() string
- type CreateVanityDomainUnprocessableEntity
- func (o *CreateVanityDomainUnprocessableEntity) Code() int
- func (o *CreateVanityDomainUnprocessableEntity) Error() string
- func (o *CreateVanityDomainUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateVanityDomainUnprocessableEntity) IsClientError() bool
- func (o *CreateVanityDomainUnprocessableEntity) IsCode(code int) bool
- func (o *CreateVanityDomainUnprocessableEntity) IsRedirect() bool
- func (o *CreateVanityDomainUnprocessableEntity) IsServerError() bool
- func (o *CreateVanityDomainUnprocessableEntity) IsSuccess() bool
- func (o *CreateVanityDomainUnprocessableEntity) String() string
- type DeleteVanityDomainForbidden
- func (o *DeleteVanityDomainForbidden) Code() int
- func (o *DeleteVanityDomainForbidden) Error() string
- func (o *DeleteVanityDomainForbidden) GetPayload() *models.Error
- func (o *DeleteVanityDomainForbidden) IsClientError() bool
- func (o *DeleteVanityDomainForbidden) IsCode(code int) bool
- func (o *DeleteVanityDomainForbidden) IsRedirect() bool
- func (o *DeleteVanityDomainForbidden) IsServerError() bool
- func (o *DeleteVanityDomainForbidden) IsSuccess() bool
- func (o *DeleteVanityDomainForbidden) String() string
- type DeleteVanityDomainNoContent
- func (o *DeleteVanityDomainNoContent) Code() int
- func (o *DeleteVanityDomainNoContent) Error() string
- func (o *DeleteVanityDomainNoContent) IsClientError() bool
- func (o *DeleteVanityDomainNoContent) IsCode(code int) bool
- func (o *DeleteVanityDomainNoContent) IsRedirect() bool
- func (o *DeleteVanityDomainNoContent) IsServerError() bool
- func (o *DeleteVanityDomainNoContent) IsSuccess() bool
- func (o *DeleteVanityDomainNoContent) String() string
- type DeleteVanityDomainNotFound
- func (o *DeleteVanityDomainNotFound) Code() int
- func (o *DeleteVanityDomainNotFound) Error() string
- func (o *DeleteVanityDomainNotFound) GetPayload() *models.Error
- func (o *DeleteVanityDomainNotFound) IsClientError() bool
- func (o *DeleteVanityDomainNotFound) IsCode(code int) bool
- func (o *DeleteVanityDomainNotFound) IsRedirect() bool
- func (o *DeleteVanityDomainNotFound) IsServerError() bool
- func (o *DeleteVanityDomainNotFound) IsSuccess() bool
- func (o *DeleteVanityDomainNotFound) String() string
- type DeleteVanityDomainParams
- func NewDeleteVanityDomainParams() *DeleteVanityDomainParams
- func NewDeleteVanityDomainParamsWithContext(ctx context.Context) *DeleteVanityDomainParams
- func NewDeleteVanityDomainParamsWithHTTPClient(client *http.Client) *DeleteVanityDomainParams
- func NewDeleteVanityDomainParamsWithTimeout(timeout time.Duration) *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) SetContext(ctx context.Context)
- func (o *DeleteVanityDomainParams) SetDefaults()
- func (o *DeleteVanityDomainParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVanityDomainParams) SetIfMatch(ifMatch *string)
- func (o *DeleteVanityDomainParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVanityDomainParams) SetVanityDomain(vanityDomain *models.VanityDomain)
- func (o *DeleteVanityDomainParams) WithContext(ctx context.Context) *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) WithDefaults() *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) WithHTTPClient(client *http.Client) *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) WithIfMatch(ifMatch *string) *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) WithTimeout(timeout time.Duration) *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) WithVanityDomain(vanityDomain *models.VanityDomain) *DeleteVanityDomainParams
- func (o *DeleteVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVanityDomainReader
- type DeleteVanityDomainTooManyRequests
- func (o *DeleteVanityDomainTooManyRequests) Code() int
- func (o *DeleteVanityDomainTooManyRequests) Error() string
- func (o *DeleteVanityDomainTooManyRequests) GetPayload() *models.Error
- func (o *DeleteVanityDomainTooManyRequests) IsClientError() bool
- func (o *DeleteVanityDomainTooManyRequests) IsCode(code int) bool
- func (o *DeleteVanityDomainTooManyRequests) IsRedirect() bool
- func (o *DeleteVanityDomainTooManyRequests) IsServerError() bool
- func (o *DeleteVanityDomainTooManyRequests) IsSuccess() bool
- func (o *DeleteVanityDomainTooManyRequests) String() string
- type DeleteVanityDomainUnauthorized
- func (o *DeleteVanityDomainUnauthorized) Code() int
- func (o *DeleteVanityDomainUnauthorized) Error() string
- func (o *DeleteVanityDomainUnauthorized) GetPayload() *models.Error
- func (o *DeleteVanityDomainUnauthorized) IsClientError() bool
- func (o *DeleteVanityDomainUnauthorized) IsCode(code int) bool
- func (o *DeleteVanityDomainUnauthorized) IsRedirect() bool
- func (o *DeleteVanityDomainUnauthorized) IsServerError() bool
- func (o *DeleteVanityDomainUnauthorized) IsSuccess() bool
- func (o *DeleteVanityDomainUnauthorized) String() string
- type GetVanityDomainForbidden
- func (o *GetVanityDomainForbidden) Code() int
- func (o *GetVanityDomainForbidden) Error() string
- func (o *GetVanityDomainForbidden) GetPayload() *models.Error
- func (o *GetVanityDomainForbidden) IsClientError() bool
- func (o *GetVanityDomainForbidden) IsCode(code int) bool
- func (o *GetVanityDomainForbidden) IsRedirect() bool
- func (o *GetVanityDomainForbidden) IsServerError() bool
- func (o *GetVanityDomainForbidden) IsSuccess() bool
- func (o *GetVanityDomainForbidden) String() string
- type GetVanityDomainNotFound
- func (o *GetVanityDomainNotFound) Code() int
- func (o *GetVanityDomainNotFound) Error() string
- func (o *GetVanityDomainNotFound) GetPayload() *models.Error
- func (o *GetVanityDomainNotFound) IsClientError() bool
- func (o *GetVanityDomainNotFound) IsCode(code int) bool
- func (o *GetVanityDomainNotFound) IsRedirect() bool
- func (o *GetVanityDomainNotFound) IsServerError() bool
- func (o *GetVanityDomainNotFound) IsSuccess() bool
- func (o *GetVanityDomainNotFound) String() string
- type GetVanityDomainOK
- func (o *GetVanityDomainOK) Code() int
- func (o *GetVanityDomainOK) Error() string
- func (o *GetVanityDomainOK) GetPayload() *models.VanityDomain
- func (o *GetVanityDomainOK) IsClientError() bool
- func (o *GetVanityDomainOK) IsCode(code int) bool
- func (o *GetVanityDomainOK) IsRedirect() bool
- func (o *GetVanityDomainOK) IsServerError() bool
- func (o *GetVanityDomainOK) IsSuccess() bool
- func (o *GetVanityDomainOK) String() string
- type GetVanityDomainParams
- func NewGetVanityDomainParams() *GetVanityDomainParams
- func NewGetVanityDomainParamsWithContext(ctx context.Context) *GetVanityDomainParams
- func NewGetVanityDomainParamsWithHTTPClient(client *http.Client) *GetVanityDomainParams
- func NewGetVanityDomainParamsWithTimeout(timeout time.Duration) *GetVanityDomainParams
- func (o *GetVanityDomainParams) SetContext(ctx context.Context)
- func (o *GetVanityDomainParams) SetDefaults()
- func (o *GetVanityDomainParams) SetHTTPClient(client *http.Client)
- func (o *GetVanityDomainParams) SetIfMatch(ifMatch *string)
- func (o *GetVanityDomainParams) SetServerID(serverID *string)
- func (o *GetVanityDomainParams) SetTimeout(timeout time.Duration)
- func (o *GetVanityDomainParams) WithContext(ctx context.Context) *GetVanityDomainParams
- func (o *GetVanityDomainParams) WithDefaults() *GetVanityDomainParams
- func (o *GetVanityDomainParams) WithHTTPClient(client *http.Client) *GetVanityDomainParams
- func (o *GetVanityDomainParams) WithIfMatch(ifMatch *string) *GetVanityDomainParams
- func (o *GetVanityDomainParams) WithServerID(serverID *string) *GetVanityDomainParams
- func (o *GetVanityDomainParams) WithTimeout(timeout time.Duration) *GetVanityDomainParams
- func (o *GetVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVanityDomainReader
- type GetVanityDomainTooManyRequests
- func (o *GetVanityDomainTooManyRequests) Code() int
- func (o *GetVanityDomainTooManyRequests) Error() string
- func (o *GetVanityDomainTooManyRequests) GetPayload() *models.Error
- func (o *GetVanityDomainTooManyRequests) IsClientError() bool
- func (o *GetVanityDomainTooManyRequests) IsCode(code int) bool
- func (o *GetVanityDomainTooManyRequests) IsRedirect() bool
- func (o *GetVanityDomainTooManyRequests) IsServerError() bool
- func (o *GetVanityDomainTooManyRequests) IsSuccess() bool
- func (o *GetVanityDomainTooManyRequests) String() string
- type GetVanityDomainUnauthorized
- func (o *GetVanityDomainUnauthorized) Code() int
- func (o *GetVanityDomainUnauthorized) Error() string
- func (o *GetVanityDomainUnauthorized) GetPayload() *models.Error
- func (o *GetVanityDomainUnauthorized) IsClientError() bool
- func (o *GetVanityDomainUnauthorized) IsCode(code int) bool
- func (o *GetVanityDomainUnauthorized) IsRedirect() bool
- func (o *GetVanityDomainUnauthorized) IsServerError() bool
- func (o *GetVanityDomainUnauthorized) IsSuccess() bool
- func (o *GetVanityDomainUnauthorized) String() string
- type UpdateVanityDomainConflict
- func (o *UpdateVanityDomainConflict) Code() int
- func (o *UpdateVanityDomainConflict) Error() string
- func (o *UpdateVanityDomainConflict) GetPayload() *models.Error
- func (o *UpdateVanityDomainConflict) IsClientError() bool
- func (o *UpdateVanityDomainConflict) IsCode(code int) bool
- func (o *UpdateVanityDomainConflict) IsRedirect() bool
- func (o *UpdateVanityDomainConflict) IsServerError() bool
- func (o *UpdateVanityDomainConflict) IsSuccess() bool
- func (o *UpdateVanityDomainConflict) String() string
- type UpdateVanityDomainForbidden
- func (o *UpdateVanityDomainForbidden) Code() int
- func (o *UpdateVanityDomainForbidden) Error() string
- func (o *UpdateVanityDomainForbidden) GetPayload() *models.Error
- func (o *UpdateVanityDomainForbidden) IsClientError() bool
- func (o *UpdateVanityDomainForbidden) IsCode(code int) bool
- func (o *UpdateVanityDomainForbidden) IsRedirect() bool
- func (o *UpdateVanityDomainForbidden) IsServerError() bool
- func (o *UpdateVanityDomainForbidden) IsSuccess() bool
- func (o *UpdateVanityDomainForbidden) String() string
- type UpdateVanityDomainNotFound
- func (o *UpdateVanityDomainNotFound) Code() int
- func (o *UpdateVanityDomainNotFound) Error() string
- func (o *UpdateVanityDomainNotFound) GetPayload() *models.Error
- func (o *UpdateVanityDomainNotFound) IsClientError() bool
- func (o *UpdateVanityDomainNotFound) IsCode(code int) bool
- func (o *UpdateVanityDomainNotFound) IsRedirect() bool
- func (o *UpdateVanityDomainNotFound) IsServerError() bool
- func (o *UpdateVanityDomainNotFound) IsSuccess() bool
- func (o *UpdateVanityDomainNotFound) String() string
- type UpdateVanityDomainOK
- func (o *UpdateVanityDomainOK) Code() int
- func (o *UpdateVanityDomainOK) Error() string
- func (o *UpdateVanityDomainOK) GetPayload() *models.VanityDomain
- func (o *UpdateVanityDomainOK) IsClientError() bool
- func (o *UpdateVanityDomainOK) IsCode(code int) bool
- func (o *UpdateVanityDomainOK) IsRedirect() bool
- func (o *UpdateVanityDomainOK) IsServerError() bool
- func (o *UpdateVanityDomainOK) IsSuccess() bool
- func (o *UpdateVanityDomainOK) String() string
- type UpdateVanityDomainParams
- func NewUpdateVanityDomainParams() *UpdateVanityDomainParams
- func NewUpdateVanityDomainParamsWithContext(ctx context.Context) *UpdateVanityDomainParams
- func NewUpdateVanityDomainParamsWithHTTPClient(client *http.Client) *UpdateVanityDomainParams
- func NewUpdateVanityDomainParamsWithTimeout(timeout time.Duration) *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) SetContext(ctx context.Context)
- func (o *UpdateVanityDomainParams) SetDefaults()
- func (o *UpdateVanityDomainParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVanityDomainParams) SetIfMatch(ifMatch *string)
- func (o *UpdateVanityDomainParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVanityDomainParams) SetVanityDomain(vanityDomain *models.VanityDomain)
- func (o *UpdateVanityDomainParams) WithContext(ctx context.Context) *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) WithDefaults() *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) WithHTTPClient(client *http.Client) *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) WithIfMatch(ifMatch *string) *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) WithTimeout(timeout time.Duration) *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) WithVanityDomain(vanityDomain *models.VanityDomain) *UpdateVanityDomainParams
- func (o *UpdateVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVanityDomainReader
- type UpdateVanityDomainTooManyRequests
- func (o *UpdateVanityDomainTooManyRequests) Code() int
- func (o *UpdateVanityDomainTooManyRequests) Error() string
- func (o *UpdateVanityDomainTooManyRequests) GetPayload() *models.Error
- func (o *UpdateVanityDomainTooManyRequests) IsClientError() bool
- func (o *UpdateVanityDomainTooManyRequests) IsCode(code int) bool
- func (o *UpdateVanityDomainTooManyRequests) IsRedirect() bool
- func (o *UpdateVanityDomainTooManyRequests) IsServerError() bool
- func (o *UpdateVanityDomainTooManyRequests) IsSuccess() bool
- func (o *UpdateVanityDomainTooManyRequests) String() string
- type UpdateVanityDomainUnauthorized
- func (o *UpdateVanityDomainUnauthorized) Code() int
- func (o *UpdateVanityDomainUnauthorized) Error() string
- func (o *UpdateVanityDomainUnauthorized) GetPayload() *models.Error
- func (o *UpdateVanityDomainUnauthorized) IsClientError() bool
- func (o *UpdateVanityDomainUnauthorized) IsCode(code int) bool
- func (o *UpdateVanityDomainUnauthorized) IsRedirect() bool
- func (o *UpdateVanityDomainUnauthorized) IsServerError() bool
- func (o *UpdateVanityDomainUnauthorized) IsSuccess() bool
- func (o *UpdateVanityDomainUnauthorized) String() string
- type UpdateVanityDomainUnprocessableEntity
- func (o *UpdateVanityDomainUnprocessableEntity) Code() int
- func (o *UpdateVanityDomainUnprocessableEntity) Error() string
- func (o *UpdateVanityDomainUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateVanityDomainUnprocessableEntity) IsClientError() bool
- func (o *UpdateVanityDomainUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateVanityDomainUnprocessableEntity) IsRedirect() bool
- func (o *UpdateVanityDomainUnprocessableEntity) IsServerError() bool
- func (o *UpdateVanityDomainUnprocessableEntity) IsSuccess() bool
- func (o *UpdateVanityDomainUnprocessableEntity) String() string
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new vanity domains API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new vanity domains API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateVanityDomainBadRequest ¶
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 ¶
func (o *CreateVanityDomainBadRequest) Code() int
Code gets the status code for the create vanity domain bad request response
func (*CreateVanityDomainBadRequest) Error ¶
func (o *CreateVanityDomainBadRequest) Error() string
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 ¶
func (o *CreateVanityDomainBadRequest) String() string
type CreateVanityDomainConflict ¶
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 (o *CreateVanityDomainConflict) Error() string
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 ¶
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 (o *CreateVanityDomainForbidden) Error() string
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 ¶
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 (o *CreateVanityDomainNotFound) Error() string
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 ¶
func (o *CreateVanityDomainParams) WithContext(ctx context.Context) *CreateVanityDomainParams
WithContext adds the context to the create vanity domain params
func (*CreateVanityDomainParams) WithDefaults ¶
func (o *CreateVanityDomainParams) WithDefaults() *CreateVanityDomainParams
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 ¶
func (o *CreateVanityDomainParams) WithTimeout(timeout time.Duration) *CreateVanityDomainParams
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 ¶
func (o *CreateVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *CreateVanityDomainTooManyRequests) Code() int
Code gets the status code for the create vanity domain too many requests response
func (*CreateVanityDomainTooManyRequests) Error ¶
func (o *CreateVanityDomainTooManyRequests) Error() string
func (*CreateVanityDomainTooManyRequests) GetPayload ¶
func (o *CreateVanityDomainTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *CreateVanityDomainTooManyRequests) String() string
type CreateVanityDomainUnauthorized ¶
type CreateVanityDomainUnauthorized struct {
}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 ¶
func (o *CreateVanityDomainUnauthorized) Code() int
Code gets the status code for the create vanity domain unauthorized response
func (*CreateVanityDomainUnauthorized) Error ¶
func (o *CreateVanityDomainUnauthorized) Error() string
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 ¶
func (o *CreateVanityDomainUnauthorized) String() string
type CreateVanityDomainUnprocessableEntity ¶
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 ¶
func (o *CreateVanityDomainUnprocessableEntity) Code() int
Code gets the status code for the create vanity domain unprocessable entity response
func (*CreateVanityDomainUnprocessableEntity) Error ¶
func (o *CreateVanityDomainUnprocessableEntity) Error() string
func (*CreateVanityDomainUnprocessableEntity) GetPayload ¶
func (o *CreateVanityDomainUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *CreateVanityDomainUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create vanity domain unprocessable entity response a status code equal to that given
func (*CreateVanityDomainUnprocessableEntity) IsRedirect ¶
func (o *CreateVanityDomainUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *CreateVanityDomainUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create vanity domain unprocessable entity response has a 2xx status code
func (*CreateVanityDomainUnprocessableEntity) String ¶
func (o *CreateVanityDomainUnprocessableEntity) String() string
type DeleteVanityDomainForbidden ¶
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 (o *DeleteVanityDomainForbidden) Error() string
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 (o *DeleteVanityDomainNoContent) Error() string
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 ¶
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 (o *DeleteVanityDomainNotFound) Error() string
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 ¶
func (o *DeleteVanityDomainParams) WithContext(ctx context.Context) *DeleteVanityDomainParams
WithContext adds the context to the delete vanity domain params
func (*DeleteVanityDomainParams) WithDefaults ¶
func (o *DeleteVanityDomainParams) WithDefaults() *DeleteVanityDomainParams
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 ¶
func (o *DeleteVanityDomainParams) WithTimeout(timeout time.Duration) *DeleteVanityDomainParams
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 ¶
func (o *DeleteVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *DeleteVanityDomainTooManyRequests) Code() int
Code gets the status code for the delete vanity domain too many requests response
func (*DeleteVanityDomainTooManyRequests) Error ¶
func (o *DeleteVanityDomainTooManyRequests) Error() string
func (*DeleteVanityDomainTooManyRequests) GetPayload ¶
func (o *DeleteVanityDomainTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *DeleteVanityDomainTooManyRequests) String() string
type DeleteVanityDomainUnauthorized ¶
type DeleteVanityDomainUnauthorized struct {
}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 ¶
func (o *DeleteVanityDomainUnauthorized) Code() int
Code gets the status code for the delete vanity domain unauthorized response
func (*DeleteVanityDomainUnauthorized) Error ¶
func (o *DeleteVanityDomainUnauthorized) Error() string
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 ¶
func (o *DeleteVanityDomainUnauthorized) String() string
type GetVanityDomainForbidden ¶
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 ¶
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 ¶
func (o *GetVanityDomainParams) WithContext(ctx context.Context) *GetVanityDomainParams
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 ¶
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 ¶
func (o *GetVanityDomainTooManyRequests) Code() int
Code gets the status code for the get vanity domain too many requests response
func (*GetVanityDomainTooManyRequests) Error ¶
func (o *GetVanityDomainTooManyRequests) Error() string
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 ¶
func (o *GetVanityDomainTooManyRequests) String() string
type GetVanityDomainUnauthorized ¶
type GetVanityDomainUnauthorized struct {
}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 (o *GetVanityDomainUnauthorized) Error() string
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 ¶
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 (o *UpdateVanityDomainConflict) Error() string
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 ¶
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 (o *UpdateVanityDomainForbidden) Error() string
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 ¶
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 (o *UpdateVanityDomainNotFound) Error() string
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 ¶
func (o *UpdateVanityDomainParams) WithContext(ctx context.Context) *UpdateVanityDomainParams
WithContext adds the context to the update vanity domain params
func (*UpdateVanityDomainParams) WithDefaults ¶
func (o *UpdateVanityDomainParams) WithDefaults() *UpdateVanityDomainParams
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 ¶
func (o *UpdateVanityDomainParams) WithTimeout(timeout time.Duration) *UpdateVanityDomainParams
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 ¶
func (o *UpdateVanityDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *UpdateVanityDomainTooManyRequests) Code() int
Code gets the status code for the update vanity domain too many requests response
func (*UpdateVanityDomainTooManyRequests) Error ¶
func (o *UpdateVanityDomainTooManyRequests) Error() string
func (*UpdateVanityDomainTooManyRequests) GetPayload ¶
func (o *UpdateVanityDomainTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *UpdateVanityDomainTooManyRequests) String() string
type UpdateVanityDomainUnauthorized ¶
type UpdateVanityDomainUnauthorized struct {
}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 ¶
func (o *UpdateVanityDomainUnauthorized) Code() int
Code gets the status code for the update vanity domain unauthorized response
func (*UpdateVanityDomainUnauthorized) Error ¶
func (o *UpdateVanityDomainUnauthorized) Error() string
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 ¶
func (o *UpdateVanityDomainUnauthorized) String() string
type UpdateVanityDomainUnprocessableEntity ¶
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 ¶
func (o *UpdateVanityDomainUnprocessableEntity) Code() int
Code gets the status code for the update vanity domain unprocessable entity response
func (*UpdateVanityDomainUnprocessableEntity) Error ¶
func (o *UpdateVanityDomainUnprocessableEntity) Error() string
func (*UpdateVanityDomainUnprocessableEntity) GetPayload ¶
func (o *UpdateVanityDomainUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *UpdateVanityDomainUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update vanity domain unprocessable entity response a status code equal to that given
func (*UpdateVanityDomainUnprocessableEntity) IsRedirect ¶
func (o *UpdateVanityDomainUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *UpdateVanityDomainUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update vanity domain unprocessable entity response has a 2xx status code
func (*UpdateVanityDomainUnprocessableEntity) String ¶
func (o *UpdateVanityDomainUnprocessableEntity) String() string