p_cloud_pod_capacity

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 pod capacity API

func (*Client) PcloudPodcapacityGet

func (a *Client) PcloudPodcapacityGet(params *PcloudPodcapacityGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPodcapacityGetOK, error)

PcloudPodcapacityGet lists of available resources within a particular pod

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PcloudPodcapacityGet(params *PcloudPodcapacityGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudPodcapacityGetOK, 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 pod capacity API client.

type PcloudPodcapacityGetForbidden

type PcloudPodcapacityGetForbidden struct {
	Payload *models.Error
}

PcloudPodcapacityGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPcloudPodcapacityGetForbidden

func NewPcloudPodcapacityGetForbidden() *PcloudPodcapacityGetForbidden

NewPcloudPodcapacityGetForbidden creates a PcloudPodcapacityGetForbidden with default headers values

func (*PcloudPodcapacityGetForbidden) Code

Code gets the status code for the pcloud podcapacity get forbidden response

func (*PcloudPodcapacityGetForbidden) Error

func (*PcloudPodcapacityGetForbidden) GetPayload

func (o *PcloudPodcapacityGetForbidden) GetPayload() *models.Error

func (*PcloudPodcapacityGetForbidden) IsClientError

func (o *PcloudPodcapacityGetForbidden) IsClientError() bool

IsClientError returns true when this pcloud podcapacity get forbidden response has a 4xx status code

func (*PcloudPodcapacityGetForbidden) IsCode

func (o *PcloudPodcapacityGetForbidden) IsCode(code int) bool

IsCode returns true when this pcloud podcapacity get forbidden response a status code equal to that given

func (*PcloudPodcapacityGetForbidden) IsRedirect

func (o *PcloudPodcapacityGetForbidden) IsRedirect() bool

IsRedirect returns true when this pcloud podcapacity get forbidden response has a 3xx status code

func (*PcloudPodcapacityGetForbidden) IsServerError

func (o *PcloudPodcapacityGetForbidden) IsServerError() bool

IsServerError returns true when this pcloud podcapacity get forbidden response has a 5xx status code

func (*PcloudPodcapacityGetForbidden) IsSuccess

func (o *PcloudPodcapacityGetForbidden) IsSuccess() bool

IsSuccess returns true when this pcloud podcapacity get forbidden response has a 2xx status code

func (*PcloudPodcapacityGetForbidden) String

type PcloudPodcapacityGetInternalServerError

type PcloudPodcapacityGetInternalServerError struct {
	Payload *models.Error
}

PcloudPodcapacityGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPcloudPodcapacityGetInternalServerError

func NewPcloudPodcapacityGetInternalServerError() *PcloudPodcapacityGetInternalServerError

NewPcloudPodcapacityGetInternalServerError creates a PcloudPodcapacityGetInternalServerError with default headers values

func (*PcloudPodcapacityGetInternalServerError) Code

Code gets the status code for the pcloud podcapacity get internal server error response

func (*PcloudPodcapacityGetInternalServerError) Error

func (*PcloudPodcapacityGetInternalServerError) GetPayload

func (*PcloudPodcapacityGetInternalServerError) IsClientError

func (o *PcloudPodcapacityGetInternalServerError) IsClientError() bool

IsClientError returns true when this pcloud podcapacity get internal server error response has a 4xx status code

func (*PcloudPodcapacityGetInternalServerError) IsCode

IsCode returns true when this pcloud podcapacity get internal server error response a status code equal to that given

func (*PcloudPodcapacityGetInternalServerError) IsRedirect

IsRedirect returns true when this pcloud podcapacity get internal server error response has a 3xx status code

func (*PcloudPodcapacityGetInternalServerError) IsServerError

func (o *PcloudPodcapacityGetInternalServerError) IsServerError() bool

IsServerError returns true when this pcloud podcapacity get internal server error response has a 5xx status code

func (*PcloudPodcapacityGetInternalServerError) IsSuccess

IsSuccess returns true when this pcloud podcapacity get internal server error response has a 2xx status code

func (*PcloudPodcapacityGetInternalServerError) String

type PcloudPodcapacityGetOK

type PcloudPodcapacityGetOK struct {
	Payload *models.PodCapacity
}

PcloudPodcapacityGetOK describes a response with status code 200, with default header values.

OK

func NewPcloudPodcapacityGetOK

func NewPcloudPodcapacityGetOK() *PcloudPodcapacityGetOK

NewPcloudPodcapacityGetOK creates a PcloudPodcapacityGetOK with default headers values

func (*PcloudPodcapacityGetOK) Code

func (o *PcloudPodcapacityGetOK) Code() int

Code gets the status code for the pcloud podcapacity get o k response

func (*PcloudPodcapacityGetOK) Error

func (o *PcloudPodcapacityGetOK) Error() string

func (*PcloudPodcapacityGetOK) GetPayload

func (o *PcloudPodcapacityGetOK) GetPayload() *models.PodCapacity

func (*PcloudPodcapacityGetOK) IsClientError

func (o *PcloudPodcapacityGetOK) IsClientError() bool

IsClientError returns true when this pcloud podcapacity get o k response has a 4xx status code

func (*PcloudPodcapacityGetOK) IsCode

func (o *PcloudPodcapacityGetOK) IsCode(code int) bool

IsCode returns true when this pcloud podcapacity get o k response a status code equal to that given

func (*PcloudPodcapacityGetOK) IsRedirect

func (o *PcloudPodcapacityGetOK) IsRedirect() bool

IsRedirect returns true when this pcloud podcapacity get o k response has a 3xx status code

func (*PcloudPodcapacityGetOK) IsServerError

func (o *PcloudPodcapacityGetOK) IsServerError() bool

IsServerError returns true when this pcloud podcapacity get o k response has a 5xx status code

func (*PcloudPodcapacityGetOK) IsSuccess

func (o *PcloudPodcapacityGetOK) IsSuccess() bool

IsSuccess returns true when this pcloud podcapacity get o k response has a 2xx status code

func (*PcloudPodcapacityGetOK) String

func (o *PcloudPodcapacityGetOK) String() string

type PcloudPodcapacityGetParams

type PcloudPodcapacityGetParams struct {

	/* CloudInstanceID.

	   Cloud Instance ID of a PCloud Instance
	*/
	CloudInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PcloudPodcapacityGetParams contains all the parameters to send to the API endpoint

for the pcloud podcapacity get operation.

Typically these are written to a http.Request.

func NewPcloudPodcapacityGetParams

func NewPcloudPodcapacityGetParams() *PcloudPodcapacityGetParams

NewPcloudPodcapacityGetParams creates a new PcloudPodcapacityGetParams 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 NewPcloudPodcapacityGetParamsWithContext

func NewPcloudPodcapacityGetParamsWithContext(ctx context.Context) *PcloudPodcapacityGetParams

NewPcloudPodcapacityGetParamsWithContext creates a new PcloudPodcapacityGetParams object with the ability to set a context for a request.

func NewPcloudPodcapacityGetParamsWithHTTPClient

func NewPcloudPodcapacityGetParamsWithHTTPClient(client *http.Client) *PcloudPodcapacityGetParams

NewPcloudPodcapacityGetParamsWithHTTPClient creates a new PcloudPodcapacityGetParams object with the ability to set a custom HTTPClient for a request.

func NewPcloudPodcapacityGetParamsWithTimeout

func NewPcloudPodcapacityGetParamsWithTimeout(timeout time.Duration) *PcloudPodcapacityGetParams

NewPcloudPodcapacityGetParamsWithTimeout creates a new PcloudPodcapacityGetParams object with the ability to set a timeout on a request.

func (*PcloudPodcapacityGetParams) SetCloudInstanceID

func (o *PcloudPodcapacityGetParams) SetCloudInstanceID(cloudInstanceID string)

SetCloudInstanceID adds the cloudInstanceId to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) SetContext

func (o *PcloudPodcapacityGetParams) SetContext(ctx context.Context)

SetContext adds the context to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) SetDefaults

func (o *PcloudPodcapacityGetParams) SetDefaults()

SetDefaults hydrates default values in the pcloud podcapacity get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPodcapacityGetParams) SetHTTPClient

func (o *PcloudPodcapacityGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) SetTimeout

func (o *PcloudPodcapacityGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) WithCloudInstanceID

func (o *PcloudPodcapacityGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudPodcapacityGetParams

WithCloudInstanceID adds the cloudInstanceID to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) WithContext

WithContext adds the context to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) WithDefaults

WithDefaults hydrates default values in the pcloud podcapacity get params (not the query body).

All values with no default are reset to their zero value.

func (*PcloudPodcapacityGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) WithTimeout

WithTimeout adds the timeout to the pcloud podcapacity get params

func (*PcloudPodcapacityGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PcloudPodcapacityGetReader

type PcloudPodcapacityGetReader struct {
	// contains filtered or unexported fields
}

PcloudPodcapacityGetReader is a Reader for the PcloudPodcapacityGet structure.

func (*PcloudPodcapacityGetReader) ReadResponse

func (o *PcloudPodcapacityGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PcloudPodcapacityGetUnauthorized

type PcloudPodcapacityGetUnauthorized struct {
	Payload *models.Error
}

PcloudPodcapacityGetUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPcloudPodcapacityGetUnauthorized

func NewPcloudPodcapacityGetUnauthorized() *PcloudPodcapacityGetUnauthorized

NewPcloudPodcapacityGetUnauthorized creates a PcloudPodcapacityGetUnauthorized with default headers values

func (*PcloudPodcapacityGetUnauthorized) Code

Code gets the status code for the pcloud podcapacity get unauthorized response

func (*PcloudPodcapacityGetUnauthorized) Error

func (*PcloudPodcapacityGetUnauthorized) GetPayload

func (*PcloudPodcapacityGetUnauthorized) IsClientError

func (o *PcloudPodcapacityGetUnauthorized) IsClientError() bool

IsClientError returns true when this pcloud podcapacity get unauthorized response has a 4xx status code

func (*PcloudPodcapacityGetUnauthorized) IsCode

func (o *PcloudPodcapacityGetUnauthorized) IsCode(code int) bool

IsCode returns true when this pcloud podcapacity get unauthorized response a status code equal to that given

func (*PcloudPodcapacityGetUnauthorized) IsRedirect

func (o *PcloudPodcapacityGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this pcloud podcapacity get unauthorized response has a 3xx status code

func (*PcloudPodcapacityGetUnauthorized) IsServerError

func (o *PcloudPodcapacityGetUnauthorized) IsServerError() bool

IsServerError returns true when this pcloud podcapacity get unauthorized response has a 5xx status code

func (*PcloudPodcapacityGetUnauthorized) IsSuccess

func (o *PcloudPodcapacityGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this pcloud podcapacity get unauthorized response has a 2xx status code

func (*PcloudPodcapacityGetUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL