Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ServiceBrokerHardwareplatformsGetBadRequest
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) Code() int
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) Error() string
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) GetPayload() *models.Error
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsClientError() bool
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsCode(code int) bool
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsRedirect() bool
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsServerError() bool
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsSuccess() bool
- func (o *ServiceBrokerHardwareplatformsGetBadRequest) String() string
- type ServiceBrokerHardwareplatformsGetForbidden
- func (o *ServiceBrokerHardwareplatformsGetForbidden) Code() int
- func (o *ServiceBrokerHardwareplatformsGetForbidden) Error() string
- func (o *ServiceBrokerHardwareplatformsGetForbidden) GetPayload() *models.Error
- func (o *ServiceBrokerHardwareplatformsGetForbidden) IsClientError() bool
- func (o *ServiceBrokerHardwareplatformsGetForbidden) IsCode(code int) bool
- func (o *ServiceBrokerHardwareplatformsGetForbidden) IsRedirect() bool
- func (o *ServiceBrokerHardwareplatformsGetForbidden) IsServerError() bool
- func (o *ServiceBrokerHardwareplatformsGetForbidden) IsSuccess() bool
- func (o *ServiceBrokerHardwareplatformsGetForbidden) String() string
- type ServiceBrokerHardwareplatformsGetInternalServerError
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) Code() int
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) Error() string
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsClientError() bool
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsServerError() bool
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerHardwareplatformsGetInternalServerError) String() string
- type ServiceBrokerHardwareplatformsGetNotFound
- func (o *ServiceBrokerHardwareplatformsGetNotFound) Code() int
- func (o *ServiceBrokerHardwareplatformsGetNotFound) Error() string
- func (o *ServiceBrokerHardwareplatformsGetNotFound) GetPayload() *models.Error
- func (o *ServiceBrokerHardwareplatformsGetNotFound) IsClientError() bool
- func (o *ServiceBrokerHardwareplatformsGetNotFound) IsCode(code int) bool
- func (o *ServiceBrokerHardwareplatformsGetNotFound) IsRedirect() bool
- func (o *ServiceBrokerHardwareplatformsGetNotFound) IsServerError() bool
- func (o *ServiceBrokerHardwareplatformsGetNotFound) IsSuccess() bool
- func (o *ServiceBrokerHardwareplatformsGetNotFound) String() string
- type ServiceBrokerHardwareplatformsGetOK
- func (o *ServiceBrokerHardwareplatformsGetOK) Code() int
- func (o *ServiceBrokerHardwareplatformsGetOK) Error() string
- func (o *ServiceBrokerHardwareplatformsGetOK) GetPayload() models.HardwarePlatforms
- func (o *ServiceBrokerHardwareplatformsGetOK) IsClientError() bool
- func (o *ServiceBrokerHardwareplatformsGetOK) IsCode(code int) bool
- func (o *ServiceBrokerHardwareplatformsGetOK) IsRedirect() bool
- func (o *ServiceBrokerHardwareplatformsGetOK) IsServerError() bool
- func (o *ServiceBrokerHardwareplatformsGetOK) IsSuccess() bool
- func (o *ServiceBrokerHardwareplatformsGetOK) String() string
- type ServiceBrokerHardwareplatformsGetParams
- func NewServiceBrokerHardwareplatformsGetParams() *ServiceBrokerHardwareplatformsGetParams
- func NewServiceBrokerHardwareplatformsGetParamsWithContext(ctx context.Context) *ServiceBrokerHardwareplatformsGetParams
- func NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerHardwareplatformsGetParams
- func NewServiceBrokerHardwareplatformsGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerHardwareplatformsGetParams
- func (o *ServiceBrokerHardwareplatformsGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerHardwareplatformsGetParams) SetDefaults()
- func (o *ServiceBrokerHardwareplatformsGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerHardwareplatformsGetParams) SetRegionZone(regionZone *string)
- func (o *ServiceBrokerHardwareplatformsGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerHardwareplatformsGetParams) WithContext(ctx context.Context) *ServiceBrokerHardwareplatformsGetParams
- func (o *ServiceBrokerHardwareplatformsGetParams) WithDefaults() *ServiceBrokerHardwareplatformsGetParams
- func (o *ServiceBrokerHardwareplatformsGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerHardwareplatformsGetParams
- func (o *ServiceBrokerHardwareplatformsGetParams) WithRegionZone(regionZone *string) *ServiceBrokerHardwareplatformsGetParams
- func (o *ServiceBrokerHardwareplatformsGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerHardwareplatformsGetParams
- func (o *ServiceBrokerHardwareplatformsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerHardwareplatformsGetReader
- type ServiceBrokerHardwareplatformsGetUnauthorized
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) Code() int
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) Error() string
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) GetPayload() *models.Error
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsClientError() bool
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsCode(code int) bool
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsRedirect() bool
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsServerError() bool
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsSuccess() bool
- func (o *ServiceBrokerHardwareplatformsGetUnauthorized) 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 hardware platforms API
func (*Client) ServiceBrokerHardwareplatformsGet ¶
func (a *Client) ServiceBrokerHardwareplatformsGet(params *ServiceBrokerHardwareplatformsGetParams, opts ...ClientOption) (*ServiceBrokerHardwareplatformsGetOK, error)
ServiceBrokerHardwareplatformsGet availables hardware statistics and limits
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 { ServiceBrokerHardwareplatformsGet(params *ServiceBrokerHardwareplatformsGetParams, opts ...ClientOption) (*ServiceBrokerHardwareplatformsGetOK, 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 hardware platforms API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new hardware platforms 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 hardware platforms 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 ServiceBrokerHardwareplatformsGetBadRequest ¶ added in v1.4.2
ServiceBrokerHardwareplatformsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewServiceBrokerHardwareplatformsGetBadRequest ¶ added in v1.4.2
func NewServiceBrokerHardwareplatformsGetBadRequest() *ServiceBrokerHardwareplatformsGetBadRequest
NewServiceBrokerHardwareplatformsGetBadRequest creates a ServiceBrokerHardwareplatformsGetBadRequest with default headers values
func (*ServiceBrokerHardwareplatformsGetBadRequest) Code ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) Code() int
Code gets the status code for the service broker hardwareplatforms get bad request response
func (*ServiceBrokerHardwareplatformsGetBadRequest) Error ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) Error() string
func (*ServiceBrokerHardwareplatformsGetBadRequest) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) GetPayload() *models.Error
func (*ServiceBrokerHardwareplatformsGetBadRequest) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsClientError() bool
IsClientError returns true when this service broker hardwareplatforms get bad request response has a 4xx status code
func (*ServiceBrokerHardwareplatformsGetBadRequest) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsCode(code int) bool
IsCode returns true when this service broker hardwareplatforms get bad request response a status code equal to that given
func (*ServiceBrokerHardwareplatformsGetBadRequest) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this service broker hardwareplatforms get bad request response has a 3xx status code
func (*ServiceBrokerHardwareplatformsGetBadRequest) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsServerError() bool
IsServerError returns true when this service broker hardwareplatforms get bad request response has a 5xx status code
func (*ServiceBrokerHardwareplatformsGetBadRequest) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this service broker hardwareplatforms get bad request response has a 2xx status code
func (*ServiceBrokerHardwareplatformsGetBadRequest) String ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetBadRequest) String() string
type ServiceBrokerHardwareplatformsGetForbidden ¶ added in v1.4.2
ServiceBrokerHardwareplatformsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewServiceBrokerHardwareplatformsGetForbidden ¶ added in v1.4.2
func NewServiceBrokerHardwareplatformsGetForbidden() *ServiceBrokerHardwareplatformsGetForbidden
NewServiceBrokerHardwareplatformsGetForbidden creates a ServiceBrokerHardwareplatformsGetForbidden with default headers values
func (*ServiceBrokerHardwareplatformsGetForbidden) Code ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) Code() int
Code gets the status code for the service broker hardwareplatforms get forbidden response
func (*ServiceBrokerHardwareplatformsGetForbidden) Error ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) Error() string
func (*ServiceBrokerHardwareplatformsGetForbidden) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) GetPayload() *models.Error
func (*ServiceBrokerHardwareplatformsGetForbidden) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) IsClientError() bool
IsClientError returns true when this service broker hardwareplatforms get forbidden response has a 4xx status code
func (*ServiceBrokerHardwareplatformsGetForbidden) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) IsCode(code int) bool
IsCode returns true when this service broker hardwareplatforms get forbidden response a status code equal to that given
func (*ServiceBrokerHardwareplatformsGetForbidden) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) IsRedirect() bool
IsRedirect returns true when this service broker hardwareplatforms get forbidden response has a 3xx status code
func (*ServiceBrokerHardwareplatformsGetForbidden) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) IsServerError() bool
IsServerError returns true when this service broker hardwareplatforms get forbidden response has a 5xx status code
func (*ServiceBrokerHardwareplatformsGetForbidden) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) IsSuccess() bool
IsSuccess returns true when this service broker hardwareplatforms get forbidden response has a 2xx status code
func (*ServiceBrokerHardwareplatformsGetForbidden) String ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetForbidden) String() string
type ServiceBrokerHardwareplatformsGetInternalServerError ¶
ServiceBrokerHardwareplatformsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewServiceBrokerHardwareplatformsGetInternalServerError ¶
func NewServiceBrokerHardwareplatformsGetInternalServerError() *ServiceBrokerHardwareplatformsGetInternalServerError
NewServiceBrokerHardwareplatformsGetInternalServerError creates a ServiceBrokerHardwareplatformsGetInternalServerError with default headers values
func (*ServiceBrokerHardwareplatformsGetInternalServerError) Code ¶ added in v1.2.4
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) Code() int
Code gets the status code for the service broker hardwareplatforms get internal server error response
func (*ServiceBrokerHardwareplatformsGetInternalServerError) Error ¶
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) Error() string
func (*ServiceBrokerHardwareplatformsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsClientError() bool
IsClientError returns true when this service broker hardwareplatforms get internal server error response has a 4xx status code
func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker hardwareplatforms get internal server error response a status code equal to that given
func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker hardwareplatforms get internal server error response has a 3xx status code
func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsServerError() bool
IsServerError returns true when this service broker hardwareplatforms get internal server error response has a 5xx status code
func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker hardwareplatforms get internal server error response has a 2xx status code
func (*ServiceBrokerHardwareplatformsGetInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetInternalServerError) String() string
type ServiceBrokerHardwareplatformsGetNotFound ¶ added in v1.4.2
ServiceBrokerHardwareplatformsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewServiceBrokerHardwareplatformsGetNotFound ¶ added in v1.4.2
func NewServiceBrokerHardwareplatformsGetNotFound() *ServiceBrokerHardwareplatformsGetNotFound
NewServiceBrokerHardwareplatformsGetNotFound creates a ServiceBrokerHardwareplatformsGetNotFound with default headers values
func (*ServiceBrokerHardwareplatformsGetNotFound) Code ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) Code() int
Code gets the status code for the service broker hardwareplatforms get not found response
func (*ServiceBrokerHardwareplatformsGetNotFound) Error ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) Error() string
func (*ServiceBrokerHardwareplatformsGetNotFound) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) GetPayload() *models.Error
func (*ServiceBrokerHardwareplatformsGetNotFound) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) IsClientError() bool
IsClientError returns true when this service broker hardwareplatforms get not found response has a 4xx status code
func (*ServiceBrokerHardwareplatformsGetNotFound) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) IsCode(code int) bool
IsCode returns true when this service broker hardwareplatforms get not found response a status code equal to that given
func (*ServiceBrokerHardwareplatformsGetNotFound) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) IsRedirect() bool
IsRedirect returns true when this service broker hardwareplatforms get not found response has a 3xx status code
func (*ServiceBrokerHardwareplatformsGetNotFound) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) IsServerError() bool
IsServerError returns true when this service broker hardwareplatforms get not found response has a 5xx status code
func (*ServiceBrokerHardwareplatformsGetNotFound) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) IsSuccess() bool
IsSuccess returns true when this service broker hardwareplatforms get not found response has a 2xx status code
func (*ServiceBrokerHardwareplatformsGetNotFound) String ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetNotFound) String() string
type ServiceBrokerHardwareplatformsGetOK ¶
type ServiceBrokerHardwareplatformsGetOK struct {
Payload models.HardwarePlatforms
}
ServiceBrokerHardwareplatformsGetOK describes a response with status code 200, with default header values.
OK
func NewServiceBrokerHardwareplatformsGetOK ¶
func NewServiceBrokerHardwareplatformsGetOK() *ServiceBrokerHardwareplatformsGetOK
NewServiceBrokerHardwareplatformsGetOK creates a ServiceBrokerHardwareplatformsGetOK with default headers values
func (*ServiceBrokerHardwareplatformsGetOK) Code ¶ added in v1.2.4
func (o *ServiceBrokerHardwareplatformsGetOK) Code() int
Code gets the status code for the service broker hardwareplatforms get o k response
func (*ServiceBrokerHardwareplatformsGetOK) Error ¶
func (o *ServiceBrokerHardwareplatformsGetOK) Error() string
func (*ServiceBrokerHardwareplatformsGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerHardwareplatformsGetOK) GetPayload() models.HardwarePlatforms
func (*ServiceBrokerHardwareplatformsGetOK) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetOK) IsClientError() bool
IsClientError returns true when this service broker hardwareplatforms get o k response has a 4xx status code
func (*ServiceBrokerHardwareplatformsGetOK) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetOK) IsCode(code int) bool
IsCode returns true when this service broker hardwareplatforms get o k response a status code equal to that given
func (*ServiceBrokerHardwareplatformsGetOK) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetOK) IsRedirect() bool
IsRedirect returns true when this service broker hardwareplatforms get o k response has a 3xx status code
func (*ServiceBrokerHardwareplatformsGetOK) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetOK) IsServerError() bool
IsServerError returns true when this service broker hardwareplatforms get o k response has a 5xx status code
func (*ServiceBrokerHardwareplatformsGetOK) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetOK) IsSuccess() bool
IsSuccess returns true when this service broker hardwareplatforms get o k response has a 2xx status code
func (*ServiceBrokerHardwareplatformsGetOK) String ¶ added in v1.2.2
func (o *ServiceBrokerHardwareplatformsGetOK) String() string
type ServiceBrokerHardwareplatformsGetParams ¶
type ServiceBrokerHardwareplatformsGetParams struct { /* RegionZone. The region zone of the cloud instance */ RegionZone *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceBrokerHardwareplatformsGetParams contains all the parameters to send to the API endpoint
for the service broker hardwareplatforms get operation. Typically these are written to a http.Request.
func NewServiceBrokerHardwareplatformsGetParams ¶
func NewServiceBrokerHardwareplatformsGetParams() *ServiceBrokerHardwareplatformsGetParams
NewServiceBrokerHardwareplatformsGetParams creates a new ServiceBrokerHardwareplatformsGetParams 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 NewServiceBrokerHardwareplatformsGetParamsWithContext ¶
func NewServiceBrokerHardwareplatformsGetParamsWithContext(ctx context.Context) *ServiceBrokerHardwareplatformsGetParams
NewServiceBrokerHardwareplatformsGetParamsWithContext creates a new ServiceBrokerHardwareplatformsGetParams object with the ability to set a context for a request.
func NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient ¶
func NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerHardwareplatformsGetParams
NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient creates a new ServiceBrokerHardwareplatformsGetParams object with the ability to set a custom HTTPClient for a request.
func NewServiceBrokerHardwareplatformsGetParamsWithTimeout ¶
func NewServiceBrokerHardwareplatformsGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerHardwareplatformsGetParams
NewServiceBrokerHardwareplatformsGetParamsWithTimeout creates a new ServiceBrokerHardwareplatformsGetParams object with the ability to set a timeout on a request.
func (*ServiceBrokerHardwareplatformsGetParams) SetContext ¶
func (o *ServiceBrokerHardwareplatformsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceBrokerHardwareplatformsGetParams) SetDefaults()
SetDefaults hydrates default values in the service broker hardwareplatforms get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerHardwareplatformsGetParams) SetHTTPClient ¶
func (o *ServiceBrokerHardwareplatformsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) SetRegionZone ¶
func (o *ServiceBrokerHardwareplatformsGetParams) SetRegionZone(regionZone *string)
SetRegionZone adds the regionZone to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) SetTimeout ¶
func (o *ServiceBrokerHardwareplatformsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) WithContext ¶
func (o *ServiceBrokerHardwareplatformsGetParams) WithContext(ctx context.Context) *ServiceBrokerHardwareplatformsGetParams
WithContext adds the context to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerHardwareplatformsGetParams) WithDefaults() *ServiceBrokerHardwareplatformsGetParams
WithDefaults hydrates default values in the service broker hardwareplatforms get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceBrokerHardwareplatformsGetParams) WithHTTPClient ¶
func (o *ServiceBrokerHardwareplatformsGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerHardwareplatformsGetParams
WithHTTPClient adds the HTTPClient to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) WithRegionZone ¶
func (o *ServiceBrokerHardwareplatformsGetParams) WithRegionZone(regionZone *string) *ServiceBrokerHardwareplatformsGetParams
WithRegionZone adds the regionZone to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) WithTimeout ¶
func (o *ServiceBrokerHardwareplatformsGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerHardwareplatformsGetParams
WithTimeout adds the timeout to the service broker hardwareplatforms get params
func (*ServiceBrokerHardwareplatformsGetParams) WriteToRequest ¶
func (o *ServiceBrokerHardwareplatformsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceBrokerHardwareplatformsGetReader ¶
type ServiceBrokerHardwareplatformsGetReader struct {
// contains filtered or unexported fields
}
ServiceBrokerHardwareplatformsGetReader is a Reader for the ServiceBrokerHardwareplatformsGet structure.
func (*ServiceBrokerHardwareplatformsGetReader) ReadResponse ¶
func (o *ServiceBrokerHardwareplatformsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceBrokerHardwareplatformsGetUnauthorized ¶ added in v1.4.2
type ServiceBrokerHardwareplatformsGetUnauthorized struct {
}ServiceBrokerHardwareplatformsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewServiceBrokerHardwareplatformsGetUnauthorized ¶ added in v1.4.2
func NewServiceBrokerHardwareplatformsGetUnauthorized() *ServiceBrokerHardwareplatformsGetUnauthorized
NewServiceBrokerHardwareplatformsGetUnauthorized creates a ServiceBrokerHardwareplatformsGetUnauthorized with default headers values
func (*ServiceBrokerHardwareplatformsGetUnauthorized) Code ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) Code() int
Code gets the status code for the service broker hardwareplatforms get unauthorized response
func (*ServiceBrokerHardwareplatformsGetUnauthorized) Error ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) Error() string
func (*ServiceBrokerHardwareplatformsGetUnauthorized) GetPayload ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) GetPayload() *models.Error
func (*ServiceBrokerHardwareplatformsGetUnauthorized) IsClientError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsClientError() bool
IsClientError returns true when this service broker hardwareplatforms get unauthorized response has a 4xx status code
func (*ServiceBrokerHardwareplatformsGetUnauthorized) IsCode ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this service broker hardwareplatforms get unauthorized response a status code equal to that given
func (*ServiceBrokerHardwareplatformsGetUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this service broker hardwareplatforms get unauthorized response has a 3xx status code
func (*ServiceBrokerHardwareplatformsGetUnauthorized) IsServerError ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsServerError() bool
IsServerError returns true when this service broker hardwareplatforms get unauthorized response has a 5xx status code
func (*ServiceBrokerHardwareplatformsGetUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this service broker hardwareplatforms get unauthorized response has a 2xx status code
func (*ServiceBrokerHardwareplatformsGetUnauthorized) String ¶ added in v1.4.2
func (o *ServiceBrokerHardwareplatformsGetUnauthorized) String() string