Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCatalogItemUsingGET(params *GetCatalogItemUsingGETParams) (*GetCatalogItemUsingGETOK, error)
- func (a *Client) GetCatalogItemsUsingGET(params *GetCatalogItemsUsingGETParams) (*GetCatalogItemsUsingGETOK, error)
- func (a *Client) SetItemIconUsingPATCH(params *SetItemIconUsingPATCHParams) (*SetItemIconUsingPATCHOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetCatalogItemUsingGETNotFound
- type GetCatalogItemUsingGETOK
- type GetCatalogItemUsingGETParams
- func NewGetCatalogItemUsingGETParams() *GetCatalogItemUsingGETParams
- func NewGetCatalogItemUsingGETParamsWithContext(ctx context.Context) *GetCatalogItemUsingGETParams
- func NewGetCatalogItemUsingGETParamsWithHTTPClient(client *http.Client) *GetCatalogItemUsingGETParams
- func NewGetCatalogItemUsingGETParamsWithTimeout(timeout time.Duration) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) SetContext(ctx context.Context)
- func (o *GetCatalogItemUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogItemUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetCatalogItemUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogItemUsingGETParams) WithContext(ctx context.Context) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) WithHTTPClient(client *http.Client) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) WithID(id strfmt.UUID) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) WithTimeout(timeout time.Duration) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogItemUsingGETReader
- type GetCatalogItemUsingGETUnauthorized
- type GetCatalogItemsUsingGETOK
- type GetCatalogItemsUsingGETParams
- func NewGetCatalogItemsUsingGETParams() *GetCatalogItemsUsingGETParams
- func NewGetCatalogItemsUsingGETParamsWithContext(ctx context.Context) *GetCatalogItemsUsingGETParams
- func NewGetCatalogItemsUsingGETParamsWithHTTPClient(client *http.Client) *GetCatalogItemsUsingGETParams
- func NewGetCatalogItemsUsingGETParamsWithTimeout(timeout time.Duration) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) SetContext(ctx context.Context)
- func (o *GetCatalogItemsUsingGETParams) SetDollarOrderby(dollarOrderby []string)
- func (o *GetCatalogItemsUsingGETParams) SetDollarSkip(dollarSkip *int32)
- func (o *GetCatalogItemsUsingGETParams) SetDollarTop(dollarTop *int32)
- func (o *GetCatalogItemsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogItemsUsingGETParams) SetProjectID(projectID *string)
- func (o *GetCatalogItemsUsingGETParams) SetSearch(search *string)
- func (o *GetCatalogItemsUsingGETParams) SetSourceIds(sourceIds []strfmt.UUID)
- func (o *GetCatalogItemsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogItemsUsingGETParams) SetTypes(types []string)
- func (o *GetCatalogItemsUsingGETParams) WithContext(ctx context.Context) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithDollarTop(dollarTop *int32) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithHTTPClient(client *http.Client) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithProjectID(projectID *string) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithSearch(search *string) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithSourceIds(sourceIds []strfmt.UUID) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithTimeout(timeout time.Duration) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithTypes(types []string) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogItemsUsingGETReader
- type GetCatalogItemsUsingGETUnauthorized
- type SetItemIconUsingPATCHOK
- type SetItemIconUsingPATCHParams
- func NewSetItemIconUsingPATCHParams() *SetItemIconUsingPATCHParams
- func NewSetItemIconUsingPATCHParamsWithContext(ctx context.Context) *SetItemIconUsingPATCHParams
- func NewSetItemIconUsingPATCHParamsWithHTTPClient(client *http.Client) *SetItemIconUsingPATCHParams
- func NewSetItemIconUsingPATCHParamsWithTimeout(timeout time.Duration) *SetItemIconUsingPATCHParams
- func (o *SetItemIconUsingPATCHParams) SetContext(ctx context.Context)
- func (o *SetItemIconUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *SetItemIconUsingPATCHParams) SetID(id strfmt.UUID)
- func (o *SetItemIconUsingPATCHParams) SetPatch(patch *models.AdminCatalogItemPatch)
- func (o *SetItemIconUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *SetItemIconUsingPATCHParams) WithContext(ctx context.Context) *SetItemIconUsingPATCHParams
- func (o *SetItemIconUsingPATCHParams) WithHTTPClient(client *http.Client) *SetItemIconUsingPATCHParams
- func (o *SetItemIconUsingPATCHParams) WithID(id strfmt.UUID) *SetItemIconUsingPATCHParams
- func (o *SetItemIconUsingPATCHParams) WithPatch(patch *models.AdminCatalogItemPatch) *SetItemIconUsingPATCHParams
- func (o *SetItemIconUsingPATCHParams) WithTimeout(timeout time.Duration) *SetItemIconUsingPATCHParams
- func (o *SetItemIconUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetItemIconUsingPATCHReader
- type SetItemIconUsingPATCHUnauthorized
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 catalog admin items API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new catalog admin items API client.
func (*Client) GetCatalogItemUsingGET ¶
func (a *Client) GetCatalogItemUsingGET(params *GetCatalogItemUsingGETParams) (*GetCatalogItemUsingGETOK, error)
GetCatalogItemUsingGET finds a catalog item with specified id
Returns the catalog item with the specified id.
func (*Client) GetCatalogItemsUsingGET ¶
func (a *Client) GetCatalogItemsUsingGET(params *GetCatalogItemsUsingGETParams) (*GetCatalogItemsUsingGETOK, error)
GetCatalogItemsUsingGET fetches a list of catalog items
Returns a paginated list of catalog items.
func (*Client) SetItemIconUsingPATCH ¶
func (a *Client) SetItemIconUsingPATCH(params *SetItemIconUsingPATCHParams) (*SetItemIconUsingPATCHOK, error)
SetItemIconUsingPATCH sets an icon to a catalog item
Updates a catalog item with specified icon id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetCatalogItemUsingGETNotFound ¶
type GetCatalogItemUsingGETNotFound struct { }
GetCatalogItemUsingGETNotFound handles this case with default header values.
Not Found
func NewGetCatalogItemUsingGETNotFound ¶
func NewGetCatalogItemUsingGETNotFound() *GetCatalogItemUsingGETNotFound
NewGetCatalogItemUsingGETNotFound creates a GetCatalogItemUsingGETNotFound with default headers values
func (*GetCatalogItemUsingGETNotFound) Error ¶
func (o *GetCatalogItemUsingGETNotFound) Error() string
type GetCatalogItemUsingGETOK ¶
type GetCatalogItemUsingGETOK struct {
Payload *models.CatalogItem
}
GetCatalogItemUsingGETOK handles this case with default header values.
OK
func NewGetCatalogItemUsingGETOK ¶
func NewGetCatalogItemUsingGETOK() *GetCatalogItemUsingGETOK
NewGetCatalogItemUsingGETOK creates a GetCatalogItemUsingGETOK with default headers values
func (*GetCatalogItemUsingGETOK) Error ¶
func (o *GetCatalogItemUsingGETOK) Error() string
func (*GetCatalogItemUsingGETOK) GetPayload ¶
func (o *GetCatalogItemUsingGETOK) GetPayload() *models.CatalogItem
type GetCatalogItemUsingGETParams ¶
type GetCatalogItemUsingGETParams struct { /*ID Catalog item id */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCatalogItemUsingGETParams contains all the parameters to send to the API endpoint for the get catalog item using g e t operation typically these are written to a http.Request
func NewGetCatalogItemUsingGETParams ¶
func NewGetCatalogItemUsingGETParams() *GetCatalogItemUsingGETParams
NewGetCatalogItemUsingGETParams creates a new GetCatalogItemUsingGETParams object with the default values initialized.
func NewGetCatalogItemUsingGETParamsWithContext ¶
func NewGetCatalogItemUsingGETParamsWithContext(ctx context.Context) *GetCatalogItemUsingGETParams
NewGetCatalogItemUsingGETParamsWithContext creates a new GetCatalogItemUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetCatalogItemUsingGETParamsWithHTTPClient ¶
func NewGetCatalogItemUsingGETParamsWithHTTPClient(client *http.Client) *GetCatalogItemUsingGETParams
NewGetCatalogItemUsingGETParamsWithHTTPClient creates a new GetCatalogItemUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCatalogItemUsingGETParamsWithTimeout ¶
func NewGetCatalogItemUsingGETParamsWithTimeout(timeout time.Duration) *GetCatalogItemUsingGETParams
NewGetCatalogItemUsingGETParamsWithTimeout creates a new GetCatalogItemUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCatalogItemUsingGETParams) SetContext ¶
func (o *GetCatalogItemUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) SetHTTPClient ¶
func (o *GetCatalogItemUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) SetID ¶
func (o *GetCatalogItemUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) SetTimeout ¶
func (o *GetCatalogItemUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) WithContext ¶
func (o *GetCatalogItemUsingGETParams) WithContext(ctx context.Context) *GetCatalogItemUsingGETParams
WithContext adds the context to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) WithHTTPClient ¶
func (o *GetCatalogItemUsingGETParams) WithHTTPClient(client *http.Client) *GetCatalogItemUsingGETParams
WithHTTPClient adds the HTTPClient to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) WithID ¶
func (o *GetCatalogItemUsingGETParams) WithID(id strfmt.UUID) *GetCatalogItemUsingGETParams
WithID adds the id to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) WithTimeout ¶
func (o *GetCatalogItemUsingGETParams) WithTimeout(timeout time.Duration) *GetCatalogItemUsingGETParams
WithTimeout adds the timeout to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) WriteToRequest ¶
func (o *GetCatalogItemUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogItemUsingGETReader ¶
type GetCatalogItemUsingGETReader struct {
// contains filtered or unexported fields
}
GetCatalogItemUsingGETReader is a Reader for the GetCatalogItemUsingGET structure.
func (*GetCatalogItemUsingGETReader) ReadResponse ¶
func (o *GetCatalogItemUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogItemUsingGETUnauthorized ¶
type GetCatalogItemUsingGETUnauthorized struct { }
GetCatalogItemUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetCatalogItemUsingGETUnauthorized ¶
func NewGetCatalogItemUsingGETUnauthorized() *GetCatalogItemUsingGETUnauthorized
NewGetCatalogItemUsingGETUnauthorized creates a GetCatalogItemUsingGETUnauthorized with default headers values
func (*GetCatalogItemUsingGETUnauthorized) Error ¶
func (o *GetCatalogItemUsingGETUnauthorized) Error() string
type GetCatalogItemsUsingGETOK ¶
type GetCatalogItemsUsingGETOK struct {
Payload *models.PageOfCatalogItem
}
GetCatalogItemsUsingGETOK handles this case with default header values.
OK
func NewGetCatalogItemsUsingGETOK ¶
func NewGetCatalogItemsUsingGETOK() *GetCatalogItemsUsingGETOK
NewGetCatalogItemsUsingGETOK creates a GetCatalogItemsUsingGETOK with default headers values
func (*GetCatalogItemsUsingGETOK) Error ¶
func (o *GetCatalogItemsUsingGETOK) Error() string
func (*GetCatalogItemsUsingGETOK) GetPayload ¶
func (o *GetCatalogItemsUsingGETOK) GetPayload() *models.PageOfCatalogItem
type GetCatalogItemsUsingGETParams ¶
type GetCatalogItemsUsingGETParams struct { /*DollarOrderby Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /*DollarSkip Number of records you want to skip */ DollarSkip *int32 /*DollarTop Number of records you want */ DollarTop *int32 /*ProjectID projectId */ ProjectID *string /*Search search */ Search *string /*SourceIds sourceIds */ SourceIds []strfmt.UUID /*Types types */ Types []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCatalogItemsUsingGETParams contains all the parameters to send to the API endpoint for the get catalog items using g e t operation typically these are written to a http.Request
func NewGetCatalogItemsUsingGETParams ¶
func NewGetCatalogItemsUsingGETParams() *GetCatalogItemsUsingGETParams
NewGetCatalogItemsUsingGETParams creates a new GetCatalogItemsUsingGETParams object with the default values initialized.
func NewGetCatalogItemsUsingGETParamsWithContext ¶
func NewGetCatalogItemsUsingGETParamsWithContext(ctx context.Context) *GetCatalogItemsUsingGETParams
NewGetCatalogItemsUsingGETParamsWithContext creates a new GetCatalogItemsUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetCatalogItemsUsingGETParamsWithHTTPClient ¶
func NewGetCatalogItemsUsingGETParamsWithHTTPClient(client *http.Client) *GetCatalogItemsUsingGETParams
NewGetCatalogItemsUsingGETParamsWithHTTPClient creates a new GetCatalogItemsUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCatalogItemsUsingGETParamsWithTimeout ¶
func NewGetCatalogItemsUsingGETParamsWithTimeout(timeout time.Duration) *GetCatalogItemsUsingGETParams
NewGetCatalogItemsUsingGETParamsWithTimeout creates a new GetCatalogItemsUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCatalogItemsUsingGETParams) SetContext ¶
func (o *GetCatalogItemsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetDollarOrderby ¶ added in v0.2.0
func (o *GetCatalogItemsUsingGETParams) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetDollarSkip ¶ added in v0.2.0
func (o *GetCatalogItemsUsingGETParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetDollarTop ¶ added in v0.2.0
func (o *GetCatalogItemsUsingGETParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetHTTPClient ¶
func (o *GetCatalogItemsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetProjectID ¶
func (o *GetCatalogItemsUsingGETParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetSearch ¶
func (o *GetCatalogItemsUsingGETParams) SetSearch(search *string)
SetSearch adds the search to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetSourceIds ¶
func (o *GetCatalogItemsUsingGETParams) SetSourceIds(sourceIds []strfmt.UUID)
SetSourceIds adds the sourceIds to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetTimeout ¶
func (o *GetCatalogItemsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetTypes ¶
func (o *GetCatalogItemsUsingGETParams) SetTypes(types []string)
SetTypes adds the types to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithContext ¶
func (o *GetCatalogItemsUsingGETParams) WithContext(ctx context.Context) *GetCatalogItemsUsingGETParams
WithContext adds the context to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithDollarOrderby ¶ added in v0.2.0
func (o *GetCatalogItemsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetCatalogItemsUsingGETParams
WithDollarOrderby adds the dollarOrderby to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithDollarSkip ¶ added in v0.2.0
func (o *GetCatalogItemsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetCatalogItemsUsingGETParams
WithDollarSkip adds the dollarSkip to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithDollarTop ¶ added in v0.2.0
func (o *GetCatalogItemsUsingGETParams) WithDollarTop(dollarTop *int32) *GetCatalogItemsUsingGETParams
WithDollarTop adds the dollarTop to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithHTTPClient ¶
func (o *GetCatalogItemsUsingGETParams) WithHTTPClient(client *http.Client) *GetCatalogItemsUsingGETParams
WithHTTPClient adds the HTTPClient to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithProjectID ¶
func (o *GetCatalogItemsUsingGETParams) WithProjectID(projectID *string) *GetCatalogItemsUsingGETParams
WithProjectID adds the projectID to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithSearch ¶
func (o *GetCatalogItemsUsingGETParams) WithSearch(search *string) *GetCatalogItemsUsingGETParams
WithSearch adds the search to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithSourceIds ¶
func (o *GetCatalogItemsUsingGETParams) WithSourceIds(sourceIds []strfmt.UUID) *GetCatalogItemsUsingGETParams
WithSourceIds adds the sourceIds to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithTimeout ¶
func (o *GetCatalogItemsUsingGETParams) WithTimeout(timeout time.Duration) *GetCatalogItemsUsingGETParams
WithTimeout adds the timeout to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WithTypes ¶
func (o *GetCatalogItemsUsingGETParams) WithTypes(types []string) *GetCatalogItemsUsingGETParams
WithTypes adds the types to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) WriteToRequest ¶
func (o *GetCatalogItemsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogItemsUsingGETReader ¶
type GetCatalogItemsUsingGETReader struct {
// contains filtered or unexported fields
}
GetCatalogItemsUsingGETReader is a Reader for the GetCatalogItemsUsingGET structure.
func (*GetCatalogItemsUsingGETReader) ReadResponse ¶
func (o *GetCatalogItemsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogItemsUsingGETUnauthorized ¶
type GetCatalogItemsUsingGETUnauthorized struct { }
GetCatalogItemsUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetCatalogItemsUsingGETUnauthorized ¶
func NewGetCatalogItemsUsingGETUnauthorized() *GetCatalogItemsUsingGETUnauthorized
NewGetCatalogItemsUsingGETUnauthorized creates a GetCatalogItemsUsingGETUnauthorized with default headers values
func (*GetCatalogItemsUsingGETUnauthorized) Error ¶
func (o *GetCatalogItemsUsingGETUnauthorized) Error() string
type SetItemIconUsingPATCHOK ¶
type SetItemIconUsingPATCHOK struct { }
SetItemIconUsingPATCHOK handles this case with default header values.
OK
func NewSetItemIconUsingPATCHOK ¶
func NewSetItemIconUsingPATCHOK() *SetItemIconUsingPATCHOK
NewSetItemIconUsingPATCHOK creates a SetItemIconUsingPATCHOK with default headers values
func (*SetItemIconUsingPATCHOK) Error ¶
func (o *SetItemIconUsingPATCHOK) Error() string
type SetItemIconUsingPATCHParams ¶
type SetItemIconUsingPATCHParams struct { /*ID The unique id of item to update. */ ID strfmt.UUID /*Patch The patch that apply to the item */ Patch *models.AdminCatalogItemPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetItemIconUsingPATCHParams contains all the parameters to send to the API endpoint for the set item icon using p a t c h operation typically these are written to a http.Request
func NewSetItemIconUsingPATCHParams ¶
func NewSetItemIconUsingPATCHParams() *SetItemIconUsingPATCHParams
NewSetItemIconUsingPATCHParams creates a new SetItemIconUsingPATCHParams object with the default values initialized.
func NewSetItemIconUsingPATCHParamsWithContext ¶
func NewSetItemIconUsingPATCHParamsWithContext(ctx context.Context) *SetItemIconUsingPATCHParams
NewSetItemIconUsingPATCHParamsWithContext creates a new SetItemIconUsingPATCHParams object with the default values initialized, and the ability to set a context for a request
func NewSetItemIconUsingPATCHParamsWithHTTPClient ¶
func NewSetItemIconUsingPATCHParamsWithHTTPClient(client *http.Client) *SetItemIconUsingPATCHParams
NewSetItemIconUsingPATCHParamsWithHTTPClient creates a new SetItemIconUsingPATCHParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetItemIconUsingPATCHParamsWithTimeout ¶
func NewSetItemIconUsingPATCHParamsWithTimeout(timeout time.Duration) *SetItemIconUsingPATCHParams
NewSetItemIconUsingPATCHParamsWithTimeout creates a new SetItemIconUsingPATCHParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetItemIconUsingPATCHParams) SetContext ¶
func (o *SetItemIconUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) SetHTTPClient ¶
func (o *SetItemIconUsingPATCHParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) SetID ¶
func (o *SetItemIconUsingPATCHParams) SetID(id strfmt.UUID)
SetID adds the id to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) SetPatch ¶
func (o *SetItemIconUsingPATCHParams) SetPatch(patch *models.AdminCatalogItemPatch)
SetPatch adds the patch to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) SetTimeout ¶
func (o *SetItemIconUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) WithContext ¶
func (o *SetItemIconUsingPATCHParams) WithContext(ctx context.Context) *SetItemIconUsingPATCHParams
WithContext adds the context to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) WithHTTPClient ¶
func (o *SetItemIconUsingPATCHParams) WithHTTPClient(client *http.Client) *SetItemIconUsingPATCHParams
WithHTTPClient adds the HTTPClient to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) WithID ¶
func (o *SetItemIconUsingPATCHParams) WithID(id strfmt.UUID) *SetItemIconUsingPATCHParams
WithID adds the id to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) WithPatch ¶
func (o *SetItemIconUsingPATCHParams) WithPatch(patch *models.AdminCatalogItemPatch) *SetItemIconUsingPATCHParams
WithPatch adds the patch to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) WithTimeout ¶
func (o *SetItemIconUsingPATCHParams) WithTimeout(timeout time.Duration) *SetItemIconUsingPATCHParams
WithTimeout adds the timeout to the set item icon using p a t c h params
func (*SetItemIconUsingPATCHParams) WriteToRequest ¶
func (o *SetItemIconUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetItemIconUsingPATCHReader ¶
type SetItemIconUsingPATCHReader struct {
// contains filtered or unexported fields
}
SetItemIconUsingPATCHReader is a Reader for the SetItemIconUsingPATCH structure.
func (*SetItemIconUsingPATCHReader) ReadResponse ¶
func (o *SetItemIconUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetItemIconUsingPATCHUnauthorized ¶
type SetItemIconUsingPATCHUnauthorized struct { }
SetItemIconUsingPATCHUnauthorized handles this case with default header values.
Unauthorized
func NewSetItemIconUsingPATCHUnauthorized ¶
func NewSetItemIconUsingPATCHUnauthorized() *SetItemIconUsingPATCHUnauthorized
NewSetItemIconUsingPATCHUnauthorized creates a SetItemIconUsingPATCHUnauthorized with default headers values
func (*SetItemIconUsingPATCHUnauthorized) Error ¶
func (o *SetItemIconUsingPATCHUnauthorized) Error() string