Documentation ¶
Index ¶
- type Client
- func (a *Client) InternalV1OperationsDedicatedhostsDelete(params *InternalV1OperationsDedicatedhostsDeleteParams, ...) (*InternalV1OperationsDedicatedhostsDeleteNoContent, error)
- func (a *Client) InternalV1OperationsDedicatedhostsPost(params *InternalV1OperationsDedicatedhostsPostParams, ...) (*InternalV1OperationsDedicatedhostsPostCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type InternalV1OperationsDedicatedhostsDeleteBadRequest
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) String() string
- type InternalV1OperationsDedicatedhostsDeleteForbidden
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) String() string
- type InternalV1OperationsDedicatedhostsDeleteGone
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteGone) String() string
- type InternalV1OperationsDedicatedhostsDeleteInternalServerError
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) String() string
- type InternalV1OperationsDedicatedhostsDeleteNoContent
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) String() string
- type InternalV1OperationsDedicatedhostsDeleteNotFound
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) String() string
- type InternalV1OperationsDedicatedhostsDeleteParams
- func NewInternalV1OperationsDedicatedhostsDeleteParams() *InternalV1OperationsDedicatedhostsDeleteParams
- func NewInternalV1OperationsDedicatedhostsDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsDeleteParams
- func NewInternalV1OperationsDedicatedhostsDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsDeleteParams
- func NewInternalV1OperationsDedicatedhostsDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsDeleteParams
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetDefaults()
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetResourceCrn(resourceCrn string)
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsDeleteParams
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithDefaults() *InternalV1OperationsDedicatedhostsDeleteParams
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsDeleteParams
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsDedicatedhostsDeleteParams
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsDeleteParams
- func (o *InternalV1OperationsDedicatedhostsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsDedicatedhostsDeleteReader
- type InternalV1OperationsDedicatedhostsDeleteTooManyRequests
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) String() string
- type InternalV1OperationsDedicatedhostsDeleteUnauthorized
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) Code() int
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) Error() string
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) String() string
- type InternalV1OperationsDedicatedhostsPostBadRequest
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) Code() int
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) Error() string
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsPostBadRequest) String() string
- type InternalV1OperationsDedicatedhostsPostCreated
- func (o *InternalV1OperationsDedicatedhostsPostCreated) Code() int
- func (o *InternalV1OperationsDedicatedhostsPostCreated) Error() string
- func (o *InternalV1OperationsDedicatedhostsPostCreated) GetPayload() *models.InternalOperationsResponse
- func (o *InternalV1OperationsDedicatedhostsPostCreated) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsPostCreated) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsPostCreated) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsPostCreated) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsPostCreated) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsPostCreated) String() string
- type InternalV1OperationsDedicatedhostsPostForbidden
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) Code() int
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) Error() string
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsPostForbidden) String() string
- type InternalV1OperationsDedicatedhostsPostInternalServerError
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) Code() int
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) Error() string
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) String() string
- type InternalV1OperationsDedicatedhostsPostParams
- func NewInternalV1OperationsDedicatedhostsPostParams() *InternalV1OperationsDedicatedhostsPostParams
- func NewInternalV1OperationsDedicatedhostsPostParamsWithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsPostParams
- func NewInternalV1OperationsDedicatedhostsPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsPostParams
- func NewInternalV1OperationsDedicatedhostsPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsPostParams
- func (o *InternalV1OperationsDedicatedhostsPostParams) SetBody(body *models.InternalOperationsRequest)
- func (o *InternalV1OperationsDedicatedhostsPostParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsDedicatedhostsPostParams) SetDefaults()
- func (o *InternalV1OperationsDedicatedhostsPostParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsDedicatedhostsPostParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsDedicatedhostsPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsDedicatedhostsPostParams
- func (o *InternalV1OperationsDedicatedhostsPostParams) WithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsPostParams
- func (o *InternalV1OperationsDedicatedhostsPostParams) WithDefaults() *InternalV1OperationsDedicatedhostsPostParams
- func (o *InternalV1OperationsDedicatedhostsPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsPostParams
- func (o *InternalV1OperationsDedicatedhostsPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsPostParams
- func (o *InternalV1OperationsDedicatedhostsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsDedicatedhostsPostReader
- type InternalV1OperationsDedicatedhostsPostTooManyRequests
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) Code() int
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) Error() string
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) String() string
- type InternalV1OperationsDedicatedhostsPostUnauthorized
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) Code() int
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) Error() string
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) 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 internal operations dedicated hosts API
func (*Client) InternalV1OperationsDedicatedhostsDelete ¶
func (a *Client) InternalV1OperationsDedicatedhostsDelete(params *InternalV1OperationsDedicatedhostsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsDedicatedhostsDeleteNoContent, error)
InternalV1OperationsDedicatedhostsDelete deletes a dedicated host c r n
func (*Client) InternalV1OperationsDedicatedhostsPost ¶
func (a *Client) InternalV1OperationsDedicatedhostsPost(params *InternalV1OperationsDedicatedhostsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsDedicatedhostsPostCreated, error)
InternalV1OperationsDedicatedhostsPost creates a c r n for a dedicated host
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { InternalV1OperationsDedicatedhostsDelete(params *InternalV1OperationsDedicatedhostsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsDedicatedhostsDeleteNoContent, error) InternalV1OperationsDedicatedhostsPost(params *InternalV1OperationsDedicatedhostsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsDedicatedhostsPostCreated, 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 internal operations dedicated hosts API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new internal operations dedicated hosts 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 internal operations dedicated hosts 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 InternalV1OperationsDedicatedhostsDeleteBadRequest ¶
InternalV1OperationsDedicatedhostsDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInternalV1OperationsDedicatedhostsDeleteBadRequest ¶
func NewInternalV1OperationsDedicatedhostsDeleteBadRequest() *InternalV1OperationsDedicatedhostsDeleteBadRequest
NewInternalV1OperationsDedicatedhostsDeleteBadRequest creates a InternalV1OperationsDedicatedhostsDeleteBadRequest with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete bad request response
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete bad request response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete bad request response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete bad request response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete bad request response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete bad request response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteBadRequest) String() string
type InternalV1OperationsDedicatedhostsDeleteForbidden ¶
InternalV1OperationsDedicatedhostsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1OperationsDedicatedhostsDeleteForbidden ¶
func NewInternalV1OperationsDedicatedhostsDeleteForbidden() *InternalV1OperationsDedicatedhostsDeleteForbidden
NewInternalV1OperationsDedicatedhostsDeleteForbidden creates a InternalV1OperationsDedicatedhostsDeleteForbidden with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete forbidden response
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete forbidden response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteForbidden) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteForbidden) String() string
type InternalV1OperationsDedicatedhostsDeleteGone ¶
InternalV1OperationsDedicatedhostsDeleteGone describes a response with status code 410, with default header values.
Gone
func NewInternalV1OperationsDedicatedhostsDeleteGone ¶
func NewInternalV1OperationsDedicatedhostsDeleteGone() *InternalV1OperationsDedicatedhostsDeleteGone
NewInternalV1OperationsDedicatedhostsDeleteGone creates a InternalV1OperationsDedicatedhostsDeleteGone with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteGone) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete gone response
func (*InternalV1OperationsDedicatedhostsDeleteGone) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteGone) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteGone) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete gone response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteGone) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete gone response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteGone) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete gone response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteGone) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete gone response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteGone) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete gone response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteGone) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteGone) String() string
type InternalV1OperationsDedicatedhostsDeleteInternalServerError ¶
InternalV1OperationsDedicatedhostsDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1OperationsDedicatedhostsDeleteInternalServerError ¶
func NewInternalV1OperationsDedicatedhostsDeleteInternalServerError() *InternalV1OperationsDedicatedhostsDeleteInternalServerError
NewInternalV1OperationsDedicatedhostsDeleteInternalServerError creates a InternalV1OperationsDedicatedhostsDeleteInternalServerError with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete internal server error response
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete internal server error response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteInternalServerError) String() string
type InternalV1OperationsDedicatedhostsDeleteNoContent ¶
type InternalV1OperationsDedicatedhostsDeleteNoContent struct { }
InternalV1OperationsDedicatedhostsDeleteNoContent describes a response with status code 204, with default header values.
Deleted
func NewInternalV1OperationsDedicatedhostsDeleteNoContent ¶
func NewInternalV1OperationsDedicatedhostsDeleteNoContent() *InternalV1OperationsDedicatedhostsDeleteNoContent
NewInternalV1OperationsDedicatedhostsDeleteNoContent creates a InternalV1OperationsDedicatedhostsDeleteNoContent with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete no content response
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete no content response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete no content response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete no content response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete no content response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete no content response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNoContent) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNoContent) String() string
type InternalV1OperationsDedicatedhostsDeleteNotFound ¶
InternalV1OperationsDedicatedhostsDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewInternalV1OperationsDedicatedhostsDeleteNotFound ¶
func NewInternalV1OperationsDedicatedhostsDeleteNotFound() *InternalV1OperationsDedicatedhostsDeleteNotFound
NewInternalV1OperationsDedicatedhostsDeleteNotFound creates a InternalV1OperationsDedicatedhostsDeleteNotFound with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete not found response
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete not found response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete not found response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete not found response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete not found response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete not found response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteNotFound) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteNotFound) String() string
type InternalV1OperationsDedicatedhostsDeleteParams ¶
type InternalV1OperationsDedicatedhostsDeleteParams struct { /* ResourceCrn. Encoded resource CRN, "/" to be encoded into "%2F", example 'crn:v1:staging:public:power-iaas:satloc_dal_clp2joc20ppo19876n50:a%2Fc7e6bd2517ad44eabbd61fcc25cf68d5:79bffc73-0035-4e7b-b34a-15da38927424:network:d8d51d44-053b-4df3-90b6-31fbe72ba600' */ ResourceCrn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1OperationsDedicatedhostsDeleteParams contains all the parameters to send to the API endpoint
for the internal v1 operations dedicatedhosts delete operation. Typically these are written to a http.Request.
func NewInternalV1OperationsDedicatedhostsDeleteParams ¶
func NewInternalV1OperationsDedicatedhostsDeleteParams() *InternalV1OperationsDedicatedhostsDeleteParams
NewInternalV1OperationsDedicatedhostsDeleteParams creates a new InternalV1OperationsDedicatedhostsDeleteParams 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 NewInternalV1OperationsDedicatedhostsDeleteParamsWithContext ¶
func NewInternalV1OperationsDedicatedhostsDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsDeleteParams
NewInternalV1OperationsDedicatedhostsDeleteParamsWithContext creates a new InternalV1OperationsDedicatedhostsDeleteParams object with the ability to set a context for a request.
func NewInternalV1OperationsDedicatedhostsDeleteParamsWithHTTPClient ¶
func NewInternalV1OperationsDedicatedhostsDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsDeleteParams
NewInternalV1OperationsDedicatedhostsDeleteParamsWithHTTPClient creates a new InternalV1OperationsDedicatedhostsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1OperationsDedicatedhostsDeleteParamsWithTimeout ¶
func NewInternalV1OperationsDedicatedhostsDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsDeleteParams
NewInternalV1OperationsDedicatedhostsDeleteParamsWithTimeout creates a new InternalV1OperationsDedicatedhostsDeleteParams object with the ability to set a timeout on a request.
func (*InternalV1OperationsDedicatedhostsDeleteParams) SetContext ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) SetDefaults ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 operations dedicatedhosts delete params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsDedicatedhostsDeleteParams) SetHTTPClient ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) SetResourceCrn ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetResourceCrn(resourceCrn string)
SetResourceCrn adds the resourceCrn to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) SetTimeout ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) WithContext ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsDeleteParams
WithContext adds the context to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) WithDefaults ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithDefaults() *InternalV1OperationsDedicatedhostsDeleteParams
WithDefaults hydrates default values in the internal v1 operations dedicatedhosts delete params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsDedicatedhostsDeleteParams) WithHTTPClient ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsDeleteParams
WithHTTPClient adds the HTTPClient to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) WithResourceCrn ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsDedicatedhostsDeleteParams
WithResourceCrn adds the resourceCrn to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) WithTimeout ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsDeleteParams
WithTimeout adds the timeout to the internal v1 operations dedicatedhosts delete params
func (*InternalV1OperationsDedicatedhostsDeleteParams) WriteToRequest ¶
func (o *InternalV1OperationsDedicatedhostsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1OperationsDedicatedhostsDeleteReader ¶
type InternalV1OperationsDedicatedhostsDeleteReader struct {
// contains filtered or unexported fields
}
InternalV1OperationsDedicatedhostsDeleteReader is a Reader for the InternalV1OperationsDedicatedhostsDelete structure.
func (*InternalV1OperationsDedicatedhostsDeleteReader) ReadResponse ¶
func (o *InternalV1OperationsDedicatedhostsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1OperationsDedicatedhostsDeleteTooManyRequests ¶
InternalV1OperationsDedicatedhostsDeleteTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewInternalV1OperationsDedicatedhostsDeleteTooManyRequests ¶
func NewInternalV1OperationsDedicatedhostsDeleteTooManyRequests() *InternalV1OperationsDedicatedhostsDeleteTooManyRequests
NewInternalV1OperationsDedicatedhostsDeleteTooManyRequests creates a InternalV1OperationsDedicatedhostsDeleteTooManyRequests with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete too many requests response
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete too many requests response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteTooManyRequests) String() string
type InternalV1OperationsDedicatedhostsDeleteUnauthorized ¶
type InternalV1OperationsDedicatedhostsDeleteUnauthorized struct {
}InternalV1OperationsDedicatedhostsDeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1OperationsDedicatedhostsDeleteUnauthorized ¶
func NewInternalV1OperationsDedicatedhostsDeleteUnauthorized() *InternalV1OperationsDedicatedhostsDeleteUnauthorized
NewInternalV1OperationsDedicatedhostsDeleteUnauthorized creates a InternalV1OperationsDedicatedhostsDeleteUnauthorized with default headers values
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) Code ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts delete unauthorized response
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) Error ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) Error() string
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts delete unauthorized response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) String ¶
func (o *InternalV1OperationsDedicatedhostsDeleteUnauthorized) String() string
type InternalV1OperationsDedicatedhostsPostBadRequest ¶
InternalV1OperationsDedicatedhostsPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInternalV1OperationsDedicatedhostsPostBadRequest ¶
func NewInternalV1OperationsDedicatedhostsPostBadRequest() *InternalV1OperationsDedicatedhostsPostBadRequest
NewInternalV1OperationsDedicatedhostsPostBadRequest creates a InternalV1OperationsDedicatedhostsPostBadRequest with default headers values
func (*InternalV1OperationsDedicatedhostsPostBadRequest) Code ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts post bad request response
func (*InternalV1OperationsDedicatedhostsPostBadRequest) Error ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) Error() string
func (*InternalV1OperationsDedicatedhostsPostBadRequest) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts post bad request response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts post bad request response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts post bad request response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts post bad request response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts post bad request response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsPostBadRequest) String ¶
func (o *InternalV1OperationsDedicatedhostsPostBadRequest) String() string
type InternalV1OperationsDedicatedhostsPostCreated ¶
type InternalV1OperationsDedicatedhostsPostCreated struct {
Payload *models.InternalOperationsResponse
}
InternalV1OperationsDedicatedhostsPostCreated describes a response with status code 201, with default header values.
Created
func NewInternalV1OperationsDedicatedhostsPostCreated ¶
func NewInternalV1OperationsDedicatedhostsPostCreated() *InternalV1OperationsDedicatedhostsPostCreated
NewInternalV1OperationsDedicatedhostsPostCreated creates a InternalV1OperationsDedicatedhostsPostCreated with default headers values
func (*InternalV1OperationsDedicatedhostsPostCreated) Code ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts post created response
func (*InternalV1OperationsDedicatedhostsPostCreated) Error ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) Error() string
func (*InternalV1OperationsDedicatedhostsPostCreated) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) GetPayload() *models.InternalOperationsResponse
func (*InternalV1OperationsDedicatedhostsPostCreated) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts post created response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsPostCreated) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts post created response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsPostCreated) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts post created response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsPostCreated) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts post created response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsPostCreated) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts post created response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsPostCreated) String ¶
func (o *InternalV1OperationsDedicatedhostsPostCreated) String() string
type InternalV1OperationsDedicatedhostsPostForbidden ¶
InternalV1OperationsDedicatedhostsPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1OperationsDedicatedhostsPostForbidden ¶
func NewInternalV1OperationsDedicatedhostsPostForbidden() *InternalV1OperationsDedicatedhostsPostForbidden
NewInternalV1OperationsDedicatedhostsPostForbidden creates a InternalV1OperationsDedicatedhostsPostForbidden with default headers values
func (*InternalV1OperationsDedicatedhostsPostForbidden) Code ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts post forbidden response
func (*InternalV1OperationsDedicatedhostsPostForbidden) Error ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) Error() string
func (*InternalV1OperationsDedicatedhostsPostForbidden) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsPostForbidden) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts post forbidden response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsPostForbidden) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts post forbidden response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsPostForbidden) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts post forbidden response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsPostForbidden) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts post forbidden response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsPostForbidden) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts post forbidden response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsPostForbidden) String ¶
func (o *InternalV1OperationsDedicatedhostsPostForbidden) String() string
type InternalV1OperationsDedicatedhostsPostInternalServerError ¶
InternalV1OperationsDedicatedhostsPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1OperationsDedicatedhostsPostInternalServerError ¶
func NewInternalV1OperationsDedicatedhostsPostInternalServerError() *InternalV1OperationsDedicatedhostsPostInternalServerError
NewInternalV1OperationsDedicatedhostsPostInternalServerError creates a InternalV1OperationsDedicatedhostsPostInternalServerError with default headers values
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) Code ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts post internal server error response
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) Error ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) Error() string
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts post internal server error response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts post internal server error response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts post internal server error response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts post internal server error response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts post internal server error response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsPostInternalServerError) String ¶
func (o *InternalV1OperationsDedicatedhostsPostInternalServerError) String() string
type InternalV1OperationsDedicatedhostsPostParams ¶
type InternalV1OperationsDedicatedhostsPostParams struct { /* Body. Parameters for creating a Dedicated Host CRN */ Body *models.InternalOperationsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1OperationsDedicatedhostsPostParams contains all the parameters to send to the API endpoint
for the internal v1 operations dedicatedhosts post operation. Typically these are written to a http.Request.
func NewInternalV1OperationsDedicatedhostsPostParams ¶
func NewInternalV1OperationsDedicatedhostsPostParams() *InternalV1OperationsDedicatedhostsPostParams
NewInternalV1OperationsDedicatedhostsPostParams creates a new InternalV1OperationsDedicatedhostsPostParams 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 NewInternalV1OperationsDedicatedhostsPostParamsWithContext ¶
func NewInternalV1OperationsDedicatedhostsPostParamsWithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsPostParams
NewInternalV1OperationsDedicatedhostsPostParamsWithContext creates a new InternalV1OperationsDedicatedhostsPostParams object with the ability to set a context for a request.
func NewInternalV1OperationsDedicatedhostsPostParamsWithHTTPClient ¶
func NewInternalV1OperationsDedicatedhostsPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsPostParams
NewInternalV1OperationsDedicatedhostsPostParamsWithHTTPClient creates a new InternalV1OperationsDedicatedhostsPostParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1OperationsDedicatedhostsPostParamsWithTimeout ¶
func NewInternalV1OperationsDedicatedhostsPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsPostParams
NewInternalV1OperationsDedicatedhostsPostParamsWithTimeout creates a new InternalV1OperationsDedicatedhostsPostParams object with the ability to set a timeout on a request.
func (*InternalV1OperationsDedicatedhostsPostParams) SetBody ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) SetBody(body *models.InternalOperationsRequest)
SetBody adds the body to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) SetContext ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) SetDefaults ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 operations dedicatedhosts post params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsDedicatedhostsPostParams) SetHTTPClient ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) SetTimeout ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) WithBody ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsDedicatedhostsPostParams
WithBody adds the body to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) WithContext ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) WithContext(ctx context.Context) *InternalV1OperationsDedicatedhostsPostParams
WithContext adds the context to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) WithDefaults ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) WithDefaults() *InternalV1OperationsDedicatedhostsPostParams
WithDefaults hydrates default values in the internal v1 operations dedicatedhosts post params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1OperationsDedicatedhostsPostParams) WithHTTPClient ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsDedicatedhostsPostParams
WithHTTPClient adds the HTTPClient to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) WithTimeout ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsDedicatedhostsPostParams
WithTimeout adds the timeout to the internal v1 operations dedicatedhosts post params
func (*InternalV1OperationsDedicatedhostsPostParams) WriteToRequest ¶
func (o *InternalV1OperationsDedicatedhostsPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1OperationsDedicatedhostsPostReader ¶
type InternalV1OperationsDedicatedhostsPostReader struct {
// contains filtered or unexported fields
}
InternalV1OperationsDedicatedhostsPostReader is a Reader for the InternalV1OperationsDedicatedhostsPost structure.
func (*InternalV1OperationsDedicatedhostsPostReader) ReadResponse ¶
func (o *InternalV1OperationsDedicatedhostsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1OperationsDedicatedhostsPostTooManyRequests ¶
InternalV1OperationsDedicatedhostsPostTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewInternalV1OperationsDedicatedhostsPostTooManyRequests ¶
func NewInternalV1OperationsDedicatedhostsPostTooManyRequests() *InternalV1OperationsDedicatedhostsPostTooManyRequests
NewInternalV1OperationsDedicatedhostsPostTooManyRequests creates a InternalV1OperationsDedicatedhostsPostTooManyRequests with default headers values
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) Code ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts post too many requests response
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) Error ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) Error() string
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts post too many requests response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts post too many requests response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts post too many requests response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts post too many requests response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts post too many requests response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) String ¶
func (o *InternalV1OperationsDedicatedhostsPostTooManyRequests) String() string
type InternalV1OperationsDedicatedhostsPostUnauthorized ¶
type InternalV1OperationsDedicatedhostsPostUnauthorized struct {
}InternalV1OperationsDedicatedhostsPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1OperationsDedicatedhostsPostUnauthorized ¶
func NewInternalV1OperationsDedicatedhostsPostUnauthorized() *InternalV1OperationsDedicatedhostsPostUnauthorized
NewInternalV1OperationsDedicatedhostsPostUnauthorized creates a InternalV1OperationsDedicatedhostsPostUnauthorized with default headers values
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) Code ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) Code() int
Code gets the status code for the internal v1 operations dedicatedhosts post unauthorized response
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) Error ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) Error() string
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) GetPayload ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsClientError ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 4xx status code
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsCode ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations dedicatedhosts post unauthorized response a status code equal to that given
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 3xx status code
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsServerError ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 5xx status code
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 2xx status code
func (*InternalV1OperationsDedicatedhostsPostUnauthorized) String ¶
func (o *InternalV1OperationsDedicatedhostsPostUnauthorized) String() string