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 PcloudTenantsGetBadRequest
- type PcloudTenantsGetForbidden
- type PcloudTenantsGetInternalServerError
- type PcloudTenantsGetNotFound
- type PcloudTenantsGetOK
- 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) 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) 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 PcloudTenantsPutBadRequest
- type PcloudTenantsPutInternalServerError
- type PcloudTenantsPutOK
- 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) 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) 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 PcloudTenantsPutUnprocessableEntity
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud tenants API client.
func (*Client) PcloudTenantsGet ¶
func (a *Client) PcloudTenantsGet(params *PcloudTenantsGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsGetOK, error)
PcloudTenantsGet gets a tenant s current state information
func (*Client) PcloudTenantsPut ¶
func (a *Client) PcloudTenantsPut(params *PcloudTenantsPutParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudTenantsPutOK, error)
PcloudTenantsPut updates a tenant
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudTenantsGetBadRequest ¶
PcloudTenantsGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudTenantsGetBadRequest ¶
func NewPcloudTenantsGetBadRequest() *PcloudTenantsGetBadRequest
NewPcloudTenantsGetBadRequest creates a PcloudTenantsGetBadRequest with default headers values
func (*PcloudTenantsGetBadRequest) Error ¶
func (o *PcloudTenantsGetBadRequest) Error() string
type PcloudTenantsGetForbidden ¶ added in v1.0.56
PcloudTenantsGetForbidden handles this case 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) Error ¶ added in v1.0.56
func (o *PcloudTenantsGetForbidden) Error() string
type PcloudTenantsGetInternalServerError ¶
PcloudTenantsGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudTenantsGetInternalServerError ¶
func NewPcloudTenantsGetInternalServerError() *PcloudTenantsGetInternalServerError
NewPcloudTenantsGetInternalServerError creates a PcloudTenantsGetInternalServerError with default headers values
func (*PcloudTenantsGetInternalServerError) Error ¶
func (o *PcloudTenantsGetInternalServerError) Error() string
type PcloudTenantsGetNotFound ¶
PcloudTenantsGetNotFound handles this case with default header values.
Not Found
func NewPcloudTenantsGetNotFound ¶
func NewPcloudTenantsGetNotFound() *PcloudTenantsGetNotFound
NewPcloudTenantsGetNotFound creates a PcloudTenantsGetNotFound with default headers values
func (*PcloudTenantsGetNotFound) Error ¶
func (o *PcloudTenantsGetNotFound) Error() string
type PcloudTenantsGetOK ¶
PcloudTenantsGetOK handles this case with default header values.
OK
func NewPcloudTenantsGetOK ¶
func NewPcloudTenantsGetOK() *PcloudTenantsGetOK
NewPcloudTenantsGetOK creates a PcloudTenantsGetOK with default headers values
func (*PcloudTenantsGetOK) Error ¶
func (o *PcloudTenantsGetOK) Error() 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 values initialized.
func NewPcloudTenantsGetParamsWithContext ¶
func NewPcloudTenantsGetParamsWithContext(ctx context.Context) *PcloudTenantsGetParams
NewPcloudTenantsGetParamsWithContext creates a new PcloudTenantsGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudTenantsPutBadRequest ¶
PcloudTenantsPutBadRequest handles this case with default header values.
Bad Request
func NewPcloudTenantsPutBadRequest ¶
func NewPcloudTenantsPutBadRequest() *PcloudTenantsPutBadRequest
NewPcloudTenantsPutBadRequest creates a PcloudTenantsPutBadRequest with default headers values
func (*PcloudTenantsPutBadRequest) Error ¶
func (o *PcloudTenantsPutBadRequest) Error() string
type PcloudTenantsPutInternalServerError ¶
PcloudTenantsPutInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudTenantsPutInternalServerError ¶
func NewPcloudTenantsPutInternalServerError() *PcloudTenantsPutInternalServerError
NewPcloudTenantsPutInternalServerError creates a PcloudTenantsPutInternalServerError with default headers values
func (*PcloudTenantsPutInternalServerError) Error ¶
func (o *PcloudTenantsPutInternalServerError) Error() string
type PcloudTenantsPutOK ¶
PcloudTenantsPutOK handles this case with default header values.
OK
func NewPcloudTenantsPutOK ¶
func NewPcloudTenantsPutOK() *PcloudTenantsPutOK
NewPcloudTenantsPutOK creates a PcloudTenantsPutOK with default headers values
func (*PcloudTenantsPutOK) Error ¶
func (o *PcloudTenantsPutOK) Error() 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 values initialized.
func NewPcloudTenantsPutParamsWithContext ¶
func NewPcloudTenantsPutParamsWithContext(ctx context.Context) *PcloudTenantsPutParams
NewPcloudTenantsPutParamsWithContext creates a new PcloudTenantsPutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PcloudTenantsPutUnprocessableEntity ¶
PcloudTenantsPutUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewPcloudTenantsPutUnprocessableEntity ¶
func NewPcloudTenantsPutUnprocessableEntity() *PcloudTenantsPutUnprocessableEntity
NewPcloudTenantsPutUnprocessableEntity creates a PcloudTenantsPutUnprocessableEntity with default headers values
func (*PcloudTenantsPutUnprocessableEntity) Error ¶
func (o *PcloudTenantsPutUnprocessableEntity) Error() string