Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ServiceBrokerStoragetypesGetBadRequest
- func (o *ServiceBrokerStoragetypesGetBadRequest) Code() int
- func (o *ServiceBrokerStoragetypesGetBadRequest) Error() string
- func (o *ServiceBrokerStoragetypesGetBadRequest) GetPayload() *models.Error
- func (o *ServiceBrokerStoragetypesGetBadRequest) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetBadRequest) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetBadRequest) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetBadRequest) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetBadRequest) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetBadRequest) String() string
- type ServiceBrokerStoragetypesGetForbidden
- func (o *ServiceBrokerStoragetypesGetForbidden) Code() int
- func (o *ServiceBrokerStoragetypesGetForbidden) Error() string
- func (o *ServiceBrokerStoragetypesGetForbidden) GetPayload() *models.Error
- func (o *ServiceBrokerStoragetypesGetForbidden) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetForbidden) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetForbidden) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetForbidden) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetForbidden) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetForbidden) String() string
- type ServiceBrokerStoragetypesGetInternalServerError
- func (o *ServiceBrokerStoragetypesGetInternalServerError) Code() int
- func (o *ServiceBrokerStoragetypesGetInternalServerError) Error() string
- func (o *ServiceBrokerStoragetypesGetInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerStoragetypesGetInternalServerError) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetInternalServerError) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetInternalServerError) String() string
- type ServiceBrokerStoragetypesGetNotFound
- func (o *ServiceBrokerStoragetypesGetNotFound) Code() int
- func (o *ServiceBrokerStoragetypesGetNotFound) Error() string
- func (o *ServiceBrokerStoragetypesGetNotFound) GetPayload() *models.Error
- func (o *ServiceBrokerStoragetypesGetNotFound) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetNotFound) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetNotFound) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetNotFound) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetNotFound) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetNotFound) String() string
- type ServiceBrokerStoragetypesGetOK
- func (o *ServiceBrokerStoragetypesGetOK) Code() int
- func (o *ServiceBrokerStoragetypesGetOK) Error() string
- func (o *ServiceBrokerStoragetypesGetOK) GetPayload() models.StorageTypes
- func (o *ServiceBrokerStoragetypesGetOK) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetOK) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetOK) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetOK) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetOK) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetOK) String() string
- type ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParams() *ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParamsWithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
- func NewServiceBrokerStoragetypesGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerStoragetypesGetParams) SetDefaults()
- func (o *ServiceBrokerStoragetypesGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerStoragetypesGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerStoragetypesGetParams) WithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WithDefaults() *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
- func (o *ServiceBrokerStoragetypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerStoragetypesGetReader
- type ServiceBrokerStoragetypesGetUnauthorized
- func (o *ServiceBrokerStoragetypesGetUnauthorized) Code() int
- func (o *ServiceBrokerStoragetypesGetUnauthorized) Error() string
- func (o *ServiceBrokerStoragetypesGetUnauthorized) GetPayload() *models.Error
- func (o *ServiceBrokerStoragetypesGetUnauthorized) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetUnauthorized) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetUnauthorized) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetUnauthorized) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetUnauthorized) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetUnauthorized) String() string
- type ServiceBrokerStoragetypesGetUnprocessableEntity
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) Code() int
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) Error() string
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) GetPayload() *models.Error
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsClientError() bool
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsCode(code int) bool
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsRedirect() bool
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsServerError() bool
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsSuccess() bool
- func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) 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 storage types API
func (*Client) ServiceBrokerStoragetypesGet ¶
func (a *Client) ServiceBrokerStoragetypesGet(params *ServiceBrokerStoragetypesGetParams, opts ...ClientOption) (*ServiceBrokerStoragetypesGetOK, error)
ServiceBrokerStoragetypesGet availables storage types in a region This API is deprecated for /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-tiers.
>*Note*: Support for this API will be available till 31st October 2023.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v1.1.0
type ClientService interface { ServiceBrokerStoragetypesGet(params *ServiceBrokerStoragetypesGetParams, opts ...ClientOption) (*ServiceBrokerStoragetypesGetOK, 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 storage types API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new storage types 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 ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new storage types 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 ServiceBrokerStoragetypesGetBadRequest ¶ added in v1.4.2
ServiceBrokerStoragetypesGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewServiceBrokerStoragetypesGetBadRequest ¶ added in v1.4.2
func NewServiceBrokerStoragetypesGetBadRequest() *ServiceBrokerStoragetypesGetBadRequest
NewServiceBrokerStoragetypesGetBadRequest creates a ServiceBrokerStoragetypesGetBadRequest with default headers values
func (*ServiceBrokerStoragetypesGetBadRequest) Code ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) Code() int
Code gets the status code for the service broker storagetypes get bad request response
func (*ServiceBrokerStoragetypesGetBadRequest) Error ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) Error() string
func (*ServiceBrokerStoragetypesGetBadRequest) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) GetPayload() *models.Error
func (*ServiceBrokerStoragetypesGetBadRequest) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) IsClientError() bool
IsClientError returns true when this service broker storagetypes get bad request response has a 4xx status code
func (*ServiceBrokerStoragetypesGetBadRequest) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get bad request response a status code equal to that given
func (*ServiceBrokerStoragetypesGetBadRequest) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get bad request response has a 3xx status code
func (*ServiceBrokerStoragetypesGetBadRequest) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) IsServerError() bool
IsServerError returns true when this service broker storagetypes get bad request response has a 5xx status code
func (*ServiceBrokerStoragetypesGetBadRequest) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get bad request response has a 2xx status code
func (*ServiceBrokerStoragetypesGetBadRequest) String ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetBadRequest) String() string
type ServiceBrokerStoragetypesGetForbidden ¶ added in v1.4.2
ServiceBrokerStoragetypesGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewServiceBrokerStoragetypesGetForbidden ¶ added in v1.4.2
func NewServiceBrokerStoragetypesGetForbidden() *ServiceBrokerStoragetypesGetForbidden
NewServiceBrokerStoragetypesGetForbidden creates a ServiceBrokerStoragetypesGetForbidden with default headers values
func (*ServiceBrokerStoragetypesGetForbidden) Code ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) Code() int
Code gets the status code for the service broker storagetypes get forbidden response
func (*ServiceBrokerStoragetypesGetForbidden) Error ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) Error() string
func (*ServiceBrokerStoragetypesGetForbidden) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) GetPayload() *models.Error
func (*ServiceBrokerStoragetypesGetForbidden) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) IsClientError() bool
IsClientError returns true when this service broker storagetypes get forbidden response has a 4xx status code
func (*ServiceBrokerStoragetypesGetForbidden) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get forbidden response a status code equal to that given
func (*ServiceBrokerStoragetypesGetForbidden) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get forbidden response has a 3xx status code
func (*ServiceBrokerStoragetypesGetForbidden) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) IsServerError() bool
IsServerError returns true when this service broker storagetypes get forbidden response has a 5xx status code
func (*ServiceBrokerStoragetypesGetForbidden) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get forbidden response has a 2xx status code
func (*ServiceBrokerStoragetypesGetForbidden) String ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetForbidden) String() string
type ServiceBrokerStoragetypesGetInternalServerError ¶
ServiceBrokerStoragetypesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewServiceBrokerStoragetypesGetInternalServerError ¶
func NewServiceBrokerStoragetypesGetInternalServerError() *ServiceBrokerStoragetypesGetInternalServerError
NewServiceBrokerStoragetypesGetInternalServerError creates a ServiceBrokerStoragetypesGetInternalServerError with default headers values
func (*ServiceBrokerStoragetypesGetInternalServerError) Code ¶ added in v1.2.4
func (o *ServiceBrokerStoragetypesGetInternalServerError) Code() int
Code gets the status code for the service broker storagetypes get internal server error response
func (*ServiceBrokerStoragetypesGetInternalServerError) Error ¶
func (o *ServiceBrokerStoragetypesGetInternalServerError) Error() string
func (*ServiceBrokerStoragetypesGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerStoragetypesGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetInternalServerError) IsClientError() bool
IsClientError returns true when this service broker storagetypes get internal server error response has a 4xx status code
func (*ServiceBrokerStoragetypesGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get internal server error response a status code equal to that given
func (*ServiceBrokerStoragetypesGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get internal server error response has a 3xx status code
func (*ServiceBrokerStoragetypesGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetInternalServerError) IsServerError() bool
IsServerError returns true when this service broker storagetypes get internal server error response has a 5xx status code
func (*ServiceBrokerStoragetypesGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get internal server error response has a 2xx status code
func (*ServiceBrokerStoragetypesGetInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetInternalServerError) String() string
type ServiceBrokerStoragetypesGetNotFound ¶ added in v1.4.2
ServiceBrokerStoragetypesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewServiceBrokerStoragetypesGetNotFound ¶ added in v1.4.2
func NewServiceBrokerStoragetypesGetNotFound() *ServiceBrokerStoragetypesGetNotFound
NewServiceBrokerStoragetypesGetNotFound creates a ServiceBrokerStoragetypesGetNotFound with default headers values
func (*ServiceBrokerStoragetypesGetNotFound) Code ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) Code() int
Code gets the status code for the service broker storagetypes get not found response
func (*ServiceBrokerStoragetypesGetNotFound) Error ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) Error() string
func (*ServiceBrokerStoragetypesGetNotFound) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) GetPayload() *models.Error
func (*ServiceBrokerStoragetypesGetNotFound) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) IsClientError() bool
IsClientError returns true when this service broker storagetypes get not found response has a 4xx status code
func (*ServiceBrokerStoragetypesGetNotFound) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get not found response a status code equal to that given
func (*ServiceBrokerStoragetypesGetNotFound) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get not found response has a 3xx status code
func (*ServiceBrokerStoragetypesGetNotFound) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) IsServerError() bool
IsServerError returns true when this service broker storagetypes get not found response has a 5xx status code
func (*ServiceBrokerStoragetypesGetNotFound) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get not found response has a 2xx status code
func (*ServiceBrokerStoragetypesGetNotFound) String ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetNotFound) String() string
type ServiceBrokerStoragetypesGetOK ¶
type ServiceBrokerStoragetypesGetOK struct {
Payload models.StorageTypes
}
ServiceBrokerStoragetypesGetOK describes a response with status code 200, with default header values.
OK
func NewServiceBrokerStoragetypesGetOK ¶
func NewServiceBrokerStoragetypesGetOK() *ServiceBrokerStoragetypesGetOK
NewServiceBrokerStoragetypesGetOK creates a ServiceBrokerStoragetypesGetOK with default headers values
func (*ServiceBrokerStoragetypesGetOK) Code ¶ added in v1.2.4
func (o *ServiceBrokerStoragetypesGetOK) Code() int
Code gets the status code for the service broker storagetypes get o k response
func (*ServiceBrokerStoragetypesGetOK) Error ¶
func (o *ServiceBrokerStoragetypesGetOK) Error() string
func (*ServiceBrokerStoragetypesGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetOK) GetPayload() models.StorageTypes
func (*ServiceBrokerStoragetypesGetOK) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetOK) IsClientError() bool
IsClientError returns true when this service broker storagetypes get o k response has a 4xx status code
func (*ServiceBrokerStoragetypesGetOK) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetOK) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get o k response a status code equal to that given
func (*ServiceBrokerStoragetypesGetOK) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetOK) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get o k response has a 3xx status code
func (*ServiceBrokerStoragetypesGetOK) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetOK) IsServerError() bool
IsServerError returns true when this service broker storagetypes get o k response has a 5xx status code
func (*ServiceBrokerStoragetypesGetOK) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetOK) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get o k response has a 2xx status code
func (*ServiceBrokerStoragetypesGetOK) String ¶ added in v1.2.2
func (o *ServiceBrokerStoragetypesGetOK) String() string
type ServiceBrokerStoragetypesGetParams ¶
type ServiceBrokerStoragetypesGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceBrokerStoragetypesGetParams contains all the parameters to send to the API endpoint
for the service broker storagetypes get operation. Typically these are written to a http.Request.
func NewServiceBrokerStoragetypesGetParams ¶
func NewServiceBrokerStoragetypesGetParams() *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParams creates a new ServiceBrokerStoragetypesGetParams 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 NewServiceBrokerStoragetypesGetParamsWithContext ¶
func NewServiceBrokerStoragetypesGetParamsWithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParamsWithContext creates a new ServiceBrokerStoragetypesGetParams object with the ability to set a context for a request.
func NewServiceBrokerStoragetypesGetParamsWithHTTPClient ¶
func NewServiceBrokerStoragetypesGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParamsWithHTTPClient creates a new ServiceBrokerStoragetypesGetParams object with the ability to set a custom HTTPClient for a request.
func NewServiceBrokerStoragetypesGetParamsWithTimeout ¶
func NewServiceBrokerStoragetypesGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
NewServiceBrokerStoragetypesGetParamsWithTimeout creates a new ServiceBrokerStoragetypesGetParams object with the ability to set a timeout on a request.
func (*ServiceBrokerStoragetypesGetParams) SetContext ¶
func (o *ServiceBrokerStoragetypesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetParams) SetDefaults()
SetDefaults hydrates default values in the service broker storagetypes get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerStoragetypesGetParams) SetHTTPClient ¶
func (o *ServiceBrokerStoragetypesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) SetTimeout ¶
func (o *ServiceBrokerStoragetypesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WithContext ¶
func (o *ServiceBrokerStoragetypesGetParams) WithContext(ctx context.Context) *ServiceBrokerStoragetypesGetParams
WithContext adds the context to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerStoragetypesGetParams) WithDefaults() *ServiceBrokerStoragetypesGetParams
WithDefaults hydrates default values in the service broker storagetypes get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerStoragetypesGetParams) WithHTTPClient ¶
func (o *ServiceBrokerStoragetypesGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerStoragetypesGetParams
WithHTTPClient adds the HTTPClient to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WithTimeout ¶
func (o *ServiceBrokerStoragetypesGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerStoragetypesGetParams
WithTimeout adds the timeout to the service broker storagetypes get params
func (*ServiceBrokerStoragetypesGetParams) WriteToRequest ¶
func (o *ServiceBrokerStoragetypesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceBrokerStoragetypesGetReader ¶
type ServiceBrokerStoragetypesGetReader struct {
// contains filtered or unexported fields
}
ServiceBrokerStoragetypesGetReader is a Reader for the ServiceBrokerStoragetypesGet structure.
func (*ServiceBrokerStoragetypesGetReader) ReadResponse ¶
func (o *ServiceBrokerStoragetypesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceBrokerStoragetypesGetUnauthorized ¶ added in v1.4.2
type ServiceBrokerStoragetypesGetUnauthorized struct {
}ServiceBrokerStoragetypesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewServiceBrokerStoragetypesGetUnauthorized ¶ added in v1.4.2
func NewServiceBrokerStoragetypesGetUnauthorized() *ServiceBrokerStoragetypesGetUnauthorized
NewServiceBrokerStoragetypesGetUnauthorized creates a ServiceBrokerStoragetypesGetUnauthorized with default headers values
func (*ServiceBrokerStoragetypesGetUnauthorized) Code ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) Code() int
Code gets the status code for the service broker storagetypes get unauthorized response
func (*ServiceBrokerStoragetypesGetUnauthorized) Error ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) Error() string
func (*ServiceBrokerStoragetypesGetUnauthorized) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) GetPayload() *models.Error
func (*ServiceBrokerStoragetypesGetUnauthorized) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) IsClientError() bool
IsClientError returns true when this service broker storagetypes get unauthorized response has a 4xx status code
func (*ServiceBrokerStoragetypesGetUnauthorized) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get unauthorized response a status code equal to that given
func (*ServiceBrokerStoragetypesGetUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get unauthorized response has a 3xx status code
func (*ServiceBrokerStoragetypesGetUnauthorized) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) IsServerError() bool
IsServerError returns true when this service broker storagetypes get unauthorized response has a 5xx status code
func (*ServiceBrokerStoragetypesGetUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get unauthorized response has a 2xx status code
func (*ServiceBrokerStoragetypesGetUnauthorized) String ¶ added in v1.4.2
func (o *ServiceBrokerStoragetypesGetUnauthorized) String() string
type ServiceBrokerStoragetypesGetUnprocessableEntity ¶ added in v1.3.0
ServiceBrokerStoragetypesGetUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewServiceBrokerStoragetypesGetUnprocessableEntity ¶ added in v1.3.0
func NewServiceBrokerStoragetypesGetUnprocessableEntity() *ServiceBrokerStoragetypesGetUnprocessableEntity
NewServiceBrokerStoragetypesGetUnprocessableEntity creates a ServiceBrokerStoragetypesGetUnprocessableEntity with default headers values
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) Code ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) Code() int
Code gets the status code for the service broker storagetypes get unprocessable entity response
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) Error ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) Error() string
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) GetPayload ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) GetPayload() *models.Error
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) IsClientError ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this service broker storagetypes get unprocessable entity response has a 4xx status code
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) IsCode ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this service broker storagetypes get unprocessable entity response a status code equal to that given
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) IsRedirect ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this service broker storagetypes get unprocessable entity response has a 3xx status code
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) IsServerError ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this service broker storagetypes get unprocessable entity response has a 5xx status code
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) IsSuccess ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this service broker storagetypes get unprocessable entity response has a 2xx status code
func (*ServiceBrokerStoragetypesGetUnprocessableEntity) String ¶ added in v1.3.0
func (o *ServiceBrokerStoragetypesGetUnprocessableEntity) String() string