billing_costs_analysis

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 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 billing costs analysis API

func (*Client) GetCostsDeployments

func (a *Client) GetCostsDeployments(params *GetCostsDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsDeploymentsOK, error)

GetCostsDeployments gets deployments costs for the organization

EXPERIMENTAL (it may change in future versions): Retrieves the costs associated with all deployments for the organization.

func (*Client) GetCostsItems

func (a *Client) GetCostsItems(params *GetCostsItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsOK, error)

GetCostsItems gets itemized costs for the organization

EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the organization.

func (*Client) GetCostsItemsByDeployment

func (a *Client) GetCostsItemsByDeployment(params *GetCostsItemsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsByDeploymentOK, error)

GetCostsItemsByDeployment gets itemized costs by deployments

EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the given deployment.

func (*Client) GetCostsOverview

func (a *Client) GetCostsOverview(params *GetCostsOverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOverviewOK, error)

GetCostsOverview gets costs overview for the organization

EXPERIMENTAL (it may change in future versions): Retrieves an overview of the costs by organization ID.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetCostsDeployments(params *GetCostsDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsDeploymentsOK, error)

	GetCostsItems(params *GetCostsItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsOK, error)

	GetCostsItemsByDeployment(params *GetCostsItemsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsByDeploymentOK, error)

	GetCostsOverview(params *GetCostsOverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOverviewOK, 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 billing costs analysis API client.

type GetCostsDeploymentsForbidden

type GetCostsDeploymentsForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetCostsDeploymentsForbidden describes a response with status code 403, with default header values.

The current user does not have access to the requested organization. (code: `organization.invalid_access`)

func NewGetCostsDeploymentsForbidden

func NewGetCostsDeploymentsForbidden() *GetCostsDeploymentsForbidden

NewGetCostsDeploymentsForbidden creates a GetCostsDeploymentsForbidden with default headers values

func (*GetCostsDeploymentsForbidden) Error

func (*GetCostsDeploymentsForbidden) GetPayload

type GetCostsDeploymentsOK

type GetCostsDeploymentsOK struct {
	Payload *models.DeploymentsCosts
}
GetCostsDeploymentsOK describes a response with status code 200, with default header values.

The costs associated to a set of products

func NewGetCostsDeploymentsOK

func NewGetCostsDeploymentsOK() *GetCostsDeploymentsOK

NewGetCostsDeploymentsOK creates a GetCostsDeploymentsOK with default headers values

func (*GetCostsDeploymentsOK) Error

func (o *GetCostsDeploymentsOK) Error() string

func (*GetCostsDeploymentsOK) GetPayload

type GetCostsDeploymentsParams

type GetCostsDeploymentsParams struct {

	/* From.

	   A datetime for the beginning of the desired range for which to fetch activity. Defaults to start of current month. Note: there is currently a three-month maximum date range.
	*/
	From *string

	/* OrganizationID.

	   Identifier for the organization
	*/
	OrganizationID string

	/* To.

	   A datetime for the end of the desired range for which to fetch activity. Defaults to the current date. Note: there is currently a three-month maximum date range.
	*/
	To *string

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

GetCostsDeploymentsParams contains all the parameters to send to the API endpoint

for the get costs deployments operation.

Typically these are written to a http.Request.

func NewGetCostsDeploymentsParams

func NewGetCostsDeploymentsParams() *GetCostsDeploymentsParams

NewGetCostsDeploymentsParams creates a new GetCostsDeploymentsParams 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 NewGetCostsDeploymentsParamsWithContext

func NewGetCostsDeploymentsParamsWithContext(ctx context.Context) *GetCostsDeploymentsParams

NewGetCostsDeploymentsParamsWithContext creates a new GetCostsDeploymentsParams object with the ability to set a context for a request.

func NewGetCostsDeploymentsParamsWithHTTPClient

func NewGetCostsDeploymentsParamsWithHTTPClient(client *http.Client) *GetCostsDeploymentsParams

NewGetCostsDeploymentsParamsWithHTTPClient creates a new GetCostsDeploymentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsDeploymentsParamsWithTimeout

func NewGetCostsDeploymentsParamsWithTimeout(timeout time.Duration) *GetCostsDeploymentsParams

NewGetCostsDeploymentsParamsWithTimeout creates a new GetCostsDeploymentsParams object with the ability to set a timeout on a request.

func (*GetCostsDeploymentsParams) SetContext

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

SetContext adds the context to the get costs deployments params

func (*GetCostsDeploymentsParams) SetDefaults

func (o *GetCostsDeploymentsParams) SetDefaults()

SetDefaults hydrates default values in the get costs deployments params (not the query body).

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

func (*GetCostsDeploymentsParams) SetFrom

func (o *GetCostsDeploymentsParams) SetFrom(from *string)

SetFrom adds the from to the get costs deployments params

func (*GetCostsDeploymentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get costs deployments params

func (*GetCostsDeploymentsParams) SetOrganizationID

func (o *GetCostsDeploymentsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get costs deployments params

func (*GetCostsDeploymentsParams) SetTimeout

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

SetTimeout adds the timeout to the get costs deployments params

func (*GetCostsDeploymentsParams) SetTo

func (o *GetCostsDeploymentsParams) SetTo(to *string)

SetTo adds the to to the get costs deployments params

func (*GetCostsDeploymentsParams) WithContext

WithContext adds the context to the get costs deployments params

func (*GetCostsDeploymentsParams) WithDefaults

WithDefaults hydrates default values in the get costs deployments params (not the query body).

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

func (*GetCostsDeploymentsParams) WithFrom

WithFrom adds the from to the get costs deployments params

func (*GetCostsDeploymentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get costs deployments params

func (*GetCostsDeploymentsParams) WithOrganizationID

func (o *GetCostsDeploymentsParams) WithOrganizationID(organizationID string) *GetCostsDeploymentsParams

WithOrganizationID adds the organizationID to the get costs deployments params

func (*GetCostsDeploymentsParams) WithTimeout

WithTimeout adds the timeout to the get costs deployments params

func (*GetCostsDeploymentsParams) WithTo

WithTo adds the to to the get costs deployments params

func (*GetCostsDeploymentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCostsDeploymentsReader

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

GetCostsDeploymentsReader is a Reader for the GetCostsDeployments structure.

func (*GetCostsDeploymentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostsItemsByDeploymentForbidden

type GetCostsItemsByDeploymentForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetCostsItemsByDeploymentForbidden describes a response with status code 403, with default header values.

The current user does not have access to the requested organization. (code: `organization.invalid_access`)

func NewGetCostsItemsByDeploymentForbidden

func NewGetCostsItemsByDeploymentForbidden() *GetCostsItemsByDeploymentForbidden

NewGetCostsItemsByDeploymentForbidden creates a GetCostsItemsByDeploymentForbidden with default headers values

func (*GetCostsItemsByDeploymentForbidden) Error

func (*GetCostsItemsByDeploymentForbidden) GetPayload

type GetCostsItemsByDeploymentOK

type GetCostsItemsByDeploymentOK struct {
	Payload *models.ItemsCosts
}
GetCostsItemsByDeploymentOK describes a response with status code 200, with default header values.

The costs associated to a set items billed for a single deployment.

func NewGetCostsItemsByDeploymentOK

func NewGetCostsItemsByDeploymentOK() *GetCostsItemsByDeploymentOK

NewGetCostsItemsByDeploymentOK creates a GetCostsItemsByDeploymentOK with default headers values

func (*GetCostsItemsByDeploymentOK) Error

func (*GetCostsItemsByDeploymentOK) GetPayload

type GetCostsItemsByDeploymentParams

type GetCostsItemsByDeploymentParams struct {

	/* DeploymentID.

	   Id of a Deployment
	*/
	DeploymentID string

	/* From.

	   A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. Note: there is currently a three-month maximum date range.
	*/
	From *string

	/* OrganizationID.

	   Identifier for the organization
	*/
	OrganizationID string

	/* To.

	   A datetime for the end of the desired range for which to fetch costs. Defaults to the current date. Note: there is currently a three-month maximum date range.
	*/
	To *string

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

GetCostsItemsByDeploymentParams contains all the parameters to send to the API endpoint

for the get costs items by deployment operation.

Typically these are written to a http.Request.

func NewGetCostsItemsByDeploymentParams

func NewGetCostsItemsByDeploymentParams() *GetCostsItemsByDeploymentParams

NewGetCostsItemsByDeploymentParams creates a new GetCostsItemsByDeploymentParams 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 NewGetCostsItemsByDeploymentParamsWithContext

func NewGetCostsItemsByDeploymentParamsWithContext(ctx context.Context) *GetCostsItemsByDeploymentParams

NewGetCostsItemsByDeploymentParamsWithContext creates a new GetCostsItemsByDeploymentParams object with the ability to set a context for a request.

func NewGetCostsItemsByDeploymentParamsWithHTTPClient

func NewGetCostsItemsByDeploymentParamsWithHTTPClient(client *http.Client) *GetCostsItemsByDeploymentParams

NewGetCostsItemsByDeploymentParamsWithHTTPClient creates a new GetCostsItemsByDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsItemsByDeploymentParamsWithTimeout

func NewGetCostsItemsByDeploymentParamsWithTimeout(timeout time.Duration) *GetCostsItemsByDeploymentParams

NewGetCostsItemsByDeploymentParamsWithTimeout creates a new GetCostsItemsByDeploymentParams object with the ability to set a timeout on a request.

func (*GetCostsItemsByDeploymentParams) SetContext

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

SetContext adds the context to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) SetDefaults

func (o *GetCostsItemsByDeploymentParams) SetDefaults()

SetDefaults hydrates default values in the get costs items by deployment params (not the query body).

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

func (*GetCostsItemsByDeploymentParams) SetDeploymentID

func (o *GetCostsItemsByDeploymentParams) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) SetFrom

func (o *GetCostsItemsByDeploymentParams) SetFrom(from *string)

SetFrom adds the from to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) SetOrganizationID

func (o *GetCostsItemsByDeploymentParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) SetTo

SetTo adds the to to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithContext

WithContext adds the context to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithDefaults

WithDefaults hydrates default values in the get costs items by deployment params (not the query body).

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

func (*GetCostsItemsByDeploymentParams) WithDeploymentID

func (o *GetCostsItemsByDeploymentParams) WithDeploymentID(deploymentID string) *GetCostsItemsByDeploymentParams

WithDeploymentID adds the deploymentID to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithFrom

WithFrom adds the from to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithOrganizationID

func (o *GetCostsItemsByDeploymentParams) WithOrganizationID(organizationID string) *GetCostsItemsByDeploymentParams

WithOrganizationID adds the organizationID to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithTimeout

WithTimeout adds the timeout to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WithTo

WithTo adds the to to the get costs items by deployment params

func (*GetCostsItemsByDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCostsItemsByDeploymentReader

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

GetCostsItemsByDeploymentReader is a Reader for the GetCostsItemsByDeployment structure.

func (*GetCostsItemsByDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostsItemsForbidden

type GetCostsItemsForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetCostsItemsForbidden describes a response with status code 403, with default header values.

The current user does not have access to the requested organization. (code: `organization.invalid_access`)

func NewGetCostsItemsForbidden

func NewGetCostsItemsForbidden() *GetCostsItemsForbidden

NewGetCostsItemsForbidden creates a GetCostsItemsForbidden with default headers values

func (*GetCostsItemsForbidden) Error

func (o *GetCostsItemsForbidden) Error() string

func (*GetCostsItemsForbidden) GetPayload

type GetCostsItemsOK

type GetCostsItemsOK struct {
	Payload *models.ItemsCosts
}
GetCostsItemsOK describes a response with status code 200, with default header values.

The costs associated to a set of items

func NewGetCostsItemsOK

func NewGetCostsItemsOK() *GetCostsItemsOK

NewGetCostsItemsOK creates a GetCostsItemsOK with default headers values

func (*GetCostsItemsOK) Error

func (o *GetCostsItemsOK) Error() string

func (*GetCostsItemsOK) GetPayload

func (o *GetCostsItemsOK) GetPayload() *models.ItemsCosts

type GetCostsItemsParams

type GetCostsItemsParams struct {

	/* From.

	   A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. Note: there is currently a three-month maximum date range.
	*/
	From *string

	/* OrganizationID.

	   Identifier for the organization
	*/
	OrganizationID string

	/* To.

	   A datetime for the end of the desired range for which to fetch costs. Defaults to the current date. Note: there is currently a three-month maximum date range.
	*/
	To *string

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

GetCostsItemsParams contains all the parameters to send to the API endpoint

for the get costs items operation.

Typically these are written to a http.Request.

func NewGetCostsItemsParams

func NewGetCostsItemsParams() *GetCostsItemsParams

NewGetCostsItemsParams creates a new GetCostsItemsParams 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 NewGetCostsItemsParamsWithContext

func NewGetCostsItemsParamsWithContext(ctx context.Context) *GetCostsItemsParams

NewGetCostsItemsParamsWithContext creates a new GetCostsItemsParams object with the ability to set a context for a request.

func NewGetCostsItemsParamsWithHTTPClient

func NewGetCostsItemsParamsWithHTTPClient(client *http.Client) *GetCostsItemsParams

NewGetCostsItemsParamsWithHTTPClient creates a new GetCostsItemsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsItemsParamsWithTimeout

func NewGetCostsItemsParamsWithTimeout(timeout time.Duration) *GetCostsItemsParams

NewGetCostsItemsParamsWithTimeout creates a new GetCostsItemsParams object with the ability to set a timeout on a request.

func (*GetCostsItemsParams) SetContext

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

SetContext adds the context to the get costs items params

func (*GetCostsItemsParams) SetDefaults

func (o *GetCostsItemsParams) SetDefaults()

SetDefaults hydrates default values in the get costs items params (not the query body).

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

func (*GetCostsItemsParams) SetFrom

func (o *GetCostsItemsParams) SetFrom(from *string)

SetFrom adds the from to the get costs items params

func (*GetCostsItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get costs items params

func (*GetCostsItemsParams) SetOrganizationID

func (o *GetCostsItemsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get costs items params

func (*GetCostsItemsParams) SetTimeout

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

SetTimeout adds the timeout to the get costs items params

func (*GetCostsItemsParams) SetTo

func (o *GetCostsItemsParams) SetTo(to *string)

SetTo adds the to to the get costs items params

func (*GetCostsItemsParams) WithContext

WithContext adds the context to the get costs items params

func (*GetCostsItemsParams) WithDefaults

func (o *GetCostsItemsParams) WithDefaults() *GetCostsItemsParams

WithDefaults hydrates default values in the get costs items params (not the query body).

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

func (*GetCostsItemsParams) WithFrom

func (o *GetCostsItemsParams) WithFrom(from *string) *GetCostsItemsParams

WithFrom adds the from to the get costs items params

func (*GetCostsItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get costs items params

func (*GetCostsItemsParams) WithOrganizationID

func (o *GetCostsItemsParams) WithOrganizationID(organizationID string) *GetCostsItemsParams

WithOrganizationID adds the organizationID to the get costs items params

func (*GetCostsItemsParams) WithTimeout

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

WithTimeout adds the timeout to the get costs items params

func (*GetCostsItemsParams) WithTo

WithTo adds the to to the get costs items params

func (*GetCostsItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCostsItemsReader

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

GetCostsItemsReader is a Reader for the GetCostsItems structure.

func (*GetCostsItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostsOverviewForbidden

type GetCostsOverviewForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetCostsOverviewForbidden describes a response with status code 403, with default header values.

The current user does not have access to the requested organization. (code: `organization.invalid_access`)

func NewGetCostsOverviewForbidden

func NewGetCostsOverviewForbidden() *GetCostsOverviewForbidden

NewGetCostsOverviewForbidden creates a GetCostsOverviewForbidden with default headers values

func (*GetCostsOverviewForbidden) Error

func (o *GetCostsOverviewForbidden) Error() string

func (*GetCostsOverviewForbidden) GetPayload

type GetCostsOverviewOK

type GetCostsOverviewOK struct {
	Payload *models.CostsOverview
}
GetCostsOverviewOK describes a response with status code 200, with default header values.

Top-level cost overview for the organization

func NewGetCostsOverviewOK

func NewGetCostsOverviewOK() *GetCostsOverviewOK

NewGetCostsOverviewOK creates a GetCostsOverviewOK with default headers values

func (*GetCostsOverviewOK) Error

func (o *GetCostsOverviewOK) Error() string

func (*GetCostsOverviewOK) GetPayload

func (o *GetCostsOverviewOK) GetPayload() *models.CostsOverview

type GetCostsOverviewParams

type GetCostsOverviewParams struct {

	/* From.

	   A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. Note: there is currently a three-month maximum date range.
	*/
	From *string

	/* OrganizationID.

	   Identifier for the organization
	*/
	OrganizationID string

	/* To.

	   A datetime for the end of the desired range for which to fetch costs. Defaults to the current date. Note: there is currently a three-month maximum date range.
	*/
	To *string

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

GetCostsOverviewParams contains all the parameters to send to the API endpoint

for the get costs overview operation.

Typically these are written to a http.Request.

func NewGetCostsOverviewParams

func NewGetCostsOverviewParams() *GetCostsOverviewParams

NewGetCostsOverviewParams creates a new GetCostsOverviewParams 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 NewGetCostsOverviewParamsWithContext

func NewGetCostsOverviewParamsWithContext(ctx context.Context) *GetCostsOverviewParams

NewGetCostsOverviewParamsWithContext creates a new GetCostsOverviewParams object with the ability to set a context for a request.

func NewGetCostsOverviewParamsWithHTTPClient

func NewGetCostsOverviewParamsWithHTTPClient(client *http.Client) *GetCostsOverviewParams

NewGetCostsOverviewParamsWithHTTPClient creates a new GetCostsOverviewParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsOverviewParamsWithTimeout

func NewGetCostsOverviewParamsWithTimeout(timeout time.Duration) *GetCostsOverviewParams

NewGetCostsOverviewParamsWithTimeout creates a new GetCostsOverviewParams object with the ability to set a timeout on a request.

func (*GetCostsOverviewParams) SetContext

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

SetContext adds the context to the get costs overview params

func (*GetCostsOverviewParams) SetDefaults

func (o *GetCostsOverviewParams) SetDefaults()

SetDefaults hydrates default values in the get costs overview params (not the query body).

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

func (*GetCostsOverviewParams) SetFrom

func (o *GetCostsOverviewParams) SetFrom(from *string)

SetFrom adds the from to the get costs overview params

func (*GetCostsOverviewParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get costs overview params

func (*GetCostsOverviewParams) SetOrganizationID

func (o *GetCostsOverviewParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get costs overview params

func (*GetCostsOverviewParams) SetTimeout

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

SetTimeout adds the timeout to the get costs overview params

func (*GetCostsOverviewParams) SetTo

func (o *GetCostsOverviewParams) SetTo(to *string)

SetTo adds the to to the get costs overview params

func (*GetCostsOverviewParams) WithContext

WithContext adds the context to the get costs overview params

func (*GetCostsOverviewParams) WithDefaults

WithDefaults hydrates default values in the get costs overview params (not the query body).

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

func (*GetCostsOverviewParams) WithFrom

WithFrom adds the from to the get costs overview params

func (*GetCostsOverviewParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get costs overview params

func (*GetCostsOverviewParams) WithOrganizationID

func (o *GetCostsOverviewParams) WithOrganizationID(organizationID string) *GetCostsOverviewParams

WithOrganizationID adds the organizationID to the get costs overview params

func (*GetCostsOverviewParams) WithTimeout

WithTimeout adds the timeout to the get costs overview params

func (*GetCostsOverviewParams) WithTo

WithTo adds the to to the get costs overview params

func (*GetCostsOverviewParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCostsOverviewReader

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

GetCostsOverviewReader is a Reader for the GetCostsOverview structure.

func (*GetCostsOverviewReader) ReadResponse

func (o *GetCostsOverviewReader) 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