accounting

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON added in v0.26.8

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptTextPlain added in v0.26.8

func WithAcceptTextPlain(r *runtime.ClientOperation)

WithAcceptTextPlain sets the Accept header to "text/plain".

Types

type Client

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

Client for accounting API

func (*Client) ClusterUsage

func (a *Client) ClusterUsage(params *ClusterUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageOK, error)

ClusterUsage finds cluster usage for given accounting query

func (*Client) ClusterUsageCSV

func (a *Client) ClusterUsageCSV(params *ClusterUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageCSVOK, error)

ClusterUsageCSV finds cluster usage for given accounting query

func (*Client) ContainerUsage

func (a *Client) ContainerUsage(params *ContainerUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageOK, error)

ContainerUsage finds container usage for given accounting query

func (*Client) ContainerUsageCSV

func (a *Client) ContainerUsageCSV(params *ContainerUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageCSVOK, error)

ContainerUsageCSV finds container usage for given accounting query

func (*Client) IPUsage

func (a *Client) IPUsage(params *IPUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageOK, error)

IPUsage finds ip usage for given accounting query

func (*Client) IPUsageCSV

func (a *Client) IPUsageCSV(params *IPUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageCSVOK, error)

IPUsageCSV finds ip usage for given accounting query

func (*Client) MachineUsage added in v0.23.2

func (a *Client) MachineUsage(params *MachineUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineUsageOK, error)

MachineUsage finds machine usage for given accounting query

func (*Client) NetworkUsage

func (a *Client) NetworkUsage(params *NetworkUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageOK, error)

NetworkUsage finds network usage for given accounting query

func (*Client) NetworkUsageCSV

func (a *Client) NetworkUsageCSV(params *NetworkUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageCSVOK, error)

NetworkUsageCSV finds network usage for given accounting query

func (*Client) PostgresUsage added in v0.17.4

func (a *Client) PostgresUsage(params *PostgresUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageOK, error)

PostgresUsage finds postgres usage for given accounting query

func (*Client) PostgresUsageCSV added in v0.17.4

func (a *Client) PostgresUsageCSV(params *PostgresUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageCSVOK, error)

PostgresUsageCSV finds postgres usage for given accounting query

func (*Client) ProductOptionUsage added in v0.23.2

func (a *Client) ProductOptionUsage(params *ProductOptionUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOptionUsageOK, error)

ProductOptionUsage finds product option usage for given accounting query

func (*Client) Projects added in v0.18.20

func (a *Client) Projects(params *ProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsOK, error)

Projects discovers accounted projects witihin a given time period

func (*Client) S3Usage

func (a *Client) S3Usage(params *S3UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageOK, error)

S3Usage finds s3 bucket usage for given accounting query

func (*Client) S3UsageCSV

func (a *Client) S3UsageCSV(params *S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageCSVOK, error)

S3UsageCSV finds s3 bucket usage for given accounting query

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VolumeUsage

func (a *Client) VolumeUsage(params *VolumeUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageOK, error)

VolumeUsage finds volume usage for given accounting query

func (*Client) VolumeUsageCSV

func (a *Client) VolumeUsageCSV(params *VolumeUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageCSVOK, error)

VolumeUsageCSV finds volume usage for given accounting query

type ClientOption added in v0.15.4

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept added in v0.26.8

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService added in v0.9.1

type ClientService interface {
	ClusterUsage(params *ClusterUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageOK, error)

	ClusterUsageCSV(params *ClusterUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterUsageCSVOK, error)

	ContainerUsage(params *ContainerUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageOK, error)

	ContainerUsageCSV(params *ContainerUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContainerUsageCSVOK, error)

	IPUsage(params *IPUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageOK, error)

	IPUsageCSV(params *IPUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IPUsageCSVOK, error)

	MachineUsage(params *MachineUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MachineUsageOK, error)

	NetworkUsage(params *NetworkUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageOK, error)

	NetworkUsageCSV(params *NetworkUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NetworkUsageCSVOK, error)

	PostgresUsage(params *PostgresUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageOK, error)

	PostgresUsageCSV(params *PostgresUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostgresUsageCSVOK, error)

	ProductOptionUsage(params *ProductOptionUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOptionUsageOK, error)

	Projects(params *ProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsOK, error)

	S3Usage(params *S3UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageOK, error)

	S3UsageCSV(params *S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*S3UsageCSVOK, error)

	VolumeUsage(params *VolumeUsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageOK, error)

	VolumeUsageCSV(params *VolumeUsageCSVParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VolumeUsageCSVOK, 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 accounting API client.

func NewClientWithBasicAuth added in v0.26.8

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new accounting 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 v0.26.8

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new accounting 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 ClusterUsageCSVDefault

type ClusterUsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ClusterUsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewClusterUsageCSVDefault

func NewClusterUsageCSVDefault(code int) *ClusterUsageCSVDefault

NewClusterUsageCSVDefault creates a ClusterUsageCSVDefault with default headers values

func (*ClusterUsageCSVDefault) Code

func (o *ClusterUsageCSVDefault) Code() int

Code gets the status code for the cluster usage c s v default response

func (*ClusterUsageCSVDefault) Error

func (o *ClusterUsageCSVDefault) Error() string

func (*ClusterUsageCSVDefault) GetPayload added in v0.9.1

func (*ClusterUsageCSVDefault) IsClientError added in v0.19.0

func (o *ClusterUsageCSVDefault) IsClientError() bool

IsClientError returns true when this cluster usage c s v default response has a 4xx status code

func (*ClusterUsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this cluster usage c s v default response a status code equal to that given

func (*ClusterUsageCSVDefault) IsRedirect added in v0.19.0

func (o *ClusterUsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this cluster usage c s v default response has a 3xx status code

func (*ClusterUsageCSVDefault) IsServerError added in v0.19.0

func (o *ClusterUsageCSVDefault) IsServerError() bool

IsServerError returns true when this cluster usage c s v default response has a 5xx status code

func (*ClusterUsageCSVDefault) IsSuccess added in v0.19.0

func (o *ClusterUsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this cluster usage c s v default response has a 2xx status code

func (*ClusterUsageCSVDefault) String added in v0.19.0

func (o *ClusterUsageCSVDefault) String() string

type ClusterUsageCSVOK

type ClusterUsageCSVOK struct {
	Payload string
}

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

OK

func NewClusterUsageCSVOK

func NewClusterUsageCSVOK() *ClusterUsageCSVOK

NewClusterUsageCSVOK creates a ClusterUsageCSVOK with default headers values

func (*ClusterUsageCSVOK) Code added in v0.20.11

func (o *ClusterUsageCSVOK) Code() int

Code gets the status code for the cluster usage c s v o k response

func (*ClusterUsageCSVOK) Error

func (o *ClusterUsageCSVOK) Error() string

func (*ClusterUsageCSVOK) GetPayload added in v0.9.1

func (o *ClusterUsageCSVOK) GetPayload() string

func (*ClusterUsageCSVOK) IsClientError added in v0.19.0

func (o *ClusterUsageCSVOK) IsClientError() bool

IsClientError returns true when this cluster usage c s v o k response has a 4xx status code

func (*ClusterUsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this cluster usage c s v o k response a status code equal to that given

func (*ClusterUsageCSVOK) IsRedirect added in v0.19.0

func (o *ClusterUsageCSVOK) IsRedirect() bool

IsRedirect returns true when this cluster usage c s v o k response has a 3xx status code

func (*ClusterUsageCSVOK) IsServerError added in v0.19.0

func (o *ClusterUsageCSVOK) IsServerError() bool

IsServerError returns true when this cluster usage c s v o k response has a 5xx status code

func (*ClusterUsageCSVOK) IsSuccess added in v0.19.0

func (o *ClusterUsageCSVOK) IsSuccess() bool

IsSuccess returns true when this cluster usage c s v o k response has a 2xx status code

func (*ClusterUsageCSVOK) String added in v0.19.0

func (o *ClusterUsageCSVOK) String() string

type ClusterUsageCSVParams

type ClusterUsageCSVParams struct {

	// Body.
	Body *models.V1ClusterUsageRequest

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

ClusterUsageCSVParams contains all the parameters to send to the API endpoint

for the cluster usage c s v operation.

Typically these are written to a http.Request.

func NewClusterUsageCSVParams

func NewClusterUsageCSVParams() *ClusterUsageCSVParams

NewClusterUsageCSVParams creates a new ClusterUsageCSVParams 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 NewClusterUsageCSVParamsWithContext

func NewClusterUsageCSVParamsWithContext(ctx context.Context) *ClusterUsageCSVParams

NewClusterUsageCSVParamsWithContext creates a new ClusterUsageCSVParams object with the ability to set a context for a request.

func NewClusterUsageCSVParamsWithHTTPClient

func NewClusterUsageCSVParamsWithHTTPClient(client *http.Client) *ClusterUsageCSVParams

NewClusterUsageCSVParamsWithHTTPClient creates a new ClusterUsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewClusterUsageCSVParamsWithTimeout

func NewClusterUsageCSVParamsWithTimeout(timeout time.Duration) *ClusterUsageCSVParams

NewClusterUsageCSVParamsWithTimeout creates a new ClusterUsageCSVParams object with the ability to set a timeout on a request.

func (*ClusterUsageCSVParams) SetBody

SetBody adds the body to the cluster usage c s v params

func (*ClusterUsageCSVParams) SetContext

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

SetContext adds the context to the cluster usage c s v params

func (*ClusterUsageCSVParams) SetDefaults added in v0.12.0

func (o *ClusterUsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the cluster usage c s v params (not the query body).

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

func (*ClusterUsageCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster usage c s v params

func (*ClusterUsageCSVParams) SetTimeout

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

SetTimeout adds the timeout to the cluster usage c s v params

func (*ClusterUsageCSVParams) WithBody

WithBody adds the body to the cluster usage c s v params

func (*ClusterUsageCSVParams) WithContext

WithContext adds the context to the cluster usage c s v params

func (*ClusterUsageCSVParams) WithDefaults added in v0.12.0

func (o *ClusterUsageCSVParams) WithDefaults() *ClusterUsageCSVParams

WithDefaults hydrates default values in the cluster usage c s v params (not the query body).

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

func (*ClusterUsageCSVParams) WithHTTPClient

func (o *ClusterUsageCSVParams) WithHTTPClient(client *http.Client) *ClusterUsageCSVParams

WithHTTPClient adds the HTTPClient to the cluster usage c s v params

func (*ClusterUsageCSVParams) WithTimeout

func (o *ClusterUsageCSVParams) WithTimeout(timeout time.Duration) *ClusterUsageCSVParams

WithTimeout adds the timeout to the cluster usage c s v params

func (*ClusterUsageCSVParams) WriteToRequest

func (o *ClusterUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ClusterUsageCSVReader

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

ClusterUsageCSVReader is a Reader for the ClusterUsageCSV structure.

func (*ClusterUsageCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterUsageDefault

type ClusterUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ClusterUsageDefault describes a response with status code -1, with default header values.

Error

func NewClusterUsageDefault

func NewClusterUsageDefault(code int) *ClusterUsageDefault

NewClusterUsageDefault creates a ClusterUsageDefault with default headers values

func (*ClusterUsageDefault) Code

func (o *ClusterUsageDefault) Code() int

Code gets the status code for the cluster usage default response

func (*ClusterUsageDefault) Error

func (o *ClusterUsageDefault) Error() string

func (*ClusterUsageDefault) GetPayload added in v0.9.1

func (*ClusterUsageDefault) IsClientError added in v0.19.0

func (o *ClusterUsageDefault) IsClientError() bool

IsClientError returns true when this cluster usage default response has a 4xx status code

func (*ClusterUsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this cluster usage default response a status code equal to that given

func (*ClusterUsageDefault) IsRedirect added in v0.19.0

func (o *ClusterUsageDefault) IsRedirect() bool

IsRedirect returns true when this cluster usage default response has a 3xx status code

func (*ClusterUsageDefault) IsServerError added in v0.19.0

func (o *ClusterUsageDefault) IsServerError() bool

IsServerError returns true when this cluster usage default response has a 5xx status code

func (*ClusterUsageDefault) IsSuccess added in v0.19.0

func (o *ClusterUsageDefault) IsSuccess() bool

IsSuccess returns true when this cluster usage default response has a 2xx status code

func (*ClusterUsageDefault) String added in v0.19.0

func (o *ClusterUsageDefault) String() string

type ClusterUsageOK

type ClusterUsageOK struct {
	Payload *models.V1ClusterUsageResponse
}

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

OK

func NewClusterUsageOK

func NewClusterUsageOK() *ClusterUsageOK

NewClusterUsageOK creates a ClusterUsageOK with default headers values

func (*ClusterUsageOK) Code added in v0.20.11

func (o *ClusterUsageOK) Code() int

Code gets the status code for the cluster usage o k response

func (*ClusterUsageOK) Error

func (o *ClusterUsageOK) Error() string

func (*ClusterUsageOK) GetPayload added in v0.9.1

func (o *ClusterUsageOK) GetPayload() *models.V1ClusterUsageResponse

func (*ClusterUsageOK) IsClientError added in v0.19.0

func (o *ClusterUsageOK) IsClientError() bool

IsClientError returns true when this cluster usage o k response has a 4xx status code

func (*ClusterUsageOK) IsCode added in v0.19.0

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

IsCode returns true when this cluster usage o k response a status code equal to that given

func (*ClusterUsageOK) IsRedirect added in v0.19.0

func (o *ClusterUsageOK) IsRedirect() bool

IsRedirect returns true when this cluster usage o k response has a 3xx status code

func (*ClusterUsageOK) IsServerError added in v0.19.0

func (o *ClusterUsageOK) IsServerError() bool

IsServerError returns true when this cluster usage o k response has a 5xx status code

func (*ClusterUsageOK) IsSuccess added in v0.19.0

func (o *ClusterUsageOK) IsSuccess() bool

IsSuccess returns true when this cluster usage o k response has a 2xx status code

func (*ClusterUsageOK) String added in v0.19.0

func (o *ClusterUsageOK) String() string

type ClusterUsageParams

type ClusterUsageParams struct {

	// Body.
	Body *models.V1ClusterUsageRequest

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

ClusterUsageParams contains all the parameters to send to the API endpoint

for the cluster usage operation.

Typically these are written to a http.Request.

func NewClusterUsageParams

func NewClusterUsageParams() *ClusterUsageParams

NewClusterUsageParams creates a new ClusterUsageParams 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 NewClusterUsageParamsWithContext

func NewClusterUsageParamsWithContext(ctx context.Context) *ClusterUsageParams

NewClusterUsageParamsWithContext creates a new ClusterUsageParams object with the ability to set a context for a request.

func NewClusterUsageParamsWithHTTPClient

func NewClusterUsageParamsWithHTTPClient(client *http.Client) *ClusterUsageParams

NewClusterUsageParamsWithHTTPClient creates a new ClusterUsageParams object with the ability to set a custom HTTPClient for a request.

func NewClusterUsageParamsWithTimeout

func NewClusterUsageParamsWithTimeout(timeout time.Duration) *ClusterUsageParams

NewClusterUsageParamsWithTimeout creates a new ClusterUsageParams object with the ability to set a timeout on a request.

func (*ClusterUsageParams) SetBody

SetBody adds the body to the cluster usage params

func (*ClusterUsageParams) SetContext

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

SetContext adds the context to the cluster usage params

func (*ClusterUsageParams) SetDefaults added in v0.12.0

func (o *ClusterUsageParams) SetDefaults()

SetDefaults hydrates default values in the cluster usage params (not the query body).

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

func (*ClusterUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster usage params

func (*ClusterUsageParams) SetTimeout

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

SetTimeout adds the timeout to the cluster usage params

func (*ClusterUsageParams) WithBody

WithBody adds the body to the cluster usage params

func (*ClusterUsageParams) WithContext

WithContext adds the context to the cluster usage params

func (*ClusterUsageParams) WithDefaults added in v0.12.0

func (o *ClusterUsageParams) WithDefaults() *ClusterUsageParams

WithDefaults hydrates default values in the cluster usage params (not the query body).

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

func (*ClusterUsageParams) WithHTTPClient

func (o *ClusterUsageParams) WithHTTPClient(client *http.Client) *ClusterUsageParams

WithHTTPClient adds the HTTPClient to the cluster usage params

func (*ClusterUsageParams) WithTimeout

func (o *ClusterUsageParams) WithTimeout(timeout time.Duration) *ClusterUsageParams

WithTimeout adds the timeout to the cluster usage params

func (*ClusterUsageParams) WriteToRequest

func (o *ClusterUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ClusterUsageReader

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

ClusterUsageReader is a Reader for the ClusterUsage structure.

func (*ClusterUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerUsageCSVDefault

type ContainerUsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ContainerUsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewContainerUsageCSVDefault

func NewContainerUsageCSVDefault(code int) *ContainerUsageCSVDefault

NewContainerUsageCSVDefault creates a ContainerUsageCSVDefault with default headers values

func (*ContainerUsageCSVDefault) Code

func (o *ContainerUsageCSVDefault) Code() int

Code gets the status code for the container usage c s v default response

func (*ContainerUsageCSVDefault) Error

func (o *ContainerUsageCSVDefault) Error() string

func (*ContainerUsageCSVDefault) GetPayload added in v0.9.1

func (*ContainerUsageCSVDefault) IsClientError added in v0.19.0

func (o *ContainerUsageCSVDefault) IsClientError() bool

IsClientError returns true when this container usage c s v default response has a 4xx status code

func (*ContainerUsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this container usage c s v default response a status code equal to that given

func (*ContainerUsageCSVDefault) IsRedirect added in v0.19.0

func (o *ContainerUsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this container usage c s v default response has a 3xx status code

func (*ContainerUsageCSVDefault) IsServerError added in v0.19.0

func (o *ContainerUsageCSVDefault) IsServerError() bool

IsServerError returns true when this container usage c s v default response has a 5xx status code

func (*ContainerUsageCSVDefault) IsSuccess added in v0.19.0

func (o *ContainerUsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this container usage c s v default response has a 2xx status code

func (*ContainerUsageCSVDefault) String added in v0.19.0

func (o *ContainerUsageCSVDefault) String() string

type ContainerUsageCSVOK

type ContainerUsageCSVOK struct {
	Payload string
}

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

OK

func NewContainerUsageCSVOK

func NewContainerUsageCSVOK() *ContainerUsageCSVOK

NewContainerUsageCSVOK creates a ContainerUsageCSVOK with default headers values

func (*ContainerUsageCSVOK) Code added in v0.20.11

func (o *ContainerUsageCSVOK) Code() int

Code gets the status code for the container usage c s v o k response

func (*ContainerUsageCSVOK) Error

func (o *ContainerUsageCSVOK) Error() string

func (*ContainerUsageCSVOK) GetPayload added in v0.9.1

func (o *ContainerUsageCSVOK) GetPayload() string

func (*ContainerUsageCSVOK) IsClientError added in v0.19.0

func (o *ContainerUsageCSVOK) IsClientError() bool

IsClientError returns true when this container usage c s v o k response has a 4xx status code

func (*ContainerUsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this container usage c s v o k response a status code equal to that given

func (*ContainerUsageCSVOK) IsRedirect added in v0.19.0

func (o *ContainerUsageCSVOK) IsRedirect() bool

IsRedirect returns true when this container usage c s v o k response has a 3xx status code

func (*ContainerUsageCSVOK) IsServerError added in v0.19.0

func (o *ContainerUsageCSVOK) IsServerError() bool

IsServerError returns true when this container usage c s v o k response has a 5xx status code

func (*ContainerUsageCSVOK) IsSuccess added in v0.19.0

func (o *ContainerUsageCSVOK) IsSuccess() bool

IsSuccess returns true when this container usage c s v o k response has a 2xx status code

func (*ContainerUsageCSVOK) String added in v0.19.0

func (o *ContainerUsageCSVOK) String() string

type ContainerUsageCSVParams

type ContainerUsageCSVParams struct {

	// Body.
	Body *models.V1ContainerUsageRequest

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

ContainerUsageCSVParams contains all the parameters to send to the API endpoint

for the container usage c s v operation.

Typically these are written to a http.Request.

func NewContainerUsageCSVParams

func NewContainerUsageCSVParams() *ContainerUsageCSVParams

NewContainerUsageCSVParams creates a new ContainerUsageCSVParams 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 NewContainerUsageCSVParamsWithContext

func NewContainerUsageCSVParamsWithContext(ctx context.Context) *ContainerUsageCSVParams

NewContainerUsageCSVParamsWithContext creates a new ContainerUsageCSVParams object with the ability to set a context for a request.

func NewContainerUsageCSVParamsWithHTTPClient

func NewContainerUsageCSVParamsWithHTTPClient(client *http.Client) *ContainerUsageCSVParams

NewContainerUsageCSVParamsWithHTTPClient creates a new ContainerUsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewContainerUsageCSVParamsWithTimeout

func NewContainerUsageCSVParamsWithTimeout(timeout time.Duration) *ContainerUsageCSVParams

NewContainerUsageCSVParamsWithTimeout creates a new ContainerUsageCSVParams object with the ability to set a timeout on a request.

func (*ContainerUsageCSVParams) SetBody

SetBody adds the body to the container usage c s v params

func (*ContainerUsageCSVParams) SetContext

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

SetContext adds the context to the container usage c s v params

func (*ContainerUsageCSVParams) SetDefaults added in v0.12.0

func (o *ContainerUsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the container usage c s v params (not the query body).

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

func (*ContainerUsageCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container usage c s v params

func (*ContainerUsageCSVParams) SetTimeout

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

SetTimeout adds the timeout to the container usage c s v params

func (*ContainerUsageCSVParams) WithBody

WithBody adds the body to the container usage c s v params

func (*ContainerUsageCSVParams) WithContext

WithContext adds the context to the container usage c s v params

func (*ContainerUsageCSVParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the container usage c s v params (not the query body).

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

func (*ContainerUsageCSVParams) WithHTTPClient

func (o *ContainerUsageCSVParams) WithHTTPClient(client *http.Client) *ContainerUsageCSVParams

WithHTTPClient adds the HTTPClient to the container usage c s v params

func (*ContainerUsageCSVParams) WithTimeout

WithTimeout adds the timeout to the container usage c s v params

func (*ContainerUsageCSVParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContainerUsageCSVReader

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

ContainerUsageCSVReader is a Reader for the ContainerUsageCSV structure.

func (*ContainerUsageCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ContainerUsageDefault

type ContainerUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ContainerUsageDefault describes a response with status code -1, with default header values.

Error

func NewContainerUsageDefault

func NewContainerUsageDefault(code int) *ContainerUsageDefault

NewContainerUsageDefault creates a ContainerUsageDefault with default headers values

func (*ContainerUsageDefault) Code

func (o *ContainerUsageDefault) Code() int

Code gets the status code for the container usage default response

func (*ContainerUsageDefault) Error

func (o *ContainerUsageDefault) Error() string

func (*ContainerUsageDefault) GetPayload added in v0.9.1

func (*ContainerUsageDefault) IsClientError added in v0.19.0

func (o *ContainerUsageDefault) IsClientError() bool

IsClientError returns true when this container usage default response has a 4xx status code

func (*ContainerUsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this container usage default response a status code equal to that given

func (*ContainerUsageDefault) IsRedirect added in v0.19.0

func (o *ContainerUsageDefault) IsRedirect() bool

IsRedirect returns true when this container usage default response has a 3xx status code

func (*ContainerUsageDefault) IsServerError added in v0.19.0

func (o *ContainerUsageDefault) IsServerError() bool

IsServerError returns true when this container usage default response has a 5xx status code

func (*ContainerUsageDefault) IsSuccess added in v0.19.0

func (o *ContainerUsageDefault) IsSuccess() bool

IsSuccess returns true when this container usage default response has a 2xx status code

func (*ContainerUsageDefault) String added in v0.19.0

func (o *ContainerUsageDefault) String() string

type ContainerUsageOK

type ContainerUsageOK struct {
	Payload *models.V1ContainerUsageResponse
}

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

OK

func NewContainerUsageOK

func NewContainerUsageOK() *ContainerUsageOK

NewContainerUsageOK creates a ContainerUsageOK with default headers values

func (*ContainerUsageOK) Code added in v0.20.11

func (o *ContainerUsageOK) Code() int

Code gets the status code for the container usage o k response

func (*ContainerUsageOK) Error

func (o *ContainerUsageOK) Error() string

func (*ContainerUsageOK) GetPayload added in v0.9.1

func (*ContainerUsageOK) IsClientError added in v0.19.0

func (o *ContainerUsageOK) IsClientError() bool

IsClientError returns true when this container usage o k response has a 4xx status code

func (*ContainerUsageOK) IsCode added in v0.19.0

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

IsCode returns true when this container usage o k response a status code equal to that given

func (*ContainerUsageOK) IsRedirect added in v0.19.0

func (o *ContainerUsageOK) IsRedirect() bool

IsRedirect returns true when this container usage o k response has a 3xx status code

func (*ContainerUsageOK) IsServerError added in v0.19.0

func (o *ContainerUsageOK) IsServerError() bool

IsServerError returns true when this container usage o k response has a 5xx status code

func (*ContainerUsageOK) IsSuccess added in v0.19.0

func (o *ContainerUsageOK) IsSuccess() bool

IsSuccess returns true when this container usage o k response has a 2xx status code

func (*ContainerUsageOK) String added in v0.19.0

func (o *ContainerUsageOK) String() string

type ContainerUsageParams

type ContainerUsageParams struct {

	// Body.
	Body *models.V1ContainerUsageRequest

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

ContainerUsageParams contains all the parameters to send to the API endpoint

for the container usage operation.

Typically these are written to a http.Request.

func NewContainerUsageParams

func NewContainerUsageParams() *ContainerUsageParams

NewContainerUsageParams creates a new ContainerUsageParams 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 NewContainerUsageParamsWithContext

func NewContainerUsageParamsWithContext(ctx context.Context) *ContainerUsageParams

NewContainerUsageParamsWithContext creates a new ContainerUsageParams object with the ability to set a context for a request.

func NewContainerUsageParamsWithHTTPClient

func NewContainerUsageParamsWithHTTPClient(client *http.Client) *ContainerUsageParams

NewContainerUsageParamsWithHTTPClient creates a new ContainerUsageParams object with the ability to set a custom HTTPClient for a request.

func NewContainerUsageParamsWithTimeout

func NewContainerUsageParamsWithTimeout(timeout time.Duration) *ContainerUsageParams

NewContainerUsageParamsWithTimeout creates a new ContainerUsageParams object with the ability to set a timeout on a request.

func (*ContainerUsageParams) SetBody

SetBody adds the body to the container usage params

func (*ContainerUsageParams) SetContext

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

SetContext adds the context to the container usage params

func (*ContainerUsageParams) SetDefaults added in v0.12.0

func (o *ContainerUsageParams) SetDefaults()

SetDefaults hydrates default values in the container usage params (not the query body).

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

func (*ContainerUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container usage params

func (*ContainerUsageParams) SetTimeout

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

SetTimeout adds the timeout to the container usage params

func (*ContainerUsageParams) WithBody

WithBody adds the body to the container usage params

func (*ContainerUsageParams) WithContext

WithContext adds the context to the container usage params

func (*ContainerUsageParams) WithDefaults added in v0.12.0

func (o *ContainerUsageParams) WithDefaults() *ContainerUsageParams

WithDefaults hydrates default values in the container usage params (not the query body).

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

func (*ContainerUsageParams) WithHTTPClient

func (o *ContainerUsageParams) WithHTTPClient(client *http.Client) *ContainerUsageParams

WithHTTPClient adds the HTTPClient to the container usage params

func (*ContainerUsageParams) WithTimeout

func (o *ContainerUsageParams) WithTimeout(timeout time.Duration) *ContainerUsageParams

WithTimeout adds the timeout to the container usage params

func (*ContainerUsageParams) WriteToRequest

func (o *ContainerUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ContainerUsageReader

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

ContainerUsageReader is a Reader for the ContainerUsage structure.

func (*ContainerUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPUsageCSVDefault

type IPUsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

IPUsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewIPUsageCSVDefault

func NewIPUsageCSVDefault(code int) *IPUsageCSVDefault

NewIPUsageCSVDefault creates a IPUsageCSVDefault with default headers values

func (*IPUsageCSVDefault) Code

func (o *IPUsageCSVDefault) Code() int

Code gets the status code for the ip usage c s v default response

func (*IPUsageCSVDefault) Error

func (o *IPUsageCSVDefault) Error() string

func (*IPUsageCSVDefault) GetPayload added in v0.9.1

func (*IPUsageCSVDefault) IsClientError added in v0.19.0

func (o *IPUsageCSVDefault) IsClientError() bool

IsClientError returns true when this ip usage c s v default response has a 4xx status code

func (*IPUsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this ip usage c s v default response a status code equal to that given

func (*IPUsageCSVDefault) IsRedirect added in v0.19.0

func (o *IPUsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this ip usage c s v default response has a 3xx status code

func (*IPUsageCSVDefault) IsServerError added in v0.19.0

func (o *IPUsageCSVDefault) IsServerError() bool

IsServerError returns true when this ip usage c s v default response has a 5xx status code

func (*IPUsageCSVDefault) IsSuccess added in v0.19.0

func (o *IPUsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this ip usage c s v default response has a 2xx status code

func (*IPUsageCSVDefault) String added in v0.19.0

func (o *IPUsageCSVDefault) String() string

type IPUsageCSVOK

type IPUsageCSVOK struct {
	Payload string
}

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

OK

func NewIPUsageCSVOK

func NewIPUsageCSVOK() *IPUsageCSVOK

NewIPUsageCSVOK creates a IPUsageCSVOK with default headers values

func (*IPUsageCSVOK) Code added in v0.20.11

func (o *IPUsageCSVOK) Code() int

Code gets the status code for the ip usage c s v o k response

func (*IPUsageCSVOK) Error

func (o *IPUsageCSVOK) Error() string

func (*IPUsageCSVOK) GetPayload added in v0.9.1

func (o *IPUsageCSVOK) GetPayload() string

func (*IPUsageCSVOK) IsClientError added in v0.19.0

func (o *IPUsageCSVOK) IsClientError() bool

IsClientError returns true when this ip usage c s v o k response has a 4xx status code

func (*IPUsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this ip usage c s v o k response a status code equal to that given

func (*IPUsageCSVOK) IsRedirect added in v0.19.0

func (o *IPUsageCSVOK) IsRedirect() bool

IsRedirect returns true when this ip usage c s v o k response has a 3xx status code

func (*IPUsageCSVOK) IsServerError added in v0.19.0

func (o *IPUsageCSVOK) IsServerError() bool

IsServerError returns true when this ip usage c s v o k response has a 5xx status code

func (*IPUsageCSVOK) IsSuccess added in v0.19.0

func (o *IPUsageCSVOK) IsSuccess() bool

IsSuccess returns true when this ip usage c s v o k response has a 2xx status code

func (*IPUsageCSVOK) String added in v0.19.0

func (o *IPUsageCSVOK) String() string

type IPUsageCSVParams

type IPUsageCSVParams struct {

	// Body.
	Body *models.V1IPUsageRequest

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

IPUsageCSVParams contains all the parameters to send to the API endpoint

for the ip usage c s v operation.

Typically these are written to a http.Request.

func NewIPUsageCSVParams

func NewIPUsageCSVParams() *IPUsageCSVParams

NewIPUsageCSVParams creates a new IPUsageCSVParams 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 NewIPUsageCSVParamsWithContext

func NewIPUsageCSVParamsWithContext(ctx context.Context) *IPUsageCSVParams

NewIPUsageCSVParamsWithContext creates a new IPUsageCSVParams object with the ability to set a context for a request.

func NewIPUsageCSVParamsWithHTTPClient

func NewIPUsageCSVParamsWithHTTPClient(client *http.Client) *IPUsageCSVParams

NewIPUsageCSVParamsWithHTTPClient creates a new IPUsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewIPUsageCSVParamsWithTimeout

func NewIPUsageCSVParamsWithTimeout(timeout time.Duration) *IPUsageCSVParams

NewIPUsageCSVParamsWithTimeout creates a new IPUsageCSVParams object with the ability to set a timeout on a request.

func (*IPUsageCSVParams) SetBody

func (o *IPUsageCSVParams) SetBody(body *models.V1IPUsageRequest)

SetBody adds the body to the ip usage c s v params

func (*IPUsageCSVParams) SetContext

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

SetContext adds the context to the ip usage c s v params

func (*IPUsageCSVParams) SetDefaults added in v0.12.0

func (o *IPUsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the ip usage c s v params (not the query body).

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

func (*IPUsageCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip usage c s v params

func (*IPUsageCSVParams) SetTimeout

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

SetTimeout adds the timeout to the ip usage c s v params

func (*IPUsageCSVParams) WithBody

WithBody adds the body to the ip usage c s v params

func (*IPUsageCSVParams) WithContext

func (o *IPUsageCSVParams) WithContext(ctx context.Context) *IPUsageCSVParams

WithContext adds the context to the ip usage c s v params

func (*IPUsageCSVParams) WithDefaults added in v0.12.0

func (o *IPUsageCSVParams) WithDefaults() *IPUsageCSVParams

WithDefaults hydrates default values in the ip usage c s v params (not the query body).

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

func (*IPUsageCSVParams) WithHTTPClient

func (o *IPUsageCSVParams) WithHTTPClient(client *http.Client) *IPUsageCSVParams

WithHTTPClient adds the HTTPClient to the ip usage c s v params

func (*IPUsageCSVParams) WithTimeout

func (o *IPUsageCSVParams) WithTimeout(timeout time.Duration) *IPUsageCSVParams

WithTimeout adds the timeout to the ip usage c s v params

func (*IPUsageCSVParams) WriteToRequest

func (o *IPUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IPUsageCSVReader

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

IPUsageCSVReader is a Reader for the IPUsageCSV structure.

func (*IPUsageCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IPUsageDefault

type IPUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

IPUsageDefault describes a response with status code -1, with default header values.

Error

func NewIPUsageDefault

func NewIPUsageDefault(code int) *IPUsageDefault

NewIPUsageDefault creates a IPUsageDefault with default headers values

func (*IPUsageDefault) Code

func (o *IPUsageDefault) Code() int

Code gets the status code for the ip usage default response

func (*IPUsageDefault) Error

func (o *IPUsageDefault) Error() string

func (*IPUsageDefault) GetPayload added in v0.9.1

func (o *IPUsageDefault) GetPayload() *httperrors.HTTPErrorResponse

func (*IPUsageDefault) IsClientError added in v0.19.0

func (o *IPUsageDefault) IsClientError() bool

IsClientError returns true when this ip usage default response has a 4xx status code

func (*IPUsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this ip usage default response a status code equal to that given

func (*IPUsageDefault) IsRedirect added in v0.19.0

func (o *IPUsageDefault) IsRedirect() bool

IsRedirect returns true when this ip usage default response has a 3xx status code

func (*IPUsageDefault) IsServerError added in v0.19.0

func (o *IPUsageDefault) IsServerError() bool

IsServerError returns true when this ip usage default response has a 5xx status code

func (*IPUsageDefault) IsSuccess added in v0.19.0

func (o *IPUsageDefault) IsSuccess() bool

IsSuccess returns true when this ip usage default response has a 2xx status code

func (*IPUsageDefault) String added in v0.19.0

func (o *IPUsageDefault) String() string

type IPUsageOK

type IPUsageOK struct {
	Payload *models.V1IPUsageResponse
}

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

OK

func NewIPUsageOK

func NewIPUsageOK() *IPUsageOK

NewIPUsageOK creates a IPUsageOK with default headers values

func (*IPUsageOK) Code added in v0.20.11

func (o *IPUsageOK) Code() int

Code gets the status code for the ip usage o k response

func (*IPUsageOK) Error

func (o *IPUsageOK) Error() string

func (*IPUsageOK) GetPayload added in v0.9.1

func (o *IPUsageOK) GetPayload() *models.V1IPUsageResponse

func (*IPUsageOK) IsClientError added in v0.19.0

func (o *IPUsageOK) IsClientError() bool

IsClientError returns true when this ip usage o k response has a 4xx status code

func (*IPUsageOK) IsCode added in v0.19.0

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

IsCode returns true when this ip usage o k response a status code equal to that given

func (*IPUsageOK) IsRedirect added in v0.19.0

func (o *IPUsageOK) IsRedirect() bool

IsRedirect returns true when this ip usage o k response has a 3xx status code

func (*IPUsageOK) IsServerError added in v0.19.0

func (o *IPUsageOK) IsServerError() bool

IsServerError returns true when this ip usage o k response has a 5xx status code

func (*IPUsageOK) IsSuccess added in v0.19.0

func (o *IPUsageOK) IsSuccess() bool

IsSuccess returns true when this ip usage o k response has a 2xx status code

func (*IPUsageOK) String added in v0.19.0

func (o *IPUsageOK) String() string

type IPUsageParams

type IPUsageParams struct {

	// Body.
	Body *models.V1IPUsageRequest

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

IPUsageParams contains all the parameters to send to the API endpoint

for the ip usage operation.

Typically these are written to a http.Request.

func NewIPUsageParams

func NewIPUsageParams() *IPUsageParams

NewIPUsageParams creates a new IPUsageParams 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 NewIPUsageParamsWithContext

func NewIPUsageParamsWithContext(ctx context.Context) *IPUsageParams

NewIPUsageParamsWithContext creates a new IPUsageParams object with the ability to set a context for a request.

func NewIPUsageParamsWithHTTPClient

func NewIPUsageParamsWithHTTPClient(client *http.Client) *IPUsageParams

NewIPUsageParamsWithHTTPClient creates a new IPUsageParams object with the ability to set a custom HTTPClient for a request.

func NewIPUsageParamsWithTimeout

func NewIPUsageParamsWithTimeout(timeout time.Duration) *IPUsageParams

NewIPUsageParamsWithTimeout creates a new IPUsageParams object with the ability to set a timeout on a request.

func (*IPUsageParams) SetBody

func (o *IPUsageParams) SetBody(body *models.V1IPUsageRequest)

SetBody adds the body to the ip usage params

func (*IPUsageParams) SetContext

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

SetContext adds the context to the ip usage params

func (*IPUsageParams) SetDefaults added in v0.12.0

func (o *IPUsageParams) SetDefaults()

SetDefaults hydrates default values in the ip usage params (not the query body).

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

func (*IPUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ip usage params

func (*IPUsageParams) SetTimeout

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

SetTimeout adds the timeout to the ip usage params

func (*IPUsageParams) WithBody

func (o *IPUsageParams) WithBody(body *models.V1IPUsageRequest) *IPUsageParams

WithBody adds the body to the ip usage params

func (*IPUsageParams) WithContext

func (o *IPUsageParams) WithContext(ctx context.Context) *IPUsageParams

WithContext adds the context to the ip usage params

func (*IPUsageParams) WithDefaults added in v0.12.0

func (o *IPUsageParams) WithDefaults() *IPUsageParams

WithDefaults hydrates default values in the ip usage params (not the query body).

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

func (*IPUsageParams) WithHTTPClient

func (o *IPUsageParams) WithHTTPClient(client *http.Client) *IPUsageParams

WithHTTPClient adds the HTTPClient to the ip usage params

func (*IPUsageParams) WithTimeout

func (o *IPUsageParams) WithTimeout(timeout time.Duration) *IPUsageParams

WithTimeout adds the timeout to the ip usage params

func (*IPUsageParams) WriteToRequest

func (o *IPUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IPUsageReader

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

IPUsageReader is a Reader for the IPUsage structure.

func (*IPUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MachineUsageDefault added in v0.23.2

type MachineUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

MachineUsageDefault describes a response with status code -1, with default header values.

Error

func NewMachineUsageDefault added in v0.23.2

func NewMachineUsageDefault(code int) *MachineUsageDefault

NewMachineUsageDefault creates a MachineUsageDefault with default headers values

func (*MachineUsageDefault) Code added in v0.23.2

func (o *MachineUsageDefault) Code() int

Code gets the status code for the machine usage default response

func (*MachineUsageDefault) Error added in v0.23.2

func (o *MachineUsageDefault) Error() string

func (*MachineUsageDefault) GetPayload added in v0.23.2

func (*MachineUsageDefault) IsClientError added in v0.23.2

func (o *MachineUsageDefault) IsClientError() bool

IsClientError returns true when this machine usage default response has a 4xx status code

func (*MachineUsageDefault) IsCode added in v0.23.2

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

IsCode returns true when this machine usage default response a status code equal to that given

func (*MachineUsageDefault) IsRedirect added in v0.23.2

func (o *MachineUsageDefault) IsRedirect() bool

IsRedirect returns true when this machine usage default response has a 3xx status code

func (*MachineUsageDefault) IsServerError added in v0.23.2

func (o *MachineUsageDefault) IsServerError() bool

IsServerError returns true when this machine usage default response has a 5xx status code

func (*MachineUsageDefault) IsSuccess added in v0.23.2

func (o *MachineUsageDefault) IsSuccess() bool

IsSuccess returns true when this machine usage default response has a 2xx status code

func (*MachineUsageDefault) String added in v0.23.2

func (o *MachineUsageDefault) String() string

type MachineUsageOK added in v0.23.2

type MachineUsageOK struct {
	Payload *models.V1MachineUsageResponse
}

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

OK

func NewMachineUsageOK added in v0.23.2

func NewMachineUsageOK() *MachineUsageOK

NewMachineUsageOK creates a MachineUsageOK with default headers values

func (*MachineUsageOK) Code added in v0.23.2

func (o *MachineUsageOK) Code() int

Code gets the status code for the machine usage o k response

func (*MachineUsageOK) Error added in v0.23.2

func (o *MachineUsageOK) Error() string

func (*MachineUsageOK) GetPayload added in v0.23.2

func (o *MachineUsageOK) GetPayload() *models.V1MachineUsageResponse

func (*MachineUsageOK) IsClientError added in v0.23.2

func (o *MachineUsageOK) IsClientError() bool

IsClientError returns true when this machine usage o k response has a 4xx status code

func (*MachineUsageOK) IsCode added in v0.23.2

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

IsCode returns true when this machine usage o k response a status code equal to that given

func (*MachineUsageOK) IsRedirect added in v0.23.2

func (o *MachineUsageOK) IsRedirect() bool

IsRedirect returns true when this machine usage o k response has a 3xx status code

func (*MachineUsageOK) IsServerError added in v0.23.2

func (o *MachineUsageOK) IsServerError() bool

IsServerError returns true when this machine usage o k response has a 5xx status code

func (*MachineUsageOK) IsSuccess added in v0.23.2

func (o *MachineUsageOK) IsSuccess() bool

IsSuccess returns true when this machine usage o k response has a 2xx status code

func (*MachineUsageOK) String added in v0.23.2

func (o *MachineUsageOK) String() string

type MachineUsageParams added in v0.23.2

type MachineUsageParams struct {

	// Body.
	Body *models.V1MachineUsageRequest

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

MachineUsageParams contains all the parameters to send to the API endpoint

for the machine usage operation.

Typically these are written to a http.Request.

func NewMachineUsageParams added in v0.23.2

func NewMachineUsageParams() *MachineUsageParams

NewMachineUsageParams creates a new MachineUsageParams 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 NewMachineUsageParamsWithContext added in v0.23.2

func NewMachineUsageParamsWithContext(ctx context.Context) *MachineUsageParams

NewMachineUsageParamsWithContext creates a new MachineUsageParams object with the ability to set a context for a request.

func NewMachineUsageParamsWithHTTPClient added in v0.23.2

func NewMachineUsageParamsWithHTTPClient(client *http.Client) *MachineUsageParams

NewMachineUsageParamsWithHTTPClient creates a new MachineUsageParams object with the ability to set a custom HTTPClient for a request.

func NewMachineUsageParamsWithTimeout added in v0.23.2

func NewMachineUsageParamsWithTimeout(timeout time.Duration) *MachineUsageParams

NewMachineUsageParamsWithTimeout creates a new MachineUsageParams object with the ability to set a timeout on a request.

func (*MachineUsageParams) SetBody added in v0.23.2

SetBody adds the body to the machine usage params

func (*MachineUsageParams) SetContext added in v0.23.2

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

SetContext adds the context to the machine usage params

func (*MachineUsageParams) SetDefaults added in v0.23.2

func (o *MachineUsageParams) SetDefaults()

SetDefaults hydrates default values in the machine usage params (not the query body).

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

func (*MachineUsageParams) SetHTTPClient added in v0.23.2

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

SetHTTPClient adds the HTTPClient to the machine usage params

func (*MachineUsageParams) SetTimeout added in v0.23.2

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

SetTimeout adds the timeout to the machine usage params

func (*MachineUsageParams) WithBody added in v0.23.2

WithBody adds the body to the machine usage params

func (*MachineUsageParams) WithContext added in v0.23.2

WithContext adds the context to the machine usage params

func (*MachineUsageParams) WithDefaults added in v0.23.2

func (o *MachineUsageParams) WithDefaults() *MachineUsageParams

WithDefaults hydrates default values in the machine usage params (not the query body).

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

func (*MachineUsageParams) WithHTTPClient added in v0.23.2

func (o *MachineUsageParams) WithHTTPClient(client *http.Client) *MachineUsageParams

WithHTTPClient adds the HTTPClient to the machine usage params

func (*MachineUsageParams) WithTimeout added in v0.23.2

func (o *MachineUsageParams) WithTimeout(timeout time.Duration) *MachineUsageParams

WithTimeout adds the timeout to the machine usage params

func (*MachineUsageParams) WriteToRequest added in v0.23.2

func (o *MachineUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MachineUsageReader added in v0.23.2

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

MachineUsageReader is a Reader for the MachineUsage structure.

func (*MachineUsageReader) ReadResponse added in v0.23.2

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

ReadResponse reads a server response into the received o.

type NetworkUsageCSVDefault

type NetworkUsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

NetworkUsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewNetworkUsageCSVDefault

func NewNetworkUsageCSVDefault(code int) *NetworkUsageCSVDefault

NewNetworkUsageCSVDefault creates a NetworkUsageCSVDefault with default headers values

func (*NetworkUsageCSVDefault) Code

func (o *NetworkUsageCSVDefault) Code() int

Code gets the status code for the network usage c s v default response

func (*NetworkUsageCSVDefault) Error

func (o *NetworkUsageCSVDefault) Error() string

func (*NetworkUsageCSVDefault) GetPayload added in v0.9.1

func (*NetworkUsageCSVDefault) IsClientError added in v0.19.0

func (o *NetworkUsageCSVDefault) IsClientError() bool

IsClientError returns true when this network usage c s v default response has a 4xx status code

func (*NetworkUsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this network usage c s v default response a status code equal to that given

func (*NetworkUsageCSVDefault) IsRedirect added in v0.19.0

func (o *NetworkUsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this network usage c s v default response has a 3xx status code

func (*NetworkUsageCSVDefault) IsServerError added in v0.19.0

func (o *NetworkUsageCSVDefault) IsServerError() bool

IsServerError returns true when this network usage c s v default response has a 5xx status code

func (*NetworkUsageCSVDefault) IsSuccess added in v0.19.0

func (o *NetworkUsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this network usage c s v default response has a 2xx status code

func (*NetworkUsageCSVDefault) String added in v0.19.0

func (o *NetworkUsageCSVDefault) String() string

type NetworkUsageCSVOK

type NetworkUsageCSVOK struct {
	Payload string
}

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

OK

func NewNetworkUsageCSVOK

func NewNetworkUsageCSVOK() *NetworkUsageCSVOK

NewNetworkUsageCSVOK creates a NetworkUsageCSVOK with default headers values

func (*NetworkUsageCSVOK) Code added in v0.20.11

func (o *NetworkUsageCSVOK) Code() int

Code gets the status code for the network usage c s v o k response

func (*NetworkUsageCSVOK) Error

func (o *NetworkUsageCSVOK) Error() string

func (*NetworkUsageCSVOK) GetPayload added in v0.9.1

func (o *NetworkUsageCSVOK) GetPayload() string

func (*NetworkUsageCSVOK) IsClientError added in v0.19.0

func (o *NetworkUsageCSVOK) IsClientError() bool

IsClientError returns true when this network usage c s v o k response has a 4xx status code

func (*NetworkUsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this network usage c s v o k response a status code equal to that given

func (*NetworkUsageCSVOK) IsRedirect added in v0.19.0

func (o *NetworkUsageCSVOK) IsRedirect() bool

IsRedirect returns true when this network usage c s v o k response has a 3xx status code

func (*NetworkUsageCSVOK) IsServerError added in v0.19.0

func (o *NetworkUsageCSVOK) IsServerError() bool

IsServerError returns true when this network usage c s v o k response has a 5xx status code

func (*NetworkUsageCSVOK) IsSuccess added in v0.19.0

func (o *NetworkUsageCSVOK) IsSuccess() bool

IsSuccess returns true when this network usage c s v o k response has a 2xx status code

func (*NetworkUsageCSVOK) String added in v0.19.0

func (o *NetworkUsageCSVOK) String() string

type NetworkUsageCSVParams

type NetworkUsageCSVParams struct {

	// Body.
	Body *models.V1NetworkUsageRequest

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

NetworkUsageCSVParams contains all the parameters to send to the API endpoint

for the network usage c s v operation.

Typically these are written to a http.Request.

func NewNetworkUsageCSVParams

func NewNetworkUsageCSVParams() *NetworkUsageCSVParams

NewNetworkUsageCSVParams creates a new NetworkUsageCSVParams 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 NewNetworkUsageCSVParamsWithContext

func NewNetworkUsageCSVParamsWithContext(ctx context.Context) *NetworkUsageCSVParams

NewNetworkUsageCSVParamsWithContext creates a new NetworkUsageCSVParams object with the ability to set a context for a request.

func NewNetworkUsageCSVParamsWithHTTPClient

func NewNetworkUsageCSVParamsWithHTTPClient(client *http.Client) *NetworkUsageCSVParams

NewNetworkUsageCSVParamsWithHTTPClient creates a new NetworkUsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkUsageCSVParamsWithTimeout

func NewNetworkUsageCSVParamsWithTimeout(timeout time.Duration) *NetworkUsageCSVParams

NewNetworkUsageCSVParamsWithTimeout creates a new NetworkUsageCSVParams object with the ability to set a timeout on a request.

func (*NetworkUsageCSVParams) SetBody

SetBody adds the body to the network usage c s v params

func (*NetworkUsageCSVParams) SetContext

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

SetContext adds the context to the network usage c s v params

func (*NetworkUsageCSVParams) SetDefaults added in v0.12.0

func (o *NetworkUsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the network usage c s v params (not the query body).

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

func (*NetworkUsageCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the network usage c s v params

func (*NetworkUsageCSVParams) SetTimeout

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

SetTimeout adds the timeout to the network usage c s v params

func (*NetworkUsageCSVParams) WithBody

WithBody adds the body to the network usage c s v params

func (*NetworkUsageCSVParams) WithContext

WithContext adds the context to the network usage c s v params

func (*NetworkUsageCSVParams) WithDefaults added in v0.12.0

func (o *NetworkUsageCSVParams) WithDefaults() *NetworkUsageCSVParams

WithDefaults hydrates default values in the network usage c s v params (not the query body).

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

func (*NetworkUsageCSVParams) WithHTTPClient

func (o *NetworkUsageCSVParams) WithHTTPClient(client *http.Client) *NetworkUsageCSVParams

WithHTTPClient adds the HTTPClient to the network usage c s v params

func (*NetworkUsageCSVParams) WithTimeout

func (o *NetworkUsageCSVParams) WithTimeout(timeout time.Duration) *NetworkUsageCSVParams

WithTimeout adds the timeout to the network usage c s v params

func (*NetworkUsageCSVParams) WriteToRequest

func (o *NetworkUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type NetworkUsageCSVReader

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

NetworkUsageCSVReader is a Reader for the NetworkUsageCSV structure.

func (*NetworkUsageCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NetworkUsageDefault

type NetworkUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

NetworkUsageDefault describes a response with status code -1, with default header values.

Error

func NewNetworkUsageDefault

func NewNetworkUsageDefault(code int) *NetworkUsageDefault

NewNetworkUsageDefault creates a NetworkUsageDefault with default headers values

func (*NetworkUsageDefault) Code

func (o *NetworkUsageDefault) Code() int

Code gets the status code for the network usage default response

func (*NetworkUsageDefault) Error

func (o *NetworkUsageDefault) Error() string

func (*NetworkUsageDefault) GetPayload added in v0.9.1

func (*NetworkUsageDefault) IsClientError added in v0.19.0

func (o *NetworkUsageDefault) IsClientError() bool

IsClientError returns true when this network usage default response has a 4xx status code

func (*NetworkUsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this network usage default response a status code equal to that given

func (*NetworkUsageDefault) IsRedirect added in v0.19.0

func (o *NetworkUsageDefault) IsRedirect() bool

IsRedirect returns true when this network usage default response has a 3xx status code

func (*NetworkUsageDefault) IsServerError added in v0.19.0

func (o *NetworkUsageDefault) IsServerError() bool

IsServerError returns true when this network usage default response has a 5xx status code

func (*NetworkUsageDefault) IsSuccess added in v0.19.0

func (o *NetworkUsageDefault) IsSuccess() bool

IsSuccess returns true when this network usage default response has a 2xx status code

func (*NetworkUsageDefault) String added in v0.19.0

func (o *NetworkUsageDefault) String() string

type NetworkUsageOK

type NetworkUsageOK struct {
	Payload *models.V1NetworkUsageResponse
}

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

OK

func NewNetworkUsageOK

func NewNetworkUsageOK() *NetworkUsageOK

NewNetworkUsageOK creates a NetworkUsageOK with default headers values

func (*NetworkUsageOK) Code added in v0.20.11

func (o *NetworkUsageOK) Code() int

Code gets the status code for the network usage o k response

func (*NetworkUsageOK) Error

func (o *NetworkUsageOK) Error() string

func (*NetworkUsageOK) GetPayload added in v0.9.1

func (o *NetworkUsageOK) GetPayload() *models.V1NetworkUsageResponse

func (*NetworkUsageOK) IsClientError added in v0.19.0

func (o *NetworkUsageOK) IsClientError() bool

IsClientError returns true when this network usage o k response has a 4xx status code

func (*NetworkUsageOK) IsCode added in v0.19.0

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

IsCode returns true when this network usage o k response a status code equal to that given

func (*NetworkUsageOK) IsRedirect added in v0.19.0

func (o *NetworkUsageOK) IsRedirect() bool

IsRedirect returns true when this network usage o k response has a 3xx status code

func (*NetworkUsageOK) IsServerError added in v0.19.0

func (o *NetworkUsageOK) IsServerError() bool

IsServerError returns true when this network usage o k response has a 5xx status code

func (*NetworkUsageOK) IsSuccess added in v0.19.0

func (o *NetworkUsageOK) IsSuccess() bool

IsSuccess returns true when this network usage o k response has a 2xx status code

func (*NetworkUsageOK) String added in v0.19.0

func (o *NetworkUsageOK) String() string

type NetworkUsageParams

type NetworkUsageParams struct {

	// Body.
	Body *models.V1NetworkUsageRequest

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

NetworkUsageParams contains all the parameters to send to the API endpoint

for the network usage operation.

Typically these are written to a http.Request.

func NewNetworkUsageParams

func NewNetworkUsageParams() *NetworkUsageParams

NewNetworkUsageParams creates a new NetworkUsageParams 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 NewNetworkUsageParamsWithContext

func NewNetworkUsageParamsWithContext(ctx context.Context) *NetworkUsageParams

NewNetworkUsageParamsWithContext creates a new NetworkUsageParams object with the ability to set a context for a request.

func NewNetworkUsageParamsWithHTTPClient

func NewNetworkUsageParamsWithHTTPClient(client *http.Client) *NetworkUsageParams

NewNetworkUsageParamsWithHTTPClient creates a new NetworkUsageParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkUsageParamsWithTimeout

func NewNetworkUsageParamsWithTimeout(timeout time.Duration) *NetworkUsageParams

NewNetworkUsageParamsWithTimeout creates a new NetworkUsageParams object with the ability to set a timeout on a request.

func (*NetworkUsageParams) SetBody

SetBody adds the body to the network usage params

func (*NetworkUsageParams) SetContext

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

SetContext adds the context to the network usage params

func (*NetworkUsageParams) SetDefaults added in v0.12.0

func (o *NetworkUsageParams) SetDefaults()

SetDefaults hydrates default values in the network usage params (not the query body).

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

func (*NetworkUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the network usage params

func (*NetworkUsageParams) SetTimeout

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

SetTimeout adds the timeout to the network usage params

func (*NetworkUsageParams) WithBody

WithBody adds the body to the network usage params

func (*NetworkUsageParams) WithContext

WithContext adds the context to the network usage params

func (*NetworkUsageParams) WithDefaults added in v0.12.0

func (o *NetworkUsageParams) WithDefaults() *NetworkUsageParams

WithDefaults hydrates default values in the network usage params (not the query body).

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

func (*NetworkUsageParams) WithHTTPClient

func (o *NetworkUsageParams) WithHTTPClient(client *http.Client) *NetworkUsageParams

WithHTTPClient adds the HTTPClient to the network usage params

func (*NetworkUsageParams) WithTimeout

func (o *NetworkUsageParams) WithTimeout(timeout time.Duration) *NetworkUsageParams

WithTimeout adds the timeout to the network usage params

func (*NetworkUsageParams) WriteToRequest

func (o *NetworkUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type NetworkUsageReader

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

NetworkUsageReader is a Reader for the NetworkUsage structure.

func (*NetworkUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostgresUsageCSVDefault added in v0.17.4

type PostgresUsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

PostgresUsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewPostgresUsageCSVDefault added in v0.17.4

func NewPostgresUsageCSVDefault(code int) *PostgresUsageCSVDefault

NewPostgresUsageCSVDefault creates a PostgresUsageCSVDefault with default headers values

func (*PostgresUsageCSVDefault) Code added in v0.17.4

func (o *PostgresUsageCSVDefault) Code() int

Code gets the status code for the postgres usage c s v default response

func (*PostgresUsageCSVDefault) Error added in v0.17.4

func (o *PostgresUsageCSVDefault) Error() string

func (*PostgresUsageCSVDefault) GetPayload added in v0.17.4

func (*PostgresUsageCSVDefault) IsClientError added in v0.19.0

func (o *PostgresUsageCSVDefault) IsClientError() bool

IsClientError returns true when this postgres usage c s v default response has a 4xx status code

func (*PostgresUsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this postgres usage c s v default response a status code equal to that given

func (*PostgresUsageCSVDefault) IsRedirect added in v0.19.0

func (o *PostgresUsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this postgres usage c s v default response has a 3xx status code

func (*PostgresUsageCSVDefault) IsServerError added in v0.19.0

func (o *PostgresUsageCSVDefault) IsServerError() bool

IsServerError returns true when this postgres usage c s v default response has a 5xx status code

func (*PostgresUsageCSVDefault) IsSuccess added in v0.19.0

func (o *PostgresUsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this postgres usage c s v default response has a 2xx status code

func (*PostgresUsageCSVDefault) String added in v0.19.0

func (o *PostgresUsageCSVDefault) String() string

type PostgresUsageCSVOK added in v0.17.4

type PostgresUsageCSVOK struct {
	Payload string
}

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

OK

func NewPostgresUsageCSVOK added in v0.17.4

func NewPostgresUsageCSVOK() *PostgresUsageCSVOK

NewPostgresUsageCSVOK creates a PostgresUsageCSVOK with default headers values

func (*PostgresUsageCSVOK) Code added in v0.20.11

func (o *PostgresUsageCSVOK) Code() int

Code gets the status code for the postgres usage c s v o k response

func (*PostgresUsageCSVOK) Error added in v0.17.4

func (o *PostgresUsageCSVOK) Error() string

func (*PostgresUsageCSVOK) GetPayload added in v0.17.4

func (o *PostgresUsageCSVOK) GetPayload() string

func (*PostgresUsageCSVOK) IsClientError added in v0.19.0

func (o *PostgresUsageCSVOK) IsClientError() bool

IsClientError returns true when this postgres usage c s v o k response has a 4xx status code

func (*PostgresUsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this postgres usage c s v o k response a status code equal to that given

func (*PostgresUsageCSVOK) IsRedirect added in v0.19.0

func (o *PostgresUsageCSVOK) IsRedirect() bool

IsRedirect returns true when this postgres usage c s v o k response has a 3xx status code

func (*PostgresUsageCSVOK) IsServerError added in v0.19.0

func (o *PostgresUsageCSVOK) IsServerError() bool

IsServerError returns true when this postgres usage c s v o k response has a 5xx status code

func (*PostgresUsageCSVOK) IsSuccess added in v0.19.0

func (o *PostgresUsageCSVOK) IsSuccess() bool

IsSuccess returns true when this postgres usage c s v o k response has a 2xx status code

func (*PostgresUsageCSVOK) String added in v0.19.0

func (o *PostgresUsageCSVOK) String() string

type PostgresUsageCSVParams added in v0.17.4

type PostgresUsageCSVParams struct {

	// Body.
	Body *models.V1PostgresUsageRequest

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

PostgresUsageCSVParams contains all the parameters to send to the API endpoint

for the postgres usage c s v operation.

Typically these are written to a http.Request.

func NewPostgresUsageCSVParams added in v0.17.4

func NewPostgresUsageCSVParams() *PostgresUsageCSVParams

NewPostgresUsageCSVParams creates a new PostgresUsageCSVParams 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 NewPostgresUsageCSVParamsWithContext added in v0.17.4

func NewPostgresUsageCSVParamsWithContext(ctx context.Context) *PostgresUsageCSVParams

NewPostgresUsageCSVParamsWithContext creates a new PostgresUsageCSVParams object with the ability to set a context for a request.

func NewPostgresUsageCSVParamsWithHTTPClient added in v0.17.4

func NewPostgresUsageCSVParamsWithHTTPClient(client *http.Client) *PostgresUsageCSVParams

NewPostgresUsageCSVParamsWithHTTPClient creates a new PostgresUsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewPostgresUsageCSVParamsWithTimeout added in v0.17.4

func NewPostgresUsageCSVParamsWithTimeout(timeout time.Duration) *PostgresUsageCSVParams

NewPostgresUsageCSVParamsWithTimeout creates a new PostgresUsageCSVParams object with the ability to set a timeout on a request.

func (*PostgresUsageCSVParams) SetBody added in v0.17.4

SetBody adds the body to the postgres usage c s v params

func (*PostgresUsageCSVParams) SetContext added in v0.17.4

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

SetContext adds the context to the postgres usage c s v params

func (*PostgresUsageCSVParams) SetDefaults added in v0.17.4

func (o *PostgresUsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the postgres usage c s v params (not the query body).

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

func (*PostgresUsageCSVParams) SetHTTPClient added in v0.17.4

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

SetHTTPClient adds the HTTPClient to the postgres usage c s v params

func (*PostgresUsageCSVParams) SetTimeout added in v0.17.4

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

SetTimeout adds the timeout to the postgres usage c s v params

func (*PostgresUsageCSVParams) WithBody added in v0.17.4

WithBody adds the body to the postgres usage c s v params

func (*PostgresUsageCSVParams) WithContext added in v0.17.4

WithContext adds the context to the postgres usage c s v params

func (*PostgresUsageCSVParams) WithDefaults added in v0.17.4

WithDefaults hydrates default values in the postgres usage c s v params (not the query body).

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

func (*PostgresUsageCSVParams) WithHTTPClient added in v0.17.4

func (o *PostgresUsageCSVParams) WithHTTPClient(client *http.Client) *PostgresUsageCSVParams

WithHTTPClient adds the HTTPClient to the postgres usage c s v params

func (*PostgresUsageCSVParams) WithTimeout added in v0.17.4

WithTimeout adds the timeout to the postgres usage c s v params

func (*PostgresUsageCSVParams) WriteToRequest added in v0.17.4

WriteToRequest writes these params to a swagger request

type PostgresUsageCSVReader added in v0.17.4

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

PostgresUsageCSVReader is a Reader for the PostgresUsageCSV structure.

func (*PostgresUsageCSVReader) ReadResponse added in v0.17.4

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

ReadResponse reads a server response into the received o.

type PostgresUsageDefault added in v0.17.4

type PostgresUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

PostgresUsageDefault describes a response with status code -1, with default header values.

Error

func NewPostgresUsageDefault added in v0.17.4

func NewPostgresUsageDefault(code int) *PostgresUsageDefault

NewPostgresUsageDefault creates a PostgresUsageDefault with default headers values

func (*PostgresUsageDefault) Code added in v0.17.4

func (o *PostgresUsageDefault) Code() int

Code gets the status code for the postgres usage default response

func (*PostgresUsageDefault) Error added in v0.17.4

func (o *PostgresUsageDefault) Error() string

func (*PostgresUsageDefault) GetPayload added in v0.17.4

func (*PostgresUsageDefault) IsClientError added in v0.19.0

func (o *PostgresUsageDefault) IsClientError() bool

IsClientError returns true when this postgres usage default response has a 4xx status code

func (*PostgresUsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this postgres usage default response a status code equal to that given

func (*PostgresUsageDefault) IsRedirect added in v0.19.0

func (o *PostgresUsageDefault) IsRedirect() bool

IsRedirect returns true when this postgres usage default response has a 3xx status code

func (*PostgresUsageDefault) IsServerError added in v0.19.0

func (o *PostgresUsageDefault) IsServerError() bool

IsServerError returns true when this postgres usage default response has a 5xx status code

func (*PostgresUsageDefault) IsSuccess added in v0.19.0

func (o *PostgresUsageDefault) IsSuccess() bool

IsSuccess returns true when this postgres usage default response has a 2xx status code

func (*PostgresUsageDefault) String added in v0.19.0

func (o *PostgresUsageDefault) String() string

type PostgresUsageOK added in v0.17.4

type PostgresUsageOK struct {
	Payload *models.V1PostgresUsageResponse
}

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

OK

func NewPostgresUsageOK added in v0.17.4

func NewPostgresUsageOK() *PostgresUsageOK

NewPostgresUsageOK creates a PostgresUsageOK with default headers values

func (*PostgresUsageOK) Code added in v0.20.11

func (o *PostgresUsageOK) Code() int

Code gets the status code for the postgres usage o k response

func (*PostgresUsageOK) Error added in v0.17.4

func (o *PostgresUsageOK) Error() string

func (*PostgresUsageOK) GetPayload added in v0.17.4

func (*PostgresUsageOK) IsClientError added in v0.19.0

func (o *PostgresUsageOK) IsClientError() bool

IsClientError returns true when this postgres usage o k response has a 4xx status code

func (*PostgresUsageOK) IsCode added in v0.19.0

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

IsCode returns true when this postgres usage o k response a status code equal to that given

func (*PostgresUsageOK) IsRedirect added in v0.19.0

func (o *PostgresUsageOK) IsRedirect() bool

IsRedirect returns true when this postgres usage o k response has a 3xx status code

func (*PostgresUsageOK) IsServerError added in v0.19.0

func (o *PostgresUsageOK) IsServerError() bool

IsServerError returns true when this postgres usage o k response has a 5xx status code

func (*PostgresUsageOK) IsSuccess added in v0.19.0

func (o *PostgresUsageOK) IsSuccess() bool

IsSuccess returns true when this postgres usage o k response has a 2xx status code

func (*PostgresUsageOK) String added in v0.19.0

func (o *PostgresUsageOK) String() string

type PostgresUsageParams added in v0.17.4

type PostgresUsageParams struct {

	// Body.
	Body *models.V1PostgresUsageRequest

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

PostgresUsageParams contains all the parameters to send to the API endpoint

for the postgres usage operation.

Typically these are written to a http.Request.

func NewPostgresUsageParams added in v0.17.4

func NewPostgresUsageParams() *PostgresUsageParams

NewPostgresUsageParams creates a new PostgresUsageParams 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 NewPostgresUsageParamsWithContext added in v0.17.4

func NewPostgresUsageParamsWithContext(ctx context.Context) *PostgresUsageParams

NewPostgresUsageParamsWithContext creates a new PostgresUsageParams object with the ability to set a context for a request.

func NewPostgresUsageParamsWithHTTPClient added in v0.17.4

func NewPostgresUsageParamsWithHTTPClient(client *http.Client) *PostgresUsageParams

NewPostgresUsageParamsWithHTTPClient creates a new PostgresUsageParams object with the ability to set a custom HTTPClient for a request.

func NewPostgresUsageParamsWithTimeout added in v0.17.4

func NewPostgresUsageParamsWithTimeout(timeout time.Duration) *PostgresUsageParams

NewPostgresUsageParamsWithTimeout creates a new PostgresUsageParams object with the ability to set a timeout on a request.

func (*PostgresUsageParams) SetBody added in v0.17.4

SetBody adds the body to the postgres usage params

func (*PostgresUsageParams) SetContext added in v0.17.4

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

SetContext adds the context to the postgres usage params

func (*PostgresUsageParams) SetDefaults added in v0.17.4

func (o *PostgresUsageParams) SetDefaults()

SetDefaults hydrates default values in the postgres usage params (not the query body).

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

func (*PostgresUsageParams) SetHTTPClient added in v0.17.4

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

SetHTTPClient adds the HTTPClient to the postgres usage params

func (*PostgresUsageParams) SetTimeout added in v0.17.4

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

SetTimeout adds the timeout to the postgres usage params

func (*PostgresUsageParams) WithBody added in v0.17.4

WithBody adds the body to the postgres usage params

func (*PostgresUsageParams) WithContext added in v0.17.4

WithContext adds the context to the postgres usage params

func (*PostgresUsageParams) WithDefaults added in v0.17.4

func (o *PostgresUsageParams) WithDefaults() *PostgresUsageParams

WithDefaults hydrates default values in the postgres usage params (not the query body).

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

func (*PostgresUsageParams) WithHTTPClient added in v0.17.4

func (o *PostgresUsageParams) WithHTTPClient(client *http.Client) *PostgresUsageParams

WithHTTPClient adds the HTTPClient to the postgres usage params

func (*PostgresUsageParams) WithTimeout added in v0.17.4

func (o *PostgresUsageParams) WithTimeout(timeout time.Duration) *PostgresUsageParams

WithTimeout adds the timeout to the postgres usage params

func (*PostgresUsageParams) WriteToRequest added in v0.17.4

func (o *PostgresUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostgresUsageReader added in v0.17.4

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

PostgresUsageReader is a Reader for the PostgresUsage structure.

func (*PostgresUsageReader) ReadResponse added in v0.17.4

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

ReadResponse reads a server response into the received o.

type ProductOptionUsageDefault added in v0.23.2

type ProductOptionUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ProductOptionUsageDefault describes a response with status code -1, with default header values.

Error

func NewProductOptionUsageDefault added in v0.23.2

func NewProductOptionUsageDefault(code int) *ProductOptionUsageDefault

NewProductOptionUsageDefault creates a ProductOptionUsageDefault with default headers values

func (*ProductOptionUsageDefault) Code added in v0.23.2

func (o *ProductOptionUsageDefault) Code() int

Code gets the status code for the product option usage default response

func (*ProductOptionUsageDefault) Error added in v0.23.2

func (o *ProductOptionUsageDefault) Error() string

func (*ProductOptionUsageDefault) GetPayload added in v0.23.2

func (*ProductOptionUsageDefault) IsClientError added in v0.23.2

func (o *ProductOptionUsageDefault) IsClientError() bool

IsClientError returns true when this product option usage default response has a 4xx status code

func (*ProductOptionUsageDefault) IsCode added in v0.23.2

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

IsCode returns true when this product option usage default response a status code equal to that given

func (*ProductOptionUsageDefault) IsRedirect added in v0.23.2

func (o *ProductOptionUsageDefault) IsRedirect() bool

IsRedirect returns true when this product option usage default response has a 3xx status code

func (*ProductOptionUsageDefault) IsServerError added in v0.23.2

func (o *ProductOptionUsageDefault) IsServerError() bool

IsServerError returns true when this product option usage default response has a 5xx status code

func (*ProductOptionUsageDefault) IsSuccess added in v0.23.2

func (o *ProductOptionUsageDefault) IsSuccess() bool

IsSuccess returns true when this product option usage default response has a 2xx status code

func (*ProductOptionUsageDefault) String added in v0.23.2

func (o *ProductOptionUsageDefault) String() string

type ProductOptionUsageOK added in v0.23.2

type ProductOptionUsageOK struct {
	Payload *models.V1ProductOptionUsageResponse
}

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

OK

func NewProductOptionUsageOK added in v0.23.2

func NewProductOptionUsageOK() *ProductOptionUsageOK

NewProductOptionUsageOK creates a ProductOptionUsageOK with default headers values

func (*ProductOptionUsageOK) Code added in v0.23.2

func (o *ProductOptionUsageOK) Code() int

Code gets the status code for the product option usage o k response

func (*ProductOptionUsageOK) Error added in v0.23.2

func (o *ProductOptionUsageOK) Error() string

func (*ProductOptionUsageOK) GetPayload added in v0.23.2

func (*ProductOptionUsageOK) IsClientError added in v0.23.2

func (o *ProductOptionUsageOK) IsClientError() bool

IsClientError returns true when this product option usage o k response has a 4xx status code

func (*ProductOptionUsageOK) IsCode added in v0.23.2

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

IsCode returns true when this product option usage o k response a status code equal to that given

func (*ProductOptionUsageOK) IsRedirect added in v0.23.2

func (o *ProductOptionUsageOK) IsRedirect() bool

IsRedirect returns true when this product option usage o k response has a 3xx status code

func (*ProductOptionUsageOK) IsServerError added in v0.23.2

func (o *ProductOptionUsageOK) IsServerError() bool

IsServerError returns true when this product option usage o k response has a 5xx status code

func (*ProductOptionUsageOK) IsSuccess added in v0.23.2

func (o *ProductOptionUsageOK) IsSuccess() bool

IsSuccess returns true when this product option usage o k response has a 2xx status code

func (*ProductOptionUsageOK) String added in v0.23.2

func (o *ProductOptionUsageOK) String() string

type ProductOptionUsageParams added in v0.23.2

type ProductOptionUsageParams struct {

	// Body.
	Body *models.V1ProductOptionUsageRequest

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

ProductOptionUsageParams contains all the parameters to send to the API endpoint

for the product option usage operation.

Typically these are written to a http.Request.

func NewProductOptionUsageParams added in v0.23.2

func NewProductOptionUsageParams() *ProductOptionUsageParams

NewProductOptionUsageParams creates a new ProductOptionUsageParams 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 NewProductOptionUsageParamsWithContext added in v0.23.2

func NewProductOptionUsageParamsWithContext(ctx context.Context) *ProductOptionUsageParams

NewProductOptionUsageParamsWithContext creates a new ProductOptionUsageParams object with the ability to set a context for a request.

func NewProductOptionUsageParamsWithHTTPClient added in v0.23.2

func NewProductOptionUsageParamsWithHTTPClient(client *http.Client) *ProductOptionUsageParams

NewProductOptionUsageParamsWithHTTPClient creates a new ProductOptionUsageParams object with the ability to set a custom HTTPClient for a request.

func NewProductOptionUsageParamsWithTimeout added in v0.23.2

func NewProductOptionUsageParamsWithTimeout(timeout time.Duration) *ProductOptionUsageParams

NewProductOptionUsageParamsWithTimeout creates a new ProductOptionUsageParams object with the ability to set a timeout on a request.

func (*ProductOptionUsageParams) SetBody added in v0.23.2

SetBody adds the body to the product option usage params

func (*ProductOptionUsageParams) SetContext added in v0.23.2

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

SetContext adds the context to the product option usage params

func (*ProductOptionUsageParams) SetDefaults added in v0.23.2

func (o *ProductOptionUsageParams) SetDefaults()

SetDefaults hydrates default values in the product option usage params (not the query body).

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

func (*ProductOptionUsageParams) SetHTTPClient added in v0.23.2

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

SetHTTPClient adds the HTTPClient to the product option usage params

func (*ProductOptionUsageParams) SetTimeout added in v0.23.2

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

SetTimeout adds the timeout to the product option usage params

func (*ProductOptionUsageParams) WithBody added in v0.23.2

WithBody adds the body to the product option usage params

func (*ProductOptionUsageParams) WithContext added in v0.23.2

WithContext adds the context to the product option usage params

func (*ProductOptionUsageParams) WithDefaults added in v0.23.2

WithDefaults hydrates default values in the product option usage params (not the query body).

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

func (*ProductOptionUsageParams) WithHTTPClient added in v0.23.2

func (o *ProductOptionUsageParams) WithHTTPClient(client *http.Client) *ProductOptionUsageParams

WithHTTPClient adds the HTTPClient to the product option usage params

func (*ProductOptionUsageParams) WithTimeout added in v0.23.2

WithTimeout adds the timeout to the product option usage params

func (*ProductOptionUsageParams) WriteToRequest added in v0.23.2

WriteToRequest writes these params to a swagger request

type ProductOptionUsageReader added in v0.23.2

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

ProductOptionUsageReader is a Reader for the ProductOptionUsage structure.

func (*ProductOptionUsageReader) ReadResponse added in v0.23.2

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

ReadResponse reads a server response into the received o.

type ProjectsDefault added in v0.18.20

type ProjectsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ProjectsDefault describes a response with status code -1, with default header values.

Error

func NewProjectsDefault added in v0.18.20

func NewProjectsDefault(code int) *ProjectsDefault

NewProjectsDefault creates a ProjectsDefault with default headers values

func (*ProjectsDefault) Code added in v0.18.20

func (o *ProjectsDefault) Code() int

Code gets the status code for the projects default response

func (*ProjectsDefault) Error added in v0.18.20

func (o *ProjectsDefault) Error() string

func (*ProjectsDefault) GetPayload added in v0.18.20

func (o *ProjectsDefault) GetPayload() *httperrors.HTTPErrorResponse

func (*ProjectsDefault) IsClientError added in v0.19.0

func (o *ProjectsDefault) IsClientError() bool

IsClientError returns true when this projects default response has a 4xx status code

func (*ProjectsDefault) IsCode added in v0.19.0

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

IsCode returns true when this projects default response a status code equal to that given

func (*ProjectsDefault) IsRedirect added in v0.19.0

func (o *ProjectsDefault) IsRedirect() bool

IsRedirect returns true when this projects default response has a 3xx status code

func (*ProjectsDefault) IsServerError added in v0.19.0

func (o *ProjectsDefault) IsServerError() bool

IsServerError returns true when this projects default response has a 5xx status code

func (*ProjectsDefault) IsSuccess added in v0.19.0

func (o *ProjectsDefault) IsSuccess() bool

IsSuccess returns true when this projects default response has a 2xx status code

func (*ProjectsDefault) String added in v0.19.0

func (o *ProjectsDefault) String() string

type ProjectsOK added in v0.18.20

type ProjectsOK struct {
	Payload []*models.V1ProjectInfoResponse
}

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

OK

func NewProjectsOK added in v0.18.20

func NewProjectsOK() *ProjectsOK

NewProjectsOK creates a ProjectsOK with default headers values

func (*ProjectsOK) Code added in v0.20.11

func (o *ProjectsOK) Code() int

Code gets the status code for the projects o k response

func (*ProjectsOK) Error added in v0.18.20

func (o *ProjectsOK) Error() string

func (*ProjectsOK) GetPayload added in v0.18.20

func (o *ProjectsOK) GetPayload() []*models.V1ProjectInfoResponse

func (*ProjectsOK) IsClientError added in v0.19.0

func (o *ProjectsOK) IsClientError() bool

IsClientError returns true when this projects o k response has a 4xx status code

func (*ProjectsOK) IsCode added in v0.19.0

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

IsCode returns true when this projects o k response a status code equal to that given

func (*ProjectsOK) IsRedirect added in v0.19.0

func (o *ProjectsOK) IsRedirect() bool

IsRedirect returns true when this projects o k response has a 3xx status code

func (*ProjectsOK) IsServerError added in v0.19.0

func (o *ProjectsOK) IsServerError() bool

IsServerError returns true when this projects o k response has a 5xx status code

func (*ProjectsOK) IsSuccess added in v0.19.0

func (o *ProjectsOK) IsSuccess() bool

IsSuccess returns true when this projects o k response has a 2xx status code

func (*ProjectsOK) String added in v0.19.0

func (o *ProjectsOK) String() string

type ProjectsParams added in v0.18.20

type ProjectsParams struct {

	// Body.
	Body *models.V1ProjectInfoRequest

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

ProjectsParams contains all the parameters to send to the API endpoint

for the projects operation.

Typically these are written to a http.Request.

func NewProjectsParams added in v0.18.20

func NewProjectsParams() *ProjectsParams

NewProjectsParams creates a new ProjectsParams 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 NewProjectsParamsWithContext added in v0.18.20

func NewProjectsParamsWithContext(ctx context.Context) *ProjectsParams

NewProjectsParamsWithContext creates a new ProjectsParams object with the ability to set a context for a request.

func NewProjectsParamsWithHTTPClient added in v0.18.20

func NewProjectsParamsWithHTTPClient(client *http.Client) *ProjectsParams

NewProjectsParamsWithHTTPClient creates a new ProjectsParams object with the ability to set a custom HTTPClient for a request.

func NewProjectsParamsWithTimeout added in v0.18.20

func NewProjectsParamsWithTimeout(timeout time.Duration) *ProjectsParams

NewProjectsParamsWithTimeout creates a new ProjectsParams object with the ability to set a timeout on a request.

func (*ProjectsParams) SetBody added in v0.18.20

func (o *ProjectsParams) SetBody(body *models.V1ProjectInfoRequest)

SetBody adds the body to the projects params

func (*ProjectsParams) SetContext added in v0.18.20

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

SetContext adds the context to the projects params

func (*ProjectsParams) SetDefaults added in v0.18.20

func (o *ProjectsParams) SetDefaults()

SetDefaults hydrates default values in the projects params (not the query body).

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

func (*ProjectsParams) SetHTTPClient added in v0.18.20

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

SetHTTPClient adds the HTTPClient to the projects params

func (*ProjectsParams) SetTimeout added in v0.18.20

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

SetTimeout adds the timeout to the projects params

func (*ProjectsParams) WithBody added in v0.18.20

WithBody adds the body to the projects params

func (*ProjectsParams) WithContext added in v0.18.20

func (o *ProjectsParams) WithContext(ctx context.Context) *ProjectsParams

WithContext adds the context to the projects params

func (*ProjectsParams) WithDefaults added in v0.18.20

func (o *ProjectsParams) WithDefaults() *ProjectsParams

WithDefaults hydrates default values in the projects params (not the query body).

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

func (*ProjectsParams) WithHTTPClient added in v0.18.20

func (o *ProjectsParams) WithHTTPClient(client *http.Client) *ProjectsParams

WithHTTPClient adds the HTTPClient to the projects params

func (*ProjectsParams) WithTimeout added in v0.18.20

func (o *ProjectsParams) WithTimeout(timeout time.Duration) *ProjectsParams

WithTimeout adds the timeout to the projects params

func (*ProjectsParams) WriteToRequest added in v0.18.20

func (o *ProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProjectsReader added in v0.18.20

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

ProjectsReader is a Reader for the Projects structure.

func (*ProjectsReader) ReadResponse added in v0.18.20

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

ReadResponse reads a server response into the received o.

type S3UsageCSVDefault

type S3UsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

S3UsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewS3UsageCSVDefault

func NewS3UsageCSVDefault(code int) *S3UsageCSVDefault

NewS3UsageCSVDefault creates a S3UsageCSVDefault with default headers values

func (*S3UsageCSVDefault) Code

func (o *S3UsageCSVDefault) Code() int

Code gets the status code for the s3 usage c s v default response

func (*S3UsageCSVDefault) Error

func (o *S3UsageCSVDefault) Error() string

func (*S3UsageCSVDefault) GetPayload added in v0.9.1

func (*S3UsageCSVDefault) IsClientError added in v0.19.0

func (o *S3UsageCSVDefault) IsClientError() bool

IsClientError returns true when this s3 usage c s v default response has a 4xx status code

func (*S3UsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this s3 usage c s v default response a status code equal to that given

func (*S3UsageCSVDefault) IsRedirect added in v0.19.0

func (o *S3UsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this s3 usage c s v default response has a 3xx status code

func (*S3UsageCSVDefault) IsServerError added in v0.19.0

func (o *S3UsageCSVDefault) IsServerError() bool

IsServerError returns true when this s3 usage c s v default response has a 5xx status code

func (*S3UsageCSVDefault) IsSuccess added in v0.19.0

func (o *S3UsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this s3 usage c s v default response has a 2xx status code

func (*S3UsageCSVDefault) String added in v0.19.0

func (o *S3UsageCSVDefault) String() string

type S3UsageCSVOK

type S3UsageCSVOK struct {
	Payload string
}

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

OK

func NewS3UsageCSVOK

func NewS3UsageCSVOK() *S3UsageCSVOK

NewS3UsageCSVOK creates a S3UsageCSVOK with default headers values

func (*S3UsageCSVOK) Code added in v0.20.11

func (o *S3UsageCSVOK) Code() int

Code gets the status code for the s3 usage c s v o k response

func (*S3UsageCSVOK) Error

func (o *S3UsageCSVOK) Error() string

func (*S3UsageCSVOK) GetPayload added in v0.9.1

func (o *S3UsageCSVOK) GetPayload() string

func (*S3UsageCSVOK) IsClientError added in v0.19.0

func (o *S3UsageCSVOK) IsClientError() bool

IsClientError returns true when this s3 usage c s v o k response has a 4xx status code

func (*S3UsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this s3 usage c s v o k response a status code equal to that given

func (*S3UsageCSVOK) IsRedirect added in v0.19.0

func (o *S3UsageCSVOK) IsRedirect() bool

IsRedirect returns true when this s3 usage c s v o k response has a 3xx status code

func (*S3UsageCSVOK) IsServerError added in v0.19.0

func (o *S3UsageCSVOK) IsServerError() bool

IsServerError returns true when this s3 usage c s v o k response has a 5xx status code

func (*S3UsageCSVOK) IsSuccess added in v0.19.0

func (o *S3UsageCSVOK) IsSuccess() bool

IsSuccess returns true when this s3 usage c s v o k response has a 2xx status code

func (*S3UsageCSVOK) String added in v0.19.0

func (o *S3UsageCSVOK) String() string

type S3UsageCSVParams

type S3UsageCSVParams struct {

	// Body.
	Body *models.V1S3UsageRequest

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

S3UsageCSVParams contains all the parameters to send to the API endpoint

for the s3 usage c s v operation.

Typically these are written to a http.Request.

func NewS3UsageCSVParams

func NewS3UsageCSVParams() *S3UsageCSVParams

NewS3UsageCSVParams creates a new S3UsageCSVParams 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 NewS3UsageCSVParamsWithContext

func NewS3UsageCSVParamsWithContext(ctx context.Context) *S3UsageCSVParams

NewS3UsageCSVParamsWithContext creates a new S3UsageCSVParams object with the ability to set a context for a request.

func NewS3UsageCSVParamsWithHTTPClient

func NewS3UsageCSVParamsWithHTTPClient(client *http.Client) *S3UsageCSVParams

NewS3UsageCSVParamsWithHTTPClient creates a new S3UsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewS3UsageCSVParamsWithTimeout

func NewS3UsageCSVParamsWithTimeout(timeout time.Duration) *S3UsageCSVParams

NewS3UsageCSVParamsWithTimeout creates a new S3UsageCSVParams object with the ability to set a timeout on a request.

func (*S3UsageCSVParams) SetBody

func (o *S3UsageCSVParams) SetBody(body *models.V1S3UsageRequest)

SetBody adds the body to the s3 usage c s v params

func (*S3UsageCSVParams) SetContext

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

SetContext adds the context to the s3 usage c s v params

func (*S3UsageCSVParams) SetDefaults added in v0.12.0

func (o *S3UsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the s3 usage c s v params (not the query body).

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

func (*S3UsageCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the s3 usage c s v params

func (*S3UsageCSVParams) SetTimeout

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

SetTimeout adds the timeout to the s3 usage c s v params

func (*S3UsageCSVParams) WithBody

WithBody adds the body to the s3 usage c s v params

func (*S3UsageCSVParams) WithContext

func (o *S3UsageCSVParams) WithContext(ctx context.Context) *S3UsageCSVParams

WithContext adds the context to the s3 usage c s v params

func (*S3UsageCSVParams) WithDefaults added in v0.12.0

func (o *S3UsageCSVParams) WithDefaults() *S3UsageCSVParams

WithDefaults hydrates default values in the s3 usage c s v params (not the query body).

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

func (*S3UsageCSVParams) WithHTTPClient

func (o *S3UsageCSVParams) WithHTTPClient(client *http.Client) *S3UsageCSVParams

WithHTTPClient adds the HTTPClient to the s3 usage c s v params

func (*S3UsageCSVParams) WithTimeout

func (o *S3UsageCSVParams) WithTimeout(timeout time.Duration) *S3UsageCSVParams

WithTimeout adds the timeout to the s3 usage c s v params

func (*S3UsageCSVParams) WriteToRequest

func (o *S3UsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type S3UsageCSVReader

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

S3UsageCSVReader is a Reader for the S3UsageCSV structure.

func (*S3UsageCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type S3UsageDefault

type S3UsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

S3UsageDefault describes a response with status code -1, with default header values.

Error

func NewS3UsageDefault

func NewS3UsageDefault(code int) *S3UsageDefault

NewS3UsageDefault creates a S3UsageDefault with default headers values

func (*S3UsageDefault) Code

func (o *S3UsageDefault) Code() int

Code gets the status code for the s3 usage default response

func (*S3UsageDefault) Error

func (o *S3UsageDefault) Error() string

func (*S3UsageDefault) GetPayload added in v0.9.1

func (o *S3UsageDefault) GetPayload() *httperrors.HTTPErrorResponse

func (*S3UsageDefault) IsClientError added in v0.19.0

func (o *S3UsageDefault) IsClientError() bool

IsClientError returns true when this s3 usage default response has a 4xx status code

func (*S3UsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this s3 usage default response a status code equal to that given

func (*S3UsageDefault) IsRedirect added in v0.19.0

func (o *S3UsageDefault) IsRedirect() bool

IsRedirect returns true when this s3 usage default response has a 3xx status code

func (*S3UsageDefault) IsServerError added in v0.19.0

func (o *S3UsageDefault) IsServerError() bool

IsServerError returns true when this s3 usage default response has a 5xx status code

func (*S3UsageDefault) IsSuccess added in v0.19.0

func (o *S3UsageDefault) IsSuccess() bool

IsSuccess returns true when this s3 usage default response has a 2xx status code

func (*S3UsageDefault) String added in v0.19.0

func (o *S3UsageDefault) String() string

type S3UsageOK

type S3UsageOK struct {
	Payload *models.V1S3UsageResponse
}

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

OK

func NewS3UsageOK

func NewS3UsageOK() *S3UsageOK

NewS3UsageOK creates a S3UsageOK with default headers values

func (*S3UsageOK) Code added in v0.20.11

func (o *S3UsageOK) Code() int

Code gets the status code for the s3 usage o k response

func (*S3UsageOK) Error

func (o *S3UsageOK) Error() string

func (*S3UsageOK) GetPayload added in v0.9.1

func (o *S3UsageOK) GetPayload() *models.V1S3UsageResponse

func (*S3UsageOK) IsClientError added in v0.19.0

func (o *S3UsageOK) IsClientError() bool

IsClientError returns true when this s3 usage o k response has a 4xx status code

func (*S3UsageOK) IsCode added in v0.19.0

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

IsCode returns true when this s3 usage o k response a status code equal to that given

func (*S3UsageOK) IsRedirect added in v0.19.0

func (o *S3UsageOK) IsRedirect() bool

IsRedirect returns true when this s3 usage o k response has a 3xx status code

func (*S3UsageOK) IsServerError added in v0.19.0

func (o *S3UsageOK) IsServerError() bool

IsServerError returns true when this s3 usage o k response has a 5xx status code

func (*S3UsageOK) IsSuccess added in v0.19.0

func (o *S3UsageOK) IsSuccess() bool

IsSuccess returns true when this s3 usage o k response has a 2xx status code

func (*S3UsageOK) String added in v0.19.0

func (o *S3UsageOK) String() string

type S3UsageParams

type S3UsageParams struct {

	// Body.
	Body *models.V1S3UsageRequest

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

S3UsageParams contains all the parameters to send to the API endpoint

for the s3 usage operation.

Typically these are written to a http.Request.

func NewS3UsageParams

func NewS3UsageParams() *S3UsageParams

NewS3UsageParams creates a new S3UsageParams 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 NewS3UsageParamsWithContext

func NewS3UsageParamsWithContext(ctx context.Context) *S3UsageParams

NewS3UsageParamsWithContext creates a new S3UsageParams object with the ability to set a context for a request.

func NewS3UsageParamsWithHTTPClient

func NewS3UsageParamsWithHTTPClient(client *http.Client) *S3UsageParams

NewS3UsageParamsWithHTTPClient creates a new S3UsageParams object with the ability to set a custom HTTPClient for a request.

func NewS3UsageParamsWithTimeout

func NewS3UsageParamsWithTimeout(timeout time.Duration) *S3UsageParams

NewS3UsageParamsWithTimeout creates a new S3UsageParams object with the ability to set a timeout on a request.

func (*S3UsageParams) SetBody

func (o *S3UsageParams) SetBody(body *models.V1S3UsageRequest)

SetBody adds the body to the s3 usage params

func (*S3UsageParams) SetContext

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

SetContext adds the context to the s3 usage params

func (*S3UsageParams) SetDefaults added in v0.12.0

func (o *S3UsageParams) SetDefaults()

SetDefaults hydrates default values in the s3 usage params (not the query body).

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

func (*S3UsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the s3 usage params

func (*S3UsageParams) SetTimeout

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

SetTimeout adds the timeout to the s3 usage params

func (*S3UsageParams) WithBody

func (o *S3UsageParams) WithBody(body *models.V1S3UsageRequest) *S3UsageParams

WithBody adds the body to the s3 usage params

func (*S3UsageParams) WithContext

func (o *S3UsageParams) WithContext(ctx context.Context) *S3UsageParams

WithContext adds the context to the s3 usage params

func (*S3UsageParams) WithDefaults added in v0.12.0

func (o *S3UsageParams) WithDefaults() *S3UsageParams

WithDefaults hydrates default values in the s3 usage params (not the query body).

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

func (*S3UsageParams) WithHTTPClient

func (o *S3UsageParams) WithHTTPClient(client *http.Client) *S3UsageParams

WithHTTPClient adds the HTTPClient to the s3 usage params

func (*S3UsageParams) WithTimeout

func (o *S3UsageParams) WithTimeout(timeout time.Duration) *S3UsageParams

WithTimeout adds the timeout to the s3 usage params

func (*S3UsageParams) WriteToRequest

func (o *S3UsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type S3UsageReader

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

S3UsageReader is a Reader for the S3Usage structure.

func (*S3UsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeUsageCSVDefault

type VolumeUsageCSVDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

VolumeUsageCSVDefault describes a response with status code -1, with default header values.

Error

func NewVolumeUsageCSVDefault

func NewVolumeUsageCSVDefault(code int) *VolumeUsageCSVDefault

NewVolumeUsageCSVDefault creates a VolumeUsageCSVDefault with default headers values

func (*VolumeUsageCSVDefault) Code

func (o *VolumeUsageCSVDefault) Code() int

Code gets the status code for the volume usage c s v default response

func (*VolumeUsageCSVDefault) Error

func (o *VolumeUsageCSVDefault) Error() string

func (*VolumeUsageCSVDefault) GetPayload added in v0.9.1

func (*VolumeUsageCSVDefault) IsClientError added in v0.19.0

func (o *VolumeUsageCSVDefault) IsClientError() bool

IsClientError returns true when this volume usage c s v default response has a 4xx status code

func (*VolumeUsageCSVDefault) IsCode added in v0.19.0

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

IsCode returns true when this volume usage c s v default response a status code equal to that given

func (*VolumeUsageCSVDefault) IsRedirect added in v0.19.0

func (o *VolumeUsageCSVDefault) IsRedirect() bool

IsRedirect returns true when this volume usage c s v default response has a 3xx status code

func (*VolumeUsageCSVDefault) IsServerError added in v0.19.0

func (o *VolumeUsageCSVDefault) IsServerError() bool

IsServerError returns true when this volume usage c s v default response has a 5xx status code

func (*VolumeUsageCSVDefault) IsSuccess added in v0.19.0

func (o *VolumeUsageCSVDefault) IsSuccess() bool

IsSuccess returns true when this volume usage c s v default response has a 2xx status code

func (*VolumeUsageCSVDefault) String added in v0.19.0

func (o *VolumeUsageCSVDefault) String() string

type VolumeUsageCSVOK

type VolumeUsageCSVOK struct {
	Payload string
}

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

OK

func NewVolumeUsageCSVOK

func NewVolumeUsageCSVOK() *VolumeUsageCSVOK

NewVolumeUsageCSVOK creates a VolumeUsageCSVOK with default headers values

func (*VolumeUsageCSVOK) Code added in v0.20.11

func (o *VolumeUsageCSVOK) Code() int

Code gets the status code for the volume usage c s v o k response

func (*VolumeUsageCSVOK) Error

func (o *VolumeUsageCSVOK) Error() string

func (*VolumeUsageCSVOK) GetPayload added in v0.9.1

func (o *VolumeUsageCSVOK) GetPayload() string

func (*VolumeUsageCSVOK) IsClientError added in v0.19.0

func (o *VolumeUsageCSVOK) IsClientError() bool

IsClientError returns true when this volume usage c s v o k response has a 4xx status code

func (*VolumeUsageCSVOK) IsCode added in v0.19.0

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

IsCode returns true when this volume usage c s v o k response a status code equal to that given

func (*VolumeUsageCSVOK) IsRedirect added in v0.19.0

func (o *VolumeUsageCSVOK) IsRedirect() bool

IsRedirect returns true when this volume usage c s v o k response has a 3xx status code

func (*VolumeUsageCSVOK) IsServerError added in v0.19.0

func (o *VolumeUsageCSVOK) IsServerError() bool

IsServerError returns true when this volume usage c s v o k response has a 5xx status code

func (*VolumeUsageCSVOK) IsSuccess added in v0.19.0

func (o *VolumeUsageCSVOK) IsSuccess() bool

IsSuccess returns true when this volume usage c s v o k response has a 2xx status code

func (*VolumeUsageCSVOK) String added in v0.19.0

func (o *VolumeUsageCSVOK) String() string

type VolumeUsageCSVParams

type VolumeUsageCSVParams struct {

	// Body.
	Body *models.V1VolumeUsageRequest

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

VolumeUsageCSVParams contains all the parameters to send to the API endpoint

for the volume usage c s v operation.

Typically these are written to a http.Request.

func NewVolumeUsageCSVParams

func NewVolumeUsageCSVParams() *VolumeUsageCSVParams

NewVolumeUsageCSVParams creates a new VolumeUsageCSVParams 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 NewVolumeUsageCSVParamsWithContext

func NewVolumeUsageCSVParamsWithContext(ctx context.Context) *VolumeUsageCSVParams

NewVolumeUsageCSVParamsWithContext creates a new VolumeUsageCSVParams object with the ability to set a context for a request.

func NewVolumeUsageCSVParamsWithHTTPClient

func NewVolumeUsageCSVParamsWithHTTPClient(client *http.Client) *VolumeUsageCSVParams

NewVolumeUsageCSVParamsWithHTTPClient creates a new VolumeUsageCSVParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeUsageCSVParamsWithTimeout

func NewVolumeUsageCSVParamsWithTimeout(timeout time.Duration) *VolumeUsageCSVParams

NewVolumeUsageCSVParamsWithTimeout creates a new VolumeUsageCSVParams object with the ability to set a timeout on a request.

func (*VolumeUsageCSVParams) SetBody

SetBody adds the body to the volume usage c s v params

func (*VolumeUsageCSVParams) SetContext

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

SetContext adds the context to the volume usage c s v params

func (*VolumeUsageCSVParams) SetDefaults added in v0.12.0

func (o *VolumeUsageCSVParams) SetDefaults()

SetDefaults hydrates default values in the volume usage c s v params (not the query body).

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

func (*VolumeUsageCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume usage c s v params

func (*VolumeUsageCSVParams) SetTimeout

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

SetTimeout adds the timeout to the volume usage c s v params

func (*VolumeUsageCSVParams) WithBody

WithBody adds the body to the volume usage c s v params

func (*VolumeUsageCSVParams) WithContext

WithContext adds the context to the volume usage c s v params

func (*VolumeUsageCSVParams) WithDefaults added in v0.12.0

func (o *VolumeUsageCSVParams) WithDefaults() *VolumeUsageCSVParams

WithDefaults hydrates default values in the volume usage c s v params (not the query body).

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

func (*VolumeUsageCSVParams) WithHTTPClient

func (o *VolumeUsageCSVParams) WithHTTPClient(client *http.Client) *VolumeUsageCSVParams

WithHTTPClient adds the HTTPClient to the volume usage c s v params

func (*VolumeUsageCSVParams) WithTimeout

func (o *VolumeUsageCSVParams) WithTimeout(timeout time.Duration) *VolumeUsageCSVParams

WithTimeout adds the timeout to the volume usage c s v params

func (*VolumeUsageCSVParams) WriteToRequest

func (o *VolumeUsageCSVParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type VolumeUsageCSVReader

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

VolumeUsageCSVReader is a Reader for the VolumeUsageCSV structure.

func (*VolumeUsageCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VolumeUsageDefault

type VolumeUsageDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

VolumeUsageDefault describes a response with status code -1, with default header values.

Error

func NewVolumeUsageDefault

func NewVolumeUsageDefault(code int) *VolumeUsageDefault

NewVolumeUsageDefault creates a VolumeUsageDefault with default headers values

func (*VolumeUsageDefault) Code

func (o *VolumeUsageDefault) Code() int

Code gets the status code for the volume usage default response

func (*VolumeUsageDefault) Error

func (o *VolumeUsageDefault) Error() string

func (*VolumeUsageDefault) GetPayload added in v0.9.1

func (*VolumeUsageDefault) IsClientError added in v0.19.0

func (o *VolumeUsageDefault) IsClientError() bool

IsClientError returns true when this volume usage default response has a 4xx status code

func (*VolumeUsageDefault) IsCode added in v0.19.0

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

IsCode returns true when this volume usage default response a status code equal to that given

func (*VolumeUsageDefault) IsRedirect added in v0.19.0

func (o *VolumeUsageDefault) IsRedirect() bool

IsRedirect returns true when this volume usage default response has a 3xx status code

func (*VolumeUsageDefault) IsServerError added in v0.19.0

func (o *VolumeUsageDefault) IsServerError() bool

IsServerError returns true when this volume usage default response has a 5xx status code

func (*VolumeUsageDefault) IsSuccess added in v0.19.0

func (o *VolumeUsageDefault) IsSuccess() bool

IsSuccess returns true when this volume usage default response has a 2xx status code

func (*VolumeUsageDefault) String added in v0.19.0

func (o *VolumeUsageDefault) String() string

type VolumeUsageOK

type VolumeUsageOK struct {
	Payload *models.V1VolumeUsageResponse
}

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

OK

func NewVolumeUsageOK

func NewVolumeUsageOK() *VolumeUsageOK

NewVolumeUsageOK creates a VolumeUsageOK with default headers values

func (*VolumeUsageOK) Code added in v0.20.11

func (o *VolumeUsageOK) Code() int

Code gets the status code for the volume usage o k response

func (*VolumeUsageOK) Error

func (o *VolumeUsageOK) Error() string

func (*VolumeUsageOK) GetPayload added in v0.9.1

func (o *VolumeUsageOK) GetPayload() *models.V1VolumeUsageResponse

func (*VolumeUsageOK) IsClientError added in v0.19.0

func (o *VolumeUsageOK) IsClientError() bool

IsClientError returns true when this volume usage o k response has a 4xx status code

func (*VolumeUsageOK) IsCode added in v0.19.0

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

IsCode returns true when this volume usage o k response a status code equal to that given

func (*VolumeUsageOK) IsRedirect added in v0.19.0

func (o *VolumeUsageOK) IsRedirect() bool

IsRedirect returns true when this volume usage o k response has a 3xx status code

func (*VolumeUsageOK) IsServerError added in v0.19.0

func (o *VolumeUsageOK) IsServerError() bool

IsServerError returns true when this volume usage o k response has a 5xx status code

func (*VolumeUsageOK) IsSuccess added in v0.19.0

func (o *VolumeUsageOK) IsSuccess() bool

IsSuccess returns true when this volume usage o k response has a 2xx status code

func (*VolumeUsageOK) String added in v0.19.0

func (o *VolumeUsageOK) String() string

type VolumeUsageParams

type VolumeUsageParams struct {

	// Body.
	Body *models.V1VolumeUsageRequest

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

VolumeUsageParams contains all the parameters to send to the API endpoint

for the volume usage operation.

Typically these are written to a http.Request.

func NewVolumeUsageParams

func NewVolumeUsageParams() *VolumeUsageParams

NewVolumeUsageParams creates a new VolumeUsageParams 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 NewVolumeUsageParamsWithContext

func NewVolumeUsageParamsWithContext(ctx context.Context) *VolumeUsageParams

NewVolumeUsageParamsWithContext creates a new VolumeUsageParams object with the ability to set a context for a request.

func NewVolumeUsageParamsWithHTTPClient

func NewVolumeUsageParamsWithHTTPClient(client *http.Client) *VolumeUsageParams

NewVolumeUsageParamsWithHTTPClient creates a new VolumeUsageParams object with the ability to set a custom HTTPClient for a request.

func NewVolumeUsageParamsWithTimeout

func NewVolumeUsageParamsWithTimeout(timeout time.Duration) *VolumeUsageParams

NewVolumeUsageParamsWithTimeout creates a new VolumeUsageParams object with the ability to set a timeout on a request.

func (*VolumeUsageParams) SetBody

func (o *VolumeUsageParams) SetBody(body *models.V1VolumeUsageRequest)

SetBody adds the body to the volume usage params

func (*VolumeUsageParams) SetContext

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

SetContext adds the context to the volume usage params

func (*VolumeUsageParams) SetDefaults added in v0.12.0

func (o *VolumeUsageParams) SetDefaults()

SetDefaults hydrates default values in the volume usage params (not the query body).

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

func (*VolumeUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the volume usage params

func (*VolumeUsageParams) SetTimeout

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

SetTimeout adds the timeout to the volume usage params

func (*VolumeUsageParams) WithBody

WithBody adds the body to the volume usage params

func (*VolumeUsageParams) WithContext

func (o *VolumeUsageParams) WithContext(ctx context.Context) *VolumeUsageParams

WithContext adds the context to the volume usage params

func (*VolumeUsageParams) WithDefaults added in v0.12.0

func (o *VolumeUsageParams) WithDefaults() *VolumeUsageParams

WithDefaults hydrates default values in the volume usage params (not the query body).

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

func (*VolumeUsageParams) WithHTTPClient

func (o *VolumeUsageParams) WithHTTPClient(client *http.Client) *VolumeUsageParams

WithHTTPClient adds the HTTPClient to the volume usage params

func (*VolumeUsageParams) WithTimeout

func (o *VolumeUsageParams) WithTimeout(timeout time.Duration) *VolumeUsageParams

WithTimeout adds the timeout to the volume usage params

func (*VolumeUsageParams) WriteToRequest

func (o *VolumeUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type VolumeUsageReader

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

VolumeUsageReader is a Reader for the VolumeUsage structure.

func (*VolumeUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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