pricing_card_assignments

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 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 ChangeMeteringAssignmentStrategyUsingPATCH2OK added in v0.4.0

type ChangeMeteringAssignmentStrategyUsingPATCH2OK struct {
	Payload *models.MeteringAssignmentStrategy
}

ChangeMeteringAssignmentStrategyUsingPATCH2OK describes a response with status code 200, with default header values.

OK

func NewChangeMeteringAssignmentStrategyUsingPATCH2OK added in v0.4.0

func NewChangeMeteringAssignmentStrategyUsingPATCH2OK() *ChangeMeteringAssignmentStrategyUsingPATCH2OK

NewChangeMeteringAssignmentStrategyUsingPATCH2OK creates a ChangeMeteringAssignmentStrategyUsingPATCH2OK with default headers values

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) Error added in v0.4.0

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) GetPayload added in v0.4.0

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsClientError added in v0.5.0

IsClientError returns true when this change metering assignment strategy using p a t c h2 o k response has a 4xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsCode added in v0.5.0

IsCode returns true when this change metering assignment strategy using p a t c h2 o k response a status code equal to that given

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this change metering assignment strategy using p a t c h2 o k response has a 3xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsServerError added in v0.5.0

IsServerError returns true when this change metering assignment strategy using p a t c h2 o k response has a 5xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this change metering assignment strategy using p a t c h2 o k response has a 2xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) String added in v0.5.0

type ChangeMeteringAssignmentStrategyUsingPATCH2Params added in v0.4.0

type ChangeMeteringAssignmentStrategyUsingPATCH2Params 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
}

ChangeMeteringAssignmentStrategyUsingPATCH2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewChangeMeteringAssignmentStrategyUsingPATCH2Params added in v0.4.0

func NewChangeMeteringAssignmentStrategyUsingPATCH2Params() *ChangeMeteringAssignmentStrategyUsingPATCH2Params

NewChangeMeteringAssignmentStrategyUsingPATCH2Params creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params 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 NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext added in v0.4.0

func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCH2Params

NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object with the ability to set a context for a request.

func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient added in v0.4.0

func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCH2Params

NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object with the ability to set a custom HTTPClient for a request.

func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout added in v0.4.0

func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCH2Params

NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object with the ability to set a timeout on a request.

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetAPIVersion added in v0.4.0

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

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetContext added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetDefaults added in v0.4.0

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

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetHTTPClient added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetMeteringAssignmentStrategy added in v0.4.0

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

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetTimeout added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithAPIVersion added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithContext added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithDefaults added in v0.4.0

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

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithHTTPClient added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithMeteringAssignmentStrategy added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithTimeout added in v0.4.0

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

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type ChangeMeteringAssignmentStrategyUsingPATCH2Reader added in v0.4.0

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

ChangeMeteringAssignmentStrategyUsingPATCH2Reader is a Reader for the ChangeMeteringAssignmentStrategyUsingPATCH2 structure.

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized added in v0.4.0

type ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized struct {
}

ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized added in v0.4.0

func NewChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized() *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized

NewChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized creates a ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized with default headers values

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) Error added in v0.4.0

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 4xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this change metering assignment strategy using p a t c h2 unauthorized response a status code equal to that given

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 3xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 5xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 2xx status code

func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) String added in v0.5.0

type Client

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

Client for pricing card assignments API

func (*Client) ChangeMeteringAssignmentStrategyUsingPATCH2 added in v0.4.0

func (a *Client) ChangeMeteringAssignmentStrategyUsingPATCH2(params *ChangeMeteringAssignmentStrategyUsingPATCH2Params, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCH2OK, error)

ChangeMeteringAssignmentStrategyUsingPATCH2 updates the pricing card assignment strategy for the org

func (*Client) CreateMeteringAssignmentStrategyUsingPOST2 added in v0.4.0

CreateMeteringAssignmentStrategyUsingPOST2 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) CreateMeteringPolicyAssignmentUsingPOST2 added in v0.4.0

CreateMeteringPolicyAssignmentUsingPOST2 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) DeleteMeteringPolicyAssignmentUsingDELETE2 added in v0.4.0

func (a *Client) DeleteMeteringPolicyAssignmentUsingDELETE2(params *DeleteMeteringPolicyAssignmentUsingDELETE2Params, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETE2OK, error)

DeleteMeteringPolicyAssignmentUsingDELETE2 deletes the pricing card assignment with specified id

Deletes the pricing card assignment with the specified id

func (*Client) GetAllMeteringPolicyAssignmentsUsingGET2 added in v0.4.0

func (a *Client) GetAllMeteringPolicyAssignmentsUsingGET2(params *GetAllMeteringPolicyAssignmentsUsingGET2Params, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGET2OK, error)

GetAllMeteringPolicyAssignmentsUsingGET2 fetches all pricing card assignment for private cloud

Returns a paginated list of pricing card assignments

func (*Client) GetMeteringAssignmentStrategyUsingGET2 added in v0.4.0

func (a *Client) GetMeteringAssignmentStrategyUsingGET2(params *GetMeteringAssignmentStrategyUsingGET2Params, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGET2OK, error)

GetMeteringAssignmentStrategyUsingGET2 fetches pricing card assignment strategy for the org

Returns a pricing card assignment strategy for the Org

func (*Client) GetMeteringPolicyAssignmentUsingGET2 added in v0.4.0

func (a *Client) GetMeteringPolicyAssignmentUsingGET2(params *GetMeteringPolicyAssignmentUsingGET2Params, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGET2OK, error)

GetMeteringPolicyAssignmentUsingGET2 fetches pricing card assignment for private cloud by id

Returns a pricing card assignments by id

func (*Client) PatchMeteringPolicyAssignmentUsingPATCH2 added in v0.4.0

func (a *Client) PatchMeteringPolicyAssignmentUsingPATCH2(params *PatchMeteringPolicyAssignmentUsingPATCH2Params, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCH2OK, error)

PatchMeteringPolicyAssignmentUsingPATCH2 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 {
	ChangeMeteringAssignmentStrategyUsingPATCH2(params *ChangeMeteringAssignmentStrategyUsingPATCH2Params, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCH2OK, error)

	CreateMeteringAssignmentStrategyUsingPOST2(params *CreateMeteringAssignmentStrategyUsingPOST2Params, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOST2OK, *CreateMeteringAssignmentStrategyUsingPOST2Created, error)

	CreateMeteringPolicyAssignmentUsingPOST2(params *CreateMeteringPolicyAssignmentUsingPOST2Params, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOST2OK, *CreateMeteringPolicyAssignmentUsingPOST2Created, error)

	DeleteMeteringPolicyAssignmentUsingDELETE2(params *DeleteMeteringPolicyAssignmentUsingDELETE2Params, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETE2OK, error)

	GetAllMeteringPolicyAssignmentsUsingGET2(params *GetAllMeteringPolicyAssignmentsUsingGET2Params, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGET2OK, error)

	GetMeteringAssignmentStrategyUsingGET2(params *GetMeteringAssignmentStrategyUsingGET2Params, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGET2OK, error)

	GetMeteringPolicyAssignmentUsingGET2(params *GetMeteringPolicyAssignmentUsingGET2Params, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGET2OK, error)

	PatchMeteringPolicyAssignmentUsingPATCH2(params *PatchMeteringPolicyAssignmentUsingPATCH2Params, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCH2OK, 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 CreateMeteringAssignmentStrategyUsingPOST2Created added in v0.4.0

type CreateMeteringAssignmentStrategyUsingPOST2Created struct {
	Payload *models.MeteringAssignmentStrategy
}

CreateMeteringAssignmentStrategyUsingPOST2Created describes a response with status code 201, with default header values.

Created

func NewCreateMeteringAssignmentStrategyUsingPOST2Created added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2Created() *CreateMeteringAssignmentStrategyUsingPOST2Created

NewCreateMeteringAssignmentStrategyUsingPOST2Created creates a CreateMeteringAssignmentStrategyUsingPOST2Created with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) Error added in v0.4.0

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) GetPayload added in v0.4.0

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsClientError added in v0.5.0

IsClientError returns true when this create metering assignment strategy using p o s t2 created response has a 4xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsCode added in v0.5.0

IsCode returns true when this create metering assignment strategy using p o s t2 created response a status code equal to that given

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering assignment strategy using p o s t2 created response has a 3xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsServerError added in v0.5.0

IsServerError returns true when this create metering assignment strategy using p o s t2 created response has a 5xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering assignment strategy using p o s t2 created response has a 2xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Created) String added in v0.5.0

type CreateMeteringAssignmentStrategyUsingPOST2Forbidden added in v0.4.0

type CreateMeteringAssignmentStrategyUsingPOST2Forbidden struct {
}

CreateMeteringAssignmentStrategyUsingPOST2Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateMeteringAssignmentStrategyUsingPOST2Forbidden added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2Forbidden() *CreateMeteringAssignmentStrategyUsingPOST2Forbidden

NewCreateMeteringAssignmentStrategyUsingPOST2Forbidden creates a CreateMeteringAssignmentStrategyUsingPOST2Forbidden with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) Error added in v0.4.0

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsClientError added in v0.5.0

IsClientError returns true when this create metering assignment strategy using p o s t2 forbidden response has a 4xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsCode added in v0.5.0

IsCode returns true when this create metering assignment strategy using p o s t2 forbidden response a status code equal to that given

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering assignment strategy using p o s t2 forbidden response has a 3xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsServerError added in v0.5.0

IsServerError returns true when this create metering assignment strategy using p o s t2 forbidden response has a 5xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering assignment strategy using p o s t2 forbidden response has a 2xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) String added in v0.5.0

type CreateMeteringAssignmentStrategyUsingPOST2OK added in v0.4.0

type CreateMeteringAssignmentStrategyUsingPOST2OK struct {
	Payload *models.MeteringAssignmentStrategy
}

CreateMeteringAssignmentStrategyUsingPOST2OK describes a response with status code 200, with default header values.

OK

func NewCreateMeteringAssignmentStrategyUsingPOST2OK added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2OK() *CreateMeteringAssignmentStrategyUsingPOST2OK

NewCreateMeteringAssignmentStrategyUsingPOST2OK creates a CreateMeteringAssignmentStrategyUsingPOST2OK with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) Error added in v0.4.0

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) GetPayload added in v0.4.0

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsClientError added in v0.5.0

IsClientError returns true when this create metering assignment strategy using p o s t2 o k response has a 4xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsCode added in v0.5.0

IsCode returns true when this create metering assignment strategy using p o s t2 o k response a status code equal to that given

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering assignment strategy using p o s t2 o k response has a 3xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsServerError added in v0.5.0

IsServerError returns true when this create metering assignment strategy using p o s t2 o k response has a 5xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering assignment strategy using p o s t2 o k response has a 2xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2OK) String added in v0.5.0

type CreateMeteringAssignmentStrategyUsingPOST2Params added in v0.4.0

type CreateMeteringAssignmentStrategyUsingPOST2Params 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
}

CreateMeteringAssignmentStrategyUsingPOST2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCreateMeteringAssignmentStrategyUsingPOST2Params added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2Params() *CreateMeteringAssignmentStrategyUsingPOST2Params

NewCreateMeteringAssignmentStrategyUsingPOST2Params creates a new CreateMeteringAssignmentStrategyUsingPOST2Params 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 NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOST2Params

NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object with the ability to set a context for a request.

func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOST2Params

NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object with the ability to set a custom HTTPClient for a request.

func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOST2Params

NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object with the ability to set a timeout on a request.

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetAPIVersion added in v0.4.0

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

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetContext added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetDefaults added in v0.4.0

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

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetHTTPClient added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetMeteringAssignmentStrategy added in v0.4.0

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

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetTimeout added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithAPIVersion added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithContext added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithDefaults added in v0.4.0

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

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithHTTPClient added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithMeteringAssignmentStrategy added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithTimeout added in v0.4.0

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

func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CreateMeteringAssignmentStrategyUsingPOST2Reader added in v0.4.0

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

CreateMeteringAssignmentStrategyUsingPOST2Reader is a Reader for the CreateMeteringAssignmentStrategyUsingPOST2 structure.

func (*CreateMeteringAssignmentStrategyUsingPOST2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type CreateMeteringAssignmentStrategyUsingPOST2Unauthorized added in v0.4.0

type CreateMeteringAssignmentStrategyUsingPOST2Unauthorized struct {
}

CreateMeteringAssignmentStrategyUsingPOST2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateMeteringAssignmentStrategyUsingPOST2Unauthorized added in v0.4.0

func NewCreateMeteringAssignmentStrategyUsingPOST2Unauthorized() *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized

NewCreateMeteringAssignmentStrategyUsingPOST2Unauthorized creates a CreateMeteringAssignmentStrategyUsingPOST2Unauthorized with default headers values

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) Error added in v0.4.0

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 4xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this create metering assignment strategy using p o s t2 unauthorized response a status code equal to that given

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 3xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 5xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 2xx status code

func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) String added in v0.5.0

type CreateMeteringPolicyAssignmentUsingPOST2Created added in v0.4.0

type CreateMeteringPolicyAssignmentUsingPOST2Created struct {
	Payload *models.MeteringPolicyAssignment
}

CreateMeteringPolicyAssignmentUsingPOST2Created describes a response with status code 201, with default header values.

Created

func NewCreateMeteringPolicyAssignmentUsingPOST2Created added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2Created() *CreateMeteringPolicyAssignmentUsingPOST2Created

NewCreateMeteringPolicyAssignmentUsingPOST2Created creates a CreateMeteringPolicyAssignmentUsingPOST2Created with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) Error added in v0.4.0

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) GetPayload added in v0.4.0

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsClientError added in v0.5.0

IsClientError returns true when this create metering policy assignment using p o s t2 created response has a 4xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsCode added in v0.5.0

IsCode returns true when this create metering policy assignment using p o s t2 created response a status code equal to that given

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering policy assignment using p o s t2 created response has a 3xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsServerError added in v0.5.0

IsServerError returns true when this create metering policy assignment using p o s t2 created response has a 5xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering policy assignment using p o s t2 created response has a 2xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Created) String added in v0.5.0

type CreateMeteringPolicyAssignmentUsingPOST2Forbidden added in v0.4.0

type CreateMeteringPolicyAssignmentUsingPOST2Forbidden struct {
}

CreateMeteringPolicyAssignmentUsingPOST2Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateMeteringPolicyAssignmentUsingPOST2Forbidden added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2Forbidden() *CreateMeteringPolicyAssignmentUsingPOST2Forbidden

NewCreateMeteringPolicyAssignmentUsingPOST2Forbidden creates a CreateMeteringPolicyAssignmentUsingPOST2Forbidden with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) Error added in v0.4.0

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsClientError added in v0.5.0

IsClientError returns true when this create metering policy assignment using p o s t2 forbidden response has a 4xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsCode added in v0.5.0

IsCode returns true when this create metering policy assignment using p o s t2 forbidden response a status code equal to that given

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering policy assignment using p o s t2 forbidden response has a 3xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsServerError added in v0.5.0

IsServerError returns true when this create metering policy assignment using p o s t2 forbidden response has a 5xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering policy assignment using p o s t2 forbidden response has a 2xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) String added in v0.5.0

type CreateMeteringPolicyAssignmentUsingPOST2OK added in v0.4.0

type CreateMeteringPolicyAssignmentUsingPOST2OK struct {
	Payload *models.MeteringPolicyAssignment
}

CreateMeteringPolicyAssignmentUsingPOST2OK describes a response with status code 200, with default header values.

OK

func NewCreateMeteringPolicyAssignmentUsingPOST2OK added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2OK() *CreateMeteringPolicyAssignmentUsingPOST2OK

NewCreateMeteringPolicyAssignmentUsingPOST2OK creates a CreateMeteringPolicyAssignmentUsingPOST2OK with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) Error added in v0.4.0

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) GetPayload added in v0.4.0

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsClientError added in v0.5.0

IsClientError returns true when this create metering policy assignment using p o s t2 o k response has a 4xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsCode added in v0.5.0

IsCode returns true when this create metering policy assignment using p o s t2 o k response a status code equal to that given

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering policy assignment using p o s t2 o k response has a 3xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsServerError added in v0.5.0

IsServerError returns true when this create metering policy assignment using p o s t2 o k response has a 5xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering policy assignment using p o s t2 o k response has a 2xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2OK) String added in v0.5.0

type CreateMeteringPolicyAssignmentUsingPOST2Params added in v0.4.0

type CreateMeteringPolicyAssignmentUsingPOST2Params 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
}

CreateMeteringPolicyAssignmentUsingPOST2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCreateMeteringPolicyAssignmentUsingPOST2Params added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2Params() *CreateMeteringPolicyAssignmentUsingPOST2Params

NewCreateMeteringPolicyAssignmentUsingPOST2Params creates a new CreateMeteringPolicyAssignmentUsingPOST2Params 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 NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOST2Params

NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object with the ability to set a context for a request.

func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOST2Params

NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object with the ability to set a custom HTTPClient for a request.

func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOST2Params

NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object with the ability to set a timeout on a request.

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetAPIVersion added in v0.4.0

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

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetContext added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetDefaults added in v0.4.0

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

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetHTTPClient added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetMeteringPolicyAssignment added in v0.4.0

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

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetTimeout added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithAPIVersion added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithContext added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithDefaults added in v0.4.0

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

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithHTTPClient added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithMeteringPolicyAssignment added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithTimeout added in v0.4.0

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

func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CreateMeteringPolicyAssignmentUsingPOST2Reader added in v0.4.0

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

CreateMeteringPolicyAssignmentUsingPOST2Reader is a Reader for the CreateMeteringPolicyAssignmentUsingPOST2 structure.

func (*CreateMeteringPolicyAssignmentUsingPOST2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type CreateMeteringPolicyAssignmentUsingPOST2Unauthorized added in v0.4.0

type CreateMeteringPolicyAssignmentUsingPOST2Unauthorized struct {
}

CreateMeteringPolicyAssignmentUsingPOST2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateMeteringPolicyAssignmentUsingPOST2Unauthorized added in v0.4.0

func NewCreateMeteringPolicyAssignmentUsingPOST2Unauthorized() *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized

NewCreateMeteringPolicyAssignmentUsingPOST2Unauthorized creates a CreateMeteringPolicyAssignmentUsingPOST2Unauthorized with default headers values

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) Error added in v0.4.0

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this create metering policy assignment using p o s t2 unauthorized response has a 4xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this create metering policy assignment using p o s t2 unauthorized response a status code equal to that given

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this create metering policy assignment using p o s t2 unauthorized response has a 3xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this create metering policy assignment using p o s t2 unauthorized response has a 5xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this create metering policy assignment using p o s t2 unauthorized response has a 2xx status code

func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) String added in v0.5.0

type DeleteMeteringPolicyAssignmentUsingDELETE2NotFound added in v0.4.0

type DeleteMeteringPolicyAssignmentUsingDELETE2NotFound struct {
	Payload *models.Error
}

DeleteMeteringPolicyAssignmentUsingDELETE2NotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteMeteringPolicyAssignmentUsingDELETE2NotFound added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2NotFound() *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound

NewDeleteMeteringPolicyAssignmentUsingDELETE2NotFound creates a DeleteMeteringPolicyAssignmentUsingDELETE2NotFound with default headers values

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) Error added in v0.4.0

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) GetPayload added in v0.4.0

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsClientError added in v0.5.0

IsClientError returns true when this delete metering policy assignment using d e l e t e2 not found response has a 4xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsCode added in v0.5.0

IsCode returns true when this delete metering policy assignment using d e l e t e2 not found response a status code equal to that given

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this delete metering policy assignment using d e l e t e2 not found response has a 3xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsServerError added in v0.5.0

IsServerError returns true when this delete metering policy assignment using d e l e t e2 not found response has a 5xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this delete metering policy assignment using d e l e t e2 not found response has a 2xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) String added in v0.5.0

type DeleteMeteringPolicyAssignmentUsingDELETE2OK added in v0.4.0

type DeleteMeteringPolicyAssignmentUsingDELETE2OK struct {
}

DeleteMeteringPolicyAssignmentUsingDELETE2OK describes a response with status code 200, with default header values.

No Content

func NewDeleteMeteringPolicyAssignmentUsingDELETE2OK added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2OK() *DeleteMeteringPolicyAssignmentUsingDELETE2OK

NewDeleteMeteringPolicyAssignmentUsingDELETE2OK creates a DeleteMeteringPolicyAssignmentUsingDELETE2OK with default headers values

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) Error added in v0.4.0

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsClientError added in v0.5.0

IsClientError returns true when this delete metering policy assignment using d e l e t e2 o k response has a 4xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsCode added in v0.5.0

IsCode returns true when this delete metering policy assignment using d e l e t e2 o k response a status code equal to that given

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this delete metering policy assignment using d e l e t e2 o k response has a 3xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsServerError added in v0.5.0

IsServerError returns true when this delete metering policy assignment using d e l e t e2 o k response has a 5xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this delete metering policy assignment using d e l e t e2 o k response has a 2xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) String added in v0.5.0

type DeleteMeteringPolicyAssignmentUsingDELETE2Params added in v0.4.0

type DeleteMeteringPolicyAssignmentUsingDELETE2Params 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
}

DeleteMeteringPolicyAssignmentUsingDELETE2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewDeleteMeteringPolicyAssignmentUsingDELETE2Params added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2Params() *DeleteMeteringPolicyAssignmentUsingDELETE2Params

NewDeleteMeteringPolicyAssignmentUsingDELETE2Params creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params 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 NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETE2Params

NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object with the ability to set a context for a request.

func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETE2Params

NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETE2Params

NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object with the ability to set a timeout on a request.

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetAPIVersion added in v0.4.0

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

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetContext added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetDefaults added in v0.4.0

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

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetHTTPClient added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetID added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetTimeout added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithAPIVersion added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithContext added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithDefaults added in v0.4.0

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

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithHTTPClient added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithID added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithTimeout added in v0.4.0

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

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DeleteMeteringPolicyAssignmentUsingDELETE2Reader added in v0.4.0

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

DeleteMeteringPolicyAssignmentUsingDELETE2Reader is a Reader for the DeleteMeteringPolicyAssignmentUsingDELETE2 structure.

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized added in v0.4.0

type DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized struct {
}

DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized added in v0.4.0

func NewDeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized() *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized

NewDeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized creates a DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized with default headers values

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) Error added in v0.4.0

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 4xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this delete metering policy assignment using d e l e t e2 unauthorized response a status code equal to that given

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 3xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 5xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 2xx status code

func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) String added in v0.5.0

type GetAllMeteringPolicyAssignmentsUsingGET2OK added in v0.4.0

type GetAllMeteringPolicyAssignmentsUsingGET2OK struct {
	Payload *models.PageOfMeteringPolicyAssignment
}

GetAllMeteringPolicyAssignmentsUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetAllMeteringPolicyAssignmentsUsingGET2OK added in v0.4.0

func NewGetAllMeteringPolicyAssignmentsUsingGET2OK() *GetAllMeteringPolicyAssignmentsUsingGET2OK

NewGetAllMeteringPolicyAssignmentsUsingGET2OK creates a GetAllMeteringPolicyAssignmentsUsingGET2OK with default headers values

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) Error added in v0.4.0

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) GetPayload added in v0.4.0

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsClientError added in v0.5.0

IsClientError returns true when this get all metering policy assignments using g e t2 o k response has a 4xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsCode added in v0.5.0

IsCode returns true when this get all metering policy assignments using g e t2 o k response a status code equal to that given

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this get all metering policy assignments using g e t2 o k response has a 3xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsServerError added in v0.5.0

IsServerError returns true when this get all metering policy assignments using g e t2 o k response has a 5xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this get all metering policy assignments using g e t2 o k response has a 2xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) String added in v0.5.0

type GetAllMeteringPolicyAssignmentsUsingGET2Params added in v0.4.0

type GetAllMeteringPolicyAssignmentsUsingGET2Params 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
}

GetAllMeteringPolicyAssignmentsUsingGET2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewGetAllMeteringPolicyAssignmentsUsingGET2Params added in v0.4.0

func NewGetAllMeteringPolicyAssignmentsUsingGET2Params() *GetAllMeteringPolicyAssignmentsUsingGET2Params

NewGetAllMeteringPolicyAssignmentsUsingGET2Params creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params 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 NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext added in v0.4.0

func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGET2Params

NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object with the ability to set a context for a request.

func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient added in v0.4.0

func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGET2Params

NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout added in v0.4.0

func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGET2Params

NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object with the ability to set a timeout on a request.

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetAPIVersion added in v0.4.0

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

SetAPIVersion adds the apiVersion to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetContext added in v0.4.0

SetContext adds the context to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDefaults added in v0.4.0

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

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

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarOrderby added in v0.4.0

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

SetDollarOrderby adds the dollarOrderby to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarSkip added in v0.4.0

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

SetDollarSkip adds the dollarSkip to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarTop added in v0.4.0

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

SetDollarTop adds the dollarTop to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetHTTPClient added in v0.4.0

SetHTTPClient adds the HTTPClient to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetRefreshEntities added in v0.4.0

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

SetRefreshEntities adds the refreshEntities to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetTimeout added in v0.4.0

SetTimeout adds the timeout to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDefaults added in v0.4.0

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

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

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarOrderby added in v0.4.0

WithDollarOrderby adds the dollarOrderby to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithRefreshEntities added in v0.4.0

WithRefreshEntities adds the refreshEntities to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get all metering policy assignments using g e t 2 params

func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetAllMeteringPolicyAssignmentsUsingGET2Reader added in v0.4.0

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

GetAllMeteringPolicyAssignmentsUsingGET2Reader is a Reader for the GetAllMeteringPolicyAssignmentsUsingGET2 structure.

func (*GetAllMeteringPolicyAssignmentsUsingGET2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized added in v0.4.0

type GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized struct {
}

GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAllMeteringPolicyAssignmentsUsingGET2Unauthorized added in v0.4.0

func NewGetAllMeteringPolicyAssignmentsUsingGET2Unauthorized() *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized

NewGetAllMeteringPolicyAssignmentsUsingGET2Unauthorized creates a GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized with default headers values

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) Error added in v0.4.0

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this get all metering policy assignments using g e t2 unauthorized response has a 4xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get all metering policy assignments using g e t2 unauthorized response a status code equal to that given

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get all metering policy assignments using g e t2 unauthorized response has a 3xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this get all metering policy assignments using g e t2 unauthorized response has a 5xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get all metering policy assignments using g e t2 unauthorized response has a 2xx status code

func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) String added in v0.5.0

type GetMeteringAssignmentStrategyUsingGET2NotFound added in v0.4.0

type GetMeteringAssignmentStrategyUsingGET2NotFound struct {
	Payload *models.Error
}

GetMeteringAssignmentStrategyUsingGET2NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMeteringAssignmentStrategyUsingGET2NotFound added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2NotFound() *GetMeteringAssignmentStrategyUsingGET2NotFound

NewGetMeteringAssignmentStrategyUsingGET2NotFound creates a GetMeteringAssignmentStrategyUsingGET2NotFound with default headers values

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) Error added in v0.4.0

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) GetPayload added in v0.4.0

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsClientError added in v0.5.0

IsClientError returns true when this get metering assignment strategy using g e t2 not found response has a 4xx status code

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsCode added in v0.5.0

IsCode returns true when this get metering assignment strategy using g e t2 not found response a status code equal to that given

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this get metering assignment strategy using g e t2 not found response has a 3xx status code

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsServerError added in v0.5.0

IsServerError returns true when this get metering assignment strategy using g e t2 not found response has a 5xx status code

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this get metering assignment strategy using g e t2 not found response has a 2xx status code

func (*GetMeteringAssignmentStrategyUsingGET2NotFound) String added in v0.5.0

type GetMeteringAssignmentStrategyUsingGET2OK added in v0.4.0

type GetMeteringAssignmentStrategyUsingGET2OK struct {
	Payload *models.MeteringAssignmentStrategy
}

GetMeteringAssignmentStrategyUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetMeteringAssignmentStrategyUsingGET2OK added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2OK() *GetMeteringAssignmentStrategyUsingGET2OK

NewGetMeteringAssignmentStrategyUsingGET2OK creates a GetMeteringAssignmentStrategyUsingGET2OK with default headers values

func (*GetMeteringAssignmentStrategyUsingGET2OK) Error added in v0.4.0

func (*GetMeteringAssignmentStrategyUsingGET2OK) GetPayload added in v0.4.0

func (*GetMeteringAssignmentStrategyUsingGET2OK) IsClientError added in v0.5.0

IsClientError returns true when this get metering assignment strategy using g e t2 o k response has a 4xx status code

func (*GetMeteringAssignmentStrategyUsingGET2OK) IsCode added in v0.5.0

IsCode returns true when this get metering assignment strategy using g e t2 o k response a status code equal to that given

func (*GetMeteringAssignmentStrategyUsingGET2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this get metering assignment strategy using g e t2 o k response has a 3xx status code

func (*GetMeteringAssignmentStrategyUsingGET2OK) IsServerError added in v0.5.0

IsServerError returns true when this get metering assignment strategy using g e t2 o k response has a 5xx status code

func (*GetMeteringAssignmentStrategyUsingGET2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this get metering assignment strategy using g e t2 o k response has a 2xx status code

func (*GetMeteringAssignmentStrategyUsingGET2OK) String added in v0.5.0

type GetMeteringAssignmentStrategyUsingGET2Params added in v0.4.0

type GetMeteringAssignmentStrategyUsingGET2Params 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
}

GetMeteringAssignmentStrategyUsingGET2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewGetMeteringAssignmentStrategyUsingGET2Params added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2Params() *GetMeteringAssignmentStrategyUsingGET2Params

NewGetMeteringAssignmentStrategyUsingGET2Params creates a new GetMeteringAssignmentStrategyUsingGET2Params 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 NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGET2Params

NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext creates a new GetMeteringAssignmentStrategyUsingGET2Params object with the ability to set a context for a request.

func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGET2Params

NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient creates a new GetMeteringAssignmentStrategyUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGET2Params

NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout creates a new GetMeteringAssignmentStrategyUsingGET2Params object with the ability to set a timeout on a request.

func (*GetMeteringAssignmentStrategyUsingGET2Params) SetAPIVersion added in v0.4.0

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

SetAPIVersion adds the apiVersion to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) SetContext added in v0.4.0

SetContext adds the context to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) SetDefaults added in v0.4.0

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

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

func (*GetMeteringAssignmentStrategyUsingGET2Params) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) SetTimeout added in v0.4.0

SetTimeout adds the timeout to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) WithDefaults added in v0.4.0

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

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

func (*GetMeteringAssignmentStrategyUsingGET2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get metering assignment strategy using g e t 2 params

func (*GetMeteringAssignmentStrategyUsingGET2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetMeteringAssignmentStrategyUsingGET2Reader added in v0.4.0

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

GetMeteringAssignmentStrategyUsingGET2Reader is a Reader for the GetMeteringAssignmentStrategyUsingGET2 structure.

func (*GetMeteringAssignmentStrategyUsingGET2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetMeteringAssignmentStrategyUsingGET2Unauthorized added in v0.4.0

type GetMeteringAssignmentStrategyUsingGET2Unauthorized struct {
}

GetMeteringAssignmentStrategyUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetMeteringAssignmentStrategyUsingGET2Unauthorized added in v0.4.0

func NewGetMeteringAssignmentStrategyUsingGET2Unauthorized() *GetMeteringAssignmentStrategyUsingGET2Unauthorized

NewGetMeteringAssignmentStrategyUsingGET2Unauthorized creates a GetMeteringAssignmentStrategyUsingGET2Unauthorized with default headers values

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) Error added in v0.4.0

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this get metering assignment strategy using g e t2 unauthorized response has a 4xx status code

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get metering assignment strategy using g e t2 unauthorized response a status code equal to that given

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get metering assignment strategy using g e t2 unauthorized response has a 3xx status code

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this get metering assignment strategy using g e t2 unauthorized response has a 5xx status code

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get metering assignment strategy using g e t2 unauthorized response has a 2xx status code

func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) String added in v0.5.0

type GetMeteringPolicyAssignmentUsingGET2NotFound added in v0.4.0

type GetMeteringPolicyAssignmentUsingGET2NotFound struct {
	Payload *models.Error
}

GetMeteringPolicyAssignmentUsingGET2NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMeteringPolicyAssignmentUsingGET2NotFound added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2NotFound() *GetMeteringPolicyAssignmentUsingGET2NotFound

NewGetMeteringPolicyAssignmentUsingGET2NotFound creates a GetMeteringPolicyAssignmentUsingGET2NotFound with default headers values

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) Error added in v0.4.0

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) GetPayload added in v0.4.0

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsClientError added in v0.5.0

IsClientError returns true when this get metering policy assignment using g e t2 not found response has a 4xx status code

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsCode added in v0.5.0

IsCode returns true when this get metering policy assignment using g e t2 not found response a status code equal to that given

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this get metering policy assignment using g e t2 not found response has a 3xx status code

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsServerError added in v0.5.0

IsServerError returns true when this get metering policy assignment using g e t2 not found response has a 5xx status code

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this get metering policy assignment using g e t2 not found response has a 2xx status code

func (*GetMeteringPolicyAssignmentUsingGET2NotFound) String added in v0.5.0

type GetMeteringPolicyAssignmentUsingGET2OK added in v0.4.0

type GetMeteringPolicyAssignmentUsingGET2OK struct {
	Payload *models.MeteringPolicyAssignment
}

GetMeteringPolicyAssignmentUsingGET2OK describes a response with status code 200, with default header values.

OK

func NewGetMeteringPolicyAssignmentUsingGET2OK added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2OK() *GetMeteringPolicyAssignmentUsingGET2OK

NewGetMeteringPolicyAssignmentUsingGET2OK creates a GetMeteringPolicyAssignmentUsingGET2OK with default headers values

func (*GetMeteringPolicyAssignmentUsingGET2OK) Error added in v0.4.0

func (*GetMeteringPolicyAssignmentUsingGET2OK) GetPayload added in v0.4.0

func (*GetMeteringPolicyAssignmentUsingGET2OK) IsClientError added in v0.5.0

func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsClientError() bool

IsClientError returns true when this get metering policy assignment using g e t2 o k response has a 4xx status code

func (*GetMeteringPolicyAssignmentUsingGET2OK) IsCode added in v0.5.0

IsCode returns true when this get metering policy assignment using g e t2 o k response a status code equal to that given

func (*GetMeteringPolicyAssignmentUsingGET2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this get metering policy assignment using g e t2 o k response has a 3xx status code

func (*GetMeteringPolicyAssignmentUsingGET2OK) IsServerError added in v0.5.0

func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsServerError() bool

IsServerError returns true when this get metering policy assignment using g e t2 o k response has a 5xx status code

func (*GetMeteringPolicyAssignmentUsingGET2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this get metering policy assignment using g e t2 o k response has a 2xx status code

func (*GetMeteringPolicyAssignmentUsingGET2OK) String added in v0.5.0

type GetMeteringPolicyAssignmentUsingGET2Params added in v0.4.0

type GetMeteringPolicyAssignmentUsingGET2Params 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
}

GetMeteringPolicyAssignmentUsingGET2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewGetMeteringPolicyAssignmentUsingGET2Params added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2Params() *GetMeteringPolicyAssignmentUsingGET2Params

NewGetMeteringPolicyAssignmentUsingGET2Params creates a new GetMeteringPolicyAssignmentUsingGET2Params 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 NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGET2Params

NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext creates a new GetMeteringPolicyAssignmentUsingGET2Params object with the ability to set a context for a request.

func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGET2Params

NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient creates a new GetMeteringPolicyAssignmentUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGET2Params

NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout creates a new GetMeteringPolicyAssignmentUsingGET2Params object with the ability to set a timeout on a request.

func (*GetMeteringPolicyAssignmentUsingGET2Params) SetAPIVersion added in v0.4.0

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

SetAPIVersion adds the apiVersion to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) SetContext added in v0.4.0

SetContext adds the context to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) SetDefaults added in v0.4.0

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

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

func (*GetMeteringPolicyAssignmentUsingGET2Params) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) SetID added in v0.4.0

SetID adds the id to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) SetTimeout added in v0.4.0

SetTimeout adds the timeout to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) WithDefaults added in v0.4.0

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

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

func (*GetMeteringPolicyAssignmentUsingGET2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) WithID added in v0.4.0

WithID adds the id to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get metering policy assignment using g e t 2 params

func (*GetMeteringPolicyAssignmentUsingGET2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetMeteringPolicyAssignmentUsingGET2Reader added in v0.4.0

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

GetMeteringPolicyAssignmentUsingGET2Reader is a Reader for the GetMeteringPolicyAssignmentUsingGET2 structure.

func (*GetMeteringPolicyAssignmentUsingGET2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetMeteringPolicyAssignmentUsingGET2Unauthorized added in v0.4.0

type GetMeteringPolicyAssignmentUsingGET2Unauthorized struct {
}

GetMeteringPolicyAssignmentUsingGET2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetMeteringPolicyAssignmentUsingGET2Unauthorized added in v0.4.0

func NewGetMeteringPolicyAssignmentUsingGET2Unauthorized() *GetMeteringPolicyAssignmentUsingGET2Unauthorized

NewGetMeteringPolicyAssignmentUsingGET2Unauthorized creates a GetMeteringPolicyAssignmentUsingGET2Unauthorized with default headers values

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) Error added in v0.4.0

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this get metering policy assignment using g e t2 unauthorized response has a 4xx status code

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get metering policy assignment using g e t2 unauthorized response a status code equal to that given

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get metering policy assignment using g e t2 unauthorized response has a 3xx status code

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this get metering policy assignment using g e t2 unauthorized response has a 5xx status code

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get metering policy assignment using g e t2 unauthorized response has a 2xx status code

func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) String added in v0.5.0

type PatchMeteringPolicyAssignmentUsingPATCH2OK added in v0.4.0

type PatchMeteringPolicyAssignmentUsingPATCH2OK struct {
	Payload *models.MeteringPolicyAssignment
}

PatchMeteringPolicyAssignmentUsingPATCH2OK describes a response with status code 200, with default header values.

OK

func NewPatchMeteringPolicyAssignmentUsingPATCH2OK added in v0.4.0

func NewPatchMeteringPolicyAssignmentUsingPATCH2OK() *PatchMeteringPolicyAssignmentUsingPATCH2OK

NewPatchMeteringPolicyAssignmentUsingPATCH2OK creates a PatchMeteringPolicyAssignmentUsingPATCH2OK with default headers values

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) Error added in v0.4.0

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) GetPayload added in v0.4.0

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsClientError added in v0.5.0

IsClientError returns true when this patch metering policy assignment using p a t c h2 o k response has a 4xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsCode added in v0.5.0

IsCode returns true when this patch metering policy assignment using p a t c h2 o k response a status code equal to that given

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsRedirect added in v0.5.0

IsRedirect returns true when this patch metering policy assignment using p a t c h2 o k response has a 3xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsServerError added in v0.5.0

IsServerError returns true when this patch metering policy assignment using p a t c h2 o k response has a 5xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsSuccess added in v0.5.0

IsSuccess returns true when this patch metering policy assignment using p a t c h2 o k response has a 2xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) String added in v0.5.0

type PatchMeteringPolicyAssignmentUsingPATCH2Params added in v0.4.0

type PatchMeteringPolicyAssignmentUsingPATCH2Params 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
}

PatchMeteringPolicyAssignmentUsingPATCH2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewPatchMeteringPolicyAssignmentUsingPATCH2Params added in v0.4.0

func NewPatchMeteringPolicyAssignmentUsingPATCH2Params() *PatchMeteringPolicyAssignmentUsingPATCH2Params

NewPatchMeteringPolicyAssignmentUsingPATCH2Params creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params 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 NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext added in v0.4.0

func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCH2Params

NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object with the ability to set a context for a request.

func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient added in v0.4.0

func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCH2Params

NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object with the ability to set a custom HTTPClient for a request.

func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout added in v0.4.0

func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCH2Params

NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object with the ability to set a timeout on a request.

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetAPIVersion added in v0.4.0

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

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetContext added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetDefaults added in v0.4.0

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

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetHTTPClient added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetID added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetMeteringPolicyAssignment added in v0.4.0

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

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetTimeout added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithAPIVersion added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithContext added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithDefaults added in v0.4.0

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

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithHTTPClient added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithID added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithMeteringPolicyAssignment added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithTimeout added in v0.4.0

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

func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type PatchMeteringPolicyAssignmentUsingPATCH2Reader added in v0.4.0

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

PatchMeteringPolicyAssignmentUsingPATCH2Reader is a Reader for the PatchMeteringPolicyAssignmentUsingPATCH2 structure.

func (*PatchMeteringPolicyAssignmentUsingPATCH2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized added in v0.4.0

type PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized struct {
}

PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchMeteringPolicyAssignmentUsingPATCH2Unauthorized added in v0.4.0

func NewPatchMeteringPolicyAssignmentUsingPATCH2Unauthorized() *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized

NewPatchMeteringPolicyAssignmentUsingPATCH2Unauthorized creates a PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized with default headers values

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) Error added in v0.4.0

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 4xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this patch metering policy assignment using p a t c h2 unauthorized response a status code equal to that given

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 3xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 5xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 2xx status code

func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) String added in v0.5.0

Jump to

Keyboard shortcuts

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