Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteMetadataForRatePlan(params *DeleteMetadataForRatePlanParams) (*DeleteMetadataForRatePlanOK, error)
- func (a *Client) GetAllRatePlans(params *GetAllRatePlansParams) (*GetAllRatePlansOK, error)
- func (a *Client) GetMetadataForRatePlan(params *GetMetadataForRatePlanParams) (*GetMetadataForRatePlanOK, error)
- func (a *Client) GetProductRatePlanByID(params *GetProductRatePlanByIDParams) (*GetProductRatePlanByIDOK, error)
- func (a *Client) GetRatePlanByProduct(params *GetRatePlanByProductParams) (*GetRatePlanByProductOK, error)
- func (a *Client) GetRatePlanByProductAndRatePlan(params *GetRatePlanByProductAndRatePlanParams) (*GetRatePlanByProductAndRatePlanOK, error)
- func (a *Client) SetMetadataForRatePlan(params *SetMetadataForRatePlanParams) (*SetMetadataForRatePlanOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpsertMetadataForRatePlan(params *UpsertMetadataForRatePlanParams) (*UpsertMetadataForRatePlanOK, error)
- type DeleteMetadataForRatePlanDefault
- type DeleteMetadataForRatePlanOK
- type DeleteMetadataForRatePlanParams
- func NewDeleteMetadataForRatePlanParams() *DeleteMetadataForRatePlanParams
- func NewDeleteMetadataForRatePlanParamsWithContext(ctx context.Context) *DeleteMetadataForRatePlanParams
- func NewDeleteMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *DeleteMetadataForRatePlanParams
- func NewDeleteMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *DeleteMetadataForRatePlanParams
- func (o *DeleteMetadataForRatePlanParams) SetContext(ctx context.Context)
- func (o *DeleteMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMetadataForRatePlanParams) SetOrganizations(organizations []string)
- func (o *DeleteMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
- func (o *DeleteMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMetadataForRatePlanParams) WithContext(ctx context.Context) *DeleteMetadataForRatePlanParams
- func (o *DeleteMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *DeleteMetadataForRatePlanParams
- func (o *DeleteMetadataForRatePlanParams) WithOrganizations(organizations []string) *DeleteMetadataForRatePlanParams
- func (o *DeleteMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *DeleteMetadataForRatePlanParams
- func (o *DeleteMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *DeleteMetadataForRatePlanParams
- func (o *DeleteMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMetadataForRatePlanReader
- type GetAllRatePlansDefault
- type GetAllRatePlansOK
- type GetAllRatePlansParams
- func NewGetAllRatePlansParams() *GetAllRatePlansParams
- func NewGetAllRatePlansParamsWithContext(ctx context.Context) *GetAllRatePlansParams
- func NewGetAllRatePlansParamsWithHTTPClient(client *http.Client) *GetAllRatePlansParams
- func NewGetAllRatePlansParamsWithTimeout(timeout time.Duration) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) SetContext(ctx context.Context)
- func (o *GetAllRatePlansParams) SetHTTPClient(client *http.Client)
- func (o *GetAllRatePlansParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetAllRatePlansParams) SetMetadata(metadata *string)
- func (o *GetAllRatePlansParams) SetOffset(offset *int32)
- func (o *GetAllRatePlansParams) SetOrder(order *string)
- func (o *GetAllRatePlansParams) SetOrderBy(orderBy *string)
- func (o *GetAllRatePlansParams) SetOrganizations(organizations []string)
- func (o *GetAllRatePlansParams) SetRecords(records *int32)
- func (o *GetAllRatePlansParams) SetTimeout(timeout time.Duration)
- func (o *GetAllRatePlansParams) WithContext(ctx context.Context) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithHTTPClient(client *http.Client) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithIncludeRetired(includeRetired *bool) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithMetadata(metadata *string) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithOffset(offset *int32) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithOrder(order *string) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithOrderBy(orderBy *string) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithOrganizations(organizations []string) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithRecords(records *int32) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WithTimeout(timeout time.Duration) *GetAllRatePlansParams
- func (o *GetAllRatePlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllRatePlansReader
- type GetMetadataForRatePlanDefault
- type GetMetadataForRatePlanOK
- type GetMetadataForRatePlanParams
- func NewGetMetadataForRatePlanParams() *GetMetadataForRatePlanParams
- func NewGetMetadataForRatePlanParamsWithContext(ctx context.Context) *GetMetadataForRatePlanParams
- func NewGetMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *GetMetadataForRatePlanParams
- func NewGetMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *GetMetadataForRatePlanParams
- func (o *GetMetadataForRatePlanParams) SetContext(ctx context.Context)
- func (o *GetMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
- func (o *GetMetadataForRatePlanParams) SetOrganizations(organizations []string)
- func (o *GetMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
- func (o *GetMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
- func (o *GetMetadataForRatePlanParams) WithContext(ctx context.Context) *GetMetadataForRatePlanParams
- func (o *GetMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *GetMetadataForRatePlanParams
- func (o *GetMetadataForRatePlanParams) WithOrganizations(organizations []string) *GetMetadataForRatePlanParams
- func (o *GetMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *GetMetadataForRatePlanParams
- func (o *GetMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *GetMetadataForRatePlanParams
- func (o *GetMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetadataForRatePlanReader
- type GetProductRatePlanByIDDefault
- type GetProductRatePlanByIDOK
- type GetProductRatePlanByIDParams
- func NewGetProductRatePlanByIDParams() *GetProductRatePlanByIDParams
- func NewGetProductRatePlanByIDParamsWithContext(ctx context.Context) *GetProductRatePlanByIDParams
- func NewGetProductRatePlanByIDParamsWithHTTPClient(client *http.Client) *GetProductRatePlanByIDParams
- func NewGetProductRatePlanByIDParamsWithTimeout(timeout time.Duration) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) SetContext(ctx context.Context)
- func (o *GetProductRatePlanByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetProductRatePlanByIDParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetProductRatePlanByIDParams) SetOffset(offset *int32)
- func (o *GetProductRatePlanByIDParams) SetOrder(order *string)
- func (o *GetProductRatePlanByIDParams) SetOrderBy(orderBy *string)
- func (o *GetProductRatePlanByIDParams) SetOrganizations(organizations []string)
- func (o *GetProductRatePlanByIDParams) SetProductRatePlanID(productRatePlanID string)
- func (o *GetProductRatePlanByIDParams) SetRecords(records *int32)
- func (o *GetProductRatePlanByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetProductRatePlanByIDParams) WithContext(ctx context.Context) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithHTTPClient(client *http.Client) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithIncludeRetired(includeRetired *bool) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithOffset(offset *int32) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithOrder(order *string) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithOrderBy(orderBy *string) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithOrganizations(organizations []string) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithProductRatePlanID(productRatePlanID string) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithRecords(records *int32) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WithTimeout(timeout time.Duration) *GetProductRatePlanByIDParams
- func (o *GetProductRatePlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProductRatePlanByIDReader
- type GetRatePlanByProductAndRatePlanDefault
- type GetRatePlanByProductAndRatePlanOK
- type GetRatePlanByProductAndRatePlanParams
- func NewGetRatePlanByProductAndRatePlanParams() *GetRatePlanByProductAndRatePlanParams
- func NewGetRatePlanByProductAndRatePlanParamsWithContext(ctx context.Context) *GetRatePlanByProductAndRatePlanParams
- func NewGetRatePlanByProductAndRatePlanParamsWithHTTPClient(client *http.Client) *GetRatePlanByProductAndRatePlanParams
- func NewGetRatePlanByProductAndRatePlanParamsWithTimeout(timeout time.Duration) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) SetContext(ctx context.Context)
- func (o *GetRatePlanByProductAndRatePlanParams) SetHTTPClient(client *http.Client)
- func (o *GetRatePlanByProductAndRatePlanParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetRatePlanByProductAndRatePlanParams) SetOffset(offset *int32)
- func (o *GetRatePlanByProductAndRatePlanParams) SetOrder(order *string)
- func (o *GetRatePlanByProductAndRatePlanParams) SetOrderBy(orderBy *string)
- func (o *GetRatePlanByProductAndRatePlanParams) SetOrganizations(organizations []string)
- func (o *GetRatePlanByProductAndRatePlanParams) SetProductID(productID string)
- func (o *GetRatePlanByProductAndRatePlanParams) SetRatePlanID(ratePlanID string)
- func (o *GetRatePlanByProductAndRatePlanParams) SetRecords(records *int32)
- func (o *GetRatePlanByProductAndRatePlanParams) SetTimeout(timeout time.Duration)
- func (o *GetRatePlanByProductAndRatePlanParams) WithContext(ctx context.Context) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithHTTPClient(client *http.Client) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithIncludeRetired(includeRetired *bool) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithOffset(offset *int32) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithOrder(order *string) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithOrderBy(orderBy *string) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithOrganizations(organizations []string) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithProductID(productID string) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithRatePlanID(ratePlanID string) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithRecords(records *int32) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WithTimeout(timeout time.Duration) *GetRatePlanByProductAndRatePlanParams
- func (o *GetRatePlanByProductAndRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRatePlanByProductAndRatePlanReader
- type GetRatePlanByProductDefault
- type GetRatePlanByProductOK
- type GetRatePlanByProductParams
- func NewGetRatePlanByProductParams() *GetRatePlanByProductParams
- func NewGetRatePlanByProductParamsWithContext(ctx context.Context) *GetRatePlanByProductParams
- func NewGetRatePlanByProductParamsWithHTTPClient(client *http.Client) *GetRatePlanByProductParams
- func NewGetRatePlanByProductParamsWithTimeout(timeout time.Duration) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) SetContext(ctx context.Context)
- func (o *GetRatePlanByProductParams) SetHTTPClient(client *http.Client)
- func (o *GetRatePlanByProductParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetRatePlanByProductParams) SetOffset(offset *int32)
- func (o *GetRatePlanByProductParams) SetOrder(order *string)
- func (o *GetRatePlanByProductParams) SetOrderBy(orderBy *string)
- func (o *GetRatePlanByProductParams) SetOrganizations(organizations []string)
- func (o *GetRatePlanByProductParams) SetProductID(productID string)
- func (o *GetRatePlanByProductParams) SetRecords(records *int32)
- func (o *GetRatePlanByProductParams) SetTimeout(timeout time.Duration)
- func (o *GetRatePlanByProductParams) WithContext(ctx context.Context) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithHTTPClient(client *http.Client) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithIncludeRetired(includeRetired *bool) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithOffset(offset *int32) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithOrder(order *string) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithOrderBy(orderBy *string) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithOrganizations(organizations []string) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithProductID(productID string) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithRecords(records *int32) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WithTimeout(timeout time.Duration) *GetRatePlanByProductParams
- func (o *GetRatePlanByProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRatePlanByProductReader
- type SetMetadataForRatePlanDefault
- type SetMetadataForRatePlanOK
- type SetMetadataForRatePlanParams
- func NewSetMetadataForRatePlanParams() *SetMetadataForRatePlanParams
- func NewSetMetadataForRatePlanParamsWithContext(ctx context.Context) *SetMetadataForRatePlanParams
- func NewSetMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *SetMetadataForRatePlanParams
- func NewSetMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) SetContext(ctx context.Context)
- func (o *SetMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
- func (o *SetMetadataForRatePlanParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *SetMetadataForRatePlanParams) SetOrganizations(organizations []string)
- func (o *SetMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
- func (o *SetMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
- func (o *SetMetadataForRatePlanParams) WithContext(ctx context.Context) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) WithOrganizations(organizations []string) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *SetMetadataForRatePlanParams
- func (o *SetMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMetadataForRatePlanReader
- type UpsertMetadataForRatePlanDefault
- type UpsertMetadataForRatePlanOK
- type UpsertMetadataForRatePlanParams
- func NewUpsertMetadataForRatePlanParams() *UpsertMetadataForRatePlanParams
- func NewUpsertMetadataForRatePlanParamsWithContext(ctx context.Context) *UpsertMetadataForRatePlanParams
- func NewUpsertMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *UpsertMetadataForRatePlanParams
- func NewUpsertMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) SetContext(ctx context.Context)
- func (o *UpsertMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
- func (o *UpsertMetadataForRatePlanParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *UpsertMetadataForRatePlanParams) SetOrganizations(organizations []string)
- func (o *UpsertMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
- func (o *UpsertMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
- func (o *UpsertMetadataForRatePlanParams) WithContext(ctx context.Context) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) WithOrganizations(organizations []string) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *UpsertMetadataForRatePlanParams
- func (o *UpsertMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpsertMetadataForRatePlanReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for product rate plans API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new product rate plans API client.
func (*Client) DeleteMetadataForRatePlan ¶
func (a *Client) DeleteMetadataForRatePlan(params *DeleteMetadataForRatePlanParams) (*DeleteMetadataForRatePlanOK, error)
DeleteMetadataForRatePlan removes any associated metadata
{"nickname":"Clear metadata from rate-plan","request" :"deleteRatePlanMetadataRequest.html","response":"deleteRatePlanMetadataResponse.html"}
func (*Client) GetAllRatePlans ¶
func (a *Client) GetAllRatePlans(params *GetAllRatePlansParams) (*GetAllRatePlansOK, error)
GetAllRatePlans returns a collection of product rate plans by default 10 values are returned records are returned in natural order
{"nickname":"Get all rate-plans","response":"getPRPAll.html"}
func (*Client) GetMetadataForRatePlan ¶
func (a *Client) GetMetadataForRatePlan(params *GetMetadataForRatePlanParams) (*GetMetadataForRatePlanOK, error)
GetMetadataForRatePlan retrieves any associated metadata
{"nickname":"Retrieve metadata on rate-plan","request":"getRatePlanMetadataRequest.html","response":"getRatePlanMetadataResponse.html"}
func (*Client) GetProductRatePlanByID ¶
func (a *Client) GetProductRatePlanByID(params *GetProductRatePlanByIDParams) (*GetProductRatePlanByIDOK, error)
GetProductRatePlanByID returns product rate plans specified by the product rate plan id or name
{"nickname":"Retrieve an existing rate-plan","response":"getPRPByID.html"}
func (*Client) GetRatePlanByProduct ¶
func (a *Client) GetRatePlanByProduct(params *GetRatePlanByProductParams) (*GetRatePlanByProductOK, error)
GetRatePlanByProduct returns a collection of product rate plans specified by the product ID parameter by default 10 values are returned records are returned in natural order
{"nickname":"Retrieve by product","response":"getPRPByProductID.html"}
func (*Client) GetRatePlanByProductAndRatePlan ¶
func (a *Client) GetRatePlanByProductAndRatePlan(params *GetRatePlanByProductAndRatePlanParams) (*GetRatePlanByProductAndRatePlanOK, error)
GetRatePlanByProductAndRatePlan returns a collection of product rate plans specified by the product ID parameter by default 10 values are returned records are returned in natural order
{"nickname":"Retrieve by name","response":"getPRPByNameAndProduct.html"}
func (*Client) SetMetadataForRatePlan ¶
func (a *Client) SetMetadataForRatePlan(params *SetMetadataForRatePlanParams) (*SetMetadataForRatePlanOK, error)
SetMetadataForRatePlan removes any existing metadata keys and create the provided data
{"nickname":"Set metadata on rate-plan","request":"setRatePlanMetadataRequest.html","response":"setRatePlanMetadataResponse.html"}
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpsertMetadataForRatePlan ¶
func (a *Client) UpsertMetadataForRatePlan(params *UpsertMetadataForRatePlanParams) (*UpsertMetadataForRatePlanOK, error)
UpsertMetadataForRatePlan updates any existing metadata key values and insert any new key values no keys will be removed
{"nickname":"Upsert metadata on rate-plan","request":"upsertRatePlanMetadataRequest.html","response":"upsertRatePlanMetadataResponse.html"}
type DeleteMetadataForRatePlanDefault ¶
type DeleteMetadataForRatePlanDefault struct { Payload *models.BFError // contains filtered or unexported fields }
DeleteMetadataForRatePlanDefault handles this case with default header values.
error
func NewDeleteMetadataForRatePlanDefault ¶
func NewDeleteMetadataForRatePlanDefault(code int) *DeleteMetadataForRatePlanDefault
NewDeleteMetadataForRatePlanDefault creates a DeleteMetadataForRatePlanDefault with default headers values
func (*DeleteMetadataForRatePlanDefault) Code ¶
func (o *DeleteMetadataForRatePlanDefault) Code() int
Code gets the status code for the delete metadata for rate plan default response
func (*DeleteMetadataForRatePlanDefault) Error ¶
func (o *DeleteMetadataForRatePlanDefault) Error() string
type DeleteMetadataForRatePlanOK ¶
type DeleteMetadataForRatePlanOK struct {
Payload models.DynamicMetadata
}
DeleteMetadataForRatePlanOK handles this case with default header values.
success
func NewDeleteMetadataForRatePlanOK ¶
func NewDeleteMetadataForRatePlanOK() *DeleteMetadataForRatePlanOK
NewDeleteMetadataForRatePlanOK creates a DeleteMetadataForRatePlanOK with default headers values
func (*DeleteMetadataForRatePlanOK) Error ¶
func (o *DeleteMetadataForRatePlanOK) Error() string
type DeleteMetadataForRatePlanParams ¶
type DeleteMetadataForRatePlanParams struct { /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductRatePlanID*/ ProductRatePlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMetadataForRatePlanParams contains all the parameters to send to the API endpoint for the delete metadata for rate plan operation typically these are written to a http.Request
func NewDeleteMetadataForRatePlanParams ¶
func NewDeleteMetadataForRatePlanParams() *DeleteMetadataForRatePlanParams
NewDeleteMetadataForRatePlanParams creates a new DeleteMetadataForRatePlanParams object with the default values initialized.
func NewDeleteMetadataForRatePlanParamsWithContext ¶
func NewDeleteMetadataForRatePlanParamsWithContext(ctx context.Context) *DeleteMetadataForRatePlanParams
NewDeleteMetadataForRatePlanParamsWithContext creates a new DeleteMetadataForRatePlanParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMetadataForRatePlanParamsWithHTTPClient ¶
func NewDeleteMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *DeleteMetadataForRatePlanParams
NewDeleteMetadataForRatePlanParamsWithHTTPClient creates a new DeleteMetadataForRatePlanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMetadataForRatePlanParamsWithTimeout ¶
func NewDeleteMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *DeleteMetadataForRatePlanParams
NewDeleteMetadataForRatePlanParamsWithTimeout creates a new DeleteMetadataForRatePlanParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMetadataForRatePlanParams) SetContext ¶
func (o *DeleteMetadataForRatePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) SetHTTPClient ¶
func (o *DeleteMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) SetOrganizations ¶
func (o *DeleteMetadataForRatePlanParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) SetProductRatePlanID ¶
func (o *DeleteMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
SetProductRatePlanID adds the productRatePlanId to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) SetTimeout ¶
func (o *DeleteMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) WithContext ¶
func (o *DeleteMetadataForRatePlanParams) WithContext(ctx context.Context) *DeleteMetadataForRatePlanParams
WithContext adds the context to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) WithHTTPClient ¶
func (o *DeleteMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *DeleteMetadataForRatePlanParams
WithHTTPClient adds the HTTPClient to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) WithOrganizations ¶
func (o *DeleteMetadataForRatePlanParams) WithOrganizations(organizations []string) *DeleteMetadataForRatePlanParams
WithOrganizations adds the organizations to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) WithProductRatePlanID ¶
func (o *DeleteMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *DeleteMetadataForRatePlanParams
WithProductRatePlanID adds the productRatePlanID to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) WithTimeout ¶
func (o *DeleteMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *DeleteMetadataForRatePlanParams
WithTimeout adds the timeout to the delete metadata for rate plan params
func (*DeleteMetadataForRatePlanParams) WriteToRequest ¶
func (o *DeleteMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMetadataForRatePlanReader ¶
type DeleteMetadataForRatePlanReader struct {
// contains filtered or unexported fields
}
DeleteMetadataForRatePlanReader is a Reader for the DeleteMetadataForRatePlan structure.
func (*DeleteMetadataForRatePlanReader) ReadResponse ¶
func (o *DeleteMetadataForRatePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllRatePlansDefault ¶
type GetAllRatePlansDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetAllRatePlansDefault handles this case with default header values.
error
func NewGetAllRatePlansDefault ¶
func NewGetAllRatePlansDefault(code int) *GetAllRatePlansDefault
NewGetAllRatePlansDefault creates a GetAllRatePlansDefault with default headers values
func (*GetAllRatePlansDefault) Code ¶
func (o *GetAllRatePlansDefault) Code() int
Code gets the status code for the get all rate plans default response
func (*GetAllRatePlansDefault) Error ¶
func (o *GetAllRatePlansDefault) Error() string
type GetAllRatePlansOK ¶
type GetAllRatePlansOK struct {
Payload *models.ProductRatePlanPagedMetadata
}
GetAllRatePlansOK handles this case with default header values.
success
func NewGetAllRatePlansOK ¶
func NewGetAllRatePlansOK() *GetAllRatePlansOK
NewGetAllRatePlansOK creates a GetAllRatePlansOK with default headers values
func (*GetAllRatePlansOK) Error ¶
func (o *GetAllRatePlansOK) Error() string
type GetAllRatePlansParams ¶
type GetAllRatePlansParams struct { /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Metadata*/ Metadata *string /*Offset The offset from the first product-rate-plan to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*Records The maximum number of product-rate-plans to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllRatePlansParams contains all the parameters to send to the API endpoint for the get all rate plans operation typically these are written to a http.Request
func NewGetAllRatePlansParams ¶
func NewGetAllRatePlansParams() *GetAllRatePlansParams
NewGetAllRatePlansParams creates a new GetAllRatePlansParams object with the default values initialized.
func NewGetAllRatePlansParamsWithContext ¶
func NewGetAllRatePlansParamsWithContext(ctx context.Context) *GetAllRatePlansParams
NewGetAllRatePlansParamsWithContext creates a new GetAllRatePlansParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllRatePlansParamsWithHTTPClient ¶
func NewGetAllRatePlansParamsWithHTTPClient(client *http.Client) *GetAllRatePlansParams
NewGetAllRatePlansParamsWithHTTPClient creates a new GetAllRatePlansParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllRatePlansParamsWithTimeout ¶
func NewGetAllRatePlansParamsWithTimeout(timeout time.Duration) *GetAllRatePlansParams
NewGetAllRatePlansParamsWithTimeout creates a new GetAllRatePlansParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllRatePlansParams) SetContext ¶
func (o *GetAllRatePlansParams) SetContext(ctx context.Context)
SetContext adds the context to the get all rate plans params
func (*GetAllRatePlansParams) SetHTTPClient ¶
func (o *GetAllRatePlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all rate plans params
func (*GetAllRatePlansParams) SetIncludeRetired ¶
func (o *GetAllRatePlansParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get all rate plans params
func (*GetAllRatePlansParams) SetMetadata ¶
func (o *GetAllRatePlansParams) SetMetadata(metadata *string)
SetMetadata adds the metadata to the get all rate plans params
func (*GetAllRatePlansParams) SetOffset ¶
func (o *GetAllRatePlansParams) SetOffset(offset *int32)
SetOffset adds the offset to the get all rate plans params
func (*GetAllRatePlansParams) SetOrder ¶
func (o *GetAllRatePlansParams) SetOrder(order *string)
SetOrder adds the order to the get all rate plans params
func (*GetAllRatePlansParams) SetOrderBy ¶
func (o *GetAllRatePlansParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get all rate plans params
func (*GetAllRatePlansParams) SetOrganizations ¶
func (o *GetAllRatePlansParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get all rate plans params
func (*GetAllRatePlansParams) SetRecords ¶
func (o *GetAllRatePlansParams) SetRecords(records *int32)
SetRecords adds the records to the get all rate plans params
func (*GetAllRatePlansParams) SetTimeout ¶
func (o *GetAllRatePlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all rate plans params
func (*GetAllRatePlansParams) WithContext ¶
func (o *GetAllRatePlansParams) WithContext(ctx context.Context) *GetAllRatePlansParams
WithContext adds the context to the get all rate plans params
func (*GetAllRatePlansParams) WithHTTPClient ¶
func (o *GetAllRatePlansParams) WithHTTPClient(client *http.Client) *GetAllRatePlansParams
WithHTTPClient adds the HTTPClient to the get all rate plans params
func (*GetAllRatePlansParams) WithIncludeRetired ¶
func (o *GetAllRatePlansParams) WithIncludeRetired(includeRetired *bool) *GetAllRatePlansParams
WithIncludeRetired adds the includeRetired to the get all rate plans params
func (*GetAllRatePlansParams) WithMetadata ¶
func (o *GetAllRatePlansParams) WithMetadata(metadata *string) *GetAllRatePlansParams
WithMetadata adds the metadata to the get all rate plans params
func (*GetAllRatePlansParams) WithOffset ¶
func (o *GetAllRatePlansParams) WithOffset(offset *int32) *GetAllRatePlansParams
WithOffset adds the offset to the get all rate plans params
func (*GetAllRatePlansParams) WithOrder ¶
func (o *GetAllRatePlansParams) WithOrder(order *string) *GetAllRatePlansParams
WithOrder adds the order to the get all rate plans params
func (*GetAllRatePlansParams) WithOrderBy ¶
func (o *GetAllRatePlansParams) WithOrderBy(orderBy *string) *GetAllRatePlansParams
WithOrderBy adds the orderBy to the get all rate plans params
func (*GetAllRatePlansParams) WithOrganizations ¶
func (o *GetAllRatePlansParams) WithOrganizations(organizations []string) *GetAllRatePlansParams
WithOrganizations adds the organizations to the get all rate plans params
func (*GetAllRatePlansParams) WithRecords ¶
func (o *GetAllRatePlansParams) WithRecords(records *int32) *GetAllRatePlansParams
WithRecords adds the records to the get all rate plans params
func (*GetAllRatePlansParams) WithTimeout ¶
func (o *GetAllRatePlansParams) WithTimeout(timeout time.Duration) *GetAllRatePlansParams
WithTimeout adds the timeout to the get all rate plans params
func (*GetAllRatePlansParams) WriteToRequest ¶
func (o *GetAllRatePlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllRatePlansReader ¶
type GetAllRatePlansReader struct {
// contains filtered or unexported fields
}
GetAllRatePlansReader is a Reader for the GetAllRatePlans structure.
func (*GetAllRatePlansReader) ReadResponse ¶
func (o *GetAllRatePlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMetadataForRatePlanDefault ¶
type GetMetadataForRatePlanDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetMetadataForRatePlanDefault handles this case with default header values.
error
func NewGetMetadataForRatePlanDefault ¶
func NewGetMetadataForRatePlanDefault(code int) *GetMetadataForRatePlanDefault
NewGetMetadataForRatePlanDefault creates a GetMetadataForRatePlanDefault with default headers values
func (*GetMetadataForRatePlanDefault) Code ¶
func (o *GetMetadataForRatePlanDefault) Code() int
Code gets the status code for the get metadata for rate plan default response
func (*GetMetadataForRatePlanDefault) Error ¶
func (o *GetMetadataForRatePlanDefault) Error() string
type GetMetadataForRatePlanOK ¶
type GetMetadataForRatePlanOK struct {
Payload models.DynamicMetadata
}
GetMetadataForRatePlanOK handles this case with default header values.
success
func NewGetMetadataForRatePlanOK ¶
func NewGetMetadataForRatePlanOK() *GetMetadataForRatePlanOK
NewGetMetadataForRatePlanOK creates a GetMetadataForRatePlanOK with default headers values
func (*GetMetadataForRatePlanOK) Error ¶
func (o *GetMetadataForRatePlanOK) Error() string
type GetMetadataForRatePlanParams ¶
type GetMetadataForRatePlanParams struct { /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductRatePlanID*/ ProductRatePlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetadataForRatePlanParams contains all the parameters to send to the API endpoint for the get metadata for rate plan operation typically these are written to a http.Request
func NewGetMetadataForRatePlanParams ¶
func NewGetMetadataForRatePlanParams() *GetMetadataForRatePlanParams
NewGetMetadataForRatePlanParams creates a new GetMetadataForRatePlanParams object with the default values initialized.
func NewGetMetadataForRatePlanParamsWithContext ¶
func NewGetMetadataForRatePlanParamsWithContext(ctx context.Context) *GetMetadataForRatePlanParams
NewGetMetadataForRatePlanParamsWithContext creates a new GetMetadataForRatePlanParams object with the default values initialized, and the ability to set a context for a request
func NewGetMetadataForRatePlanParamsWithHTTPClient ¶
func NewGetMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *GetMetadataForRatePlanParams
NewGetMetadataForRatePlanParamsWithHTTPClient creates a new GetMetadataForRatePlanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMetadataForRatePlanParamsWithTimeout ¶
func NewGetMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *GetMetadataForRatePlanParams
NewGetMetadataForRatePlanParamsWithTimeout creates a new GetMetadataForRatePlanParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMetadataForRatePlanParams) SetContext ¶
func (o *GetMetadataForRatePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) SetHTTPClient ¶
func (o *GetMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) SetOrganizations ¶
func (o *GetMetadataForRatePlanParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) SetProductRatePlanID ¶
func (o *GetMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
SetProductRatePlanID adds the productRatePlanId to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) SetTimeout ¶
func (o *GetMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) WithContext ¶
func (o *GetMetadataForRatePlanParams) WithContext(ctx context.Context) *GetMetadataForRatePlanParams
WithContext adds the context to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) WithHTTPClient ¶
func (o *GetMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *GetMetadataForRatePlanParams
WithHTTPClient adds the HTTPClient to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) WithOrganizations ¶
func (o *GetMetadataForRatePlanParams) WithOrganizations(organizations []string) *GetMetadataForRatePlanParams
WithOrganizations adds the organizations to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) WithProductRatePlanID ¶
func (o *GetMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *GetMetadataForRatePlanParams
WithProductRatePlanID adds the productRatePlanID to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) WithTimeout ¶
func (o *GetMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *GetMetadataForRatePlanParams
WithTimeout adds the timeout to the get metadata for rate plan params
func (*GetMetadataForRatePlanParams) WriteToRequest ¶
func (o *GetMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetadataForRatePlanReader ¶
type GetMetadataForRatePlanReader struct {
// contains filtered or unexported fields
}
GetMetadataForRatePlanReader is a Reader for the GetMetadataForRatePlan structure.
func (*GetMetadataForRatePlanReader) ReadResponse ¶
func (o *GetMetadataForRatePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProductRatePlanByIDDefault ¶
type GetProductRatePlanByIDDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetProductRatePlanByIDDefault handles this case with default header values.
error
func NewGetProductRatePlanByIDDefault ¶
func NewGetProductRatePlanByIDDefault(code int) *GetProductRatePlanByIDDefault
NewGetProductRatePlanByIDDefault creates a GetProductRatePlanByIDDefault with default headers values
func (*GetProductRatePlanByIDDefault) Code ¶
func (o *GetProductRatePlanByIDDefault) Code() int
Code gets the status code for the get product rate plan by ID default response
func (*GetProductRatePlanByIDDefault) Error ¶
func (o *GetProductRatePlanByIDDefault) Error() string
type GetProductRatePlanByIDOK ¶
type GetProductRatePlanByIDOK struct {
Payload *models.ProductRatePlanPagedMetadata
}
GetProductRatePlanByIDOK handles this case with default header values.
success
func NewGetProductRatePlanByIDOK ¶
func NewGetProductRatePlanByIDOK() *GetProductRatePlanByIDOK
NewGetProductRatePlanByIDOK creates a GetProductRatePlanByIDOK with default headers values
func (*GetProductRatePlanByIDOK) Error ¶
func (o *GetProductRatePlanByIDOK) Error() string
type GetProductRatePlanByIDParams ¶
type GetProductRatePlanByIDParams struct { /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Offset The offset from the first product-rate-plan to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductRatePlanID id or name of the product-rate-plan. */ ProductRatePlanID string /*Records The maximum number of product-rate-plans to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProductRatePlanByIDParams contains all the parameters to send to the API endpoint for the get product rate plan by ID operation typically these are written to a http.Request
func NewGetProductRatePlanByIDParams ¶
func NewGetProductRatePlanByIDParams() *GetProductRatePlanByIDParams
NewGetProductRatePlanByIDParams creates a new GetProductRatePlanByIDParams object with the default values initialized.
func NewGetProductRatePlanByIDParamsWithContext ¶
func NewGetProductRatePlanByIDParamsWithContext(ctx context.Context) *GetProductRatePlanByIDParams
NewGetProductRatePlanByIDParamsWithContext creates a new GetProductRatePlanByIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetProductRatePlanByIDParamsWithHTTPClient ¶
func NewGetProductRatePlanByIDParamsWithHTTPClient(client *http.Client) *GetProductRatePlanByIDParams
NewGetProductRatePlanByIDParamsWithHTTPClient creates a new GetProductRatePlanByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProductRatePlanByIDParamsWithTimeout ¶
func NewGetProductRatePlanByIDParamsWithTimeout(timeout time.Duration) *GetProductRatePlanByIDParams
NewGetProductRatePlanByIDParamsWithTimeout creates a new GetProductRatePlanByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProductRatePlanByIDParams) SetContext ¶
func (o *GetProductRatePlanByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetHTTPClient ¶
func (o *GetProductRatePlanByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetIncludeRetired ¶
func (o *GetProductRatePlanByIDParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetOffset ¶
func (o *GetProductRatePlanByIDParams) SetOffset(offset *int32)
SetOffset adds the offset to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetOrder ¶
func (o *GetProductRatePlanByIDParams) SetOrder(order *string)
SetOrder adds the order to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetOrderBy ¶
func (o *GetProductRatePlanByIDParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetOrganizations ¶
func (o *GetProductRatePlanByIDParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetProductRatePlanID ¶
func (o *GetProductRatePlanByIDParams) SetProductRatePlanID(productRatePlanID string)
SetProductRatePlanID adds the productRatePlanId to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetRecords ¶
func (o *GetProductRatePlanByIDParams) SetRecords(records *int32)
SetRecords adds the records to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) SetTimeout ¶
func (o *GetProductRatePlanByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithContext ¶
func (o *GetProductRatePlanByIDParams) WithContext(ctx context.Context) *GetProductRatePlanByIDParams
WithContext adds the context to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithHTTPClient ¶
func (o *GetProductRatePlanByIDParams) WithHTTPClient(client *http.Client) *GetProductRatePlanByIDParams
WithHTTPClient adds the HTTPClient to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithIncludeRetired ¶
func (o *GetProductRatePlanByIDParams) WithIncludeRetired(includeRetired *bool) *GetProductRatePlanByIDParams
WithIncludeRetired adds the includeRetired to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithOffset ¶
func (o *GetProductRatePlanByIDParams) WithOffset(offset *int32) *GetProductRatePlanByIDParams
WithOffset adds the offset to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithOrder ¶
func (o *GetProductRatePlanByIDParams) WithOrder(order *string) *GetProductRatePlanByIDParams
WithOrder adds the order to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithOrderBy ¶
func (o *GetProductRatePlanByIDParams) WithOrderBy(orderBy *string) *GetProductRatePlanByIDParams
WithOrderBy adds the orderBy to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithOrganizations ¶
func (o *GetProductRatePlanByIDParams) WithOrganizations(organizations []string) *GetProductRatePlanByIDParams
WithOrganizations adds the organizations to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithProductRatePlanID ¶
func (o *GetProductRatePlanByIDParams) WithProductRatePlanID(productRatePlanID string) *GetProductRatePlanByIDParams
WithProductRatePlanID adds the productRatePlanID to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithRecords ¶
func (o *GetProductRatePlanByIDParams) WithRecords(records *int32) *GetProductRatePlanByIDParams
WithRecords adds the records to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WithTimeout ¶
func (o *GetProductRatePlanByIDParams) WithTimeout(timeout time.Duration) *GetProductRatePlanByIDParams
WithTimeout adds the timeout to the get product rate plan by ID params
func (*GetProductRatePlanByIDParams) WriteToRequest ¶
func (o *GetProductRatePlanByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductRatePlanByIDReader ¶
type GetProductRatePlanByIDReader struct {
// contains filtered or unexported fields
}
GetProductRatePlanByIDReader is a Reader for the GetProductRatePlanByID structure.
func (*GetProductRatePlanByIDReader) ReadResponse ¶
func (o *GetProductRatePlanByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRatePlanByProductAndRatePlanDefault ¶
type GetRatePlanByProductAndRatePlanDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetRatePlanByProductAndRatePlanDefault handles this case with default header values.
error
func NewGetRatePlanByProductAndRatePlanDefault ¶
func NewGetRatePlanByProductAndRatePlanDefault(code int) *GetRatePlanByProductAndRatePlanDefault
NewGetRatePlanByProductAndRatePlanDefault creates a GetRatePlanByProductAndRatePlanDefault with default headers values
func (*GetRatePlanByProductAndRatePlanDefault) Code ¶
func (o *GetRatePlanByProductAndRatePlanDefault) Code() int
Code gets the status code for the get rate plan by product and rate plan default response
func (*GetRatePlanByProductAndRatePlanDefault) Error ¶
func (o *GetRatePlanByProductAndRatePlanDefault) Error() string
type GetRatePlanByProductAndRatePlanOK ¶
type GetRatePlanByProductAndRatePlanOK struct {
Payload *models.ProductRatePlanPagedMetadata
}
GetRatePlanByProductAndRatePlanOK handles this case with default header values.
success
func NewGetRatePlanByProductAndRatePlanOK ¶
func NewGetRatePlanByProductAndRatePlanOK() *GetRatePlanByProductAndRatePlanOK
NewGetRatePlanByProductAndRatePlanOK creates a GetRatePlanByProductAndRatePlanOK with default headers values
func (*GetRatePlanByProductAndRatePlanOK) Error ¶
func (o *GetRatePlanByProductAndRatePlanOK) Error() string
type GetRatePlanByProductAndRatePlanParams ¶
type GetRatePlanByProductAndRatePlanParams struct { /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Offset The offset from the first product-rate-plan to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductID*/ ProductID string /*RatePlanID*/ RatePlanID string /*Records The maximum number of product-rate-plans to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRatePlanByProductAndRatePlanParams contains all the parameters to send to the API endpoint for the get rate plan by product and rate plan operation typically these are written to a http.Request
func NewGetRatePlanByProductAndRatePlanParams ¶
func NewGetRatePlanByProductAndRatePlanParams() *GetRatePlanByProductAndRatePlanParams
NewGetRatePlanByProductAndRatePlanParams creates a new GetRatePlanByProductAndRatePlanParams object with the default values initialized.
func NewGetRatePlanByProductAndRatePlanParamsWithContext ¶
func NewGetRatePlanByProductAndRatePlanParamsWithContext(ctx context.Context) *GetRatePlanByProductAndRatePlanParams
NewGetRatePlanByProductAndRatePlanParamsWithContext creates a new GetRatePlanByProductAndRatePlanParams object with the default values initialized, and the ability to set a context for a request
func NewGetRatePlanByProductAndRatePlanParamsWithHTTPClient ¶
func NewGetRatePlanByProductAndRatePlanParamsWithHTTPClient(client *http.Client) *GetRatePlanByProductAndRatePlanParams
NewGetRatePlanByProductAndRatePlanParamsWithHTTPClient creates a new GetRatePlanByProductAndRatePlanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRatePlanByProductAndRatePlanParamsWithTimeout ¶
func NewGetRatePlanByProductAndRatePlanParamsWithTimeout(timeout time.Duration) *GetRatePlanByProductAndRatePlanParams
NewGetRatePlanByProductAndRatePlanParamsWithTimeout creates a new GetRatePlanByProductAndRatePlanParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRatePlanByProductAndRatePlanParams) SetContext ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetHTTPClient ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetIncludeRetired ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetOffset ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetOffset(offset *int32)
SetOffset adds the offset to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetOrder ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetOrder(order *string)
SetOrder adds the order to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetOrderBy ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetOrganizations ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetProductID ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetProductID(productID string)
SetProductID adds the productId to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetRatePlanID ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetRatePlanID(ratePlanID string)
SetRatePlanID adds the ratePlanId to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetRecords ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetRecords(records *int32)
SetRecords adds the records to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) SetTimeout ¶
func (o *GetRatePlanByProductAndRatePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithContext ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithContext(ctx context.Context) *GetRatePlanByProductAndRatePlanParams
WithContext adds the context to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithHTTPClient ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithHTTPClient(client *http.Client) *GetRatePlanByProductAndRatePlanParams
WithHTTPClient adds the HTTPClient to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithIncludeRetired ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithIncludeRetired(includeRetired *bool) *GetRatePlanByProductAndRatePlanParams
WithIncludeRetired adds the includeRetired to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithOffset ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithOffset(offset *int32) *GetRatePlanByProductAndRatePlanParams
WithOffset adds the offset to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithOrder ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithOrder(order *string) *GetRatePlanByProductAndRatePlanParams
WithOrder adds the order to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithOrderBy ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithOrderBy(orderBy *string) *GetRatePlanByProductAndRatePlanParams
WithOrderBy adds the orderBy to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithOrganizations ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithOrganizations(organizations []string) *GetRatePlanByProductAndRatePlanParams
WithOrganizations adds the organizations to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithProductID ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithProductID(productID string) *GetRatePlanByProductAndRatePlanParams
WithProductID adds the productID to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithRatePlanID ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithRatePlanID(ratePlanID string) *GetRatePlanByProductAndRatePlanParams
WithRatePlanID adds the ratePlanID to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithRecords ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithRecords(records *int32) *GetRatePlanByProductAndRatePlanParams
WithRecords adds the records to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WithTimeout ¶
func (o *GetRatePlanByProductAndRatePlanParams) WithTimeout(timeout time.Duration) *GetRatePlanByProductAndRatePlanParams
WithTimeout adds the timeout to the get rate plan by product and rate plan params
func (*GetRatePlanByProductAndRatePlanParams) WriteToRequest ¶
func (o *GetRatePlanByProductAndRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRatePlanByProductAndRatePlanReader ¶
type GetRatePlanByProductAndRatePlanReader struct {
// contains filtered or unexported fields
}
GetRatePlanByProductAndRatePlanReader is a Reader for the GetRatePlanByProductAndRatePlan structure.
func (*GetRatePlanByProductAndRatePlanReader) ReadResponse ¶
func (o *GetRatePlanByProductAndRatePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRatePlanByProductDefault ¶
type GetRatePlanByProductDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetRatePlanByProductDefault handles this case with default header values.
error
func NewGetRatePlanByProductDefault ¶
func NewGetRatePlanByProductDefault(code int) *GetRatePlanByProductDefault
NewGetRatePlanByProductDefault creates a GetRatePlanByProductDefault with default headers values
func (*GetRatePlanByProductDefault) Code ¶
func (o *GetRatePlanByProductDefault) Code() int
Code gets the status code for the get rate plan by product default response
func (*GetRatePlanByProductDefault) Error ¶
func (o *GetRatePlanByProductDefault) Error() string
type GetRatePlanByProductOK ¶
type GetRatePlanByProductOK struct {
Payload *models.ProductRatePlanPagedMetadata
}
GetRatePlanByProductOK handles this case with default header values.
success
func NewGetRatePlanByProductOK ¶
func NewGetRatePlanByProductOK() *GetRatePlanByProductOK
NewGetRatePlanByProductOK creates a GetRatePlanByProductOK with default headers values
func (*GetRatePlanByProductOK) Error ¶
func (o *GetRatePlanByProductOK) Error() string
type GetRatePlanByProductParams ¶
type GetRatePlanByProductParams struct { /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Offset The offset from the first product-rate-plan to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductID*/ ProductID string /*Records The maximum number of product-rate-plans to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRatePlanByProductParams contains all the parameters to send to the API endpoint for the get rate plan by product operation typically these are written to a http.Request
func NewGetRatePlanByProductParams ¶
func NewGetRatePlanByProductParams() *GetRatePlanByProductParams
NewGetRatePlanByProductParams creates a new GetRatePlanByProductParams object with the default values initialized.
func NewGetRatePlanByProductParamsWithContext ¶
func NewGetRatePlanByProductParamsWithContext(ctx context.Context) *GetRatePlanByProductParams
NewGetRatePlanByProductParamsWithContext creates a new GetRatePlanByProductParams object with the default values initialized, and the ability to set a context for a request
func NewGetRatePlanByProductParamsWithHTTPClient ¶
func NewGetRatePlanByProductParamsWithHTTPClient(client *http.Client) *GetRatePlanByProductParams
NewGetRatePlanByProductParamsWithHTTPClient creates a new GetRatePlanByProductParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRatePlanByProductParamsWithTimeout ¶
func NewGetRatePlanByProductParamsWithTimeout(timeout time.Duration) *GetRatePlanByProductParams
NewGetRatePlanByProductParamsWithTimeout creates a new GetRatePlanByProductParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRatePlanByProductParams) SetContext ¶
func (o *GetRatePlanByProductParams) SetContext(ctx context.Context)
SetContext adds the context to the get rate plan by product params
func (*GetRatePlanByProductParams) SetHTTPClient ¶
func (o *GetRatePlanByProductParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rate plan by product params
func (*GetRatePlanByProductParams) SetIncludeRetired ¶
func (o *GetRatePlanByProductParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get rate plan by product params
func (*GetRatePlanByProductParams) SetOffset ¶
func (o *GetRatePlanByProductParams) SetOffset(offset *int32)
SetOffset adds the offset to the get rate plan by product params
func (*GetRatePlanByProductParams) SetOrder ¶
func (o *GetRatePlanByProductParams) SetOrder(order *string)
SetOrder adds the order to the get rate plan by product params
func (*GetRatePlanByProductParams) SetOrderBy ¶
func (o *GetRatePlanByProductParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get rate plan by product params
func (*GetRatePlanByProductParams) SetOrganizations ¶
func (o *GetRatePlanByProductParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get rate plan by product params
func (*GetRatePlanByProductParams) SetProductID ¶
func (o *GetRatePlanByProductParams) SetProductID(productID string)
SetProductID adds the productId to the get rate plan by product params
func (*GetRatePlanByProductParams) SetRecords ¶
func (o *GetRatePlanByProductParams) SetRecords(records *int32)
SetRecords adds the records to the get rate plan by product params
func (*GetRatePlanByProductParams) SetTimeout ¶
func (o *GetRatePlanByProductParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rate plan by product params
func (*GetRatePlanByProductParams) WithContext ¶
func (o *GetRatePlanByProductParams) WithContext(ctx context.Context) *GetRatePlanByProductParams
WithContext adds the context to the get rate plan by product params
func (*GetRatePlanByProductParams) WithHTTPClient ¶
func (o *GetRatePlanByProductParams) WithHTTPClient(client *http.Client) *GetRatePlanByProductParams
WithHTTPClient adds the HTTPClient to the get rate plan by product params
func (*GetRatePlanByProductParams) WithIncludeRetired ¶
func (o *GetRatePlanByProductParams) WithIncludeRetired(includeRetired *bool) *GetRatePlanByProductParams
WithIncludeRetired adds the includeRetired to the get rate plan by product params
func (*GetRatePlanByProductParams) WithOffset ¶
func (o *GetRatePlanByProductParams) WithOffset(offset *int32) *GetRatePlanByProductParams
WithOffset adds the offset to the get rate plan by product params
func (*GetRatePlanByProductParams) WithOrder ¶
func (o *GetRatePlanByProductParams) WithOrder(order *string) *GetRatePlanByProductParams
WithOrder adds the order to the get rate plan by product params
func (*GetRatePlanByProductParams) WithOrderBy ¶
func (o *GetRatePlanByProductParams) WithOrderBy(orderBy *string) *GetRatePlanByProductParams
WithOrderBy adds the orderBy to the get rate plan by product params
func (*GetRatePlanByProductParams) WithOrganizations ¶
func (o *GetRatePlanByProductParams) WithOrganizations(organizations []string) *GetRatePlanByProductParams
WithOrganizations adds the organizations to the get rate plan by product params
func (*GetRatePlanByProductParams) WithProductID ¶
func (o *GetRatePlanByProductParams) WithProductID(productID string) *GetRatePlanByProductParams
WithProductID adds the productID to the get rate plan by product params
func (*GetRatePlanByProductParams) WithRecords ¶
func (o *GetRatePlanByProductParams) WithRecords(records *int32) *GetRatePlanByProductParams
WithRecords adds the records to the get rate plan by product params
func (*GetRatePlanByProductParams) WithTimeout ¶
func (o *GetRatePlanByProductParams) WithTimeout(timeout time.Duration) *GetRatePlanByProductParams
WithTimeout adds the timeout to the get rate plan by product params
func (*GetRatePlanByProductParams) WriteToRequest ¶
func (o *GetRatePlanByProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRatePlanByProductReader ¶
type GetRatePlanByProductReader struct {
// contains filtered or unexported fields
}
GetRatePlanByProductReader is a Reader for the GetRatePlanByProduct structure.
func (*GetRatePlanByProductReader) ReadResponse ¶
func (o *GetRatePlanByProductReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetMetadataForRatePlanDefault ¶
type SetMetadataForRatePlanDefault struct { Payload *models.BFError // contains filtered or unexported fields }
SetMetadataForRatePlanDefault handles this case with default header values.
error
func NewSetMetadataForRatePlanDefault ¶
func NewSetMetadataForRatePlanDefault(code int) *SetMetadataForRatePlanDefault
NewSetMetadataForRatePlanDefault creates a SetMetadataForRatePlanDefault with default headers values
func (*SetMetadataForRatePlanDefault) Code ¶
func (o *SetMetadataForRatePlanDefault) Code() int
Code gets the status code for the set metadata for rate plan default response
func (*SetMetadataForRatePlanDefault) Error ¶
func (o *SetMetadataForRatePlanDefault) Error() string
type SetMetadataForRatePlanOK ¶
type SetMetadataForRatePlanOK struct {
Payload models.DynamicMetadata
}
SetMetadataForRatePlanOK handles this case with default header values.
success
func NewSetMetadataForRatePlanOK ¶
func NewSetMetadataForRatePlanOK() *SetMetadataForRatePlanOK
NewSetMetadataForRatePlanOK creates a SetMetadataForRatePlanOK with default headers values
func (*SetMetadataForRatePlanOK) Error ¶
func (o *SetMetadataForRatePlanOK) Error() string
type SetMetadataForRatePlanParams ¶
type SetMetadataForRatePlanParams struct { /*Metadata*/ Metadata models.DynamicMetadata /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductRatePlanID*/ ProductRatePlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetMetadataForRatePlanParams contains all the parameters to send to the API endpoint for the set metadata for rate plan operation typically these are written to a http.Request
func NewSetMetadataForRatePlanParams ¶
func NewSetMetadataForRatePlanParams() *SetMetadataForRatePlanParams
NewSetMetadataForRatePlanParams creates a new SetMetadataForRatePlanParams object with the default values initialized.
func NewSetMetadataForRatePlanParamsWithContext ¶
func NewSetMetadataForRatePlanParamsWithContext(ctx context.Context) *SetMetadataForRatePlanParams
NewSetMetadataForRatePlanParamsWithContext creates a new SetMetadataForRatePlanParams object with the default values initialized, and the ability to set a context for a request
func NewSetMetadataForRatePlanParamsWithHTTPClient ¶
func NewSetMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *SetMetadataForRatePlanParams
NewSetMetadataForRatePlanParamsWithHTTPClient creates a new SetMetadataForRatePlanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetMetadataForRatePlanParamsWithTimeout ¶
func NewSetMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *SetMetadataForRatePlanParams
NewSetMetadataForRatePlanParamsWithTimeout creates a new SetMetadataForRatePlanParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetMetadataForRatePlanParams) SetContext ¶
func (o *SetMetadataForRatePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) SetHTTPClient ¶
func (o *SetMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) SetMetadata ¶
func (o *SetMetadataForRatePlanParams) SetMetadata(metadata models.DynamicMetadata)
SetMetadata adds the metadata to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) SetOrganizations ¶
func (o *SetMetadataForRatePlanParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) SetProductRatePlanID ¶
func (o *SetMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
SetProductRatePlanID adds the productRatePlanId to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) SetTimeout ¶
func (o *SetMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WithContext ¶
func (o *SetMetadataForRatePlanParams) WithContext(ctx context.Context) *SetMetadataForRatePlanParams
WithContext adds the context to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WithHTTPClient ¶
func (o *SetMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *SetMetadataForRatePlanParams
WithHTTPClient adds the HTTPClient to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WithMetadata ¶
func (o *SetMetadataForRatePlanParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForRatePlanParams
WithMetadata adds the metadata to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WithOrganizations ¶
func (o *SetMetadataForRatePlanParams) WithOrganizations(organizations []string) *SetMetadataForRatePlanParams
WithOrganizations adds the organizations to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WithProductRatePlanID ¶
func (o *SetMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *SetMetadataForRatePlanParams
WithProductRatePlanID adds the productRatePlanID to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WithTimeout ¶
func (o *SetMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *SetMetadataForRatePlanParams
WithTimeout adds the timeout to the set metadata for rate plan params
func (*SetMetadataForRatePlanParams) WriteToRequest ¶
func (o *SetMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetMetadataForRatePlanReader ¶
type SetMetadataForRatePlanReader struct {
// contains filtered or unexported fields
}
SetMetadataForRatePlanReader is a Reader for the SetMetadataForRatePlan structure.
func (*SetMetadataForRatePlanReader) ReadResponse ¶
func (o *SetMetadataForRatePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpsertMetadataForRatePlanDefault ¶
type UpsertMetadataForRatePlanDefault struct { Payload *models.BFError // contains filtered or unexported fields }
UpsertMetadataForRatePlanDefault handles this case with default header values.
error
func NewUpsertMetadataForRatePlanDefault ¶
func NewUpsertMetadataForRatePlanDefault(code int) *UpsertMetadataForRatePlanDefault
NewUpsertMetadataForRatePlanDefault creates a UpsertMetadataForRatePlanDefault with default headers values
func (*UpsertMetadataForRatePlanDefault) Code ¶
func (o *UpsertMetadataForRatePlanDefault) Code() int
Code gets the status code for the upsert metadata for rate plan default response
func (*UpsertMetadataForRatePlanDefault) Error ¶
func (o *UpsertMetadataForRatePlanDefault) Error() string
type UpsertMetadataForRatePlanOK ¶
type UpsertMetadataForRatePlanOK struct {
Payload models.DynamicMetadata
}
UpsertMetadataForRatePlanOK handles this case with default header values.
success
func NewUpsertMetadataForRatePlanOK ¶
func NewUpsertMetadataForRatePlanOK() *UpsertMetadataForRatePlanOK
NewUpsertMetadataForRatePlanOK creates a UpsertMetadataForRatePlanOK with default headers values
func (*UpsertMetadataForRatePlanOK) Error ¶
func (o *UpsertMetadataForRatePlanOK) Error() string
type UpsertMetadataForRatePlanParams ¶
type UpsertMetadataForRatePlanParams struct { /*Metadata*/ Metadata models.DynamicMetadata /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductRatePlanID*/ ProductRatePlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpsertMetadataForRatePlanParams contains all the parameters to send to the API endpoint for the upsert metadata for rate plan operation typically these are written to a http.Request
func NewUpsertMetadataForRatePlanParams ¶
func NewUpsertMetadataForRatePlanParams() *UpsertMetadataForRatePlanParams
NewUpsertMetadataForRatePlanParams creates a new UpsertMetadataForRatePlanParams object with the default values initialized.
func NewUpsertMetadataForRatePlanParamsWithContext ¶
func NewUpsertMetadataForRatePlanParamsWithContext(ctx context.Context) *UpsertMetadataForRatePlanParams
NewUpsertMetadataForRatePlanParamsWithContext creates a new UpsertMetadataForRatePlanParams object with the default values initialized, and the ability to set a context for a request
func NewUpsertMetadataForRatePlanParamsWithHTTPClient ¶
func NewUpsertMetadataForRatePlanParamsWithHTTPClient(client *http.Client) *UpsertMetadataForRatePlanParams
NewUpsertMetadataForRatePlanParamsWithHTTPClient creates a new UpsertMetadataForRatePlanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpsertMetadataForRatePlanParamsWithTimeout ¶
func NewUpsertMetadataForRatePlanParamsWithTimeout(timeout time.Duration) *UpsertMetadataForRatePlanParams
NewUpsertMetadataForRatePlanParamsWithTimeout creates a new UpsertMetadataForRatePlanParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpsertMetadataForRatePlanParams) SetContext ¶
func (o *UpsertMetadataForRatePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) SetHTTPClient ¶
func (o *UpsertMetadataForRatePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) SetMetadata ¶
func (o *UpsertMetadataForRatePlanParams) SetMetadata(metadata models.DynamicMetadata)
SetMetadata adds the metadata to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) SetOrganizations ¶
func (o *UpsertMetadataForRatePlanParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) SetProductRatePlanID ¶
func (o *UpsertMetadataForRatePlanParams) SetProductRatePlanID(productRatePlanID string)
SetProductRatePlanID adds the productRatePlanId to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) SetTimeout ¶
func (o *UpsertMetadataForRatePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WithContext ¶
func (o *UpsertMetadataForRatePlanParams) WithContext(ctx context.Context) *UpsertMetadataForRatePlanParams
WithContext adds the context to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WithHTTPClient ¶
func (o *UpsertMetadataForRatePlanParams) WithHTTPClient(client *http.Client) *UpsertMetadataForRatePlanParams
WithHTTPClient adds the HTTPClient to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WithMetadata ¶
func (o *UpsertMetadataForRatePlanParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForRatePlanParams
WithMetadata adds the metadata to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WithOrganizations ¶
func (o *UpsertMetadataForRatePlanParams) WithOrganizations(organizations []string) *UpsertMetadataForRatePlanParams
WithOrganizations adds the organizations to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WithProductRatePlanID ¶
func (o *UpsertMetadataForRatePlanParams) WithProductRatePlanID(productRatePlanID string) *UpsertMetadataForRatePlanParams
WithProductRatePlanID adds the productRatePlanID to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WithTimeout ¶
func (o *UpsertMetadataForRatePlanParams) WithTimeout(timeout time.Duration) *UpsertMetadataForRatePlanParams
WithTimeout adds the timeout to the upsert metadata for rate plan params
func (*UpsertMetadataForRatePlanParams) WriteToRequest ¶
func (o *UpsertMetadataForRatePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpsertMetadataForRatePlanReader ¶
type UpsertMetadataForRatePlanReader struct {
// contains filtered or unexported fields
}
UpsertMetadataForRatePlanReader is a Reader for the UpsertMetadataForRatePlan structure.
func (*UpsertMetadataForRatePlanReader) ReadResponse ¶
func (o *UpsertMetadataForRatePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_metadata_for_rate_plan_parameters.go
- delete_metadata_for_rate_plan_responses.go
- get_all_rate_plans_parameters.go
- get_all_rate_plans_responses.go
- get_metadata_for_rate_plan_parameters.go
- get_metadata_for_rate_plan_responses.go
- get_product_rate_plan_by_id_parameters.go
- get_product_rate_plan_by_id_responses.go
- get_rate_plan_by_product_and_rate_plan_parameters.go
- get_rate_plan_by_product_and_rate_plan_responses.go
- get_rate_plan_by_product_parameters.go
- get_rate_plan_by_product_responses.go
- product_rate_plans_client.go
- set_metadata_for_rate_plan_parameters.go
- set_metadata_for_rate_plan_responses.go
- upsert_metadata_for_rate_plan_parameters.go
- upsert_metadata_for_rate_plan_responses.go