Documentation ¶
Index ¶
- type ChangeMeteringAssignmentStrategyUsingPATCH2OK
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) Error() string
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) GetPayload() *models.MeteringAssignmentStrategy
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsClientError() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsCode(code int) bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsRedirect() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsServerError() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsSuccess() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) String() string
- type ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func NewChangeMeteringAssignmentStrategyUsingPATCH2Params() *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetAPIVersion(aPIVersion *string)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetContext(ctx context.Context)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetDefaults()
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetHTTPClient(client *http.Client)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetTimeout(timeout time.Duration)
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithAPIVersion(aPIVersion *string) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithDefaults() *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeMeteringAssignmentStrategyUsingPATCH2Reader
- type ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) Error() string
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsClientError() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsCode(code int) bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsRedirect() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsServerError() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsSuccess() bool
- func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) String() string
- type Client
- func (a *Client) ChangeMeteringAssignmentStrategyUsingPATCH2(params *ChangeMeteringAssignmentStrategyUsingPATCH2Params, ...) (*ChangeMeteringAssignmentStrategyUsingPATCH2OK, error)
- func (a *Client) CreateMeteringAssignmentStrategyUsingPOST2(params *CreateMeteringAssignmentStrategyUsingPOST2Params, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOST2OK, ...)
- func (a *Client) CreateMeteringPolicyAssignmentUsingPOST2(params *CreateMeteringPolicyAssignmentUsingPOST2Params, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOST2OK, ...)
- func (a *Client) DeleteMeteringPolicyAssignmentUsingDELETE2(params *DeleteMeteringPolicyAssignmentUsingDELETE2Params, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETE2OK, error)
- func (a *Client) GetAllMeteringPolicyAssignmentsUsingGET2(params *GetAllMeteringPolicyAssignmentsUsingGET2Params, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGET2OK, error)
- func (a *Client) GetMeteringAssignmentStrategyUsingGET2(params *GetMeteringAssignmentStrategyUsingGET2Params, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGET2OK, error)
- func (a *Client) GetMeteringPolicyAssignmentUsingGET2(params *GetMeteringPolicyAssignmentUsingGET2Params, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGET2OK, error)
- func (a *Client) PatchMeteringPolicyAssignmentUsingPATCH2(params *PatchMeteringPolicyAssignmentUsingPATCH2Params, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCH2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateMeteringAssignmentStrategyUsingPOST2Created
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) Error() string
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) GetPayload() *models.MeteringAssignmentStrategy
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsClientError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsCode(code int) bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsRedirect() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsServerError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsSuccess() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) String() string
- type CreateMeteringAssignmentStrategyUsingPOST2Forbidden
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) Error() string
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsClientError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsCode(code int) bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsRedirect() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsServerError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsSuccess() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) String() string
- type CreateMeteringAssignmentStrategyUsingPOST2OK
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) Error() string
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) GetPayload() *models.MeteringAssignmentStrategy
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsClientError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsCode(code int) bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsRedirect() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsServerError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsSuccess() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) String() string
- type CreateMeteringAssignmentStrategyUsingPOST2Params
- func NewCreateMeteringAssignmentStrategyUsingPOST2Params() *CreateMeteringAssignmentStrategyUsingPOST2Params
- func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetAPIVersion(aPIVersion *string)
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetContext(ctx context.Context)
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetDefaults()
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetHTTPClient(client *http.Client)
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetTimeout(timeout time.Duration)
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithAPIVersion(aPIVersion *string) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithDefaults() *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOST2Params
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMeteringAssignmentStrategyUsingPOST2Reader
- type CreateMeteringAssignmentStrategyUsingPOST2Unauthorized
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) Error() string
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsClientError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsCode(code int) bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsRedirect() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsServerError() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsSuccess() bool
- func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) String() string
- type CreateMeteringPolicyAssignmentUsingPOST2Created
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) Error() string
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) GetPayload() *models.MeteringPolicyAssignment
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsClientError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsCode(code int) bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsRedirect() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsServerError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsSuccess() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) String() string
- type CreateMeteringPolicyAssignmentUsingPOST2Forbidden
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) Error() string
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsClientError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsCode(code int) bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsRedirect() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsServerError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsSuccess() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) String() string
- type CreateMeteringPolicyAssignmentUsingPOST2OK
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) Error() string
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) GetPayload() *models.MeteringPolicyAssignment
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsClientError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsCode(code int) bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsRedirect() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsServerError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsSuccess() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) String() string
- type CreateMeteringPolicyAssignmentUsingPOST2Params
- func NewCreateMeteringPolicyAssignmentUsingPOST2Params() *CreateMeteringPolicyAssignmentUsingPOST2Params
- func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetAPIVersion(aPIVersion *string)
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetContext(ctx context.Context)
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetDefaults()
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetHTTPClient(client *http.Client)
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetTimeout(timeout time.Duration)
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithAPIVersion(aPIVersion *string) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithDefaults() *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOST2Params
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMeteringPolicyAssignmentUsingPOST2Reader
- type CreateMeteringPolicyAssignmentUsingPOST2Unauthorized
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) Error() string
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsClientError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsCode(code int) bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsRedirect() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsServerError() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsSuccess() bool
- func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) String() string
- type DeleteMeteringPolicyAssignmentUsingDELETE2NotFound
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) Error() string
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) GetPayload() *models.Error
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsClientError() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsCode(code int) bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsRedirect() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsServerError() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsSuccess() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) String() string
- type DeleteMeteringPolicyAssignmentUsingDELETE2OK
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) Error() string
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsClientError() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsCode(code int) bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsRedirect() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsServerError() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsSuccess() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) String() string
- type DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func NewDeleteMeteringPolicyAssignmentUsingDELETE2Params() *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetAPIVersion(aPIVersion *string)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetContext(ctx context.Context)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetDefaults()
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetID(id strfmt.UUID)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithAPIVersion(aPIVersion *string) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithDefaults() *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithID(id strfmt.UUID) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMeteringPolicyAssignmentUsingDELETE2Reader
- type DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) Error() string
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsClientError() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsCode(code int) bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsRedirect() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsServerError() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsSuccess() bool
- func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) String() string
- type GetAllMeteringPolicyAssignmentsUsingGET2OK
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) Error() string
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) GetPayload() *models.PageOfMeteringPolicyAssignment
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsClientError() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsCode(code int) bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsRedirect() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsServerError() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsSuccess() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) String() string
- type GetAllMeteringPolicyAssignmentsUsingGET2Params
- func NewGetAllMeteringPolicyAssignmentsUsingGET2Params() *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDefaults()
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarOrderby(dollarOrderby []string)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarSkip(dollarSkip *int32)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarTop(dollarTop *int32)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetRefreshEntities(refreshEntities *bool)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDefaults() *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarTop(dollarTop *int32) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithRefreshEntities(refreshEntities *bool) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGET2Params
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllMeteringPolicyAssignmentsUsingGET2Reader
- type GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) Error() string
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsClientError() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsServerError() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) String() string
- type GetMeteringAssignmentStrategyUsingGET2NotFound
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) Error() string
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsClientError() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsCode(code int) bool
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsRedirect() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsServerError() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsSuccess() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) String() string
- type GetMeteringAssignmentStrategyUsingGET2OK
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) Error() string
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) GetPayload() *models.MeteringAssignmentStrategy
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsClientError() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsCode(code int) bool
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsRedirect() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsServerError() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsSuccess() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2OK) String() string
- type GetMeteringAssignmentStrategyUsingGET2Params
- func NewGetMeteringAssignmentStrategyUsingGET2Params() *GetMeteringAssignmentStrategyUsingGET2Params
- func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGET2Params
- func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGET2Params
- func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGET2Params
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetDefaults()
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetMeteringAssignmentStrategyUsingGET2Params
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGET2Params
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithDefaults() *GetMeteringAssignmentStrategyUsingGET2Params
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGET2Params
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGET2Params
- func (o *GetMeteringAssignmentStrategyUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMeteringAssignmentStrategyUsingGET2Reader
- type GetMeteringAssignmentStrategyUsingGET2Unauthorized
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) Error() string
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsClientError() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsServerError() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) String() string
- type GetMeteringPolicyAssignmentUsingGET2NotFound
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) Error() string
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsClientError() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsCode(code int) bool
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsRedirect() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsServerError() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsSuccess() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) String() string
- type GetMeteringPolicyAssignmentUsingGET2OK
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) Error() string
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) GetPayload() *models.MeteringPolicyAssignment
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsClientError() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsCode(code int) bool
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsRedirect() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsServerError() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsSuccess() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2OK) String() string
- type GetMeteringPolicyAssignmentUsingGET2Params
- func NewGetMeteringPolicyAssignmentUsingGET2Params() *GetMeteringPolicyAssignmentUsingGET2Params
- func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGET2Params
- func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGET2Params
- func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetDefaults()
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetID(id strfmt.UUID)
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithDefaults() *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithID(id strfmt.UUID) *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGET2Params
- func (o *GetMeteringPolicyAssignmentUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMeteringPolicyAssignmentUsingGET2Reader
- type GetMeteringPolicyAssignmentUsingGET2Unauthorized
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) Error() string
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsClientError() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsServerError() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) String() string
- type PatchMeteringPolicyAssignmentUsingPATCH2OK
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) Error() string
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) GetPayload() *models.MeteringPolicyAssignment
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsClientError() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsCode(code int) bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsRedirect() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsServerError() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsSuccess() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) String() string
- type PatchMeteringPolicyAssignmentUsingPATCH2Params
- func NewPatchMeteringPolicyAssignmentUsingPATCH2Params() *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetAPIVersion(aPIVersion *string)
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetContext(ctx context.Context)
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetDefaults()
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetHTTPClient(client *http.Client)
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetID(id strfmt.UUID)
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetTimeout(timeout time.Duration)
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithAPIVersion(aPIVersion *string) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithDefaults() *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithID(id strfmt.UUID) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCH2Params
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMeteringPolicyAssignmentUsingPATCH2Reader
- type PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) Error() string
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsClientError() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsCode(code int) bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsRedirect() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsServerError() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsSuccess() bool
- func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeMeteringAssignmentStrategyUsingPATCH2OK ¶ added in v0.4.0
type ChangeMeteringAssignmentStrategyUsingPATCH2OK struct {
Payload *models.MeteringAssignmentStrategy
}
ChangeMeteringAssignmentStrategyUsingPATCH2OK describes a response with status code 200, with default header values.
OK
func NewChangeMeteringAssignmentStrategyUsingPATCH2OK ¶ added in v0.4.0
func NewChangeMeteringAssignmentStrategyUsingPATCH2OK() *ChangeMeteringAssignmentStrategyUsingPATCH2OK
NewChangeMeteringAssignmentStrategyUsingPATCH2OK creates a ChangeMeteringAssignmentStrategyUsingPATCH2OK with default headers values
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) Error ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) Error() string
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) GetPayload ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) GetPayload() *models.MeteringAssignmentStrategy
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsClientError ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsClientError() bool
IsClientError returns true when this change metering assignment strategy using p a t c h2 o k response has a 4xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsCode ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsCode(code int) bool
IsCode returns true when this change metering assignment strategy using p a t c h2 o k response a status code equal to that given
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsRedirect ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsRedirect() bool
IsRedirect returns true when this change metering assignment strategy using p a t c h2 o k response has a 3xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsServerError ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsServerError() bool
IsServerError returns true when this change metering assignment strategy using p a t c h2 o k response has a 5xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsSuccess ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) IsSuccess() bool
IsSuccess returns true when this change metering assignment strategy using p a t c h2 o k response has a 2xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2OK) String ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2OK) String() string
type ChangeMeteringAssignmentStrategyUsingPATCH2Params ¶ added in v0.4.0
type ChangeMeteringAssignmentStrategyUsingPATCH2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* MeteringAssignmentStrategy. Pricing card assignment strategy with 'EntityType' to override the strategy for the org */ MeteringAssignmentStrategy *models.MeteringAssignmentStrategy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeMeteringAssignmentStrategyUsingPATCH2Params contains all the parameters to send to the API endpoint
for the change metering assignment strategy using p a t c h 2 operation. Typically these are written to a http.Request.
func NewChangeMeteringAssignmentStrategyUsingPATCH2Params ¶ added in v0.4.0
func NewChangeMeteringAssignmentStrategyUsingPATCH2Params() *ChangeMeteringAssignmentStrategyUsingPATCH2Params
NewChangeMeteringAssignmentStrategyUsingPATCH2Params creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext ¶ added in v0.4.0
func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithContext creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object with the ability to set a context for a request.
func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient ¶ added in v0.4.0
func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithHTTPClient creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object with the ability to set a custom HTTPClient for a request.
func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout ¶ added in v0.4.0
func NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
NewChangeMeteringAssignmentStrategyUsingPATCH2ParamsWithTimeout creates a new ChangeMeteringAssignmentStrategyUsingPATCH2Params object with the ability to set a timeout on a request.
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetAPIVersion ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetContext ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetContext(ctx context.Context)
SetContext adds the context to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetDefaults ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetDefaults()
SetDefaults hydrates default values in the change metering assignment strategy using p a t c h 2 params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetHTTPClient ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetMeteringAssignmentStrategy ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
SetMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetTimeout ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithAPIVersion ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithAPIVersion(aPIVersion *string) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
WithAPIVersion adds the aPIVersion to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithContext ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithContext(ctx context.Context) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
WithContext adds the context to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithDefaults ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithDefaults() *ChangeMeteringAssignmentStrategyUsingPATCH2Params
WithDefaults hydrates default values in the change metering assignment strategy using p a t c h 2 params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithHTTPClient ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithHTTPClient(client *http.Client) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
WithHTTPClient adds the HTTPClient to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithMeteringAssignmentStrategy ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
WithMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithTimeout ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WithTimeout(timeout time.Duration) *ChangeMeteringAssignmentStrategyUsingPATCH2Params
WithTimeout adds the timeout to the change metering assignment strategy using p a t c h 2 params
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Params) WriteToRequest ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeMeteringAssignmentStrategyUsingPATCH2Reader ¶ added in v0.4.0
type ChangeMeteringAssignmentStrategyUsingPATCH2Reader struct {
// contains filtered or unexported fields
}
ChangeMeteringAssignmentStrategyUsingPATCH2Reader is a Reader for the ChangeMeteringAssignmentStrategyUsingPATCH2 structure.
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Reader) ReadResponse ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized ¶ added in v0.4.0
type ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized struct { }
ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized ¶ added in v0.4.0
func NewChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized() *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized
NewChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized creates a ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized with default headers values
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) Error ¶ added in v0.4.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) Error() string
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsClientError() bool
IsClientError returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 4xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsCode ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsCode(code int) bool
IsCode returns true when this change metering assignment strategy using p a t c h2 unauthorized response a status code equal to that given
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsRedirect() bool
IsRedirect returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 3xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsServerError() bool
IsServerError returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 5xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) IsSuccess() bool
IsSuccess returns true when this change metering assignment strategy using p a t c h2 unauthorized response has a 2xx status code
func (*ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) String ¶ added in v0.5.0
func (o *ChangeMeteringAssignmentStrategyUsingPATCH2Unauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pricing card assignments API
func (*Client) ChangeMeteringAssignmentStrategyUsingPATCH2 ¶ added in v0.4.0
func (a *Client) ChangeMeteringAssignmentStrategyUsingPATCH2(params *ChangeMeteringAssignmentStrategyUsingPATCH2Params, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCH2OK, error)
ChangeMeteringAssignmentStrategyUsingPATCH2 updates the pricing card assignment strategy for the org
func (*Client) CreateMeteringAssignmentStrategyUsingPOST2 ¶ added in v0.4.0
func (a *Client) CreateMeteringAssignmentStrategyUsingPOST2(params *CreateMeteringAssignmentStrategyUsingPOST2Params, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOST2OK, *CreateMeteringAssignmentStrategyUsingPOST2Created, error)
CreateMeteringAssignmentStrategyUsingPOST2 selectings the new pricing card assignment strategy p r o j e c t or c l o u d z o n e are possible values can be used while creating strategy also there can be only one strategy for a given org at a given point of time
Create a new pricing card assignment strategy based on request body and validate its field according to business rules.
func (*Client) CreateMeteringPolicyAssignmentUsingPOST2 ¶ added in v0.4.0
func (a *Client) CreateMeteringPolicyAssignmentUsingPOST2(params *CreateMeteringPolicyAssignmentUsingPOST2Params, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOST2OK, *CreateMeteringPolicyAssignmentUsingPOST2Created, error)
CreateMeteringPolicyAssignmentUsingPOST2 creates a new pricing card assignment
Create a new pricing card policy assignment based on request body and validate its field according to business rules. Request body with ALL entityType will delete the older assignments for the given pricingCardId
func (*Client) DeleteMeteringPolicyAssignmentUsingDELETE2 ¶ added in v0.4.0
func (a *Client) DeleteMeteringPolicyAssignmentUsingDELETE2(params *DeleteMeteringPolicyAssignmentUsingDELETE2Params, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETE2OK, error)
DeleteMeteringPolicyAssignmentUsingDELETE2 deletes the pricing card assignment with specified id
Deletes the pricing card assignment with the specified id
func (*Client) GetAllMeteringPolicyAssignmentsUsingGET2 ¶ added in v0.4.0
func (a *Client) GetAllMeteringPolicyAssignmentsUsingGET2(params *GetAllMeteringPolicyAssignmentsUsingGET2Params, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGET2OK, error)
GetAllMeteringPolicyAssignmentsUsingGET2 fetches all pricing card assignment for private cloud
Returns a paginated list of pricing card assignments
func (*Client) GetMeteringAssignmentStrategyUsingGET2 ¶ added in v0.4.0
func (a *Client) GetMeteringAssignmentStrategyUsingGET2(params *GetMeteringAssignmentStrategyUsingGET2Params, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGET2OK, error)
GetMeteringAssignmentStrategyUsingGET2 fetches pricing card assignment strategy for the org
Returns a pricing card assignment strategy for the Org
func (*Client) GetMeteringPolicyAssignmentUsingGET2 ¶ added in v0.4.0
func (a *Client) GetMeteringPolicyAssignmentUsingGET2(params *GetMeteringPolicyAssignmentUsingGET2Params, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGET2OK, error)
GetMeteringPolicyAssignmentUsingGET2 fetches pricing card assignment for private cloud by id
Returns a pricing card assignments by id
func (*Client) PatchMeteringPolicyAssignmentUsingPATCH2 ¶ added in v0.4.0
func (a *Client) PatchMeteringPolicyAssignmentUsingPATCH2(params *PatchMeteringPolicyAssignmentUsingPATCH2Params, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCH2OK, error)
PatchMeteringPolicyAssignmentUsingPATCH2 updates the pricing card assignment id with the supplied id request body with a l l entity type will delete the older assignments for the given pricing card Id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { ChangeMeteringAssignmentStrategyUsingPATCH2(params *ChangeMeteringAssignmentStrategyUsingPATCH2Params, opts ...ClientOption) (*ChangeMeteringAssignmentStrategyUsingPATCH2OK, error) CreateMeteringAssignmentStrategyUsingPOST2(params *CreateMeteringAssignmentStrategyUsingPOST2Params, opts ...ClientOption) (*CreateMeteringAssignmentStrategyUsingPOST2OK, *CreateMeteringAssignmentStrategyUsingPOST2Created, error) CreateMeteringPolicyAssignmentUsingPOST2(params *CreateMeteringPolicyAssignmentUsingPOST2Params, opts ...ClientOption) (*CreateMeteringPolicyAssignmentUsingPOST2OK, *CreateMeteringPolicyAssignmentUsingPOST2Created, error) DeleteMeteringPolicyAssignmentUsingDELETE2(params *DeleteMeteringPolicyAssignmentUsingDELETE2Params, opts ...ClientOption) (*DeleteMeteringPolicyAssignmentUsingDELETE2OK, error) GetAllMeteringPolicyAssignmentsUsingGET2(params *GetAllMeteringPolicyAssignmentsUsingGET2Params, opts ...ClientOption) (*GetAllMeteringPolicyAssignmentsUsingGET2OK, error) GetMeteringAssignmentStrategyUsingGET2(params *GetMeteringAssignmentStrategyUsingGET2Params, opts ...ClientOption) (*GetMeteringAssignmentStrategyUsingGET2OK, error) GetMeteringPolicyAssignmentUsingGET2(params *GetMeteringPolicyAssignmentUsingGET2Params, opts ...ClientOption) (*GetMeteringPolicyAssignmentUsingGET2OK, error) PatchMeteringPolicyAssignmentUsingPATCH2(params *PatchMeteringPolicyAssignmentUsingPATCH2Params, opts ...ClientOption) (*PatchMeteringPolicyAssignmentUsingPATCH2OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new pricing card assignments API client.
type CreateMeteringAssignmentStrategyUsingPOST2Created ¶ added in v0.4.0
type CreateMeteringAssignmentStrategyUsingPOST2Created struct {
Payload *models.MeteringAssignmentStrategy
}
CreateMeteringAssignmentStrategyUsingPOST2Created describes a response with status code 201, with default header values.
Created
func NewCreateMeteringAssignmentStrategyUsingPOST2Created ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2Created() *CreateMeteringAssignmentStrategyUsingPOST2Created
NewCreateMeteringAssignmentStrategyUsingPOST2Created creates a CreateMeteringAssignmentStrategyUsingPOST2Created with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) Error ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) Error() string
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) GetPayload ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) GetPayload() *models.MeteringAssignmentStrategy
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsClientError() bool
IsClientError returns true when this create metering assignment strategy using p o s t2 created response has a 4xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsCode ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsCode(code int) bool
IsCode returns true when this create metering assignment strategy using p o s t2 created response a status code equal to that given
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsRedirect() bool
IsRedirect returns true when this create metering assignment strategy using p o s t2 created response has a 3xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsServerError() bool
IsServerError returns true when this create metering assignment strategy using p o s t2 created response has a 5xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) IsSuccess() bool
IsSuccess returns true when this create metering assignment strategy using p o s t2 created response has a 2xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Created) String ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Created) String() string
type CreateMeteringAssignmentStrategyUsingPOST2Forbidden ¶ added in v0.4.0
type CreateMeteringAssignmentStrategyUsingPOST2Forbidden struct { }
CreateMeteringAssignmentStrategyUsingPOST2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateMeteringAssignmentStrategyUsingPOST2Forbidden ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2Forbidden() *CreateMeteringAssignmentStrategyUsingPOST2Forbidden
NewCreateMeteringAssignmentStrategyUsingPOST2Forbidden creates a CreateMeteringAssignmentStrategyUsingPOST2Forbidden with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) Error ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) Error() string
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsClientError() bool
IsClientError returns true when this create metering assignment strategy using p o s t2 forbidden response has a 4xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsCode ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsCode(code int) bool
IsCode returns true when this create metering assignment strategy using p o s t2 forbidden response a status code equal to that given
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsRedirect() bool
IsRedirect returns true when this create metering assignment strategy using p o s t2 forbidden response has a 3xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsServerError() bool
IsServerError returns true when this create metering assignment strategy using p o s t2 forbidden response has a 5xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) IsSuccess() bool
IsSuccess returns true when this create metering assignment strategy using p o s t2 forbidden response has a 2xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Forbidden) String ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Forbidden) String() string
type CreateMeteringAssignmentStrategyUsingPOST2OK ¶ added in v0.4.0
type CreateMeteringAssignmentStrategyUsingPOST2OK struct {
Payload *models.MeteringAssignmentStrategy
}
CreateMeteringAssignmentStrategyUsingPOST2OK describes a response with status code 200, with default header values.
OK
func NewCreateMeteringAssignmentStrategyUsingPOST2OK ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2OK() *CreateMeteringAssignmentStrategyUsingPOST2OK
NewCreateMeteringAssignmentStrategyUsingPOST2OK creates a CreateMeteringAssignmentStrategyUsingPOST2OK with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) Error ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) Error() string
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) GetPayload ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) GetPayload() *models.MeteringAssignmentStrategy
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsClientError() bool
IsClientError returns true when this create metering assignment strategy using p o s t2 o k response has a 4xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsCode ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsCode(code int) bool
IsCode returns true when this create metering assignment strategy using p o s t2 o k response a status code equal to that given
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsRedirect() bool
IsRedirect returns true when this create metering assignment strategy using p o s t2 o k response has a 3xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsServerError() bool
IsServerError returns true when this create metering assignment strategy using p o s t2 o k response has a 5xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) IsSuccess() bool
IsSuccess returns true when this create metering assignment strategy using p o s t2 o k response has a 2xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2OK) String ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2OK) String() string
type CreateMeteringAssignmentStrategyUsingPOST2Params ¶ added in v0.4.0
type CreateMeteringAssignmentStrategyUsingPOST2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* MeteringAssignmentStrategy. The pricing card assignment strategy to be created */ MeteringAssignmentStrategy *models.MeteringAssignmentStrategy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMeteringAssignmentStrategyUsingPOST2Params contains all the parameters to send to the API endpoint
for the create metering assignment strategy using p o s t 2 operation. Typically these are written to a http.Request.
func NewCreateMeteringAssignmentStrategyUsingPOST2Params ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2Params() *CreateMeteringAssignmentStrategyUsingPOST2Params
NewCreateMeteringAssignmentStrategyUsingPOST2Params creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOST2Params
NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithContext creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object with the ability to set a context for a request.
func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOST2Params
NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithHTTPClient creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object with the ability to set a custom HTTPClient for a request.
func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOST2Params
NewCreateMeteringAssignmentStrategyUsingPOST2ParamsWithTimeout creates a new CreateMeteringAssignmentStrategyUsingPOST2Params object with the ability to set a timeout on a request.
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetAPIVersion ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetContext ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetContext(ctx context.Context)
SetContext adds the context to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetDefaults ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetDefaults()
SetDefaults hydrates default values in the create metering assignment strategy using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetHTTPClient ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetMeteringAssignmentStrategy ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy)
SetMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) SetTimeout ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithAPIVersion ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithAPIVersion(aPIVersion *string) *CreateMeteringAssignmentStrategyUsingPOST2Params
WithAPIVersion adds the aPIVersion to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithContext ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithContext(ctx context.Context) *CreateMeteringAssignmentStrategyUsingPOST2Params
WithContext adds the context to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithDefaults ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithDefaults() *CreateMeteringAssignmentStrategyUsingPOST2Params
WithDefaults hydrates default values in the create metering assignment strategy using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithHTTPClient ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithHTTPClient(client *http.Client) *CreateMeteringAssignmentStrategyUsingPOST2Params
WithHTTPClient adds the HTTPClient to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithMeteringAssignmentStrategy ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithMeteringAssignmentStrategy(meteringAssignmentStrategy *models.MeteringAssignmentStrategy) *CreateMeteringAssignmentStrategyUsingPOST2Params
WithMeteringAssignmentStrategy adds the meteringAssignmentStrategy to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WithTimeout ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WithTimeout(timeout time.Duration) *CreateMeteringAssignmentStrategyUsingPOST2Params
WithTimeout adds the timeout to the create metering assignment strategy using p o s t 2 params
func (*CreateMeteringAssignmentStrategyUsingPOST2Params) WriteToRequest ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMeteringAssignmentStrategyUsingPOST2Reader ¶ added in v0.4.0
type CreateMeteringAssignmentStrategyUsingPOST2Reader struct {
// contains filtered or unexported fields
}
CreateMeteringAssignmentStrategyUsingPOST2Reader is a Reader for the CreateMeteringAssignmentStrategyUsingPOST2 structure.
func (*CreateMeteringAssignmentStrategyUsingPOST2Reader) ReadResponse ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMeteringAssignmentStrategyUsingPOST2Unauthorized ¶ added in v0.4.0
type CreateMeteringAssignmentStrategyUsingPOST2Unauthorized struct { }
CreateMeteringAssignmentStrategyUsingPOST2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateMeteringAssignmentStrategyUsingPOST2Unauthorized ¶ added in v0.4.0
func NewCreateMeteringAssignmentStrategyUsingPOST2Unauthorized() *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized
NewCreateMeteringAssignmentStrategyUsingPOST2Unauthorized creates a CreateMeteringAssignmentStrategyUsingPOST2Unauthorized with default headers values
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) Error ¶ added in v0.4.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) Error() string
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsClientError() bool
IsClientError returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 4xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsCode ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsCode(code int) bool
IsCode returns true when this create metering assignment strategy using p o s t2 unauthorized response a status code equal to that given
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsRedirect() bool
IsRedirect returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 3xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsServerError() bool
IsServerError returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 5xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) IsSuccess() bool
IsSuccess returns true when this create metering assignment strategy using p o s t2 unauthorized response has a 2xx status code
func (*CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) String ¶ added in v0.5.0
func (o *CreateMeteringAssignmentStrategyUsingPOST2Unauthorized) String() string
type CreateMeteringPolicyAssignmentUsingPOST2Created ¶ added in v0.4.0
type CreateMeteringPolicyAssignmentUsingPOST2Created struct {
Payload *models.MeteringPolicyAssignment
}
CreateMeteringPolicyAssignmentUsingPOST2Created describes a response with status code 201, with default header values.
Created
func NewCreateMeteringPolicyAssignmentUsingPOST2Created ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2Created() *CreateMeteringPolicyAssignmentUsingPOST2Created
NewCreateMeteringPolicyAssignmentUsingPOST2Created creates a CreateMeteringPolicyAssignmentUsingPOST2Created with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) Error ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) Error() string
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) GetPayload ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) GetPayload() *models.MeteringPolicyAssignment
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsClientError() bool
IsClientError returns true when this create metering policy assignment using p o s t2 created response has a 4xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsCode ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsCode(code int) bool
IsCode returns true when this create metering policy assignment using p o s t2 created response a status code equal to that given
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsRedirect() bool
IsRedirect returns true when this create metering policy assignment using p o s t2 created response has a 3xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsServerError() bool
IsServerError returns true when this create metering policy assignment using p o s t2 created response has a 5xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) IsSuccess() bool
IsSuccess returns true when this create metering policy assignment using p o s t2 created response has a 2xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Created) String ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Created) String() string
type CreateMeteringPolicyAssignmentUsingPOST2Forbidden ¶ added in v0.4.0
type CreateMeteringPolicyAssignmentUsingPOST2Forbidden struct { }
CreateMeteringPolicyAssignmentUsingPOST2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateMeteringPolicyAssignmentUsingPOST2Forbidden ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2Forbidden() *CreateMeteringPolicyAssignmentUsingPOST2Forbidden
NewCreateMeteringPolicyAssignmentUsingPOST2Forbidden creates a CreateMeteringPolicyAssignmentUsingPOST2Forbidden with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) Error ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) Error() string
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsClientError() bool
IsClientError returns true when this create metering policy assignment using p o s t2 forbidden response has a 4xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsCode ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsCode(code int) bool
IsCode returns true when this create metering policy assignment using p o s t2 forbidden response a status code equal to that given
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsRedirect() bool
IsRedirect returns true when this create metering policy assignment using p o s t2 forbidden response has a 3xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsServerError() bool
IsServerError returns true when this create metering policy assignment using p o s t2 forbidden response has a 5xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) IsSuccess() bool
IsSuccess returns true when this create metering policy assignment using p o s t2 forbidden response has a 2xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Forbidden) String ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Forbidden) String() string
type CreateMeteringPolicyAssignmentUsingPOST2OK ¶ added in v0.4.0
type CreateMeteringPolicyAssignmentUsingPOST2OK struct {
Payload *models.MeteringPolicyAssignment
}
CreateMeteringPolicyAssignmentUsingPOST2OK describes a response with status code 200, with default header values.
OK
func NewCreateMeteringPolicyAssignmentUsingPOST2OK ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2OK() *CreateMeteringPolicyAssignmentUsingPOST2OK
NewCreateMeteringPolicyAssignmentUsingPOST2OK creates a CreateMeteringPolicyAssignmentUsingPOST2OK with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) Error ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) Error() string
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) GetPayload ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) GetPayload() *models.MeteringPolicyAssignment
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsClientError() bool
IsClientError returns true when this create metering policy assignment using p o s t2 o k response has a 4xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsCode ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsCode(code int) bool
IsCode returns true when this create metering policy assignment using p o s t2 o k response a status code equal to that given
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsRedirect() bool
IsRedirect returns true when this create metering policy assignment using p o s t2 o k response has a 3xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsServerError() bool
IsServerError returns true when this create metering policy assignment using p o s t2 o k response has a 5xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) IsSuccess() bool
IsSuccess returns true when this create metering policy assignment using p o s t2 o k response has a 2xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2OK) String ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2OK) String() string
type CreateMeteringPolicyAssignmentUsingPOST2Params ¶ added in v0.4.0
type CreateMeteringPolicyAssignmentUsingPOST2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* MeteringPolicyAssignment. The pricing card assignment to be created */ MeteringPolicyAssignment *models.MeteringPolicyAssignment Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMeteringPolicyAssignmentUsingPOST2Params contains all the parameters to send to the API endpoint
for the create metering policy assignment using p o s t 2 operation. Typically these are written to a http.Request.
func NewCreateMeteringPolicyAssignmentUsingPOST2Params ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2Params() *CreateMeteringPolicyAssignmentUsingPOST2Params
NewCreateMeteringPolicyAssignmentUsingPOST2Params creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOST2Params
NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithContext creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object with the ability to set a context for a request.
func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOST2Params
NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithHTTPClient creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object with the ability to set a custom HTTPClient for a request.
func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOST2Params
NewCreateMeteringPolicyAssignmentUsingPOST2ParamsWithTimeout creates a new CreateMeteringPolicyAssignmentUsingPOST2Params object with the ability to set a timeout on a request.
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetAPIVersion ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetContext ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetContext(ctx context.Context)
SetContext adds the context to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetDefaults ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetDefaults()
SetDefaults hydrates default values in the create metering policy assignment using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetHTTPClient ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetMeteringPolicyAssignment ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
SetMeteringPolicyAssignment adds the meteringPolicyAssignment to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) SetTimeout ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithAPIVersion ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithAPIVersion(aPIVersion *string) *CreateMeteringPolicyAssignmentUsingPOST2Params
WithAPIVersion adds the aPIVersion to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithContext ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithContext(ctx context.Context) *CreateMeteringPolicyAssignmentUsingPOST2Params
WithContext adds the context to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithDefaults ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithDefaults() *CreateMeteringPolicyAssignmentUsingPOST2Params
WithDefaults hydrates default values in the create metering policy assignment using p o s t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithHTTPClient ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithHTTPClient(client *http.Client) *CreateMeteringPolicyAssignmentUsingPOST2Params
WithHTTPClient adds the HTTPClient to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithMeteringPolicyAssignment ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *CreateMeteringPolicyAssignmentUsingPOST2Params
WithMeteringPolicyAssignment adds the meteringPolicyAssignment to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WithTimeout ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WithTimeout(timeout time.Duration) *CreateMeteringPolicyAssignmentUsingPOST2Params
WithTimeout adds the timeout to the create metering policy assignment using p o s t 2 params
func (*CreateMeteringPolicyAssignmentUsingPOST2Params) WriteToRequest ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMeteringPolicyAssignmentUsingPOST2Reader ¶ added in v0.4.0
type CreateMeteringPolicyAssignmentUsingPOST2Reader struct {
// contains filtered or unexported fields
}
CreateMeteringPolicyAssignmentUsingPOST2Reader is a Reader for the CreateMeteringPolicyAssignmentUsingPOST2 structure.
func (*CreateMeteringPolicyAssignmentUsingPOST2Reader) ReadResponse ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMeteringPolicyAssignmentUsingPOST2Unauthorized ¶ added in v0.4.0
type CreateMeteringPolicyAssignmentUsingPOST2Unauthorized struct { }
CreateMeteringPolicyAssignmentUsingPOST2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateMeteringPolicyAssignmentUsingPOST2Unauthorized ¶ added in v0.4.0
func NewCreateMeteringPolicyAssignmentUsingPOST2Unauthorized() *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized
NewCreateMeteringPolicyAssignmentUsingPOST2Unauthorized creates a CreateMeteringPolicyAssignmentUsingPOST2Unauthorized with default headers values
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) Error ¶ added in v0.4.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) Error() string
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsClientError() bool
IsClientError returns true when this create metering policy assignment using p o s t2 unauthorized response has a 4xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsCode ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsCode(code int) bool
IsCode returns true when this create metering policy assignment using p o s t2 unauthorized response a status code equal to that given
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsRedirect() bool
IsRedirect returns true when this create metering policy assignment using p o s t2 unauthorized response has a 3xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsServerError() bool
IsServerError returns true when this create metering policy assignment using p o s t2 unauthorized response has a 5xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) IsSuccess() bool
IsSuccess returns true when this create metering policy assignment using p o s t2 unauthorized response has a 2xx status code
func (*CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) String ¶ added in v0.5.0
func (o *CreateMeteringPolicyAssignmentUsingPOST2Unauthorized) String() string
type DeleteMeteringPolicyAssignmentUsingDELETE2NotFound ¶ added in v0.4.0
DeleteMeteringPolicyAssignmentUsingDELETE2NotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteMeteringPolicyAssignmentUsingDELETE2NotFound ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2NotFound() *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound
NewDeleteMeteringPolicyAssignmentUsingDELETE2NotFound creates a DeleteMeteringPolicyAssignmentUsingDELETE2NotFound with default headers values
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) Error ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) Error() string
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) GetPayload ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) GetPayload() *models.Error
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsClientError ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsClientError() bool
IsClientError returns true when this delete metering policy assignment using d e l e t e2 not found response has a 4xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsCode ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsCode(code int) bool
IsCode returns true when this delete metering policy assignment using d e l e t e2 not found response a status code equal to that given
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsRedirect ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsRedirect() bool
IsRedirect returns true when this delete metering policy assignment using d e l e t e2 not found response has a 3xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsServerError ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsServerError() bool
IsServerError returns true when this delete metering policy assignment using d e l e t e2 not found response has a 5xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsSuccess ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) IsSuccess() bool
IsSuccess returns true when this delete metering policy assignment using d e l e t e2 not found response has a 2xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) String ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2NotFound) String() string
type DeleteMeteringPolicyAssignmentUsingDELETE2OK ¶ added in v0.4.0
type DeleteMeteringPolicyAssignmentUsingDELETE2OK struct { }
DeleteMeteringPolicyAssignmentUsingDELETE2OK describes a response with status code 200, with default header values.
No Content
func NewDeleteMeteringPolicyAssignmentUsingDELETE2OK ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2OK() *DeleteMeteringPolicyAssignmentUsingDELETE2OK
NewDeleteMeteringPolicyAssignmentUsingDELETE2OK creates a DeleteMeteringPolicyAssignmentUsingDELETE2OK with default headers values
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) Error ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) Error() string
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsClientError ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsClientError() bool
IsClientError returns true when this delete metering policy assignment using d e l e t e2 o k response has a 4xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsCode ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsCode(code int) bool
IsCode returns true when this delete metering policy assignment using d e l e t e2 o k response a status code equal to that given
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsRedirect ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsRedirect() bool
IsRedirect returns true when this delete metering policy assignment using d e l e t e2 o k response has a 3xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsServerError ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsServerError() bool
IsServerError returns true when this delete metering policy assignment using d e l e t e2 o k response has a 5xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsSuccess ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) IsSuccess() bool
IsSuccess returns true when this delete metering policy assignment using d e l e t e2 o k response has a 2xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2OK) String ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2OK) String() string
type DeleteMeteringPolicyAssignmentUsingDELETE2Params ¶ added in v0.4.0
type DeleteMeteringPolicyAssignmentUsingDELETE2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. pricing card Assignment Id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMeteringPolicyAssignmentUsingDELETE2Params contains all the parameters to send to the API endpoint
for the delete metering policy assignment using d e l e t e 2 operation. Typically these are written to a http.Request.
func NewDeleteMeteringPolicyAssignmentUsingDELETE2Params ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2Params() *DeleteMeteringPolicyAssignmentUsingDELETE2Params
NewDeleteMeteringPolicyAssignmentUsingDELETE2Params creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithContext creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object with the ability to set a context for a request.
func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithHTTPClient creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object with the ability to set a custom HTTPClient for a request.
func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
NewDeleteMeteringPolicyAssignmentUsingDELETE2ParamsWithTimeout creates a new DeleteMeteringPolicyAssignmentUsingDELETE2Params object with the ability to set a timeout on a request.
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetAPIVersion ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetContext ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetDefaults ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetDefaults()
SetDefaults hydrates default values in the delete metering policy assignment using d e l e t e 2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetID ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetID(id strfmt.UUID)
SetID adds the id to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetTimeout ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithAPIVersion ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithAPIVersion(aPIVersion *string) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
WithAPIVersion adds the aPIVersion to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithContext ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithContext(ctx context.Context) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
WithContext adds the context to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithDefaults ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithDefaults() *DeleteMeteringPolicyAssignmentUsingDELETE2Params
WithDefaults hydrates default values in the delete metering policy assignment using d e l e t e 2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithHTTPClient(client *http.Client) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
WithHTTPClient adds the HTTPClient to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithID ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithID(id strfmt.UUID) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
WithID adds the id to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithTimeout ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WithTimeout(timeout time.Duration) *DeleteMeteringPolicyAssignmentUsingDELETE2Params
WithTimeout adds the timeout to the delete metering policy assignment using d e l e t e 2 params
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Params) WriteToRequest ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMeteringPolicyAssignmentUsingDELETE2Reader ¶ added in v0.4.0
type DeleteMeteringPolicyAssignmentUsingDELETE2Reader struct {
// contains filtered or unexported fields
}
DeleteMeteringPolicyAssignmentUsingDELETE2Reader is a Reader for the DeleteMeteringPolicyAssignmentUsingDELETE2 structure.
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Reader) ReadResponse ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized ¶ added in v0.4.0
type DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized struct { }
DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized ¶ added in v0.4.0
func NewDeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized() *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized
NewDeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized creates a DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized with default headers values
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) Error ¶ added in v0.4.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) Error() string
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsClientError() bool
IsClientError returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 4xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsCode ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsCode(code int) bool
IsCode returns true when this delete metering policy assignment using d e l e t e2 unauthorized response a status code equal to that given
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsRedirect() bool
IsRedirect returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 3xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsServerError() bool
IsServerError returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 5xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) IsSuccess() bool
IsSuccess returns true when this delete metering policy assignment using d e l e t e2 unauthorized response has a 2xx status code
func (*DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) String ¶ added in v0.5.0
func (o *DeleteMeteringPolicyAssignmentUsingDELETE2Unauthorized) String() string
type GetAllMeteringPolicyAssignmentsUsingGET2OK ¶ added in v0.4.0
type GetAllMeteringPolicyAssignmentsUsingGET2OK struct {
Payload *models.PageOfMeteringPolicyAssignment
}
GetAllMeteringPolicyAssignmentsUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetAllMeteringPolicyAssignmentsUsingGET2OK ¶ added in v0.4.0
func NewGetAllMeteringPolicyAssignmentsUsingGET2OK() *GetAllMeteringPolicyAssignmentsUsingGET2OK
NewGetAllMeteringPolicyAssignmentsUsingGET2OK creates a GetAllMeteringPolicyAssignmentsUsingGET2OK with default headers values
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) Error() string
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) GetPayload() *models.PageOfMeteringPolicyAssignment
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsClientError() bool
IsClientError returns true when this get all metering policy assignments using g e t2 o k response has a 4xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get all metering policy assignments using g e t2 o k response a status code equal to that given
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get all metering policy assignments using g e t2 o k response has a 3xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsServerError() bool
IsServerError returns true when this get all metering policy assignments using g e t2 o k response has a 5xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get all metering policy assignments using g e t2 o k response has a 2xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2OK) String ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2OK) String() string
type GetAllMeteringPolicyAssignmentsUsingGET2Params ¶ added in v0.4.0
type GetAllMeteringPolicyAssignmentsUsingGET2Params struct { /* DollarOrderby. Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /* DollarSkip. Number of records you want to skip Format: int32 */ DollarSkip *int32 /* DollarTop. Number of records you want Format: int32 */ DollarTop *int32 /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* RefreshEntities. Search by name and description Default: true */ RefreshEntities *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllMeteringPolicyAssignmentsUsingGET2Params contains all the parameters to send to the API endpoint
for the get all metering policy assignments using g e t 2 operation. Typically these are written to a http.Request.
func NewGetAllMeteringPolicyAssignmentsUsingGET2Params ¶ added in v0.4.0
func NewGetAllMeteringPolicyAssignmentsUsingGET2Params() *GetAllMeteringPolicyAssignmentsUsingGET2Params
NewGetAllMeteringPolicyAssignmentsUsingGET2Params creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGET2Params
NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithContext creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object with the ability to set a context for a request.
func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGET2Params
NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithHTTPClient creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGET2Params
NewGetAllMeteringPolicyAssignmentsUsingGET2ParamsWithTimeout creates a new GetAllMeteringPolicyAssignmentsUsingGET2Params object with the ability to set a timeout on a request.
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get all metering policy assignments using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarOrderby ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarSkip ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarTop ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetRefreshEntities ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetRefreshEntities(refreshEntities *bool)
SetRefreshEntities adds the refreshEntities to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithAPIVersion adds the aPIVersion to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithContext(ctx context.Context) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithContext adds the context to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDefaults() *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithDefaults hydrates default values in the get all metering policy assignments using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarOrderby ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithDollarOrderby adds the dollarOrderby to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarSkip ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithDollarSkip adds the dollarSkip to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarTop ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithDollarTop(dollarTop *int32) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithDollarTop adds the dollarTop to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithHTTPClient(client *http.Client) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithHTTPClient adds the HTTPClient to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithRefreshEntities ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithRefreshEntities(refreshEntities *bool) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithRefreshEntities adds the refreshEntities to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WithTimeout(timeout time.Duration) *GetAllMeteringPolicyAssignmentsUsingGET2Params
WithTimeout adds the timeout to the get all metering policy assignments using g e t 2 params
func (*GetAllMeteringPolicyAssignmentsUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllMeteringPolicyAssignmentsUsingGET2Reader ¶ added in v0.4.0
type GetAllMeteringPolicyAssignmentsUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetAllMeteringPolicyAssignmentsUsingGET2Reader is a Reader for the GetAllMeteringPolicyAssignmentsUsingGET2 structure.
func (*GetAllMeteringPolicyAssignmentsUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized ¶ added in v0.4.0
type GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized struct { }
GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAllMeteringPolicyAssignmentsUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetAllMeteringPolicyAssignmentsUsingGET2Unauthorized() *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized
NewGetAllMeteringPolicyAssignmentsUsingGET2Unauthorized creates a GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized with default headers values
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) Error() string
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get all metering policy assignments using g e t2 unauthorized response has a 4xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get all metering policy assignments using g e t2 unauthorized response a status code equal to that given
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get all metering policy assignments using g e t2 unauthorized response has a 3xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get all metering policy assignments using g e t2 unauthorized response has a 5xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get all metering policy assignments using g e t2 unauthorized response has a 2xx status code
func (*GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetAllMeteringPolicyAssignmentsUsingGET2Unauthorized) String() string
type GetMeteringAssignmentStrategyUsingGET2NotFound ¶ added in v0.4.0
GetMeteringAssignmentStrategyUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetMeteringAssignmentStrategyUsingGET2NotFound ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2NotFound() *GetMeteringAssignmentStrategyUsingGET2NotFound
NewGetMeteringAssignmentStrategyUsingGET2NotFound creates a GetMeteringAssignmentStrategyUsingGET2NotFound with default headers values
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) Error ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) Error() string
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) GetPayload ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) GetPayload() *models.Error
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get metering assignment strategy using g e t2 not found response has a 4xx status code
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get metering assignment strategy using g e t2 not found response a status code equal to that given
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get metering assignment strategy using g e t2 not found response has a 3xx status code
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get metering assignment strategy using g e t2 not found response has a 5xx status code
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get metering assignment strategy using g e t2 not found response has a 2xx status code
func (*GetMeteringAssignmentStrategyUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2NotFound) String() string
type GetMeteringAssignmentStrategyUsingGET2OK ¶ added in v0.4.0
type GetMeteringAssignmentStrategyUsingGET2OK struct {
Payload *models.MeteringAssignmentStrategy
}
GetMeteringAssignmentStrategyUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetMeteringAssignmentStrategyUsingGET2OK ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2OK() *GetMeteringAssignmentStrategyUsingGET2OK
NewGetMeteringAssignmentStrategyUsingGET2OK creates a GetMeteringAssignmentStrategyUsingGET2OK with default headers values
func (*GetMeteringAssignmentStrategyUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) Error() string
func (*GetMeteringAssignmentStrategyUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) GetPayload() *models.MeteringAssignmentStrategy
func (*GetMeteringAssignmentStrategyUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsClientError() bool
IsClientError returns true when this get metering assignment strategy using g e t2 o k response has a 4xx status code
func (*GetMeteringAssignmentStrategyUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get metering assignment strategy using g e t2 o k response a status code equal to that given
func (*GetMeteringAssignmentStrategyUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get metering assignment strategy using g e t2 o k response has a 3xx status code
func (*GetMeteringAssignmentStrategyUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsServerError() bool
IsServerError returns true when this get metering assignment strategy using g e t2 o k response has a 5xx status code
func (*GetMeteringAssignmentStrategyUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get metering assignment strategy using g e t2 o k response has a 2xx status code
func (*GetMeteringAssignmentStrategyUsingGET2OK) String ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2OK) String() string
type GetMeteringAssignmentStrategyUsingGET2Params ¶ added in v0.4.0
type GetMeteringAssignmentStrategyUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMeteringAssignmentStrategyUsingGET2Params contains all the parameters to send to the API endpoint
for the get metering assignment strategy using g e t 2 operation. Typically these are written to a http.Request.
func NewGetMeteringAssignmentStrategyUsingGET2Params ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2Params() *GetMeteringAssignmentStrategyUsingGET2Params
NewGetMeteringAssignmentStrategyUsingGET2Params creates a new GetMeteringAssignmentStrategyUsingGET2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGET2Params
NewGetMeteringAssignmentStrategyUsingGET2ParamsWithContext creates a new GetMeteringAssignmentStrategyUsingGET2Params object with the ability to set a context for a request.
func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGET2Params
NewGetMeteringAssignmentStrategyUsingGET2ParamsWithHTTPClient creates a new GetMeteringAssignmentStrategyUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGET2Params
NewGetMeteringAssignmentStrategyUsingGET2ParamsWithTimeout creates a new GetMeteringAssignmentStrategyUsingGET2Params object with the ability to set a timeout on a request.
func (*GetMeteringAssignmentStrategyUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get metering assignment strategy using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringAssignmentStrategyUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetMeteringAssignmentStrategyUsingGET2Params
WithAPIVersion adds the aPIVersion to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithContext(ctx context.Context) *GetMeteringAssignmentStrategyUsingGET2Params
WithContext adds the context to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithDefaults() *GetMeteringAssignmentStrategyUsingGET2Params
WithDefaults hydrates default values in the get metering assignment strategy using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringAssignmentStrategyUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithHTTPClient(client *http.Client) *GetMeteringAssignmentStrategyUsingGET2Params
WithHTTPClient adds the HTTPClient to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) WithTimeout(timeout time.Duration) *GetMeteringAssignmentStrategyUsingGET2Params
WithTimeout adds the timeout to the get metering assignment strategy using g e t 2 params
func (*GetMeteringAssignmentStrategyUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMeteringAssignmentStrategyUsingGET2Reader ¶ added in v0.4.0
type GetMeteringAssignmentStrategyUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetMeteringAssignmentStrategyUsingGET2Reader is a Reader for the GetMeteringAssignmentStrategyUsingGET2 structure.
func (*GetMeteringAssignmentStrategyUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMeteringAssignmentStrategyUsingGET2Unauthorized ¶ added in v0.4.0
type GetMeteringAssignmentStrategyUsingGET2Unauthorized struct { }
GetMeteringAssignmentStrategyUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetMeteringAssignmentStrategyUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetMeteringAssignmentStrategyUsingGET2Unauthorized() *GetMeteringAssignmentStrategyUsingGET2Unauthorized
NewGetMeteringAssignmentStrategyUsingGET2Unauthorized creates a GetMeteringAssignmentStrategyUsingGET2Unauthorized with default headers values
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) Error() string
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get metering assignment strategy using g e t2 unauthorized response has a 4xx status code
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get metering assignment strategy using g e t2 unauthorized response a status code equal to that given
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get metering assignment strategy using g e t2 unauthorized response has a 3xx status code
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get metering assignment strategy using g e t2 unauthorized response has a 5xx status code
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get metering assignment strategy using g e t2 unauthorized response has a 2xx status code
func (*GetMeteringAssignmentStrategyUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetMeteringAssignmentStrategyUsingGET2Unauthorized) String() string
type GetMeteringPolicyAssignmentUsingGET2NotFound ¶ added in v0.4.0
GetMeteringPolicyAssignmentUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetMeteringPolicyAssignmentUsingGET2NotFound ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2NotFound() *GetMeteringPolicyAssignmentUsingGET2NotFound
NewGetMeteringPolicyAssignmentUsingGET2NotFound creates a GetMeteringPolicyAssignmentUsingGET2NotFound with default headers values
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) Error ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) Error() string
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) GetPayload ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) GetPayload() *models.Error
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get metering policy assignment using g e t2 not found response has a 4xx status code
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get metering policy assignment using g e t2 not found response a status code equal to that given
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get metering policy assignment using g e t2 not found response has a 3xx status code
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get metering policy assignment using g e t2 not found response has a 5xx status code
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get metering policy assignment using g e t2 not found response has a 2xx status code
func (*GetMeteringPolicyAssignmentUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2NotFound) String() string
type GetMeteringPolicyAssignmentUsingGET2OK ¶ added in v0.4.0
type GetMeteringPolicyAssignmentUsingGET2OK struct {
Payload *models.MeteringPolicyAssignment
}
GetMeteringPolicyAssignmentUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetMeteringPolicyAssignmentUsingGET2OK ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2OK() *GetMeteringPolicyAssignmentUsingGET2OK
NewGetMeteringPolicyAssignmentUsingGET2OK creates a GetMeteringPolicyAssignmentUsingGET2OK with default headers values
func (*GetMeteringPolicyAssignmentUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) Error() string
func (*GetMeteringPolicyAssignmentUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) GetPayload() *models.MeteringPolicyAssignment
func (*GetMeteringPolicyAssignmentUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsClientError() bool
IsClientError returns true when this get metering policy assignment using g e t2 o k response has a 4xx status code
func (*GetMeteringPolicyAssignmentUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get metering policy assignment using g e t2 o k response a status code equal to that given
func (*GetMeteringPolicyAssignmentUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get metering policy assignment using g e t2 o k response has a 3xx status code
func (*GetMeteringPolicyAssignmentUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsServerError() bool
IsServerError returns true when this get metering policy assignment using g e t2 o k response has a 5xx status code
func (*GetMeteringPolicyAssignmentUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get metering policy assignment using g e t2 o k response has a 2xx status code
func (*GetMeteringPolicyAssignmentUsingGET2OK) String ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2OK) String() string
type GetMeteringPolicyAssignmentUsingGET2Params ¶ added in v0.4.0
type GetMeteringPolicyAssignmentUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. pricing card assignment id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMeteringPolicyAssignmentUsingGET2Params contains all the parameters to send to the API endpoint
for the get metering policy assignment using g e t 2 operation. Typically these are written to a http.Request.
func NewGetMeteringPolicyAssignmentUsingGET2Params ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2Params() *GetMeteringPolicyAssignmentUsingGET2Params
NewGetMeteringPolicyAssignmentUsingGET2Params creates a new GetMeteringPolicyAssignmentUsingGET2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGET2Params
NewGetMeteringPolicyAssignmentUsingGET2ParamsWithContext creates a new GetMeteringPolicyAssignmentUsingGET2Params object with the ability to set a context for a request.
func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGET2Params
NewGetMeteringPolicyAssignmentUsingGET2ParamsWithHTTPClient creates a new GetMeteringPolicyAssignmentUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGET2Params
NewGetMeteringPolicyAssignmentUsingGET2ParamsWithTimeout creates a new GetMeteringPolicyAssignmentUsingGET2Params object with the ability to set a timeout on a request.
func (*GetMeteringPolicyAssignmentUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get metering policy assignment using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringPolicyAssignmentUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) SetID ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetID(id strfmt.UUID)
SetID adds the id to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetMeteringPolicyAssignmentUsingGET2Params
WithAPIVersion adds the aPIVersion to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithContext(ctx context.Context) *GetMeteringPolicyAssignmentUsingGET2Params
WithContext adds the context to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithDefaults() *GetMeteringPolicyAssignmentUsingGET2Params
WithDefaults hydrates default values in the get metering policy assignment using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetMeteringPolicyAssignmentUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithHTTPClient(client *http.Client) *GetMeteringPolicyAssignmentUsingGET2Params
WithHTTPClient adds the HTTPClient to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) WithID ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithID(id strfmt.UUID) *GetMeteringPolicyAssignmentUsingGET2Params
WithID adds the id to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WithTimeout(timeout time.Duration) *GetMeteringPolicyAssignmentUsingGET2Params
WithTimeout adds the timeout to the get metering policy assignment using g e t 2 params
func (*GetMeteringPolicyAssignmentUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMeteringPolicyAssignmentUsingGET2Reader ¶ added in v0.4.0
type GetMeteringPolicyAssignmentUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetMeteringPolicyAssignmentUsingGET2Reader is a Reader for the GetMeteringPolicyAssignmentUsingGET2 structure.
func (*GetMeteringPolicyAssignmentUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMeteringPolicyAssignmentUsingGET2Unauthorized ¶ added in v0.4.0
type GetMeteringPolicyAssignmentUsingGET2Unauthorized struct { }
GetMeteringPolicyAssignmentUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetMeteringPolicyAssignmentUsingGET2Unauthorized ¶ added in v0.4.0
func NewGetMeteringPolicyAssignmentUsingGET2Unauthorized() *GetMeteringPolicyAssignmentUsingGET2Unauthorized
NewGetMeteringPolicyAssignmentUsingGET2Unauthorized creates a GetMeteringPolicyAssignmentUsingGET2Unauthorized with default headers values
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) Error ¶ added in v0.4.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) Error() string
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get metering policy assignment using g e t2 unauthorized response has a 4xx status code
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get metering policy assignment using g e t2 unauthorized response a status code equal to that given
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get metering policy assignment using g e t2 unauthorized response has a 3xx status code
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get metering policy assignment using g e t2 unauthorized response has a 5xx status code
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get metering policy assignment using g e t2 unauthorized response has a 2xx status code
func (*GetMeteringPolicyAssignmentUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetMeteringPolicyAssignmentUsingGET2Unauthorized) String() string
type PatchMeteringPolicyAssignmentUsingPATCH2OK ¶ added in v0.4.0
type PatchMeteringPolicyAssignmentUsingPATCH2OK struct {
Payload *models.MeteringPolicyAssignment
}
PatchMeteringPolicyAssignmentUsingPATCH2OK describes a response with status code 200, with default header values.
OK
func NewPatchMeteringPolicyAssignmentUsingPATCH2OK ¶ added in v0.4.0
func NewPatchMeteringPolicyAssignmentUsingPATCH2OK() *PatchMeteringPolicyAssignmentUsingPATCH2OK
NewPatchMeteringPolicyAssignmentUsingPATCH2OK creates a PatchMeteringPolicyAssignmentUsingPATCH2OK with default headers values
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) Error ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) Error() string
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) GetPayload ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) GetPayload() *models.MeteringPolicyAssignment
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsClientError ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsClientError() bool
IsClientError returns true when this patch metering policy assignment using p a t c h2 o k response has a 4xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsCode ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsCode(code int) bool
IsCode returns true when this patch metering policy assignment using p a t c h2 o k response a status code equal to that given
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsRedirect ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsRedirect() bool
IsRedirect returns true when this patch metering policy assignment using p a t c h2 o k response has a 3xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsServerError ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsServerError() bool
IsServerError returns true when this patch metering policy assignment using p a t c h2 o k response has a 5xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) IsSuccess ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) IsSuccess() bool
IsSuccess returns true when this patch metering policy assignment using p a t c h2 o k response has a 2xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2OK) String ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2OK) String() string
type PatchMeteringPolicyAssignmentUsingPATCH2Params ¶ added in v0.4.0
type PatchMeteringPolicyAssignmentUsingPATCH2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. pricing card Assignment Id Format: uuid */ ID strfmt.UUID /* MeteringPolicyAssignment. A pricing card assignment with pricing card Id to override existing pricing card Id */ MeteringPolicyAssignment *models.MeteringPolicyAssignment Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchMeteringPolicyAssignmentUsingPATCH2Params contains all the parameters to send to the API endpoint
for the patch metering policy assignment using p a t c h 2 operation. Typically these are written to a http.Request.
func NewPatchMeteringPolicyAssignmentUsingPATCH2Params ¶ added in v0.4.0
func NewPatchMeteringPolicyAssignmentUsingPATCH2Params() *PatchMeteringPolicyAssignmentUsingPATCH2Params
NewPatchMeteringPolicyAssignmentUsingPATCH2Params creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext ¶ added in v0.4.0
func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCH2Params
NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithContext creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object with the ability to set a context for a request.
func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient ¶ added in v0.4.0
func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCH2Params
NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithHTTPClient creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object with the ability to set a custom HTTPClient for a request.
func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout ¶ added in v0.4.0
func NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCH2Params
NewPatchMeteringPolicyAssignmentUsingPATCH2ParamsWithTimeout creates a new PatchMeteringPolicyAssignmentUsingPATCH2Params object with the ability to set a timeout on a request.
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetAPIVersion ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetContext ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetContext(ctx context.Context)
SetContext adds the context to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetDefaults ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetDefaults()
SetDefaults hydrates default values in the patch metering policy assignment using p a t c h 2 params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetHTTPClient ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetID ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetID(id strfmt.UUID)
SetID adds the id to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetMeteringPolicyAssignment ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment)
SetMeteringPolicyAssignment adds the meteringPolicyAssignment to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) SetTimeout ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithAPIVersion ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithAPIVersion(aPIVersion *string) *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithAPIVersion adds the aPIVersion to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithContext ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithContext(ctx context.Context) *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithContext adds the context to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithDefaults ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithDefaults() *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithDefaults hydrates default values in the patch metering policy assignment using p a t c h 2 params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithHTTPClient ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithHTTPClient(client *http.Client) *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithHTTPClient adds the HTTPClient to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithID ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithID(id strfmt.UUID) *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithID adds the id to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithMeteringPolicyAssignment ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithMeteringPolicyAssignment(meteringPolicyAssignment *models.MeteringPolicyAssignment) *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithMeteringPolicyAssignment adds the meteringPolicyAssignment to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WithTimeout ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WithTimeout(timeout time.Duration) *PatchMeteringPolicyAssignmentUsingPATCH2Params
WithTimeout adds the timeout to the patch metering policy assignment using p a t c h 2 params
func (*PatchMeteringPolicyAssignmentUsingPATCH2Params) WriteToRequest ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchMeteringPolicyAssignmentUsingPATCH2Reader ¶ added in v0.4.0
type PatchMeteringPolicyAssignmentUsingPATCH2Reader struct {
// contains filtered or unexported fields
}
PatchMeteringPolicyAssignmentUsingPATCH2Reader is a Reader for the PatchMeteringPolicyAssignmentUsingPATCH2 structure.
func (*PatchMeteringPolicyAssignmentUsingPATCH2Reader) ReadResponse ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized ¶ added in v0.4.0
type PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized struct { }
PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPatchMeteringPolicyAssignmentUsingPATCH2Unauthorized ¶ added in v0.4.0
func NewPatchMeteringPolicyAssignmentUsingPATCH2Unauthorized() *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized
NewPatchMeteringPolicyAssignmentUsingPATCH2Unauthorized creates a PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized with default headers values
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) Error ¶ added in v0.4.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) Error() string
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsClientError() bool
IsClientError returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 4xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsCode ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsCode(code int) bool
IsCode returns true when this patch metering policy assignment using p a t c h2 unauthorized response a status code equal to that given
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsRedirect() bool
IsRedirect returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 3xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsServerError() bool
IsServerError returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 5xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) IsSuccess() bool
IsSuccess returns true when this patch metering policy assignment using p a t c h2 unauthorized response has a 2xx status code
func (*PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) String ¶ added in v0.5.0
func (o *PatchMeteringPolicyAssignmentUsingPATCH2Unauthorized) String() string
Source Files ¶
- change_metering_assignment_strategy_using_patch2_parameters.go
- change_metering_assignment_strategy_using_patch2_responses.go
- create_metering_assignment_strategy_using_post2_parameters.go
- create_metering_assignment_strategy_using_post2_responses.go
- create_metering_policy_assignment_using_post2_parameters.go
- create_metering_policy_assignment_using_post2_responses.go
- delete_metering_policy_assignment_using_delete2_parameters.go
- delete_metering_policy_assignment_using_delete2_responses.go
- get_all_metering_policy_assignments_using_get2_parameters.go
- get_all_metering_policy_assignments_using_get2_responses.go
- get_metering_assignment_strategy_using_get2_parameters.go
- get_metering_assignment_strategy_using_get2_responses.go
- get_metering_policy_assignment_using_get2_parameters.go
- get_metering_policy_assignment_using_get2_responses.go
- patch_metering_policy_assignment_using_patch2_parameters.go
- patch_metering_policy_assignment_using_patch2_responses.go
- pricing_card_assignments_client.go