internal_operations_dedicated_hosts

package
v1.10.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for internal operations dedicated hosts API

func (*Client) InternalV1OperationsDedicatedhostsDelete

InternalV1OperationsDedicatedhostsDelete deletes a dedicated host c r n

func (*Client) InternalV1OperationsDedicatedhostsPost

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

type InternalV1OperationsDedicatedhostsDeleteBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete bad request response

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) Error

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete bad request response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete bad request response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete bad request response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete bad request response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete bad request response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteBadRequest) String

type InternalV1OperationsDedicatedhostsDeleteForbidden

type InternalV1OperationsDedicatedhostsDeleteForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete forbidden response

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) Error

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete forbidden response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete forbidden response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteForbidden) String

type InternalV1OperationsDedicatedhostsDeleteGone

type InternalV1OperationsDedicatedhostsDeleteGone struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete gone response

func (*InternalV1OperationsDedicatedhostsDeleteGone) Error

func (*InternalV1OperationsDedicatedhostsDeleteGone) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteGone) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete gone response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteGone) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete gone response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteGone) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete gone response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteGone) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete gone response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteGone) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete gone response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteGone) String

type InternalV1OperationsDedicatedhostsDeleteInternalServerError

type InternalV1OperationsDedicatedhostsDeleteInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete internal server error response

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) Error

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete internal server error response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete internal server error response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteInternalServerError) 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

Code gets the status code for the internal v1 operations dedicatedhosts delete no content response

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) Error

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete no content response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete no content response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete no content response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete no content response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete no content response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNoContent) String

type InternalV1OperationsDedicatedhostsDeleteNotFound

type InternalV1OperationsDedicatedhostsDeleteNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete not found response

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) Error

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete not found response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete not found response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete not found response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete not found response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete not found response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteNotFound) 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

SetContext adds the context to the internal v1 operations dedicatedhosts delete params

func (*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

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

SetTimeout adds the timeout to the internal v1 operations dedicatedhosts delete params

func (*InternalV1OperationsDedicatedhostsDeleteParams) WithContext

WithContext adds the context to the internal v1 operations dedicatedhosts delete params

func (*InternalV1OperationsDedicatedhostsDeleteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the internal v1 operations dedicatedhosts delete params

func (*InternalV1OperationsDedicatedhostsDeleteParams) WithResourceCrn

WithResourceCrn adds the resourceCrn to the internal v1 operations dedicatedhosts delete params

func (*InternalV1OperationsDedicatedhostsDeleteParams) WithTimeout

WithTimeout adds the timeout to the internal v1 operations dedicatedhosts delete params

func (*InternalV1OperationsDedicatedhostsDeleteParams) WriteToRequest

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

type InternalV1OperationsDedicatedhostsDeleteTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete too many requests response

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) Error

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete too many requests response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete too many requests response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteTooManyRequests) String

type InternalV1OperationsDedicatedhostsDeleteUnauthorized

type InternalV1OperationsDedicatedhostsDeleteUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts delete unauthorized response

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) Error

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) GetPayload

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts delete unauthorized response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts delete unauthorized response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsDeleteUnauthorized) String

type InternalV1OperationsDedicatedhostsPostBadRequest

type InternalV1OperationsDedicatedhostsPostBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts post bad request response

func (*InternalV1OperationsDedicatedhostsPostBadRequest) Error

func (*InternalV1OperationsDedicatedhostsPostBadRequest) GetPayload

func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts post bad request response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts post bad request response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts post bad request response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts post bad request response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsPostBadRequest) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts post bad request response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsPostBadRequest) 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

Code gets the status code for the internal v1 operations dedicatedhosts post created response

func (*InternalV1OperationsDedicatedhostsPostCreated) Error

func (*InternalV1OperationsDedicatedhostsPostCreated) GetPayload

func (*InternalV1OperationsDedicatedhostsPostCreated) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts post created response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsPostCreated) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts post created response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsPostCreated) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts post created response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsPostCreated) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts post created response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsPostCreated) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts post created response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsPostCreated) String

type InternalV1OperationsDedicatedhostsPostForbidden

type InternalV1OperationsDedicatedhostsPostForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts post forbidden response

func (*InternalV1OperationsDedicatedhostsPostForbidden) Error

func (*InternalV1OperationsDedicatedhostsPostForbidden) GetPayload

func (*InternalV1OperationsDedicatedhostsPostForbidden) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts post forbidden response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsPostForbidden) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts post forbidden response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsPostForbidden) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts post forbidden response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsPostForbidden) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts post forbidden response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsPostForbidden) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts post forbidden response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsPostForbidden) String

type InternalV1OperationsDedicatedhostsPostInternalServerError

type InternalV1OperationsDedicatedhostsPostInternalServerError struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts post internal server error response

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) Error

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) GetPayload

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts post internal server error response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts post internal server error response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts post internal server error response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts post internal server error response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts post internal server error response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsPostInternalServerError) 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

SetBody adds the body to the internal v1 operations dedicatedhosts post params

func (*InternalV1OperationsDedicatedhostsPostParams) SetContext

SetContext adds the context to the internal v1 operations dedicatedhosts post params

func (*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

SetTimeout adds the timeout to the internal v1 operations dedicatedhosts post params

func (*InternalV1OperationsDedicatedhostsPostParams) WithBody

WithBody adds the body to the internal v1 operations dedicatedhosts post params

func (*InternalV1OperationsDedicatedhostsPostParams) WithContext

WithContext adds the context to the internal v1 operations dedicatedhosts post params

func (*InternalV1OperationsDedicatedhostsPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the internal v1 operations dedicatedhosts post params

func (*InternalV1OperationsDedicatedhostsPostParams) WithTimeout

WithTimeout adds the timeout to the internal v1 operations dedicatedhosts post params

func (*InternalV1OperationsDedicatedhostsPostParams) WriteToRequest

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

type InternalV1OperationsDedicatedhostsPostTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts post too many requests response

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) Error

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) GetPayload

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts post too many requests response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts post too many requests response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts post too many requests response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts post too many requests response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts post too many requests response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsPostTooManyRequests) String

type InternalV1OperationsDedicatedhostsPostUnauthorized

type InternalV1OperationsDedicatedhostsPostUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the internal v1 operations dedicatedhosts post unauthorized response

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) Error

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) GetPayload

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsClientError

IsClientError returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 4xx status code

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsCode

IsCode returns true when this internal v1 operations dedicatedhosts post unauthorized response a status code equal to that given

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsRedirect

IsRedirect returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 3xx status code

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsServerError

IsServerError returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 5xx status code

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) IsSuccess

IsSuccess returns true when this internal v1 operations dedicatedhosts post unauthorized response has a 2xx status code

func (*InternalV1OperationsDedicatedhostsPostUnauthorized) String

Jump to

Keyboard shortcuts

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