pricing_card_assignments

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 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 ChangeMeteringAssignmentStrategyUsingPATCHOK

type ChangeMeteringAssignmentStrategyUsingPATCHOK struct {
	Payload *models.MeteringAssignmentStrategy
}
ChangeMeteringAssignmentStrategyUsingPATCHOK describes a response with status code 200, with default header values.

OK

func NewChangeMeteringAssignmentStrategyUsingPATCHOK

func NewChangeMeteringAssignmentStrategyUsingPATCHOK() *ChangeMeteringAssignmentStrategyUsingPATCHOK

NewChangeMeteringAssignmentStrategyUsingPATCHOK creates a ChangeMeteringAssignmentStrategyUsingPATCHOK with default headers values

func (*ChangeMeteringAssignmentStrategyUsingPATCHOK) Error

func (*ChangeMeteringAssignmentStrategyUsingPATCHOK) GetPayload

type ChangeMeteringAssignmentStrategyUsingPATCHParams

type ChangeMeteringAssignmentStrategyUsingPATCHParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* MeteringAssignmentStrategy.

	   Pricing card assignment strategy with 'EntityType' to override the strategy for the org
	*/
	MeteringAssignmentStrategy *models.MeteringAssignmentStrategy

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

ChangeMeteringAssignmentStrategyUsingPATCHParams contains all the parameters to send to the API endpoint

for the change metering assignment strategy using p a t c h operation.

Typically these are written to a http.Request.

func NewChangeMeteringAssignmentStrategyUsingPATCHParams

func NewChangeMeteringAssignmentStrategyUsingPATCHParams() *ChangeMeteringAssignmentStrategyUsingPATCHParams

NewChangeMeteringAssignmentStrategyUsingPATCHParams creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext

func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCHParams

NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object with the ability to set a context for a request.

func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient

func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCHParams

NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout

func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCHParams

NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object with the ability to set a timeout on a request.

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetAPIVersion added in v0.2.9

func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetContext

SetContext adds the context to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the change metering assignment strategy using p a t c h params (not the query body).

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

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetMeteringAssignmentStrategy

func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)

SetMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetTimeout

SetTimeout adds the timeout to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithContext

WithContext adds the context to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the change metering assignment strategy using p a t c h params (not the query body).

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

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithMeteringAssignmentStrategy

WithMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithTimeout

WithTimeout adds the timeout to the change metering assignment strategy using p a t c h params

func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeMeteringAssignmentStrategyUsingPATCHReader

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

ChangeMeteringAssignmentStrategyUsingPATCHReader is a Reader for the ChangeMeteringAssignmentStrategyUsingPATCH structure.

func (*ChangeMeteringAssignmentStrategyUsingPATCHReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized

type ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized struct {
}
ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewChangeMeteringAssignmentStrategyUsingPATCHUnauthorized

func NewChangeMeteringAssignmentStrategyUsingPATCHUnauthorized() *ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized

NewChangeMeteringAssignmentStrategyUsingPATCHUnauthorized creates a ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized with default headers values

func (*ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized) Error

type Client

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

Client for pricing card assignments API

func (*Client) ChangeMeteringAssignmentStrategyUsingPATCH

func (a *Client) ChangeMeteringAssignmentStrategyUsingPATCH(params *ChangeMeteringAssignmentStrategyUsingPATCHParams, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCHOK, error)

ChangeMeteringAssignmentStrategyUsingPATCH updates the pricing card assignment strategy for the org

func (*Client) CreateMeteringAssignmentStrategyUsingPOST

CreateMeteringAssignmentStrategyUsingPOST selectings the new pricing card assignment strategy p r o j e c t or c l o u d z o n e are possible values can be used while creating strategy also there can be only one strategy for a given org at a given point of time

Create a new pricing card assignment strategy based on request body and validate its field according to business rules.

func (*Client) CreateMeteringPolicyAssignmentUsingPOST

CreateMeteringPolicyAssignmentUsingPOST creates a new pricing card assignment

Create a new pricing card policy assignment based on request body and validate its field according to business rules. Request body with ALL entityType will delete the older assignments for the given pricingCardId

func (*Client) DeleteMeteringPolicyAssignmentUsingDELETE

func (a *Client) DeleteMeteringPolicyAssignmentUsingDELETE(params *DeleteMeteringPolicyAssignmentUsingDELETEParams, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETEOK, error)

DeleteMeteringPolicyAssignmentUsingDELETE deletes the pricing card assignment with specified id

Deletes the pricing card assignment with the specified id

func (*Client) GetAllMeteringPolicyAssignmentsUsingGET

func (a *Client) GetAllMeteringPolicyAssignmentsUsingGET(params *GetAllMeteringPolicyAssignmentsUsingGETParams, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGETOK, error)

GetAllMeteringPolicyAssignmentsUsingGET fetches all pricing card assignment for private cloud

Returns a paginated list of pricing card assignments

func (*Client) GetMeteringAssignmentStrategyUsingGET

func (a *Client) GetMeteringAssignmentStrategyUsingGET(params *GetMeteringAssignmentStrategyUsingGETParams, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGETOK, error)

GetMeteringAssignmentStrategyUsingGET fetches pricing card assignment strategy for the org

Returns a pricing card assignment strategy for the Org

func (*Client) GetMeteringPolicyAssignmentUsingGET

func (a *Client) GetMeteringPolicyAssignmentUsingGET(params *GetMeteringPolicyAssignmentUsingGETParams, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGETOK, error)

GetMeteringPolicyAssignmentUsingGET fetches pricing card assignment for private cloud by id

Returns a pricing card assignments by id

func (*Client) PatchMeteringPolicyAssignmentUsingPATCH

func (a *Client) PatchMeteringPolicyAssignmentUsingPATCH(params *PatchMeteringPolicyAssignmentUsingPATCHParams, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCHOK, error)

PatchMeteringPolicyAssignmentUsingPATCH updates the pricing card assignment id with the supplied id request body with a l l entity type will delete the older assignments for the given pricing card Id

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	ChangeMeteringAssignmentStrategyUsingPATCH(params *ChangeMeteringAssignmentStrategyUsingPATCHParams, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCHOK, error)

	CreateMeteringAssignmentStrategyUsingPOST(params *CreateMeteringAssignmentStrategyUsingPOSTParams, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOSTOK, *CreateMeteringAssignmentStrategyUsingPOSTCreated, error)

	CreateMeteringPolicyAssignmentUsingPOST(params *CreateMeteringPolicyAssignmentUsingPOSTParams, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOSTOK, *CreateMeteringPolicyAssignmentUsingPOSTCreated, error)

	DeleteMeteringPolicyAssignmentUsingDELETE(params *DeleteMeteringPolicyAssignmentUsingDELETEParams, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETEOK, error)

	GetAllMeteringPolicyAssignmentsUsingGET(params *GetAllMeteringPolicyAssignmentsUsingGETParams, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGETOK, error)

	GetMeteringAssignmentStrategyUsingGET(params *GetMeteringAssignmentStrategyUsingGETParams, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGETOK, error)

	GetMeteringPolicyAssignmentUsingGET(params *GetMeteringPolicyAssignmentUsingGETParams, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGETOK, error)

	PatchMeteringPolicyAssignmentUsingPATCH(params *PatchMeteringPolicyAssignmentUsingPATCHParams, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCHOK, 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 pricing card assignments API client.

type CreateMeteringAssignmentStrategyUsingPOSTCreated

type CreateMeteringAssignmentStrategyUsingPOSTCreated struct {
	Payload *models.MeteringAssignmentStrategy
}
CreateMeteringAssignmentStrategyUsingPOSTCreated describes a response with status code 201, with default header values.

Created

func NewCreateMeteringAssignmentStrategyUsingPOSTCreated

func NewCreateMeteringAssignmentStrategyUsingPOSTCreated() *CreateMeteringAssignmentStrategyUsingPOSTCreated

NewCreateMeteringAssignmentStrategyUsingPOSTCreated creates a CreateMeteringAssignmentStrategyUsingPOSTCreated with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOSTCreated) Error

func (*CreateMeteringAssignmentStrategyUsingPOSTCreated) GetPayload

type CreateMeteringAssignmentStrategyUsingPOSTForbidden

type CreateMeteringAssignmentStrategyUsingPOSTForbidden struct {
}
CreateMeteringAssignmentStrategyUsingPOSTForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateMeteringAssignmentStrategyUsingPOSTForbidden

func NewCreateMeteringAssignmentStrategyUsingPOSTForbidden() *CreateMeteringAssignmentStrategyUsingPOSTForbidden

NewCreateMeteringAssignmentStrategyUsingPOSTForbidden creates a CreateMeteringAssignmentStrategyUsingPOSTForbidden with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOSTForbidden) Error

type CreateMeteringAssignmentStrategyUsingPOSTOK

type CreateMeteringAssignmentStrategyUsingPOSTOK struct {
	Payload *models.MeteringAssignmentStrategy
}
CreateMeteringAssignmentStrategyUsingPOSTOK describes a response with status code 200, with default header values.

OK

func NewCreateMeteringAssignmentStrategyUsingPOSTOK

func NewCreateMeteringAssignmentStrategyUsingPOSTOK() *CreateMeteringAssignmentStrategyUsingPOSTOK

NewCreateMeteringAssignmentStrategyUsingPOSTOK creates a CreateMeteringAssignmentStrategyUsingPOSTOK with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOSTOK) Error

func (*CreateMeteringAssignmentStrategyUsingPOSTOK) GetPayload

type CreateMeteringAssignmentStrategyUsingPOSTParams

type CreateMeteringAssignmentStrategyUsingPOSTParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* MeteringAssignmentStrategy.

	   The pricing card assignment strategy to be created
	*/
	MeteringAssignmentStrategy *models.MeteringAssignmentStrategy

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

CreateMeteringAssignmentStrategyUsingPOSTParams contains all the parameters to send to the API endpoint

for the create metering assignment strategy using p o s t operation.

Typically these are written to a http.Request.

func NewCreateMeteringAssignmentStrategyUsingPOSTParams

func NewCreateMeteringAssignmentStrategyUsingPOSTParams() *CreateMeteringAssignmentStrategyUsingPOSTParams

NewCreateMeteringAssignmentStrategyUsingPOSTParams creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext

func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOSTParams

NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object with the ability to set a context for a request.

func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient

func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOSTParams

NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout

func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOSTParams

NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object with the ability to set a timeout on a request.

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetAPIVersion added in v0.2.9

func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetContext

SetContext adds the context to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the create metering assignment strategy using p o s t params (not the query body).

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

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetMeteringAssignmentStrategy

func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)

SetMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetTimeout

SetTimeout adds the timeout to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithContext

WithContext adds the context to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create metering assignment strategy using p o s t params (not the query body).

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

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithMeteringAssignmentStrategy

WithMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the create metering assignment strategy using p o s t params

func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMeteringAssignmentStrategyUsingPOSTReader

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

CreateMeteringAssignmentStrategyUsingPOSTReader is a Reader for the CreateMeteringAssignmentStrategyUsingPOST structure.

func (*CreateMeteringAssignmentStrategyUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMeteringAssignmentStrategyUsingPOSTUnauthorized

type CreateMeteringAssignmentStrategyUsingPOSTUnauthorized struct {
}
CreateMeteringAssignmentStrategyUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateMeteringAssignmentStrategyUsingPOSTUnauthorized

func NewCreateMeteringAssignmentStrategyUsingPOSTUnauthorized() *CreateMeteringAssignmentStrategyUsingPOSTUnauthorized

NewCreateMeteringAssignmentStrategyUsingPOSTUnauthorized creates a CreateMeteringAssignmentStrategyUsingPOSTUnauthorized with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOSTUnauthorized) Error

type CreateMeteringPolicyAssignmentUsingPOSTCreated

type CreateMeteringPolicyAssignmentUsingPOSTCreated struct {
	Payload *models.MeteringPolicyAssignment
}
CreateMeteringPolicyAssignmentUsingPOSTCreated describes a response with status code 201, with default header values.

Created

func NewCreateMeteringPolicyAssignmentUsingPOSTCreated

func NewCreateMeteringPolicyAssignmentUsingPOSTCreated() *CreateMeteringPolicyAssignmentUsingPOSTCreated

NewCreateMeteringPolicyAssignmentUsingPOSTCreated creates a CreateMeteringPolicyAssignmentUsingPOSTCreated with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOSTCreated) Error

func (*CreateMeteringPolicyAssignmentUsingPOSTCreated) GetPayload

type CreateMeteringPolicyAssignmentUsingPOSTForbidden

type CreateMeteringPolicyAssignmentUsingPOSTForbidden struct {
}
CreateMeteringPolicyAssignmentUsingPOSTForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateMeteringPolicyAssignmentUsingPOSTForbidden

func NewCreateMeteringPolicyAssignmentUsingPOSTForbidden() *CreateMeteringPolicyAssignmentUsingPOSTForbidden

NewCreateMeteringPolicyAssignmentUsingPOSTForbidden creates a CreateMeteringPolicyAssignmentUsingPOSTForbidden with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOSTForbidden) Error

type CreateMeteringPolicyAssignmentUsingPOSTOK

type CreateMeteringPolicyAssignmentUsingPOSTOK struct {
	Payload *models.MeteringPolicyAssignment
}
CreateMeteringPolicyAssignmentUsingPOSTOK describes a response with status code 200, with default header values.

OK

func NewCreateMeteringPolicyAssignmentUsingPOSTOK

func NewCreateMeteringPolicyAssignmentUsingPOSTOK() *CreateMeteringPolicyAssignmentUsingPOSTOK

NewCreateMeteringPolicyAssignmentUsingPOSTOK creates a CreateMeteringPolicyAssignmentUsingPOSTOK with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOSTOK) Error

func (*CreateMeteringPolicyAssignmentUsingPOSTOK) GetPayload

type CreateMeteringPolicyAssignmentUsingPOSTParams

type CreateMeteringPolicyAssignmentUsingPOSTParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* MeteringPolicyAssignment.

	   The pricing card assignment to be created
	*/
	MeteringPolicyAssignment *models.MeteringPolicyAssignment

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

CreateMeteringPolicyAssignmentUsingPOSTParams contains all the parameters to send to the API endpoint

for the create metering policy assignment using p o s t operation.

Typically these are written to a http.Request.

func NewCreateMeteringPolicyAssignmentUsingPOSTParams

func NewCreateMeteringPolicyAssignmentUsingPOSTParams() *CreateMeteringPolicyAssignmentUsingPOSTParams

NewCreateMeteringPolicyAssignmentUsingPOSTParams creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext

func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOSTParams

NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object with the ability to set a context for a request.

func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient

func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOSTParams

NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout

func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOSTParams

NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object with the ability to set a timeout on a request.

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetAPIVersion added in v0.2.9

func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetContext

SetContext adds the context to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the create metering policy assignment using p o s t params (not the query body).

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

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetMeteringPolicyAssignment

func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)

SetMeteringPolicyAssignment adds the meteringPolicyAssignment to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetTimeout

SetTimeout adds the timeout to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithContext

WithContext adds the context to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create metering policy assignment using p o s t params (not the query body).

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

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithMeteringPolicyAssignment

WithMeteringPolicyAssignment adds the meteringPolicyAssignment to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the create metering policy assignment using p o s t params

func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMeteringPolicyAssignmentUsingPOSTReader

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

CreateMeteringPolicyAssignmentUsingPOSTReader is a Reader for the CreateMeteringPolicyAssignmentUsingPOST structure.

func (*CreateMeteringPolicyAssignmentUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMeteringPolicyAssignmentUsingPOSTUnauthorized

type CreateMeteringPolicyAssignmentUsingPOSTUnauthorized struct {
}
CreateMeteringPolicyAssignmentUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateMeteringPolicyAssignmentUsingPOSTUnauthorized

func NewCreateMeteringPolicyAssignmentUsingPOSTUnauthorized() *CreateMeteringPolicyAssignmentUsingPOSTUnauthorized

NewCreateMeteringPolicyAssignmentUsingPOSTUnauthorized creates a CreateMeteringPolicyAssignmentUsingPOSTUnauthorized with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOSTUnauthorized) Error

type DeleteMeteringPolicyAssignmentUsingDELETENotFound

type DeleteMeteringPolicyAssignmentUsingDELETENotFound struct {
	Payload *models.Error
}
DeleteMeteringPolicyAssignmentUsingDELETENotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteMeteringPolicyAssignmentUsingDELETENotFound

func NewDeleteMeteringPolicyAssignmentUsingDELETENotFound() *DeleteMeteringPolicyAssignmentUsingDELETENotFound

NewDeleteMeteringPolicyAssignmentUsingDELETENotFound creates a DeleteMeteringPolicyAssignmentUsingDELETENotFound with default headers values

func (*DeleteMeteringPolicyAssignmentUsingDELETENotFound) Error

func (*DeleteMeteringPolicyAssignmentUsingDELETENotFound) GetPayload added in v0.2.9

type DeleteMeteringPolicyAssignmentUsingDELETEOK

type DeleteMeteringPolicyAssignmentUsingDELETEOK struct {
}
DeleteMeteringPolicyAssignmentUsingDELETEOK describes a response with status code 200, with default header values.

No Content

func NewDeleteMeteringPolicyAssignmentUsingDELETEOK

func NewDeleteMeteringPolicyAssignmentUsingDELETEOK() *DeleteMeteringPolicyAssignmentUsingDELETEOK

NewDeleteMeteringPolicyAssignmentUsingDELETEOK creates a DeleteMeteringPolicyAssignmentUsingDELETEOK with default headers values

func (*DeleteMeteringPolicyAssignmentUsingDELETEOK) Error

type DeleteMeteringPolicyAssignmentUsingDELETEParams

type DeleteMeteringPolicyAssignmentUsingDELETEParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   pricing card Assignment Id

	   Format: uuid
	*/
	ID strfmt.UUID

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

DeleteMeteringPolicyAssignmentUsingDELETEParams contains all the parameters to send to the API endpoint

for the delete metering policy assignment using d e l e t e operation.

Typically these are written to a http.Request.

func NewDeleteMeteringPolicyAssignmentUsingDELETEParams

func NewDeleteMeteringPolicyAssignmentUsingDELETEParams() *DeleteMeteringPolicyAssignmentUsingDELETEParams

NewDeleteMeteringPolicyAssignmentUsingDELETEParams creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext

func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETEParams

NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object with the ability to set a context for a request.

func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient

func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETEParams

NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout

func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETEParams

NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object with the ability to set a timeout on a request.

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetAPIVersion added in v0.2.9

func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetContext

SetContext adds the context to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the delete metering policy assignment using d e l e t e params (not the query body).

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

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetID

SetID adds the id to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetTimeout

SetTimeout adds the timeout to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithContext

WithContext adds the context to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the delete metering policy assignment using d e l e t e params (not the query body).

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

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithID

WithID adds the id to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the delete metering policy assignment using d e l e t e params

func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMeteringPolicyAssignmentUsingDELETEReader

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

DeleteMeteringPolicyAssignmentUsingDELETEReader is a Reader for the DeleteMeteringPolicyAssignmentUsingDELETE structure.

func (*DeleteMeteringPolicyAssignmentUsingDELETEReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized

type DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized struct {
}
DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteMeteringPolicyAssignmentUsingDELETEUnauthorized

func NewDeleteMeteringPolicyAssignmentUsingDELETEUnauthorized() *DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized

NewDeleteMeteringPolicyAssignmentUsingDELETEUnauthorized creates a DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized with default headers values

func (*DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized) Error

type GetAllMeteringPolicyAssignmentsUsingGETOK

type GetAllMeteringPolicyAssignmentsUsingGETOK struct {
	Payload *models.PageOfMeteringPolicyAssignment
}
GetAllMeteringPolicyAssignmentsUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetAllMeteringPolicyAssignmentsUsingGETOK

func NewGetAllMeteringPolicyAssignmentsUsingGETOK() *GetAllMeteringPolicyAssignmentsUsingGETOK

NewGetAllMeteringPolicyAssignmentsUsingGETOK creates a GetAllMeteringPolicyAssignmentsUsingGETOK with default headers values

func (*GetAllMeteringPolicyAssignmentsUsingGETOK) Error

func (*GetAllMeteringPolicyAssignmentsUsingGETOK) GetPayload

type GetAllMeteringPolicyAssignmentsUsingGETParams

type GetAllMeteringPolicyAssignmentsUsingGETParams struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* RefreshEntities.

	   Search by name and description

	   Default: true
	*/
	RefreshEntities *bool

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

GetAllMeteringPolicyAssignmentsUsingGETParams contains all the parameters to send to the API endpoint

for the get all metering policy assignments using g e t operation.

Typically these are written to a http.Request.

func NewGetAllMeteringPolicyAssignmentsUsingGETParams

func NewGetAllMeteringPolicyAssignmentsUsingGETParams() *GetAllMeteringPolicyAssignmentsUsingGETParams

NewGetAllMeteringPolicyAssignmentsUsingGETParams creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext

func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGETParams

NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object with the ability to set a context for a request.

func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient

func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGETParams

NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout

func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGETParams

NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object with the ability to set a timeout on a request.

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetAPIVersion added in v0.2.9

func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetContext

SetContext adds the context to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the get all metering policy assignments using get params (not the query body).

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

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarOrderby

func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarSkip

func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarTop

func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetRefreshEntities

func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetRefreshEntities(refreshEntities *bool)

SetRefreshEntities adds the refreshEntities to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetTimeout

SetTimeout adds the timeout to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithContext

WithContext adds the context to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get all metering policy assignments using get params (not the query body).

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

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarTop

WithDollarTop adds the dollarTop to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithRefreshEntities

WithRefreshEntities adds the refreshEntities to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get all metering policy assignments using get params

func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllMeteringPolicyAssignmentsUsingGETReader

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

GetAllMeteringPolicyAssignmentsUsingGETReader is a Reader for the GetAllMeteringPolicyAssignmentsUsingGET structure.

func (*GetAllMeteringPolicyAssignmentsUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllMeteringPolicyAssignmentsUsingGETUnauthorized

type GetAllMeteringPolicyAssignmentsUsingGETUnauthorized struct {
}
GetAllMeteringPolicyAssignmentsUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAllMeteringPolicyAssignmentsUsingGETUnauthorized

func NewGetAllMeteringPolicyAssignmentsUsingGETUnauthorized() *GetAllMeteringPolicyAssignmentsUsingGETUnauthorized

NewGetAllMeteringPolicyAssignmentsUsingGETUnauthorized creates a GetAllMeteringPolicyAssignmentsUsingGETUnauthorized with default headers values

func (*GetAllMeteringPolicyAssignmentsUsingGETUnauthorized) Error

type GetMeteringAssignmentStrategyUsingGETNotFound

type GetMeteringAssignmentStrategyUsingGETNotFound struct {
	Payload *models.Error
}
GetMeteringAssignmentStrategyUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMeteringAssignmentStrategyUsingGETNotFound

func NewGetMeteringAssignmentStrategyUsingGETNotFound() *GetMeteringAssignmentStrategyUsingGETNotFound

NewGetMeteringAssignmentStrategyUsingGETNotFound creates a GetMeteringAssignmentStrategyUsingGETNotFound with default headers values

func (*GetMeteringAssignmentStrategyUsingGETNotFound) Error

func (*GetMeteringAssignmentStrategyUsingGETNotFound) GetPayload added in v0.2.9

type GetMeteringAssignmentStrategyUsingGETOK

type GetMeteringAssignmentStrategyUsingGETOK struct {
	Payload *models.MeteringAssignmentStrategy
}
GetMeteringAssignmentStrategyUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetMeteringAssignmentStrategyUsingGETOK

func NewGetMeteringAssignmentStrategyUsingGETOK() *GetMeteringAssignmentStrategyUsingGETOK

NewGetMeteringAssignmentStrategyUsingGETOK creates a GetMeteringAssignmentStrategyUsingGETOK with default headers values

func (*GetMeteringAssignmentStrategyUsingGETOK) Error

func (*GetMeteringAssignmentStrategyUsingGETOK) GetPayload

type GetMeteringAssignmentStrategyUsingGETParams

type GetMeteringAssignmentStrategyUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

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

GetMeteringAssignmentStrategyUsingGETParams contains all the parameters to send to the API endpoint

for the get metering assignment strategy using g e t operation.

Typically these are written to a http.Request.

func NewGetMeteringAssignmentStrategyUsingGETParams

func NewGetMeteringAssignmentStrategyUsingGETParams() *GetMeteringAssignmentStrategyUsingGETParams

NewGetMeteringAssignmentStrategyUsingGETParams creates a new GetMeteringAssignmentStrategyUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMeteringAssignmentStrategyUsingGETParamsWithContext

func NewGetMeteringAssignmentStrategyUsingGETParamsWithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGETParams

NewGetMeteringAssignmentStrategyUsingGETParamsWithContext creates a new GetMeteringAssignmentStrategyUsingGETParams object with the ability to set a context for a request.

func NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient

func NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGETParams

NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient creates a new GetMeteringAssignmentStrategyUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout

func NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGETParams

NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout creates a new GetMeteringAssignmentStrategyUsingGETParams object with the ability to set a timeout on a request.

func (*GetMeteringAssignmentStrategyUsingGETParams) SetAPIVersion added in v0.2.9

func (o *GetMeteringAssignmentStrategyUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) SetContext

SetContext adds the context to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the get metering assignment strategy using get params (not the query body).

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

func (*GetMeteringAssignmentStrategyUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) SetTimeout

SetTimeout adds the timeout to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) WithContext

WithContext adds the context to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get metering assignment strategy using get params (not the query body).

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

func (*GetMeteringAssignmentStrategyUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get metering assignment strategy using get params

func (*GetMeteringAssignmentStrategyUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMeteringAssignmentStrategyUsingGETReader

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

GetMeteringAssignmentStrategyUsingGETReader is a Reader for the GetMeteringAssignmentStrategyUsingGET structure.

func (*GetMeteringAssignmentStrategyUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMeteringAssignmentStrategyUsingGETUnauthorized

type GetMeteringAssignmentStrategyUsingGETUnauthorized struct {
}
GetMeteringAssignmentStrategyUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetMeteringAssignmentStrategyUsingGETUnauthorized

func NewGetMeteringAssignmentStrategyUsingGETUnauthorized() *GetMeteringAssignmentStrategyUsingGETUnauthorized

NewGetMeteringAssignmentStrategyUsingGETUnauthorized creates a GetMeteringAssignmentStrategyUsingGETUnauthorized with default headers values

func (*GetMeteringAssignmentStrategyUsingGETUnauthorized) Error

type GetMeteringPolicyAssignmentUsingGETNotFound

type GetMeteringPolicyAssignmentUsingGETNotFound struct {
	Payload *models.Error
}
GetMeteringPolicyAssignmentUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMeteringPolicyAssignmentUsingGETNotFound

func NewGetMeteringPolicyAssignmentUsingGETNotFound() *GetMeteringPolicyAssignmentUsingGETNotFound

NewGetMeteringPolicyAssignmentUsingGETNotFound creates a GetMeteringPolicyAssignmentUsingGETNotFound with default headers values

func (*GetMeteringPolicyAssignmentUsingGETNotFound) Error

func (*GetMeteringPolicyAssignmentUsingGETNotFound) GetPayload added in v0.2.9

type GetMeteringPolicyAssignmentUsingGETOK

type GetMeteringPolicyAssignmentUsingGETOK struct {
	Payload *models.MeteringPolicyAssignment
}
GetMeteringPolicyAssignmentUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetMeteringPolicyAssignmentUsingGETOK

func NewGetMeteringPolicyAssignmentUsingGETOK() *GetMeteringPolicyAssignmentUsingGETOK

NewGetMeteringPolicyAssignmentUsingGETOK creates a GetMeteringPolicyAssignmentUsingGETOK with default headers values

func (*GetMeteringPolicyAssignmentUsingGETOK) Error

func (*GetMeteringPolicyAssignmentUsingGETOK) GetPayload

type GetMeteringPolicyAssignmentUsingGETParams

type GetMeteringPolicyAssignmentUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   pricing card assignment id

	   Format: uuid
	*/
	ID strfmt.UUID

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

GetMeteringPolicyAssignmentUsingGETParams contains all the parameters to send to the API endpoint

for the get metering policy assignment using g e t operation.

Typically these are written to a http.Request.

func NewGetMeteringPolicyAssignmentUsingGETParams

func NewGetMeteringPolicyAssignmentUsingGETParams() *GetMeteringPolicyAssignmentUsingGETParams

NewGetMeteringPolicyAssignmentUsingGETParams creates a new GetMeteringPolicyAssignmentUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMeteringPolicyAssignmentUsingGETParamsWithContext

func NewGetMeteringPolicyAssignmentUsingGETParamsWithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGETParams

NewGetMeteringPolicyAssignmentUsingGETParamsWithContext creates a new GetMeteringPolicyAssignmentUsingGETParams object with the ability to set a context for a request.

func NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient

func NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGETParams

NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient creates a new GetMeteringPolicyAssignmentUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout

func NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGETParams

NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout creates a new GetMeteringPolicyAssignmentUsingGETParams object with the ability to set a timeout on a request.

func (*GetMeteringPolicyAssignmentUsingGETParams) SetAPIVersion added in v0.2.9

func (o *GetMeteringPolicyAssignmentUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) SetContext

SetContext adds the context to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the get metering policy assignment using get params (not the query body).

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

func (*GetMeteringPolicyAssignmentUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) SetID

SetID adds the id to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) SetTimeout

SetTimeout adds the timeout to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) WithContext

WithContext adds the context to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get metering policy assignment using get params (not the query body).

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

func (*GetMeteringPolicyAssignmentUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) WithID

WithID adds the id to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get metering policy assignment using get params

func (*GetMeteringPolicyAssignmentUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMeteringPolicyAssignmentUsingGETReader

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

GetMeteringPolicyAssignmentUsingGETReader is a Reader for the GetMeteringPolicyAssignmentUsingGET structure.

func (*GetMeteringPolicyAssignmentUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMeteringPolicyAssignmentUsingGETUnauthorized

type GetMeteringPolicyAssignmentUsingGETUnauthorized struct {
}
GetMeteringPolicyAssignmentUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetMeteringPolicyAssignmentUsingGETUnauthorized

func NewGetMeteringPolicyAssignmentUsingGETUnauthorized() *GetMeteringPolicyAssignmentUsingGETUnauthorized

NewGetMeteringPolicyAssignmentUsingGETUnauthorized creates a GetMeteringPolicyAssignmentUsingGETUnauthorized with default headers values

func (*GetMeteringPolicyAssignmentUsingGETUnauthorized) Error

type PatchMeteringPolicyAssignmentUsingPATCHOK

type PatchMeteringPolicyAssignmentUsingPATCHOK struct {
	Payload *models.MeteringPolicyAssignment
}
PatchMeteringPolicyAssignmentUsingPATCHOK describes a response with status code 200, with default header values.

OK

func NewPatchMeteringPolicyAssignmentUsingPATCHOK

func NewPatchMeteringPolicyAssignmentUsingPATCHOK() *PatchMeteringPolicyAssignmentUsingPATCHOK

NewPatchMeteringPolicyAssignmentUsingPATCHOK creates a PatchMeteringPolicyAssignmentUsingPATCHOK with default headers values

func (*PatchMeteringPolicyAssignmentUsingPATCHOK) Error

func (*PatchMeteringPolicyAssignmentUsingPATCHOK) GetPayload

type PatchMeteringPolicyAssignmentUsingPATCHParams

type PatchMeteringPolicyAssignmentUsingPATCHParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   pricing card Assignment Id

	   Format: uuid
	*/
	ID strfmt.UUID

	/* MeteringPolicyAssignment.

	   A pricing card assignment with pricing card Id to override existing pricing card Id
	*/
	MeteringPolicyAssignment *models.MeteringPolicyAssignment

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

PatchMeteringPolicyAssignmentUsingPATCHParams contains all the parameters to send to the API endpoint

for the patch metering policy assignment using p a t c h operation.

Typically these are written to a http.Request.

func NewPatchMeteringPolicyAssignmentUsingPATCHParams

func NewPatchMeteringPolicyAssignmentUsingPATCHParams() *PatchMeteringPolicyAssignmentUsingPATCHParams

NewPatchMeteringPolicyAssignmentUsingPATCHParams creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext

func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCHParams

NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object with the ability to set a context for a request.

func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient

func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCHParams

NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout

func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCHParams

NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object with the ability to set a timeout on a request.

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetAPIVersion added in v0.2.9

func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetContext

SetContext adds the context to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the patch metering policy assignment using p a t c h params (not the query body).

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

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetID

SetID adds the id to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetMeteringPolicyAssignment

func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)

SetMeteringPolicyAssignment adds the meteringPolicyAssignment to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetTimeout

SetTimeout adds the timeout to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithContext

WithContext adds the context to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the patch metering policy assignment using p a t c h params (not the query body).

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

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithID

WithID adds the id to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithMeteringPolicyAssignment

WithMeteringPolicyAssignment adds the meteringPolicyAssignment to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithTimeout

WithTimeout adds the timeout to the patch metering policy assignment using p a t c h params

func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchMeteringPolicyAssignmentUsingPATCHReader

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

PatchMeteringPolicyAssignmentUsingPATCHReader is a Reader for the PatchMeteringPolicyAssignmentUsingPATCH structure.

func (*PatchMeteringPolicyAssignmentUsingPATCHReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchMeteringPolicyAssignmentUsingPATCHUnauthorized

type PatchMeteringPolicyAssignmentUsingPATCHUnauthorized struct {
}
PatchMeteringPolicyAssignmentUsingPATCHUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchMeteringPolicyAssignmentUsingPATCHUnauthorized

func NewPatchMeteringPolicyAssignmentUsingPATCHUnauthorized() *PatchMeteringPolicyAssignmentUsingPATCHUnauthorized

NewPatchMeteringPolicyAssignmentUsingPATCHUnauthorized creates a PatchMeteringPolicyAssignmentUsingPATCHUnauthorized with default headers values

func (*PatchMeteringPolicyAssignmentUsingPATCHUnauthorized) Error

Jump to

Keyboard shortcuts

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