Documentation ¶
Index ¶
- type Client
- func (a *Client) InternalV1OperationsVolumesDelete(params *InternalV1OperationsVolumesDeleteParams, ...) (*InternalV1OperationsVolumesDeleteNoContent, error)
- func (a *Client) InternalV1OperationsVolumesPost(params *InternalV1OperationsVolumesPostParams, ...) (*InternalV1OperationsVolumesPostCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type InternalV1OperationsVolumesDeleteBadRequest
- func (o *InternalV1OperationsVolumesDeleteBadRequest) Code() int
- func (o *InternalV1OperationsVolumesDeleteBadRequest) Error() string
- func (o *InternalV1OperationsVolumesDeleteBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteBadRequest) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteBadRequest) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteBadRequest) String() string
- type InternalV1OperationsVolumesDeleteForbidden
- func (o *InternalV1OperationsVolumesDeleteForbidden) Code() int
- func (o *InternalV1OperationsVolumesDeleteForbidden) Error() string
- func (o *InternalV1OperationsVolumesDeleteForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteForbidden) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteForbidden) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteForbidden) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteForbidden) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteForbidden) String() string
- type InternalV1OperationsVolumesDeleteGone
- func (o *InternalV1OperationsVolumesDeleteGone) Code() int
- func (o *InternalV1OperationsVolumesDeleteGone) Error() string
- func (o *InternalV1OperationsVolumesDeleteGone) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteGone) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteGone) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteGone) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteGone) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteGone) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteGone) String() string
- type InternalV1OperationsVolumesDeleteInternalServerError
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) Code() int
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) Error() string
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteInternalServerError) String() string
- type InternalV1OperationsVolumesDeleteNoContent
- func (o *InternalV1OperationsVolumesDeleteNoContent) Code() int
- func (o *InternalV1OperationsVolumesDeleteNoContent) Error() string
- func (o *InternalV1OperationsVolumesDeleteNoContent) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteNoContent) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteNoContent) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteNoContent) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteNoContent) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteNoContent) String() string
- type InternalV1OperationsVolumesDeleteNotFound
- func (o *InternalV1OperationsVolumesDeleteNotFound) Code() int
- func (o *InternalV1OperationsVolumesDeleteNotFound) Error() string
- func (o *InternalV1OperationsVolumesDeleteNotFound) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteNotFound) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteNotFound) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteNotFound) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteNotFound) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteNotFound) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteNotFound) String() string
- type InternalV1OperationsVolumesDeleteParams
- func NewInternalV1OperationsVolumesDeleteParams() *InternalV1OperationsVolumesDeleteParams
- func NewInternalV1OperationsVolumesDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsVolumesDeleteParams
- func NewInternalV1OperationsVolumesDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsVolumesDeleteParams
- func NewInternalV1OperationsVolumesDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) SetAuthorization(authorization string)
- func (o *InternalV1OperationsVolumesDeleteParams) SetCRN(cRN string)
- func (o *InternalV1OperationsVolumesDeleteParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsVolumesDeleteParams) SetDefaults()
- func (o *InternalV1OperationsVolumesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsVolumesDeleteParams) SetIBMUserAuthorization(iBMUserAuthorization string)
- func (o *InternalV1OperationsVolumesDeleteParams) SetResourceCrn(resourceCrn string)
- func (o *InternalV1OperationsVolumesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsVolumesDeleteParams) WithAuthorization(authorization string) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithCRN(cRN string) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithDefaults() *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsVolumesDeleteParams
- func (o *InternalV1OperationsVolumesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsVolumesDeleteReader
- type InternalV1OperationsVolumesDeleteTooManyRequests
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) Code() int
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) Error() string
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteTooManyRequests) String() string
- type InternalV1OperationsVolumesDeleteUnauthorized
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) Code() int
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) Error() string
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsVolumesDeleteUnauthorized) String() string
- type InternalV1OperationsVolumesPostBadRequest
- func (o *InternalV1OperationsVolumesPostBadRequest) Code() int
- func (o *InternalV1OperationsVolumesPostBadRequest) Error() string
- func (o *InternalV1OperationsVolumesPostBadRequest) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesPostBadRequest) IsClientError() bool
- func (o *InternalV1OperationsVolumesPostBadRequest) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesPostBadRequest) IsRedirect() bool
- func (o *InternalV1OperationsVolumesPostBadRequest) IsServerError() bool
- func (o *InternalV1OperationsVolumesPostBadRequest) IsSuccess() bool
- func (o *InternalV1OperationsVolumesPostBadRequest) String() string
- type InternalV1OperationsVolumesPostCreated
- func (o *InternalV1OperationsVolumesPostCreated) Code() int
- func (o *InternalV1OperationsVolumesPostCreated) Error() string
- func (o *InternalV1OperationsVolumesPostCreated) GetPayload() *models.InternalOperationsResponse
- func (o *InternalV1OperationsVolumesPostCreated) IsClientError() bool
- func (o *InternalV1OperationsVolumesPostCreated) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesPostCreated) IsRedirect() bool
- func (o *InternalV1OperationsVolumesPostCreated) IsServerError() bool
- func (o *InternalV1OperationsVolumesPostCreated) IsSuccess() bool
- func (o *InternalV1OperationsVolumesPostCreated) String() string
- type InternalV1OperationsVolumesPostForbidden
- func (o *InternalV1OperationsVolumesPostForbidden) Code() int
- func (o *InternalV1OperationsVolumesPostForbidden) Error() string
- func (o *InternalV1OperationsVolumesPostForbidden) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesPostForbidden) IsClientError() bool
- func (o *InternalV1OperationsVolumesPostForbidden) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesPostForbidden) IsRedirect() bool
- func (o *InternalV1OperationsVolumesPostForbidden) IsServerError() bool
- func (o *InternalV1OperationsVolumesPostForbidden) IsSuccess() bool
- func (o *InternalV1OperationsVolumesPostForbidden) String() string
- type InternalV1OperationsVolumesPostInternalServerError
- func (o *InternalV1OperationsVolumesPostInternalServerError) Code() int
- func (o *InternalV1OperationsVolumesPostInternalServerError) Error() string
- func (o *InternalV1OperationsVolumesPostInternalServerError) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesPostInternalServerError) IsClientError() bool
- func (o *InternalV1OperationsVolumesPostInternalServerError) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesPostInternalServerError) IsRedirect() bool
- func (o *InternalV1OperationsVolumesPostInternalServerError) IsServerError() bool
- func (o *InternalV1OperationsVolumesPostInternalServerError) IsSuccess() bool
- func (o *InternalV1OperationsVolumesPostInternalServerError) String() string
- type InternalV1OperationsVolumesPostParams
- func NewInternalV1OperationsVolumesPostParams() *InternalV1OperationsVolumesPostParams
- func NewInternalV1OperationsVolumesPostParamsWithContext(ctx context.Context) *InternalV1OperationsVolumesPostParams
- func NewInternalV1OperationsVolumesPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsVolumesPostParams
- func NewInternalV1OperationsVolumesPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) SetAuthorization(authorization string)
- func (o *InternalV1OperationsVolumesPostParams) SetBody(body *models.InternalOperationsRequest)
- func (o *InternalV1OperationsVolumesPostParams) SetCRN(cRN string)
- func (o *InternalV1OperationsVolumesPostParams) SetContext(ctx context.Context)
- func (o *InternalV1OperationsVolumesPostParams) SetDefaults()
- func (o *InternalV1OperationsVolumesPostParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1OperationsVolumesPostParams) SetIBMUserAuthorization(iBMUserAuthorization string)
- func (o *InternalV1OperationsVolumesPostParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1OperationsVolumesPostParams) WithAuthorization(authorization string) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithCRN(cRN string) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithContext(ctx context.Context) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithDefaults() *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsVolumesPostParams
- func (o *InternalV1OperationsVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1OperationsVolumesPostReader
- type InternalV1OperationsVolumesPostTooManyRequests
- func (o *InternalV1OperationsVolumesPostTooManyRequests) Code() int
- func (o *InternalV1OperationsVolumesPostTooManyRequests) Error() string
- func (o *InternalV1OperationsVolumesPostTooManyRequests) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesPostTooManyRequests) IsClientError() bool
- func (o *InternalV1OperationsVolumesPostTooManyRequests) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesPostTooManyRequests) IsRedirect() bool
- func (o *InternalV1OperationsVolumesPostTooManyRequests) IsServerError() bool
- func (o *InternalV1OperationsVolumesPostTooManyRequests) IsSuccess() bool
- func (o *InternalV1OperationsVolumesPostTooManyRequests) String() string
- type InternalV1OperationsVolumesPostUnauthorized
- func (o *InternalV1OperationsVolumesPostUnauthorized) Code() int
- func (o *InternalV1OperationsVolumesPostUnauthorized) Error() string
- func (o *InternalV1OperationsVolumesPostUnauthorized) GetPayload() *models.Error
- func (o *InternalV1OperationsVolumesPostUnauthorized) IsClientError() bool
- func (o *InternalV1OperationsVolumesPostUnauthorized) IsCode(code int) bool
- func (o *InternalV1OperationsVolumesPostUnauthorized) IsRedirect() bool
- func (o *InternalV1OperationsVolumesPostUnauthorized) IsServerError() bool
- func (o *InternalV1OperationsVolumesPostUnauthorized) IsSuccess() bool
- func (o *InternalV1OperationsVolumesPostUnauthorized) 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 volumes API
func (*Client) InternalV1OperationsVolumesDelete ¶
func (a *Client) InternalV1OperationsVolumesDelete(params *InternalV1OperationsVolumesDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsVolumesDeleteNoContent, error)
InternalV1OperationsVolumesDelete deletes a volume c r n
func (*Client) InternalV1OperationsVolumesPost ¶
func (a *Client) InternalV1OperationsVolumesPost(params *InternalV1OperationsVolumesPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsVolumesPostCreated, error)
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 ¶
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 ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) Code() int
Code gets the status code for the internal v1 operations volumes delete bad request response
func (*InternalV1OperationsVolumesDeleteBadRequest) Error ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) Error() string
func (*InternalV1OperationsVolumesDeleteBadRequest) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsVolumesDeleteBadRequest) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete bad request response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteBadRequest) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete bad request response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteBadRequest) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete bad request response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteBadRequest) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete bad request response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteBadRequest) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete bad request response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteBadRequest) String ¶
func (o *InternalV1OperationsVolumesDeleteBadRequest) String() string
type InternalV1OperationsVolumesDeleteForbidden ¶
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 ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) Code() int
Code gets the status code for the internal v1 operations volumes delete forbidden response
func (*InternalV1OperationsVolumesDeleteForbidden) Error ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) Error() string
func (*InternalV1OperationsVolumesDeleteForbidden) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) GetPayload() *models.Error
func (*InternalV1OperationsVolumesDeleteForbidden) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete forbidden response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteForbidden) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete forbidden response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteForbidden) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete forbidden response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteForbidden) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete forbidden response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteForbidden) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete forbidden response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteForbidden) String ¶
func (o *InternalV1OperationsVolumesDeleteForbidden) String() string
type InternalV1OperationsVolumesDeleteGone ¶
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 ¶
func (o *InternalV1OperationsVolumesDeleteGone) Code() int
Code gets the status code for the internal v1 operations volumes delete gone response
func (*InternalV1OperationsVolumesDeleteGone) Error ¶
func (o *InternalV1OperationsVolumesDeleteGone) Error() string
func (*InternalV1OperationsVolumesDeleteGone) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteGone) GetPayload() *models.Error
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 ¶
func (o *InternalV1OperationsVolumesDeleteGone) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete gone response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteGone) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteGone) IsRedirect() bool
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 ¶
func (o *InternalV1OperationsVolumesDeleteGone) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete gone response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteGone) String ¶
func (o *InternalV1OperationsVolumesDeleteGone) String() string
type InternalV1OperationsVolumesDeleteInternalServerError ¶
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 ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) Code() int
Code gets the status code for the internal v1 operations volumes delete internal server error response
func (*InternalV1OperationsVolumesDeleteInternalServerError) Error ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) Error() string
func (*InternalV1OperationsVolumesDeleteInternalServerError) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsVolumesDeleteInternalServerError) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete internal server error response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteInternalServerError) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete internal server error response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete internal server error response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteInternalServerError) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete internal server error response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete internal server error response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteInternalServerError) String ¶
func (o *InternalV1OperationsVolumesDeleteInternalServerError) String() 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 ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) Code() int
Code gets the status code for the internal v1 operations volumes delete no content response
func (*InternalV1OperationsVolumesDeleteNoContent) Error ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) Error() string
func (*InternalV1OperationsVolumesDeleteNoContent) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete no content response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteNoContent) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete no content response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteNoContent) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete no content response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteNoContent) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete no content response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteNoContent) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete no content response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteNoContent) String ¶
func (o *InternalV1OperationsVolumesDeleteNoContent) String() string
type InternalV1OperationsVolumesDeleteNotFound ¶
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 ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) Code() int
Code gets the status code for the internal v1 operations volumes delete not found response
func (*InternalV1OperationsVolumesDeleteNotFound) Error ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) Error() string
func (*InternalV1OperationsVolumesDeleteNotFound) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) GetPayload() *models.Error
func (*InternalV1OperationsVolumesDeleteNotFound) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete not found response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteNotFound) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete not found response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteNotFound) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete not found response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteNotFound) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete not found response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteNotFound) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete not found response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteNotFound) String ¶
func (o *InternalV1OperationsVolumesDeleteNotFound) String() 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 ¶
func (o *InternalV1OperationsVolumesDeleteParams) SetCRN(cRN string)
SetCRN adds the cRN to the internal v1 operations volumes delete params
func (*InternalV1OperationsVolumesDeleteParams) SetContext ¶
func (o *InternalV1OperationsVolumesDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithAuthorization(authorization string) *InternalV1OperationsVolumesDeleteParams
WithAuthorization adds the authorization to the internal v1 operations volumes delete params
func (*InternalV1OperationsVolumesDeleteParams) WithCRN ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithCRN(cRN string) *InternalV1OperationsVolumesDeleteParams
WithCRN adds the cRN to the internal v1 operations volumes delete params
func (*InternalV1OperationsVolumesDeleteParams) WithContext ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithContext(ctx context.Context) *InternalV1OperationsVolumesDeleteParams
WithContext adds the context to the internal v1 operations volumes delete params
func (*InternalV1OperationsVolumesDeleteParams) WithDefaults ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithDefaults() *InternalV1OperationsVolumesDeleteParams
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 ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithHTTPClient(client *http.Client) *InternalV1OperationsVolumesDeleteParams
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 ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithResourceCrn(resourceCrn string) *InternalV1OperationsVolumesDeleteParams
WithResourceCrn adds the resourceCrn to the internal v1 operations volumes delete params
func (*InternalV1OperationsVolumesDeleteParams) WithTimeout ¶
func (o *InternalV1OperationsVolumesDeleteParams) WithTimeout(timeout time.Duration) *InternalV1OperationsVolumesDeleteParams
WithTimeout adds the timeout to the internal v1 operations volumes delete params
func (*InternalV1OperationsVolumesDeleteParams) WriteToRequest ¶
func (o *InternalV1OperationsVolumesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) Code() int
Code gets the status code for the internal v1 operations volumes delete too many requests response
func (*InternalV1OperationsVolumesDeleteTooManyRequests) Error ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) Error() string
func (*InternalV1OperationsVolumesDeleteTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete too many requests response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete too many requests response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete too many requests response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete too many requests response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete too many requests response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteTooManyRequests) String ¶
func (o *InternalV1OperationsVolumesDeleteTooManyRequests) String() string
type InternalV1OperationsVolumesDeleteUnauthorized ¶
type InternalV1OperationsVolumesDeleteUnauthorized struct {
}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 ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) Code() int
Code gets the status code for the internal v1 operations volumes delete unauthorized response
func (*InternalV1OperationsVolumesDeleteUnauthorized) Error ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) Error() string
func (*InternalV1OperationsVolumesDeleteUnauthorized) GetPayload ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsVolumesDeleteUnauthorized) IsClientError ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes delete unauthorized response has a 4xx status code
func (*InternalV1OperationsVolumesDeleteUnauthorized) IsCode ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes delete unauthorized response a status code equal to that given
func (*InternalV1OperationsVolumesDeleteUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes delete unauthorized response has a 3xx status code
func (*InternalV1OperationsVolumesDeleteUnauthorized) IsServerError ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes delete unauthorized response has a 5xx status code
func (*InternalV1OperationsVolumesDeleteUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes delete unauthorized response has a 2xx status code
func (*InternalV1OperationsVolumesDeleteUnauthorized) String ¶
func (o *InternalV1OperationsVolumesDeleteUnauthorized) String() string
type InternalV1OperationsVolumesPostBadRequest ¶
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 ¶
func (o *InternalV1OperationsVolumesPostBadRequest) Code() int
Code gets the status code for the internal v1 operations volumes post bad request response
func (*InternalV1OperationsVolumesPostBadRequest) Error ¶
func (o *InternalV1OperationsVolumesPostBadRequest) Error() string
func (*InternalV1OperationsVolumesPostBadRequest) GetPayload ¶
func (o *InternalV1OperationsVolumesPostBadRequest) GetPayload() *models.Error
func (*InternalV1OperationsVolumesPostBadRequest) IsClientError ¶
func (o *InternalV1OperationsVolumesPostBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes post bad request response has a 4xx status code
func (*InternalV1OperationsVolumesPostBadRequest) IsCode ¶
func (o *InternalV1OperationsVolumesPostBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes post bad request response a status code equal to that given
func (*InternalV1OperationsVolumesPostBadRequest) IsRedirect ¶
func (o *InternalV1OperationsVolumesPostBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes post bad request response has a 3xx status code
func (*InternalV1OperationsVolumesPostBadRequest) IsServerError ¶
func (o *InternalV1OperationsVolumesPostBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes post bad request response has a 5xx status code
func (*InternalV1OperationsVolumesPostBadRequest) IsSuccess ¶
func (o *InternalV1OperationsVolumesPostBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes post bad request response has a 2xx status code
func (*InternalV1OperationsVolumesPostBadRequest) String ¶
func (o *InternalV1OperationsVolumesPostBadRequest) String() 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 ¶
func (o *InternalV1OperationsVolumesPostCreated) Code() int
Code gets the status code for the internal v1 operations volumes post created response
func (*InternalV1OperationsVolumesPostCreated) Error ¶
func (o *InternalV1OperationsVolumesPostCreated) Error() string
func (*InternalV1OperationsVolumesPostCreated) GetPayload ¶
func (o *InternalV1OperationsVolumesPostCreated) GetPayload() *models.InternalOperationsResponse
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 ¶
func (o *InternalV1OperationsVolumesPostCreated) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes post created response a status code equal to that given
func (*InternalV1OperationsVolumesPostCreated) IsRedirect ¶
func (o *InternalV1OperationsVolumesPostCreated) IsRedirect() bool
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 ¶
func (o *InternalV1OperationsVolumesPostCreated) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes post created response has a 2xx status code
func (*InternalV1OperationsVolumesPostCreated) String ¶
func (o *InternalV1OperationsVolumesPostCreated) String() string
type InternalV1OperationsVolumesPostForbidden ¶
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 ¶
func (o *InternalV1OperationsVolumesPostForbidden) Code() int
Code gets the status code for the internal v1 operations volumes post forbidden response
func (*InternalV1OperationsVolumesPostForbidden) Error ¶
func (o *InternalV1OperationsVolumesPostForbidden) Error() string
func (*InternalV1OperationsVolumesPostForbidden) GetPayload ¶
func (o *InternalV1OperationsVolumesPostForbidden) GetPayload() *models.Error
func (*InternalV1OperationsVolumesPostForbidden) IsClientError ¶
func (o *InternalV1OperationsVolumesPostForbidden) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes post forbidden response has a 4xx status code
func (*InternalV1OperationsVolumesPostForbidden) IsCode ¶
func (o *InternalV1OperationsVolumesPostForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes post forbidden response a status code equal to that given
func (*InternalV1OperationsVolumesPostForbidden) IsRedirect ¶
func (o *InternalV1OperationsVolumesPostForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes post forbidden response has a 3xx status code
func (*InternalV1OperationsVolumesPostForbidden) IsServerError ¶
func (o *InternalV1OperationsVolumesPostForbidden) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes post forbidden response has a 5xx status code
func (*InternalV1OperationsVolumesPostForbidden) IsSuccess ¶
func (o *InternalV1OperationsVolumesPostForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes post forbidden response has a 2xx status code
func (*InternalV1OperationsVolumesPostForbidden) String ¶
func (o *InternalV1OperationsVolumesPostForbidden) String() string
type InternalV1OperationsVolumesPostInternalServerError ¶
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 ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) Code() int
Code gets the status code for the internal v1 operations volumes post internal server error response
func (*InternalV1OperationsVolumesPostInternalServerError) Error ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) Error() string
func (*InternalV1OperationsVolumesPostInternalServerError) GetPayload ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) GetPayload() *models.Error
func (*InternalV1OperationsVolumesPostInternalServerError) IsClientError ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes post internal server error response has a 4xx status code
func (*InternalV1OperationsVolumesPostInternalServerError) IsCode ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes post internal server error response a status code equal to that given
func (*InternalV1OperationsVolumesPostInternalServerError) IsRedirect ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes post internal server error response has a 3xx status code
func (*InternalV1OperationsVolumesPostInternalServerError) IsServerError ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes post internal server error response has a 5xx status code
func (*InternalV1OperationsVolumesPostInternalServerError) IsSuccess ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes post internal server error response has a 2xx status code
func (*InternalV1OperationsVolumesPostInternalServerError) String ¶
func (o *InternalV1OperationsVolumesPostInternalServerError) String() 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 ¶
func (o *InternalV1OperationsVolumesPostParams) SetBody(body *models.InternalOperationsRequest)
SetBody adds the body to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) SetCRN ¶
func (o *InternalV1OperationsVolumesPostParams) SetCRN(cRN string)
SetCRN adds the cRN to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) SetContext ¶
func (o *InternalV1OperationsVolumesPostParams) SetContext(ctx context.Context)
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 ¶
func (o *InternalV1OperationsVolumesPostParams) WithAuthorization(authorization string) *InternalV1OperationsVolumesPostParams
WithAuthorization adds the authorization to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) WithBody ¶
func (o *InternalV1OperationsVolumesPostParams) WithBody(body *models.InternalOperationsRequest) *InternalV1OperationsVolumesPostParams
WithBody adds the body to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) WithCRN ¶
func (o *InternalV1OperationsVolumesPostParams) WithCRN(cRN string) *InternalV1OperationsVolumesPostParams
WithCRN adds the cRN to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) WithContext ¶
func (o *InternalV1OperationsVolumesPostParams) WithContext(ctx context.Context) *InternalV1OperationsVolumesPostParams
WithContext adds the context to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) WithDefaults ¶
func (o *InternalV1OperationsVolumesPostParams) WithDefaults() *InternalV1OperationsVolumesPostParams
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 ¶
func (o *InternalV1OperationsVolumesPostParams) WithHTTPClient(client *http.Client) *InternalV1OperationsVolumesPostParams
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 ¶
func (o *InternalV1OperationsVolumesPostParams) WithTimeout(timeout time.Duration) *InternalV1OperationsVolumesPostParams
WithTimeout adds the timeout to the internal v1 operations volumes post params
func (*InternalV1OperationsVolumesPostParams) WriteToRequest ¶
func (o *InternalV1OperationsVolumesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) Code() int
Code gets the status code for the internal v1 operations volumes post too many requests response
func (*InternalV1OperationsVolumesPostTooManyRequests) Error ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) Error() string
func (*InternalV1OperationsVolumesPostTooManyRequests) GetPayload ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) GetPayload() *models.Error
func (*InternalV1OperationsVolumesPostTooManyRequests) IsClientError ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes post too many requests response has a 4xx status code
func (*InternalV1OperationsVolumesPostTooManyRequests) IsCode ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes post too many requests response a status code equal to that given
func (*InternalV1OperationsVolumesPostTooManyRequests) IsRedirect ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes post too many requests response has a 3xx status code
func (*InternalV1OperationsVolumesPostTooManyRequests) IsServerError ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes post too many requests response has a 5xx status code
func (*InternalV1OperationsVolumesPostTooManyRequests) IsSuccess ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes post too many requests response has a 2xx status code
func (*InternalV1OperationsVolumesPostTooManyRequests) String ¶
func (o *InternalV1OperationsVolumesPostTooManyRequests) String() string
type InternalV1OperationsVolumesPostUnauthorized ¶
type InternalV1OperationsVolumesPostUnauthorized struct {
}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 ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) Code() int
Code gets the status code for the internal v1 operations volumes post unauthorized response
func (*InternalV1OperationsVolumesPostUnauthorized) Error ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) Error() string
func (*InternalV1OperationsVolumesPostUnauthorized) GetPayload ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) GetPayload() *models.Error
func (*InternalV1OperationsVolumesPostUnauthorized) IsClientError ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 operations volumes post unauthorized response has a 4xx status code
func (*InternalV1OperationsVolumesPostUnauthorized) IsCode ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 operations volumes post unauthorized response a status code equal to that given
func (*InternalV1OperationsVolumesPostUnauthorized) IsRedirect ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 operations volumes post unauthorized response has a 3xx status code
func (*InternalV1OperationsVolumesPostUnauthorized) IsServerError ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 operations volumes post unauthorized response has a 5xx status code
func (*InternalV1OperationsVolumesPostUnauthorized) IsSuccess ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 operations volumes post unauthorized response has a 2xx status code
func (*InternalV1OperationsVolumesPostUnauthorized) String ¶
func (o *InternalV1OperationsVolumesPostUnauthorized) String() string