Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudTenantsGet(params *PcloudTenantsGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudTenantsGetOK, error)
- func (a *Client) PcloudTenantsPut(params *PcloudTenantsPutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PcloudTenantsPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PcloudTenantsGetBadRequest
- func (o *PcloudTenantsGetBadRequest) Code() int
- func (o *PcloudTenantsGetBadRequest) Error() string
- func (o *PcloudTenantsGetBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsGetBadRequest) IsClientError() bool
- func (o *PcloudTenantsGetBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsGetBadRequest) IsRedirect() bool
- func (o *PcloudTenantsGetBadRequest) IsServerError() bool
- func (o *PcloudTenantsGetBadRequest) IsSuccess() bool
- func (o *PcloudTenantsGetBadRequest) String() string
- type PcloudTenantsGetForbidden
- func (o *PcloudTenantsGetForbidden) Code() int
- func (o *PcloudTenantsGetForbidden) Error() string
- func (o *PcloudTenantsGetForbidden) GetPayload() *models.Error
- func (o *PcloudTenantsGetForbidden) IsClientError() bool
- func (o *PcloudTenantsGetForbidden) IsCode(code int) bool
- func (o *PcloudTenantsGetForbidden) IsRedirect() bool
- func (o *PcloudTenantsGetForbidden) IsServerError() bool
- func (o *PcloudTenantsGetForbidden) IsSuccess() bool
- func (o *PcloudTenantsGetForbidden) String() string
- type PcloudTenantsGetInternalServerError
- func (o *PcloudTenantsGetInternalServerError) Code() int
- func (o *PcloudTenantsGetInternalServerError) Error() string
- func (o *PcloudTenantsGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsGetInternalServerError) IsClientError() bool
- func (o *PcloudTenantsGetInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsGetInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsGetInternalServerError) IsServerError() bool
- func (o *PcloudTenantsGetInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsGetInternalServerError) String() string
- type PcloudTenantsGetNotFound
- func (o *PcloudTenantsGetNotFound) Code() int
- func (o *PcloudTenantsGetNotFound) Error() string
- func (o *PcloudTenantsGetNotFound) GetPayload() *models.Error
- func (o *PcloudTenantsGetNotFound) IsClientError() bool
- func (o *PcloudTenantsGetNotFound) IsCode(code int) bool
- func (o *PcloudTenantsGetNotFound) IsRedirect() bool
- func (o *PcloudTenantsGetNotFound) IsServerError() bool
- func (o *PcloudTenantsGetNotFound) IsSuccess() bool
- func (o *PcloudTenantsGetNotFound) String() string
- type PcloudTenantsGetOK
- func (o *PcloudTenantsGetOK) Code() int
- func (o *PcloudTenantsGetOK) Error() string
- func (o *PcloudTenantsGetOK) GetPayload() *models.Tenant
- func (o *PcloudTenantsGetOK) IsClientError() bool
- func (o *PcloudTenantsGetOK) IsCode(code int) bool
- func (o *PcloudTenantsGetOK) IsRedirect() bool
- func (o *PcloudTenantsGetOK) IsServerError() bool
- func (o *PcloudTenantsGetOK) IsSuccess() bool
- func (o *PcloudTenantsGetOK) String() string
- type PcloudTenantsGetParams
- func NewPcloudTenantsGetParams() *PcloudTenantsGetParams
- func NewPcloudTenantsGetParamsWithContext(ctx context.Context) *PcloudTenantsGetParams
- func NewPcloudTenantsGetParamsWithHTTPClient(client *http.Client) *PcloudTenantsGetParams
- func NewPcloudTenantsGetParamsWithTimeout(timeout time.Duration) *PcloudTenantsGetParams
- func (o *PcloudTenantsGetParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsGetParams) SetDefaults()
- func (o *PcloudTenantsGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsGetParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsGetParams) WithContext(ctx context.Context) *PcloudTenantsGetParams
- func (o *PcloudTenantsGetParams) WithDefaults() *PcloudTenantsGetParams
- func (o *PcloudTenantsGetParams) WithHTTPClient(client *http.Client) *PcloudTenantsGetParams
- func (o *PcloudTenantsGetParams) WithTenantID(tenantID string) *PcloudTenantsGetParams
- func (o *PcloudTenantsGetParams) WithTimeout(timeout time.Duration) *PcloudTenantsGetParams
- func (o *PcloudTenantsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsGetReader
- type PcloudTenantsGetUnauthorized
- func (o *PcloudTenantsGetUnauthorized) Code() int
- func (o *PcloudTenantsGetUnauthorized) Error() string
- func (o *PcloudTenantsGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsGetUnauthorized) IsClientError() bool
- func (o *PcloudTenantsGetUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsGetUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsGetUnauthorized) IsServerError() bool
- func (o *PcloudTenantsGetUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsGetUnauthorized) String() string
- type PcloudTenantsPutBadRequest
- func (o *PcloudTenantsPutBadRequest) Code() int
- func (o *PcloudTenantsPutBadRequest) Error() string
- func (o *PcloudTenantsPutBadRequest) GetPayload() *models.Error
- func (o *PcloudTenantsPutBadRequest) IsClientError() bool
- func (o *PcloudTenantsPutBadRequest) IsCode(code int) bool
- func (o *PcloudTenantsPutBadRequest) IsRedirect() bool
- func (o *PcloudTenantsPutBadRequest) IsServerError() bool
- func (o *PcloudTenantsPutBadRequest) IsSuccess() bool
- func (o *PcloudTenantsPutBadRequest) String() string
- type PcloudTenantsPutInternalServerError
- func (o *PcloudTenantsPutInternalServerError) Code() int
- func (o *PcloudTenantsPutInternalServerError) Error() string
- func (o *PcloudTenantsPutInternalServerError) GetPayload() *models.Error
- func (o *PcloudTenantsPutInternalServerError) IsClientError() bool
- func (o *PcloudTenantsPutInternalServerError) IsCode(code int) bool
- func (o *PcloudTenantsPutInternalServerError) IsRedirect() bool
- func (o *PcloudTenantsPutInternalServerError) IsServerError() bool
- func (o *PcloudTenantsPutInternalServerError) IsSuccess() bool
- func (o *PcloudTenantsPutInternalServerError) String() string
- type PcloudTenantsPutOK
- func (o *PcloudTenantsPutOK) Code() int
- func (o *PcloudTenantsPutOK) Error() string
- func (o *PcloudTenantsPutOK) GetPayload() *models.Tenant
- func (o *PcloudTenantsPutOK) IsClientError() bool
- func (o *PcloudTenantsPutOK) IsCode(code int) bool
- func (o *PcloudTenantsPutOK) IsRedirect() bool
- func (o *PcloudTenantsPutOK) IsServerError() bool
- func (o *PcloudTenantsPutOK) IsSuccess() bool
- func (o *PcloudTenantsPutOK) String() string
- type PcloudTenantsPutParams
- func NewPcloudTenantsPutParams() *PcloudTenantsPutParams
- func NewPcloudTenantsPutParamsWithContext(ctx context.Context) *PcloudTenantsPutParams
- func NewPcloudTenantsPutParamsWithHTTPClient(client *http.Client) *PcloudTenantsPutParams
- func NewPcloudTenantsPutParamsWithTimeout(timeout time.Duration) *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) SetBody(body *models.TenantUpdate)
- func (o *PcloudTenantsPutParams) SetContext(ctx context.Context)
- func (o *PcloudTenantsPutParams) SetDefaults()
- func (o *PcloudTenantsPutParams) SetHTTPClient(client *http.Client)
- func (o *PcloudTenantsPutParams) SetTenantID(tenantID string)
- func (o *PcloudTenantsPutParams) SetTimeout(timeout time.Duration)
- func (o *PcloudTenantsPutParams) WithBody(body *models.TenantUpdate) *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) WithContext(ctx context.Context) *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) WithDefaults() *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) WithHTTPClient(client *http.Client) *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) WithTenantID(tenantID string) *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) WithTimeout(timeout time.Duration) *PcloudTenantsPutParams
- func (o *PcloudTenantsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudTenantsPutReader
- type PcloudTenantsPutUnauthorized
- func (o *PcloudTenantsPutUnauthorized) Code() int
- func (o *PcloudTenantsPutUnauthorized) Error() string
- func (o *PcloudTenantsPutUnauthorized) GetPayload() *models.Error
- func (o *PcloudTenantsPutUnauthorized) IsClientError() bool
- func (o *PcloudTenantsPutUnauthorized) IsCode(code int) bool
- func (o *PcloudTenantsPutUnauthorized) IsRedirect() bool
- func (o *PcloudTenantsPutUnauthorized) IsServerError() bool
- func (o *PcloudTenantsPutUnauthorized) IsSuccess() bool
- func (o *PcloudTenantsPutUnauthorized) String() string
- type PcloudTenantsPutUnprocessableEntity
- func (o *PcloudTenantsPutUnprocessableEntity) Code() int
- func (o *PcloudTenantsPutUnprocessableEntity) Error() string
- func (o *PcloudTenantsPutUnprocessableEntity) GetPayload() *models.Error
- func (o *PcloudTenantsPutUnprocessableEntity) IsClientError() bool
- func (o *PcloudTenantsPutUnprocessableEntity) IsCode(code int) bool
- func (o *PcloudTenantsPutUnprocessableEntity) IsRedirect() bool
- func (o *PcloudTenantsPutUnprocessableEntity) IsServerError() bool
- func (o *PcloudTenantsPutUnprocessableEntity) IsSuccess() bool
- func (o *PcloudTenantsPutUnprocessableEntity) 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 p cloud tenants API
func (*Client) PcloudTenantsGet ¶
func (a *Client) PcloudTenantsGet(params *PcloudTenantsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsGetOK, error)
PcloudTenantsGet gets a tenant s current state information
func (*Client) PcloudTenantsPut ¶
func (a *Client) PcloudTenantsPut(params *PcloudTenantsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsPutOK, error)
PcloudTenantsPut updates a tenant
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 is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudTenantsGet(params *PcloudTenantsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsGetOK, error) PcloudTenantsPut(params *PcloudTenantsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudTenantsPutOK, 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 p cloud tenants API client.
type PcloudTenantsGetBadRequest ¶
PcloudTenantsGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudTenantsGetBadRequest ¶
func NewPcloudTenantsGetBadRequest() *PcloudTenantsGetBadRequest
NewPcloudTenantsGetBadRequest creates a PcloudTenantsGetBadRequest with default headers values
func (*PcloudTenantsGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudTenantsGetBadRequest) Code() int
Code gets the status code for the pcloud tenants get bad request response
func (*PcloudTenantsGetBadRequest) Error ¶
func (o *PcloudTenantsGetBadRequest) Error() string
func (*PcloudTenantsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsGetBadRequest) GetPayload() *models.Error
func (*PcloudTenantsGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants get bad request response has a 4xx status code
func (*PcloudTenantsGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants get bad request response a status code equal to that given
func (*PcloudTenantsGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants get bad request response has a 3xx status code
func (*PcloudTenantsGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants get bad request response has a 5xx status code
func (*PcloudTenantsGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants get bad request response has a 2xx status code
func (*PcloudTenantsGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsGetBadRequest) String() string
type PcloudTenantsGetForbidden ¶ added in v1.0.56
PcloudTenantsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudTenantsGetForbidden ¶ added in v1.0.56
func NewPcloudTenantsGetForbidden() *PcloudTenantsGetForbidden
NewPcloudTenantsGetForbidden creates a PcloudTenantsGetForbidden with default headers values
func (*PcloudTenantsGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudTenantsGetForbidden) Code() int
Code gets the status code for the pcloud tenants get forbidden response
func (*PcloudTenantsGetForbidden) Error ¶ added in v1.0.56
func (o *PcloudTenantsGetForbidden) Error() string
func (*PcloudTenantsGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsGetForbidden) GetPayload() *models.Error
func (*PcloudTenantsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud tenants get forbidden response has a 4xx status code
func (*PcloudTenantsGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud tenants get forbidden response a status code equal to that given
func (*PcloudTenantsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud tenants get forbidden response has a 3xx status code
func (*PcloudTenantsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud tenants get forbidden response has a 5xx status code
func (*PcloudTenantsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud tenants get forbidden response has a 2xx status code
func (*PcloudTenantsGetForbidden) String ¶ added in v1.2.2
func (o *PcloudTenantsGetForbidden) String() string
type PcloudTenantsGetInternalServerError ¶
PcloudTenantsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudTenantsGetInternalServerError ¶
func NewPcloudTenantsGetInternalServerError() *PcloudTenantsGetInternalServerError
NewPcloudTenantsGetInternalServerError creates a PcloudTenantsGetInternalServerError with default headers values
func (*PcloudTenantsGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudTenantsGetInternalServerError) Code() int
Code gets the status code for the pcloud tenants get internal server error response
func (*PcloudTenantsGetInternalServerError) Error ¶
func (o *PcloudTenantsGetInternalServerError) Error() string
func (*PcloudTenantsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsGetInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants get internal server error response has a 4xx status code
func (*PcloudTenantsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants get internal server error response a status code equal to that given
func (*PcloudTenantsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants get internal server error response has a 3xx status code
func (*PcloudTenantsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants get internal server error response has a 5xx status code
func (*PcloudTenantsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants get internal server error response has a 2xx status code
func (*PcloudTenantsGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsGetInternalServerError) String() string
type PcloudTenantsGetNotFound ¶
PcloudTenantsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudTenantsGetNotFound ¶
func NewPcloudTenantsGetNotFound() *PcloudTenantsGetNotFound
NewPcloudTenantsGetNotFound creates a PcloudTenantsGetNotFound with default headers values
func (*PcloudTenantsGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudTenantsGetNotFound) Code() int
Code gets the status code for the pcloud tenants get not found response
func (*PcloudTenantsGetNotFound) Error ¶
func (o *PcloudTenantsGetNotFound) Error() string
func (*PcloudTenantsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsGetNotFound) GetPayload() *models.Error
func (*PcloudTenantsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud tenants get not found response has a 4xx status code
func (*PcloudTenantsGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud tenants get not found response a status code equal to that given
func (*PcloudTenantsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud tenants get not found response has a 3xx status code
func (*PcloudTenantsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud tenants get not found response has a 5xx status code
func (*PcloudTenantsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud tenants get not found response has a 2xx status code
func (*PcloudTenantsGetNotFound) String ¶ added in v1.2.2
func (o *PcloudTenantsGetNotFound) String() string
type PcloudTenantsGetOK ¶
PcloudTenantsGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudTenantsGetOK ¶
func NewPcloudTenantsGetOK() *PcloudTenantsGetOK
NewPcloudTenantsGetOK creates a PcloudTenantsGetOK with default headers values
func (*PcloudTenantsGetOK) Code ¶ added in v1.2.4
func (o *PcloudTenantsGetOK) Code() int
Code gets the status code for the pcloud tenants get o k response
func (*PcloudTenantsGetOK) Error ¶
func (o *PcloudTenantsGetOK) Error() string
func (*PcloudTenantsGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsGetOK) GetPayload() *models.Tenant
func (*PcloudTenantsGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsGetOK) IsClientError() bool
IsClientError returns true when this pcloud tenants get o k response has a 4xx status code
func (*PcloudTenantsGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsGetOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants get o k response a status code equal to that given
func (*PcloudTenantsGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants get o k response has a 3xx status code
func (*PcloudTenantsGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsGetOK) IsServerError() bool
IsServerError returns true when this pcloud tenants get o k response has a 5xx status code
func (*PcloudTenantsGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants get o k response has a 2xx status code
func (*PcloudTenantsGetOK) String ¶ added in v1.2.2
func (o *PcloudTenantsGetOK) String() string
type PcloudTenantsGetParams ¶
type PcloudTenantsGetParams struct { /* TenantID. Tenant ID of a pcloud tenant */ TenantID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudTenantsGetParams contains all the parameters to send to the API endpoint
for the pcloud tenants get operation. Typically these are written to a http.Request.
func NewPcloudTenantsGetParams ¶
func NewPcloudTenantsGetParams() *PcloudTenantsGetParams
NewPcloudTenantsGetParams creates a new PcloudTenantsGetParams 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 NewPcloudTenantsGetParamsWithContext ¶
func NewPcloudTenantsGetParamsWithContext(ctx context.Context) *PcloudTenantsGetParams
NewPcloudTenantsGetParamsWithContext creates a new PcloudTenantsGetParams object with the ability to set a context for a request.
func NewPcloudTenantsGetParamsWithHTTPClient ¶
func NewPcloudTenantsGetParamsWithHTTPClient(client *http.Client) *PcloudTenantsGetParams
NewPcloudTenantsGetParamsWithHTTPClient creates a new PcloudTenantsGetParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudTenantsGetParamsWithTimeout ¶
func NewPcloudTenantsGetParamsWithTimeout(timeout time.Duration) *PcloudTenantsGetParams
NewPcloudTenantsGetParamsWithTimeout creates a new PcloudTenantsGetParams object with the ability to set a timeout on a request.
func (*PcloudTenantsGetParams) SetContext ¶
func (o *PcloudTenantsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud tenants get params
func (*PcloudTenantsGetParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTenantsGetParams) SetHTTPClient ¶
func (o *PcloudTenantsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud tenants get params
func (*PcloudTenantsGetParams) SetTenantID ¶
func (o *PcloudTenantsGetParams) SetTenantID(tenantID string)
SetTenantID adds the tenantId to the pcloud tenants get params
func (*PcloudTenantsGetParams) SetTimeout ¶
func (o *PcloudTenantsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud tenants get params
func (*PcloudTenantsGetParams) WithContext ¶
func (o *PcloudTenantsGetParams) WithContext(ctx context.Context) *PcloudTenantsGetParams
WithContext adds the context to the pcloud tenants get params
func (*PcloudTenantsGetParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsGetParams) WithDefaults() *PcloudTenantsGetParams
WithDefaults hydrates default values in the pcloud tenants get params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTenantsGetParams) WithHTTPClient ¶
func (o *PcloudTenantsGetParams) WithHTTPClient(client *http.Client) *PcloudTenantsGetParams
WithHTTPClient adds the HTTPClient to the pcloud tenants get params
func (*PcloudTenantsGetParams) WithTenantID ¶
func (o *PcloudTenantsGetParams) WithTenantID(tenantID string) *PcloudTenantsGetParams
WithTenantID adds the tenantID to the pcloud tenants get params
func (*PcloudTenantsGetParams) WithTimeout ¶
func (o *PcloudTenantsGetParams) WithTimeout(timeout time.Duration) *PcloudTenantsGetParams
WithTimeout adds the timeout to the pcloud tenants get params
func (*PcloudTenantsGetParams) WriteToRequest ¶
func (o *PcloudTenantsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudTenantsGetReader ¶
type PcloudTenantsGetReader struct {
// contains filtered or unexported fields
}
PcloudTenantsGetReader is a Reader for the PcloudTenantsGet structure.
func (*PcloudTenantsGetReader) ReadResponse ¶
func (o *PcloudTenantsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudTenantsGetUnauthorized ¶ added in v1.0.59
type PcloudTenantsGetUnauthorized struct {
}PcloudTenantsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudTenantsGetUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsGetUnauthorized() *PcloudTenantsGetUnauthorized
NewPcloudTenantsGetUnauthorized creates a PcloudTenantsGetUnauthorized with default headers values
func (*PcloudTenantsGetUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudTenantsGetUnauthorized) Code() int
Code gets the status code for the pcloud tenants get unauthorized response
func (*PcloudTenantsGetUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsGetUnauthorized) Error() string
func (*PcloudTenantsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsGetUnauthorized) GetPayload() *models.Error
func (*PcloudTenantsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants get unauthorized response has a 4xx status code
func (*PcloudTenantsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants get unauthorized response a status code equal to that given
func (*PcloudTenantsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants get unauthorized response has a 3xx status code
func (*PcloudTenantsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants get unauthorized response has a 5xx status code
func (*PcloudTenantsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants get unauthorized response has a 2xx status code
func (*PcloudTenantsGetUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsGetUnauthorized) String() string
type PcloudTenantsPutBadRequest ¶
PcloudTenantsPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudTenantsPutBadRequest ¶
func NewPcloudTenantsPutBadRequest() *PcloudTenantsPutBadRequest
NewPcloudTenantsPutBadRequest creates a PcloudTenantsPutBadRequest with default headers values
func (*PcloudTenantsPutBadRequest) Code ¶ added in v1.2.4
func (o *PcloudTenantsPutBadRequest) Code() int
Code gets the status code for the pcloud tenants put bad request response
func (*PcloudTenantsPutBadRequest) Error ¶
func (o *PcloudTenantsPutBadRequest) Error() string
func (*PcloudTenantsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsPutBadRequest) GetPayload() *models.Error
func (*PcloudTenantsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsPutBadRequest) IsClientError() bool
IsClientError returns true when this pcloud tenants put bad request response has a 4xx status code
func (*PcloudTenantsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsPutBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud tenants put bad request response a status code equal to that given
func (*PcloudTenantsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud tenants put bad request response has a 3xx status code
func (*PcloudTenantsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsPutBadRequest) IsServerError() bool
IsServerError returns true when this pcloud tenants put bad request response has a 5xx status code
func (*PcloudTenantsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud tenants put bad request response has a 2xx status code
func (*PcloudTenantsPutBadRequest) String ¶ added in v1.2.2
func (o *PcloudTenantsPutBadRequest) String() string
type PcloudTenantsPutInternalServerError ¶
PcloudTenantsPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudTenantsPutInternalServerError ¶
func NewPcloudTenantsPutInternalServerError() *PcloudTenantsPutInternalServerError
NewPcloudTenantsPutInternalServerError creates a PcloudTenantsPutInternalServerError with default headers values
func (*PcloudTenantsPutInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudTenantsPutInternalServerError) Code() int
Code gets the status code for the pcloud tenants put internal server error response
func (*PcloudTenantsPutInternalServerError) Error ¶
func (o *PcloudTenantsPutInternalServerError) Error() string
func (*PcloudTenantsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsPutInternalServerError) GetPayload() *models.Error
func (*PcloudTenantsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsPutInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud tenants put internal server error response has a 4xx status code
func (*PcloudTenantsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud tenants put internal server error response a status code equal to that given
func (*PcloudTenantsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud tenants put internal server error response has a 3xx status code
func (*PcloudTenantsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsPutInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud tenants put internal server error response has a 5xx status code
func (*PcloudTenantsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud tenants put internal server error response has a 2xx status code
func (*PcloudTenantsPutInternalServerError) String ¶ added in v1.2.2
func (o *PcloudTenantsPutInternalServerError) String() string
type PcloudTenantsPutOK ¶
PcloudTenantsPutOK describes a response with status code 200, with default header values.
OK
func NewPcloudTenantsPutOK ¶
func NewPcloudTenantsPutOK() *PcloudTenantsPutOK
NewPcloudTenantsPutOK creates a PcloudTenantsPutOK with default headers values
func (*PcloudTenantsPutOK) Code ¶ added in v1.2.4
func (o *PcloudTenantsPutOK) Code() int
Code gets the status code for the pcloud tenants put o k response
func (*PcloudTenantsPutOK) Error ¶
func (o *PcloudTenantsPutOK) Error() string
func (*PcloudTenantsPutOK) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsPutOK) GetPayload() *models.Tenant
func (*PcloudTenantsPutOK) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsPutOK) IsClientError() bool
IsClientError returns true when this pcloud tenants put o k response has a 4xx status code
func (*PcloudTenantsPutOK) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsPutOK) IsCode(code int) bool
IsCode returns true when this pcloud tenants put o k response a status code equal to that given
func (*PcloudTenantsPutOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsPutOK) IsRedirect() bool
IsRedirect returns true when this pcloud tenants put o k response has a 3xx status code
func (*PcloudTenantsPutOK) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsPutOK) IsServerError() bool
IsServerError returns true when this pcloud tenants put o k response has a 5xx status code
func (*PcloudTenantsPutOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsPutOK) IsSuccess() bool
IsSuccess returns true when this pcloud tenants put o k response has a 2xx status code
func (*PcloudTenantsPutOK) String ¶ added in v1.2.2
func (o *PcloudTenantsPutOK) String() string
type PcloudTenantsPutParams ¶
type PcloudTenantsPutParams struct { /* Body. Parameters for updating a Tenant */ Body *models.TenantUpdate /* TenantID. Tenant ID of a pcloud tenant */ TenantID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudTenantsPutParams contains all the parameters to send to the API endpoint
for the pcloud tenants put operation. Typically these are written to a http.Request.
func NewPcloudTenantsPutParams ¶
func NewPcloudTenantsPutParams() *PcloudTenantsPutParams
NewPcloudTenantsPutParams creates a new PcloudTenantsPutParams 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 NewPcloudTenantsPutParamsWithContext ¶
func NewPcloudTenantsPutParamsWithContext(ctx context.Context) *PcloudTenantsPutParams
NewPcloudTenantsPutParamsWithContext creates a new PcloudTenantsPutParams object with the ability to set a context for a request.
func NewPcloudTenantsPutParamsWithHTTPClient ¶
func NewPcloudTenantsPutParamsWithHTTPClient(client *http.Client) *PcloudTenantsPutParams
NewPcloudTenantsPutParamsWithHTTPClient creates a new PcloudTenantsPutParams object with the ability to set a custom HTTPClient for a request.
func NewPcloudTenantsPutParamsWithTimeout ¶
func NewPcloudTenantsPutParamsWithTimeout(timeout time.Duration) *PcloudTenantsPutParams
NewPcloudTenantsPutParamsWithTimeout creates a new PcloudTenantsPutParams object with the ability to set a timeout on a request.
func (*PcloudTenantsPutParams) SetBody ¶
func (o *PcloudTenantsPutParams) SetBody(body *models.TenantUpdate)
SetBody adds the body to the pcloud tenants put params
func (*PcloudTenantsPutParams) SetContext ¶
func (o *PcloudTenantsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud tenants put params
func (*PcloudTenantsPutParams) SetDefaults ¶ added in v1.1.0
func (o *PcloudTenantsPutParams) SetDefaults()
SetDefaults hydrates default values in the pcloud tenants put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTenantsPutParams) SetHTTPClient ¶
func (o *PcloudTenantsPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud tenants put params
func (*PcloudTenantsPutParams) SetTenantID ¶
func (o *PcloudTenantsPutParams) SetTenantID(tenantID string)
SetTenantID adds the tenantId to the pcloud tenants put params
func (*PcloudTenantsPutParams) SetTimeout ¶
func (o *PcloudTenantsPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud tenants put params
func (*PcloudTenantsPutParams) WithBody ¶
func (o *PcloudTenantsPutParams) WithBody(body *models.TenantUpdate) *PcloudTenantsPutParams
WithBody adds the body to the pcloud tenants put params
func (*PcloudTenantsPutParams) WithContext ¶
func (o *PcloudTenantsPutParams) WithContext(ctx context.Context) *PcloudTenantsPutParams
WithContext adds the context to the pcloud tenants put params
func (*PcloudTenantsPutParams) WithDefaults ¶ added in v1.1.0
func (o *PcloudTenantsPutParams) WithDefaults() *PcloudTenantsPutParams
WithDefaults hydrates default values in the pcloud tenants put params (not the query body).
All values with no default are reset to their zero value.
func (*PcloudTenantsPutParams) WithHTTPClient ¶
func (o *PcloudTenantsPutParams) WithHTTPClient(client *http.Client) *PcloudTenantsPutParams
WithHTTPClient adds the HTTPClient to the pcloud tenants put params
func (*PcloudTenantsPutParams) WithTenantID ¶
func (o *PcloudTenantsPutParams) WithTenantID(tenantID string) *PcloudTenantsPutParams
WithTenantID adds the tenantID to the pcloud tenants put params
func (*PcloudTenantsPutParams) WithTimeout ¶
func (o *PcloudTenantsPutParams) WithTimeout(timeout time.Duration) *PcloudTenantsPutParams
WithTimeout adds the timeout to the pcloud tenants put params
func (*PcloudTenantsPutParams) WriteToRequest ¶
func (o *PcloudTenantsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudTenantsPutReader ¶
type PcloudTenantsPutReader struct {
// contains filtered or unexported fields
}
PcloudTenantsPutReader is a Reader for the PcloudTenantsPut structure.
func (*PcloudTenantsPutReader) ReadResponse ¶
func (o *PcloudTenantsPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudTenantsPutUnauthorized ¶ added in v1.0.59
type PcloudTenantsPutUnauthorized struct {
}PcloudTenantsPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudTenantsPutUnauthorized ¶ added in v1.0.59
func NewPcloudTenantsPutUnauthorized() *PcloudTenantsPutUnauthorized
NewPcloudTenantsPutUnauthorized creates a PcloudTenantsPutUnauthorized with default headers values
func (*PcloudTenantsPutUnauthorized) Code ¶ added in v1.2.4
func (o *PcloudTenantsPutUnauthorized) Code() int
Code gets the status code for the pcloud tenants put unauthorized response
func (*PcloudTenantsPutUnauthorized) Error ¶ added in v1.0.59
func (o *PcloudTenantsPutUnauthorized) Error() string
func (*PcloudTenantsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsPutUnauthorized) GetPayload() *models.Error
func (*PcloudTenantsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsPutUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud tenants put unauthorized response has a 4xx status code
func (*PcloudTenantsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud tenants put unauthorized response a status code equal to that given
func (*PcloudTenantsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud tenants put unauthorized response has a 3xx status code
func (*PcloudTenantsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsPutUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud tenants put unauthorized response has a 5xx status code
func (*PcloudTenantsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud tenants put unauthorized response has a 2xx status code
func (*PcloudTenantsPutUnauthorized) String ¶ added in v1.2.2
func (o *PcloudTenantsPutUnauthorized) String() string
type PcloudTenantsPutUnprocessableEntity ¶
PcloudTenantsPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewPcloudTenantsPutUnprocessableEntity ¶
func NewPcloudTenantsPutUnprocessableEntity() *PcloudTenantsPutUnprocessableEntity
NewPcloudTenantsPutUnprocessableEntity creates a PcloudTenantsPutUnprocessableEntity with default headers values
func (*PcloudTenantsPutUnprocessableEntity) Code ¶ added in v1.2.4
func (o *PcloudTenantsPutUnprocessableEntity) Code() int
Code gets the status code for the pcloud tenants put unprocessable entity response
func (*PcloudTenantsPutUnprocessableEntity) Error ¶
func (o *PcloudTenantsPutUnprocessableEntity) Error() string
func (*PcloudTenantsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *PcloudTenantsPutUnprocessableEntity) GetPayload() *models.Error
func (*PcloudTenantsPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *PcloudTenantsPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this pcloud tenants put unprocessable entity response has a 4xx status code
func (*PcloudTenantsPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *PcloudTenantsPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this pcloud tenants put unprocessable entity response a status code equal to that given
func (*PcloudTenantsPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *PcloudTenantsPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this pcloud tenants put unprocessable entity response has a 3xx status code
func (*PcloudTenantsPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *PcloudTenantsPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this pcloud tenants put unprocessable entity response has a 5xx status code
func (*PcloudTenantsPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *PcloudTenantsPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this pcloud tenants put unprocessable entity response has a 2xx status code
func (*PcloudTenantsPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *PcloudTenantsPutUnprocessableEntity) String() string