Documentation ¶
Index ¶
- type Client
- func (a *Client) GetForCategory(params *GetForCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetForCategoryOK, error)
- func (a *Client) GetForOrganization(params *GetForOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetForOrganizationOK, error)
- func (a *Client) GetForResourceGroup(params *GetForResourceGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetForResourceGroupOK, error)
- func (a *Client) GetForSubcategory(params *GetForSubcategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubcategoryOK, error)
- func (a *Client) GetForSubscription(params *GetForSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubscriptionOK, error)
- func (a *Client) GetForSubscriptionWithResourceGroups(params *GetForSubscriptionWithResourceGroupsParams, ...) (*GetForSubscriptionWithResourceGroupsOK, error)
- func (a *Client) PostAPIV1UsageCostGetForCategory(params *PostAPIV1UsageCostGetForCategoryParams, ...) (*PostAPIV1UsageCostGetForCategoryOK, error)
- func (a *Client) PostAPIV1UsageCostGetForResourceGroup(params *PostAPIV1UsageCostGetForResourceGroupParams, ...) (*PostAPIV1UsageCostGetForResourceGroupOK, error)
- func (a *Client) PostAPIV1UsageCostGetForSubcategory(params *PostAPIV1UsageCostGetForSubcategoryParams, ...) (*PostAPIV1UsageCostGetForSubcategoryOK, error)
- func (a *Client) PostAPIV1UsageCostGetForSubscription(params *PostAPIV1UsageCostGetForSubscriptionParams, ...) (*PostAPIV1UsageCostGetForSubscriptionOK, error)
- func (a *Client) PostAPIV1UsageCostGetForSubscriptionResourceGroups(params *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams, ...) (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetForCategoryOK
- type GetForCategoryParams
- func NewGetForCategoryParams() *GetForCategoryParams
- func NewGetForCategoryParamsWithContext(ctx context.Context) *GetForCategoryParams
- func NewGetForCategoryParamsWithHTTPClient(client *http.Client) *GetForCategoryParams
- func NewGetForCategoryParamsWithTimeout(timeout time.Duration) *GetForCategoryParams
- func (o *GetForCategoryParams) SetCategory(category string)
- func (o *GetForCategoryParams) SetContext(ctx context.Context)
- func (o *GetForCategoryParams) SetCurrencyCode(currencyCode string)
- func (o *GetForCategoryParams) SetFrom(from *strfmt.DateTime)
- func (o *GetForCategoryParams) SetHTTPClient(client *http.Client)
- func (o *GetForCategoryParams) SetResellerCustomerID(resellerCustomerID int32)
- func (o *GetForCategoryParams) SetSubscriptionID(subscriptionID string)
- func (o *GetForCategoryParams) SetTimeout(timeout time.Duration)
- func (o *GetForCategoryParams) SetTo(to *strfmt.DateTime)
- func (o *GetForCategoryParams) WithCategory(category string) *GetForCategoryParams
- func (o *GetForCategoryParams) WithContext(ctx context.Context) *GetForCategoryParams
- func (o *GetForCategoryParams) WithCurrencyCode(currencyCode string) *GetForCategoryParams
- func (o *GetForCategoryParams) WithFrom(from *strfmt.DateTime) *GetForCategoryParams
- func (o *GetForCategoryParams) WithHTTPClient(client *http.Client) *GetForCategoryParams
- func (o *GetForCategoryParams) WithResellerCustomerID(resellerCustomerID int32) *GetForCategoryParams
- func (o *GetForCategoryParams) WithSubscriptionID(subscriptionID string) *GetForCategoryParams
- func (o *GetForCategoryParams) WithTimeout(timeout time.Duration) *GetForCategoryParams
- func (o *GetForCategoryParams) WithTo(to *strfmt.DateTime) *GetForCategoryParams
- func (o *GetForCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForCategoryReader
- type GetForOrganizationOK
- type GetForOrganizationParams
- func NewGetForOrganizationParams() *GetForOrganizationParams
- func NewGetForOrganizationParamsWithContext(ctx context.Context) *GetForOrganizationParams
- func NewGetForOrganizationParamsWithHTTPClient(client *http.Client) *GetForOrganizationParams
- func NewGetForOrganizationParamsWithTimeout(timeout time.Duration) *GetForOrganizationParams
- func (o *GetForOrganizationParams) SetContext(ctx context.Context)
- func (o *GetForOrganizationParams) SetFrom(from *strfmt.DateTime)
- func (o *GetForOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetForOrganizationParams) SetOrganizationID(organizationID int32)
- func (o *GetForOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetForOrganizationParams) SetTo(to *strfmt.DateTime)
- func (o *GetForOrganizationParams) WithContext(ctx context.Context) *GetForOrganizationParams
- func (o *GetForOrganizationParams) WithFrom(from *strfmt.DateTime) *GetForOrganizationParams
- func (o *GetForOrganizationParams) WithHTTPClient(client *http.Client) *GetForOrganizationParams
- func (o *GetForOrganizationParams) WithOrganizationID(organizationID int32) *GetForOrganizationParams
- func (o *GetForOrganizationParams) WithTimeout(timeout time.Duration) *GetForOrganizationParams
- func (o *GetForOrganizationParams) WithTo(to *strfmt.DateTime) *GetForOrganizationParams
- func (o *GetForOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForOrganizationReader
- type GetForResourceGroupOK
- type GetForResourceGroupParams
- func NewGetForResourceGroupParams() *GetForResourceGroupParams
- func NewGetForResourceGroupParamsWithContext(ctx context.Context) *GetForResourceGroupParams
- func NewGetForResourceGroupParamsWithHTTPClient(client *http.Client) *GetForResourceGroupParams
- func NewGetForResourceGroupParamsWithTimeout(timeout time.Duration) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) SetContext(ctx context.Context)
- func (o *GetForResourceGroupParams) SetCurrencyCode(currencyCode string)
- func (o *GetForResourceGroupParams) SetFrom(from *strfmt.DateTime)
- func (o *GetForResourceGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetForResourceGroupParams) SetResellerCustomerID(resellerCustomerID int32)
- func (o *GetForResourceGroupParams) SetResourceGroup(resourceGroup string)
- func (o *GetForResourceGroupParams) SetSubscriptionID(subscriptionID string)
- func (o *GetForResourceGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetForResourceGroupParams) SetTo(to *strfmt.DateTime)
- func (o *GetForResourceGroupParams) WithContext(ctx context.Context) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithCurrencyCode(currencyCode string) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithFrom(from *strfmt.DateTime) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithHTTPClient(client *http.Client) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithResellerCustomerID(resellerCustomerID int32) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithResourceGroup(resourceGroup string) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithSubscriptionID(subscriptionID string) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithTimeout(timeout time.Duration) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WithTo(to *strfmt.DateTime) *GetForResourceGroupParams
- func (o *GetForResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForResourceGroupReader
- type GetForSubcategoryOK
- type GetForSubcategoryParams
- func NewGetForSubcategoryParams() *GetForSubcategoryParams
- func NewGetForSubcategoryParamsWithContext(ctx context.Context) *GetForSubcategoryParams
- func NewGetForSubcategoryParamsWithHTTPClient(client *http.Client) *GetForSubcategoryParams
- func NewGetForSubcategoryParamsWithTimeout(timeout time.Duration) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) SetCategory(category string)
- func (o *GetForSubcategoryParams) SetContext(ctx context.Context)
- func (o *GetForSubcategoryParams) SetCurrencyCode(currencyCode string)
- func (o *GetForSubcategoryParams) SetFrom(from *strfmt.DateTime)
- func (o *GetForSubcategoryParams) SetHTTPClient(client *http.Client)
- func (o *GetForSubcategoryParams) SetResellerCustomerID(resellerCustomerID int32)
- func (o *GetForSubcategoryParams) SetSubcategory(subcategory string)
- func (o *GetForSubcategoryParams) SetSubscriptionID(subscriptionID string)
- func (o *GetForSubcategoryParams) SetTimeout(timeout time.Duration)
- func (o *GetForSubcategoryParams) SetTo(to *strfmt.DateTime)
- func (o *GetForSubcategoryParams) WithCategory(category string) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithContext(ctx context.Context) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithCurrencyCode(currencyCode string) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithFrom(from *strfmt.DateTime) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithHTTPClient(client *http.Client) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithResellerCustomerID(resellerCustomerID int32) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithSubcategory(subcategory string) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithSubscriptionID(subscriptionID string) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithTimeout(timeout time.Duration) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WithTo(to *strfmt.DateTime) *GetForSubcategoryParams
- func (o *GetForSubcategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForSubcategoryReader
- type GetForSubscriptionOK
- type GetForSubscriptionParams
- func NewGetForSubscriptionParams() *GetForSubscriptionParams
- func NewGetForSubscriptionParamsWithContext(ctx context.Context) *GetForSubscriptionParams
- func NewGetForSubscriptionParamsWithHTTPClient(client *http.Client) *GetForSubscriptionParams
- func NewGetForSubscriptionParamsWithTimeout(timeout time.Duration) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetForSubscriptionParams) SetCurrencyCode(currencyCode string)
- func (o *GetForSubscriptionParams) SetFrom(from *strfmt.DateTime)
- func (o *GetForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetForSubscriptionParams) SetResellerCustomerID(resellerCustomerID int32)
- func (o *GetForSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *GetForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetForSubscriptionParams) SetTo(to *strfmt.DateTime)
- func (o *GetForSubscriptionParams) WithContext(ctx context.Context) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithCurrencyCode(currencyCode string) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithFrom(from *strfmt.DateTime) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithHTTPClient(client *http.Client) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithResellerCustomerID(resellerCustomerID int32) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithSubscriptionID(subscriptionID string) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithTimeout(timeout time.Duration) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WithTo(to *strfmt.DateTime) *GetForSubscriptionParams
- func (o *GetForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForSubscriptionReader
- type GetForSubscriptionWithResourceGroupsOK
- type GetForSubscriptionWithResourceGroupsParams
- func NewGetForSubscriptionWithResourceGroupsParams() *GetForSubscriptionWithResourceGroupsParams
- func NewGetForSubscriptionWithResourceGroupsParamsWithContext(ctx context.Context) *GetForSubscriptionWithResourceGroupsParams
- func NewGetForSubscriptionWithResourceGroupsParamsWithHTTPClient(client *http.Client) *GetForSubscriptionWithResourceGroupsParams
- func NewGetForSubscriptionWithResourceGroupsParamsWithTimeout(timeout time.Duration) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) SetContext(ctx context.Context)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetCurrencyCode(currencyCode string)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetFrom(from *strfmt.DateTime)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetResellerCustomerID(resellerCustomerID int32)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetSubscriptionID(subscriptionID string)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetForSubscriptionWithResourceGroupsParams) SetTo(to *strfmt.DateTime)
- func (o *GetForSubscriptionWithResourceGroupsParams) WithContext(ctx context.Context) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithCurrencyCode(currencyCode string) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithFrom(from *strfmt.DateTime) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithHTTPClient(client *http.Client) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithResellerCustomerID(resellerCustomerID int32) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithSubscriptionID(subscriptionID string) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithTimeout(timeout time.Duration) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WithTo(to *strfmt.DateTime) *GetForSubscriptionWithResourceGroupsParams
- func (o *GetForSubscriptionWithResourceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForSubscriptionWithResourceGroupsReader
- type PostAPIV1UsageCostGetForCategoryOK
- type PostAPIV1UsageCostGetForCategoryParams
- func NewPostAPIV1UsageCostGetForCategoryParams() *PostAPIV1UsageCostGetForCategoryParams
- func NewPostAPIV1UsageCostGetForCategoryParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForCategoryParams
- func NewPostAPIV1UsageCostGetForCategoryParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForCategoryParams
- func NewPostAPIV1UsageCostGetForCategoryParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForCategoryParams
- func (o *PostAPIV1UsageCostGetForCategoryParams) SetContext(ctx context.Context)
- func (o *PostAPIV1UsageCostGetForCategoryParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV1UsageCostGetForCategoryParams) SetModel(model *models.CategoryUsageCostRequest)
- func (o *PostAPIV1UsageCostGetForCategoryParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV1UsageCostGetForCategoryParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForCategoryParams
- func (o *PostAPIV1UsageCostGetForCategoryParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForCategoryParams
- func (o *PostAPIV1UsageCostGetForCategoryParams) WithModel(model *models.CategoryUsageCostRequest) *PostAPIV1UsageCostGetForCategoryParams
- func (o *PostAPIV1UsageCostGetForCategoryParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForCategoryParams
- func (o *PostAPIV1UsageCostGetForCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV1UsageCostGetForCategoryReader
- type PostAPIV1UsageCostGetForResourceGroupOK
- type PostAPIV1UsageCostGetForResourceGroupParams
- func NewPostAPIV1UsageCostGetForResourceGroupParams() *PostAPIV1UsageCostGetForResourceGroupParams
- func NewPostAPIV1UsageCostGetForResourceGroupParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForResourceGroupParams
- func NewPostAPIV1UsageCostGetForResourceGroupParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForResourceGroupParams
- func NewPostAPIV1UsageCostGetForResourceGroupParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForResourceGroupParams
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetContext(ctx context.Context)
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetModel(model *models.ResourceGroupUsageCostRequest)
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForResourceGroupParams
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForResourceGroupParams
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithModel(model *models.ResourceGroupUsageCostRequest) *PostAPIV1UsageCostGetForResourceGroupParams
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForResourceGroupParams
- func (o *PostAPIV1UsageCostGetForResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV1UsageCostGetForResourceGroupReader
- type PostAPIV1UsageCostGetForSubcategoryOK
- type PostAPIV1UsageCostGetForSubcategoryParams
- func NewPostAPIV1UsageCostGetForSubcategoryParams() *PostAPIV1UsageCostGetForSubcategoryParams
- func NewPostAPIV1UsageCostGetForSubcategoryParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubcategoryParams
- func NewPostAPIV1UsageCostGetForSubcategoryParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubcategoryParams
- func NewPostAPIV1UsageCostGetForSubcategoryParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubcategoryParams
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetContext(ctx context.Context)
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetModel(model *models.SubcategoryUsageCostRequest)
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubcategoryParams
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubcategoryParams
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithModel(model *models.SubcategoryUsageCostRequest) *PostAPIV1UsageCostGetForSubcategoryParams
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubcategoryParams
- func (o *PostAPIV1UsageCostGetForSubcategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV1UsageCostGetForSubcategoryReader
- type PostAPIV1UsageCostGetForSubscriptionOK
- type PostAPIV1UsageCostGetForSubscriptionParams
- func NewPostAPIV1UsageCostGetForSubscriptionParams() *PostAPIV1UsageCostGetForSubscriptionParams
- func NewPostAPIV1UsageCostGetForSubscriptionParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionParams
- func NewPostAPIV1UsageCostGetForSubscriptionParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionParams
- func NewPostAPIV1UsageCostGetForSubscriptionParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionParams
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetContext(ctx context.Context)
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetModel(model *models.SubscriptionUsageCostRequest)
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionParams
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionParams
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithModel(model *models.SubscriptionUsageCostRequest) *PostAPIV1UsageCostGetForSubscriptionParams
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionParams
- func (o *PostAPIV1UsageCostGetForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV1UsageCostGetForSubscriptionReader
- type PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK
- type PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParams() *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetContext(ctx context.Context)
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetModel(model *models.SubscriptionUsageCostRequest)
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithModel(model *models.SubscriptionUsageCostRequest) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
- func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV1UsageCostGetForSubscriptionResourceGroupsReader
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 usage cost API
func (*Client) GetForCategory ¶
func (a *Client) GetForCategory(params *GetForCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetForCategoryOK, error)
GetForCategory get for category API
func (*Client) GetForOrganization ¶
func (a *Client) GetForOrganization(params *GetForOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetForOrganizationOK, error)
GetForOrganization get for organization API
func (*Client) GetForResourceGroup ¶
func (a *Client) GetForResourceGroup(params *GetForResourceGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetForResourceGroupOK, error)
GetForResourceGroup get for resource group API
func (*Client) GetForSubcategory ¶
func (a *Client) GetForSubcategory(params *GetForSubcategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubcategoryOK, error)
GetForSubcategory get for subcategory API
func (*Client) GetForSubscription ¶
func (a *Client) GetForSubscription(params *GetForSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubscriptionOK, error)
GetForSubscription get for subscription API
func (*Client) GetForSubscriptionWithResourceGroups ¶
func (a *Client) GetForSubscriptionWithResourceGroups(params *GetForSubscriptionWithResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubscriptionWithResourceGroupsOK, error)
GetForSubscriptionWithResourceGroups get for subscription with resource groups API
func (*Client) PostAPIV1UsageCostGetForCategory ¶
func (a *Client) PostAPIV1UsageCostGetForCategory(params *PostAPIV1UsageCostGetForCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForCategoryOK, error)
PostAPIV1UsageCostGetForCategory post API v1 usage cost get for category API
func (*Client) PostAPIV1UsageCostGetForResourceGroup ¶
func (a *Client) PostAPIV1UsageCostGetForResourceGroup(params *PostAPIV1UsageCostGetForResourceGroupParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForResourceGroupOK, error)
PostAPIV1UsageCostGetForResourceGroup post API v1 usage cost get for resource group API
func (*Client) PostAPIV1UsageCostGetForSubcategory ¶
func (a *Client) PostAPIV1UsageCostGetForSubcategory(params *PostAPIV1UsageCostGetForSubcategoryParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForSubcategoryOK, error)
PostAPIV1UsageCostGetForSubcategory post API v1 usage cost get for subcategory API
func (*Client) PostAPIV1UsageCostGetForSubscription ¶
func (a *Client) PostAPIV1UsageCostGetForSubscription(params *PostAPIV1UsageCostGetForSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForSubscriptionOK, error)
PostAPIV1UsageCostGetForSubscription post API v1 usage cost get for subscription API
func (*Client) PostAPIV1UsageCostGetForSubscriptionResourceGroups ¶
func (a *Client) PostAPIV1UsageCostGetForSubscriptionResourceGroups(params *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK, error)
PostAPIV1UsageCostGetForSubscriptionResourceGroups post API v1 usage cost get for subscription resource groups API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetForCategory(params *GetForCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetForCategoryOK, error) GetForOrganization(params *GetForOrganizationParams, authInfo runtime.ClientAuthInfoWriter) (*GetForOrganizationOK, error) GetForResourceGroup(params *GetForResourceGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetForResourceGroupOK, error) GetForSubcategory(params *GetForSubcategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubcategoryOK, error) GetForSubscription(params *GetForSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubscriptionOK, error) GetForSubscriptionWithResourceGroups(params *GetForSubscriptionWithResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetForSubscriptionWithResourceGroupsOK, error) PostAPIV1UsageCostGetForCategory(params *PostAPIV1UsageCostGetForCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForCategoryOK, error) PostAPIV1UsageCostGetForResourceGroup(params *PostAPIV1UsageCostGetForResourceGroupParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForResourceGroupOK, error) PostAPIV1UsageCostGetForSubcategory(params *PostAPIV1UsageCostGetForSubcategoryParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForSubcategoryOK, error) PostAPIV1UsageCostGetForSubscription(params *PostAPIV1UsageCostGetForSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForSubscriptionOK, error) PostAPIV1UsageCostGetForSubscriptionResourceGroups(params *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK, 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 usage cost API client.
type GetForCategoryOK ¶
type GetForCategoryOK struct {
Payload *models.APICollectionOfCategoryUsageCost
}
GetForCategoryOK handles this case with default header values.
Success
func NewGetForCategoryOK ¶
func NewGetForCategoryOK() *GetForCategoryOK
NewGetForCategoryOK creates a GetForCategoryOK with default headers values
func (*GetForCategoryOK) Error ¶
func (o *GetForCategoryOK) Error() string
func (*GetForCategoryOK) GetPayload ¶
func (o *GetForCategoryOK) GetPayload() *models.APICollectionOfCategoryUsageCost
type GetForCategoryParams ¶
type GetForCategoryParams struct { /*Category*/ Category string /*CurrencyCode*/ CurrencyCode string /*From*/ From *strfmt.DateTime /*ResellerCustomerID*/ ResellerCustomerID int32 /*SubscriptionID*/ SubscriptionID string /*To*/ To *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForCategoryParams contains all the parameters to send to the API endpoint for the get for category operation typically these are written to a http.Request
func NewGetForCategoryParams ¶
func NewGetForCategoryParams() *GetForCategoryParams
NewGetForCategoryParams creates a new GetForCategoryParams object with the default values initialized.
func NewGetForCategoryParamsWithContext ¶
func NewGetForCategoryParamsWithContext(ctx context.Context) *GetForCategoryParams
NewGetForCategoryParamsWithContext creates a new GetForCategoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetForCategoryParamsWithHTTPClient ¶
func NewGetForCategoryParamsWithHTTPClient(client *http.Client) *GetForCategoryParams
NewGetForCategoryParamsWithHTTPClient creates a new GetForCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForCategoryParamsWithTimeout ¶
func NewGetForCategoryParamsWithTimeout(timeout time.Duration) *GetForCategoryParams
NewGetForCategoryParamsWithTimeout creates a new GetForCategoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForCategoryParams) SetCategory ¶
func (o *GetForCategoryParams) SetCategory(category string)
SetCategory adds the category to the get for category params
func (*GetForCategoryParams) SetContext ¶
func (o *GetForCategoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get for category params
func (*GetForCategoryParams) SetCurrencyCode ¶
func (o *GetForCategoryParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get for category params
func (*GetForCategoryParams) SetFrom ¶
func (o *GetForCategoryParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get for category params
func (*GetForCategoryParams) SetHTTPClient ¶
func (o *GetForCategoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for category params
func (*GetForCategoryParams) SetResellerCustomerID ¶
func (o *GetForCategoryParams) SetResellerCustomerID(resellerCustomerID int32)
SetResellerCustomerID adds the resellerCustomerId to the get for category params
func (*GetForCategoryParams) SetSubscriptionID ¶
func (o *GetForCategoryParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get for category params
func (*GetForCategoryParams) SetTimeout ¶
func (o *GetForCategoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for category params
func (*GetForCategoryParams) SetTo ¶
func (o *GetForCategoryParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get for category params
func (*GetForCategoryParams) WithCategory ¶
func (o *GetForCategoryParams) WithCategory(category string) *GetForCategoryParams
WithCategory adds the category to the get for category params
func (*GetForCategoryParams) WithContext ¶
func (o *GetForCategoryParams) WithContext(ctx context.Context) *GetForCategoryParams
WithContext adds the context to the get for category params
func (*GetForCategoryParams) WithCurrencyCode ¶
func (o *GetForCategoryParams) WithCurrencyCode(currencyCode string) *GetForCategoryParams
WithCurrencyCode adds the currencyCode to the get for category params
func (*GetForCategoryParams) WithFrom ¶
func (o *GetForCategoryParams) WithFrom(from *strfmt.DateTime) *GetForCategoryParams
WithFrom adds the from to the get for category params
func (*GetForCategoryParams) WithHTTPClient ¶
func (o *GetForCategoryParams) WithHTTPClient(client *http.Client) *GetForCategoryParams
WithHTTPClient adds the HTTPClient to the get for category params
func (*GetForCategoryParams) WithResellerCustomerID ¶
func (o *GetForCategoryParams) WithResellerCustomerID(resellerCustomerID int32) *GetForCategoryParams
WithResellerCustomerID adds the resellerCustomerID to the get for category params
func (*GetForCategoryParams) WithSubscriptionID ¶
func (o *GetForCategoryParams) WithSubscriptionID(subscriptionID string) *GetForCategoryParams
WithSubscriptionID adds the subscriptionID to the get for category params
func (*GetForCategoryParams) WithTimeout ¶
func (o *GetForCategoryParams) WithTimeout(timeout time.Duration) *GetForCategoryParams
WithTimeout adds the timeout to the get for category params
func (*GetForCategoryParams) WithTo ¶
func (o *GetForCategoryParams) WithTo(to *strfmt.DateTime) *GetForCategoryParams
WithTo adds the to to the get for category params
func (*GetForCategoryParams) WriteToRequest ¶
func (o *GetForCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForCategoryReader ¶
type GetForCategoryReader struct {
// contains filtered or unexported fields
}
GetForCategoryReader is a Reader for the GetForCategory structure.
func (*GetForCategoryReader) ReadResponse ¶
func (o *GetForCategoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetForOrganizationOK ¶
type GetForOrganizationOK struct {
Payload *models.APICollectionOfOrganizationUsageCost
}
GetForOrganizationOK handles this case with default header values.
Success
func NewGetForOrganizationOK ¶
func NewGetForOrganizationOK() *GetForOrganizationOK
NewGetForOrganizationOK creates a GetForOrganizationOK with default headers values
func (*GetForOrganizationOK) Error ¶
func (o *GetForOrganizationOK) Error() string
func (*GetForOrganizationOK) GetPayload ¶
func (o *GetForOrganizationOK) GetPayload() *models.APICollectionOfOrganizationUsageCost
type GetForOrganizationParams ¶
type GetForOrganizationParams struct { /*From*/ From *strfmt.DateTime /*OrganizationID*/ OrganizationID int32 /*To*/ To *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForOrganizationParams contains all the parameters to send to the API endpoint for the get for organization operation typically these are written to a http.Request
func NewGetForOrganizationParams ¶
func NewGetForOrganizationParams() *GetForOrganizationParams
NewGetForOrganizationParams creates a new GetForOrganizationParams object with the default values initialized.
func NewGetForOrganizationParamsWithContext ¶
func NewGetForOrganizationParamsWithContext(ctx context.Context) *GetForOrganizationParams
NewGetForOrganizationParamsWithContext creates a new GetForOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetForOrganizationParamsWithHTTPClient ¶
func NewGetForOrganizationParamsWithHTTPClient(client *http.Client) *GetForOrganizationParams
NewGetForOrganizationParamsWithHTTPClient creates a new GetForOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForOrganizationParamsWithTimeout ¶
func NewGetForOrganizationParamsWithTimeout(timeout time.Duration) *GetForOrganizationParams
NewGetForOrganizationParamsWithTimeout creates a new GetForOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForOrganizationParams) SetContext ¶
func (o *GetForOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get for organization params
func (*GetForOrganizationParams) SetFrom ¶
func (o *GetForOrganizationParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get for organization params
func (*GetForOrganizationParams) SetHTTPClient ¶
func (o *GetForOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for organization params
func (*GetForOrganizationParams) SetOrganizationID ¶
func (o *GetForOrganizationParams) SetOrganizationID(organizationID int32)
SetOrganizationID adds the organizationId to the get for organization params
func (*GetForOrganizationParams) SetTimeout ¶
func (o *GetForOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for organization params
func (*GetForOrganizationParams) SetTo ¶
func (o *GetForOrganizationParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get for organization params
func (*GetForOrganizationParams) WithContext ¶
func (o *GetForOrganizationParams) WithContext(ctx context.Context) *GetForOrganizationParams
WithContext adds the context to the get for organization params
func (*GetForOrganizationParams) WithFrom ¶
func (o *GetForOrganizationParams) WithFrom(from *strfmt.DateTime) *GetForOrganizationParams
WithFrom adds the from to the get for organization params
func (*GetForOrganizationParams) WithHTTPClient ¶
func (o *GetForOrganizationParams) WithHTTPClient(client *http.Client) *GetForOrganizationParams
WithHTTPClient adds the HTTPClient to the get for organization params
func (*GetForOrganizationParams) WithOrganizationID ¶
func (o *GetForOrganizationParams) WithOrganizationID(organizationID int32) *GetForOrganizationParams
WithOrganizationID adds the organizationID to the get for organization params
func (*GetForOrganizationParams) WithTimeout ¶
func (o *GetForOrganizationParams) WithTimeout(timeout time.Duration) *GetForOrganizationParams
WithTimeout adds the timeout to the get for organization params
func (*GetForOrganizationParams) WithTo ¶
func (o *GetForOrganizationParams) WithTo(to *strfmt.DateTime) *GetForOrganizationParams
WithTo adds the to to the get for organization params
func (*GetForOrganizationParams) WriteToRequest ¶
func (o *GetForOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForOrganizationReader ¶
type GetForOrganizationReader struct {
// contains filtered or unexported fields
}
GetForOrganizationReader is a Reader for the GetForOrganization structure.
func (*GetForOrganizationReader) ReadResponse ¶
func (o *GetForOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetForResourceGroupOK ¶
type GetForResourceGroupOK struct {
Payload *models.APICollectionOfResourceGroupUsageCost
}
GetForResourceGroupOK handles this case with default header values.
Success
func NewGetForResourceGroupOK ¶
func NewGetForResourceGroupOK() *GetForResourceGroupOK
NewGetForResourceGroupOK creates a GetForResourceGroupOK with default headers values
func (*GetForResourceGroupOK) Error ¶
func (o *GetForResourceGroupOK) Error() string
func (*GetForResourceGroupOK) GetPayload ¶
func (o *GetForResourceGroupOK) GetPayload() *models.APICollectionOfResourceGroupUsageCost
type GetForResourceGroupParams ¶
type GetForResourceGroupParams struct { /*CurrencyCode*/ CurrencyCode string /*From*/ From *strfmt.DateTime /*ResellerCustomerID*/ ResellerCustomerID int32 /*ResourceGroup*/ ResourceGroup string /*SubscriptionID*/ SubscriptionID string /*To*/ To *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForResourceGroupParams contains all the parameters to send to the API endpoint for the get for resource group operation typically these are written to a http.Request
func NewGetForResourceGroupParams ¶
func NewGetForResourceGroupParams() *GetForResourceGroupParams
NewGetForResourceGroupParams creates a new GetForResourceGroupParams object with the default values initialized.
func NewGetForResourceGroupParamsWithContext ¶
func NewGetForResourceGroupParamsWithContext(ctx context.Context) *GetForResourceGroupParams
NewGetForResourceGroupParamsWithContext creates a new GetForResourceGroupParams object with the default values initialized, and the ability to set a context for a request
func NewGetForResourceGroupParamsWithHTTPClient ¶
func NewGetForResourceGroupParamsWithHTTPClient(client *http.Client) *GetForResourceGroupParams
NewGetForResourceGroupParamsWithHTTPClient creates a new GetForResourceGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForResourceGroupParamsWithTimeout ¶
func NewGetForResourceGroupParamsWithTimeout(timeout time.Duration) *GetForResourceGroupParams
NewGetForResourceGroupParamsWithTimeout creates a new GetForResourceGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForResourceGroupParams) SetContext ¶
func (o *GetForResourceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get for resource group params
func (*GetForResourceGroupParams) SetCurrencyCode ¶
func (o *GetForResourceGroupParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get for resource group params
func (*GetForResourceGroupParams) SetFrom ¶
func (o *GetForResourceGroupParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get for resource group params
func (*GetForResourceGroupParams) SetHTTPClient ¶
func (o *GetForResourceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for resource group params
func (*GetForResourceGroupParams) SetResellerCustomerID ¶
func (o *GetForResourceGroupParams) SetResellerCustomerID(resellerCustomerID int32)
SetResellerCustomerID adds the resellerCustomerId to the get for resource group params
func (*GetForResourceGroupParams) SetResourceGroup ¶
func (o *GetForResourceGroupParams) SetResourceGroup(resourceGroup string)
SetResourceGroup adds the resourceGroup to the get for resource group params
func (*GetForResourceGroupParams) SetSubscriptionID ¶
func (o *GetForResourceGroupParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get for resource group params
func (*GetForResourceGroupParams) SetTimeout ¶
func (o *GetForResourceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for resource group params
func (*GetForResourceGroupParams) SetTo ¶
func (o *GetForResourceGroupParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get for resource group params
func (*GetForResourceGroupParams) WithContext ¶
func (o *GetForResourceGroupParams) WithContext(ctx context.Context) *GetForResourceGroupParams
WithContext adds the context to the get for resource group params
func (*GetForResourceGroupParams) WithCurrencyCode ¶
func (o *GetForResourceGroupParams) WithCurrencyCode(currencyCode string) *GetForResourceGroupParams
WithCurrencyCode adds the currencyCode to the get for resource group params
func (*GetForResourceGroupParams) WithFrom ¶
func (o *GetForResourceGroupParams) WithFrom(from *strfmt.DateTime) *GetForResourceGroupParams
WithFrom adds the from to the get for resource group params
func (*GetForResourceGroupParams) WithHTTPClient ¶
func (o *GetForResourceGroupParams) WithHTTPClient(client *http.Client) *GetForResourceGroupParams
WithHTTPClient adds the HTTPClient to the get for resource group params
func (*GetForResourceGroupParams) WithResellerCustomerID ¶
func (o *GetForResourceGroupParams) WithResellerCustomerID(resellerCustomerID int32) *GetForResourceGroupParams
WithResellerCustomerID adds the resellerCustomerID to the get for resource group params
func (*GetForResourceGroupParams) WithResourceGroup ¶
func (o *GetForResourceGroupParams) WithResourceGroup(resourceGroup string) *GetForResourceGroupParams
WithResourceGroup adds the resourceGroup to the get for resource group params
func (*GetForResourceGroupParams) WithSubscriptionID ¶
func (o *GetForResourceGroupParams) WithSubscriptionID(subscriptionID string) *GetForResourceGroupParams
WithSubscriptionID adds the subscriptionID to the get for resource group params
func (*GetForResourceGroupParams) WithTimeout ¶
func (o *GetForResourceGroupParams) WithTimeout(timeout time.Duration) *GetForResourceGroupParams
WithTimeout adds the timeout to the get for resource group params
func (*GetForResourceGroupParams) WithTo ¶
func (o *GetForResourceGroupParams) WithTo(to *strfmt.DateTime) *GetForResourceGroupParams
WithTo adds the to to the get for resource group params
func (*GetForResourceGroupParams) WriteToRequest ¶
func (o *GetForResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForResourceGroupReader ¶
type GetForResourceGroupReader struct {
// contains filtered or unexported fields
}
GetForResourceGroupReader is a Reader for the GetForResourceGroup structure.
func (*GetForResourceGroupReader) ReadResponse ¶
func (o *GetForResourceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetForSubcategoryOK ¶
type GetForSubcategoryOK struct {
Payload *models.APICollectionOfSubcategoryUsageCost
}
GetForSubcategoryOK handles this case with default header values.
Success
func NewGetForSubcategoryOK ¶
func NewGetForSubcategoryOK() *GetForSubcategoryOK
NewGetForSubcategoryOK creates a GetForSubcategoryOK with default headers values
func (*GetForSubcategoryOK) Error ¶
func (o *GetForSubcategoryOK) Error() string
func (*GetForSubcategoryOK) GetPayload ¶
func (o *GetForSubcategoryOK) GetPayload() *models.APICollectionOfSubcategoryUsageCost
type GetForSubcategoryParams ¶
type GetForSubcategoryParams struct { /*Category*/ Category string /*CurrencyCode*/ CurrencyCode string /*From*/ From *strfmt.DateTime /*ResellerCustomerID*/ ResellerCustomerID int32 /*Subcategory*/ Subcategory string /*SubscriptionID*/ SubscriptionID string /*To*/ To *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForSubcategoryParams contains all the parameters to send to the API endpoint for the get for subcategory operation typically these are written to a http.Request
func NewGetForSubcategoryParams ¶
func NewGetForSubcategoryParams() *GetForSubcategoryParams
NewGetForSubcategoryParams creates a new GetForSubcategoryParams object with the default values initialized.
func NewGetForSubcategoryParamsWithContext ¶
func NewGetForSubcategoryParamsWithContext(ctx context.Context) *GetForSubcategoryParams
NewGetForSubcategoryParamsWithContext creates a new GetForSubcategoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetForSubcategoryParamsWithHTTPClient ¶
func NewGetForSubcategoryParamsWithHTTPClient(client *http.Client) *GetForSubcategoryParams
NewGetForSubcategoryParamsWithHTTPClient creates a new GetForSubcategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForSubcategoryParamsWithTimeout ¶
func NewGetForSubcategoryParamsWithTimeout(timeout time.Duration) *GetForSubcategoryParams
NewGetForSubcategoryParamsWithTimeout creates a new GetForSubcategoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForSubcategoryParams) SetCategory ¶
func (o *GetForSubcategoryParams) SetCategory(category string)
SetCategory adds the category to the get for subcategory params
func (*GetForSubcategoryParams) SetContext ¶
func (o *GetForSubcategoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get for subcategory params
func (*GetForSubcategoryParams) SetCurrencyCode ¶
func (o *GetForSubcategoryParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get for subcategory params
func (*GetForSubcategoryParams) SetFrom ¶
func (o *GetForSubcategoryParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get for subcategory params
func (*GetForSubcategoryParams) SetHTTPClient ¶
func (o *GetForSubcategoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for subcategory params
func (*GetForSubcategoryParams) SetResellerCustomerID ¶
func (o *GetForSubcategoryParams) SetResellerCustomerID(resellerCustomerID int32)
SetResellerCustomerID adds the resellerCustomerId to the get for subcategory params
func (*GetForSubcategoryParams) SetSubcategory ¶
func (o *GetForSubcategoryParams) SetSubcategory(subcategory string)
SetSubcategory adds the subcategory to the get for subcategory params
func (*GetForSubcategoryParams) SetSubscriptionID ¶
func (o *GetForSubcategoryParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get for subcategory params
func (*GetForSubcategoryParams) SetTimeout ¶
func (o *GetForSubcategoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for subcategory params
func (*GetForSubcategoryParams) SetTo ¶
func (o *GetForSubcategoryParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get for subcategory params
func (*GetForSubcategoryParams) WithCategory ¶
func (o *GetForSubcategoryParams) WithCategory(category string) *GetForSubcategoryParams
WithCategory adds the category to the get for subcategory params
func (*GetForSubcategoryParams) WithContext ¶
func (o *GetForSubcategoryParams) WithContext(ctx context.Context) *GetForSubcategoryParams
WithContext adds the context to the get for subcategory params
func (*GetForSubcategoryParams) WithCurrencyCode ¶
func (o *GetForSubcategoryParams) WithCurrencyCode(currencyCode string) *GetForSubcategoryParams
WithCurrencyCode adds the currencyCode to the get for subcategory params
func (*GetForSubcategoryParams) WithFrom ¶
func (o *GetForSubcategoryParams) WithFrom(from *strfmt.DateTime) *GetForSubcategoryParams
WithFrom adds the from to the get for subcategory params
func (*GetForSubcategoryParams) WithHTTPClient ¶
func (o *GetForSubcategoryParams) WithHTTPClient(client *http.Client) *GetForSubcategoryParams
WithHTTPClient adds the HTTPClient to the get for subcategory params
func (*GetForSubcategoryParams) WithResellerCustomerID ¶
func (o *GetForSubcategoryParams) WithResellerCustomerID(resellerCustomerID int32) *GetForSubcategoryParams
WithResellerCustomerID adds the resellerCustomerID to the get for subcategory params
func (*GetForSubcategoryParams) WithSubcategory ¶
func (o *GetForSubcategoryParams) WithSubcategory(subcategory string) *GetForSubcategoryParams
WithSubcategory adds the subcategory to the get for subcategory params
func (*GetForSubcategoryParams) WithSubscriptionID ¶
func (o *GetForSubcategoryParams) WithSubscriptionID(subscriptionID string) *GetForSubcategoryParams
WithSubscriptionID adds the subscriptionID to the get for subcategory params
func (*GetForSubcategoryParams) WithTimeout ¶
func (o *GetForSubcategoryParams) WithTimeout(timeout time.Duration) *GetForSubcategoryParams
WithTimeout adds the timeout to the get for subcategory params
func (*GetForSubcategoryParams) WithTo ¶
func (o *GetForSubcategoryParams) WithTo(to *strfmt.DateTime) *GetForSubcategoryParams
WithTo adds the to to the get for subcategory params
func (*GetForSubcategoryParams) WriteToRequest ¶
func (o *GetForSubcategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForSubcategoryReader ¶
type GetForSubcategoryReader struct {
// contains filtered or unexported fields
}
GetForSubcategoryReader is a Reader for the GetForSubcategory structure.
func (*GetForSubcategoryReader) ReadResponse ¶
func (o *GetForSubcategoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetForSubscriptionOK ¶
type GetForSubscriptionOK struct {
Payload *models.APICollectionOfSubscriptionUsageCost
}
GetForSubscriptionOK handles this case with default header values.
Success
func NewGetForSubscriptionOK ¶
func NewGetForSubscriptionOK() *GetForSubscriptionOK
NewGetForSubscriptionOK creates a GetForSubscriptionOK with default headers values
func (*GetForSubscriptionOK) Error ¶
func (o *GetForSubscriptionOK) Error() string
func (*GetForSubscriptionOK) GetPayload ¶
func (o *GetForSubscriptionOK) GetPayload() *models.APICollectionOfSubscriptionUsageCost
type GetForSubscriptionParams ¶
type GetForSubscriptionParams struct { /*CurrencyCode*/ CurrencyCode string /*From*/ From *strfmt.DateTime /*ResellerCustomerID*/ ResellerCustomerID int32 /*SubscriptionID*/ SubscriptionID string /*To*/ To *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForSubscriptionParams contains all the parameters to send to the API endpoint for the get for subscription operation typically these are written to a http.Request
func NewGetForSubscriptionParams ¶
func NewGetForSubscriptionParams() *GetForSubscriptionParams
NewGetForSubscriptionParams creates a new GetForSubscriptionParams object with the default values initialized.
func NewGetForSubscriptionParamsWithContext ¶
func NewGetForSubscriptionParamsWithContext(ctx context.Context) *GetForSubscriptionParams
NewGetForSubscriptionParamsWithContext creates a new GetForSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewGetForSubscriptionParamsWithHTTPClient ¶
func NewGetForSubscriptionParamsWithHTTPClient(client *http.Client) *GetForSubscriptionParams
NewGetForSubscriptionParamsWithHTTPClient creates a new GetForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForSubscriptionParamsWithTimeout ¶
func NewGetForSubscriptionParamsWithTimeout(timeout time.Duration) *GetForSubscriptionParams
NewGetForSubscriptionParamsWithTimeout creates a new GetForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForSubscriptionParams) SetContext ¶
func (o *GetForSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the get for subscription params
func (*GetForSubscriptionParams) SetCurrencyCode ¶
func (o *GetForSubscriptionParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get for subscription params
func (*GetForSubscriptionParams) SetFrom ¶
func (o *GetForSubscriptionParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get for subscription params
func (*GetForSubscriptionParams) SetHTTPClient ¶
func (o *GetForSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for subscription params
func (*GetForSubscriptionParams) SetResellerCustomerID ¶
func (o *GetForSubscriptionParams) SetResellerCustomerID(resellerCustomerID int32)
SetResellerCustomerID adds the resellerCustomerId to the get for subscription params
func (*GetForSubscriptionParams) SetSubscriptionID ¶
func (o *GetForSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get for subscription params
func (*GetForSubscriptionParams) SetTimeout ¶
func (o *GetForSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for subscription params
func (*GetForSubscriptionParams) SetTo ¶
func (o *GetForSubscriptionParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get for subscription params
func (*GetForSubscriptionParams) WithContext ¶
func (o *GetForSubscriptionParams) WithContext(ctx context.Context) *GetForSubscriptionParams
WithContext adds the context to the get for subscription params
func (*GetForSubscriptionParams) WithCurrencyCode ¶
func (o *GetForSubscriptionParams) WithCurrencyCode(currencyCode string) *GetForSubscriptionParams
WithCurrencyCode adds the currencyCode to the get for subscription params
func (*GetForSubscriptionParams) WithFrom ¶
func (o *GetForSubscriptionParams) WithFrom(from *strfmt.DateTime) *GetForSubscriptionParams
WithFrom adds the from to the get for subscription params
func (*GetForSubscriptionParams) WithHTTPClient ¶
func (o *GetForSubscriptionParams) WithHTTPClient(client *http.Client) *GetForSubscriptionParams
WithHTTPClient adds the HTTPClient to the get for subscription params
func (*GetForSubscriptionParams) WithResellerCustomerID ¶
func (o *GetForSubscriptionParams) WithResellerCustomerID(resellerCustomerID int32) *GetForSubscriptionParams
WithResellerCustomerID adds the resellerCustomerID to the get for subscription params
func (*GetForSubscriptionParams) WithSubscriptionID ¶
func (o *GetForSubscriptionParams) WithSubscriptionID(subscriptionID string) *GetForSubscriptionParams
WithSubscriptionID adds the subscriptionID to the get for subscription params
func (*GetForSubscriptionParams) WithTimeout ¶
func (o *GetForSubscriptionParams) WithTimeout(timeout time.Duration) *GetForSubscriptionParams
WithTimeout adds the timeout to the get for subscription params
func (*GetForSubscriptionParams) WithTo ¶
func (o *GetForSubscriptionParams) WithTo(to *strfmt.DateTime) *GetForSubscriptionParams
WithTo adds the to to the get for subscription params
func (*GetForSubscriptionParams) WriteToRequest ¶
func (o *GetForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForSubscriptionReader ¶
type GetForSubscriptionReader struct {
// contains filtered or unexported fields
}
GetForSubscriptionReader is a Reader for the GetForSubscription structure.
func (*GetForSubscriptionReader) ReadResponse ¶
func (o *GetForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetForSubscriptionWithResourceGroupsOK ¶
type GetForSubscriptionWithResourceGroupsOK struct {
Payload *models.APICollectionOfSubscriptionResourceGroupUsageCost
}
GetForSubscriptionWithResourceGroupsOK handles this case with default header values.
Success
func NewGetForSubscriptionWithResourceGroupsOK ¶
func NewGetForSubscriptionWithResourceGroupsOK() *GetForSubscriptionWithResourceGroupsOK
NewGetForSubscriptionWithResourceGroupsOK creates a GetForSubscriptionWithResourceGroupsOK with default headers values
func (*GetForSubscriptionWithResourceGroupsOK) Error ¶
func (o *GetForSubscriptionWithResourceGroupsOK) Error() string
func (*GetForSubscriptionWithResourceGroupsOK) GetPayload ¶
func (o *GetForSubscriptionWithResourceGroupsOK) GetPayload() *models.APICollectionOfSubscriptionResourceGroupUsageCost
type GetForSubscriptionWithResourceGroupsParams ¶
type GetForSubscriptionWithResourceGroupsParams struct { /*CurrencyCode*/ CurrencyCode string /*From*/ From *strfmt.DateTime /*ResellerCustomerID*/ ResellerCustomerID int32 /*SubscriptionID*/ SubscriptionID string /*To*/ To *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetForSubscriptionWithResourceGroupsParams contains all the parameters to send to the API endpoint for the get for subscription with resource groups operation typically these are written to a http.Request
func NewGetForSubscriptionWithResourceGroupsParams ¶
func NewGetForSubscriptionWithResourceGroupsParams() *GetForSubscriptionWithResourceGroupsParams
NewGetForSubscriptionWithResourceGroupsParams creates a new GetForSubscriptionWithResourceGroupsParams object with the default values initialized.
func NewGetForSubscriptionWithResourceGroupsParamsWithContext ¶
func NewGetForSubscriptionWithResourceGroupsParamsWithContext(ctx context.Context) *GetForSubscriptionWithResourceGroupsParams
NewGetForSubscriptionWithResourceGroupsParamsWithContext creates a new GetForSubscriptionWithResourceGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewGetForSubscriptionWithResourceGroupsParamsWithHTTPClient ¶
func NewGetForSubscriptionWithResourceGroupsParamsWithHTTPClient(client *http.Client) *GetForSubscriptionWithResourceGroupsParams
NewGetForSubscriptionWithResourceGroupsParamsWithHTTPClient creates a new GetForSubscriptionWithResourceGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetForSubscriptionWithResourceGroupsParamsWithTimeout ¶
func NewGetForSubscriptionWithResourceGroupsParamsWithTimeout(timeout time.Duration) *GetForSubscriptionWithResourceGroupsParams
NewGetForSubscriptionWithResourceGroupsParamsWithTimeout creates a new GetForSubscriptionWithResourceGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetForSubscriptionWithResourceGroupsParams) SetContext ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetCurrencyCode ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetFrom ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetHTTPClient ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetResellerCustomerID ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetResellerCustomerID(resellerCustomerID int32)
SetResellerCustomerID adds the resellerCustomerId to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetSubscriptionID ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetTimeout ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) SetTo ¶
func (o *GetForSubscriptionWithResourceGroupsParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithContext ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithContext(ctx context.Context) *GetForSubscriptionWithResourceGroupsParams
WithContext adds the context to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithCurrencyCode ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithCurrencyCode(currencyCode string) *GetForSubscriptionWithResourceGroupsParams
WithCurrencyCode adds the currencyCode to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithFrom ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithFrom(from *strfmt.DateTime) *GetForSubscriptionWithResourceGroupsParams
WithFrom adds the from to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithHTTPClient ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithHTTPClient(client *http.Client) *GetForSubscriptionWithResourceGroupsParams
WithHTTPClient adds the HTTPClient to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithResellerCustomerID ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithResellerCustomerID(resellerCustomerID int32) *GetForSubscriptionWithResourceGroupsParams
WithResellerCustomerID adds the resellerCustomerID to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithSubscriptionID ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithSubscriptionID(subscriptionID string) *GetForSubscriptionWithResourceGroupsParams
WithSubscriptionID adds the subscriptionID to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithTimeout ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithTimeout(timeout time.Duration) *GetForSubscriptionWithResourceGroupsParams
WithTimeout adds the timeout to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WithTo ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WithTo(to *strfmt.DateTime) *GetForSubscriptionWithResourceGroupsParams
WithTo adds the to to the get for subscription with resource groups params
func (*GetForSubscriptionWithResourceGroupsParams) WriteToRequest ¶
func (o *GetForSubscriptionWithResourceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetForSubscriptionWithResourceGroupsReader ¶
type GetForSubscriptionWithResourceGroupsReader struct {
// contains filtered or unexported fields
}
GetForSubscriptionWithResourceGroupsReader is a Reader for the GetForSubscriptionWithResourceGroups structure.
func (*GetForSubscriptionWithResourceGroupsReader) ReadResponse ¶
func (o *GetForSubscriptionWithResourceGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV1UsageCostGetForCategoryOK ¶
type PostAPIV1UsageCostGetForCategoryOK struct {
Payload *models.APICollectionOfCategoryUsageCost
}
PostAPIV1UsageCostGetForCategoryOK handles this case with default header values.
Success
func NewPostAPIV1UsageCostGetForCategoryOK ¶
func NewPostAPIV1UsageCostGetForCategoryOK() *PostAPIV1UsageCostGetForCategoryOK
NewPostAPIV1UsageCostGetForCategoryOK creates a PostAPIV1UsageCostGetForCategoryOK with default headers values
func (*PostAPIV1UsageCostGetForCategoryOK) Error ¶
func (o *PostAPIV1UsageCostGetForCategoryOK) Error() string
func (*PostAPIV1UsageCostGetForCategoryOK) GetPayload ¶
func (o *PostAPIV1UsageCostGetForCategoryOK) GetPayload() *models.APICollectionOfCategoryUsageCost
type PostAPIV1UsageCostGetForCategoryParams ¶
type PostAPIV1UsageCostGetForCategoryParams struct { /*Model*/ Model *models.CategoryUsageCostRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV1UsageCostGetForCategoryParams contains all the parameters to send to the API endpoint for the post API v1 usage cost get for category operation typically these are written to a http.Request
func NewPostAPIV1UsageCostGetForCategoryParams ¶
func NewPostAPIV1UsageCostGetForCategoryParams() *PostAPIV1UsageCostGetForCategoryParams
NewPostAPIV1UsageCostGetForCategoryParams creates a new PostAPIV1UsageCostGetForCategoryParams object with the default values initialized.
func NewPostAPIV1UsageCostGetForCategoryParamsWithContext ¶
func NewPostAPIV1UsageCostGetForCategoryParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForCategoryParams
NewPostAPIV1UsageCostGetForCategoryParamsWithContext creates a new PostAPIV1UsageCostGetForCategoryParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPIV1UsageCostGetForCategoryParamsWithHTTPClient ¶
func NewPostAPIV1UsageCostGetForCategoryParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForCategoryParams
NewPostAPIV1UsageCostGetForCategoryParamsWithHTTPClient creates a new PostAPIV1UsageCostGetForCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPIV1UsageCostGetForCategoryParamsWithTimeout ¶
func NewPostAPIV1UsageCostGetForCategoryParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForCategoryParams
NewPostAPIV1UsageCostGetForCategoryParamsWithTimeout creates a new PostAPIV1UsageCostGetForCategoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPIV1UsageCostGetForCategoryParams) SetContext ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) SetHTTPClient ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) SetModel ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) SetModel(model *models.CategoryUsageCostRequest)
SetModel adds the model to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) SetTimeout ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) WithContext ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForCategoryParams
WithContext adds the context to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) WithHTTPClient ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForCategoryParams
WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) WithModel ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) WithModel(model *models.CategoryUsageCostRequest) *PostAPIV1UsageCostGetForCategoryParams
WithModel adds the model to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) WithTimeout ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForCategoryParams
WithTimeout adds the timeout to the post API v1 usage cost get for category params
func (*PostAPIV1UsageCostGetForCategoryParams) WriteToRequest ¶
func (o *PostAPIV1UsageCostGetForCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV1UsageCostGetForCategoryReader ¶
type PostAPIV1UsageCostGetForCategoryReader struct {
// contains filtered or unexported fields
}
PostAPIV1UsageCostGetForCategoryReader is a Reader for the PostAPIV1UsageCostGetForCategory structure.
func (*PostAPIV1UsageCostGetForCategoryReader) ReadResponse ¶
func (o *PostAPIV1UsageCostGetForCategoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV1UsageCostGetForResourceGroupOK ¶
type PostAPIV1UsageCostGetForResourceGroupOK struct {
Payload *models.APICollectionOfResourceGroupUsageCost
}
PostAPIV1UsageCostGetForResourceGroupOK handles this case with default header values.
Success
func NewPostAPIV1UsageCostGetForResourceGroupOK ¶
func NewPostAPIV1UsageCostGetForResourceGroupOK() *PostAPIV1UsageCostGetForResourceGroupOK
NewPostAPIV1UsageCostGetForResourceGroupOK creates a PostAPIV1UsageCostGetForResourceGroupOK with default headers values
func (*PostAPIV1UsageCostGetForResourceGroupOK) Error ¶
func (o *PostAPIV1UsageCostGetForResourceGroupOK) Error() string
func (*PostAPIV1UsageCostGetForResourceGroupOK) GetPayload ¶
func (o *PostAPIV1UsageCostGetForResourceGroupOK) GetPayload() *models.APICollectionOfResourceGroupUsageCost
type PostAPIV1UsageCostGetForResourceGroupParams ¶
type PostAPIV1UsageCostGetForResourceGroupParams struct { /*Model*/ Model *models.ResourceGroupUsageCostRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV1UsageCostGetForResourceGroupParams contains all the parameters to send to the API endpoint for the post API v1 usage cost get for resource group operation typically these are written to a http.Request
func NewPostAPIV1UsageCostGetForResourceGroupParams ¶
func NewPostAPIV1UsageCostGetForResourceGroupParams() *PostAPIV1UsageCostGetForResourceGroupParams
NewPostAPIV1UsageCostGetForResourceGroupParams creates a new PostAPIV1UsageCostGetForResourceGroupParams object with the default values initialized.
func NewPostAPIV1UsageCostGetForResourceGroupParamsWithContext ¶
func NewPostAPIV1UsageCostGetForResourceGroupParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForResourceGroupParams
NewPostAPIV1UsageCostGetForResourceGroupParamsWithContext creates a new PostAPIV1UsageCostGetForResourceGroupParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPIV1UsageCostGetForResourceGroupParamsWithHTTPClient ¶
func NewPostAPIV1UsageCostGetForResourceGroupParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForResourceGroupParams
NewPostAPIV1UsageCostGetForResourceGroupParamsWithHTTPClient creates a new PostAPIV1UsageCostGetForResourceGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPIV1UsageCostGetForResourceGroupParamsWithTimeout ¶
func NewPostAPIV1UsageCostGetForResourceGroupParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForResourceGroupParams
NewPostAPIV1UsageCostGetForResourceGroupParamsWithTimeout creates a new PostAPIV1UsageCostGetForResourceGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPIV1UsageCostGetForResourceGroupParams) SetContext ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) SetHTTPClient ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) SetModel ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetModel(model *models.ResourceGroupUsageCostRequest)
SetModel adds the model to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) SetTimeout ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) WithContext ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForResourceGroupParams
WithContext adds the context to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) WithHTTPClient ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForResourceGroupParams
WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) WithModel ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithModel(model *models.ResourceGroupUsageCostRequest) *PostAPIV1UsageCostGetForResourceGroupParams
WithModel adds the model to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) WithTimeout ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForResourceGroupParams
WithTimeout adds the timeout to the post API v1 usage cost get for resource group params
func (*PostAPIV1UsageCostGetForResourceGroupParams) WriteToRequest ¶
func (o *PostAPIV1UsageCostGetForResourceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV1UsageCostGetForResourceGroupReader ¶
type PostAPIV1UsageCostGetForResourceGroupReader struct {
// contains filtered or unexported fields
}
PostAPIV1UsageCostGetForResourceGroupReader is a Reader for the PostAPIV1UsageCostGetForResourceGroup structure.
func (*PostAPIV1UsageCostGetForResourceGroupReader) ReadResponse ¶
func (o *PostAPIV1UsageCostGetForResourceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV1UsageCostGetForSubcategoryOK ¶
type PostAPIV1UsageCostGetForSubcategoryOK struct {
Payload *models.APICollectionOfSubcategoryUsageCost
}
PostAPIV1UsageCostGetForSubcategoryOK handles this case with default header values.
Success
func NewPostAPIV1UsageCostGetForSubcategoryOK ¶
func NewPostAPIV1UsageCostGetForSubcategoryOK() *PostAPIV1UsageCostGetForSubcategoryOK
NewPostAPIV1UsageCostGetForSubcategoryOK creates a PostAPIV1UsageCostGetForSubcategoryOK with default headers values
func (*PostAPIV1UsageCostGetForSubcategoryOK) Error ¶
func (o *PostAPIV1UsageCostGetForSubcategoryOK) Error() string
func (*PostAPIV1UsageCostGetForSubcategoryOK) GetPayload ¶
func (o *PostAPIV1UsageCostGetForSubcategoryOK) GetPayload() *models.APICollectionOfSubcategoryUsageCost
type PostAPIV1UsageCostGetForSubcategoryParams ¶
type PostAPIV1UsageCostGetForSubcategoryParams struct { /*Model*/ Model *models.SubcategoryUsageCostRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV1UsageCostGetForSubcategoryParams contains all the parameters to send to the API endpoint for the post API v1 usage cost get for subcategory operation typically these are written to a http.Request
func NewPostAPIV1UsageCostGetForSubcategoryParams ¶
func NewPostAPIV1UsageCostGetForSubcategoryParams() *PostAPIV1UsageCostGetForSubcategoryParams
NewPostAPIV1UsageCostGetForSubcategoryParams creates a new PostAPIV1UsageCostGetForSubcategoryParams object with the default values initialized.
func NewPostAPIV1UsageCostGetForSubcategoryParamsWithContext ¶
func NewPostAPIV1UsageCostGetForSubcategoryParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubcategoryParams
NewPostAPIV1UsageCostGetForSubcategoryParamsWithContext creates a new PostAPIV1UsageCostGetForSubcategoryParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPIV1UsageCostGetForSubcategoryParamsWithHTTPClient ¶
func NewPostAPIV1UsageCostGetForSubcategoryParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubcategoryParams
NewPostAPIV1UsageCostGetForSubcategoryParamsWithHTTPClient creates a new PostAPIV1UsageCostGetForSubcategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPIV1UsageCostGetForSubcategoryParamsWithTimeout ¶
func NewPostAPIV1UsageCostGetForSubcategoryParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubcategoryParams
NewPostAPIV1UsageCostGetForSubcategoryParamsWithTimeout creates a new PostAPIV1UsageCostGetForSubcategoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPIV1UsageCostGetForSubcategoryParams) SetContext ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) SetHTTPClient ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) SetModel ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetModel(model *models.SubcategoryUsageCostRequest)
SetModel adds the model to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) SetTimeout ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) WithContext ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubcategoryParams
WithContext adds the context to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) WithHTTPClient ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubcategoryParams
WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) WithModel ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithModel(model *models.SubcategoryUsageCostRequest) *PostAPIV1UsageCostGetForSubcategoryParams
WithModel adds the model to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) WithTimeout ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubcategoryParams
WithTimeout adds the timeout to the post API v1 usage cost get for subcategory params
func (*PostAPIV1UsageCostGetForSubcategoryParams) WriteToRequest ¶
func (o *PostAPIV1UsageCostGetForSubcategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV1UsageCostGetForSubcategoryReader ¶
type PostAPIV1UsageCostGetForSubcategoryReader struct {
// contains filtered or unexported fields
}
PostAPIV1UsageCostGetForSubcategoryReader is a Reader for the PostAPIV1UsageCostGetForSubcategory structure.
func (*PostAPIV1UsageCostGetForSubcategoryReader) ReadResponse ¶
func (o *PostAPIV1UsageCostGetForSubcategoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV1UsageCostGetForSubscriptionOK ¶
type PostAPIV1UsageCostGetForSubscriptionOK struct {
Payload *models.APICollectionOfSubscriptionUsageCost
}
PostAPIV1UsageCostGetForSubscriptionOK handles this case with default header values.
Success
func NewPostAPIV1UsageCostGetForSubscriptionOK ¶
func NewPostAPIV1UsageCostGetForSubscriptionOK() *PostAPIV1UsageCostGetForSubscriptionOK
NewPostAPIV1UsageCostGetForSubscriptionOK creates a PostAPIV1UsageCostGetForSubscriptionOK with default headers values
func (*PostAPIV1UsageCostGetForSubscriptionOK) Error ¶
func (o *PostAPIV1UsageCostGetForSubscriptionOK) Error() string
func (*PostAPIV1UsageCostGetForSubscriptionOK) GetPayload ¶
func (o *PostAPIV1UsageCostGetForSubscriptionOK) GetPayload() *models.APICollectionOfSubscriptionUsageCost
type PostAPIV1UsageCostGetForSubscriptionParams ¶
type PostAPIV1UsageCostGetForSubscriptionParams struct { /*Model*/ Model *models.SubscriptionUsageCostRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV1UsageCostGetForSubscriptionParams contains all the parameters to send to the API endpoint for the post API v1 usage cost get for subscription operation typically these are written to a http.Request
func NewPostAPIV1UsageCostGetForSubscriptionParams ¶
func NewPostAPIV1UsageCostGetForSubscriptionParams() *PostAPIV1UsageCostGetForSubscriptionParams
NewPostAPIV1UsageCostGetForSubscriptionParams creates a new PostAPIV1UsageCostGetForSubscriptionParams object with the default values initialized.
func NewPostAPIV1UsageCostGetForSubscriptionParamsWithContext ¶
func NewPostAPIV1UsageCostGetForSubscriptionParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionParams
NewPostAPIV1UsageCostGetForSubscriptionParamsWithContext creates a new PostAPIV1UsageCostGetForSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPIV1UsageCostGetForSubscriptionParamsWithHTTPClient ¶
func NewPostAPIV1UsageCostGetForSubscriptionParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionParams
NewPostAPIV1UsageCostGetForSubscriptionParamsWithHTTPClient creates a new PostAPIV1UsageCostGetForSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPIV1UsageCostGetForSubscriptionParamsWithTimeout ¶
func NewPostAPIV1UsageCostGetForSubscriptionParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionParams
NewPostAPIV1UsageCostGetForSubscriptionParamsWithTimeout creates a new PostAPIV1UsageCostGetForSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPIV1UsageCostGetForSubscriptionParams) SetContext ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) SetHTTPClient ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) SetModel ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetModel(model *models.SubscriptionUsageCostRequest)
SetModel adds the model to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) SetTimeout ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) WithContext ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionParams
WithContext adds the context to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) WithHTTPClient ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionParams
WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) WithModel ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithModel(model *models.SubscriptionUsageCostRequest) *PostAPIV1UsageCostGetForSubscriptionParams
WithModel adds the model to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) WithTimeout ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionParams
WithTimeout adds the timeout to the post API v1 usage cost get for subscription params
func (*PostAPIV1UsageCostGetForSubscriptionParams) WriteToRequest ¶
func (o *PostAPIV1UsageCostGetForSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV1UsageCostGetForSubscriptionReader ¶
type PostAPIV1UsageCostGetForSubscriptionReader struct {
// contains filtered or unexported fields
}
PostAPIV1UsageCostGetForSubscriptionReader is a Reader for the PostAPIV1UsageCostGetForSubscription structure.
func (*PostAPIV1UsageCostGetForSubscriptionReader) ReadResponse ¶
func (o *PostAPIV1UsageCostGetForSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK ¶
type PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK struct {
Payload *models.APICollectionOfSubscriptionResourceGroupUsageCost
}
PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK handles this case with default header values.
Success
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsOK ¶
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsOK() *PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK
NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsOK creates a PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK with default headers values
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK) Error ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK) Error() string
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsOK) GetPayload ¶
type PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams ¶
type PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams struct { /*Model*/ Model *models.SubscriptionUsageCostRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams contains all the parameters to send to the API endpoint for the post API v1 usage cost get for subscription resource groups operation typically these are written to a http.Request
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParams ¶
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParams() *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParams creates a new PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams object with the default values initialized.
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithContext ¶
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithContext creates a new PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithHTTPClient ¶
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithHTTPClient creates a new PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithTimeout ¶
func NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
NewPostAPIV1UsageCostGetForSubscriptionResourceGroupsParamsWithTimeout creates a new PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetContext ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetHTTPClient ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetModel ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetModel(model *models.SubscriptionUsageCostRequest)
SetModel adds the model to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetTimeout ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithContext ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithContext(ctx context.Context) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
WithContext adds the context to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithHTTPClient ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithHTTPClient(client *http.Client) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithModel ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithModel(model *models.SubscriptionUsageCostRequest) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
WithModel adds the model to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithTimeout ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithTimeout(timeout time.Duration) *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams
WithTimeout adds the timeout to the post API v1 usage cost get for subscription resource groups params
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WriteToRequest ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV1UsageCostGetForSubscriptionResourceGroupsReader ¶
type PostAPIV1UsageCostGetForSubscriptionResourceGroupsReader struct {
// contains filtered or unexported fields
}
PostAPIV1UsageCostGetForSubscriptionResourceGroupsReader is a Reader for the PostAPIV1UsageCostGetForSubscriptionResourceGroups structure.
func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsReader) ReadResponse ¶
func (o *PostAPIV1UsageCostGetForSubscriptionResourceGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_for_category_parameters.go
- get_for_category_responses.go
- get_for_organization_parameters.go
- get_for_organization_responses.go
- get_for_resource_group_parameters.go
- get_for_resource_group_responses.go
- get_for_subcategory_parameters.go
- get_for_subcategory_responses.go
- get_for_subscription_parameters.go
- get_for_subscription_responses.go
- get_for_subscription_with_resource_groups_parameters.go
- get_for_subscription_with_resource_groups_responses.go
- post_api_v1_usage_cost_get_for_category_parameters.go
- post_api_v1_usage_cost_get_for_category_responses.go
- post_api_v1_usage_cost_get_for_resource_group_parameters.go
- post_api_v1_usage_cost_get_for_resource_group_responses.go
- post_api_v1_usage_cost_get_for_subcategory_parameters.go
- post_api_v1_usage_cost_get_for_subcategory_responses.go
- post_api_v1_usage_cost_get_for_subscription_parameters.go
- post_api_v1_usage_cost_get_for_subscription_resource_groups_parameters.go
- post_api_v1_usage_cost_get_for_subscription_resource_groups_responses.go
- post_api_v1_usage_cost_get_for_subscription_responses.go
- usage_cost_client.go