internal_operations_volumes

package
v1.10.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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 volumes API

func (*Client) InternalV1OperationsVolumesDelete

InternalV1OperationsVolumesDelete deletes a volume c r n

func (*Client) InternalV1OperationsVolumesPost

InternalV1OperationsVolumesPost creates a c r n for a volume

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 {
	InternalV1OperationsVolumesDelete(params *InternalV1OperationsVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsVolumesDeleteNoContent, error)

	InternalV1OperationsVolumesPost(params *InternalV1OperationsVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsVolumesPostCreated, 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 volumes API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new internal operations volumes 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 volumes 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 InternalV1OperationsVolumesDeleteBadRequest

type InternalV1OperationsVolumesDeleteBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewInternalV1OperationsVolumesDeleteBadRequest

func NewInternalV1OperationsVolumesDeleteBadRequest() *InternalV1OperationsVolumesDeleteBadRequest

NewInternalV1OperationsVolumesDeleteBadRequest creates a InternalV1OperationsVolumesDeleteBadRequest with default headers values

func (*InternalV1OperationsVolumesDeleteBadRequest) Code

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

func (*InternalV1OperationsVolumesDeleteBadRequest) Error

func (*InternalV1OperationsVolumesDeleteBadRequest) GetPayload

func (*InternalV1OperationsVolumesDeleteBadRequest) IsClientError

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

func (*InternalV1OperationsVolumesDeleteBadRequest) IsCode

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

func (*InternalV1OperationsVolumesDeleteBadRequest) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteBadRequest) IsServerError

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

func (*InternalV1OperationsVolumesDeleteBadRequest) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteBadRequest) String

type InternalV1OperationsVolumesDeleteForbidden

type InternalV1OperationsVolumesDeleteForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewInternalV1OperationsVolumesDeleteForbidden

func NewInternalV1OperationsVolumesDeleteForbidden() *InternalV1OperationsVolumesDeleteForbidden

NewInternalV1OperationsVolumesDeleteForbidden creates a InternalV1OperationsVolumesDeleteForbidden with default headers values

func (*InternalV1OperationsVolumesDeleteForbidden) Code

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

func (*InternalV1OperationsVolumesDeleteForbidden) Error

func (*InternalV1OperationsVolumesDeleteForbidden) GetPayload

func (*InternalV1OperationsVolumesDeleteForbidden) IsClientError

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

func (*InternalV1OperationsVolumesDeleteForbidden) IsCode

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

func (*InternalV1OperationsVolumesDeleteForbidden) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteForbidden) IsServerError

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

func (*InternalV1OperationsVolumesDeleteForbidden) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteForbidden) String

type InternalV1OperationsVolumesDeleteGone

type InternalV1OperationsVolumesDeleteGone struct {
	Payload *models.Error
}

InternalV1OperationsVolumesDeleteGone describes a response with status code 410, with default header values.

Gone

func NewInternalV1OperationsVolumesDeleteGone

func NewInternalV1OperationsVolumesDeleteGone() *InternalV1OperationsVolumesDeleteGone

NewInternalV1OperationsVolumesDeleteGone creates a InternalV1OperationsVolumesDeleteGone with default headers values

func (*InternalV1OperationsVolumesDeleteGone) Code

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

func (*InternalV1OperationsVolumesDeleteGone) Error

func (*InternalV1OperationsVolumesDeleteGone) GetPayload

func (*InternalV1OperationsVolumesDeleteGone) IsClientError

func (o *InternalV1OperationsVolumesDeleteGone) IsClientError() bool

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

func (*InternalV1OperationsVolumesDeleteGone) IsCode

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

func (*InternalV1OperationsVolumesDeleteGone) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteGone) IsServerError

func (o *InternalV1OperationsVolumesDeleteGone) IsServerError() bool

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

func (*InternalV1OperationsVolumesDeleteGone) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteGone) String

type InternalV1OperationsVolumesDeleteInternalServerError

type InternalV1OperationsVolumesDeleteInternalServerError struct {
	Payload *models.Error
}

InternalV1OperationsVolumesDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInternalV1OperationsVolumesDeleteInternalServerError

func NewInternalV1OperationsVolumesDeleteInternalServerError() *InternalV1OperationsVolumesDeleteInternalServerError

NewInternalV1OperationsVolumesDeleteInternalServerError creates a InternalV1OperationsVolumesDeleteInternalServerError with default headers values

func (*InternalV1OperationsVolumesDeleteInternalServerError) Code

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

func (*InternalV1OperationsVolumesDeleteInternalServerError) Error

func (*InternalV1OperationsVolumesDeleteInternalServerError) GetPayload

func (*InternalV1OperationsVolumesDeleteInternalServerError) IsClientError

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

func (*InternalV1OperationsVolumesDeleteInternalServerError) IsCode

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

func (*InternalV1OperationsVolumesDeleteInternalServerError) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteInternalServerError) IsServerError

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

func (*InternalV1OperationsVolumesDeleteInternalServerError) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteInternalServerError) String

type InternalV1OperationsVolumesDeleteNoContent

type InternalV1OperationsVolumesDeleteNoContent struct {
}

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

Deleted

func NewInternalV1OperationsVolumesDeleteNoContent

func NewInternalV1OperationsVolumesDeleteNoContent() *InternalV1OperationsVolumesDeleteNoContent

NewInternalV1OperationsVolumesDeleteNoContent creates a InternalV1OperationsVolumesDeleteNoContent with default headers values

func (*InternalV1OperationsVolumesDeleteNoContent) Code

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

func (*InternalV1OperationsVolumesDeleteNoContent) Error

func (*InternalV1OperationsVolumesDeleteNoContent) IsClientError

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

func (*InternalV1OperationsVolumesDeleteNoContent) IsCode

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

func (*InternalV1OperationsVolumesDeleteNoContent) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteNoContent) IsServerError

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

func (*InternalV1OperationsVolumesDeleteNoContent) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteNoContent) String

type InternalV1OperationsVolumesDeleteNotFound

type InternalV1OperationsVolumesDeleteNotFound struct {
	Payload *models.Error
}

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

Not Found

func NewInternalV1OperationsVolumesDeleteNotFound

func NewInternalV1OperationsVolumesDeleteNotFound() *InternalV1OperationsVolumesDeleteNotFound

NewInternalV1OperationsVolumesDeleteNotFound creates a InternalV1OperationsVolumesDeleteNotFound with default headers values

func (*InternalV1OperationsVolumesDeleteNotFound) Code

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

func (*InternalV1OperationsVolumesDeleteNotFound) Error

func (*InternalV1OperationsVolumesDeleteNotFound) GetPayload

func (*InternalV1OperationsVolumesDeleteNotFound) IsClientError

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

func (*InternalV1OperationsVolumesDeleteNotFound) IsCode

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

func (*InternalV1OperationsVolumesDeleteNotFound) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteNotFound) IsServerError

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

func (*InternalV1OperationsVolumesDeleteNotFound) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteNotFound) String

type InternalV1OperationsVolumesDeleteParams

type InternalV1OperationsVolumesDeleteParams struct {

	/* Authorization.

	   Authentication of the service token
	*/
	Authorization string

	/* CRN.

	   the CRN of the workspace
	*/
	CRN string

	/* IBMUserAuthorization.

	   Authentication of the operation account user
	*/
	IBMUserAuthorization string

	/* 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
}

InternalV1OperationsVolumesDeleteParams contains all the parameters to send to the API endpoint

for the internal v1 operations volumes delete operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsVolumesDeleteParams

func NewInternalV1OperationsVolumesDeleteParams() *InternalV1OperationsVolumesDeleteParams

NewInternalV1OperationsVolumesDeleteParams creates a new InternalV1OperationsVolumesDeleteParams 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 NewInternalV1OperationsVolumesDeleteParamsWithContext

func NewInternalV1OperationsVolumesDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsVolumesDeleteParams

NewInternalV1OperationsVolumesDeleteParamsWithContext creates a new InternalV1OperationsVolumesDeleteParams object with the ability to set a context for a request.

func NewInternalV1OperationsVolumesDeleteParamsWithHTTPClient

func NewInternalV1OperationsVolumesDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsVolumesDeleteParams

NewInternalV1OperationsVolumesDeleteParamsWithHTTPClient creates a new InternalV1OperationsVolumesDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsVolumesDeleteParamsWithTimeout

func NewInternalV1OperationsVolumesDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsVolumesDeleteParams

NewInternalV1OperationsVolumesDeleteParamsWithTimeout creates a new InternalV1OperationsVolumesDeleteParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsVolumesDeleteParams) SetAuthorization

func (o *InternalV1OperationsVolumesDeleteParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) SetCRN

SetCRN adds the cRN to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) SetContext

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

func (*InternalV1OperationsVolumesDeleteParams) SetDefaults

func (o *InternalV1OperationsVolumesDeleteParams) SetDefaults()

SetDefaults hydrates default values in the internal v1 operations volumes delete params (not the query body).

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

func (*InternalV1OperationsVolumesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) SetIBMUserAuthorization

func (o *InternalV1OperationsVolumesDeleteParams) SetIBMUserAuthorization(iBMUserAuthorization string)

SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) SetResourceCrn

func (o *InternalV1OperationsVolumesDeleteParams) SetResourceCrn(resourceCrn string)

SetResourceCrn adds the resourceCrn to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) SetTimeout

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

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

func (*InternalV1OperationsVolumesDeleteParams) WithAuthorization

WithAuthorization adds the authorization to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) WithCRN

WithCRN adds the cRN to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) WithContext

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

func (*InternalV1OperationsVolumesDeleteParams) WithDefaults

WithDefaults hydrates default values in the internal v1 operations volumes delete params (not the query body).

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

func (*InternalV1OperationsVolumesDeleteParams) WithHTTPClient

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

func (*InternalV1OperationsVolumesDeleteParams) WithIBMUserAuthorization

func (o *InternalV1OperationsVolumesDeleteParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsVolumesDeleteParams

WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations volumes delete params

func (*InternalV1OperationsVolumesDeleteParams) WithResourceCrn

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

func (*InternalV1OperationsVolumesDeleteParams) WithTimeout

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

func (*InternalV1OperationsVolumesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsVolumesDeleteReader

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

InternalV1OperationsVolumesDeleteReader is a Reader for the InternalV1OperationsVolumesDelete structure.

func (*InternalV1OperationsVolumesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1OperationsVolumesDeleteTooManyRequests

type InternalV1OperationsVolumesDeleteTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewInternalV1OperationsVolumesDeleteTooManyRequests

func NewInternalV1OperationsVolumesDeleteTooManyRequests() *InternalV1OperationsVolumesDeleteTooManyRequests

NewInternalV1OperationsVolumesDeleteTooManyRequests creates a InternalV1OperationsVolumesDeleteTooManyRequests with default headers values

func (*InternalV1OperationsVolumesDeleteTooManyRequests) Code

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

func (*InternalV1OperationsVolumesDeleteTooManyRequests) Error

func (*InternalV1OperationsVolumesDeleteTooManyRequests) GetPayload

func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsClientError

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

func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsCode

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

func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsServerError

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

func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteTooManyRequests) String

type InternalV1OperationsVolumesDeleteUnauthorized

type InternalV1OperationsVolumesDeleteUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewInternalV1OperationsVolumesDeleteUnauthorized

func NewInternalV1OperationsVolumesDeleteUnauthorized() *InternalV1OperationsVolumesDeleteUnauthorized

NewInternalV1OperationsVolumesDeleteUnauthorized creates a InternalV1OperationsVolumesDeleteUnauthorized with default headers values

func (*InternalV1OperationsVolumesDeleteUnauthorized) Code

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

func (*InternalV1OperationsVolumesDeleteUnauthorized) Error

func (*InternalV1OperationsVolumesDeleteUnauthorized) GetPayload

func (*InternalV1OperationsVolumesDeleteUnauthorized) IsClientError

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

func (*InternalV1OperationsVolumesDeleteUnauthorized) IsCode

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

func (*InternalV1OperationsVolumesDeleteUnauthorized) IsRedirect

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

func (*InternalV1OperationsVolumesDeleteUnauthorized) IsServerError

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

func (*InternalV1OperationsVolumesDeleteUnauthorized) IsSuccess

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

func (*InternalV1OperationsVolumesDeleteUnauthorized) String

type InternalV1OperationsVolumesPostBadRequest

type InternalV1OperationsVolumesPostBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewInternalV1OperationsVolumesPostBadRequest

func NewInternalV1OperationsVolumesPostBadRequest() *InternalV1OperationsVolumesPostBadRequest

NewInternalV1OperationsVolumesPostBadRequest creates a InternalV1OperationsVolumesPostBadRequest with default headers values

func (*InternalV1OperationsVolumesPostBadRequest) Code

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

func (*InternalV1OperationsVolumesPostBadRequest) Error

func (*InternalV1OperationsVolumesPostBadRequest) GetPayload

func (*InternalV1OperationsVolumesPostBadRequest) IsClientError

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

func (*InternalV1OperationsVolumesPostBadRequest) IsCode

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

func (*InternalV1OperationsVolumesPostBadRequest) IsRedirect

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

func (*InternalV1OperationsVolumesPostBadRequest) IsServerError

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

func (*InternalV1OperationsVolumesPostBadRequest) IsSuccess

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

func (*InternalV1OperationsVolumesPostBadRequest) String

type InternalV1OperationsVolumesPostCreated

type InternalV1OperationsVolumesPostCreated struct {
	Payload *models.InternalOperationsResponse
}

InternalV1OperationsVolumesPostCreated describes a response with status code 201, with default header values.

Created

func NewInternalV1OperationsVolumesPostCreated

func NewInternalV1OperationsVolumesPostCreated() *InternalV1OperationsVolumesPostCreated

NewInternalV1OperationsVolumesPostCreated creates a InternalV1OperationsVolumesPostCreated with default headers values

func (*InternalV1OperationsVolumesPostCreated) Code

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

func (*InternalV1OperationsVolumesPostCreated) Error

func (*InternalV1OperationsVolumesPostCreated) GetPayload

func (*InternalV1OperationsVolumesPostCreated) IsClientError

func (o *InternalV1OperationsVolumesPostCreated) IsClientError() bool

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

func (*InternalV1OperationsVolumesPostCreated) IsCode

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

func (*InternalV1OperationsVolumesPostCreated) IsRedirect

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

func (*InternalV1OperationsVolumesPostCreated) IsServerError

func (o *InternalV1OperationsVolumesPostCreated) IsServerError() bool

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

func (*InternalV1OperationsVolumesPostCreated) IsSuccess

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

func (*InternalV1OperationsVolumesPostCreated) String

type InternalV1OperationsVolumesPostForbidden

type InternalV1OperationsVolumesPostForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewInternalV1OperationsVolumesPostForbidden

func NewInternalV1OperationsVolumesPostForbidden() *InternalV1OperationsVolumesPostForbidden

NewInternalV1OperationsVolumesPostForbidden creates a InternalV1OperationsVolumesPostForbidden with default headers values

func (*InternalV1OperationsVolumesPostForbidden) Code

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

func (*InternalV1OperationsVolumesPostForbidden) Error

func (*InternalV1OperationsVolumesPostForbidden) GetPayload

func (*InternalV1OperationsVolumesPostForbidden) IsClientError

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

func (*InternalV1OperationsVolumesPostForbidden) IsCode

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

func (*InternalV1OperationsVolumesPostForbidden) IsRedirect

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

func (*InternalV1OperationsVolumesPostForbidden) IsServerError

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

func (*InternalV1OperationsVolumesPostForbidden) IsSuccess

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

func (*InternalV1OperationsVolumesPostForbidden) String

type InternalV1OperationsVolumesPostInternalServerError

type InternalV1OperationsVolumesPostInternalServerError struct {
	Payload *models.Error
}

InternalV1OperationsVolumesPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInternalV1OperationsVolumesPostInternalServerError

func NewInternalV1OperationsVolumesPostInternalServerError() *InternalV1OperationsVolumesPostInternalServerError

NewInternalV1OperationsVolumesPostInternalServerError creates a InternalV1OperationsVolumesPostInternalServerError with default headers values

func (*InternalV1OperationsVolumesPostInternalServerError) Code

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

func (*InternalV1OperationsVolumesPostInternalServerError) Error

func (*InternalV1OperationsVolumesPostInternalServerError) GetPayload

func (*InternalV1OperationsVolumesPostInternalServerError) IsClientError

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

func (*InternalV1OperationsVolumesPostInternalServerError) IsCode

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

func (*InternalV1OperationsVolumesPostInternalServerError) IsRedirect

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

func (*InternalV1OperationsVolumesPostInternalServerError) IsServerError

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

func (*InternalV1OperationsVolumesPostInternalServerError) IsSuccess

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

func (*InternalV1OperationsVolumesPostInternalServerError) String

type InternalV1OperationsVolumesPostParams

type InternalV1OperationsVolumesPostParams struct {

	/* Authorization.

	   Authentication of the service token
	*/
	Authorization string

	/* CRN.

	   the CRN of the workspace
	*/
	CRN string

	/* IBMUserAuthorization.

	   Authentication of the operation account user
	*/
	IBMUserAuthorization string

	/* Body.

	   Parameters for creating Volume CRN
	*/
	Body *models.InternalOperationsRequest

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

InternalV1OperationsVolumesPostParams contains all the parameters to send to the API endpoint

for the internal v1 operations volumes post operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsVolumesPostParams

func NewInternalV1OperationsVolumesPostParams() *InternalV1OperationsVolumesPostParams

NewInternalV1OperationsVolumesPostParams creates a new InternalV1OperationsVolumesPostParams 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 NewInternalV1OperationsVolumesPostParamsWithContext

func NewInternalV1OperationsVolumesPostParamsWithContext(ctx context.Context) *InternalV1OperationsVolumesPostParams

NewInternalV1OperationsVolumesPostParamsWithContext creates a new InternalV1OperationsVolumesPostParams object with the ability to set a context for a request.

func NewInternalV1OperationsVolumesPostParamsWithHTTPClient

func NewInternalV1OperationsVolumesPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsVolumesPostParams

NewInternalV1OperationsVolumesPostParamsWithHTTPClient creates a new InternalV1OperationsVolumesPostParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsVolumesPostParamsWithTimeout

func NewInternalV1OperationsVolumesPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsVolumesPostParams

NewInternalV1OperationsVolumesPostParamsWithTimeout creates a new InternalV1OperationsVolumesPostParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsVolumesPostParams) SetAuthorization

func (o *InternalV1OperationsVolumesPostParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) SetBody

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

func (*InternalV1OperationsVolumesPostParams) SetCRN

SetCRN adds the cRN to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) SetContext

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

func (*InternalV1OperationsVolumesPostParams) SetDefaults

func (o *InternalV1OperationsVolumesPostParams) SetDefaults()

SetDefaults hydrates default values in the internal v1 operations volumes post params (not the query body).

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

func (*InternalV1OperationsVolumesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) SetIBMUserAuthorization

func (o *InternalV1OperationsVolumesPostParams) SetIBMUserAuthorization(iBMUserAuthorization string)

SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) SetTimeout

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

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

func (*InternalV1OperationsVolumesPostParams) WithAuthorization

WithAuthorization adds the authorization to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) WithBody

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

func (*InternalV1OperationsVolumesPostParams) WithCRN

WithCRN adds the cRN to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) WithContext

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

func (*InternalV1OperationsVolumesPostParams) WithDefaults

WithDefaults hydrates default values in the internal v1 operations volumes post params (not the query body).

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

func (*InternalV1OperationsVolumesPostParams) WithHTTPClient

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

func (*InternalV1OperationsVolumesPostParams) WithIBMUserAuthorization

func (o *InternalV1OperationsVolumesPostParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsVolumesPostParams

WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 operations volumes post params

func (*InternalV1OperationsVolumesPostParams) WithTimeout

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

func (*InternalV1OperationsVolumesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsVolumesPostReader

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

InternalV1OperationsVolumesPostReader is a Reader for the InternalV1OperationsVolumesPost structure.

func (*InternalV1OperationsVolumesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1OperationsVolumesPostTooManyRequests

type InternalV1OperationsVolumesPostTooManyRequests struct {
	Payload *models.Error
}

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

Too Many Requests

func NewInternalV1OperationsVolumesPostTooManyRequests

func NewInternalV1OperationsVolumesPostTooManyRequests() *InternalV1OperationsVolumesPostTooManyRequests

NewInternalV1OperationsVolumesPostTooManyRequests creates a InternalV1OperationsVolumesPostTooManyRequests with default headers values

func (*InternalV1OperationsVolumesPostTooManyRequests) Code

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

func (*InternalV1OperationsVolumesPostTooManyRequests) Error

func (*InternalV1OperationsVolumesPostTooManyRequests) GetPayload

func (*InternalV1OperationsVolumesPostTooManyRequests) IsClientError

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

func (*InternalV1OperationsVolumesPostTooManyRequests) IsCode

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

func (*InternalV1OperationsVolumesPostTooManyRequests) IsRedirect

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

func (*InternalV1OperationsVolumesPostTooManyRequests) IsServerError

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

func (*InternalV1OperationsVolumesPostTooManyRequests) IsSuccess

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

func (*InternalV1OperationsVolumesPostTooManyRequests) String

type InternalV1OperationsVolumesPostUnauthorized

type InternalV1OperationsVolumesPostUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewInternalV1OperationsVolumesPostUnauthorized

func NewInternalV1OperationsVolumesPostUnauthorized() *InternalV1OperationsVolumesPostUnauthorized

NewInternalV1OperationsVolumesPostUnauthorized creates a InternalV1OperationsVolumesPostUnauthorized with default headers values

func (*InternalV1OperationsVolumesPostUnauthorized) Code

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

func (*InternalV1OperationsVolumesPostUnauthorized) Error

func (*InternalV1OperationsVolumesPostUnauthorized) GetPayload

func (*InternalV1OperationsVolumesPostUnauthorized) IsClientError

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

func (*InternalV1OperationsVolumesPostUnauthorized) IsCode

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

func (*InternalV1OperationsVolumesPostUnauthorized) IsRedirect

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

func (*InternalV1OperationsVolumesPostUnauthorized) IsServerError

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

func (*InternalV1OperationsVolumesPostUnauthorized) IsSuccess

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

func (*InternalV1OperationsVolumesPostUnauthorized) String

Jump to

Keyboard shortcuts

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