accounting

package
v0.7.15 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for accounting API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new accounting API client.

func (*Client) ClusterUsage

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

ClusterUsage finds cluster usage for given accounting query

func (*Client) ClusterUsageCSV

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

ClusterUsageCSV finds cluster usage for given accounting query

func (*Client) ContainerUsage

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

ContainerUsage finds container usage for given accounting query

func (*Client) ContainerUsageCSV

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

ContainerUsageCSV finds container usage for given accounting query

func (*Client) IPUsage

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

IPUsage finds ip usage for given accounting query

func (*Client) IPUsageCSV

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

IPUsageCSV finds ip usage for given accounting query

func (*Client) NetworkUsage

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

NetworkUsage finds network usage for given accounting query

func (*Client) NetworkUsageCSV

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

NetworkUsageCSV finds network usage for given accounting query

func (*Client) S3Usage

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

S3Usage finds s3 bucket usage for given accounting query

func (*Client) S3UsageCSV

func (a *Client) S3UsageCSV(params *S3UsageCSVParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*VolumeUsageOK, error)

VolumeUsage finds volume usage for given accounting query

func (*Client) VolumeUsageCSV

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

VolumeUsageCSV finds volume usage for given accounting query

type ClusterUsageCSVDefault

type ClusterUsageCSVDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ClusterUsageCSVDefault handles this case 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

type ClusterUsageCSVOK

type ClusterUsageCSVOK struct {
	Payload string
}

ClusterUsageCSVOK handles this case with default header values.

OK

func NewClusterUsageCSVOK

func NewClusterUsageCSVOK() *ClusterUsageCSVOK

NewClusterUsageCSVOK creates a ClusterUsageCSVOK with default headers values

func (*ClusterUsageCSVOK) Error

func (o *ClusterUsageCSVOK) Error() 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 values initialized.

func NewClusterUsageCSVParamsWithContext

func NewClusterUsageCSVParamsWithContext(ctx context.Context) *ClusterUsageCSVParams

NewClusterUsageCSVParamsWithContext creates a new ClusterUsageCSVParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ClusterUsageDefault handles this case 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

type ClusterUsageOK

type ClusterUsageOK struct {
	Payload *models.V1ClusterUsageResponse
}

ClusterUsageOK handles this case with default header values.

OK

func NewClusterUsageOK

func NewClusterUsageOK() *ClusterUsageOK

NewClusterUsageOK creates a ClusterUsageOK with default headers values

func (*ClusterUsageOK) Error

func (o *ClusterUsageOK) Error() 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 values initialized.

func NewClusterUsageParamsWithContext

func NewClusterUsageParamsWithContext(ctx context.Context) *ClusterUsageParams

NewClusterUsageParamsWithContext creates a new ClusterUsageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ContainerUsageCSVDefault handles this case 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

type ContainerUsageCSVOK

type ContainerUsageCSVOK struct {
	Payload string
}

ContainerUsageCSVOK handles this case with default header values.

OK

func NewContainerUsageCSVOK

func NewContainerUsageCSVOK() *ContainerUsageCSVOK

NewContainerUsageCSVOK creates a ContainerUsageCSVOK with default headers values

func (*ContainerUsageCSVOK) Error

func (o *ContainerUsageCSVOK) Error() 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 values initialized.

func NewContainerUsageCSVParamsWithContext

func NewContainerUsageCSVParamsWithContext(ctx context.Context) *ContainerUsageCSVParams

NewContainerUsageCSVParamsWithContext creates a new ContainerUsageCSVParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ContainerUsageDefault handles this case 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

type ContainerUsageOK

type ContainerUsageOK struct {
	Payload *models.V1ContainerUsageResponse
}

ContainerUsageOK handles this case with default header values.

OK

func NewContainerUsageOK

func NewContainerUsageOK() *ContainerUsageOK

NewContainerUsageOK creates a ContainerUsageOK with default headers values

func (*ContainerUsageOK) Error

func (o *ContainerUsageOK) Error() 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 values initialized.

func NewContainerUsageParamsWithContext

func NewContainerUsageParamsWithContext(ctx context.Context) *ContainerUsageParams

NewContainerUsageParamsWithContext creates a new ContainerUsageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

IPUsageCSVDefault handles this case 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

type IPUsageCSVOK

type IPUsageCSVOK struct {
	Payload string
}

IPUsageCSVOK handles this case with default header values.

OK

func NewIPUsageCSVOK

func NewIPUsageCSVOK() *IPUsageCSVOK

NewIPUsageCSVOK creates a IPUsageCSVOK with default headers values

func (*IPUsageCSVOK) Error

func (o *IPUsageCSVOK) Error() 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 values initialized.

func NewIPUsageCSVParamsWithContext

func NewIPUsageCSVParamsWithContext(ctx context.Context) *IPUsageCSVParams

NewIPUsageCSVParamsWithContext creates a new IPUsageCSVParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

IPUsageDefault handles this case 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

type IPUsageOK

type IPUsageOK struct {
	Payload *models.V1IPUsageResponse
}

IPUsageOK handles this case with default header values.

OK

func NewIPUsageOK

func NewIPUsageOK() *IPUsageOK

NewIPUsageOK creates a IPUsageOK with default headers values

func (*IPUsageOK) Error

func (o *IPUsageOK) Error() 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 values initialized.

func NewIPUsageParamsWithContext

func NewIPUsageParamsWithContext(ctx context.Context) *IPUsageParams

NewIPUsageParamsWithContext creates a new IPUsageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 NetworkUsageCSVDefault

type NetworkUsageCSVDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

NetworkUsageCSVDefault handles this case 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

type NetworkUsageCSVOK

type NetworkUsageCSVOK struct {
	Payload string
}

NetworkUsageCSVOK handles this case with default header values.

OK

func NewNetworkUsageCSVOK

func NewNetworkUsageCSVOK() *NetworkUsageCSVOK

NewNetworkUsageCSVOK creates a NetworkUsageCSVOK with default headers values

func (*NetworkUsageCSVOK) Error

func (o *NetworkUsageCSVOK) Error() 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 values initialized.

func NewNetworkUsageCSVParamsWithContext

func NewNetworkUsageCSVParamsWithContext(ctx context.Context) *NetworkUsageCSVParams

NewNetworkUsageCSVParamsWithContext creates a new NetworkUsageCSVParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

NetworkUsageDefault handles this case 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

type NetworkUsageOK

type NetworkUsageOK struct {
	Payload *models.V1NetworkUsageResponse
}

NetworkUsageOK handles this case with default header values.

OK

func NewNetworkUsageOK

func NewNetworkUsageOK() *NetworkUsageOK

NewNetworkUsageOK creates a NetworkUsageOK with default headers values

func (*NetworkUsageOK) Error

func (o *NetworkUsageOK) Error() 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 values initialized.

func NewNetworkUsageParamsWithContext

func NewNetworkUsageParamsWithContext(ctx context.Context) *NetworkUsageParams

NewNetworkUsageParamsWithContext creates a new NetworkUsageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 S3UsageCSVDefault

type S3UsageCSVDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

S3UsageCSVDefault handles this case 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

type S3UsageCSVOK

type S3UsageCSVOK struct {
	Payload string
}

S3UsageCSVOK handles this case with default header values.

OK

func NewS3UsageCSVOK

func NewS3UsageCSVOK() *S3UsageCSVOK

NewS3UsageCSVOK creates a S3UsageCSVOK with default headers values

func (*S3UsageCSVOK) Error

func (o *S3UsageCSVOK) Error() 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 values initialized.

func NewS3UsageCSVParamsWithContext

func NewS3UsageCSVParamsWithContext(ctx context.Context) *S3UsageCSVParams

NewS3UsageCSVParamsWithContext creates a new S3UsageCSVParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

S3UsageDefault handles this case 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

type S3UsageOK

type S3UsageOK struct {
	Payload *models.V1S3UsageResponse
}

S3UsageOK handles this case with default header values.

OK

func NewS3UsageOK

func NewS3UsageOK() *S3UsageOK

NewS3UsageOK creates a S3UsageOK with default headers values

func (*S3UsageOK) Error

func (o *S3UsageOK) Error() 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 values initialized.

func NewS3UsageParamsWithContext

func NewS3UsageParamsWithContext(ctx context.Context) *S3UsageParams

NewS3UsageParamsWithContext creates a new S3UsageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

VolumeUsageCSVDefault handles this case 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

type VolumeUsageCSVOK

type VolumeUsageCSVOK struct {
	Payload string
}

VolumeUsageCSVOK handles this case with default header values.

OK

func NewVolumeUsageCSVOK

func NewVolumeUsageCSVOK() *VolumeUsageCSVOK

NewVolumeUsageCSVOK creates a VolumeUsageCSVOK with default headers values

func (*VolumeUsageCSVOK) Error

func (o *VolumeUsageCSVOK) Error() 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 values initialized.

func NewVolumeUsageCSVParamsWithContext

func NewVolumeUsageCSVParamsWithContext(ctx context.Context) *VolumeUsageCSVParams

NewVolumeUsageCSVParamsWithContext creates a new VolumeUsageCSVParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

VolumeUsageDefault handles this case 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

type VolumeUsageOK

type VolumeUsageOK struct {
	Payload *models.V1VolumeUsageResponse
}

VolumeUsageOK handles this case with default header values.

OK

func NewVolumeUsageOK

func NewVolumeUsageOK() *VolumeUsageOK

NewVolumeUsageOK creates a VolumeUsageOK with default headers values

func (*VolumeUsageOK) Error

func (o *VolumeUsageOK) Error() 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 values initialized.

func NewVolumeUsageParamsWithContext

func NewVolumeUsageParamsWithContext(ctx context.Context) *VolumeUsageParams

NewVolumeUsageParamsWithContext creates a new VolumeUsageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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