Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCostsDeployments(params *GetCostsDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCostsDeploymentsOK, error)
- func (a *Client) GetCostsItems(params *GetCostsItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCostsItemsOK, error)
- func (a *Client) GetCostsItemsByDeployment(params *GetCostsItemsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCostsItemsByDeploymentOK, error)
- func (a *Client) GetCostsOverview(params *GetCostsOverviewParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCostsOverviewOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCostsDeploymentsBadRequest
- type GetCostsDeploymentsForbidden
- type GetCostsDeploymentsInternalServerError
- type GetCostsDeploymentsNotFound
- type GetCostsDeploymentsOK
- type GetCostsDeploymentsParams
- func NewGetCostsDeploymentsParams() *GetCostsDeploymentsParams
- func NewGetCostsDeploymentsParamsWithContext(ctx context.Context) *GetCostsDeploymentsParams
- func NewGetCostsDeploymentsParamsWithHTTPClient(client *http.Client) *GetCostsDeploymentsParams
- func NewGetCostsDeploymentsParamsWithTimeout(timeout time.Duration) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) SetContext(ctx context.Context)
- func (o *GetCostsDeploymentsParams) SetDefaults()
- func (o *GetCostsDeploymentsParams) SetFrom(from *string)
- func (o *GetCostsDeploymentsParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsDeploymentsParams) SetOrganizationID(organizationID string)
- func (o *GetCostsDeploymentsParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsDeploymentsParams) SetTo(to *string)
- func (o *GetCostsDeploymentsParams) WithContext(ctx context.Context) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WithDefaults() *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WithFrom(from *string) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WithHTTPClient(client *http.Client) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WithOrganizationID(organizationID string) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WithTimeout(timeout time.Duration) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WithTo(to *string) *GetCostsDeploymentsParams
- func (o *GetCostsDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsDeploymentsReader
- type GetCostsItemsBadRequest
- type GetCostsItemsByDeploymentBadRequest
- type GetCostsItemsByDeploymentForbidden
- type GetCostsItemsByDeploymentInternalServerError
- type GetCostsItemsByDeploymentNotFound
- type GetCostsItemsByDeploymentOK
- type GetCostsItemsByDeploymentParams
- func NewGetCostsItemsByDeploymentParams() *GetCostsItemsByDeploymentParams
- func NewGetCostsItemsByDeploymentParamsWithContext(ctx context.Context) *GetCostsItemsByDeploymentParams
- func NewGetCostsItemsByDeploymentParamsWithHTTPClient(client *http.Client) *GetCostsItemsByDeploymentParams
- func NewGetCostsItemsByDeploymentParamsWithTimeout(timeout time.Duration) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) SetContext(ctx context.Context)
- func (o *GetCostsItemsByDeploymentParams) SetDefaults()
- func (o *GetCostsItemsByDeploymentParams) SetDeploymentID(deploymentID string)
- func (o *GetCostsItemsByDeploymentParams) SetFrom(from *string)
- func (o *GetCostsItemsByDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsItemsByDeploymentParams) SetOrganizationID(organizationID string)
- func (o *GetCostsItemsByDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsItemsByDeploymentParams) SetTo(to *string)
- func (o *GetCostsItemsByDeploymentParams) WithContext(ctx context.Context) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithDefaults() *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithDeploymentID(deploymentID string) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithFrom(from *string) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithHTTPClient(client *http.Client) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithOrganizationID(organizationID string) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithTimeout(timeout time.Duration) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WithTo(to *string) *GetCostsItemsByDeploymentParams
- func (o *GetCostsItemsByDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsItemsByDeploymentReader
- type GetCostsItemsForbidden
- type GetCostsItemsInternalServerError
- type GetCostsItemsNotFound
- type GetCostsItemsOK
- type GetCostsItemsParams
- func (o *GetCostsItemsParams) SetContext(ctx context.Context)
- func (o *GetCostsItemsParams) SetDefaults()
- func (o *GetCostsItemsParams) SetFrom(from *string)
- func (o *GetCostsItemsParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsItemsParams) SetOrganizationID(organizationID string)
- func (o *GetCostsItemsParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsItemsParams) SetTo(to *string)
- func (o *GetCostsItemsParams) WithContext(ctx context.Context) *GetCostsItemsParams
- func (o *GetCostsItemsParams) WithDefaults() *GetCostsItemsParams
- func (o *GetCostsItemsParams) WithFrom(from *string) *GetCostsItemsParams
- func (o *GetCostsItemsParams) WithHTTPClient(client *http.Client) *GetCostsItemsParams
- func (o *GetCostsItemsParams) WithOrganizationID(organizationID string) *GetCostsItemsParams
- func (o *GetCostsItemsParams) WithTimeout(timeout time.Duration) *GetCostsItemsParams
- func (o *GetCostsItemsParams) WithTo(to *string) *GetCostsItemsParams
- func (o *GetCostsItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsItemsReader
- type GetCostsOverviewBadRequest
- type GetCostsOverviewForbidden
- type GetCostsOverviewInternalServerError
- type GetCostsOverviewNotFound
- type GetCostsOverviewOK
- type GetCostsOverviewParams
- func NewGetCostsOverviewParams() *GetCostsOverviewParams
- func NewGetCostsOverviewParamsWithContext(ctx context.Context) *GetCostsOverviewParams
- func NewGetCostsOverviewParamsWithHTTPClient(client *http.Client) *GetCostsOverviewParams
- func NewGetCostsOverviewParamsWithTimeout(timeout time.Duration) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) SetContext(ctx context.Context)
- func (o *GetCostsOverviewParams) SetDefaults()
- func (o *GetCostsOverviewParams) SetFrom(from *string)
- func (o *GetCostsOverviewParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsOverviewParams) SetOrganizationID(organizationID string)
- func (o *GetCostsOverviewParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsOverviewParams) SetTo(to *string)
- func (o *GetCostsOverviewParams) WithContext(ctx context.Context) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WithDefaults() *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WithFrom(from *string) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WithHTTPClient(client *http.Client) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WithOrganizationID(organizationID string) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WithTimeout(timeout time.Duration) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WithTo(to *string) *GetCostsOverviewParams
- func (o *GetCostsOverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsOverviewReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for billing costs analysis API
func (*Client) GetCostsDeployments ¶
func (a *Client) GetCostsDeployments(params *GetCostsDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsDeploymentsOK, error)
GetCostsDeployments gets deployments costs for the organization
EXPERIMENTAL (it may change in future versions): Retrieves the costs associated with all deployments for the organization.
func (*Client) GetCostsItems ¶
func (a *Client) GetCostsItems(params *GetCostsItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsOK, error)
GetCostsItems gets itemized costs for the organization
EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the organization.
func (*Client) GetCostsItemsByDeployment ¶
func (a *Client) GetCostsItemsByDeployment(params *GetCostsItemsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsByDeploymentOK, error)
GetCostsItemsByDeployment gets itemized costs by deployments
EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the given deployment.
func (*Client) GetCostsOverview ¶
func (a *Client) GetCostsOverview(params *GetCostsOverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOverviewOK, error)
GetCostsOverview gets costs overview for the organization
EXPERIMENTAL (it may change in future versions): Retrieves an overview of the costs by organization ID.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetCostsDeployments(params *GetCostsDeploymentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsDeploymentsOK, error) GetCostsItems(params *GetCostsItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsOK, error) GetCostsItemsByDeployment(params *GetCostsItemsByDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsItemsByDeploymentOK, error) GetCostsOverview(params *GetCostsOverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOverviewOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new billing costs analysis API client.
type 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) Error ¶ added in v1.8.0
func (o *GetCostsDeploymentsBadRequest) Error() string
func (*GetCostsDeploymentsBadRequest) GetPayload ¶ added in v1.8.0
func (o *GetCostsDeploymentsBadRequest) GetPayload() *models.BasicFailedReply
type GetCostsDeploymentsForbidden ¶
type GetCostsDeploymentsForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetCostsDeploymentsForbidden describes a response with status code 403, with default header values.
The current user does not have access to the requested organization. (code: `organization.invalid_access`)
func NewGetCostsDeploymentsForbidden ¶
func NewGetCostsDeploymentsForbidden() *GetCostsDeploymentsForbidden
NewGetCostsDeploymentsForbidden creates a GetCostsDeploymentsForbidden with default headers values
func (*GetCostsDeploymentsForbidden) Error ¶
func (o *GetCostsDeploymentsForbidden) Error() string
func (*GetCostsDeploymentsForbidden) GetPayload ¶
func (o *GetCostsDeploymentsForbidden) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsDeploymentsInternalServerError) Error() string
func (*GetCostsDeploymentsInternalServerError) GetPayload ¶ added in v1.8.0
func (o *GetCostsDeploymentsInternalServerError) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsDeploymentsNotFound) Error() string
func (*GetCostsDeploymentsNotFound) GetPayload ¶ added in v1.8.0
func (o *GetCostsDeploymentsNotFound) GetPayload() *models.BasicFailedReply
type GetCostsDeploymentsOK ¶
type GetCostsDeploymentsOK struct {
Payload *models.DeploymentsCosts
}
GetCostsDeploymentsOK describes a response with status code 200, with default header values.
The costs associated to a set of products
func NewGetCostsDeploymentsOK ¶
func NewGetCostsDeploymentsOK() *GetCostsDeploymentsOK
NewGetCostsDeploymentsOK creates a GetCostsDeploymentsOK with default headers values
func (*GetCostsDeploymentsOK) Error ¶
func (o *GetCostsDeploymentsOK) Error() string
func (*GetCostsDeploymentsOK) GetPayload ¶
func (o *GetCostsDeploymentsOK) GetPayload() *models.DeploymentsCosts
type GetCostsDeploymentsParams ¶
type GetCostsDeploymentsParams struct { /* From. A datetime for the beginning of the desired range for which to fetch activity. Defaults to start of current month. */ 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) SetContext ¶
func (o *GetCostsDeploymentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get costs deployments params
func (*GetCostsDeploymentsParams) SetDefaults ¶
func (o *GetCostsDeploymentsParams) SetDefaults()
SetDefaults hydrates default values in the get costs deployments params (not the query body).
All values with no default are reset to their zero value.
func (*GetCostsDeploymentsParams) SetFrom ¶
func (o *GetCostsDeploymentsParams) SetFrom(from *string)
SetFrom adds the from to the get costs deployments params
func (*GetCostsDeploymentsParams) SetHTTPClient ¶
func (o *GetCostsDeploymentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get costs deployments params
func (*GetCostsDeploymentsParams) SetOrganizationID ¶
func (o *GetCostsDeploymentsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get costs deployments params
func (*GetCostsDeploymentsParams) SetTimeout ¶
func (o *GetCostsDeploymentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get costs deployments params
func (*GetCostsDeploymentsParams) SetTo ¶
func (o *GetCostsDeploymentsParams) SetTo(to *string)
SetTo adds the to to the get costs deployments params
func (*GetCostsDeploymentsParams) WithContext ¶
func (o *GetCostsDeploymentsParams) WithContext(ctx context.Context) *GetCostsDeploymentsParams
WithContext adds the context to the get costs deployments params
func (*GetCostsDeploymentsParams) WithDefaults ¶
func (o *GetCostsDeploymentsParams) WithDefaults() *GetCostsDeploymentsParams
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 ¶
func (o *GetCostsDeploymentsParams) WithFrom(from *string) *GetCostsDeploymentsParams
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 ¶
func (o *GetCostsDeploymentsParams) WithTimeout(timeout time.Duration) *GetCostsDeploymentsParams
WithTimeout adds the timeout to the get costs deployments params
func (*GetCostsDeploymentsParams) WithTo ¶
func (o *GetCostsDeploymentsParams) WithTo(to *string) *GetCostsDeploymentsParams
WithTo adds the to to the get costs deployments params
func (*GetCostsDeploymentsParams) WriteToRequest ¶
func (o *GetCostsDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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) Error ¶ added in v1.8.0
func (o *GetCostsItemsBadRequest) Error() string
func (*GetCostsItemsBadRequest) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsBadRequest) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentBadRequest) Error() string
func (*GetCostsItemsByDeploymentBadRequest) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentBadRequest) GetPayload() *models.BasicFailedReply
type GetCostsItemsByDeploymentForbidden ¶
type GetCostsItemsByDeploymentForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetCostsItemsByDeploymentForbidden describes a response with status code 403, with default header values.
The current user does not have access to the requested organization. (code: `organization.invalid_access`)
func NewGetCostsItemsByDeploymentForbidden ¶
func NewGetCostsItemsByDeploymentForbidden() *GetCostsItemsByDeploymentForbidden
NewGetCostsItemsByDeploymentForbidden creates a GetCostsItemsByDeploymentForbidden with default headers values
func (*GetCostsItemsByDeploymentForbidden) Error ¶
func (o *GetCostsItemsByDeploymentForbidden) Error() string
func (*GetCostsItemsByDeploymentForbidden) GetPayload ¶
func (o *GetCostsItemsByDeploymentForbidden) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentInternalServerError) Error() string
func (*GetCostsItemsByDeploymentInternalServerError) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentInternalServerError) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentNotFound) Error() string
func (*GetCostsItemsByDeploymentNotFound) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentNotFound) GetPayload() *models.BasicFailedReply
type GetCostsItemsByDeploymentOK ¶
type GetCostsItemsByDeploymentOK struct {
Payload *models.ItemsCosts
}
GetCostsItemsByDeploymentOK describes a response with status code 200, with default header values.
The costs associated to a set items billed for a single deployment.
func NewGetCostsItemsByDeploymentOK ¶
func NewGetCostsItemsByDeploymentOK() *GetCostsItemsByDeploymentOK
NewGetCostsItemsByDeploymentOK creates a GetCostsItemsByDeploymentOK with default headers values
func (*GetCostsItemsByDeploymentOK) Error ¶
func (o *GetCostsItemsByDeploymentOK) Error() string
func (*GetCostsItemsByDeploymentOK) GetPayload ¶
func (o *GetCostsItemsByDeploymentOK) GetPayload() *models.ItemsCosts
type GetCostsItemsByDeploymentParams ¶
type GetCostsItemsByDeploymentParams struct { /* DeploymentID. Id of a Deployment */ DeploymentID string /* From. A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. */ 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) 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 ¶
func (o *GetCostsItemsByDeploymentParams) SetTo(to *string)
SetTo adds the to to the get costs items by deployment params
func (*GetCostsItemsByDeploymentParams) WithContext ¶
func (o *GetCostsItemsByDeploymentParams) WithContext(ctx context.Context) *GetCostsItemsByDeploymentParams
WithContext adds the context to the get costs items by deployment params
func (*GetCostsItemsByDeploymentParams) WithDefaults ¶
func (o *GetCostsItemsByDeploymentParams) WithDefaults() *GetCostsItemsByDeploymentParams
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 ¶
func (o *GetCostsItemsByDeploymentParams) WithFrom(from *string) *GetCostsItemsByDeploymentParams
WithFrom adds the from to the get costs items by deployment params
func (*GetCostsItemsByDeploymentParams) WithHTTPClient ¶
func (o *GetCostsItemsByDeploymentParams) WithHTTPClient(client *http.Client) *GetCostsItemsByDeploymentParams
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 ¶
func (o *GetCostsItemsByDeploymentParams) WithTimeout(timeout time.Duration) *GetCostsItemsByDeploymentParams
WithTimeout adds the timeout to the get costs items by deployment params
func (*GetCostsItemsByDeploymentParams) WithTo ¶
func (o *GetCostsItemsByDeploymentParams) WithTo(to *string) *GetCostsItemsByDeploymentParams
WithTo adds the to to the get costs items by deployment params
func (*GetCostsItemsByDeploymentParams) WriteToRequest ¶
func (o *GetCostsItemsByDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCostsItemsByDeploymentReader ¶
type GetCostsItemsByDeploymentReader struct {
// contains filtered or unexported fields
}
GetCostsItemsByDeploymentReader is a Reader for the GetCostsItemsByDeployment structure.
func (*GetCostsItemsByDeploymentReader) ReadResponse ¶
func (o *GetCostsItemsByDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCostsItemsForbidden ¶
type GetCostsItemsForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetCostsItemsForbidden describes a response with status code 403, with default header values.
The current user does not have access to the requested organization. (code: `organization.invalid_access`)
func NewGetCostsItemsForbidden ¶
func NewGetCostsItemsForbidden() *GetCostsItemsForbidden
NewGetCostsItemsForbidden creates a GetCostsItemsForbidden with default headers values
func (*GetCostsItemsForbidden) Error ¶
func (o *GetCostsItemsForbidden) Error() string
func (*GetCostsItemsForbidden) GetPayload ¶
func (o *GetCostsItemsForbidden) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsItemsInternalServerError) Error() string
func (*GetCostsItemsInternalServerError) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsInternalServerError) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsItemsNotFound) Error() string
func (*GetCostsItemsNotFound) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsNotFound) GetPayload() *models.BasicFailedReply
type GetCostsItemsOK ¶
type GetCostsItemsOK struct {
Payload *models.ItemsCosts
}
GetCostsItemsOK describes a response with status code 200, with default header values.
The costs associated to a set of items
func NewGetCostsItemsOK ¶
func NewGetCostsItemsOK() *GetCostsItemsOK
NewGetCostsItemsOK creates a GetCostsItemsOK with default headers values
func (*GetCostsItemsOK) Error ¶
func (o *GetCostsItemsOK) Error() string
func (*GetCostsItemsOK) GetPayload ¶
func (o *GetCostsItemsOK) GetPayload() *models.ItemsCosts
type GetCostsItemsParams ¶
type GetCostsItemsParams struct { /* From. A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. */ 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 ¶
func (o *GetCostsItemsParams) WithContext(ctx context.Context) *GetCostsItemsParams
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 ¶
func (o *GetCostsItemsParams) WithTo(to *string) *GetCostsItemsParams
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) Error ¶ added in v1.8.0
func (o *GetCostsOverviewBadRequest) Error() string
func (*GetCostsOverviewBadRequest) GetPayload ¶ added in v1.8.0
func (o *GetCostsOverviewBadRequest) GetPayload() *models.BasicFailedReply
type GetCostsOverviewForbidden ¶
type GetCostsOverviewForbidden struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetCostsOverviewForbidden describes a response with status code 403, with default header values.
The current user does not have access to the requested organization. (code: `organization.invalid_access`)
func NewGetCostsOverviewForbidden ¶
func NewGetCostsOverviewForbidden() *GetCostsOverviewForbidden
NewGetCostsOverviewForbidden creates a GetCostsOverviewForbidden with default headers values
func (*GetCostsOverviewForbidden) Error ¶
func (o *GetCostsOverviewForbidden) Error() string
func (*GetCostsOverviewForbidden) GetPayload ¶
func (o *GetCostsOverviewForbidden) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsOverviewInternalServerError) Error() string
func (*GetCostsOverviewInternalServerError) GetPayload ¶ added in v1.8.0
func (o *GetCostsOverviewInternalServerError) GetPayload() *models.BasicFailedReply
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) Error ¶ added in v1.8.0
func (o *GetCostsOverviewNotFound) Error() string
func (*GetCostsOverviewNotFound) GetPayload ¶ added in v1.8.0
func (o *GetCostsOverviewNotFound) GetPayload() *models.BasicFailedReply
type GetCostsOverviewOK ¶
type GetCostsOverviewOK struct {
Payload *models.CostsOverview
}
GetCostsOverviewOK describes a response with status code 200, with default header values.
Top-level cost overview for the organization
func NewGetCostsOverviewOK ¶
func NewGetCostsOverviewOK() *GetCostsOverviewOK
NewGetCostsOverviewOK creates a GetCostsOverviewOK with default headers values
func (*GetCostsOverviewOK) Error ¶
func (o *GetCostsOverviewOK) Error() string
func (*GetCostsOverviewOK) GetPayload ¶
func (o *GetCostsOverviewOK) GetPayload() *models.CostsOverview
type GetCostsOverviewParams ¶
type GetCostsOverviewParams struct { /* From. A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month. */ 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 ¶
func (o *GetCostsOverviewParams) WithContext(ctx context.Context) *GetCostsOverviewParams
WithContext adds the context to the get costs overview params
func (*GetCostsOverviewParams) WithDefaults ¶
func (o *GetCostsOverviewParams) WithDefaults() *GetCostsOverviewParams
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 ¶
func (o *GetCostsOverviewParams) WithFrom(from *string) *GetCostsOverviewParams
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 ¶
func (o *GetCostsOverviewParams) WithTimeout(timeout time.Duration) *GetCostsOverviewParams
WithTimeout adds the timeout to the get costs overview params
func (*GetCostsOverviewParams) WithTo ¶
func (o *GetCostsOverviewParams) WithTo(to *string) *GetCostsOverviewParams
WithTo adds the to to the get costs overview params
func (*GetCostsOverviewParams) WriteToRequest ¶
func (o *GetCostsOverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- billing_costs_analysis_client.go
- get_costs_deployments_parameters.go
- get_costs_deployments_responses.go
- get_costs_items_by_deployment_parameters.go
- get_costs_items_by_deployment_responses.go
- get_costs_items_parameters.go
- get_costs_items_responses.go
- get_costs_overview_parameters.go
- get_costs_overview_responses.go