Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCatalogItemUsingGET(params *GetCatalogItemUsingGETParams, opts ...ClientOption) (*GetCatalogItemUsingGETOK, error)
- func (a *Client) GetCatalogItemsUsingGET(params *GetCatalogItemsUsingGETParams, opts ...ClientOption) (*GetCatalogItemsUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCatalogItemUsingPATCH(params *UpdateCatalogItemUsingPATCHParams, opts ...ClientOption) (*UpdateCatalogItemUsingPATCHOK, error)
- type ClientOption
- type ClientService
- 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) SetAPIVersion(aPIVersion *string)
- func (o *GetCatalogItemUsingGETParams) SetContext(ctx context.Context)
- func (o *GetCatalogItemUsingGETParams) SetDefaults()
- func (o *GetCatalogItemUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogItemUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetCatalogItemUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogItemUsingGETParams) WithAPIVersion(aPIVersion *string) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) WithContext(ctx context.Context) *GetCatalogItemUsingGETParams
- func (o *GetCatalogItemUsingGETParams) WithDefaults() *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) SetAPIVersion(aPIVersion *string)
- func (o *GetCatalogItemsUsingGETParams) SetContext(ctx context.Context)
- func (o *GetCatalogItemsUsingGETParams) SetDefaults()
- 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) WithAPIVersion(aPIVersion *string) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithContext(ctx context.Context) *GetCatalogItemsUsingGETParams
- func (o *GetCatalogItemsUsingGETParams) WithDefaults() *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 UpdateCatalogItemUsingPATCHOK
- type UpdateCatalogItemUsingPATCHParams
- func NewUpdateCatalogItemUsingPATCHParams() *UpdateCatalogItemUsingPATCHParams
- func NewUpdateCatalogItemUsingPATCHParamsWithContext(ctx context.Context) *UpdateCatalogItemUsingPATCHParams
- func NewUpdateCatalogItemUsingPATCHParamsWithHTTPClient(client *http.Client) *UpdateCatalogItemUsingPATCHParams
- func NewUpdateCatalogItemUsingPATCHParamsWithTimeout(timeout time.Duration) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateCatalogItemUsingPATCHParams) SetContext(ctx context.Context)
- func (o *UpdateCatalogItemUsingPATCHParams) SetDefaults()
- func (o *UpdateCatalogItemUsingPATCHParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCatalogItemUsingPATCHParams) SetID(id strfmt.UUID)
- func (o *UpdateCatalogItemUsingPATCHParams) SetPatch(patch *models.AdminCatalogItemPatch)
- func (o *UpdateCatalogItemUsingPATCHParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCatalogItemUsingPATCHParams) WithAPIVersion(aPIVersion *string) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WithContext(ctx context.Context) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WithDefaults() *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WithHTTPClient(client *http.Client) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WithID(id strfmt.UUID) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WithPatch(patch *models.AdminCatalogItemPatch) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WithTimeout(timeout time.Duration) *UpdateCatalogItemUsingPATCHParams
- func (o *UpdateCatalogItemUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCatalogItemUsingPATCHReader
- type UpdateCatalogItemUsingPATCHUnauthorized
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 (*Client) GetCatalogItemUsingGET ¶
func (a *Client) GetCatalogItemUsingGET(params *GetCatalogItemUsingGETParams, opts ...ClientOption) (*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, opts ...ClientOption) (*GetCatalogItemsUsingGETOK, error)
GetCatalogItemsUsingGET fetches a list of catalog items
Returns a paginated list of catalog items.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCatalogItemUsingPATCH ¶ added in v0.2.8
func (a *Client) UpdateCatalogItemUsingPATCH(params *UpdateCatalogItemUsingPATCHParams, opts ...ClientOption) (*UpdateCatalogItemUsingPATCHOK, error)
UpdateCatalogItemUsingPATCH sets an icon or request limit to a catalog item
Updates a catalog item with specified icon id or request limit.
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { GetCatalogItemUsingGET(params *GetCatalogItemUsingGETParams, opts ...ClientOption) (*GetCatalogItemUsingGETOK, error) GetCatalogItemsUsingGET(params *GetCatalogItemsUsingGETParams, opts ...ClientOption) (*GetCatalogItemsUsingGETOK, error) UpdateCatalogItemUsingPATCH(params *UpdateCatalogItemUsingPATCHParams, opts ...ClientOption) (*UpdateCatalogItemUsingPATCHOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new catalog admin items API client.
type GetCatalogItemUsingGETNotFound ¶
GetCatalogItemUsingGETNotFound describes a response with status code 404, 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
func (*GetCatalogItemUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *GetCatalogItemUsingGETNotFound) GetPayload() *models.Error
type GetCatalogItemUsingGETOK ¶
type GetCatalogItemUsingGETOK struct {
Payload *models.CatalogItem
}
GetCatalogItemUsingGETOK describes a response with status code 200, 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 { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. Catalog item id Format: uuid */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogItemUsingGETParamsWithContext ¶
func NewGetCatalogItemUsingGETParamsWithContext(ctx context.Context) *GetCatalogItemUsingGETParams
NewGetCatalogItemUsingGETParamsWithContext creates a new GetCatalogItemUsingGETParams object with 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 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 ability to set a timeout on a request.
func (*GetCatalogItemUsingGETParams) SetAPIVersion ¶ added in v0.2.9
func (o *GetCatalogItemUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) SetContext ¶
func (o *GetCatalogItemUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog item using get params
func (*GetCatalogItemUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *GetCatalogItemUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get catalog item using get params (not the query body).
All values with no default are reset to their zero value.
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) WithAPIVersion ¶ added in v0.2.9
func (o *GetCatalogItemUsingGETParams) WithAPIVersion(aPIVersion *string) *GetCatalogItemUsingGETParams
WithAPIVersion adds the aPIVersion 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) WithDefaults ¶ added in v0.2.20
func (o *GetCatalogItemUsingGETParams) WithDefaults() *GetCatalogItemUsingGETParams
WithDefaults hydrates default values in the get catalog item using get params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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 describes a response with status code 200, 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 Format: int32 */ DollarSkip *int32 /* DollarTop. Number of records you want Format: int32 */ DollarTop *int32 /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogItemsUsingGETParamsWithContext ¶
func NewGetCatalogItemsUsingGETParamsWithContext(ctx context.Context) *GetCatalogItemsUsingGETParams
NewGetCatalogItemsUsingGETParamsWithContext creates a new GetCatalogItemsUsingGETParams object with 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 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 ability to set a timeout on a request.
func (*GetCatalogItemsUsingGETParams) SetAPIVersion ¶ added in v0.2.9
func (o *GetCatalogItemsUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetContext ¶
func (o *GetCatalogItemsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog items using get params
func (*GetCatalogItemsUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *GetCatalogItemsUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get catalog items using get params (not the query body).
All values with no default are reset to their zero value.
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) WithAPIVersion ¶ added in v0.2.9
func (o *GetCatalogItemsUsingGETParams) WithAPIVersion(aPIVersion *string) *GetCatalogItemsUsingGETParams
WithAPIVersion adds the aPIVersion 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) WithDefaults ¶ added in v0.2.20
func (o *GetCatalogItemsUsingGETParams) WithDefaults() *GetCatalogItemsUsingGETParams
WithDefaults hydrates default values in the get catalog items using get params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 401, 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 UpdateCatalogItemUsingPATCHOK ¶ added in v0.2.8
type UpdateCatalogItemUsingPATCHOK struct { }
UpdateCatalogItemUsingPATCHOK describes a response with status code 200, with default header values.
OK
func NewUpdateCatalogItemUsingPATCHOK ¶ added in v0.2.8
func NewUpdateCatalogItemUsingPATCHOK() *UpdateCatalogItemUsingPATCHOK
NewUpdateCatalogItemUsingPATCHOK creates a UpdateCatalogItemUsingPATCHOK with default headers values
func (*UpdateCatalogItemUsingPATCHOK) Error ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHOK) Error() string
type UpdateCatalogItemUsingPATCHParams ¶ added in v0.2.8
type UpdateCatalogItemUsingPATCHParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. The unique id of item to update. Format: uuid */ 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 }
UpdateCatalogItemUsingPATCHParams contains all the parameters to send to the API endpoint
for the update catalog item using p a t c h operation. Typically these are written to a http.Request.
func NewUpdateCatalogItemUsingPATCHParams ¶ added in v0.2.8
func NewUpdateCatalogItemUsingPATCHParams() *UpdateCatalogItemUsingPATCHParams
NewUpdateCatalogItemUsingPATCHParams creates a new UpdateCatalogItemUsingPATCHParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateCatalogItemUsingPATCHParamsWithContext ¶ added in v0.2.8
func NewUpdateCatalogItemUsingPATCHParamsWithContext(ctx context.Context) *UpdateCatalogItemUsingPATCHParams
NewUpdateCatalogItemUsingPATCHParamsWithContext creates a new UpdateCatalogItemUsingPATCHParams object with the ability to set a context for a request.
func NewUpdateCatalogItemUsingPATCHParamsWithHTTPClient ¶ added in v0.2.8
func NewUpdateCatalogItemUsingPATCHParamsWithHTTPClient(client *http.Client) *UpdateCatalogItemUsingPATCHParams
NewUpdateCatalogItemUsingPATCHParamsWithHTTPClient creates a new UpdateCatalogItemUsingPATCHParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCatalogItemUsingPATCHParamsWithTimeout ¶ added in v0.2.8
func NewUpdateCatalogItemUsingPATCHParamsWithTimeout(timeout time.Duration) *UpdateCatalogItemUsingPATCHParams
NewUpdateCatalogItemUsingPATCHParamsWithTimeout creates a new UpdateCatalogItemUsingPATCHParams object with the ability to set a timeout on a request.
func (*UpdateCatalogItemUsingPATCHParams) SetAPIVersion ¶ added in v0.2.9
func (o *UpdateCatalogItemUsingPATCHParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) SetContext ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) SetContext(ctx context.Context)
SetContext adds the context to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) SetDefaults ¶ added in v0.2.20
func (o *UpdateCatalogItemUsingPATCHParams) SetDefaults()
SetDefaults hydrates default values in the update catalog item using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCatalogItemUsingPATCHParams) SetHTTPClient ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) SetID ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) SetID(id strfmt.UUID)
SetID adds the id to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) SetPatch ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) SetPatch(patch *models.AdminCatalogItemPatch)
SetPatch adds the patch to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) SetTimeout ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WithAPIVersion ¶ added in v0.2.9
func (o *UpdateCatalogItemUsingPATCHParams) WithAPIVersion(aPIVersion *string) *UpdateCatalogItemUsingPATCHParams
WithAPIVersion adds the aPIVersion to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WithContext ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) WithContext(ctx context.Context) *UpdateCatalogItemUsingPATCHParams
WithContext adds the context to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WithDefaults ¶ added in v0.2.20
func (o *UpdateCatalogItemUsingPATCHParams) WithDefaults() *UpdateCatalogItemUsingPATCHParams
WithDefaults hydrates default values in the update catalog item using p a t c h params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCatalogItemUsingPATCHParams) WithHTTPClient ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) WithHTTPClient(client *http.Client) *UpdateCatalogItemUsingPATCHParams
WithHTTPClient adds the HTTPClient to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WithID ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) WithID(id strfmt.UUID) *UpdateCatalogItemUsingPATCHParams
WithID adds the id to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WithPatch ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) WithPatch(patch *models.AdminCatalogItemPatch) *UpdateCatalogItemUsingPATCHParams
WithPatch adds the patch to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WithTimeout ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) WithTimeout(timeout time.Duration) *UpdateCatalogItemUsingPATCHParams
WithTimeout adds the timeout to the update catalog item using p a t c h params
func (*UpdateCatalogItemUsingPATCHParams) WriteToRequest ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCatalogItemUsingPATCHReader ¶ added in v0.2.8
type UpdateCatalogItemUsingPATCHReader struct {
// contains filtered or unexported fields
}
UpdateCatalogItemUsingPATCHReader is a Reader for the UpdateCatalogItemUsingPATCH structure.
func (*UpdateCatalogItemUsingPATCHReader) ReadResponse ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCatalogItemUsingPATCHUnauthorized ¶ added in v0.2.8
type UpdateCatalogItemUsingPATCHUnauthorized struct { }
UpdateCatalogItemUsingPATCHUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateCatalogItemUsingPATCHUnauthorized ¶ added in v0.2.8
func NewUpdateCatalogItemUsingPATCHUnauthorized() *UpdateCatalogItemUsingPATCHUnauthorized
NewUpdateCatalogItemUsingPATCHUnauthorized creates a UpdateCatalogItemUsingPATCHUnauthorized with default headers values
func (*UpdateCatalogItemUsingPATCHUnauthorized) Error ¶ added in v0.2.8
func (o *UpdateCatalogItemUsingPATCHUnauthorized) Error() string