Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteMetadataForProduct(params *DeleteMetadataForProductParams) (*DeleteMetadataForProductOK, error)
- func (a *Client) GetAllProducts(params *GetAllProductsParams) (*GetAllProductsOK, error)
- func (a *Client) GetMetadataForProduct(params *GetMetadataForProductParams) (*GetMetadataForProductOK, error)
- func (a *Client) GetProductByID(params *GetProductByIDParams) (*GetProductByIDOK, error)
- func (a *Client) SetMetadataForProduct(params *SetMetadataForProductParams) (*SetMetadataForProductOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpsertMetadataForProduct(params *UpsertMetadataForProductParams) (*UpsertMetadataForProductOK, error)
- type DeleteMetadataForProductDefault
- type DeleteMetadataForProductOK
- type DeleteMetadataForProductParams
- func NewDeleteMetadataForProductParams() *DeleteMetadataForProductParams
- func NewDeleteMetadataForProductParamsWithContext(ctx context.Context) *DeleteMetadataForProductParams
- func NewDeleteMetadataForProductParamsWithHTTPClient(client *http.Client) *DeleteMetadataForProductParams
- func NewDeleteMetadataForProductParamsWithTimeout(timeout time.Duration) *DeleteMetadataForProductParams
- func (o *DeleteMetadataForProductParams) SetContext(ctx context.Context)
- func (o *DeleteMetadataForProductParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMetadataForProductParams) SetOrganizations(organizations []string)
- func (o *DeleteMetadataForProductParams) SetProductID(productID string)
- func (o *DeleteMetadataForProductParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMetadataForProductParams) WithContext(ctx context.Context) *DeleteMetadataForProductParams
- func (o *DeleteMetadataForProductParams) WithHTTPClient(client *http.Client) *DeleteMetadataForProductParams
- func (o *DeleteMetadataForProductParams) WithOrganizations(organizations []string) *DeleteMetadataForProductParams
- func (o *DeleteMetadataForProductParams) WithProductID(productID string) *DeleteMetadataForProductParams
- func (o *DeleteMetadataForProductParams) WithTimeout(timeout time.Duration) *DeleteMetadataForProductParams
- func (o *DeleteMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMetadataForProductReader
- type GetAllProductsDefault
- type GetAllProductsOK
- type GetAllProductsParams
- func NewGetAllProductsParams() *GetAllProductsParams
- func NewGetAllProductsParamsWithContext(ctx context.Context) *GetAllProductsParams
- func NewGetAllProductsParamsWithHTTPClient(client *http.Client) *GetAllProductsParams
- func NewGetAllProductsParamsWithTimeout(timeout time.Duration) *GetAllProductsParams
- func (o *GetAllProductsParams) SetContext(ctx context.Context)
- func (o *GetAllProductsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllProductsParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetAllProductsParams) SetMetadata(metadata *string)
- func (o *GetAllProductsParams) SetOffset(offset *int32)
- func (o *GetAllProductsParams) SetOrder(order *string)
- func (o *GetAllProductsParams) SetOrderBy(orderBy *string)
- func (o *GetAllProductsParams) SetOrganizations(organizations []string)
- func (o *GetAllProductsParams) SetRecords(records *int32)
- func (o *GetAllProductsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllProductsParams) WithContext(ctx context.Context) *GetAllProductsParams
- func (o *GetAllProductsParams) WithHTTPClient(client *http.Client) *GetAllProductsParams
- func (o *GetAllProductsParams) WithIncludeRetired(includeRetired *bool) *GetAllProductsParams
- func (o *GetAllProductsParams) WithMetadata(metadata *string) *GetAllProductsParams
- func (o *GetAllProductsParams) WithOffset(offset *int32) *GetAllProductsParams
- func (o *GetAllProductsParams) WithOrder(order *string) *GetAllProductsParams
- func (o *GetAllProductsParams) WithOrderBy(orderBy *string) *GetAllProductsParams
- func (o *GetAllProductsParams) WithOrganizations(organizations []string) *GetAllProductsParams
- func (o *GetAllProductsParams) WithRecords(records *int32) *GetAllProductsParams
- func (o *GetAllProductsParams) WithTimeout(timeout time.Duration) *GetAllProductsParams
- func (o *GetAllProductsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllProductsReader
- type GetMetadataForProductDefault
- type GetMetadataForProductOK
- type GetMetadataForProductParams
- func NewGetMetadataForProductParams() *GetMetadataForProductParams
- func NewGetMetadataForProductParamsWithContext(ctx context.Context) *GetMetadataForProductParams
- func NewGetMetadataForProductParamsWithHTTPClient(client *http.Client) *GetMetadataForProductParams
- func NewGetMetadataForProductParamsWithTimeout(timeout time.Duration) *GetMetadataForProductParams
- func (o *GetMetadataForProductParams) SetContext(ctx context.Context)
- func (o *GetMetadataForProductParams) SetHTTPClient(client *http.Client)
- func (o *GetMetadataForProductParams) SetOrganizations(organizations []string)
- func (o *GetMetadataForProductParams) SetProductID(productID string)
- func (o *GetMetadataForProductParams) SetTimeout(timeout time.Duration)
- func (o *GetMetadataForProductParams) WithContext(ctx context.Context) *GetMetadataForProductParams
- func (o *GetMetadataForProductParams) WithHTTPClient(client *http.Client) *GetMetadataForProductParams
- func (o *GetMetadataForProductParams) WithOrganizations(organizations []string) *GetMetadataForProductParams
- func (o *GetMetadataForProductParams) WithProductID(productID string) *GetMetadataForProductParams
- func (o *GetMetadataForProductParams) WithTimeout(timeout time.Duration) *GetMetadataForProductParams
- func (o *GetMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetadataForProductReader
- type GetProductByIDDefault
- type GetProductByIDOK
- type GetProductByIDParams
- func NewGetProductByIDParams() *GetProductByIDParams
- func NewGetProductByIDParamsWithContext(ctx context.Context) *GetProductByIDParams
- func NewGetProductByIDParamsWithHTTPClient(client *http.Client) *GetProductByIDParams
- func NewGetProductByIDParamsWithTimeout(timeout time.Duration) *GetProductByIDParams
- func (o *GetProductByIDParams) SetContext(ctx context.Context)
- func (o *GetProductByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetProductByIDParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetProductByIDParams) SetOffset(offset *int32)
- func (o *GetProductByIDParams) SetOrder(order *string)
- func (o *GetProductByIDParams) SetOrderBy(orderBy *string)
- func (o *GetProductByIDParams) SetOrganizations(organizations []string)
- func (o *GetProductByIDParams) SetProductID(productID string)
- func (o *GetProductByIDParams) SetRecords(records *int32)
- func (o *GetProductByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetProductByIDParams) WithContext(ctx context.Context) *GetProductByIDParams
- func (o *GetProductByIDParams) WithHTTPClient(client *http.Client) *GetProductByIDParams
- func (o *GetProductByIDParams) WithIncludeRetired(includeRetired *bool) *GetProductByIDParams
- func (o *GetProductByIDParams) WithOffset(offset *int32) *GetProductByIDParams
- func (o *GetProductByIDParams) WithOrder(order *string) *GetProductByIDParams
- func (o *GetProductByIDParams) WithOrderBy(orderBy *string) *GetProductByIDParams
- func (o *GetProductByIDParams) WithOrganizations(organizations []string) *GetProductByIDParams
- func (o *GetProductByIDParams) WithProductID(productID string) *GetProductByIDParams
- func (o *GetProductByIDParams) WithRecords(records *int32) *GetProductByIDParams
- func (o *GetProductByIDParams) WithTimeout(timeout time.Duration) *GetProductByIDParams
- func (o *GetProductByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProductByIDReader
- type SetMetadataForProductDefault
- type SetMetadataForProductOK
- type SetMetadataForProductParams
- func NewSetMetadataForProductParams() *SetMetadataForProductParams
- func NewSetMetadataForProductParamsWithContext(ctx context.Context) *SetMetadataForProductParams
- func NewSetMetadataForProductParamsWithHTTPClient(client *http.Client) *SetMetadataForProductParams
- func NewSetMetadataForProductParamsWithTimeout(timeout time.Duration) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) SetContext(ctx context.Context)
- func (o *SetMetadataForProductParams) SetHTTPClient(client *http.Client)
- func (o *SetMetadataForProductParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *SetMetadataForProductParams) SetOrganizations(organizations []string)
- func (o *SetMetadataForProductParams) SetProductID(productID string)
- func (o *SetMetadataForProductParams) SetTimeout(timeout time.Duration)
- func (o *SetMetadataForProductParams) WithContext(ctx context.Context) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) WithHTTPClient(client *http.Client) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) WithOrganizations(organizations []string) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) WithProductID(productID string) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) WithTimeout(timeout time.Duration) *SetMetadataForProductParams
- func (o *SetMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMetadataForProductReader
- type UpsertMetadataForProductDefault
- type UpsertMetadataForProductOK
- type UpsertMetadataForProductParams
- func NewUpsertMetadataForProductParams() *UpsertMetadataForProductParams
- func NewUpsertMetadataForProductParamsWithContext(ctx context.Context) *UpsertMetadataForProductParams
- func NewUpsertMetadataForProductParamsWithHTTPClient(client *http.Client) *UpsertMetadataForProductParams
- func NewUpsertMetadataForProductParamsWithTimeout(timeout time.Duration) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) SetContext(ctx context.Context)
- func (o *UpsertMetadataForProductParams) SetHTTPClient(client *http.Client)
- func (o *UpsertMetadataForProductParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *UpsertMetadataForProductParams) SetOrganizations(organizations []string)
- func (o *UpsertMetadataForProductParams) SetProductID(productID string)
- func (o *UpsertMetadataForProductParams) SetTimeout(timeout time.Duration)
- func (o *UpsertMetadataForProductParams) WithContext(ctx context.Context) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) WithHTTPClient(client *http.Client) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) WithOrganizations(organizations []string) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) WithProductID(productID string) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) WithTimeout(timeout time.Duration) *UpsertMetadataForProductParams
- func (o *UpsertMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpsertMetadataForProductReader
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 products API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new products API client.
func (*Client) DeleteMetadataForProduct ¶
func (a *Client) DeleteMetadataForProduct(params *DeleteMetadataForProductParams) (*DeleteMetadataForProductOK, error)
DeleteMetadataForProduct removes any associated metadata
{"nickname":"Clear metadata from product","request" :"deleteProductMetadataRequest.html","response":"deleteProductMetadataResponse.html"}
func (*Client) GetAllProducts ¶
func (a *Client) GetAllProducts(params *GetAllProductsParams) (*GetAllProductsOK, error)
GetAllProducts returns a collection of products by default 10 values are returned records are returned in natural order
{"nickname":"Get all products","response":"getProductAll.html"}
func (*Client) GetMetadataForProduct ¶
func (a *Client) GetMetadataForProduct(params *GetMetadataForProductParams) (*GetMetadataForProductOK, error)
GetMetadataForProduct retrieves any associated metadata
{"nickname":"Retrieve metadata on product","request":"getProductMetadataRequest.html","response":"getProductMetadataResponse.html"}
func (*Client) GetProductByID ¶
func (a *Client) GetProductByID(params *GetProductByIDParams) (*GetProductByIDOK, error)
GetProductByID returns a single product specified by the product ID parameter
{"nickname":"Retrieve an existing product","response":"getProductByID.html"}
func (*Client) SetMetadataForProduct ¶
func (a *Client) SetMetadataForProduct(params *SetMetadataForProductParams) (*SetMetadataForProductOK, error)
SetMetadataForProduct removes any existing metadata keys and create the provided data
{"nickname":"Set metadata on product","request":"setProductMetadataRequest.html","response":"setProductMetadataResponse.html"}
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpsertMetadataForProduct ¶
func (a *Client) UpsertMetadataForProduct(params *UpsertMetadataForProductParams) (*UpsertMetadataForProductOK, error)
UpsertMetadataForProduct updates any existing metadata key values and insert any new key values no keys will be removed
{"nickname":"Upsert metadata on product","request":"upsertProductMetadataRequest.html","response":"upsertProductMetadataResponse.html"}
type DeleteMetadataForProductDefault ¶
type DeleteMetadataForProductDefault struct { Payload *models.BFError // contains filtered or unexported fields }
DeleteMetadataForProductDefault handles this case with default header values.
error
func NewDeleteMetadataForProductDefault ¶
func NewDeleteMetadataForProductDefault(code int) *DeleteMetadataForProductDefault
NewDeleteMetadataForProductDefault creates a DeleteMetadataForProductDefault with default headers values
func (*DeleteMetadataForProductDefault) Code ¶
func (o *DeleteMetadataForProductDefault) Code() int
Code gets the status code for the delete metadata for product default response
func (*DeleteMetadataForProductDefault) Error ¶
func (o *DeleteMetadataForProductDefault) Error() string
type DeleteMetadataForProductOK ¶
type DeleteMetadataForProductOK struct {
Payload models.DynamicMetadata
}
DeleteMetadataForProductOK handles this case with default header values.
success
func NewDeleteMetadataForProductOK ¶
func NewDeleteMetadataForProductOK() *DeleteMetadataForProductOK
NewDeleteMetadataForProductOK creates a DeleteMetadataForProductOK with default headers values
func (*DeleteMetadataForProductOK) Error ¶
func (o *DeleteMetadataForProductOK) Error() string
type DeleteMetadataForProductParams ¶
type DeleteMetadataForProductParams struct { /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductID*/ ProductID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMetadataForProductParams contains all the parameters to send to the API endpoint for the delete metadata for product operation typically these are written to a http.Request
func NewDeleteMetadataForProductParams ¶
func NewDeleteMetadataForProductParams() *DeleteMetadataForProductParams
NewDeleteMetadataForProductParams creates a new DeleteMetadataForProductParams object with the default values initialized.
func NewDeleteMetadataForProductParamsWithContext ¶
func NewDeleteMetadataForProductParamsWithContext(ctx context.Context) *DeleteMetadataForProductParams
NewDeleteMetadataForProductParamsWithContext creates a new DeleteMetadataForProductParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMetadataForProductParamsWithHTTPClient ¶
func NewDeleteMetadataForProductParamsWithHTTPClient(client *http.Client) *DeleteMetadataForProductParams
NewDeleteMetadataForProductParamsWithHTTPClient creates a new DeleteMetadataForProductParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMetadataForProductParamsWithTimeout ¶
func NewDeleteMetadataForProductParamsWithTimeout(timeout time.Duration) *DeleteMetadataForProductParams
NewDeleteMetadataForProductParamsWithTimeout creates a new DeleteMetadataForProductParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMetadataForProductParams) SetContext ¶
func (o *DeleteMetadataForProductParams) SetContext(ctx context.Context)
SetContext adds the context to the delete metadata for product params
func (*DeleteMetadataForProductParams) SetHTTPClient ¶
func (o *DeleteMetadataForProductParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete metadata for product params
func (*DeleteMetadataForProductParams) SetOrganizations ¶
func (o *DeleteMetadataForProductParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the delete metadata for product params
func (*DeleteMetadataForProductParams) SetProductID ¶
func (o *DeleteMetadataForProductParams) SetProductID(productID string)
SetProductID adds the productId to the delete metadata for product params
func (*DeleteMetadataForProductParams) SetTimeout ¶
func (o *DeleteMetadataForProductParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete metadata for product params
func (*DeleteMetadataForProductParams) WithContext ¶
func (o *DeleteMetadataForProductParams) WithContext(ctx context.Context) *DeleteMetadataForProductParams
WithContext adds the context to the delete metadata for product params
func (*DeleteMetadataForProductParams) WithHTTPClient ¶
func (o *DeleteMetadataForProductParams) WithHTTPClient(client *http.Client) *DeleteMetadataForProductParams
WithHTTPClient adds the HTTPClient to the delete metadata for product params
func (*DeleteMetadataForProductParams) WithOrganizations ¶
func (o *DeleteMetadataForProductParams) WithOrganizations(organizations []string) *DeleteMetadataForProductParams
WithOrganizations adds the organizations to the delete metadata for product params
func (*DeleteMetadataForProductParams) WithProductID ¶
func (o *DeleteMetadataForProductParams) WithProductID(productID string) *DeleteMetadataForProductParams
WithProductID adds the productID to the delete metadata for product params
func (*DeleteMetadataForProductParams) WithTimeout ¶
func (o *DeleteMetadataForProductParams) WithTimeout(timeout time.Duration) *DeleteMetadataForProductParams
WithTimeout adds the timeout to the delete metadata for product params
func (*DeleteMetadataForProductParams) WriteToRequest ¶
func (o *DeleteMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMetadataForProductReader ¶
type DeleteMetadataForProductReader struct {
// contains filtered or unexported fields
}
DeleteMetadataForProductReader is a Reader for the DeleteMetadataForProduct structure.
func (*DeleteMetadataForProductReader) ReadResponse ¶
func (o *DeleteMetadataForProductReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllProductsDefault ¶
type GetAllProductsDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetAllProductsDefault handles this case with default header values.
error
func NewGetAllProductsDefault ¶
func NewGetAllProductsDefault(code int) *GetAllProductsDefault
NewGetAllProductsDefault creates a GetAllProductsDefault with default headers values
func (*GetAllProductsDefault) Code ¶
func (o *GetAllProductsDefault) Code() int
Code gets the status code for the get all products default response
func (*GetAllProductsDefault) Error ¶
func (o *GetAllProductsDefault) Error() string
type GetAllProductsOK ¶
type GetAllProductsOK struct {
Payload *models.ProductPagedMetadata
}
GetAllProductsOK handles this case with default header values.
success
func NewGetAllProductsOK ¶
func NewGetAllProductsOK() *GetAllProductsOK
NewGetAllProductsOK creates a GetAllProductsOK with default headers values
func (*GetAllProductsOK) Error ¶
func (o *GetAllProductsOK) Error() string
type GetAllProductsParams ¶
type GetAllProductsParams struct { /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Metadata*/ Metadata *string /*Offset The offset from the first product 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 products to return. */ Records *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllProductsParams contains all the parameters to send to the API endpoint for the get all products operation typically these are written to a http.Request
func NewGetAllProductsParams ¶
func NewGetAllProductsParams() *GetAllProductsParams
NewGetAllProductsParams creates a new GetAllProductsParams object with the default values initialized.
func NewGetAllProductsParamsWithContext ¶
func NewGetAllProductsParamsWithContext(ctx context.Context) *GetAllProductsParams
NewGetAllProductsParamsWithContext creates a new GetAllProductsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllProductsParamsWithHTTPClient ¶
func NewGetAllProductsParamsWithHTTPClient(client *http.Client) *GetAllProductsParams
NewGetAllProductsParamsWithHTTPClient creates a new GetAllProductsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllProductsParamsWithTimeout ¶
func NewGetAllProductsParamsWithTimeout(timeout time.Duration) *GetAllProductsParams
NewGetAllProductsParamsWithTimeout creates a new GetAllProductsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllProductsParams) SetContext ¶
func (o *GetAllProductsParams) SetContext(ctx context.Context)
SetContext adds the context to the get all products params
func (*GetAllProductsParams) SetHTTPClient ¶
func (o *GetAllProductsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all products params
func (*GetAllProductsParams) SetIncludeRetired ¶
func (o *GetAllProductsParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get all products params
func (*GetAllProductsParams) SetMetadata ¶
func (o *GetAllProductsParams) SetMetadata(metadata *string)
SetMetadata adds the metadata to the get all products params
func (*GetAllProductsParams) SetOffset ¶
func (o *GetAllProductsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get all products params
func (*GetAllProductsParams) SetOrder ¶
func (o *GetAllProductsParams) SetOrder(order *string)
SetOrder adds the order to the get all products params
func (*GetAllProductsParams) SetOrderBy ¶
func (o *GetAllProductsParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get all products params
func (*GetAllProductsParams) SetOrganizations ¶
func (o *GetAllProductsParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get all products params
func (*GetAllProductsParams) SetRecords ¶
func (o *GetAllProductsParams) SetRecords(records *int32)
SetRecords adds the records to the get all products params
func (*GetAllProductsParams) SetTimeout ¶
func (o *GetAllProductsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all products params
func (*GetAllProductsParams) WithContext ¶
func (o *GetAllProductsParams) WithContext(ctx context.Context) *GetAllProductsParams
WithContext adds the context to the get all products params
func (*GetAllProductsParams) WithHTTPClient ¶
func (o *GetAllProductsParams) WithHTTPClient(client *http.Client) *GetAllProductsParams
WithHTTPClient adds the HTTPClient to the get all products params
func (*GetAllProductsParams) WithIncludeRetired ¶
func (o *GetAllProductsParams) WithIncludeRetired(includeRetired *bool) *GetAllProductsParams
WithIncludeRetired adds the includeRetired to the get all products params
func (*GetAllProductsParams) WithMetadata ¶
func (o *GetAllProductsParams) WithMetadata(metadata *string) *GetAllProductsParams
WithMetadata adds the metadata to the get all products params
func (*GetAllProductsParams) WithOffset ¶
func (o *GetAllProductsParams) WithOffset(offset *int32) *GetAllProductsParams
WithOffset adds the offset to the get all products params
func (*GetAllProductsParams) WithOrder ¶
func (o *GetAllProductsParams) WithOrder(order *string) *GetAllProductsParams
WithOrder adds the order to the get all products params
func (*GetAllProductsParams) WithOrderBy ¶
func (o *GetAllProductsParams) WithOrderBy(orderBy *string) *GetAllProductsParams
WithOrderBy adds the orderBy to the get all products params
func (*GetAllProductsParams) WithOrganizations ¶
func (o *GetAllProductsParams) WithOrganizations(organizations []string) *GetAllProductsParams
WithOrganizations adds the organizations to the get all products params
func (*GetAllProductsParams) WithRecords ¶
func (o *GetAllProductsParams) WithRecords(records *int32) *GetAllProductsParams
WithRecords adds the records to the get all products params
func (*GetAllProductsParams) WithTimeout ¶
func (o *GetAllProductsParams) WithTimeout(timeout time.Duration) *GetAllProductsParams
WithTimeout adds the timeout to the get all products params
func (*GetAllProductsParams) WriteToRequest ¶
func (o *GetAllProductsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllProductsReader ¶
type GetAllProductsReader struct {
// contains filtered or unexported fields
}
GetAllProductsReader is a Reader for the GetAllProducts structure.
func (*GetAllProductsReader) ReadResponse ¶
func (o *GetAllProductsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMetadataForProductDefault ¶
type GetMetadataForProductDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetMetadataForProductDefault handles this case with default header values.
error
func NewGetMetadataForProductDefault ¶
func NewGetMetadataForProductDefault(code int) *GetMetadataForProductDefault
NewGetMetadataForProductDefault creates a GetMetadataForProductDefault with default headers values
func (*GetMetadataForProductDefault) Code ¶
func (o *GetMetadataForProductDefault) Code() int
Code gets the status code for the get metadata for product default response
func (*GetMetadataForProductDefault) Error ¶
func (o *GetMetadataForProductDefault) Error() string
type GetMetadataForProductOK ¶
type GetMetadataForProductOK struct {
Payload models.DynamicMetadata
}
GetMetadataForProductOK handles this case with default header values.
success
func NewGetMetadataForProductOK ¶
func NewGetMetadataForProductOK() *GetMetadataForProductOK
NewGetMetadataForProductOK creates a GetMetadataForProductOK with default headers values
func (*GetMetadataForProductOK) Error ¶
func (o *GetMetadataForProductOK) Error() string
type GetMetadataForProductParams ¶
type GetMetadataForProductParams struct { /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductID*/ ProductID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetadataForProductParams contains all the parameters to send to the API endpoint for the get metadata for product operation typically these are written to a http.Request
func NewGetMetadataForProductParams ¶
func NewGetMetadataForProductParams() *GetMetadataForProductParams
NewGetMetadataForProductParams creates a new GetMetadataForProductParams object with the default values initialized.
func NewGetMetadataForProductParamsWithContext ¶
func NewGetMetadataForProductParamsWithContext(ctx context.Context) *GetMetadataForProductParams
NewGetMetadataForProductParamsWithContext creates a new GetMetadataForProductParams object with the default values initialized, and the ability to set a context for a request
func NewGetMetadataForProductParamsWithHTTPClient ¶
func NewGetMetadataForProductParamsWithHTTPClient(client *http.Client) *GetMetadataForProductParams
NewGetMetadataForProductParamsWithHTTPClient creates a new GetMetadataForProductParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMetadataForProductParamsWithTimeout ¶
func NewGetMetadataForProductParamsWithTimeout(timeout time.Duration) *GetMetadataForProductParams
NewGetMetadataForProductParamsWithTimeout creates a new GetMetadataForProductParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMetadataForProductParams) SetContext ¶
func (o *GetMetadataForProductParams) SetContext(ctx context.Context)
SetContext adds the context to the get metadata for product params
func (*GetMetadataForProductParams) SetHTTPClient ¶
func (o *GetMetadataForProductParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metadata for product params
func (*GetMetadataForProductParams) SetOrganizations ¶
func (o *GetMetadataForProductParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get metadata for product params
func (*GetMetadataForProductParams) SetProductID ¶
func (o *GetMetadataForProductParams) SetProductID(productID string)
SetProductID adds the productId to the get metadata for product params
func (*GetMetadataForProductParams) SetTimeout ¶
func (o *GetMetadataForProductParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metadata for product params
func (*GetMetadataForProductParams) WithContext ¶
func (o *GetMetadataForProductParams) WithContext(ctx context.Context) *GetMetadataForProductParams
WithContext adds the context to the get metadata for product params
func (*GetMetadataForProductParams) WithHTTPClient ¶
func (o *GetMetadataForProductParams) WithHTTPClient(client *http.Client) *GetMetadataForProductParams
WithHTTPClient adds the HTTPClient to the get metadata for product params
func (*GetMetadataForProductParams) WithOrganizations ¶
func (o *GetMetadataForProductParams) WithOrganizations(organizations []string) *GetMetadataForProductParams
WithOrganizations adds the organizations to the get metadata for product params
func (*GetMetadataForProductParams) WithProductID ¶
func (o *GetMetadataForProductParams) WithProductID(productID string) *GetMetadataForProductParams
WithProductID adds the productID to the get metadata for product params
func (*GetMetadataForProductParams) WithTimeout ¶
func (o *GetMetadataForProductParams) WithTimeout(timeout time.Duration) *GetMetadataForProductParams
WithTimeout adds the timeout to the get metadata for product params
func (*GetMetadataForProductParams) WriteToRequest ¶
func (o *GetMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetadataForProductReader ¶
type GetMetadataForProductReader struct {
// contains filtered or unexported fields
}
GetMetadataForProductReader is a Reader for the GetMetadataForProduct structure.
func (*GetMetadataForProductReader) ReadResponse ¶
func (o *GetMetadataForProductReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProductByIDDefault ¶
type GetProductByIDDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetProductByIDDefault handles this case with default header values.
error
func NewGetProductByIDDefault ¶
func NewGetProductByIDDefault(code int) *GetProductByIDDefault
NewGetProductByIDDefault creates a GetProductByIDDefault with default headers values
func (*GetProductByIDDefault) Code ¶
func (o *GetProductByIDDefault) Code() int
Code gets the status code for the get product by ID default response
func (*GetProductByIDDefault) Error ¶
func (o *GetProductByIDDefault) Error() string
type GetProductByIDOK ¶
type GetProductByIDOK struct {
Payload *models.ProductPagedMetadata
}
GetProductByIDOK handles this case with default header values.
success
func NewGetProductByIDOK ¶
func NewGetProductByIDOK() *GetProductByIDOK
NewGetProductByIDOK creates a GetProductByIDOK with default headers values
func (*GetProductByIDOK) Error ¶
func (o *GetProductByIDOK) Error() string
type GetProductByIDParams ¶
type GetProductByIDParams 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 ID or name of the product. */ 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 }
GetProductByIDParams contains all the parameters to send to the API endpoint for the get product by ID operation typically these are written to a http.Request
func NewGetProductByIDParams ¶
func NewGetProductByIDParams() *GetProductByIDParams
NewGetProductByIDParams creates a new GetProductByIDParams object with the default values initialized.
func NewGetProductByIDParamsWithContext ¶
func NewGetProductByIDParamsWithContext(ctx context.Context) *GetProductByIDParams
NewGetProductByIDParamsWithContext creates a new GetProductByIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetProductByIDParamsWithHTTPClient ¶
func NewGetProductByIDParamsWithHTTPClient(client *http.Client) *GetProductByIDParams
NewGetProductByIDParamsWithHTTPClient creates a new GetProductByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProductByIDParamsWithTimeout ¶
func NewGetProductByIDParamsWithTimeout(timeout time.Duration) *GetProductByIDParams
NewGetProductByIDParamsWithTimeout creates a new GetProductByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProductByIDParams) SetContext ¶
func (o *GetProductByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get product by ID params
func (*GetProductByIDParams) SetHTTPClient ¶
func (o *GetProductByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product by ID params
func (*GetProductByIDParams) SetIncludeRetired ¶
func (o *GetProductByIDParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get product by ID params
func (*GetProductByIDParams) SetOffset ¶
func (o *GetProductByIDParams) SetOffset(offset *int32)
SetOffset adds the offset to the get product by ID params
func (*GetProductByIDParams) SetOrder ¶
func (o *GetProductByIDParams) SetOrder(order *string)
SetOrder adds the order to the get product by ID params
func (*GetProductByIDParams) SetOrderBy ¶
func (o *GetProductByIDParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get product by ID params
func (*GetProductByIDParams) SetOrganizations ¶
func (o *GetProductByIDParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get product by ID params
func (*GetProductByIDParams) SetProductID ¶
func (o *GetProductByIDParams) SetProductID(productID string)
SetProductID adds the productId to the get product by ID params
func (*GetProductByIDParams) SetRecords ¶
func (o *GetProductByIDParams) SetRecords(records *int32)
SetRecords adds the records to the get product by ID params
func (*GetProductByIDParams) SetTimeout ¶
func (o *GetProductByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product by ID params
func (*GetProductByIDParams) WithContext ¶
func (o *GetProductByIDParams) WithContext(ctx context.Context) *GetProductByIDParams
WithContext adds the context to the get product by ID params
func (*GetProductByIDParams) WithHTTPClient ¶
func (o *GetProductByIDParams) WithHTTPClient(client *http.Client) *GetProductByIDParams
WithHTTPClient adds the HTTPClient to the get product by ID params
func (*GetProductByIDParams) WithIncludeRetired ¶
func (o *GetProductByIDParams) WithIncludeRetired(includeRetired *bool) *GetProductByIDParams
WithIncludeRetired adds the includeRetired to the get product by ID params
func (*GetProductByIDParams) WithOffset ¶
func (o *GetProductByIDParams) WithOffset(offset *int32) *GetProductByIDParams
WithOffset adds the offset to the get product by ID params
func (*GetProductByIDParams) WithOrder ¶
func (o *GetProductByIDParams) WithOrder(order *string) *GetProductByIDParams
WithOrder adds the order to the get product by ID params
func (*GetProductByIDParams) WithOrderBy ¶
func (o *GetProductByIDParams) WithOrderBy(orderBy *string) *GetProductByIDParams
WithOrderBy adds the orderBy to the get product by ID params
func (*GetProductByIDParams) WithOrganizations ¶
func (o *GetProductByIDParams) WithOrganizations(organizations []string) *GetProductByIDParams
WithOrganizations adds the organizations to the get product by ID params
func (*GetProductByIDParams) WithProductID ¶
func (o *GetProductByIDParams) WithProductID(productID string) *GetProductByIDParams
WithProductID adds the productID to the get product by ID params
func (*GetProductByIDParams) WithRecords ¶
func (o *GetProductByIDParams) WithRecords(records *int32) *GetProductByIDParams
WithRecords adds the records to the get product by ID params
func (*GetProductByIDParams) WithTimeout ¶
func (o *GetProductByIDParams) WithTimeout(timeout time.Duration) *GetProductByIDParams
WithTimeout adds the timeout to the get product by ID params
func (*GetProductByIDParams) WriteToRequest ¶
func (o *GetProductByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductByIDReader ¶
type GetProductByIDReader struct {
// contains filtered or unexported fields
}
GetProductByIDReader is a Reader for the GetProductByID structure.
func (*GetProductByIDReader) ReadResponse ¶
func (o *GetProductByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetMetadataForProductDefault ¶
type SetMetadataForProductDefault struct { Payload *models.BFError // contains filtered or unexported fields }
SetMetadataForProductDefault handles this case with default header values.
error
func NewSetMetadataForProductDefault ¶
func NewSetMetadataForProductDefault(code int) *SetMetadataForProductDefault
NewSetMetadataForProductDefault creates a SetMetadataForProductDefault with default headers values
func (*SetMetadataForProductDefault) Code ¶
func (o *SetMetadataForProductDefault) Code() int
Code gets the status code for the set metadata for product default response
func (*SetMetadataForProductDefault) Error ¶
func (o *SetMetadataForProductDefault) Error() string
type SetMetadataForProductOK ¶
type SetMetadataForProductOK struct {
Payload models.DynamicMetadata
}
SetMetadataForProductOK handles this case with default header values.
success
func NewSetMetadataForProductOK ¶
func NewSetMetadataForProductOK() *SetMetadataForProductOK
NewSetMetadataForProductOK creates a SetMetadataForProductOK with default headers values
func (*SetMetadataForProductOK) Error ¶
func (o *SetMetadataForProductOK) Error() string
type SetMetadataForProductParams ¶
type SetMetadataForProductParams struct { /*Metadata*/ Metadata models.DynamicMetadata /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductID*/ ProductID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetMetadataForProductParams contains all the parameters to send to the API endpoint for the set metadata for product operation typically these are written to a http.Request
func NewSetMetadataForProductParams ¶
func NewSetMetadataForProductParams() *SetMetadataForProductParams
NewSetMetadataForProductParams creates a new SetMetadataForProductParams object with the default values initialized.
func NewSetMetadataForProductParamsWithContext ¶
func NewSetMetadataForProductParamsWithContext(ctx context.Context) *SetMetadataForProductParams
NewSetMetadataForProductParamsWithContext creates a new SetMetadataForProductParams object with the default values initialized, and the ability to set a context for a request
func NewSetMetadataForProductParamsWithHTTPClient ¶
func NewSetMetadataForProductParamsWithHTTPClient(client *http.Client) *SetMetadataForProductParams
NewSetMetadataForProductParamsWithHTTPClient creates a new SetMetadataForProductParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetMetadataForProductParamsWithTimeout ¶
func NewSetMetadataForProductParamsWithTimeout(timeout time.Duration) *SetMetadataForProductParams
NewSetMetadataForProductParamsWithTimeout creates a new SetMetadataForProductParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetMetadataForProductParams) SetContext ¶
func (o *SetMetadataForProductParams) SetContext(ctx context.Context)
SetContext adds the context to the set metadata for product params
func (*SetMetadataForProductParams) SetHTTPClient ¶
func (o *SetMetadataForProductParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set metadata for product params
func (*SetMetadataForProductParams) SetMetadata ¶
func (o *SetMetadataForProductParams) SetMetadata(metadata models.DynamicMetadata)
SetMetadata adds the metadata to the set metadata for product params
func (*SetMetadataForProductParams) SetOrganizations ¶
func (o *SetMetadataForProductParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the set metadata for product params
func (*SetMetadataForProductParams) SetProductID ¶
func (o *SetMetadataForProductParams) SetProductID(productID string)
SetProductID adds the productId to the set metadata for product params
func (*SetMetadataForProductParams) SetTimeout ¶
func (o *SetMetadataForProductParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set metadata for product params
func (*SetMetadataForProductParams) WithContext ¶
func (o *SetMetadataForProductParams) WithContext(ctx context.Context) *SetMetadataForProductParams
WithContext adds the context to the set metadata for product params
func (*SetMetadataForProductParams) WithHTTPClient ¶
func (o *SetMetadataForProductParams) WithHTTPClient(client *http.Client) *SetMetadataForProductParams
WithHTTPClient adds the HTTPClient to the set metadata for product params
func (*SetMetadataForProductParams) WithMetadata ¶
func (o *SetMetadataForProductParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForProductParams
WithMetadata adds the metadata to the set metadata for product params
func (*SetMetadataForProductParams) WithOrganizations ¶
func (o *SetMetadataForProductParams) WithOrganizations(organizations []string) *SetMetadataForProductParams
WithOrganizations adds the organizations to the set metadata for product params
func (*SetMetadataForProductParams) WithProductID ¶
func (o *SetMetadataForProductParams) WithProductID(productID string) *SetMetadataForProductParams
WithProductID adds the productID to the set metadata for product params
func (*SetMetadataForProductParams) WithTimeout ¶
func (o *SetMetadataForProductParams) WithTimeout(timeout time.Duration) *SetMetadataForProductParams
WithTimeout adds the timeout to the set metadata for product params
func (*SetMetadataForProductParams) WriteToRequest ¶
func (o *SetMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetMetadataForProductReader ¶
type SetMetadataForProductReader struct {
// contains filtered or unexported fields
}
SetMetadataForProductReader is a Reader for the SetMetadataForProduct structure.
func (*SetMetadataForProductReader) ReadResponse ¶
func (o *SetMetadataForProductReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpsertMetadataForProductDefault ¶
type UpsertMetadataForProductDefault struct { Payload *models.BFError // contains filtered or unexported fields }
UpsertMetadataForProductDefault handles this case with default header values.
error
func NewUpsertMetadataForProductDefault ¶
func NewUpsertMetadataForProductDefault(code int) *UpsertMetadataForProductDefault
NewUpsertMetadataForProductDefault creates a UpsertMetadataForProductDefault with default headers values
func (*UpsertMetadataForProductDefault) Code ¶
func (o *UpsertMetadataForProductDefault) Code() int
Code gets the status code for the upsert metadata for product default response
func (*UpsertMetadataForProductDefault) Error ¶
func (o *UpsertMetadataForProductDefault) Error() string
type UpsertMetadataForProductOK ¶
type UpsertMetadataForProductOK struct {
Payload models.DynamicMetadata
}
UpsertMetadataForProductOK handles this case with default header values.
success
func NewUpsertMetadataForProductOK ¶
func NewUpsertMetadataForProductOK() *UpsertMetadataForProductOK
NewUpsertMetadataForProductOK creates a UpsertMetadataForProductOK with default headers values
func (*UpsertMetadataForProductOK) Error ¶
func (o *UpsertMetadataForProductOK) Error() string
type UpsertMetadataForProductParams ¶
type UpsertMetadataForProductParams struct { /*Metadata*/ Metadata models.DynamicMetadata /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*ProductID*/ ProductID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpsertMetadataForProductParams contains all the parameters to send to the API endpoint for the upsert metadata for product operation typically these are written to a http.Request
func NewUpsertMetadataForProductParams ¶
func NewUpsertMetadataForProductParams() *UpsertMetadataForProductParams
NewUpsertMetadataForProductParams creates a new UpsertMetadataForProductParams object with the default values initialized.
func NewUpsertMetadataForProductParamsWithContext ¶
func NewUpsertMetadataForProductParamsWithContext(ctx context.Context) *UpsertMetadataForProductParams
NewUpsertMetadataForProductParamsWithContext creates a new UpsertMetadataForProductParams object with the default values initialized, and the ability to set a context for a request
func NewUpsertMetadataForProductParamsWithHTTPClient ¶
func NewUpsertMetadataForProductParamsWithHTTPClient(client *http.Client) *UpsertMetadataForProductParams
NewUpsertMetadataForProductParamsWithHTTPClient creates a new UpsertMetadataForProductParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpsertMetadataForProductParamsWithTimeout ¶
func NewUpsertMetadataForProductParamsWithTimeout(timeout time.Duration) *UpsertMetadataForProductParams
NewUpsertMetadataForProductParamsWithTimeout creates a new UpsertMetadataForProductParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpsertMetadataForProductParams) SetContext ¶
func (o *UpsertMetadataForProductParams) SetContext(ctx context.Context)
SetContext adds the context to the upsert metadata for product params
func (*UpsertMetadataForProductParams) SetHTTPClient ¶
func (o *UpsertMetadataForProductParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upsert metadata for product params
func (*UpsertMetadataForProductParams) SetMetadata ¶
func (o *UpsertMetadataForProductParams) SetMetadata(metadata models.DynamicMetadata)
SetMetadata adds the metadata to the upsert metadata for product params
func (*UpsertMetadataForProductParams) SetOrganizations ¶
func (o *UpsertMetadataForProductParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the upsert metadata for product params
func (*UpsertMetadataForProductParams) SetProductID ¶
func (o *UpsertMetadataForProductParams) SetProductID(productID string)
SetProductID adds the productId to the upsert metadata for product params
func (*UpsertMetadataForProductParams) SetTimeout ¶
func (o *UpsertMetadataForProductParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WithContext ¶
func (o *UpsertMetadataForProductParams) WithContext(ctx context.Context) *UpsertMetadataForProductParams
WithContext adds the context to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WithHTTPClient ¶
func (o *UpsertMetadataForProductParams) WithHTTPClient(client *http.Client) *UpsertMetadataForProductParams
WithHTTPClient adds the HTTPClient to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WithMetadata ¶
func (o *UpsertMetadataForProductParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForProductParams
WithMetadata adds the metadata to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WithOrganizations ¶
func (o *UpsertMetadataForProductParams) WithOrganizations(organizations []string) *UpsertMetadataForProductParams
WithOrganizations adds the organizations to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WithProductID ¶
func (o *UpsertMetadataForProductParams) WithProductID(productID string) *UpsertMetadataForProductParams
WithProductID adds the productID to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WithTimeout ¶
func (o *UpsertMetadataForProductParams) WithTimeout(timeout time.Duration) *UpsertMetadataForProductParams
WithTimeout adds the timeout to the upsert metadata for product params
func (*UpsertMetadataForProductParams) WriteToRequest ¶
func (o *UpsertMetadataForProductParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpsertMetadataForProductReader ¶
type UpsertMetadataForProductReader struct {
// contains filtered or unexported fields
}
UpsertMetadataForProductReader is a Reader for the UpsertMetadataForProduct structure.
func (*UpsertMetadataForProductReader) ReadResponse ¶
func (o *UpsertMetadataForProductReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_metadata_for_product_parameters.go
- delete_metadata_for_product_responses.go
- get_all_products_parameters.go
- get_all_products_responses.go
- get_metadata_for_product_parameters.go
- get_metadata_for_product_responses.go
- get_product_by_id_parameters.go
- get_product_by_id_responses.go
- products_client.go
- set_metadata_for_product_parameters.go
- set_metadata_for_product_responses.go
- upsert_metadata_for_product_parameters.go
- upsert_metadata_for_product_responses.go