Documentation ¶
Index ¶
- type ChangeMeteringAssignmentStrategyUsingPATCHOK
- type ChangeMeteringAssignmentStrategyUsingPATCHParams
- func NewChangeMeteringAssignmentStrategyUsingPATCHParams() *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetAPIVersion(aPIVersion *string)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetContext(ctx context.Context)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetDefaults()
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithAPIVersion(aPIVersion *string) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithDefaults() *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCHParams
- func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeMeteringAssignmentStrategyUsingPATCHReader
- type ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized
- type Client
- func (a *Client) ChangeMeteringAssignmentStrategyUsingPATCH(params *ChangeMeteringAssignmentStrategyUsingPATCHParams, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCHOK, error)
- func (a *Client) CreateMeteringAssignmentStrategyUsingPOST(params *CreateMeteringAssignmentStrategyUsingPOSTParams, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOSTOK, ...)
- func (a *Client) CreateMeteringPolicyAssignmentUsingPOST(params *CreateMeteringPolicyAssignmentUsingPOSTParams, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOSTOK, ...)
- func (a *Client) DeleteMeteringPolicyAssignmentUsingDELETE(params *DeleteMeteringPolicyAssignmentUsingDELETEParams, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETEOK, error)
- func (a *Client) GetAllMeteringPolicyAssignmentsUsingGET(params *GetAllMeteringPolicyAssignmentsUsingGETParams, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGETOK, error)
- func (a *Client) GetMeteringAssignmentStrategyUsingGET(params *GetMeteringAssignmentStrategyUsingGETParams, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGETOK, error)
- func (a *Client) GetMeteringPolicyAssignmentUsingGET(params *GetMeteringPolicyAssignmentUsingGETParams, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGETOK, error)
- func (a *Client) PatchMeteringPolicyAssignmentUsingPATCH(params *PatchMeteringPolicyAssignmentUsingPATCHParams, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCHOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateMeteringAssignmentStrategyUsingPOSTCreated
- type CreateMeteringAssignmentStrategyUsingPOSTForbidden
- type CreateMeteringAssignmentStrategyUsingPOSTOK
- type CreateMeteringAssignmentStrategyUsingPOSTParams
- func NewCreateMeteringAssignmentStrategyUsingPOSTParams() *CreateMeteringAssignmentStrategyUsingPOSTParams
- func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetContext(ctx context.Context)
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetDefaults()
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithAPIVersion(aPIVersion *string) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithDefaults() *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOSTParams
- func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMeteringAssignmentStrategyUsingPOSTReader
- type CreateMeteringAssignmentStrategyUsingPOSTUnauthorized
- type CreateMeteringPolicyAssignmentUsingPOSTCreated
- type CreateMeteringPolicyAssignmentUsingPOSTForbidden
- type CreateMeteringPolicyAssignmentUsingPOSTOK
- type CreateMeteringPolicyAssignmentUsingPOSTParams
- func NewCreateMeteringPolicyAssignmentUsingPOSTParams() *CreateMeteringPolicyAssignmentUsingPOSTParams
- func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetContext(ctx context.Context)
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetDefaults()
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithAPIVersion(aPIVersion *string) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithDefaults() *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOSTParams
- func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMeteringPolicyAssignmentUsingPOSTReader
- type CreateMeteringPolicyAssignmentUsingPOSTUnauthorized
- type DeleteMeteringPolicyAssignmentUsingDELETENotFound
- type DeleteMeteringPolicyAssignmentUsingDELETEOK
- type DeleteMeteringPolicyAssignmentUsingDELETEParams
- func NewDeleteMeteringPolicyAssignmentUsingDELETEParams() *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetDefaults()
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetID(id strfmt.UUID)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithAPIVersion(aPIVersion *string) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithDefaults() *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithID(id strfmt.UUID) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETEParams
- func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMeteringPolicyAssignmentUsingDELETEReader
- type DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized
- type GetAllMeteringPolicyAssignmentsUsingGETOK
- type GetAllMeteringPolicyAssignmentsUsingGETParams
- func NewGetAllMeteringPolicyAssignmentsUsingGETParams() *GetAllMeteringPolicyAssignmentsUsingGETParams
- func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetContext(ctx context.Context)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDefaults()
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarOrderby(dollarOrderby []string)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarSkip(dollarSkip *int32)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarTop(dollarTop *int32)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetRefreshEntities(refreshEntities *bool)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithAPIVersion(aPIVersion *string) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDefaults() *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarTop(dollarTop *int32) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithRefreshEntities(refreshEntities *bool) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGETParams
- func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllMeteringPolicyAssignmentsUsingGETReader
- type GetAllMeteringPolicyAssignmentsUsingGETUnauthorized
- type GetMeteringAssignmentStrategyUsingGETNotFound
- type GetMeteringAssignmentStrategyUsingGETOK
- type GetMeteringAssignmentStrategyUsingGETParams
- func NewGetMeteringAssignmentStrategyUsingGETParams() *GetMeteringAssignmentStrategyUsingGETParams
- func NewGetMeteringAssignmentStrategyUsingGETParamsWithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGETParams
- func NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGETParams
- func NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGETParams
- func (o *GetMeteringAssignmentStrategyUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMeteringAssignmentStrategyUsingGETParams) SetContext(ctx context.Context)
- func (o *GetMeteringAssignmentStrategyUsingGETParams) SetDefaults()
- func (o *GetMeteringAssignmentStrategyUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetMeteringAssignmentStrategyUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetMeteringAssignmentStrategyUsingGETParams) WithAPIVersion(aPIVersion *string) *GetMeteringAssignmentStrategyUsingGETParams
- func (o *GetMeteringAssignmentStrategyUsingGETParams) WithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGETParams
- func (o *GetMeteringAssignmentStrategyUsingGETParams) WithDefaults() *GetMeteringAssignmentStrategyUsingGETParams
- func (o *GetMeteringAssignmentStrategyUsingGETParams) WithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGETParams
- func (o *GetMeteringAssignmentStrategyUsingGETParams) WithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGETParams
- func (o *GetMeteringAssignmentStrategyUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMeteringAssignmentStrategyUsingGETReader
- type GetMeteringAssignmentStrategyUsingGETUnauthorized
- type GetMeteringPolicyAssignmentUsingGETNotFound
- type GetMeteringPolicyAssignmentUsingGETOK
- type GetMeteringPolicyAssignmentUsingGETParams
- func NewGetMeteringPolicyAssignmentUsingGETParams() *GetMeteringPolicyAssignmentUsingGETParams
- func NewGetMeteringPolicyAssignmentUsingGETParamsWithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGETParams
- func NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGETParams
- func NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetMeteringPolicyAssignmentUsingGETParams) SetContext(ctx context.Context)
- func (o *GetMeteringPolicyAssignmentUsingGETParams) SetDefaults()
- func (o *GetMeteringPolicyAssignmentUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetMeteringPolicyAssignmentUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetMeteringPolicyAssignmentUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WithAPIVersion(aPIVersion *string) *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WithDefaults() *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WithID(id strfmt.UUID) *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGETParams
- func (o *GetMeteringPolicyAssignmentUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMeteringPolicyAssignmentUsingGETReader
- type GetMeteringPolicyAssignmentUsingGETUnauthorized
- type PatchMeteringPolicyAssignmentUsingPATCHOK
- type PatchMeteringPolicyAssignmentUsingPATCHParams
- func NewPatchMeteringPolicyAssignmentUsingPATCHParams() *PatchMeteringPolicyAssignmentUsingPATCHParams
- func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetAPIVersion(aPIVersion *string)
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetContext(ctx context.Context)
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetDefaults()
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetID(id strfmt.UUID)
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithAPIVersion(aPIVersion *string) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithDefaults() *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithID(id strfmt.UUID) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCHParams
- func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMeteringPolicyAssignmentUsingPATCHReader
- type PatchMeteringPolicyAssignmentUsingPATCHUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeMeteringAssignmentStrategyUsingPATCHOK ¶
type ChangeMeteringAssignmentStrategyUsingPATCHOK struct {
Payload *models.MeteringAssignmentStrategy
}
ChangeMeteringAssignmentStrategyUsingPATCHOK describes a response with status code 200, with default header values.
OK
func NewChangeMeteringAssignmentStrategyUsingPATCHOK ¶
func NewChangeMeteringAssignmentStrategyUsingPATCHOK() *ChangeMeteringAssignmentStrategyUsingPATCHOK
NewChangeMeteringAssignmentStrategyUsingPATCHOK creates a ChangeMeteringAssignmentStrategyUsingPATCHOK with default headers values
func (*ChangeMeteringAssignmentStrategyUsingPATCHOK) Error ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHOK) Error() string
func (*ChangeMeteringAssignmentStrategyUsingPATCHOK) GetPayload ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHOK) GetPayload() *models.MeteringAssignmentStrategy
type ChangeMeteringAssignmentStrategyUsingPATCHParams ¶
type ChangeMeteringAssignmentStrategyUsingPATCHParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* MeteringAssignmentStrategy. Pricing card assignment strategy with 'EntityType' to override the strategy for the org */ MeteringAssignmentStrategy *models.MeteringAssignmentStrategy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeMeteringAssignmentStrategyUsingPATCHParams contains all the parameters to send to the API endpoint
for the change metering assignment strategy using p a t c h operation. Typically these are written to a http.Request.
func NewChangeMeteringAssignmentStrategyUsingPATCHParams ¶
func NewChangeMeteringAssignmentStrategyUsingPATCHParams() *ChangeMeteringAssignmentStrategyUsingPATCHParams
NewChangeMeteringAssignmentStrategyUsingPATCHParams creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext ¶
func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCHParams
NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithContext creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object with the ability to set a context for a request.
func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient ¶
func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCHParams
NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithHTTPClient creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object with the ability to set a custom HTTPClient for a request.
func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout ¶
func NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCHParams
NewChangeMeteringAssignmentStrategyUsingPATCHParamsWithTimeout creates a new ChangeMeteringAssignmentStrategyUsingPATCHParams object with the ability to set a timeout on a request.
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetAPIVersion ¶ added in v0.2.9
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetContext ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetDefaults ¶ added in v0.2.20
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetDefaults()
SetDefaults hydrates default values in the change metering assignment strategy using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetHTTPClient ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetMeteringAssignmentStrategy ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
SetMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) SetTimeout ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithAPIVersion ¶ added in v0.2.9
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithAPIVersion(aPIVersion *string) *ChangeMeteringAssignmentStrategyUsingPATCHParams
WithAPIVersion adds the aPIVersion to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithContext ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCHParams
WithContext adds the context to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithDefaults ¶ added in v0.2.20
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithDefaults() *ChangeMeteringAssignmentStrategyUsingPATCHParams
WithDefaults hydrates default values in the change metering assignment strategy using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithHTTPClient ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCHParams
WithHTTPClient adds the HTTPClient to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithMeteringAssignmentStrategy ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *ChangeMeteringAssignmentStrategyUsingPATCHParams
WithMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WithTimeout ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCHParams
WithTimeout adds the timeout to the change metering assignment strategy using p a t c h params
func (*ChangeMeteringAssignmentStrategyUsingPATCHParams) WriteToRequest ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeMeteringAssignmentStrategyUsingPATCHReader ¶
type ChangeMeteringAssignmentStrategyUsingPATCHReader struct {
// contains filtered or unexported fields
}
ChangeMeteringAssignmentStrategyUsingPATCHReader is a Reader for the ChangeMeteringAssignmentStrategyUsingPATCH structure.
func (*ChangeMeteringAssignmentStrategyUsingPATCHReader) ReadResponse ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized ¶
type ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized struct { }
ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewChangeMeteringAssignmentStrategyUsingPATCHUnauthorized ¶
func NewChangeMeteringAssignmentStrategyUsingPATCHUnauthorized() *ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized
NewChangeMeteringAssignmentStrategyUsingPATCHUnauthorized creates a ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized with default headers values
func (*ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized) Error ¶
func (o *ChangeMeteringAssignmentStrategyUsingPATCHUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pricing card assignments API
func (*Client) ChangeMeteringAssignmentStrategyUsingPATCH ¶
func (a *Client) ChangeMeteringAssignmentStrategyUsingPATCH(params *ChangeMeteringAssignmentStrategyUsingPATCHParams, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCHOK, error)
ChangeMeteringAssignmentStrategyUsingPATCH updates the pricing card assignment strategy for the org
func (*Client) CreateMeteringAssignmentStrategyUsingPOST ¶
func (a *Client) CreateMeteringAssignmentStrategyUsingPOST(params *CreateMeteringAssignmentStrategyUsingPOSTParams, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOSTOK, *CreateMeteringAssignmentStrategyUsingPOSTCreated, error)
CreateMeteringAssignmentStrategyUsingPOST selectings the new pricing card assignment strategy p r o j e c t or c l o u d z o n e are possible values can be used while creating strategy also there can be only one strategy for a given org at a given point of time
Create a new pricing card assignment strategy based on request body and validate its field according to business rules.
func (*Client) CreateMeteringPolicyAssignmentUsingPOST ¶
func (a *Client) CreateMeteringPolicyAssignmentUsingPOST(params *CreateMeteringPolicyAssignmentUsingPOSTParams, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOSTOK, *CreateMeteringPolicyAssignmentUsingPOSTCreated, error)
CreateMeteringPolicyAssignmentUsingPOST creates a new pricing card assignment
Create a new pricing card policy assignment based on request body and validate its field according to business rules. Request body with ALL entityType will delete the older assignments for the given pricingCardId
func (*Client) DeleteMeteringPolicyAssignmentUsingDELETE ¶
func (a *Client) DeleteMeteringPolicyAssignmentUsingDELETE(params *DeleteMeteringPolicyAssignmentUsingDELETEParams, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETEOK, error)
DeleteMeteringPolicyAssignmentUsingDELETE deletes the pricing card assignment with specified id
Deletes the pricing card assignment with the specified id
func (*Client) GetAllMeteringPolicyAssignmentsUsingGET ¶
func (a *Client) GetAllMeteringPolicyAssignmentsUsingGET(params *GetAllMeteringPolicyAssignmentsUsingGETParams, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGETOK, error)
GetAllMeteringPolicyAssignmentsUsingGET fetches all pricing card assignment for private cloud
Returns a paginated list of pricing card assignments
func (*Client) GetMeteringAssignmentStrategyUsingGET ¶
func (a *Client) GetMeteringAssignmentStrategyUsingGET(params *GetMeteringAssignmentStrategyUsingGETParams, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGETOK, error)
GetMeteringAssignmentStrategyUsingGET fetches pricing card assignment strategy for the org
Returns a pricing card assignment strategy for the Org
func (*Client) GetMeteringPolicyAssignmentUsingGET ¶
func (a *Client) GetMeteringPolicyAssignmentUsingGET(params *GetMeteringPolicyAssignmentUsingGETParams, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGETOK, error)
GetMeteringPolicyAssignmentUsingGET fetches pricing card assignment for private cloud by id
Returns a pricing card assignments by id
func (*Client) PatchMeteringPolicyAssignmentUsingPATCH ¶
func (a *Client) PatchMeteringPolicyAssignmentUsingPATCH(params *PatchMeteringPolicyAssignmentUsingPATCHParams, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCHOK, error)
PatchMeteringPolicyAssignmentUsingPATCH updates the pricing card assignment id with the supplied id request body with a l l entity type will delete the older assignments for the given pricing card Id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { ChangeMeteringAssignmentStrategyUsingPATCH(params *ChangeMeteringAssignmentStrategyUsingPATCHParams, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCHOK, error) CreateMeteringAssignmentStrategyUsingPOST(params *CreateMeteringAssignmentStrategyUsingPOSTParams, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOSTOK, *CreateMeteringAssignmentStrategyUsingPOSTCreated, error) CreateMeteringPolicyAssignmentUsingPOST(params *CreateMeteringPolicyAssignmentUsingPOSTParams, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOSTOK, *CreateMeteringPolicyAssignmentUsingPOSTCreated, error) DeleteMeteringPolicyAssignmentUsingDELETE(params *DeleteMeteringPolicyAssignmentUsingDELETEParams, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETEOK, error) GetAllMeteringPolicyAssignmentsUsingGET(params *GetAllMeteringPolicyAssignmentsUsingGETParams, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGETOK, error) GetMeteringAssignmentStrategyUsingGET(params *GetMeteringAssignmentStrategyUsingGETParams, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGETOK, error) GetMeteringPolicyAssignmentUsingGET(params *GetMeteringPolicyAssignmentUsingGETParams, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGETOK, error) PatchMeteringPolicyAssignmentUsingPATCH(params *PatchMeteringPolicyAssignmentUsingPATCHParams, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCHOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new pricing card assignments API client.
type CreateMeteringAssignmentStrategyUsingPOSTCreated ¶
type CreateMeteringAssignmentStrategyUsingPOSTCreated struct {
Payload *models.MeteringAssignmentStrategy
}
CreateMeteringAssignmentStrategyUsingPOSTCreated describes a response with status code 201, with default header values.
Created
func NewCreateMeteringAssignmentStrategyUsingPOSTCreated ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTCreated() *CreateMeteringAssignmentStrategyUsingPOSTCreated
NewCreateMeteringAssignmentStrategyUsingPOSTCreated creates a CreateMeteringAssignmentStrategyUsingPOSTCreated with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOSTCreated) Error ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTCreated) Error() string
func (*CreateMeteringAssignmentStrategyUsingPOSTCreated) GetPayload ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTCreated) GetPayload() *models.MeteringAssignmentStrategy
type CreateMeteringAssignmentStrategyUsingPOSTForbidden ¶
type CreateMeteringAssignmentStrategyUsingPOSTForbidden struct { }
CreateMeteringAssignmentStrategyUsingPOSTForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateMeteringAssignmentStrategyUsingPOSTForbidden ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTForbidden() *CreateMeteringAssignmentStrategyUsingPOSTForbidden
NewCreateMeteringAssignmentStrategyUsingPOSTForbidden creates a CreateMeteringAssignmentStrategyUsingPOSTForbidden with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOSTForbidden) Error ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTForbidden) Error() string
type CreateMeteringAssignmentStrategyUsingPOSTOK ¶
type CreateMeteringAssignmentStrategyUsingPOSTOK struct {
Payload *models.MeteringAssignmentStrategy
}
CreateMeteringAssignmentStrategyUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewCreateMeteringAssignmentStrategyUsingPOSTOK ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTOK() *CreateMeteringAssignmentStrategyUsingPOSTOK
NewCreateMeteringAssignmentStrategyUsingPOSTOK creates a CreateMeteringAssignmentStrategyUsingPOSTOK with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOSTOK) Error ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTOK) Error() string
func (*CreateMeteringAssignmentStrategyUsingPOSTOK) GetPayload ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTOK) GetPayload() *models.MeteringAssignmentStrategy
type CreateMeteringAssignmentStrategyUsingPOSTParams ¶
type CreateMeteringAssignmentStrategyUsingPOSTParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* MeteringAssignmentStrategy. The pricing card assignment strategy to be created */ MeteringAssignmentStrategy *models.MeteringAssignmentStrategy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMeteringAssignmentStrategyUsingPOSTParams contains all the parameters to send to the API endpoint
for the create metering assignment strategy using p o s t operation. Typically these are written to a http.Request.
func NewCreateMeteringAssignmentStrategyUsingPOSTParams ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTParams() *CreateMeteringAssignmentStrategyUsingPOSTParams
NewCreateMeteringAssignmentStrategyUsingPOSTParams creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOSTParams
NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithContext creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object with the ability to set a context for a request.
func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOSTParams
NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithHTTPClient creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOSTParams
NewCreateMeteringAssignmentStrategyUsingPOSTParamsWithTimeout creates a new CreateMeteringAssignmentStrategyUsingPOSTParams object with the ability to set a timeout on a request.
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetAPIVersion ¶ added in v0.2.9
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetContext ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetDefaults ¶ added in v0.2.20
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the create metering assignment strategy using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetHTTPClient ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetMeteringAssignmentStrategy ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
SetMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) SetTimeout ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithAPIVersion ¶ added in v0.2.9
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithAPIVersion(aPIVersion *string) *CreateMeteringAssignmentStrategyUsingPOSTParams
WithAPIVersion adds the aPIVersion to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithContext ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOSTParams
WithContext adds the context to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithDefaults ¶ added in v0.2.20
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithDefaults() *CreateMeteringAssignmentStrategyUsingPOSTParams
WithDefaults hydrates default values in the create metering assignment strategy using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithHTTPClient ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOSTParams
WithHTTPClient adds the HTTPClient to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithMeteringAssignmentStrategy ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *CreateMeteringAssignmentStrategyUsingPOSTParams
WithMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WithTimeout ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOSTParams
WithTimeout adds the timeout to the create metering assignment strategy using p o s t params
func (*CreateMeteringAssignmentStrategyUsingPOSTParams) WriteToRequest ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMeteringAssignmentStrategyUsingPOSTReader ¶
type CreateMeteringAssignmentStrategyUsingPOSTReader struct {
// contains filtered or unexported fields
}
CreateMeteringAssignmentStrategyUsingPOSTReader is a Reader for the CreateMeteringAssignmentStrategyUsingPOST structure.
func (*CreateMeteringAssignmentStrategyUsingPOSTReader) ReadResponse ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMeteringAssignmentStrategyUsingPOSTUnauthorized ¶
type CreateMeteringAssignmentStrategyUsingPOSTUnauthorized struct { }
CreateMeteringAssignmentStrategyUsingPOSTUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateMeteringAssignmentStrategyUsingPOSTUnauthorized ¶
func NewCreateMeteringAssignmentStrategyUsingPOSTUnauthorized() *CreateMeteringAssignmentStrategyUsingPOSTUnauthorized
NewCreateMeteringAssignmentStrategyUsingPOSTUnauthorized creates a CreateMeteringAssignmentStrategyUsingPOSTUnauthorized with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOSTUnauthorized) Error ¶
func (o *CreateMeteringAssignmentStrategyUsingPOSTUnauthorized) Error() string
type CreateMeteringPolicyAssignmentUsingPOSTCreated ¶
type CreateMeteringPolicyAssignmentUsingPOSTCreated struct {
Payload *models.MeteringPolicyAssignment
}
CreateMeteringPolicyAssignmentUsingPOSTCreated describes a response with status code 201, with default header values.
Created
func NewCreateMeteringPolicyAssignmentUsingPOSTCreated ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTCreated() *CreateMeteringPolicyAssignmentUsingPOSTCreated
NewCreateMeteringPolicyAssignmentUsingPOSTCreated creates a CreateMeteringPolicyAssignmentUsingPOSTCreated with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOSTCreated) Error ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTCreated) Error() string
func (*CreateMeteringPolicyAssignmentUsingPOSTCreated) GetPayload ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTCreated) GetPayload() *models.MeteringPolicyAssignment
type CreateMeteringPolicyAssignmentUsingPOSTForbidden ¶
type CreateMeteringPolicyAssignmentUsingPOSTForbidden struct { }
CreateMeteringPolicyAssignmentUsingPOSTForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateMeteringPolicyAssignmentUsingPOSTForbidden ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTForbidden() *CreateMeteringPolicyAssignmentUsingPOSTForbidden
NewCreateMeteringPolicyAssignmentUsingPOSTForbidden creates a CreateMeteringPolicyAssignmentUsingPOSTForbidden with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOSTForbidden) Error ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTForbidden) Error() string
type CreateMeteringPolicyAssignmentUsingPOSTOK ¶
type CreateMeteringPolicyAssignmentUsingPOSTOK struct {
Payload *models.MeteringPolicyAssignment
}
CreateMeteringPolicyAssignmentUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewCreateMeteringPolicyAssignmentUsingPOSTOK ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTOK() *CreateMeteringPolicyAssignmentUsingPOSTOK
NewCreateMeteringPolicyAssignmentUsingPOSTOK creates a CreateMeteringPolicyAssignmentUsingPOSTOK with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOSTOK) Error ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTOK) Error() string
func (*CreateMeteringPolicyAssignmentUsingPOSTOK) GetPayload ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTOK) GetPayload() *models.MeteringPolicyAssignment
type CreateMeteringPolicyAssignmentUsingPOSTParams ¶
type CreateMeteringPolicyAssignmentUsingPOSTParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* MeteringPolicyAssignment. The pricing card assignment to be created */ MeteringPolicyAssignment *models.MeteringPolicyAssignment Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMeteringPolicyAssignmentUsingPOSTParams contains all the parameters to send to the API endpoint
for the create metering policy assignment using p o s t operation. Typically these are written to a http.Request.
func NewCreateMeteringPolicyAssignmentUsingPOSTParams ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTParams() *CreateMeteringPolicyAssignmentUsingPOSTParams
NewCreateMeteringPolicyAssignmentUsingPOSTParams creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOSTParams
NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithContext creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object with the ability to set a context for a request.
func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOSTParams
NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithHTTPClient creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOSTParams
NewCreateMeteringPolicyAssignmentUsingPOSTParamsWithTimeout creates a new CreateMeteringPolicyAssignmentUsingPOSTParams object with the ability to set a timeout on a request.
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetAPIVersion ¶ added in v0.2.9
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetContext ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetDefaults ¶ added in v0.2.20
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the create metering policy assignment using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetHTTPClient ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetMeteringPolicyAssignment ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
SetMeteringPolicyAssignment adds the meteringPolicyAssignment to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) SetTimeout ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithAPIVersion ¶ added in v0.2.9
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithAPIVersion(aPIVersion *string) *CreateMeteringPolicyAssignmentUsingPOSTParams
WithAPIVersion adds the aPIVersion to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithContext ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOSTParams
WithContext adds the context to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithDefaults ¶ added in v0.2.20
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithDefaults() *CreateMeteringPolicyAssignmentUsingPOSTParams
WithDefaults hydrates default values in the create metering policy assignment using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithHTTPClient ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOSTParams
WithHTTPClient adds the HTTPClient to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithMeteringPolicyAssignment ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *CreateMeteringPolicyAssignmentUsingPOSTParams
WithMeteringPolicyAssignment adds the meteringPolicyAssignment to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WithTimeout ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOSTParams
WithTimeout adds the timeout to the create metering policy assignment using p o s t params
func (*CreateMeteringPolicyAssignmentUsingPOSTParams) WriteToRequest ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMeteringPolicyAssignmentUsingPOSTReader ¶
type CreateMeteringPolicyAssignmentUsingPOSTReader struct {
// contains filtered or unexported fields
}
CreateMeteringPolicyAssignmentUsingPOSTReader is a Reader for the CreateMeteringPolicyAssignmentUsingPOST structure.
func (*CreateMeteringPolicyAssignmentUsingPOSTReader) ReadResponse ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMeteringPolicyAssignmentUsingPOSTUnauthorized ¶
type CreateMeteringPolicyAssignmentUsingPOSTUnauthorized struct { }
CreateMeteringPolicyAssignmentUsingPOSTUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateMeteringPolicyAssignmentUsingPOSTUnauthorized ¶
func NewCreateMeteringPolicyAssignmentUsingPOSTUnauthorized() *CreateMeteringPolicyAssignmentUsingPOSTUnauthorized
NewCreateMeteringPolicyAssignmentUsingPOSTUnauthorized creates a CreateMeteringPolicyAssignmentUsingPOSTUnauthorized with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOSTUnauthorized) Error ¶
func (o *CreateMeteringPolicyAssignmentUsingPOSTUnauthorized) Error() string
type DeleteMeteringPolicyAssignmentUsingDELETENotFound ¶
DeleteMeteringPolicyAssignmentUsingDELETENotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteMeteringPolicyAssignmentUsingDELETENotFound ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETENotFound() *DeleteMeteringPolicyAssignmentUsingDELETENotFound
NewDeleteMeteringPolicyAssignmentUsingDELETENotFound creates a DeleteMeteringPolicyAssignmentUsingDELETENotFound with default headers values
func (*DeleteMeteringPolicyAssignmentUsingDELETENotFound) Error ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETENotFound) Error() string
func (*DeleteMeteringPolicyAssignmentUsingDELETENotFound) GetPayload ¶ added in v0.2.9
func (o *DeleteMeteringPolicyAssignmentUsingDELETENotFound) GetPayload() *models.Error
type DeleteMeteringPolicyAssignmentUsingDELETEOK ¶
type DeleteMeteringPolicyAssignmentUsingDELETEOK struct { }
DeleteMeteringPolicyAssignmentUsingDELETEOK describes a response with status code 200, with default header values.
No Content
func NewDeleteMeteringPolicyAssignmentUsingDELETEOK ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETEOK() *DeleteMeteringPolicyAssignmentUsingDELETEOK
NewDeleteMeteringPolicyAssignmentUsingDELETEOK creates a DeleteMeteringPolicyAssignmentUsingDELETEOK with default headers values
func (*DeleteMeteringPolicyAssignmentUsingDELETEOK) Error ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEOK) Error() string
type DeleteMeteringPolicyAssignmentUsingDELETEParams ¶
type DeleteMeteringPolicyAssignmentUsingDELETEParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. pricing card Assignment Id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMeteringPolicyAssignmentUsingDELETEParams contains all the parameters to send to the API endpoint
for the delete metering policy assignment using d e l e t e operation. Typically these are written to a http.Request.
func NewDeleteMeteringPolicyAssignmentUsingDELETEParams ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETEParams() *DeleteMeteringPolicyAssignmentUsingDELETEParams
NewDeleteMeteringPolicyAssignmentUsingDELETEParams creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETEParams
NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithContext creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object with the ability to set a context for a request.
func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETEParams
NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithHTTPClient creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETEParams
NewDeleteMeteringPolicyAssignmentUsingDELETEParamsWithTimeout creates a new DeleteMeteringPolicyAssignmentUsingDELETEParams object with the ability to set a timeout on a request.
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetAPIVersion ¶ added in v0.2.9
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetContext ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the delete metering policy assignment using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetHTTPClient ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetID ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetID(id strfmt.UUID)
SetID adds the id to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) SetTimeout ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithAPIVersion ¶ added in v0.2.9
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithAPIVersion(aPIVersion *string) *DeleteMeteringPolicyAssignmentUsingDELETEParams
WithAPIVersion adds the aPIVersion to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithContext ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETEParams
WithContext adds the context to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithDefaults() *DeleteMeteringPolicyAssignmentUsingDELETEParams
WithDefaults hydrates default values in the delete metering policy assignment using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithHTTPClient ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithID ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithID(id strfmt.UUID) *DeleteMeteringPolicyAssignmentUsingDELETEParams
WithID adds the id to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WithTimeout ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETEParams
WithTimeout adds the timeout to the delete metering policy assignment using d e l e t e params
func (*DeleteMeteringPolicyAssignmentUsingDELETEParams) WriteToRequest ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMeteringPolicyAssignmentUsingDELETEReader ¶
type DeleteMeteringPolicyAssignmentUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteMeteringPolicyAssignmentUsingDELETEReader is a Reader for the DeleteMeteringPolicyAssignmentUsingDELETE structure.
func (*DeleteMeteringPolicyAssignmentUsingDELETEReader) ReadResponse ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized ¶
type DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized struct { }
DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteMeteringPolicyAssignmentUsingDELETEUnauthorized ¶
func NewDeleteMeteringPolicyAssignmentUsingDELETEUnauthorized() *DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized
NewDeleteMeteringPolicyAssignmentUsingDELETEUnauthorized creates a DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized with default headers values
func (*DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized) Error ¶
func (o *DeleteMeteringPolicyAssignmentUsingDELETEUnauthorized) Error() string
type GetAllMeteringPolicyAssignmentsUsingGETOK ¶
type GetAllMeteringPolicyAssignmentsUsingGETOK struct {
Payload *models.PageOfMeteringPolicyAssignment
}
GetAllMeteringPolicyAssignmentsUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetAllMeteringPolicyAssignmentsUsingGETOK ¶
func NewGetAllMeteringPolicyAssignmentsUsingGETOK() *GetAllMeteringPolicyAssignmentsUsingGETOK
NewGetAllMeteringPolicyAssignmentsUsingGETOK creates a GetAllMeteringPolicyAssignmentsUsingGETOK with default headers values
func (*GetAllMeteringPolicyAssignmentsUsingGETOK) Error ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETOK) Error() string
func (*GetAllMeteringPolicyAssignmentsUsingGETOK) GetPayload ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETOK) GetPayload() *models.PageOfMeteringPolicyAssignment
type GetAllMeteringPolicyAssignmentsUsingGETParams ¶
type GetAllMeteringPolicyAssignmentsUsingGETParams struct { /* DollarOrderby. Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /* DollarSkip. Number of records you want to skip Format: int32 */ DollarSkip *int32 /* DollarTop. Number of records you want Format: int32 */ DollarTop *int32 /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* RefreshEntities. Search by name and description Default: true */ RefreshEntities *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllMeteringPolicyAssignmentsUsingGETParams contains all the parameters to send to the API endpoint
for the get all metering policy assignments using g e t operation. Typically these are written to a http.Request.
func NewGetAllMeteringPolicyAssignmentsUsingGETParams ¶
func NewGetAllMeteringPolicyAssignmentsUsingGETParams() *GetAllMeteringPolicyAssignmentsUsingGETParams
NewGetAllMeteringPolicyAssignmentsUsingGETParams creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext ¶
func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGETParams
NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithContext creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object with the ability to set a context for a request.
func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient ¶
func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGETParams
NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithHTTPClient creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout ¶
func NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGETParams
NewGetAllMeteringPolicyAssignmentsUsingGETParamsWithTimeout creates a new GetAllMeteringPolicyAssignmentsUsingGETParams object with the ability to set a timeout on a request.
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetAPIVersion ¶ added in v0.2.9
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetContext ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get all metering policy assignments using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarOrderby ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarSkip ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarTop ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetHTTPClient ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetRefreshEntities ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetRefreshEntities(refreshEntities *bool)
SetRefreshEntities adds the refreshEntities to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) SetTimeout ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithAPIVersion ¶ added in v0.2.9
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithAPIVersion(aPIVersion *string) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithAPIVersion adds the aPIVersion to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithContext ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithContext adds the context to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDefaults ¶ added in v0.2.20
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDefaults() *GetAllMeteringPolicyAssignmentsUsingGETParams
WithDefaults hydrates default values in the get all metering policy assignments using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarOrderby ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithDollarOrderby adds the dollarOrderby to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarSkip ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithDollarSkip adds the dollarSkip to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarTop ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithDollarTop(dollarTop *int32) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithDollarTop adds the dollarTop to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithHTTPClient ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithHTTPClient adds the HTTPClient to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithRefreshEntities ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithRefreshEntities(refreshEntities *bool) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithRefreshEntities adds the refreshEntities to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WithTimeout ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGETParams
WithTimeout adds the timeout to the get all metering policy assignments using get params
func (*GetAllMeteringPolicyAssignmentsUsingGETParams) WriteToRequest ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllMeteringPolicyAssignmentsUsingGETReader ¶
type GetAllMeteringPolicyAssignmentsUsingGETReader struct {
// contains filtered or unexported fields
}
GetAllMeteringPolicyAssignmentsUsingGETReader is a Reader for the GetAllMeteringPolicyAssignmentsUsingGET structure.
func (*GetAllMeteringPolicyAssignmentsUsingGETReader) ReadResponse ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllMeteringPolicyAssignmentsUsingGETUnauthorized ¶
type GetAllMeteringPolicyAssignmentsUsingGETUnauthorized struct { }
GetAllMeteringPolicyAssignmentsUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAllMeteringPolicyAssignmentsUsingGETUnauthorized ¶
func NewGetAllMeteringPolicyAssignmentsUsingGETUnauthorized() *GetAllMeteringPolicyAssignmentsUsingGETUnauthorized
NewGetAllMeteringPolicyAssignmentsUsingGETUnauthorized creates a GetAllMeteringPolicyAssignmentsUsingGETUnauthorized with default headers values
func (*GetAllMeteringPolicyAssignmentsUsingGETUnauthorized) Error ¶
func (o *GetAllMeteringPolicyAssignmentsUsingGETUnauthorized) Error() string
type GetMeteringAssignmentStrategyUsingGETNotFound ¶
GetMeteringAssignmentStrategyUsingGETNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetMeteringAssignmentStrategyUsingGETNotFound ¶
func NewGetMeteringAssignmentStrategyUsingGETNotFound() *GetMeteringAssignmentStrategyUsingGETNotFound
NewGetMeteringAssignmentStrategyUsingGETNotFound creates a GetMeteringAssignmentStrategyUsingGETNotFound with default headers values
func (*GetMeteringAssignmentStrategyUsingGETNotFound) Error ¶
func (o *GetMeteringAssignmentStrategyUsingGETNotFound) Error() string
func (*GetMeteringAssignmentStrategyUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *GetMeteringAssignmentStrategyUsingGETNotFound) GetPayload() *models.Error
type GetMeteringAssignmentStrategyUsingGETOK ¶
type GetMeteringAssignmentStrategyUsingGETOK struct {
Payload *models.MeteringAssignmentStrategy
}
GetMeteringAssignmentStrategyUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetMeteringAssignmentStrategyUsingGETOK ¶
func NewGetMeteringAssignmentStrategyUsingGETOK() *GetMeteringAssignmentStrategyUsingGETOK
NewGetMeteringAssignmentStrategyUsingGETOK creates a GetMeteringAssignmentStrategyUsingGETOK with default headers values
func (*GetMeteringAssignmentStrategyUsingGETOK) Error ¶
func (o *GetMeteringAssignmentStrategyUsingGETOK) Error() string
func (*GetMeteringAssignmentStrategyUsingGETOK) GetPayload ¶
func (o *GetMeteringAssignmentStrategyUsingGETOK) GetPayload() *models.MeteringAssignmentStrategy
type GetMeteringAssignmentStrategyUsingGETParams ¶
type GetMeteringAssignmentStrategyUsingGETParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMeteringAssignmentStrategyUsingGETParams contains all the parameters to send to the API endpoint
for the get metering assignment strategy using g e t operation. Typically these are written to a http.Request.
func NewGetMeteringAssignmentStrategyUsingGETParams ¶
func NewGetMeteringAssignmentStrategyUsingGETParams() *GetMeteringAssignmentStrategyUsingGETParams
NewGetMeteringAssignmentStrategyUsingGETParams creates a new GetMeteringAssignmentStrategyUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMeteringAssignmentStrategyUsingGETParamsWithContext ¶
func NewGetMeteringAssignmentStrategyUsingGETParamsWithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGETParams
NewGetMeteringAssignmentStrategyUsingGETParamsWithContext creates a new GetMeteringAssignmentStrategyUsingGETParams object with the ability to set a context for a request.
func NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient ¶
func NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGETParams
NewGetMeteringAssignmentStrategyUsingGETParamsWithHTTPClient creates a new GetMeteringAssignmentStrategyUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout ¶
func NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGETParams
NewGetMeteringAssignmentStrategyUsingGETParamsWithTimeout creates a new GetMeteringAssignmentStrategyUsingGETParams object with the ability to set a timeout on a request.
func (*GetMeteringAssignmentStrategyUsingGETParams) SetAPIVersion ¶ added in v0.2.9
func (o *GetMeteringAssignmentStrategyUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) SetContext ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *GetMeteringAssignmentStrategyUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get metering assignment strategy using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringAssignmentStrategyUsingGETParams) SetHTTPClient ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) SetTimeout ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) WithAPIVersion ¶ added in v0.2.9
func (o *GetMeteringAssignmentStrategyUsingGETParams) WithAPIVersion(aPIVersion *string) *GetMeteringAssignmentStrategyUsingGETParams
WithAPIVersion adds the aPIVersion to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) WithContext ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) WithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGETParams
WithContext adds the context to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) WithDefaults ¶ added in v0.2.20
func (o *GetMeteringAssignmentStrategyUsingGETParams) WithDefaults() *GetMeteringAssignmentStrategyUsingGETParams
WithDefaults hydrates default values in the get metering assignment strategy using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringAssignmentStrategyUsingGETParams) WithHTTPClient ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) WithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGETParams
WithHTTPClient adds the HTTPClient to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) WithTimeout ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) WithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGETParams
WithTimeout adds the timeout to the get metering assignment strategy using get params
func (*GetMeteringAssignmentStrategyUsingGETParams) WriteToRequest ¶
func (o *GetMeteringAssignmentStrategyUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMeteringAssignmentStrategyUsingGETReader ¶
type GetMeteringAssignmentStrategyUsingGETReader struct {
// contains filtered or unexported fields
}
GetMeteringAssignmentStrategyUsingGETReader is a Reader for the GetMeteringAssignmentStrategyUsingGET structure.
func (*GetMeteringAssignmentStrategyUsingGETReader) ReadResponse ¶
func (o *GetMeteringAssignmentStrategyUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMeteringAssignmentStrategyUsingGETUnauthorized ¶
type GetMeteringAssignmentStrategyUsingGETUnauthorized struct { }
GetMeteringAssignmentStrategyUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetMeteringAssignmentStrategyUsingGETUnauthorized ¶
func NewGetMeteringAssignmentStrategyUsingGETUnauthorized() *GetMeteringAssignmentStrategyUsingGETUnauthorized
NewGetMeteringAssignmentStrategyUsingGETUnauthorized creates a GetMeteringAssignmentStrategyUsingGETUnauthorized with default headers values
func (*GetMeteringAssignmentStrategyUsingGETUnauthorized) Error ¶
func (o *GetMeteringAssignmentStrategyUsingGETUnauthorized) Error() string
type GetMeteringPolicyAssignmentUsingGETNotFound ¶
GetMeteringPolicyAssignmentUsingGETNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetMeteringPolicyAssignmentUsingGETNotFound ¶
func NewGetMeteringPolicyAssignmentUsingGETNotFound() *GetMeteringPolicyAssignmentUsingGETNotFound
NewGetMeteringPolicyAssignmentUsingGETNotFound creates a GetMeteringPolicyAssignmentUsingGETNotFound with default headers values
func (*GetMeteringPolicyAssignmentUsingGETNotFound) Error ¶
func (o *GetMeteringPolicyAssignmentUsingGETNotFound) Error() string
func (*GetMeteringPolicyAssignmentUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *GetMeteringPolicyAssignmentUsingGETNotFound) GetPayload() *models.Error
type GetMeteringPolicyAssignmentUsingGETOK ¶
type GetMeteringPolicyAssignmentUsingGETOK struct {
Payload *models.MeteringPolicyAssignment
}
GetMeteringPolicyAssignmentUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetMeteringPolicyAssignmentUsingGETOK ¶
func NewGetMeteringPolicyAssignmentUsingGETOK() *GetMeteringPolicyAssignmentUsingGETOK
NewGetMeteringPolicyAssignmentUsingGETOK creates a GetMeteringPolicyAssignmentUsingGETOK with default headers values
func (*GetMeteringPolicyAssignmentUsingGETOK) Error ¶
func (o *GetMeteringPolicyAssignmentUsingGETOK) Error() string
func (*GetMeteringPolicyAssignmentUsingGETOK) GetPayload ¶
func (o *GetMeteringPolicyAssignmentUsingGETOK) GetPayload() *models.MeteringPolicyAssignment
type GetMeteringPolicyAssignmentUsingGETParams ¶
type GetMeteringPolicyAssignmentUsingGETParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. pricing card assignment id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMeteringPolicyAssignmentUsingGETParams contains all the parameters to send to the API endpoint
for the get metering policy assignment using g e t operation. Typically these are written to a http.Request.
func NewGetMeteringPolicyAssignmentUsingGETParams ¶
func NewGetMeteringPolicyAssignmentUsingGETParams() *GetMeteringPolicyAssignmentUsingGETParams
NewGetMeteringPolicyAssignmentUsingGETParams creates a new GetMeteringPolicyAssignmentUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMeteringPolicyAssignmentUsingGETParamsWithContext ¶
func NewGetMeteringPolicyAssignmentUsingGETParamsWithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGETParams
NewGetMeteringPolicyAssignmentUsingGETParamsWithContext creates a new GetMeteringPolicyAssignmentUsingGETParams object with the ability to set a context for a request.
func NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient ¶
func NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGETParams
NewGetMeteringPolicyAssignmentUsingGETParamsWithHTTPClient creates a new GetMeteringPolicyAssignmentUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout ¶
func NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGETParams
NewGetMeteringPolicyAssignmentUsingGETParamsWithTimeout creates a new GetMeteringPolicyAssignmentUsingGETParams object with the ability to set a timeout on a request.
func (*GetMeteringPolicyAssignmentUsingGETParams) SetAPIVersion ¶ added in v0.2.9
func (o *GetMeteringPolicyAssignmentUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) SetContext ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *GetMeteringPolicyAssignmentUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get metering policy assignment using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringPolicyAssignmentUsingGETParams) SetHTTPClient ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) SetID ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) SetTimeout ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) WithAPIVersion ¶ added in v0.2.9
func (o *GetMeteringPolicyAssignmentUsingGETParams) WithAPIVersion(aPIVersion *string) *GetMeteringPolicyAssignmentUsingGETParams
WithAPIVersion adds the aPIVersion to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) WithContext ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) WithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGETParams
WithContext adds the context to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) WithDefaults ¶ added in v0.2.20
func (o *GetMeteringPolicyAssignmentUsingGETParams) WithDefaults() *GetMeteringPolicyAssignmentUsingGETParams
WithDefaults hydrates default values in the get metering policy assignment using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringPolicyAssignmentUsingGETParams) WithHTTPClient ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) WithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGETParams
WithHTTPClient adds the HTTPClient to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) WithID ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) WithID(id strfmt.UUID) *GetMeteringPolicyAssignmentUsingGETParams
WithID adds the id to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) WithTimeout ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) WithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGETParams
WithTimeout adds the timeout to the get metering policy assignment using get params
func (*GetMeteringPolicyAssignmentUsingGETParams) WriteToRequest ¶
func (o *GetMeteringPolicyAssignmentUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMeteringPolicyAssignmentUsingGETReader ¶
type GetMeteringPolicyAssignmentUsingGETReader struct {
// contains filtered or unexported fields
}
GetMeteringPolicyAssignmentUsingGETReader is a Reader for the GetMeteringPolicyAssignmentUsingGET structure.
func (*GetMeteringPolicyAssignmentUsingGETReader) ReadResponse ¶
func (o *GetMeteringPolicyAssignmentUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMeteringPolicyAssignmentUsingGETUnauthorized ¶
type GetMeteringPolicyAssignmentUsingGETUnauthorized struct { }
GetMeteringPolicyAssignmentUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetMeteringPolicyAssignmentUsingGETUnauthorized ¶
func NewGetMeteringPolicyAssignmentUsingGETUnauthorized() *GetMeteringPolicyAssignmentUsingGETUnauthorized
NewGetMeteringPolicyAssignmentUsingGETUnauthorized creates a GetMeteringPolicyAssignmentUsingGETUnauthorized with default headers values
func (*GetMeteringPolicyAssignmentUsingGETUnauthorized) Error ¶
func (o *GetMeteringPolicyAssignmentUsingGETUnauthorized) Error() string
type PatchMeteringPolicyAssignmentUsingPATCHOK ¶
type PatchMeteringPolicyAssignmentUsingPATCHOK struct {
Payload *models.MeteringPolicyAssignment
}
PatchMeteringPolicyAssignmentUsingPATCHOK describes a response with status code 200, with default header values.
OK
func NewPatchMeteringPolicyAssignmentUsingPATCHOK ¶
func NewPatchMeteringPolicyAssignmentUsingPATCHOK() *PatchMeteringPolicyAssignmentUsingPATCHOK
NewPatchMeteringPolicyAssignmentUsingPATCHOK creates a PatchMeteringPolicyAssignmentUsingPATCHOK with default headers values
func (*PatchMeteringPolicyAssignmentUsingPATCHOK) Error ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHOK) Error() string
func (*PatchMeteringPolicyAssignmentUsingPATCHOK) GetPayload ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHOK) GetPayload() *models.MeteringPolicyAssignment
type PatchMeteringPolicyAssignmentUsingPATCHParams ¶
type PatchMeteringPolicyAssignmentUsingPATCHParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. pricing card Assignment Id Format: uuid */ ID strfmt.UUID /* MeteringPolicyAssignment. A pricing card assignment with pricing card Id to override existing pricing card Id */ MeteringPolicyAssignment *models.MeteringPolicyAssignment Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchMeteringPolicyAssignmentUsingPATCHParams contains all the parameters to send to the API endpoint
for the patch metering policy assignment using p a t c h operation. Typically these are written to a http.Request.
func NewPatchMeteringPolicyAssignmentUsingPATCHParams ¶
func NewPatchMeteringPolicyAssignmentUsingPATCHParams() *PatchMeteringPolicyAssignmentUsingPATCHParams
NewPatchMeteringPolicyAssignmentUsingPATCHParams creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext ¶
func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCHParams
NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithContext creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object with the ability to set a context for a request.
func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient ¶
func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCHParams
NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithHTTPClient creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object with the ability to set a custom HTTPClient for a request.
func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout ¶
func NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCHParams
NewPatchMeteringPolicyAssignmentUsingPATCHParamsWithTimeout creates a new PatchMeteringPolicyAssignmentUsingPATCHParams object with the ability to set a timeout on a request.
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetAPIVersion ¶ added in v0.2.9
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetContext ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetDefaults ¶ added in v0.2.20
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetDefaults()
SetDefaults hydrates default values in the patch metering policy assignment using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetHTTPClient ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetID ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetID(id strfmt.UUID)
SetID adds the id to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetMeteringPolicyAssignment ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
SetMeteringPolicyAssignment adds the meteringPolicyAssignment to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) SetTimeout ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithAPIVersion ¶ added in v0.2.9
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithAPIVersion(aPIVersion *string) *PatchMeteringPolicyAssignmentUsingPATCHParams
WithAPIVersion adds the aPIVersion to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithContext ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCHParams
WithContext adds the context to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithDefaults ¶ added in v0.2.20
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithDefaults() *PatchMeteringPolicyAssignmentUsingPATCHParams
WithDefaults hydrates default values in the patch metering policy assignment using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithHTTPClient ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCHParams
WithHTTPClient adds the HTTPClient to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithID ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithID(id strfmt.UUID) *PatchMeteringPolicyAssignmentUsingPATCHParams
WithID adds the id to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithMeteringPolicyAssignment ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *PatchMeteringPolicyAssignmentUsingPATCHParams
WithMeteringPolicyAssignment adds the meteringPolicyAssignment to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WithTimeout ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCHParams
WithTimeout adds the timeout to the patch metering policy assignment using p a t c h params
func (*PatchMeteringPolicyAssignmentUsingPATCHParams) WriteToRequest ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchMeteringPolicyAssignmentUsingPATCHReader ¶
type PatchMeteringPolicyAssignmentUsingPATCHReader struct {
// contains filtered or unexported fields
}
PatchMeteringPolicyAssignmentUsingPATCHReader is a Reader for the PatchMeteringPolicyAssignmentUsingPATCH structure.
func (*PatchMeteringPolicyAssignmentUsingPATCHReader) ReadResponse ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMeteringPolicyAssignmentUsingPATCHUnauthorized ¶
type PatchMeteringPolicyAssignmentUsingPATCHUnauthorized struct { }
PatchMeteringPolicyAssignmentUsingPATCHUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPatchMeteringPolicyAssignmentUsingPATCHUnauthorized ¶
func NewPatchMeteringPolicyAssignmentUsingPATCHUnauthorized() *PatchMeteringPolicyAssignmentUsingPATCHUnauthorized
NewPatchMeteringPolicyAssignmentUsingPATCHUnauthorized creates a PatchMeteringPolicyAssignmentUsingPATCHUnauthorized with default headers values
func (*PatchMeteringPolicyAssignmentUsingPATCHUnauthorized) Error ¶
func (o *PatchMeteringPolicyAssignmentUsingPATCHUnauthorized) Error() string
Source Files ¶
- change_metering_assignment_strategy_using_patch_parameters.go
- change_metering_assignment_strategy_using_patch_responses.go
- create_metering_assignment_strategy_using_post_parameters.go
- create_metering_assignment_strategy_using_post_responses.go
- create_metering_policy_assignment_using_post_parameters.go
- create_metering_policy_assignment_using_post_responses.go
- delete_metering_policy_assignment_using_delete_parameters.go
- delete_metering_policy_assignment_using_delete_responses.go
- get_all_metering_policy_assignments_using_get_parameters.go
- get_all_metering_policy_assignments_using_get_responses.go
- get_metering_assignment_strategy_using_get_parameters.go
- get_metering_assignment_strategy_using_get_responses.go
- get_metering_policy_assignment_using_get_parameters.go
- get_metering_policy_assignment_using_get_responses.go
- patch_metering_policy_assignment_using_patch_parameters.go
- patch_metering_policy_assignment_using_patch_responses.go
- pricing_card_assignments_client.go