product_rate_plans

package
v0.0.0-...-13576d3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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

Code gets the status code for the delete metadata for rate plan default response

func (*DeleteMetadataForRatePlanDefault) Error

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

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

WithContext adds the context to the delete metadata for rate plan params

func (*DeleteMetadataForRatePlanParams) WithHTTPClient

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

WithTimeout adds the timeout to the delete metadata for rate plan params

func (*DeleteMetadataForRatePlanParams) WriteToRequest

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

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

Code gets the status code for the get metadata for rate plan default response

func (*GetMetadataForRatePlanDefault) Error

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

WithContext adds the context to the get metadata for rate plan params

func (*GetMetadataForRatePlanParams) WithHTTPClient

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

WithTimeout adds the timeout to the get metadata for rate plan params

func (*GetMetadataForRatePlanParams) WriteToRequest

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

Code gets the status code for the get product rate plan by ID default response

func (*GetProductRatePlanByIDDefault) Error

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

WithContext adds the context to the get product rate plan by ID params

func (*GetProductRatePlanByIDParams) WithHTTPClient

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

WithOffset adds the offset to the get product rate plan by ID params

func (*GetProductRatePlanByIDParams) WithOrder

WithOrder adds the order to the get product rate plan by ID params

func (*GetProductRatePlanByIDParams) WithOrderBy

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

WithRecords adds the records to the get product rate plan by ID params

func (*GetProductRatePlanByIDParams) WithTimeout

WithTimeout adds the timeout to the get product rate plan by ID params

func (*GetProductRatePlanByIDParams) WriteToRequest

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

Code gets the status code for the get rate plan by product and rate plan default response

func (*GetRatePlanByProductAndRatePlanDefault) Error

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

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

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

WithContext adds the context to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithIncludeRetired

WithIncludeRetired adds the includeRetired to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithOffset

WithOffset adds the offset to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithOrder

WithOrder adds the order to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithOrderBy

WithOrderBy adds the orderBy to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithOrganizations

WithOrganizations adds the organizations to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithProductID

WithProductID adds the productID to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithRatePlanID

WithRatePlanID adds the ratePlanID to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithRecords

WithRecords adds the records to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WithTimeout

WithTimeout adds the timeout to the get rate plan by product and rate plan params

func (*GetRatePlanByProductAndRatePlanParams) WriteToRequest

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

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

WithContext adds the context to the get rate plan by product params

func (*GetRatePlanByProductParams) WithHTTPClient

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

WithOffset adds the offset to the get rate plan by product params

func (*GetRatePlanByProductParams) WithOrder

WithOrder adds the order to the get rate plan by product params

func (*GetRatePlanByProductParams) WithOrderBy

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

WithRecords adds the records to the get rate plan by product params

func (*GetRatePlanByProductParams) WithTimeout

WithTimeout adds the timeout to the get rate plan by product params

func (*GetRatePlanByProductParams) WriteToRequest

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

Code gets the status code for the set metadata for rate plan default response

func (*SetMetadataForRatePlanDefault) Error

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

WithContext adds the context to the set metadata for rate plan params

func (*SetMetadataForRatePlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set metadata for rate plan params

func (*SetMetadataForRatePlanParams) WithMetadata

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

WithTimeout adds the timeout to the set metadata for rate plan params

func (*SetMetadataForRatePlanParams) WriteToRequest

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

Code gets the status code for the upsert metadata for rate plan default response

func (*UpsertMetadataForRatePlanDefault) Error

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

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

WithContext adds the context to the upsert metadata for rate plan params

func (*UpsertMetadataForRatePlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upsert metadata for rate plan params

func (*UpsertMetadataForRatePlanParams) WithMetadata

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

WithTimeout adds the timeout to the upsert metadata for rate plan params

func (*UpsertMetadataForRatePlanParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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