usage_cost

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

GetForSubscriptionWithResourceGroups get for subscription with resource groups API

func (*Client) PostAPIV1UsageCostGetForCategory

PostAPIV1UsageCostGetForCategory post API v1 usage cost get for category API

func (*Client) PostAPIV1UsageCostGetForResourceGroup

PostAPIV1UsageCostGetForResourceGroup post API v1 usage cost get for resource group API

func (*Client) PostAPIV1UsageCostGetForSubcategory

PostAPIV1UsageCostGetForSubcategory post API v1 usage cost get for subcategory API

func (*Client) PostAPIV1UsageCostGetForSubscription

PostAPIV1UsageCostGetForSubscription post API v1 usage cost get for subscription API

func (*Client) PostAPIV1UsageCostGetForSubscriptionResourceGroups

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

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

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

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

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

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

SetTo adds the to to the get for organization params

func (*GetForOrganizationParams) WithContext

WithContext adds the context to the get for organization params

func (*GetForOrganizationParams) WithFrom

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

WithTimeout adds the timeout to the get for organization params

func (*GetForOrganizationParams) WithTo

WithTo adds the to to the get for organization params

func (*GetForOrganizationParams) WriteToRequest

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

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

SetTo adds the to to the get for resource group params

func (*GetForResourceGroupParams) WithContext

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

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

WithTimeout adds the timeout to the get for resource group params

func (*GetForResourceGroupParams) WithTo

WithTo adds the to to the get for resource group params

func (*GetForResourceGroupParams) WriteToRequest

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

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

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

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

WithTimeout adds the timeout to the get for subcategory params

func (*GetForSubcategoryParams) WithTo

WithTo adds the to to the get for subcategory params

func (*GetForSubcategoryParams) WriteToRequest

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

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

SetTo adds the to to the get for subscription params

func (*GetForSubscriptionParams) WithContext

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

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

WithTimeout adds the timeout to the get for subscription params

func (*GetForSubscriptionParams) WithTo

WithTo adds the to to the get for subscription params

func (*GetForSubscriptionParams) WriteToRequest

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 (*GetForSubscriptionWithResourceGroupsOK) GetPayload

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

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

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

SetTimeout adds the timeout to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) SetTo

SetTo adds the to to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithContext

WithContext adds the context to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithCurrencyCode

WithCurrencyCode adds the currencyCode to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithFrom

WithFrom adds the from to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithResellerCustomerID

WithResellerCustomerID adds the resellerCustomerID to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithTimeout

WithTimeout adds the timeout to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WithTo

WithTo adds the to to the get for subscription with resource groups params

func (*GetForSubscriptionWithResourceGroupsParams) WriteToRequest

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 (*PostAPIV1UsageCostGetForCategoryOK) GetPayload

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

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

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

WithContext adds the context to the post API v1 usage cost get for category params

func (*PostAPIV1UsageCostGetForCategoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for category params

func (*PostAPIV1UsageCostGetForCategoryParams) WithModel

WithModel adds the model to the post API v1 usage cost get for category params

func (*PostAPIV1UsageCostGetForCategoryParams) WithTimeout

WithTimeout adds the timeout to the post API v1 usage cost get for category params

func (*PostAPIV1UsageCostGetForCategoryParams) WriteToRequest

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 (*PostAPIV1UsageCostGetForResourceGroupOK) GetPayload

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

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

SetModel adds the model to the post API v1 usage cost get for resource group params

func (*PostAPIV1UsageCostGetForResourceGroupParams) SetTimeout

SetTimeout adds the timeout to the post API v1 usage cost get for resource group params

func (*PostAPIV1UsageCostGetForResourceGroupParams) WithContext

WithContext adds the context to the post API v1 usage cost get for resource group params

func (*PostAPIV1UsageCostGetForResourceGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for resource group params

func (*PostAPIV1UsageCostGetForResourceGroupParams) WithModel

WithModel adds the model to the post API v1 usage cost get for resource group params

func (*PostAPIV1UsageCostGetForResourceGroupParams) WithTimeout

WithTimeout adds the timeout to the post API v1 usage cost get for resource group params

func (*PostAPIV1UsageCostGetForResourceGroupParams) WriteToRequest

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 (*PostAPIV1UsageCostGetForSubcategoryOK) GetPayload

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

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

SetModel adds the model to the post API v1 usage cost get for subcategory params

func (*PostAPIV1UsageCostGetForSubcategoryParams) SetTimeout

SetTimeout adds the timeout to the post API v1 usage cost get for subcategory params

func (*PostAPIV1UsageCostGetForSubcategoryParams) WithContext

WithContext adds the context to the post API v1 usage cost get for subcategory params

func (*PostAPIV1UsageCostGetForSubcategoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for subcategory params

func (*PostAPIV1UsageCostGetForSubcategoryParams) WithModel

WithModel adds the model to the post API v1 usage cost get for subcategory params

func (*PostAPIV1UsageCostGetForSubcategoryParams) WithTimeout

WithTimeout adds the timeout to the post API v1 usage cost get for subcategory params

func (*PostAPIV1UsageCostGetForSubcategoryParams) WriteToRequest

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 (*PostAPIV1UsageCostGetForSubscriptionOK) GetPayload

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

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

SetModel adds the model to the post API v1 usage cost get for subscription params

func (*PostAPIV1UsageCostGetForSubscriptionParams) SetTimeout

SetTimeout adds the timeout to the post API v1 usage cost get for subscription params

func (*PostAPIV1UsageCostGetForSubscriptionParams) WithContext

WithContext adds the context to the post API v1 usage cost get for subscription params

func (*PostAPIV1UsageCostGetForSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription params

func (*PostAPIV1UsageCostGetForSubscriptionParams) WithModel

WithModel adds the model to the post API v1 usage cost get for subscription params

func (*PostAPIV1UsageCostGetForSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the post API v1 usage cost get for subscription params

func (*PostAPIV1UsageCostGetForSubscriptionParams) WriteToRequest

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 (*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

SetContext adds the context to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetModel

SetModel adds the model to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) SetTimeout

SetTimeout adds the timeout to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithContext

WithContext adds the context to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithModel

WithModel adds the model to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WithTimeout

WithTimeout adds the timeout to the post API v1 usage cost get for subscription resource groups params

func (*PostAPIV1UsageCostGetForSubscriptionResourceGroupsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL