Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCostsCharts(params *GetCostsChartsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCostsChartsOK, error)
- func (a *Client) GetCostsChartsByDeployment(params *GetCostsChartsByDeploymentParams, ...) (*GetCostsChartsByDeploymentOK, error)
- 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 GetCostsChartsBadRequest
- func (o *GetCostsChartsBadRequest) Code() int
- func (o *GetCostsChartsBadRequest) Error() string
- func (o *GetCostsChartsBadRequest) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsBadRequest) IsClientError() bool
- func (o *GetCostsChartsBadRequest) IsCode(code int) bool
- func (o *GetCostsChartsBadRequest) IsRedirect() bool
- func (o *GetCostsChartsBadRequest) IsServerError() bool
- func (o *GetCostsChartsBadRequest) IsSuccess() bool
- func (o *GetCostsChartsBadRequest) String() string
- type GetCostsChartsByDeploymentBadRequest
- func (o *GetCostsChartsByDeploymentBadRequest) Code() int
- func (o *GetCostsChartsByDeploymentBadRequest) Error() string
- func (o *GetCostsChartsByDeploymentBadRequest) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsByDeploymentBadRequest) IsClientError() bool
- func (o *GetCostsChartsByDeploymentBadRequest) IsCode(code int) bool
- func (o *GetCostsChartsByDeploymentBadRequest) IsRedirect() bool
- func (o *GetCostsChartsByDeploymentBadRequest) IsServerError() bool
- func (o *GetCostsChartsByDeploymentBadRequest) IsSuccess() bool
- func (o *GetCostsChartsByDeploymentBadRequest) String() string
- type GetCostsChartsByDeploymentForbidden
- func (o *GetCostsChartsByDeploymentForbidden) Code() int
- func (o *GetCostsChartsByDeploymentForbidden) Error() string
- func (o *GetCostsChartsByDeploymentForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsByDeploymentForbidden) IsClientError() bool
- func (o *GetCostsChartsByDeploymentForbidden) IsCode(code int) bool
- func (o *GetCostsChartsByDeploymentForbidden) IsRedirect() bool
- func (o *GetCostsChartsByDeploymentForbidden) IsServerError() bool
- func (o *GetCostsChartsByDeploymentForbidden) IsSuccess() bool
- func (o *GetCostsChartsByDeploymentForbidden) String() string
- type GetCostsChartsByDeploymentInternalServerError
- func (o *GetCostsChartsByDeploymentInternalServerError) Code() int
- func (o *GetCostsChartsByDeploymentInternalServerError) Error() string
- func (o *GetCostsChartsByDeploymentInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsByDeploymentInternalServerError) IsClientError() bool
- func (o *GetCostsChartsByDeploymentInternalServerError) IsCode(code int) bool
- func (o *GetCostsChartsByDeploymentInternalServerError) IsRedirect() bool
- func (o *GetCostsChartsByDeploymentInternalServerError) IsServerError() bool
- func (o *GetCostsChartsByDeploymentInternalServerError) IsSuccess() bool
- func (o *GetCostsChartsByDeploymentInternalServerError) String() string
- type GetCostsChartsByDeploymentNotFound
- func (o *GetCostsChartsByDeploymentNotFound) Code() int
- func (o *GetCostsChartsByDeploymentNotFound) Error() string
- func (o *GetCostsChartsByDeploymentNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsByDeploymentNotFound) IsClientError() bool
- func (o *GetCostsChartsByDeploymentNotFound) IsCode(code int) bool
- func (o *GetCostsChartsByDeploymentNotFound) IsRedirect() bool
- func (o *GetCostsChartsByDeploymentNotFound) IsServerError() bool
- func (o *GetCostsChartsByDeploymentNotFound) IsSuccess() bool
- func (o *GetCostsChartsByDeploymentNotFound) String() string
- type GetCostsChartsByDeploymentOK
- func (o *GetCostsChartsByDeploymentOK) Code() int
- func (o *GetCostsChartsByDeploymentOK) Error() string
- func (o *GetCostsChartsByDeploymentOK) GetPayload() *models.ChartItems
- func (o *GetCostsChartsByDeploymentOK) IsClientError() bool
- func (o *GetCostsChartsByDeploymentOK) IsCode(code int) bool
- func (o *GetCostsChartsByDeploymentOK) IsRedirect() bool
- func (o *GetCostsChartsByDeploymentOK) IsServerError() bool
- func (o *GetCostsChartsByDeploymentOK) IsSuccess() bool
- func (o *GetCostsChartsByDeploymentOK) String() string
- type GetCostsChartsByDeploymentParams
- func NewGetCostsChartsByDeploymentParams() *GetCostsChartsByDeploymentParams
- func NewGetCostsChartsByDeploymentParamsWithContext(ctx context.Context) *GetCostsChartsByDeploymentParams
- func NewGetCostsChartsByDeploymentParamsWithHTTPClient(client *http.Client) *GetCostsChartsByDeploymentParams
- func NewGetCostsChartsByDeploymentParamsWithTimeout(timeout time.Duration) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) SetBucketingStrategy(bucketingStrategy *string)
- func (o *GetCostsChartsByDeploymentParams) SetContext(ctx context.Context)
- func (o *GetCostsChartsByDeploymentParams) SetDefaults()
- func (o *GetCostsChartsByDeploymentParams) SetDeploymentID(deploymentID string)
- func (o *GetCostsChartsByDeploymentParams) SetFrom(from *string)
- func (o *GetCostsChartsByDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsChartsByDeploymentParams) SetOrganizationID(organizationID string)
- func (o *GetCostsChartsByDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsChartsByDeploymentParams) SetTo(to *string)
- func (o *GetCostsChartsByDeploymentParams) WithBucketingStrategy(bucketingStrategy *string) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithContext(ctx context.Context) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithDefaults() *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithDeploymentID(deploymentID string) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithFrom(from *string) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithHTTPClient(client *http.Client) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithOrganizationID(organizationID string) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithTimeout(timeout time.Duration) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WithTo(to *string) *GetCostsChartsByDeploymentParams
- func (o *GetCostsChartsByDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsChartsByDeploymentReader
- type GetCostsChartsByDeploymentTooManyRequests
- func (o *GetCostsChartsByDeploymentTooManyRequests) Code() int
- func (o *GetCostsChartsByDeploymentTooManyRequests) Error() string
- func (o *GetCostsChartsByDeploymentTooManyRequests) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsByDeploymentTooManyRequests) IsClientError() bool
- func (o *GetCostsChartsByDeploymentTooManyRequests) IsCode(code int) bool
- func (o *GetCostsChartsByDeploymentTooManyRequests) IsRedirect() bool
- func (o *GetCostsChartsByDeploymentTooManyRequests) IsServerError() bool
- func (o *GetCostsChartsByDeploymentTooManyRequests) IsSuccess() bool
- func (o *GetCostsChartsByDeploymentTooManyRequests) String() string
- type GetCostsChartsForbidden
- func (o *GetCostsChartsForbidden) Code() int
- func (o *GetCostsChartsForbidden) Error() string
- func (o *GetCostsChartsForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsForbidden) IsClientError() bool
- func (o *GetCostsChartsForbidden) IsCode(code int) bool
- func (o *GetCostsChartsForbidden) IsRedirect() bool
- func (o *GetCostsChartsForbidden) IsServerError() bool
- func (o *GetCostsChartsForbidden) IsSuccess() bool
- func (o *GetCostsChartsForbidden) String() string
- type GetCostsChartsInternalServerError
- func (o *GetCostsChartsInternalServerError) Code() int
- func (o *GetCostsChartsInternalServerError) Error() string
- func (o *GetCostsChartsInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsInternalServerError) IsClientError() bool
- func (o *GetCostsChartsInternalServerError) IsCode(code int) bool
- func (o *GetCostsChartsInternalServerError) IsRedirect() bool
- func (o *GetCostsChartsInternalServerError) IsServerError() bool
- func (o *GetCostsChartsInternalServerError) IsSuccess() bool
- func (o *GetCostsChartsInternalServerError) String() string
- type GetCostsChartsNotFound
- func (o *GetCostsChartsNotFound) Code() int
- func (o *GetCostsChartsNotFound) Error() string
- func (o *GetCostsChartsNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsNotFound) IsClientError() bool
- func (o *GetCostsChartsNotFound) IsCode(code int) bool
- func (o *GetCostsChartsNotFound) IsRedirect() bool
- func (o *GetCostsChartsNotFound) IsServerError() bool
- func (o *GetCostsChartsNotFound) IsSuccess() bool
- func (o *GetCostsChartsNotFound) String() string
- type GetCostsChartsOK
- func (o *GetCostsChartsOK) Code() int
- func (o *GetCostsChartsOK) Error() string
- func (o *GetCostsChartsOK) GetPayload() *models.ChartItems
- func (o *GetCostsChartsOK) IsClientError() bool
- func (o *GetCostsChartsOK) IsCode(code int) bool
- func (o *GetCostsChartsOK) IsRedirect() bool
- func (o *GetCostsChartsOK) IsServerError() bool
- func (o *GetCostsChartsOK) IsSuccess() bool
- func (o *GetCostsChartsOK) String() string
- type GetCostsChartsParams
- func NewGetCostsChartsParams() *GetCostsChartsParams
- func NewGetCostsChartsParamsWithContext(ctx context.Context) *GetCostsChartsParams
- func NewGetCostsChartsParamsWithHTTPClient(client *http.Client) *GetCostsChartsParams
- func NewGetCostsChartsParamsWithTimeout(timeout time.Duration) *GetCostsChartsParams
- func (o *GetCostsChartsParams) SetBucketingStrategy(bucketingStrategy *string)
- func (o *GetCostsChartsParams) SetContext(ctx context.Context)
- func (o *GetCostsChartsParams) SetDefaults()
- func (o *GetCostsChartsParams) SetFrom(from *string)
- func (o *GetCostsChartsParams) SetHTTPClient(client *http.Client)
- func (o *GetCostsChartsParams) SetOrganizationID(organizationID string)
- func (o *GetCostsChartsParams) SetTimeout(timeout time.Duration)
- func (o *GetCostsChartsParams) SetTo(to *string)
- func (o *GetCostsChartsParams) WithBucketingStrategy(bucketingStrategy *string) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithContext(ctx context.Context) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithDefaults() *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithFrom(from *string) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithHTTPClient(client *http.Client) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithOrganizationID(organizationID string) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithTimeout(timeout time.Duration) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WithTo(to *string) *GetCostsChartsParams
- func (o *GetCostsChartsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCostsChartsReader
- type GetCostsChartsTooManyRequests
- func (o *GetCostsChartsTooManyRequests) Code() int
- func (o *GetCostsChartsTooManyRequests) Error() string
- func (o *GetCostsChartsTooManyRequests) GetPayload() *models.BasicFailedReply
- func (o *GetCostsChartsTooManyRequests) IsClientError() bool
- func (o *GetCostsChartsTooManyRequests) IsCode(code int) bool
- func (o *GetCostsChartsTooManyRequests) IsRedirect() bool
- func (o *GetCostsChartsTooManyRequests) IsServerError() bool
- func (o *GetCostsChartsTooManyRequests) IsSuccess() bool
- func (o *GetCostsChartsTooManyRequests) String() string
- type GetCostsDeploymentsBadRequest
- func (o *GetCostsDeploymentsBadRequest) Code() int
- func (o *GetCostsDeploymentsBadRequest) Error() string
- func (o *GetCostsDeploymentsBadRequest) GetPayload() *models.BasicFailedReply
- func (o *GetCostsDeploymentsBadRequest) IsClientError() bool
- func (o *GetCostsDeploymentsBadRequest) IsCode(code int) bool
- func (o *GetCostsDeploymentsBadRequest) IsRedirect() bool
- func (o *GetCostsDeploymentsBadRequest) IsServerError() bool
- func (o *GetCostsDeploymentsBadRequest) IsSuccess() bool
- func (o *GetCostsDeploymentsBadRequest) String() string
- type GetCostsDeploymentsForbidden
- func (o *GetCostsDeploymentsForbidden) Code() int
- func (o *GetCostsDeploymentsForbidden) Error() string
- func (o *GetCostsDeploymentsForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetCostsDeploymentsForbidden) IsClientError() bool
- func (o *GetCostsDeploymentsForbidden) IsCode(code int) bool
- func (o *GetCostsDeploymentsForbidden) IsRedirect() bool
- func (o *GetCostsDeploymentsForbidden) IsServerError() bool
- func (o *GetCostsDeploymentsForbidden) IsSuccess() bool
- func (o *GetCostsDeploymentsForbidden) String() string
- type GetCostsDeploymentsInternalServerError
- func (o *GetCostsDeploymentsInternalServerError) Code() int
- func (o *GetCostsDeploymentsInternalServerError) Error() string
- func (o *GetCostsDeploymentsInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *GetCostsDeploymentsInternalServerError) IsClientError() bool
- func (o *GetCostsDeploymentsInternalServerError) IsCode(code int) bool
- func (o *GetCostsDeploymentsInternalServerError) IsRedirect() bool
- func (o *GetCostsDeploymentsInternalServerError) IsServerError() bool
- func (o *GetCostsDeploymentsInternalServerError) IsSuccess() bool
- func (o *GetCostsDeploymentsInternalServerError) String() string
- type GetCostsDeploymentsNotFound
- func (o *GetCostsDeploymentsNotFound) Code() int
- func (o *GetCostsDeploymentsNotFound) Error() string
- func (o *GetCostsDeploymentsNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCostsDeploymentsNotFound) IsClientError() bool
- func (o *GetCostsDeploymentsNotFound) IsCode(code int) bool
- func (o *GetCostsDeploymentsNotFound) IsRedirect() bool
- func (o *GetCostsDeploymentsNotFound) IsServerError() bool
- func (o *GetCostsDeploymentsNotFound) IsSuccess() bool
- func (o *GetCostsDeploymentsNotFound) String() string
- type GetCostsDeploymentsOK
- func (o *GetCostsDeploymentsOK) Code() int
- func (o *GetCostsDeploymentsOK) Error() string
- func (o *GetCostsDeploymentsOK) GetPayload() *models.DeploymentsCosts
- func (o *GetCostsDeploymentsOK) IsClientError() bool
- func (o *GetCostsDeploymentsOK) IsCode(code int) bool
- func (o *GetCostsDeploymentsOK) IsRedirect() bool
- func (o *GetCostsDeploymentsOK) IsServerError() bool
- func (o *GetCostsDeploymentsOK) IsSuccess() bool
- func (o *GetCostsDeploymentsOK) String() string
- 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) SetAccept(accept *string)
- 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) WithAccept(accept *string) *GetCostsDeploymentsParams
- 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
- func (o *GetCostsItemsBadRequest) Code() int
- func (o *GetCostsItemsBadRequest) Error() string
- func (o *GetCostsItemsBadRequest) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsBadRequest) IsClientError() bool
- func (o *GetCostsItemsBadRequest) IsCode(code int) bool
- func (o *GetCostsItemsBadRequest) IsRedirect() bool
- func (o *GetCostsItemsBadRequest) IsServerError() bool
- func (o *GetCostsItemsBadRequest) IsSuccess() bool
- func (o *GetCostsItemsBadRequest) String() string
- type GetCostsItemsByDeploymentBadRequest
- func (o *GetCostsItemsByDeploymentBadRequest) Code() int
- func (o *GetCostsItemsByDeploymentBadRequest) Error() string
- func (o *GetCostsItemsByDeploymentBadRequest) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsByDeploymentBadRequest) IsClientError() bool
- func (o *GetCostsItemsByDeploymentBadRequest) IsCode(code int) bool
- func (o *GetCostsItemsByDeploymentBadRequest) IsRedirect() bool
- func (o *GetCostsItemsByDeploymentBadRequest) IsServerError() bool
- func (o *GetCostsItemsByDeploymentBadRequest) IsSuccess() bool
- func (o *GetCostsItemsByDeploymentBadRequest) String() string
- type GetCostsItemsByDeploymentForbidden
- func (o *GetCostsItemsByDeploymentForbidden) Code() int
- func (o *GetCostsItemsByDeploymentForbidden) Error() string
- func (o *GetCostsItemsByDeploymentForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsByDeploymentForbidden) IsClientError() bool
- func (o *GetCostsItemsByDeploymentForbidden) IsCode(code int) bool
- func (o *GetCostsItemsByDeploymentForbidden) IsRedirect() bool
- func (o *GetCostsItemsByDeploymentForbidden) IsServerError() bool
- func (o *GetCostsItemsByDeploymentForbidden) IsSuccess() bool
- func (o *GetCostsItemsByDeploymentForbidden) String() string
- type GetCostsItemsByDeploymentInternalServerError
- func (o *GetCostsItemsByDeploymentInternalServerError) Code() int
- func (o *GetCostsItemsByDeploymentInternalServerError) Error() string
- func (o *GetCostsItemsByDeploymentInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsByDeploymentInternalServerError) IsClientError() bool
- func (o *GetCostsItemsByDeploymentInternalServerError) IsCode(code int) bool
- func (o *GetCostsItemsByDeploymentInternalServerError) IsRedirect() bool
- func (o *GetCostsItemsByDeploymentInternalServerError) IsServerError() bool
- func (o *GetCostsItemsByDeploymentInternalServerError) IsSuccess() bool
- func (o *GetCostsItemsByDeploymentInternalServerError) String() string
- type GetCostsItemsByDeploymentNotFound
- func (o *GetCostsItemsByDeploymentNotFound) Code() int
- func (o *GetCostsItemsByDeploymentNotFound) Error() string
- func (o *GetCostsItemsByDeploymentNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsByDeploymentNotFound) IsClientError() bool
- func (o *GetCostsItemsByDeploymentNotFound) IsCode(code int) bool
- func (o *GetCostsItemsByDeploymentNotFound) IsRedirect() bool
- func (o *GetCostsItemsByDeploymentNotFound) IsServerError() bool
- func (o *GetCostsItemsByDeploymentNotFound) IsSuccess() bool
- func (o *GetCostsItemsByDeploymentNotFound) String() string
- type GetCostsItemsByDeploymentOK
- func (o *GetCostsItemsByDeploymentOK) Code() int
- func (o *GetCostsItemsByDeploymentOK) Error() string
- func (o *GetCostsItemsByDeploymentOK) GetPayload() *models.ItemsCosts
- func (o *GetCostsItemsByDeploymentOK) IsClientError() bool
- func (o *GetCostsItemsByDeploymentOK) IsCode(code int) bool
- func (o *GetCostsItemsByDeploymentOK) IsRedirect() bool
- func (o *GetCostsItemsByDeploymentOK) IsServerError() bool
- func (o *GetCostsItemsByDeploymentOK) IsSuccess() bool
- func (o *GetCostsItemsByDeploymentOK) String() string
- 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) SetAccept(accept *string)
- 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) WithAccept(accept *string) *GetCostsItemsByDeploymentParams
- 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
- func (o *GetCostsItemsForbidden) Code() int
- func (o *GetCostsItemsForbidden) Error() string
- func (o *GetCostsItemsForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsForbidden) IsClientError() bool
- func (o *GetCostsItemsForbidden) IsCode(code int) bool
- func (o *GetCostsItemsForbidden) IsRedirect() bool
- func (o *GetCostsItemsForbidden) IsServerError() bool
- func (o *GetCostsItemsForbidden) IsSuccess() bool
- func (o *GetCostsItemsForbidden) String() string
- type GetCostsItemsInternalServerError
- func (o *GetCostsItemsInternalServerError) Code() int
- func (o *GetCostsItemsInternalServerError) Error() string
- func (o *GetCostsItemsInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsInternalServerError) IsClientError() bool
- func (o *GetCostsItemsInternalServerError) IsCode(code int) bool
- func (o *GetCostsItemsInternalServerError) IsRedirect() bool
- func (o *GetCostsItemsInternalServerError) IsServerError() bool
- func (o *GetCostsItemsInternalServerError) IsSuccess() bool
- func (o *GetCostsItemsInternalServerError) String() string
- type GetCostsItemsNotFound
- func (o *GetCostsItemsNotFound) Code() int
- func (o *GetCostsItemsNotFound) Error() string
- func (o *GetCostsItemsNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCostsItemsNotFound) IsClientError() bool
- func (o *GetCostsItemsNotFound) IsCode(code int) bool
- func (o *GetCostsItemsNotFound) IsRedirect() bool
- func (o *GetCostsItemsNotFound) IsServerError() bool
- func (o *GetCostsItemsNotFound) IsSuccess() bool
- func (o *GetCostsItemsNotFound) String() string
- type GetCostsItemsOK
- func (o *GetCostsItemsOK) Code() int
- func (o *GetCostsItemsOK) Error() string
- func (o *GetCostsItemsOK) GetPayload() *models.ItemsCosts
- func (o *GetCostsItemsOK) IsClientError() bool
- func (o *GetCostsItemsOK) IsCode(code int) bool
- func (o *GetCostsItemsOK) IsRedirect() bool
- func (o *GetCostsItemsOK) IsServerError() bool
- func (o *GetCostsItemsOK) IsSuccess() bool
- func (o *GetCostsItemsOK) String() string
- 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
- func (o *GetCostsOverviewBadRequest) Code() int
- func (o *GetCostsOverviewBadRequest) Error() string
- func (o *GetCostsOverviewBadRequest) GetPayload() *models.BasicFailedReply
- func (o *GetCostsOverviewBadRequest) IsClientError() bool
- func (o *GetCostsOverviewBadRequest) IsCode(code int) bool
- func (o *GetCostsOverviewBadRequest) IsRedirect() bool
- func (o *GetCostsOverviewBadRequest) IsServerError() bool
- func (o *GetCostsOverviewBadRequest) IsSuccess() bool
- func (o *GetCostsOverviewBadRequest) String() string
- type GetCostsOverviewForbidden
- func (o *GetCostsOverviewForbidden) Code() int
- func (o *GetCostsOverviewForbidden) Error() string
- func (o *GetCostsOverviewForbidden) GetPayload() *models.BasicFailedReply
- func (o *GetCostsOverviewForbidden) IsClientError() bool
- func (o *GetCostsOverviewForbidden) IsCode(code int) bool
- func (o *GetCostsOverviewForbidden) IsRedirect() bool
- func (o *GetCostsOverviewForbidden) IsServerError() bool
- func (o *GetCostsOverviewForbidden) IsSuccess() bool
- func (o *GetCostsOverviewForbidden) String() string
- type GetCostsOverviewInternalServerError
- func (o *GetCostsOverviewInternalServerError) Code() int
- func (o *GetCostsOverviewInternalServerError) Error() string
- func (o *GetCostsOverviewInternalServerError) GetPayload() *models.BasicFailedReply
- func (o *GetCostsOverviewInternalServerError) IsClientError() bool
- func (o *GetCostsOverviewInternalServerError) IsCode(code int) bool
- func (o *GetCostsOverviewInternalServerError) IsRedirect() bool
- func (o *GetCostsOverviewInternalServerError) IsServerError() bool
- func (o *GetCostsOverviewInternalServerError) IsSuccess() bool
- func (o *GetCostsOverviewInternalServerError) String() string
- type GetCostsOverviewNotFound
- func (o *GetCostsOverviewNotFound) Code() int
- func (o *GetCostsOverviewNotFound) Error() string
- func (o *GetCostsOverviewNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetCostsOverviewNotFound) IsClientError() bool
- func (o *GetCostsOverviewNotFound) IsCode(code int) bool
- func (o *GetCostsOverviewNotFound) IsRedirect() bool
- func (o *GetCostsOverviewNotFound) IsServerError() bool
- func (o *GetCostsOverviewNotFound) IsSuccess() bool
- func (o *GetCostsOverviewNotFound) String() string
- type GetCostsOverviewOK
- func (o *GetCostsOverviewOK) Code() int
- func (o *GetCostsOverviewOK) Error() string
- func (o *GetCostsOverviewOK) GetPayload() *models.CostsOverview
- func (o *GetCostsOverviewOK) IsClientError() bool
- func (o *GetCostsOverviewOK) IsCode(code int) bool
- func (o *GetCostsOverviewOK) IsRedirect() bool
- func (o *GetCostsOverviewOK) IsServerError() bool
- func (o *GetCostsOverviewOK) IsSuccess() bool
- func (o *GetCostsOverviewOK) String() string
- 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) 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 (o *GetCostsChartsBadRequest) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsByDeploymentBadRequest) Code() int
Code gets the status code for the get costs charts by deployment bad request response
func (*GetCostsChartsByDeploymentBadRequest) Error ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentBadRequest) Error() string
func (*GetCostsChartsByDeploymentBadRequest) GetPayload ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentBadRequest) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsByDeploymentBadRequest) IsCode(code int) bool
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
func (o *GetCostsChartsByDeploymentBadRequest) IsRedirect() bool
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
func (o *GetCostsChartsByDeploymentBadRequest) IsSuccess() bool
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
func (o *GetCostsChartsByDeploymentBadRequest) String() string
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
func (o *GetCostsChartsByDeploymentForbidden) Code() int
Code gets the status code for the get costs charts by deployment forbidden response
func (*GetCostsChartsByDeploymentForbidden) Error ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentForbidden) Error() string
func (*GetCostsChartsByDeploymentForbidden) GetPayload ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentForbidden) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsByDeploymentForbidden) IsCode(code int) bool
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
func (o *GetCostsChartsByDeploymentForbidden) IsSuccess() bool
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
func (o *GetCostsChartsByDeploymentForbidden) String() string
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
func (o *GetCostsChartsByDeploymentInternalServerError) Code() int
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 (o *GetCostsChartsByDeploymentInternalServerError) Error() string
func (*GetCostsChartsByDeploymentInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentInternalServerError) GetPayload() *models.BasicFailedReply
func (*GetCostsChartsByDeploymentInternalServerError) IsClientError ¶ added in v1.13.0
func (o *GetCostsChartsByDeploymentInternalServerError) IsClientError() bool
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
func (o *GetCostsChartsByDeploymentInternalServerError) IsCode(code int) bool
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
func (o *GetCostsChartsByDeploymentInternalServerError) IsRedirect() bool
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
func (o *GetCostsChartsByDeploymentInternalServerError) IsServerError() bool
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
func (o *GetCostsChartsByDeploymentInternalServerError) IsSuccess() bool
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
func (o *GetCostsChartsByDeploymentInternalServerError) String() string
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
func (o *GetCostsChartsByDeploymentNotFound) Code() int
Code gets the status code for the get costs charts by deployment not found response
func (*GetCostsChartsByDeploymentNotFound) Error ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentNotFound) Error() string
func (*GetCostsChartsByDeploymentNotFound) GetPayload ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentNotFound) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsByDeploymentNotFound) IsCode(code int) bool
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
func (o *GetCostsChartsByDeploymentNotFound) IsSuccess() bool
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
func (o *GetCostsChartsByDeploymentNotFound) String() string
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
func (o *GetCostsChartsByDeploymentOK) Code() int
Code gets the status code for the get costs charts by deployment o k response
func (*GetCostsChartsByDeploymentOK) Error ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentOK) Error() string
func (*GetCostsChartsByDeploymentOK) GetPayload ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentOK) GetPayload() *models.ChartItems
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
func (o *GetCostsChartsByDeploymentOK) String() string
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
func (o *GetCostsChartsByDeploymentParams) SetContext(ctx context.Context)
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
func (o *GetCostsChartsByDeploymentParams) SetTo(to *string)
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
func (o *GetCostsChartsByDeploymentParams) WithContext(ctx context.Context) *GetCostsChartsByDeploymentParams
WithContext adds the context to the get costs charts by deployment params
func (*GetCostsChartsByDeploymentParams) WithDefaults ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentParams) WithDefaults() *GetCostsChartsByDeploymentParams
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
func (o *GetCostsChartsByDeploymentParams) WithDeploymentID(deploymentID string) *GetCostsChartsByDeploymentParams
WithDeploymentID adds the deploymentID to the get costs charts by deployment params
func (*GetCostsChartsByDeploymentParams) WithFrom ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentParams) WithFrom(from *string) *GetCostsChartsByDeploymentParams
WithFrom adds the from to the get costs charts by deployment params
func (*GetCostsChartsByDeploymentParams) WithHTTPClient ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentParams) WithHTTPClient(client *http.Client) *GetCostsChartsByDeploymentParams
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
func (o *GetCostsChartsByDeploymentParams) WithTimeout(timeout time.Duration) *GetCostsChartsByDeploymentParams
WithTimeout adds the timeout to the get costs charts by deployment params
func (*GetCostsChartsByDeploymentParams) WithTo ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentParams) WithTo(to *string) *GetCostsChartsByDeploymentParams
WithTo adds the to to the get costs charts by deployment params
func (*GetCostsChartsByDeploymentParams) WriteToRequest ¶ added in v1.10.0
func (o *GetCostsChartsByDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetCostsChartsByDeploymentTooManyRequests) Code() int
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 (o *GetCostsChartsByDeploymentTooManyRequests) Error() string
func (*GetCostsChartsByDeploymentTooManyRequests) GetPayload ¶ added in v1.14.0
func (o *GetCostsChartsByDeploymentTooManyRequests) GetPayload() *models.BasicFailedReply
func (*GetCostsChartsByDeploymentTooManyRequests) IsClientError ¶ added in v1.14.0
func (o *GetCostsChartsByDeploymentTooManyRequests) IsClientError() bool
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
func (o *GetCostsChartsByDeploymentTooManyRequests) IsCode(code int) bool
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
func (o *GetCostsChartsByDeploymentTooManyRequests) IsRedirect() bool
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
func (o *GetCostsChartsByDeploymentTooManyRequests) IsServerError() bool
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
func (o *GetCostsChartsByDeploymentTooManyRequests) IsSuccess() bool
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
func (o *GetCostsChartsByDeploymentTooManyRequests) String() string
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 (o *GetCostsChartsForbidden) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsInternalServerError) Code() int
Code gets the status code for the get costs charts internal server error response
func (*GetCostsChartsInternalServerError) Error ¶ added in v1.10.0
func (o *GetCostsChartsInternalServerError) Error() string
func (*GetCostsChartsInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetCostsChartsInternalServerError) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsInternalServerError) String() string
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 (o *GetCostsChartsNotFound) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsParams) WithContext(ctx context.Context) *GetCostsChartsParams
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
func (o *GetCostsChartsParams) WithTo(to *string) *GetCostsChartsParams
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
func (o *GetCostsChartsTooManyRequests) Code() int
Code gets the status code for the get costs charts too many requests response
func (*GetCostsChartsTooManyRequests) Error ¶ added in v1.14.0
func (o *GetCostsChartsTooManyRequests) Error() string
func (*GetCostsChartsTooManyRequests) GetPayload ¶ added in v1.14.0
func (o *GetCostsChartsTooManyRequests) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsChartsTooManyRequests) String() string
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
func (o *GetCostsDeploymentsBadRequest) Code() int
Code gets the status code for the get costs deployments bad request response
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
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
func (o *GetCostsDeploymentsBadRequest) String() string
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
func (o *GetCostsDeploymentsForbidden) Code() int
Code gets the status code for the get costs deployments forbidden response
func (*GetCostsDeploymentsForbidden) Error ¶
func (o *GetCostsDeploymentsForbidden) Error() string
func (*GetCostsDeploymentsForbidden) GetPayload ¶
func (o *GetCostsDeploymentsForbidden) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsDeploymentsForbidden) String() string
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
func (o *GetCostsDeploymentsInternalServerError) Code() int
Code gets the status code for the get costs deployments internal server error response
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
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
func (o *GetCostsDeploymentsInternalServerError) IsCode(code int) bool
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
func (o *GetCostsDeploymentsInternalServerError) IsRedirect() bool
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
func (o *GetCostsDeploymentsInternalServerError) IsSuccess() bool
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
func (o *GetCostsDeploymentsInternalServerError) String() string
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 (o *GetCostsDeploymentsNotFound) Error() string
func (*GetCostsDeploymentsNotFound) GetPayload ¶ added in v1.8.0
func (o *GetCostsDeploymentsNotFound) GetPayload() *models.BasicFailedReply
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 (o *GetCostsDeploymentsOK) GetPayload() *models.DeploymentsCosts
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
func (o *GetCostsDeploymentsParams) WithAccept(accept *string) *GetCostsDeploymentsParams
WithAccept adds the accept 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) 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 (o *GetCostsItemsBadRequest) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsItemsByDeploymentBadRequest) Code() int
Code gets the status code for the get costs items by deployment bad request response
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
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
func (o *GetCostsItemsByDeploymentBadRequest) IsCode(code int) bool
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
func (o *GetCostsItemsByDeploymentBadRequest) IsSuccess() bool
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
func (o *GetCostsItemsByDeploymentBadRequest) String() string
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
func (o *GetCostsItemsByDeploymentForbidden) Code() int
Code gets the status code for the get costs items by deployment forbidden response
func (*GetCostsItemsByDeploymentForbidden) Error ¶
func (o *GetCostsItemsByDeploymentForbidden) Error() string
func (*GetCostsItemsByDeploymentForbidden) GetPayload ¶
func (o *GetCostsItemsByDeploymentForbidden) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsItemsByDeploymentForbidden) IsCode(code int) bool
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
func (o *GetCostsItemsByDeploymentForbidden) IsSuccess() bool
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
func (o *GetCostsItemsByDeploymentForbidden) String() string
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
func (o *GetCostsItemsByDeploymentInternalServerError) Code() int
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 (o *GetCostsItemsByDeploymentInternalServerError) Error() string
func (*GetCostsItemsByDeploymentInternalServerError) GetPayload ¶ added in v1.8.0
func (o *GetCostsItemsByDeploymentInternalServerError) GetPayload() *models.BasicFailedReply
func (*GetCostsItemsByDeploymentInternalServerError) IsClientError ¶ added in v1.13.0
func (o *GetCostsItemsByDeploymentInternalServerError) IsClientError() bool
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
func (o *GetCostsItemsByDeploymentInternalServerError) IsCode(code int) bool
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
func (o *GetCostsItemsByDeploymentInternalServerError) IsRedirect() bool
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
func (o *GetCostsItemsByDeploymentInternalServerError) IsServerError() bool
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
func (o *GetCostsItemsByDeploymentInternalServerError) IsSuccess() bool
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
func (o *GetCostsItemsByDeploymentInternalServerError) String() string
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
func (o *GetCostsItemsByDeploymentNotFound) Code() int
Code gets the status code for the get costs items by deployment not found response
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
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
func (o *GetCostsItemsByDeploymentNotFound) String() string
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 (o *GetCostsItemsByDeploymentOK) Error() string
func (*GetCostsItemsByDeploymentOK) GetPayload ¶
func (o *GetCostsItemsByDeploymentOK) GetPayload() *models.ItemsCosts
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 ¶
func (o *GetCostsItemsByDeploymentParams) SetTo(to *string)
SetTo adds the to to the get costs items by deployment params
func (*GetCostsItemsByDeploymentParams) WithAccept ¶ added in v1.10.0
func (o *GetCostsItemsByDeploymentParams) WithAccept(accept *string) *GetCostsItemsByDeploymentParams
WithAccept adds the accept 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) 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 (o *GetCostsItemsForbidden) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsItemsInternalServerError) Code() int
Code gets the status code for the get costs items internal server error response
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
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
func (o *GetCostsItemsInternalServerError) String() string
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 (o *GetCostsItemsNotFound) GetPayload() *models.BasicFailedReply
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 ¶
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) 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 (o *GetCostsOverviewBadRequest) Error() string
func (*GetCostsOverviewBadRequest) GetPayload ¶ added in v1.8.0
func (o *GetCostsOverviewBadRequest) GetPayload() *models.BasicFailedReply
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 (o *GetCostsOverviewForbidden) GetPayload() *models.BasicFailedReply
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
func (o *GetCostsOverviewInternalServerError) Code() int
Code gets the status code for the get costs overview internal server error response
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
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
func (o *GetCostsOverviewInternalServerError) IsCode(code int) bool
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
func (o *GetCostsOverviewInternalServerError) IsSuccess() bool
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
func (o *GetCostsOverviewInternalServerError) String() string
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 (o *GetCostsOverviewNotFound) GetPayload() *models.BasicFailedReply
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 ¶
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_charts_by_deployment_parameters.go
- get_costs_charts_by_deployment_responses.go
- get_costs_charts_parameters.go
- get_costs_charts_responses.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