billing_costs_analysis

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 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) GetCostsCharts added in v1.10.0

func (a *Client) GetCostsCharts(params *GetCostsChartsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsChartsOK, error)

GetCostsCharts gets charts for the organization currently unavailable in self hosted e c e

EXPERIMENTAL (it may change in future versions): Retrieves the usage charts for the organization.

func (*Client) GetCostsChartsByDeployment added in v1.10.0

func (a *Client) GetCostsChartsByDeployment(params *GetCostsChartsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsChartsByDeploymentOK, error)

GetCostsChartsByDeployment gets charts by deployment currently unavailable in self hosted e c e

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

func (*Client) GetCostsDeployments

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

GetCostsDeployments gets deployments costs for the organization currently unavailable in self hosted e c e

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 currently unavailable in self hosted e c e

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 currently unavailable in self hosted e c e

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 currently unavailable in self hosted e c e

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 {
	GetCostsCharts(params *GetCostsChartsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsChartsOK, error)

	GetCostsChartsByDeployment(params *GetCostsChartsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsChartsByDeploymentOK, error)

	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 GetCostsChartsBadRequest added in v1.10.0

type GetCostsChartsBadRequest struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsBadRequest describes a response with status code 400, with default header values.

The specified date range is invalid. (code: `costs.invalid_date_range`)

func NewGetCostsChartsBadRequest added in v1.10.0

func NewGetCostsChartsBadRequest() *GetCostsChartsBadRequest

NewGetCostsChartsBadRequest creates a GetCostsChartsBadRequest with default headers values

func (*GetCostsChartsBadRequest) Code added in v1.13.0

func (o *GetCostsChartsBadRequest) Code() int

Code gets the status code for the get costs charts bad request response

func (*GetCostsChartsBadRequest) Error added in v1.10.0

func (o *GetCostsChartsBadRequest) Error() string

func (*GetCostsChartsBadRequest) GetPayload added in v1.10.0

func (*GetCostsChartsBadRequest) IsClientError added in v1.13.0

func (o *GetCostsChartsBadRequest) IsClientError() bool

IsClientError returns true when this get costs charts bad request response has a 4xx status code

func (*GetCostsChartsBadRequest) IsCode added in v1.13.0

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

IsCode returns true when this get costs charts bad request response a status code equal to that given

func (*GetCostsChartsBadRequest) IsRedirect added in v1.13.0

func (o *GetCostsChartsBadRequest) IsRedirect() bool

IsRedirect returns true when this get costs charts bad request response has a 3xx status code

func (*GetCostsChartsBadRequest) IsServerError added in v1.13.0

func (o *GetCostsChartsBadRequest) IsServerError() bool

IsServerError returns true when this get costs charts bad request response has a 5xx status code

func (*GetCostsChartsBadRequest) IsSuccess added in v1.13.0

func (o *GetCostsChartsBadRequest) IsSuccess() bool

IsSuccess returns true when this get costs charts bad request response has a 2xx status code

func (*GetCostsChartsBadRequest) String added in v1.13.0

func (o *GetCostsChartsBadRequest) String() string

type GetCostsChartsByDeploymentBadRequest added in v1.10.0

type GetCostsChartsByDeploymentBadRequest struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsByDeploymentBadRequest describes a response with status code 400, with default header values.

The specified date range is invalid. (code: `costs.invalid_date_range`)

func NewGetCostsChartsByDeploymentBadRequest added in v1.10.0

func NewGetCostsChartsByDeploymentBadRequest() *GetCostsChartsByDeploymentBadRequest

NewGetCostsChartsByDeploymentBadRequest creates a GetCostsChartsByDeploymentBadRequest with default headers values

func (*GetCostsChartsByDeploymentBadRequest) Code added in v1.13.0

Code gets the status code for the get costs charts by deployment bad request response

func (*GetCostsChartsByDeploymentBadRequest) Error added in v1.10.0

func (*GetCostsChartsByDeploymentBadRequest) GetPayload added in v1.10.0

func (*GetCostsChartsByDeploymentBadRequest) IsClientError added in v1.13.0

func (o *GetCostsChartsByDeploymentBadRequest) IsClientError() bool

IsClientError returns true when this get costs charts by deployment bad request response has a 4xx status code

func (*GetCostsChartsByDeploymentBadRequest) IsCode added in v1.13.0

IsCode returns true when this get costs charts by deployment bad request response a status code equal to that given

func (*GetCostsChartsByDeploymentBadRequest) IsRedirect added in v1.13.0

IsRedirect returns true when this get costs charts by deployment bad request response has a 3xx status code

func (*GetCostsChartsByDeploymentBadRequest) IsServerError added in v1.13.0

func (o *GetCostsChartsByDeploymentBadRequest) IsServerError() bool

IsServerError returns true when this get costs charts by deployment bad request response has a 5xx status code

func (*GetCostsChartsByDeploymentBadRequest) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs charts by deployment bad request response has a 2xx status code

func (*GetCostsChartsByDeploymentBadRequest) String added in v1.13.0

type GetCostsChartsByDeploymentForbidden added in v1.10.0

type GetCostsChartsByDeploymentForbidden struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsByDeploymentForbidden 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 NewGetCostsChartsByDeploymentForbidden added in v1.10.0

func NewGetCostsChartsByDeploymentForbidden() *GetCostsChartsByDeploymentForbidden

NewGetCostsChartsByDeploymentForbidden creates a GetCostsChartsByDeploymentForbidden with default headers values

func (*GetCostsChartsByDeploymentForbidden) Code added in v1.13.0

Code gets the status code for the get costs charts by deployment forbidden response

func (*GetCostsChartsByDeploymentForbidden) Error added in v1.10.0

func (*GetCostsChartsByDeploymentForbidden) GetPayload added in v1.10.0

func (*GetCostsChartsByDeploymentForbidden) IsClientError added in v1.13.0

func (o *GetCostsChartsByDeploymentForbidden) IsClientError() bool

IsClientError returns true when this get costs charts by deployment forbidden response has a 4xx status code

func (*GetCostsChartsByDeploymentForbidden) IsCode added in v1.13.0

IsCode returns true when this get costs charts by deployment forbidden response a status code equal to that given

func (*GetCostsChartsByDeploymentForbidden) IsRedirect added in v1.13.0

func (o *GetCostsChartsByDeploymentForbidden) IsRedirect() bool

IsRedirect returns true when this get costs charts by deployment forbidden response has a 3xx status code

func (*GetCostsChartsByDeploymentForbidden) IsServerError added in v1.13.0

func (o *GetCostsChartsByDeploymentForbidden) IsServerError() bool

IsServerError returns true when this get costs charts by deployment forbidden response has a 5xx status code

func (*GetCostsChartsByDeploymentForbidden) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs charts by deployment forbidden response has a 2xx status code

func (*GetCostsChartsByDeploymentForbidden) String added in v1.13.0

type GetCostsChartsByDeploymentInternalServerError added in v1.10.0

type GetCostsChartsByDeploymentInternalServerError struct {

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

	Payload *models.BasicFailedReply
}

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

Error fetching the itemized costs for the organization. (code: `billing_service.failed_request`)

func NewGetCostsChartsByDeploymentInternalServerError added in v1.10.0

func NewGetCostsChartsByDeploymentInternalServerError() *GetCostsChartsByDeploymentInternalServerError

NewGetCostsChartsByDeploymentInternalServerError creates a GetCostsChartsByDeploymentInternalServerError with default headers values

func (*GetCostsChartsByDeploymentInternalServerError) Code added in v1.13.0

Code gets the status code for the get costs charts by deployment internal server error response

func (*GetCostsChartsByDeploymentInternalServerError) Error added in v1.10.0

func (*GetCostsChartsByDeploymentInternalServerError) GetPayload added in v1.10.0

func (*GetCostsChartsByDeploymentInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get costs charts by deployment internal server error response has a 4xx status code

func (*GetCostsChartsByDeploymentInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get costs charts by deployment internal server error response a status code equal to that given

func (*GetCostsChartsByDeploymentInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get costs charts by deployment internal server error response has a 3xx status code

func (*GetCostsChartsByDeploymentInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get costs charts by deployment internal server error response has a 5xx status code

func (*GetCostsChartsByDeploymentInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs charts by deployment internal server error response has a 2xx status code

func (*GetCostsChartsByDeploymentInternalServerError) String added in v1.13.0

type GetCostsChartsByDeploymentNotFound added in v1.10.0

type GetCostsChartsByDeploymentNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsByDeploymentNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewGetCostsChartsByDeploymentNotFound added in v1.10.0

func NewGetCostsChartsByDeploymentNotFound() *GetCostsChartsByDeploymentNotFound

NewGetCostsChartsByDeploymentNotFound creates a GetCostsChartsByDeploymentNotFound with default headers values

func (*GetCostsChartsByDeploymentNotFound) Code added in v1.13.0

Code gets the status code for the get costs charts by deployment not found response

func (*GetCostsChartsByDeploymentNotFound) Error added in v1.10.0

func (*GetCostsChartsByDeploymentNotFound) GetPayload added in v1.10.0

func (*GetCostsChartsByDeploymentNotFound) IsClientError added in v1.13.0

func (o *GetCostsChartsByDeploymentNotFound) IsClientError() bool

IsClientError returns true when this get costs charts by deployment not found response has a 4xx status code

func (*GetCostsChartsByDeploymentNotFound) IsCode added in v1.13.0

IsCode returns true when this get costs charts by deployment not found response a status code equal to that given

func (*GetCostsChartsByDeploymentNotFound) IsRedirect added in v1.13.0

func (o *GetCostsChartsByDeploymentNotFound) IsRedirect() bool

IsRedirect returns true when this get costs charts by deployment not found response has a 3xx status code

func (*GetCostsChartsByDeploymentNotFound) IsServerError added in v1.13.0

func (o *GetCostsChartsByDeploymentNotFound) IsServerError() bool

IsServerError returns true when this get costs charts by deployment not found response has a 5xx status code

func (*GetCostsChartsByDeploymentNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs charts by deployment not found response has a 2xx status code

func (*GetCostsChartsByDeploymentNotFound) String added in v1.13.0

type GetCostsChartsByDeploymentOK added in v1.10.0

type GetCostsChartsByDeploymentOK struct {
	Payload *models.ChartItems
}

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

The usage charts of a deployment.

func NewGetCostsChartsByDeploymentOK added in v1.10.0

func NewGetCostsChartsByDeploymentOK() *GetCostsChartsByDeploymentOK

NewGetCostsChartsByDeploymentOK creates a GetCostsChartsByDeploymentOK with default headers values

func (*GetCostsChartsByDeploymentOK) Code added in v1.13.0

Code gets the status code for the get costs charts by deployment o k response

func (*GetCostsChartsByDeploymentOK) Error added in v1.10.0

func (*GetCostsChartsByDeploymentOK) GetPayload added in v1.10.0

func (*GetCostsChartsByDeploymentOK) IsClientError added in v1.13.0

func (o *GetCostsChartsByDeploymentOK) IsClientError() bool

IsClientError returns true when this get costs charts by deployment o k response has a 4xx status code

func (*GetCostsChartsByDeploymentOK) IsCode added in v1.13.0

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

IsCode returns true when this get costs charts by deployment o k response a status code equal to that given

func (*GetCostsChartsByDeploymentOK) IsRedirect added in v1.13.0

func (o *GetCostsChartsByDeploymentOK) IsRedirect() bool

IsRedirect returns true when this get costs charts by deployment o k response has a 3xx status code

func (*GetCostsChartsByDeploymentOK) IsServerError added in v1.13.0

func (o *GetCostsChartsByDeploymentOK) IsServerError() bool

IsServerError returns true when this get costs charts by deployment o k response has a 5xx status code

func (*GetCostsChartsByDeploymentOK) IsSuccess added in v1.13.0

func (o *GetCostsChartsByDeploymentOK) IsSuccess() bool

IsSuccess returns true when this get costs charts by deployment o k response has a 2xx status code

func (*GetCostsChartsByDeploymentOK) String added in v1.13.0

type GetCostsChartsByDeploymentParams added in v1.10.0

type GetCostsChartsByDeploymentParams struct {

	/* BucketingStrategy.

	   The desired bucketing strategy for the charts. Defaults to `daily`.

	   Default: "Daily"
	*/
	BucketingStrategy *string

	/* 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.
	*/
	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.
	*/
	To *string

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

GetCostsChartsByDeploymentParams contains all the parameters to send to the API endpoint

for the get costs charts by deployment operation.

Typically these are written to a http.Request.

func NewGetCostsChartsByDeploymentParams added in v1.10.0

func NewGetCostsChartsByDeploymentParams() *GetCostsChartsByDeploymentParams

NewGetCostsChartsByDeploymentParams creates a new GetCostsChartsByDeploymentParams 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 NewGetCostsChartsByDeploymentParamsWithContext added in v1.10.0

func NewGetCostsChartsByDeploymentParamsWithContext(ctx context.Context) *GetCostsChartsByDeploymentParams

NewGetCostsChartsByDeploymentParamsWithContext creates a new GetCostsChartsByDeploymentParams object with the ability to set a context for a request.

func NewGetCostsChartsByDeploymentParamsWithHTTPClient added in v1.10.0

func NewGetCostsChartsByDeploymentParamsWithHTTPClient(client *http.Client) *GetCostsChartsByDeploymentParams

NewGetCostsChartsByDeploymentParamsWithHTTPClient creates a new GetCostsChartsByDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsChartsByDeploymentParamsWithTimeout added in v1.10.0

func NewGetCostsChartsByDeploymentParamsWithTimeout(timeout time.Duration) *GetCostsChartsByDeploymentParams

NewGetCostsChartsByDeploymentParamsWithTimeout creates a new GetCostsChartsByDeploymentParams object with the ability to set a timeout on a request.

func (*GetCostsChartsByDeploymentParams) SetBucketingStrategy added in v1.10.0

func (o *GetCostsChartsByDeploymentParams) SetBucketingStrategy(bucketingStrategy *string)

SetBucketingStrategy adds the bucketingStrategy to the get costs charts by deployment params

func (*GetCostsChartsByDeploymentParams) SetContext added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) SetDefaults added in v1.10.0

func (o *GetCostsChartsByDeploymentParams) SetDefaults()

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

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

func (*GetCostsChartsByDeploymentParams) SetDeploymentID added in v1.10.0

func (o *GetCostsChartsByDeploymentParams) SetDeploymentID(deploymentID string)

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

func (*GetCostsChartsByDeploymentParams) SetFrom added in v1.10.0

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

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

func (*GetCostsChartsByDeploymentParams) SetHTTPClient added in v1.10.0

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

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

func (*GetCostsChartsByDeploymentParams) SetOrganizationID added in v1.10.0

func (o *GetCostsChartsByDeploymentParams) SetOrganizationID(organizationID string)

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

func (*GetCostsChartsByDeploymentParams) SetTimeout added in v1.10.0

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

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

func (*GetCostsChartsByDeploymentParams) SetTo added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WithBucketingStrategy added in v1.10.0

func (o *GetCostsChartsByDeploymentParams) WithBucketingStrategy(bucketingStrategy *string) *GetCostsChartsByDeploymentParams

WithBucketingStrategy adds the bucketingStrategy to the get costs charts by deployment params

func (*GetCostsChartsByDeploymentParams) WithContext added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WithDefaults added in v1.10.0

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

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

func (*GetCostsChartsByDeploymentParams) WithDeploymentID added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WithFrom added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WithHTTPClient added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WithOrganizationID added in v1.10.0

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

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

func (*GetCostsChartsByDeploymentParams) WithTimeout added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WithTo added in v1.10.0

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

func (*GetCostsChartsByDeploymentParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type GetCostsChartsByDeploymentReader added in v1.10.0

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

GetCostsChartsByDeploymentReader is a Reader for the GetCostsChartsByDeployment structure.

func (*GetCostsChartsByDeploymentReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type GetCostsChartsByDeploymentTooManyRequests added in v1.14.0

type GetCostsChartsByDeploymentTooManyRequests struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsByDeploymentTooManyRequests describes a response with status code 429, with default header values.

Too many requests. (code: `billing_service.rate_limited`)

func NewGetCostsChartsByDeploymentTooManyRequests added in v1.14.0

func NewGetCostsChartsByDeploymentTooManyRequests() *GetCostsChartsByDeploymentTooManyRequests

NewGetCostsChartsByDeploymentTooManyRequests creates a GetCostsChartsByDeploymentTooManyRequests with default headers values

func (*GetCostsChartsByDeploymentTooManyRequests) Code added in v1.14.0

Code gets the status code for the get costs charts by deployment too many requests response

func (*GetCostsChartsByDeploymentTooManyRequests) Error added in v1.14.0

func (*GetCostsChartsByDeploymentTooManyRequests) GetPayload added in v1.14.0

func (*GetCostsChartsByDeploymentTooManyRequests) IsClientError added in v1.14.0

IsClientError returns true when this get costs charts by deployment too many requests response has a 4xx status code

func (*GetCostsChartsByDeploymentTooManyRequests) IsCode added in v1.14.0

IsCode returns true when this get costs charts by deployment too many requests response a status code equal to that given

func (*GetCostsChartsByDeploymentTooManyRequests) IsRedirect added in v1.14.0

IsRedirect returns true when this get costs charts by deployment too many requests response has a 3xx status code

func (*GetCostsChartsByDeploymentTooManyRequests) IsServerError added in v1.14.0

IsServerError returns true when this get costs charts by deployment too many requests response has a 5xx status code

func (*GetCostsChartsByDeploymentTooManyRequests) IsSuccess added in v1.14.0

IsSuccess returns true when this get costs charts by deployment too many requests response has a 2xx status code

func (*GetCostsChartsByDeploymentTooManyRequests) String added in v1.14.0

type GetCostsChartsForbidden added in v1.10.0

type GetCostsChartsForbidden struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsForbidden 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 NewGetCostsChartsForbidden added in v1.10.0

func NewGetCostsChartsForbidden() *GetCostsChartsForbidden

NewGetCostsChartsForbidden creates a GetCostsChartsForbidden with default headers values

func (*GetCostsChartsForbidden) Code added in v1.13.0

func (o *GetCostsChartsForbidden) Code() int

Code gets the status code for the get costs charts forbidden response

func (*GetCostsChartsForbidden) Error added in v1.10.0

func (o *GetCostsChartsForbidden) Error() string

func (*GetCostsChartsForbidden) GetPayload added in v1.10.0

func (*GetCostsChartsForbidden) IsClientError added in v1.13.0

func (o *GetCostsChartsForbidden) IsClientError() bool

IsClientError returns true when this get costs charts forbidden response has a 4xx status code

func (*GetCostsChartsForbidden) IsCode added in v1.13.0

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

IsCode returns true when this get costs charts forbidden response a status code equal to that given

func (*GetCostsChartsForbidden) IsRedirect added in v1.13.0

func (o *GetCostsChartsForbidden) IsRedirect() bool

IsRedirect returns true when this get costs charts forbidden response has a 3xx status code

func (*GetCostsChartsForbidden) IsServerError added in v1.13.0

func (o *GetCostsChartsForbidden) IsServerError() bool

IsServerError returns true when this get costs charts forbidden response has a 5xx status code

func (*GetCostsChartsForbidden) IsSuccess added in v1.13.0

func (o *GetCostsChartsForbidden) IsSuccess() bool

IsSuccess returns true when this get costs charts forbidden response has a 2xx status code

func (*GetCostsChartsForbidden) String added in v1.13.0

func (o *GetCostsChartsForbidden) String() string

type GetCostsChartsInternalServerError added in v1.10.0

type GetCostsChartsInternalServerError struct {

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

	Payload *models.BasicFailedReply
}

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

Error fetching the itemized costs for the organization. (code: `billing_service.failed_request`)

func NewGetCostsChartsInternalServerError added in v1.10.0

func NewGetCostsChartsInternalServerError() *GetCostsChartsInternalServerError

NewGetCostsChartsInternalServerError creates a GetCostsChartsInternalServerError with default headers values

func (*GetCostsChartsInternalServerError) Code added in v1.13.0

Code gets the status code for the get costs charts internal server error response

func (*GetCostsChartsInternalServerError) Error added in v1.10.0

func (*GetCostsChartsInternalServerError) GetPayload added in v1.10.0

func (*GetCostsChartsInternalServerError) IsClientError added in v1.13.0

func (o *GetCostsChartsInternalServerError) IsClientError() bool

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

func (*GetCostsChartsInternalServerError) IsCode added in v1.13.0

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

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

func (*GetCostsChartsInternalServerError) IsRedirect added in v1.13.0

func (o *GetCostsChartsInternalServerError) IsRedirect() bool

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

func (*GetCostsChartsInternalServerError) IsServerError added in v1.13.0

func (o *GetCostsChartsInternalServerError) IsServerError() bool

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

func (*GetCostsChartsInternalServerError) IsSuccess added in v1.13.0

func (o *GetCostsChartsInternalServerError) IsSuccess() bool

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

func (*GetCostsChartsInternalServerError) String added in v1.13.0

type GetCostsChartsNotFound added in v1.10.0

type GetCostsChartsNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewGetCostsChartsNotFound added in v1.10.0

func NewGetCostsChartsNotFound() *GetCostsChartsNotFound

NewGetCostsChartsNotFound creates a GetCostsChartsNotFound with default headers values

func (*GetCostsChartsNotFound) Code added in v1.13.0

func (o *GetCostsChartsNotFound) Code() int

Code gets the status code for the get costs charts not found response

func (*GetCostsChartsNotFound) Error added in v1.10.0

func (o *GetCostsChartsNotFound) Error() string

func (*GetCostsChartsNotFound) GetPayload added in v1.10.0

func (*GetCostsChartsNotFound) IsClientError added in v1.13.0

func (o *GetCostsChartsNotFound) IsClientError() bool

IsClientError returns true when this get costs charts not found response has a 4xx status code

func (*GetCostsChartsNotFound) IsCode added in v1.13.0

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

IsCode returns true when this get costs charts not found response a status code equal to that given

func (*GetCostsChartsNotFound) IsRedirect added in v1.13.0

func (o *GetCostsChartsNotFound) IsRedirect() bool

IsRedirect returns true when this get costs charts not found response has a 3xx status code

func (*GetCostsChartsNotFound) IsServerError added in v1.13.0

func (o *GetCostsChartsNotFound) IsServerError() bool

IsServerError returns true when this get costs charts not found response has a 5xx status code

func (*GetCostsChartsNotFound) IsSuccess added in v1.13.0

func (o *GetCostsChartsNotFound) IsSuccess() bool

IsSuccess returns true when this get costs charts not found response has a 2xx status code

func (*GetCostsChartsNotFound) String added in v1.13.0

func (o *GetCostsChartsNotFound) String() string

type GetCostsChartsOK added in v1.10.0

type GetCostsChartsOK struct {
	Payload *models.ChartItems
}

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

The usage charts of an organization.

func NewGetCostsChartsOK added in v1.10.0

func NewGetCostsChartsOK() *GetCostsChartsOK

NewGetCostsChartsOK creates a GetCostsChartsOK with default headers values

func (*GetCostsChartsOK) Code added in v1.13.0

func (o *GetCostsChartsOK) Code() int

Code gets the status code for the get costs charts o k response

func (*GetCostsChartsOK) Error added in v1.10.0

func (o *GetCostsChartsOK) Error() string

func (*GetCostsChartsOK) GetPayload added in v1.10.0

func (o *GetCostsChartsOK) GetPayload() *models.ChartItems

func (*GetCostsChartsOK) IsClientError added in v1.13.0

func (o *GetCostsChartsOK) IsClientError() bool

IsClientError returns true when this get costs charts o k response has a 4xx status code

func (*GetCostsChartsOK) IsCode added in v1.13.0

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

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

func (*GetCostsChartsOK) IsRedirect added in v1.13.0

func (o *GetCostsChartsOK) IsRedirect() bool

IsRedirect returns true when this get costs charts o k response has a 3xx status code

func (*GetCostsChartsOK) IsServerError added in v1.13.0

func (o *GetCostsChartsOK) IsServerError() bool

IsServerError returns true when this get costs charts o k response has a 5xx status code

func (*GetCostsChartsOK) IsSuccess added in v1.13.0

func (o *GetCostsChartsOK) IsSuccess() bool

IsSuccess returns true when this get costs charts o k response has a 2xx status code

func (*GetCostsChartsOK) String added in v1.13.0

func (o *GetCostsChartsOK) String() string

type GetCostsChartsParams added in v1.10.0

type GetCostsChartsParams struct {

	/* BucketingStrategy.

	   The desired bucketing strategy for the charts. Defaults to `daily`.

	   Default: "Daily"
	*/
	BucketingStrategy *string

	/* From.

	   A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.
	*/
	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.
	*/
	To *string

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

GetCostsChartsParams contains all the parameters to send to the API endpoint

for the get costs charts operation.

Typically these are written to a http.Request.

func NewGetCostsChartsParams added in v1.10.0

func NewGetCostsChartsParams() *GetCostsChartsParams

NewGetCostsChartsParams creates a new GetCostsChartsParams 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 NewGetCostsChartsParamsWithContext added in v1.10.0

func NewGetCostsChartsParamsWithContext(ctx context.Context) *GetCostsChartsParams

NewGetCostsChartsParamsWithContext creates a new GetCostsChartsParams object with the ability to set a context for a request.

func NewGetCostsChartsParamsWithHTTPClient added in v1.10.0

func NewGetCostsChartsParamsWithHTTPClient(client *http.Client) *GetCostsChartsParams

NewGetCostsChartsParamsWithHTTPClient creates a new GetCostsChartsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsChartsParamsWithTimeout added in v1.10.0

func NewGetCostsChartsParamsWithTimeout(timeout time.Duration) *GetCostsChartsParams

NewGetCostsChartsParamsWithTimeout creates a new GetCostsChartsParams object with the ability to set a timeout on a request.

func (*GetCostsChartsParams) SetBucketingStrategy added in v1.10.0

func (o *GetCostsChartsParams) SetBucketingStrategy(bucketingStrategy *string)

SetBucketingStrategy adds the bucketingStrategy to the get costs charts params

func (*GetCostsChartsParams) SetContext added in v1.10.0

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

SetContext adds the context to the get costs charts params

func (*GetCostsChartsParams) SetDefaults added in v1.10.0

func (o *GetCostsChartsParams) SetDefaults()

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

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

func (*GetCostsChartsParams) SetFrom added in v1.10.0

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

SetFrom adds the from to the get costs charts params

func (*GetCostsChartsParams) SetHTTPClient added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the get costs charts params

func (*GetCostsChartsParams) SetOrganizationID added in v1.10.0

func (o *GetCostsChartsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get costs charts params

func (*GetCostsChartsParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the get costs charts params

func (*GetCostsChartsParams) SetTo added in v1.10.0

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

SetTo adds the to to the get costs charts params

func (*GetCostsChartsParams) WithBucketingStrategy added in v1.10.0

func (o *GetCostsChartsParams) WithBucketingStrategy(bucketingStrategy *string) *GetCostsChartsParams

WithBucketingStrategy adds the bucketingStrategy to the get costs charts params

func (*GetCostsChartsParams) WithContext added in v1.10.0

WithContext adds the context to the get costs charts params

func (*GetCostsChartsParams) WithDefaults added in v1.10.0

func (o *GetCostsChartsParams) WithDefaults() *GetCostsChartsParams

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

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

func (*GetCostsChartsParams) WithFrom added in v1.10.0

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

WithFrom adds the from to the get costs charts params

func (*GetCostsChartsParams) WithHTTPClient added in v1.10.0

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

WithHTTPClient adds the HTTPClient to the get costs charts params

func (*GetCostsChartsParams) WithOrganizationID added in v1.10.0

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

WithOrganizationID adds the organizationID to the get costs charts params

func (*GetCostsChartsParams) WithTimeout added in v1.10.0

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

WithTimeout adds the timeout to the get costs charts params

func (*GetCostsChartsParams) WithTo added in v1.10.0

WithTo adds the to to the get costs charts params

func (*GetCostsChartsParams) WriteToRequest added in v1.10.0

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

WriteToRequest writes these params to a swagger request

type GetCostsChartsReader added in v1.10.0

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

GetCostsChartsReader is a Reader for the GetCostsCharts structure.

func (*GetCostsChartsReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type GetCostsChartsTooManyRequests added in v1.14.0

type GetCostsChartsTooManyRequests struct {

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

	Payload *models.BasicFailedReply
}

GetCostsChartsTooManyRequests describes a response with status code 429, with default header values.

Too many requests. (code: `billing_service.rate_limited`)

func NewGetCostsChartsTooManyRequests added in v1.14.0

func NewGetCostsChartsTooManyRequests() *GetCostsChartsTooManyRequests

NewGetCostsChartsTooManyRequests creates a GetCostsChartsTooManyRequests with default headers values

func (*GetCostsChartsTooManyRequests) Code added in v1.14.0

Code gets the status code for the get costs charts too many requests response

func (*GetCostsChartsTooManyRequests) Error added in v1.14.0

func (*GetCostsChartsTooManyRequests) GetPayload added in v1.14.0

func (*GetCostsChartsTooManyRequests) IsClientError added in v1.14.0

func (o *GetCostsChartsTooManyRequests) IsClientError() bool

IsClientError returns true when this get costs charts too many requests response has a 4xx status code

func (*GetCostsChartsTooManyRequests) IsCode added in v1.14.0

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

IsCode returns true when this get costs charts too many requests response a status code equal to that given

func (*GetCostsChartsTooManyRequests) IsRedirect added in v1.14.0

func (o *GetCostsChartsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get costs charts too many requests response has a 3xx status code

func (*GetCostsChartsTooManyRequests) IsServerError added in v1.14.0

func (o *GetCostsChartsTooManyRequests) IsServerError() bool

IsServerError returns true when this get costs charts too many requests response has a 5xx status code

func (*GetCostsChartsTooManyRequests) IsSuccess added in v1.14.0

func (o *GetCostsChartsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get costs charts too many requests response has a 2xx status code

func (*GetCostsChartsTooManyRequests) String added in v1.14.0

type GetCostsDeploymentsBadRequest added in v1.8.0

type GetCostsDeploymentsBadRequest struct {

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

	Payload *models.BasicFailedReply
}

GetCostsDeploymentsBadRequest describes a response with status code 400, with default header values.

Invalid date range specified. (code: `costs.invalid_date_range`)

func NewGetCostsDeploymentsBadRequest added in v1.8.0

func NewGetCostsDeploymentsBadRequest() *GetCostsDeploymentsBadRequest

NewGetCostsDeploymentsBadRequest creates a GetCostsDeploymentsBadRequest with default headers values

func (*GetCostsDeploymentsBadRequest) Code added in v1.13.0

Code gets the status code for the get costs deployments bad request response

func (*GetCostsDeploymentsBadRequest) Error added in v1.8.0

func (*GetCostsDeploymentsBadRequest) GetPayload added in v1.8.0

func (*GetCostsDeploymentsBadRequest) IsClientError added in v1.13.0

func (o *GetCostsDeploymentsBadRequest) IsClientError() bool

IsClientError returns true when this get costs deployments bad request response has a 4xx status code

func (*GetCostsDeploymentsBadRequest) IsCode added in v1.13.0

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

IsCode returns true when this get costs deployments bad request response a status code equal to that given

func (*GetCostsDeploymentsBadRequest) IsRedirect added in v1.13.0

func (o *GetCostsDeploymentsBadRequest) IsRedirect() bool

IsRedirect returns true when this get costs deployments bad request response has a 3xx status code

func (*GetCostsDeploymentsBadRequest) IsServerError added in v1.13.0

func (o *GetCostsDeploymentsBadRequest) IsServerError() bool

IsServerError returns true when this get costs deployments bad request response has a 5xx status code

func (*GetCostsDeploymentsBadRequest) IsSuccess added in v1.13.0

func (o *GetCostsDeploymentsBadRequest) IsSuccess() bool

IsSuccess returns true when this get costs deployments bad request response has a 2xx status code

func (*GetCostsDeploymentsBadRequest) String added in v1.13.0

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) Code added in v1.13.0

Code gets the status code for the get costs deployments forbidden response

func (*GetCostsDeploymentsForbidden) Error

func (*GetCostsDeploymentsForbidden) GetPayload

func (*GetCostsDeploymentsForbidden) IsClientError added in v1.13.0

func (o *GetCostsDeploymentsForbidden) IsClientError() bool

IsClientError returns true when this get costs deployments forbidden response has a 4xx status code

func (*GetCostsDeploymentsForbidden) IsCode added in v1.13.0

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

IsCode returns true when this get costs deployments forbidden response a status code equal to that given

func (*GetCostsDeploymentsForbidden) IsRedirect added in v1.13.0

func (o *GetCostsDeploymentsForbidden) IsRedirect() bool

IsRedirect returns true when this get costs deployments forbidden response has a 3xx status code

func (*GetCostsDeploymentsForbidden) IsServerError added in v1.13.0

func (o *GetCostsDeploymentsForbidden) IsServerError() bool

IsServerError returns true when this get costs deployments forbidden response has a 5xx status code

func (*GetCostsDeploymentsForbidden) IsSuccess added in v1.13.0

func (o *GetCostsDeploymentsForbidden) IsSuccess() bool

IsSuccess returns true when this get costs deployments forbidden response has a 2xx status code

func (*GetCostsDeploymentsForbidden) String added in v1.13.0

type GetCostsDeploymentsInternalServerError added in v1.8.0

type GetCostsDeploymentsInternalServerError struct {

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

	Payload *models.BasicFailedReply
}

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

An error occurred when fetching the costs associated with all deployments for the organization. (code: `billing_service.failed_request`)

func NewGetCostsDeploymentsInternalServerError added in v1.8.0

func NewGetCostsDeploymentsInternalServerError() *GetCostsDeploymentsInternalServerError

NewGetCostsDeploymentsInternalServerError creates a GetCostsDeploymentsInternalServerError with default headers values

func (*GetCostsDeploymentsInternalServerError) Code added in v1.13.0

Code gets the status code for the get costs deployments internal server error response

func (*GetCostsDeploymentsInternalServerError) Error added in v1.8.0

func (*GetCostsDeploymentsInternalServerError) GetPayload added in v1.8.0

func (*GetCostsDeploymentsInternalServerError) IsClientError added in v1.13.0

func (o *GetCostsDeploymentsInternalServerError) IsClientError() bool

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

func (*GetCostsDeploymentsInternalServerError) IsCode added in v1.13.0

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

func (*GetCostsDeploymentsInternalServerError) IsRedirect added in v1.13.0

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

func (*GetCostsDeploymentsInternalServerError) IsServerError added in v1.13.0

func (o *GetCostsDeploymentsInternalServerError) IsServerError() bool

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

func (*GetCostsDeploymentsInternalServerError) IsSuccess added in v1.13.0

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

func (*GetCostsDeploymentsInternalServerError) String added in v1.13.0

type GetCostsDeploymentsNotFound added in v1.8.0

type GetCostsDeploymentsNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetCostsDeploymentsNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewGetCostsDeploymentsNotFound added in v1.8.0

func NewGetCostsDeploymentsNotFound() *GetCostsDeploymentsNotFound

NewGetCostsDeploymentsNotFound creates a GetCostsDeploymentsNotFound with default headers values

func (*GetCostsDeploymentsNotFound) Code added in v1.13.0

func (o *GetCostsDeploymentsNotFound) Code() int

Code gets the status code for the get costs deployments not found response

func (*GetCostsDeploymentsNotFound) Error added in v1.8.0

func (*GetCostsDeploymentsNotFound) GetPayload added in v1.8.0

func (*GetCostsDeploymentsNotFound) IsClientError added in v1.13.0

func (o *GetCostsDeploymentsNotFound) IsClientError() bool

IsClientError returns true when this get costs deployments not found response has a 4xx status code

func (*GetCostsDeploymentsNotFound) IsCode added in v1.13.0

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

IsCode returns true when this get costs deployments not found response a status code equal to that given

func (*GetCostsDeploymentsNotFound) IsRedirect added in v1.13.0

func (o *GetCostsDeploymentsNotFound) IsRedirect() bool

IsRedirect returns true when this get costs deployments not found response has a 3xx status code

func (*GetCostsDeploymentsNotFound) IsServerError added in v1.13.0

func (o *GetCostsDeploymentsNotFound) IsServerError() bool

IsServerError returns true when this get costs deployments not found response has a 5xx status code

func (*GetCostsDeploymentsNotFound) IsSuccess added in v1.13.0

func (o *GetCostsDeploymentsNotFound) IsSuccess() bool

IsSuccess returns true when this get costs deployments not found response has a 2xx status code

func (*GetCostsDeploymentsNotFound) String added in v1.13.0

func (o *GetCostsDeploymentsNotFound) String() string

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) Code added in v1.13.0

func (o *GetCostsDeploymentsOK) Code() int

Code gets the status code for the get costs deployments o k response

func (*GetCostsDeploymentsOK) Error

func (o *GetCostsDeploymentsOK) Error() string

func (*GetCostsDeploymentsOK) GetPayload

func (*GetCostsDeploymentsOK) IsClientError added in v1.13.0

func (o *GetCostsDeploymentsOK) IsClientError() bool

IsClientError returns true when this get costs deployments o k response has a 4xx status code

func (*GetCostsDeploymentsOK) IsCode added in v1.13.0

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

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

func (*GetCostsDeploymentsOK) IsRedirect added in v1.13.0

func (o *GetCostsDeploymentsOK) IsRedirect() bool

IsRedirect returns true when this get costs deployments o k response has a 3xx status code

func (*GetCostsDeploymentsOK) IsServerError added in v1.13.0

func (o *GetCostsDeploymentsOK) IsServerError() bool

IsServerError returns true when this get costs deployments o k response has a 5xx status code

func (*GetCostsDeploymentsOK) IsSuccess added in v1.13.0

func (o *GetCostsDeploymentsOK) IsSuccess() bool

IsSuccess returns true when this get costs deployments o k response has a 2xx status code

func (*GetCostsDeploymentsOK) String added in v1.13.0

func (o *GetCostsDeploymentsOK) String() string

type GetCostsDeploymentsParams

type GetCostsDeploymentsParams struct {

	/* Accept.

	   Accept header containing the content preference.
	*/
	Accept *string

	/* From.

	   A datetime for the beginning of the desired range for which to fetch activity. Defaults to start of current month.
	*/
	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.
	*/
	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) SetAccept added in v1.10.0

func (o *GetCostsDeploymentsParams) SetAccept(accept *string)

SetAccept adds the accept to the get costs deployments params

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) WithAccept added in v1.10.0

WithAccept adds the accept 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 GetCostsItemsBadRequest added in v1.8.0

type GetCostsItemsBadRequest struct {

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

	Payload *models.BasicFailedReply
}

GetCostsItemsBadRequest describes a response with status code 400, with default header values.

The specified date range is invalid. (code: `costs.invalid_date_range`)

func NewGetCostsItemsBadRequest added in v1.8.0

func NewGetCostsItemsBadRequest() *GetCostsItemsBadRequest

NewGetCostsItemsBadRequest creates a GetCostsItemsBadRequest with default headers values

func (*GetCostsItemsBadRequest) Code added in v1.13.0

func (o *GetCostsItemsBadRequest) Code() int

Code gets the status code for the get costs items bad request response

func (*GetCostsItemsBadRequest) Error added in v1.8.0

func (o *GetCostsItemsBadRequest) Error() string

func (*GetCostsItemsBadRequest) GetPayload added in v1.8.0

func (*GetCostsItemsBadRequest) IsClientError added in v1.13.0

func (o *GetCostsItemsBadRequest) IsClientError() bool

IsClientError returns true when this get costs items bad request response has a 4xx status code

func (*GetCostsItemsBadRequest) IsCode added in v1.13.0

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

IsCode returns true when this get costs items bad request response a status code equal to that given

func (*GetCostsItemsBadRequest) IsRedirect added in v1.13.0

func (o *GetCostsItemsBadRequest) IsRedirect() bool

IsRedirect returns true when this get costs items bad request response has a 3xx status code

func (*GetCostsItemsBadRequest) IsServerError added in v1.13.0

func (o *GetCostsItemsBadRequest) IsServerError() bool

IsServerError returns true when this get costs items bad request response has a 5xx status code

func (*GetCostsItemsBadRequest) IsSuccess added in v1.13.0

func (o *GetCostsItemsBadRequest) IsSuccess() bool

IsSuccess returns true when this get costs items bad request response has a 2xx status code

func (*GetCostsItemsBadRequest) String added in v1.13.0

func (o *GetCostsItemsBadRequest) String() string

type GetCostsItemsByDeploymentBadRequest added in v1.8.0

type GetCostsItemsByDeploymentBadRequest struct {

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

	Payload *models.BasicFailedReply
}

GetCostsItemsByDeploymentBadRequest describes a response with status code 400, with default header values.

The specified date range is invalid. (code: `costs.invalid_date_range`)

func NewGetCostsItemsByDeploymentBadRequest added in v1.8.0

func NewGetCostsItemsByDeploymentBadRequest() *GetCostsItemsByDeploymentBadRequest

NewGetCostsItemsByDeploymentBadRequest creates a GetCostsItemsByDeploymentBadRequest with default headers values

func (*GetCostsItemsByDeploymentBadRequest) Code added in v1.13.0

Code gets the status code for the get costs items by deployment bad request response

func (*GetCostsItemsByDeploymentBadRequest) Error added in v1.8.0

func (*GetCostsItemsByDeploymentBadRequest) GetPayload added in v1.8.0

func (*GetCostsItemsByDeploymentBadRequest) IsClientError added in v1.13.0

func (o *GetCostsItemsByDeploymentBadRequest) IsClientError() bool

IsClientError returns true when this get costs items by deployment bad request response has a 4xx status code

func (*GetCostsItemsByDeploymentBadRequest) IsCode added in v1.13.0

IsCode returns true when this get costs items by deployment bad request response a status code equal to that given

func (*GetCostsItemsByDeploymentBadRequest) IsRedirect added in v1.13.0

func (o *GetCostsItemsByDeploymentBadRequest) IsRedirect() bool

IsRedirect returns true when this get costs items by deployment bad request response has a 3xx status code

func (*GetCostsItemsByDeploymentBadRequest) IsServerError added in v1.13.0

func (o *GetCostsItemsByDeploymentBadRequest) IsServerError() bool

IsServerError returns true when this get costs items by deployment bad request response has a 5xx status code

func (*GetCostsItemsByDeploymentBadRequest) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs items by deployment bad request response has a 2xx status code

func (*GetCostsItemsByDeploymentBadRequest) String added in v1.13.0

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) Code added in v1.13.0

Code gets the status code for the get costs items by deployment forbidden response

func (*GetCostsItemsByDeploymentForbidden) Error

func (*GetCostsItemsByDeploymentForbidden) GetPayload

func (*GetCostsItemsByDeploymentForbidden) IsClientError added in v1.13.0

func (o *GetCostsItemsByDeploymentForbidden) IsClientError() bool

IsClientError returns true when this get costs items by deployment forbidden response has a 4xx status code

func (*GetCostsItemsByDeploymentForbidden) IsCode added in v1.13.0

IsCode returns true when this get costs items by deployment forbidden response a status code equal to that given

func (*GetCostsItemsByDeploymentForbidden) IsRedirect added in v1.13.0

func (o *GetCostsItemsByDeploymentForbidden) IsRedirect() bool

IsRedirect returns true when this get costs items by deployment forbidden response has a 3xx status code

func (*GetCostsItemsByDeploymentForbidden) IsServerError added in v1.13.0

func (o *GetCostsItemsByDeploymentForbidden) IsServerError() bool

IsServerError returns true when this get costs items by deployment forbidden response has a 5xx status code

func (*GetCostsItemsByDeploymentForbidden) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs items by deployment forbidden response has a 2xx status code

func (*GetCostsItemsByDeploymentForbidden) String added in v1.13.0

type GetCostsItemsByDeploymentInternalServerError added in v1.8.0

type GetCostsItemsByDeploymentInternalServerError struct {

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

	Payload *models.BasicFailedReply
}

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

An error occurred when fetching the itemized costs for the given deployment of the organization. (code: `billing_service.failed_request`)

func NewGetCostsItemsByDeploymentInternalServerError added in v1.8.0

func NewGetCostsItemsByDeploymentInternalServerError() *GetCostsItemsByDeploymentInternalServerError

NewGetCostsItemsByDeploymentInternalServerError creates a GetCostsItemsByDeploymentInternalServerError with default headers values

func (*GetCostsItemsByDeploymentInternalServerError) Code added in v1.13.0

Code gets the status code for the get costs items by deployment internal server error response

func (*GetCostsItemsByDeploymentInternalServerError) Error added in v1.8.0

func (*GetCostsItemsByDeploymentInternalServerError) GetPayload added in v1.8.0

func (*GetCostsItemsByDeploymentInternalServerError) IsClientError added in v1.13.0

IsClientError returns true when this get costs items by deployment internal server error response has a 4xx status code

func (*GetCostsItemsByDeploymentInternalServerError) IsCode added in v1.13.0

IsCode returns true when this get costs items by deployment internal server error response a status code equal to that given

func (*GetCostsItemsByDeploymentInternalServerError) IsRedirect added in v1.13.0

IsRedirect returns true when this get costs items by deployment internal server error response has a 3xx status code

func (*GetCostsItemsByDeploymentInternalServerError) IsServerError added in v1.13.0

IsServerError returns true when this get costs items by deployment internal server error response has a 5xx status code

func (*GetCostsItemsByDeploymentInternalServerError) IsSuccess added in v1.13.0

IsSuccess returns true when this get costs items by deployment internal server error response has a 2xx status code

func (*GetCostsItemsByDeploymentInternalServerError) String added in v1.13.0

type GetCostsItemsByDeploymentNotFound added in v1.8.0

type GetCostsItemsByDeploymentNotFound struct {

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

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

* The organization was not found. (code: `organization.not_found`)

* The Elasticsearch cluster was not found. (code: `billing_service.es_cluster_id_not_found`)

func NewGetCostsItemsByDeploymentNotFound added in v1.8.0

func NewGetCostsItemsByDeploymentNotFound() *GetCostsItemsByDeploymentNotFound

NewGetCostsItemsByDeploymentNotFound creates a GetCostsItemsByDeploymentNotFound with default headers values

func (*GetCostsItemsByDeploymentNotFound) Code added in v1.13.0

Code gets the status code for the get costs items by deployment not found response

func (*GetCostsItemsByDeploymentNotFound) Error added in v1.8.0

func (*GetCostsItemsByDeploymentNotFound) GetPayload added in v1.8.0

func (*GetCostsItemsByDeploymentNotFound) IsClientError added in v1.13.0

func (o *GetCostsItemsByDeploymentNotFound) IsClientError() bool

IsClientError returns true when this get costs items by deployment not found response has a 4xx status code

func (*GetCostsItemsByDeploymentNotFound) IsCode added in v1.13.0

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

IsCode returns true when this get costs items by deployment not found response a status code equal to that given

func (*GetCostsItemsByDeploymentNotFound) IsRedirect added in v1.13.0

func (o *GetCostsItemsByDeploymentNotFound) IsRedirect() bool

IsRedirect returns true when this get costs items by deployment not found response has a 3xx status code

func (*GetCostsItemsByDeploymentNotFound) IsServerError added in v1.13.0

func (o *GetCostsItemsByDeploymentNotFound) IsServerError() bool

IsServerError returns true when this get costs items by deployment not found response has a 5xx status code

func (*GetCostsItemsByDeploymentNotFound) IsSuccess added in v1.13.0

func (o *GetCostsItemsByDeploymentNotFound) IsSuccess() bool

IsSuccess returns true when this get costs items by deployment not found response has a 2xx status code

func (*GetCostsItemsByDeploymentNotFound) String added in v1.13.0

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) Code added in v1.13.0

func (o *GetCostsItemsByDeploymentOK) Code() int

Code gets the status code for the get costs items by deployment o k response

func (*GetCostsItemsByDeploymentOK) Error

func (*GetCostsItemsByDeploymentOK) GetPayload

func (*GetCostsItemsByDeploymentOK) IsClientError added in v1.13.0

func (o *GetCostsItemsByDeploymentOK) IsClientError() bool

IsClientError returns true when this get costs items by deployment o k response has a 4xx status code

func (*GetCostsItemsByDeploymentOK) IsCode added in v1.13.0

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

IsCode returns true when this get costs items by deployment o k response a status code equal to that given

func (*GetCostsItemsByDeploymentOK) IsRedirect added in v1.13.0

func (o *GetCostsItemsByDeploymentOK) IsRedirect() bool

IsRedirect returns true when this get costs items by deployment o k response has a 3xx status code

func (*GetCostsItemsByDeploymentOK) IsServerError added in v1.13.0

func (o *GetCostsItemsByDeploymentOK) IsServerError() bool

IsServerError returns true when this get costs items by deployment o k response has a 5xx status code

func (*GetCostsItemsByDeploymentOK) IsSuccess added in v1.13.0

func (o *GetCostsItemsByDeploymentOK) IsSuccess() bool

IsSuccess returns true when this get costs items by deployment o k response has a 2xx status code

func (*GetCostsItemsByDeploymentOK) String added in v1.13.0

func (o *GetCostsItemsByDeploymentOK) String() string

type GetCostsItemsByDeploymentParams

type GetCostsItemsByDeploymentParams struct {

	/* Accept.

	   Determines the response body format. Can be either application/json or text/csv.
	*/
	Accept *string

	/* 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.
	*/
	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.
	*/
	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) SetAccept added in v1.10.0

func (o *GetCostsItemsByDeploymentParams) SetAccept(accept *string)

SetAccept adds the accept to the get costs items by deployment params

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) WithAccept added in v1.10.0

WithAccept adds the accept 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) Code added in v1.13.0

func (o *GetCostsItemsForbidden) Code() int

Code gets the status code for the get costs items forbidden response

func (*GetCostsItemsForbidden) Error

func (o *GetCostsItemsForbidden) Error() string

func (*GetCostsItemsForbidden) GetPayload

func (*GetCostsItemsForbidden) IsClientError added in v1.13.0

func (o *GetCostsItemsForbidden) IsClientError() bool

IsClientError returns true when this get costs items forbidden response has a 4xx status code

func (*GetCostsItemsForbidden) IsCode added in v1.13.0

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

IsCode returns true when this get costs items forbidden response a status code equal to that given

func (*GetCostsItemsForbidden) IsRedirect added in v1.13.0

func (o *GetCostsItemsForbidden) IsRedirect() bool

IsRedirect returns true when this get costs items forbidden response has a 3xx status code

func (*GetCostsItemsForbidden) IsServerError added in v1.13.0

func (o *GetCostsItemsForbidden) IsServerError() bool

IsServerError returns true when this get costs items forbidden response has a 5xx status code

func (*GetCostsItemsForbidden) IsSuccess added in v1.13.0

func (o *GetCostsItemsForbidden) IsSuccess() bool

IsSuccess returns true when this get costs items forbidden response has a 2xx status code

func (*GetCostsItemsForbidden) String added in v1.13.0

func (o *GetCostsItemsForbidden) String() string

type GetCostsItemsInternalServerError added in v1.8.0

type GetCostsItemsInternalServerError struct {

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

	Payload *models.BasicFailedReply
}

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

Error fetching the itemized costs for the organization. (code: `billing_service.failed_request`)

func NewGetCostsItemsInternalServerError added in v1.8.0

func NewGetCostsItemsInternalServerError() *GetCostsItemsInternalServerError

NewGetCostsItemsInternalServerError creates a GetCostsItemsInternalServerError with default headers values

func (*GetCostsItemsInternalServerError) Code added in v1.13.0

Code gets the status code for the get costs items internal server error response

func (*GetCostsItemsInternalServerError) Error added in v1.8.0

func (*GetCostsItemsInternalServerError) GetPayload added in v1.8.0

func (*GetCostsItemsInternalServerError) IsClientError added in v1.13.0

func (o *GetCostsItemsInternalServerError) IsClientError() bool

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

func (*GetCostsItemsInternalServerError) IsCode added in v1.13.0

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

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

func (*GetCostsItemsInternalServerError) IsRedirect added in v1.13.0

func (o *GetCostsItemsInternalServerError) IsRedirect() bool

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

func (*GetCostsItemsInternalServerError) IsServerError added in v1.13.0

func (o *GetCostsItemsInternalServerError) IsServerError() bool

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

func (*GetCostsItemsInternalServerError) IsSuccess added in v1.13.0

func (o *GetCostsItemsInternalServerError) IsSuccess() bool

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

func (*GetCostsItemsInternalServerError) String added in v1.13.0

type GetCostsItemsNotFound added in v1.8.0

type GetCostsItemsNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetCostsItemsNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewGetCostsItemsNotFound added in v1.8.0

func NewGetCostsItemsNotFound() *GetCostsItemsNotFound

NewGetCostsItemsNotFound creates a GetCostsItemsNotFound with default headers values

func (*GetCostsItemsNotFound) Code added in v1.13.0

func (o *GetCostsItemsNotFound) Code() int

Code gets the status code for the get costs items not found response

func (*GetCostsItemsNotFound) Error added in v1.8.0

func (o *GetCostsItemsNotFound) Error() string

func (*GetCostsItemsNotFound) GetPayload added in v1.8.0

func (*GetCostsItemsNotFound) IsClientError added in v1.13.0

func (o *GetCostsItemsNotFound) IsClientError() bool

IsClientError returns true when this get costs items not found response has a 4xx status code

func (*GetCostsItemsNotFound) IsCode added in v1.13.0

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

IsCode returns true when this get costs items not found response a status code equal to that given

func (*GetCostsItemsNotFound) IsRedirect added in v1.13.0

func (o *GetCostsItemsNotFound) IsRedirect() bool

IsRedirect returns true when this get costs items not found response has a 3xx status code

func (*GetCostsItemsNotFound) IsServerError added in v1.13.0

func (o *GetCostsItemsNotFound) IsServerError() bool

IsServerError returns true when this get costs items not found response has a 5xx status code

func (*GetCostsItemsNotFound) IsSuccess added in v1.13.0

func (o *GetCostsItemsNotFound) IsSuccess() bool

IsSuccess returns true when this get costs items not found response has a 2xx status code

func (*GetCostsItemsNotFound) String added in v1.13.0

func (o *GetCostsItemsNotFound) String() string

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) Code added in v1.13.0

func (o *GetCostsItemsOK) Code() int

Code gets the status code for the get costs items o k response

func (*GetCostsItemsOK) Error

func (o *GetCostsItemsOK) Error() string

func (*GetCostsItemsOK) GetPayload

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

func (*GetCostsItemsOK) IsClientError added in v1.13.0

func (o *GetCostsItemsOK) IsClientError() bool

IsClientError returns true when this get costs items o k response has a 4xx status code

func (*GetCostsItemsOK) IsCode added in v1.13.0

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

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

func (*GetCostsItemsOK) IsRedirect added in v1.13.0

func (o *GetCostsItemsOK) IsRedirect() bool

IsRedirect returns true when this get costs items o k response has a 3xx status code

func (*GetCostsItemsOK) IsServerError added in v1.13.0

func (o *GetCostsItemsOK) IsServerError() bool

IsServerError returns true when this get costs items o k response has a 5xx status code

func (*GetCostsItemsOK) IsSuccess added in v1.13.0

func (o *GetCostsItemsOK) IsSuccess() bool

IsSuccess returns true when this get costs items o k response has a 2xx status code

func (*GetCostsItemsOK) String added in v1.13.0

func (o *GetCostsItemsOK) String() string

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.
	*/
	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.
	*/
	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 GetCostsOverviewBadRequest added in v1.8.0

type GetCostsOverviewBadRequest struct {

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

	Payload *models.BasicFailedReply
}

GetCostsOverviewBadRequest describes a response with status code 400, with default header values.

The specified date range is invalid. (code: `costs.invalid_date_range`)

func NewGetCostsOverviewBadRequest added in v1.8.0

func NewGetCostsOverviewBadRequest() *GetCostsOverviewBadRequest

NewGetCostsOverviewBadRequest creates a GetCostsOverviewBadRequest with default headers values

func (*GetCostsOverviewBadRequest) Code added in v1.13.0

func (o *GetCostsOverviewBadRequest) Code() int

Code gets the status code for the get costs overview bad request response

func (*GetCostsOverviewBadRequest) Error added in v1.8.0

func (*GetCostsOverviewBadRequest) GetPayload added in v1.8.0

func (*GetCostsOverviewBadRequest) IsClientError added in v1.13.0

func (o *GetCostsOverviewBadRequest) IsClientError() bool

IsClientError returns true when this get costs overview bad request response has a 4xx status code

func (*GetCostsOverviewBadRequest) IsCode added in v1.13.0

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

IsCode returns true when this get costs overview bad request response a status code equal to that given

func (*GetCostsOverviewBadRequest) IsRedirect added in v1.13.0

func (o *GetCostsOverviewBadRequest) IsRedirect() bool

IsRedirect returns true when this get costs overview bad request response has a 3xx status code

func (*GetCostsOverviewBadRequest) IsServerError added in v1.13.0

func (o *GetCostsOverviewBadRequest) IsServerError() bool

IsServerError returns true when this get costs overview bad request response has a 5xx status code

func (*GetCostsOverviewBadRequest) IsSuccess added in v1.13.0

func (o *GetCostsOverviewBadRequest) IsSuccess() bool

IsSuccess returns true when this get costs overview bad request response has a 2xx status code

func (*GetCostsOverviewBadRequest) String added in v1.13.0

func (o *GetCostsOverviewBadRequest) String() string

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) Code added in v1.13.0

func (o *GetCostsOverviewForbidden) Code() int

Code gets the status code for the get costs overview forbidden response

func (*GetCostsOverviewForbidden) Error

func (o *GetCostsOverviewForbidden) Error() string

func (*GetCostsOverviewForbidden) GetPayload

func (*GetCostsOverviewForbidden) IsClientError added in v1.13.0

func (o *GetCostsOverviewForbidden) IsClientError() bool

IsClientError returns true when this get costs overview forbidden response has a 4xx status code

func (*GetCostsOverviewForbidden) IsCode added in v1.13.0

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

IsCode returns true when this get costs overview forbidden response a status code equal to that given

func (*GetCostsOverviewForbidden) IsRedirect added in v1.13.0

func (o *GetCostsOverviewForbidden) IsRedirect() bool

IsRedirect returns true when this get costs overview forbidden response has a 3xx status code

func (*GetCostsOverviewForbidden) IsServerError added in v1.13.0

func (o *GetCostsOverviewForbidden) IsServerError() bool

IsServerError returns true when this get costs overview forbidden response has a 5xx status code

func (*GetCostsOverviewForbidden) IsSuccess added in v1.13.0

func (o *GetCostsOverviewForbidden) IsSuccess() bool

IsSuccess returns true when this get costs overview forbidden response has a 2xx status code

func (*GetCostsOverviewForbidden) String added in v1.13.0

func (o *GetCostsOverviewForbidden) String() string

type GetCostsOverviewInternalServerError added in v1.8.0

type GetCostsOverviewInternalServerError struct {

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

	Payload *models.BasicFailedReply
}

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

An error occurred when fetching an overview of the costs for the organization. (code: `billing_service.failed_request`)

func NewGetCostsOverviewInternalServerError added in v1.8.0

func NewGetCostsOverviewInternalServerError() *GetCostsOverviewInternalServerError

NewGetCostsOverviewInternalServerError creates a GetCostsOverviewInternalServerError with default headers values

func (*GetCostsOverviewInternalServerError) Code added in v1.13.0

Code gets the status code for the get costs overview internal server error response

func (*GetCostsOverviewInternalServerError) Error added in v1.8.0

func (*GetCostsOverviewInternalServerError) GetPayload added in v1.8.0

func (*GetCostsOverviewInternalServerError) IsClientError added in v1.13.0

func (o *GetCostsOverviewInternalServerError) IsClientError() bool

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

func (*GetCostsOverviewInternalServerError) IsCode added in v1.13.0

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

func (*GetCostsOverviewInternalServerError) IsRedirect added in v1.13.0

func (o *GetCostsOverviewInternalServerError) IsRedirect() bool

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

func (*GetCostsOverviewInternalServerError) IsServerError added in v1.13.0

func (o *GetCostsOverviewInternalServerError) IsServerError() bool

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

func (*GetCostsOverviewInternalServerError) IsSuccess added in v1.13.0

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

func (*GetCostsOverviewInternalServerError) String added in v1.13.0

type GetCostsOverviewNotFound added in v1.8.0

type GetCostsOverviewNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetCostsOverviewNotFound describes a response with status code 404, with default header values.

Organization not found. (code: `organization.not_found`)

func NewGetCostsOverviewNotFound added in v1.8.0

func NewGetCostsOverviewNotFound() *GetCostsOverviewNotFound

NewGetCostsOverviewNotFound creates a GetCostsOverviewNotFound with default headers values

func (*GetCostsOverviewNotFound) Code added in v1.13.0

func (o *GetCostsOverviewNotFound) Code() int

Code gets the status code for the get costs overview not found response

func (*GetCostsOverviewNotFound) Error added in v1.8.0

func (o *GetCostsOverviewNotFound) Error() string

func (*GetCostsOverviewNotFound) GetPayload added in v1.8.0

func (*GetCostsOverviewNotFound) IsClientError added in v1.13.0

func (o *GetCostsOverviewNotFound) IsClientError() bool

IsClientError returns true when this get costs overview not found response has a 4xx status code

func (*GetCostsOverviewNotFound) IsCode added in v1.13.0

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

IsCode returns true when this get costs overview not found response a status code equal to that given

func (*GetCostsOverviewNotFound) IsRedirect added in v1.13.0

func (o *GetCostsOverviewNotFound) IsRedirect() bool

IsRedirect returns true when this get costs overview not found response has a 3xx status code

func (*GetCostsOverviewNotFound) IsServerError added in v1.13.0

func (o *GetCostsOverviewNotFound) IsServerError() bool

IsServerError returns true when this get costs overview not found response has a 5xx status code

func (*GetCostsOverviewNotFound) IsSuccess added in v1.13.0

func (o *GetCostsOverviewNotFound) IsSuccess() bool

IsSuccess returns true when this get costs overview not found response has a 2xx status code

func (*GetCostsOverviewNotFound) String added in v1.13.0

func (o *GetCostsOverviewNotFound) String() string

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) Code added in v1.13.0

func (o *GetCostsOverviewOK) Code() int

Code gets the status code for the get costs overview o k response

func (*GetCostsOverviewOK) Error

func (o *GetCostsOverviewOK) Error() string

func (*GetCostsOverviewOK) GetPayload

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

func (*GetCostsOverviewOK) IsClientError added in v1.13.0

func (o *GetCostsOverviewOK) IsClientError() bool

IsClientError returns true when this get costs overview o k response has a 4xx status code

func (*GetCostsOverviewOK) IsCode added in v1.13.0

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

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

func (*GetCostsOverviewOK) IsRedirect added in v1.13.0

func (o *GetCostsOverviewOK) IsRedirect() bool

IsRedirect returns true when this get costs overview o k response has a 3xx status code

func (*GetCostsOverviewOK) IsServerError added in v1.13.0

func (o *GetCostsOverviewOK) IsServerError() bool

IsServerError returns true when this get costs overview o k response has a 5xx status code

func (*GetCostsOverviewOK) IsSuccess added in v1.13.0

func (o *GetCostsOverviewOK) IsSuccess() bool

IsSuccess returns true when this get costs overview o k response has a 2xx status code

func (*GetCostsOverviewOK) String added in v1.13.0

func (o *GetCostsOverviewOK) String() string

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.
	*/
	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.
	*/
	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