catalog_admin_items

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for catalog admin items API

func (*Client) GetCatalogItemUsingGET4 added in v0.4.0

func (a *Client) GetCatalogItemUsingGET4(params *GetCatalogItemUsingGET4Params, opts ...ClientOption) (*GetCatalogItemUsingGET4OK, error)

GetCatalogItemUsingGET4 finds a catalog item with specified id

Returns the catalog item with the specified id.

func (*Client) GetCatalogItemsUsingGET4 added in v0.4.0

func (a *Client) GetCatalogItemsUsingGET4(params *GetCatalogItemsUsingGET4Params, opts ...ClientOption) (*GetCatalogItemsUsingGET4OK, error)

GetCatalogItemsUsingGET4 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) UpdateCatalogItemUsingPATCH2 added in v0.4.0

func (a *Client) UpdateCatalogItemUsingPATCH2(params *UpdateCatalogItemUsingPATCH2Params, opts ...ClientOption) (*UpdateCatalogItemUsingPATCH2OK, error)

UpdateCatalogItemUsingPATCH2 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 {
	GetCatalogItemUsingGET4(params *GetCatalogItemUsingGET4Params, opts ...ClientOption) (*GetCatalogItemUsingGET4OK, error)

	GetCatalogItemsUsingGET4(params *GetCatalogItemsUsingGET4Params, opts ...ClientOption) (*GetCatalogItemsUsingGET4OK, error)

	UpdateCatalogItemUsingPATCH2(params *UpdateCatalogItemUsingPATCH2Params, opts ...ClientOption) (*UpdateCatalogItemUsingPATCH2OK, 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 GetCatalogItemUsingGET4NotFound added in v0.4.0

type GetCatalogItemUsingGET4NotFound struct {
	Payload *models.Error
}

GetCatalogItemUsingGET4NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetCatalogItemUsingGET4NotFound added in v0.4.0

func NewGetCatalogItemUsingGET4NotFound() *GetCatalogItemUsingGET4NotFound

NewGetCatalogItemUsingGET4NotFound creates a GetCatalogItemUsingGET4NotFound with default headers values

func (*GetCatalogItemUsingGET4NotFound) Error added in v0.4.0

func (*GetCatalogItemUsingGET4NotFound) GetPayload added in v0.4.0

func (o *GetCatalogItemUsingGET4NotFound) GetPayload() *models.Error

func (*GetCatalogItemUsingGET4NotFound) IsClientError added in v0.5.0

func (o *GetCatalogItemUsingGET4NotFound) IsClientError() bool

IsClientError returns true when this get catalog item using g e t4 not found response has a 4xx status code

func (*GetCatalogItemUsingGET4NotFound) IsCode added in v0.5.0

func (o *GetCatalogItemUsingGET4NotFound) IsCode(code int) bool

IsCode returns true when this get catalog item using g e t4 not found response a status code equal to that given

func (*GetCatalogItemUsingGET4NotFound) IsRedirect added in v0.5.0

func (o *GetCatalogItemUsingGET4NotFound) IsRedirect() bool

IsRedirect returns true when this get catalog item using g e t4 not found response has a 3xx status code

func (*GetCatalogItemUsingGET4NotFound) IsServerError added in v0.5.0

func (o *GetCatalogItemUsingGET4NotFound) IsServerError() bool

IsServerError returns true when this get catalog item using g e t4 not found response has a 5xx status code

func (*GetCatalogItemUsingGET4NotFound) IsSuccess added in v0.5.0

func (o *GetCatalogItemUsingGET4NotFound) IsSuccess() bool

IsSuccess returns true when this get catalog item using g e t4 not found response has a 2xx status code

func (*GetCatalogItemUsingGET4NotFound) String added in v0.5.0

type GetCatalogItemUsingGET4OK added in v0.4.0

type GetCatalogItemUsingGET4OK struct {
	Payload *models.CatalogItem
}

GetCatalogItemUsingGET4OK describes a response with status code 200, with default header values.

OK

func NewGetCatalogItemUsingGET4OK added in v0.4.0

func NewGetCatalogItemUsingGET4OK() *GetCatalogItemUsingGET4OK

NewGetCatalogItemUsingGET4OK creates a GetCatalogItemUsingGET4OK with default headers values

func (*GetCatalogItemUsingGET4OK) Error added in v0.4.0

func (o *GetCatalogItemUsingGET4OK) Error() string

func (*GetCatalogItemUsingGET4OK) GetPayload added in v0.4.0

func (o *GetCatalogItemUsingGET4OK) GetPayload() *models.CatalogItem

func (*GetCatalogItemUsingGET4OK) IsClientError added in v0.5.0

func (o *GetCatalogItemUsingGET4OK) IsClientError() bool

IsClientError returns true when this get catalog item using g e t4 o k response has a 4xx status code

func (*GetCatalogItemUsingGET4OK) IsCode added in v0.5.0

func (o *GetCatalogItemUsingGET4OK) IsCode(code int) bool

IsCode returns true when this get catalog item using g e t4 o k response a status code equal to that given

func (*GetCatalogItemUsingGET4OK) IsRedirect added in v0.5.0

func (o *GetCatalogItemUsingGET4OK) IsRedirect() bool

IsRedirect returns true when this get catalog item using g e t4 o k response has a 3xx status code

func (*GetCatalogItemUsingGET4OK) IsServerError added in v0.5.0

func (o *GetCatalogItemUsingGET4OK) IsServerError() bool

IsServerError returns true when this get catalog item using g e t4 o k response has a 5xx status code

func (*GetCatalogItemUsingGET4OK) IsSuccess added in v0.5.0

func (o *GetCatalogItemUsingGET4OK) IsSuccess() bool

IsSuccess returns true when this get catalog item using g e t4 o k response has a 2xx status code

func (*GetCatalogItemUsingGET4OK) String added in v0.5.0

func (o *GetCatalogItemUsingGET4OK) String() string

type GetCatalogItemUsingGET4Params added in v0.4.0

type GetCatalogItemUsingGET4Params 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

	/* IncludeSource.

	   Includes the Content Source metadata for the Catalog Item
	*/
	IncludeSource *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCatalogItemUsingGET4Params contains all the parameters to send to the API endpoint

for the get catalog item using g e t 4 operation.

Typically these are written to a http.Request.

func NewGetCatalogItemUsingGET4Params added in v0.4.0

func NewGetCatalogItemUsingGET4Params() *GetCatalogItemUsingGET4Params

NewGetCatalogItemUsingGET4Params creates a new GetCatalogItemUsingGET4Params 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 NewGetCatalogItemUsingGET4ParamsWithContext added in v0.4.0

func NewGetCatalogItemUsingGET4ParamsWithContext(ctx context.Context) *GetCatalogItemUsingGET4Params

NewGetCatalogItemUsingGET4ParamsWithContext creates a new GetCatalogItemUsingGET4Params object with the ability to set a context for a request.

func NewGetCatalogItemUsingGET4ParamsWithHTTPClient added in v0.4.0

func NewGetCatalogItemUsingGET4ParamsWithHTTPClient(client *http.Client) *GetCatalogItemUsingGET4Params

NewGetCatalogItemUsingGET4ParamsWithHTTPClient creates a new GetCatalogItemUsingGET4Params object with the ability to set a custom HTTPClient for a request.

func NewGetCatalogItemUsingGET4ParamsWithTimeout added in v0.4.0

func NewGetCatalogItemUsingGET4ParamsWithTimeout(timeout time.Duration) *GetCatalogItemUsingGET4Params

NewGetCatalogItemUsingGET4ParamsWithTimeout creates a new GetCatalogItemUsingGET4Params object with the ability to set a timeout on a request.

func (*GetCatalogItemUsingGET4Params) SetAPIVersion added in v0.4.0

func (o *GetCatalogItemUsingGET4Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) SetContext added in v0.4.0

func (o *GetCatalogItemUsingGET4Params) SetContext(ctx context.Context)

SetContext adds the context to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) SetDefaults added in v0.4.0

func (o *GetCatalogItemUsingGET4Params) SetDefaults()

SetDefaults hydrates default values in the get catalog item using g e t 4 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemUsingGET4Params) SetHTTPClient added in v0.4.0

func (o *GetCatalogItemUsingGET4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) SetID added in v0.4.0

SetID adds the id to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) SetIncludeSource added in v0.5.0

func (o *GetCatalogItemUsingGET4Params) SetIncludeSource(includeSource *bool)

SetIncludeSource adds the includeSource to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) SetTimeout added in v0.4.0

func (o *GetCatalogItemUsingGET4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WithAPIVersion added in v0.4.0

func (o *GetCatalogItemUsingGET4Params) WithAPIVersion(aPIVersion *string) *GetCatalogItemUsingGET4Params

WithAPIVersion adds the aPIVersion to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WithContext added in v0.4.0

WithContext adds the context to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get catalog item using g e t 4 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemUsingGET4Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WithID added in v0.4.0

WithID adds the id to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WithIncludeSource added in v0.5.0

func (o *GetCatalogItemUsingGET4Params) WithIncludeSource(includeSource *bool) *GetCatalogItemUsingGET4Params

WithIncludeSource adds the includeSource to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get catalog item using g e t 4 params

func (*GetCatalogItemUsingGET4Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetCatalogItemUsingGET4Reader added in v0.4.0

type GetCatalogItemUsingGET4Reader struct {
	// contains filtered or unexported fields
}

GetCatalogItemUsingGET4Reader is a Reader for the GetCatalogItemUsingGET4 structure.

func (*GetCatalogItemUsingGET4Reader) ReadResponse added in v0.4.0

func (o *GetCatalogItemUsingGET4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCatalogItemUsingGET4Unauthorized added in v0.4.0

type GetCatalogItemUsingGET4Unauthorized struct {
}

GetCatalogItemUsingGET4Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCatalogItemUsingGET4Unauthorized added in v0.4.0

func NewGetCatalogItemUsingGET4Unauthorized() *GetCatalogItemUsingGET4Unauthorized

NewGetCatalogItemUsingGET4Unauthorized creates a GetCatalogItemUsingGET4Unauthorized with default headers values

func (*GetCatalogItemUsingGET4Unauthorized) Error added in v0.4.0

func (*GetCatalogItemUsingGET4Unauthorized) IsClientError added in v0.5.0

func (o *GetCatalogItemUsingGET4Unauthorized) IsClientError() bool

IsClientError returns true when this get catalog item using g e t4 unauthorized response has a 4xx status code

func (*GetCatalogItemUsingGET4Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get catalog item using g e t4 unauthorized response a status code equal to that given

func (*GetCatalogItemUsingGET4Unauthorized) IsRedirect added in v0.5.0

func (o *GetCatalogItemUsingGET4Unauthorized) IsRedirect() bool

IsRedirect returns true when this get catalog item using g e t4 unauthorized response has a 3xx status code

func (*GetCatalogItemUsingGET4Unauthorized) IsServerError added in v0.5.0

func (o *GetCatalogItemUsingGET4Unauthorized) IsServerError() bool

IsServerError returns true when this get catalog item using g e t4 unauthorized response has a 5xx status code

func (*GetCatalogItemUsingGET4Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get catalog item using g e t4 unauthorized response has a 2xx status code

func (*GetCatalogItemUsingGET4Unauthorized) String added in v0.5.0

type GetCatalogItemsUsingGET4OK added in v0.4.0

type GetCatalogItemsUsingGET4OK struct {
	Payload *models.PageOfCatalogItem
}

GetCatalogItemsUsingGET4OK describes a response with status code 200, with default header values.

OK

func NewGetCatalogItemsUsingGET4OK added in v0.4.0

func NewGetCatalogItemsUsingGET4OK() *GetCatalogItemsUsingGET4OK

NewGetCatalogItemsUsingGET4OK creates a GetCatalogItemsUsingGET4OK with default headers values

func (*GetCatalogItemsUsingGET4OK) Error added in v0.4.0

func (*GetCatalogItemsUsingGET4OK) GetPayload added in v0.4.0

func (*GetCatalogItemsUsingGET4OK) IsClientError added in v0.5.0

func (o *GetCatalogItemsUsingGET4OK) IsClientError() bool

IsClientError returns true when this get catalog items using g e t4 o k response has a 4xx status code

func (*GetCatalogItemsUsingGET4OK) IsCode added in v0.5.0

func (o *GetCatalogItemsUsingGET4OK) IsCode(code int) bool

IsCode returns true when this get catalog items using g e t4 o k response a status code equal to that given

func (*GetCatalogItemsUsingGET4OK) IsRedirect added in v0.5.0

func (o *GetCatalogItemsUsingGET4OK) IsRedirect() bool

IsRedirect returns true when this get catalog items using g e t4 o k response has a 3xx status code

func (*GetCatalogItemsUsingGET4OK) IsServerError added in v0.5.0

func (o *GetCatalogItemsUsingGET4OK) IsServerError() bool

IsServerError returns true when this get catalog items using g e t4 o k response has a 5xx status code

func (*GetCatalogItemsUsingGET4OK) IsSuccess added in v0.5.0

func (o *GetCatalogItemsUsingGET4OK) IsSuccess() bool

IsSuccess returns true when this get catalog items using g e t4 o k response has a 2xx status code

func (*GetCatalogItemsUsingGET4OK) String added in v0.5.0

func (o *GetCatalogItemsUsingGET4OK) String() string

type GetCatalogItemsUsingGET4Params added in v0.4.0

type GetCatalogItemsUsingGET4Params 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.

	   Matches which can be requested within project with the given projectId
	*/
	ProjectID *string

	/* Search.

	   Matches will have this string somewhere in their name or description.
	*/
	Search *string

	/* SourceIds.

	   A list of Content Source IDs. Results will be from one of these sources.
	*/
	SourceIds []strfmt.UUID

	/* Types.

	   A list of Catalog Item Type IDs. Results will be one of these types.
	*/
	Types []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCatalogItemsUsingGET4Params contains all the parameters to send to the API endpoint

for the get catalog items using g e t 4 operation.

Typically these are written to a http.Request.

func NewGetCatalogItemsUsingGET4Params added in v0.4.0

func NewGetCatalogItemsUsingGET4Params() *GetCatalogItemsUsingGET4Params

NewGetCatalogItemsUsingGET4Params creates a new GetCatalogItemsUsingGET4Params 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 NewGetCatalogItemsUsingGET4ParamsWithContext added in v0.4.0

func NewGetCatalogItemsUsingGET4ParamsWithContext(ctx context.Context) *GetCatalogItemsUsingGET4Params

NewGetCatalogItemsUsingGET4ParamsWithContext creates a new GetCatalogItemsUsingGET4Params object with the ability to set a context for a request.

func NewGetCatalogItemsUsingGET4ParamsWithHTTPClient added in v0.4.0

func NewGetCatalogItemsUsingGET4ParamsWithHTTPClient(client *http.Client) *GetCatalogItemsUsingGET4Params

NewGetCatalogItemsUsingGET4ParamsWithHTTPClient creates a new GetCatalogItemsUsingGET4Params object with the ability to set a custom HTTPClient for a request.

func NewGetCatalogItemsUsingGET4ParamsWithTimeout added in v0.4.0

func NewGetCatalogItemsUsingGET4ParamsWithTimeout(timeout time.Duration) *GetCatalogItemsUsingGET4Params

NewGetCatalogItemsUsingGET4ParamsWithTimeout creates a new GetCatalogItemsUsingGET4Params object with the ability to set a timeout on a request.

func (*GetCatalogItemsUsingGET4Params) SetAPIVersion added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetContext added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetContext(ctx context.Context)

SetContext adds the context to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetDefaults added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetDefaults()

SetDefaults hydrates default values in the get catalog items using g e t 4 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemsUsingGET4Params) SetDollarOrderby added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetDollarSkip added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetDollarTop added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetHTTPClient added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetProjectID added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetProjectID(projectID *string)

SetProjectID adds the projectId to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetSearch added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetSearch(search *string)

SetSearch adds the search to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetSourceIds added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetSourceIds(sourceIds []strfmt.UUID)

SetSourceIds adds the sourceIds to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetTimeout added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) SetTypes added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) SetTypes(types []string)

SetTypes adds the types to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithContext added in v0.4.0

WithContext adds the context to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get catalog items using g e t 4 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemsUsingGET4Params) WithDollarOrderby added in v0.4.0

func (o *GetCatalogItemsUsingGET4Params) WithDollarOrderby(dollarOrderby []string) *GetCatalogItemsUsingGET4Params

WithDollarOrderby adds the dollarOrderby to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithProjectID added in v0.4.0

WithProjectID adds the projectID to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithSearch added in v0.4.0

WithSearch adds the search to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithSourceIds added in v0.4.0

WithSourceIds adds the sourceIds to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WithTypes added in v0.4.0

WithTypes adds the types to the get catalog items using g e t 4 params

func (*GetCatalogItemsUsingGET4Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetCatalogItemsUsingGET4Reader added in v0.4.0

type GetCatalogItemsUsingGET4Reader struct {
	// contains filtered or unexported fields
}

GetCatalogItemsUsingGET4Reader is a Reader for the GetCatalogItemsUsingGET4 structure.

func (*GetCatalogItemsUsingGET4Reader) ReadResponse added in v0.4.0

func (o *GetCatalogItemsUsingGET4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCatalogItemsUsingGET4Unauthorized added in v0.4.0

type GetCatalogItemsUsingGET4Unauthorized struct {
}

GetCatalogItemsUsingGET4Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCatalogItemsUsingGET4Unauthorized added in v0.4.0

func NewGetCatalogItemsUsingGET4Unauthorized() *GetCatalogItemsUsingGET4Unauthorized

NewGetCatalogItemsUsingGET4Unauthorized creates a GetCatalogItemsUsingGET4Unauthorized with default headers values

func (*GetCatalogItemsUsingGET4Unauthorized) Error added in v0.4.0

func (*GetCatalogItemsUsingGET4Unauthorized) IsClientError added in v0.5.0

func (o *GetCatalogItemsUsingGET4Unauthorized) IsClientError() bool

IsClientError returns true when this get catalog items using g e t4 unauthorized response has a 4xx status code

func (*GetCatalogItemsUsingGET4Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get catalog items using g e t4 unauthorized response a status code equal to that given

func (*GetCatalogItemsUsingGET4Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get catalog items using g e t4 unauthorized response has a 3xx status code

func (*GetCatalogItemsUsingGET4Unauthorized) IsServerError added in v0.5.0

func (o *GetCatalogItemsUsingGET4Unauthorized) IsServerError() bool

IsServerError returns true when this get catalog items using g e t4 unauthorized response has a 5xx status code

func (*GetCatalogItemsUsingGET4Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get catalog items using g e t4 unauthorized response has a 2xx status code

func (*GetCatalogItemsUsingGET4Unauthorized) String added in v0.5.0

type UpdateCatalogItemUsingPATCH2OK added in v0.4.0

type UpdateCatalogItemUsingPATCH2OK struct {
}

UpdateCatalogItemUsingPATCH2OK describes a response with status code 200, with default header values.

OK

func NewUpdateCatalogItemUsingPATCH2OK added in v0.4.0

func NewUpdateCatalogItemUsingPATCH2OK() *UpdateCatalogItemUsingPATCH2OK

NewUpdateCatalogItemUsingPATCH2OK creates a UpdateCatalogItemUsingPATCH2OK with default headers values

func (*UpdateCatalogItemUsingPATCH2OK) Error added in v0.4.0

func (*UpdateCatalogItemUsingPATCH2OK) IsClientError added in v0.5.0

func (o *UpdateCatalogItemUsingPATCH2OK) IsClientError() bool

IsClientError returns true when this update catalog item using p a t c h2 o k response has a 4xx status code

func (*UpdateCatalogItemUsingPATCH2OK) IsCode added in v0.5.0

func (o *UpdateCatalogItemUsingPATCH2OK) IsCode(code int) bool

IsCode returns true when this update catalog item using p a t c h2 o k response a status code equal to that given

func (*UpdateCatalogItemUsingPATCH2OK) IsRedirect added in v0.5.0

func (o *UpdateCatalogItemUsingPATCH2OK) IsRedirect() bool

IsRedirect returns true when this update catalog item using p a t c h2 o k response has a 3xx status code

func (*UpdateCatalogItemUsingPATCH2OK) IsServerError added in v0.5.0

func (o *UpdateCatalogItemUsingPATCH2OK) IsServerError() bool

IsServerError returns true when this update catalog item using p a t c h2 o k response has a 5xx status code

func (*UpdateCatalogItemUsingPATCH2OK) IsSuccess added in v0.5.0

func (o *UpdateCatalogItemUsingPATCH2OK) IsSuccess() bool

IsSuccess returns true when this update catalog item using p a t c h2 o k response has a 2xx status code

func (*UpdateCatalogItemUsingPATCH2OK) String added in v0.5.0

type UpdateCatalogItemUsingPATCH2Params added in v0.4.0

type UpdateCatalogItemUsingPATCH2Params 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
}

UpdateCatalogItemUsingPATCH2Params contains all the parameters to send to the API endpoint

for the update catalog item using p a t c h 2 operation.

Typically these are written to a http.Request.

func NewUpdateCatalogItemUsingPATCH2Params added in v0.4.0

func NewUpdateCatalogItemUsingPATCH2Params() *UpdateCatalogItemUsingPATCH2Params

NewUpdateCatalogItemUsingPATCH2Params creates a new UpdateCatalogItemUsingPATCH2Params 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 NewUpdateCatalogItemUsingPATCH2ParamsWithContext added in v0.4.0

func NewUpdateCatalogItemUsingPATCH2ParamsWithContext(ctx context.Context) *UpdateCatalogItemUsingPATCH2Params

NewUpdateCatalogItemUsingPATCH2ParamsWithContext creates a new UpdateCatalogItemUsingPATCH2Params object with the ability to set a context for a request.

func NewUpdateCatalogItemUsingPATCH2ParamsWithHTTPClient added in v0.4.0

func NewUpdateCatalogItemUsingPATCH2ParamsWithHTTPClient(client *http.Client) *UpdateCatalogItemUsingPATCH2Params

NewUpdateCatalogItemUsingPATCH2ParamsWithHTTPClient creates a new UpdateCatalogItemUsingPATCH2Params object with the ability to set a custom HTTPClient for a request.

func NewUpdateCatalogItemUsingPATCH2ParamsWithTimeout added in v0.4.0

func NewUpdateCatalogItemUsingPATCH2ParamsWithTimeout(timeout time.Duration) *UpdateCatalogItemUsingPATCH2Params

NewUpdateCatalogItemUsingPATCH2ParamsWithTimeout creates a new UpdateCatalogItemUsingPATCH2Params object with the ability to set a timeout on a request.

func (*UpdateCatalogItemUsingPATCH2Params) SetAPIVersion added in v0.4.0

func (o *UpdateCatalogItemUsingPATCH2Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) SetContext added in v0.4.0

SetContext adds the context to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) SetDefaults added in v0.4.0

func (o *UpdateCatalogItemUsingPATCH2Params) SetDefaults()

SetDefaults hydrates default values in the update catalog item using p a t c h 2 params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCatalogItemUsingPATCH2Params) SetHTTPClient added in v0.4.0

func (o *UpdateCatalogItemUsingPATCH2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) SetID added in v0.4.0

SetID adds the id to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) SetPatch added in v0.4.0

SetPatch adds the patch to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) SetTimeout added in v0.4.0

func (o *UpdateCatalogItemUsingPATCH2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WithContext added in v0.4.0

WithContext adds the context to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the update catalog item using p a t c h 2 params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCatalogItemUsingPATCH2Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WithID added in v0.4.0

WithID adds the id to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WithPatch added in v0.4.0

WithPatch adds the patch to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the update catalog item using p a t c h 2 params

func (*UpdateCatalogItemUsingPATCH2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type UpdateCatalogItemUsingPATCH2Reader added in v0.4.0

type UpdateCatalogItemUsingPATCH2Reader struct {
	// contains filtered or unexported fields
}

UpdateCatalogItemUsingPATCH2Reader is a Reader for the UpdateCatalogItemUsingPATCH2 structure.

func (*UpdateCatalogItemUsingPATCH2Reader) ReadResponse added in v0.4.0

func (o *UpdateCatalogItemUsingPATCH2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateCatalogItemUsingPATCH2Unauthorized added in v0.4.0

type UpdateCatalogItemUsingPATCH2Unauthorized struct {
}

UpdateCatalogItemUsingPATCH2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateCatalogItemUsingPATCH2Unauthorized added in v0.4.0

func NewUpdateCatalogItemUsingPATCH2Unauthorized() *UpdateCatalogItemUsingPATCH2Unauthorized

NewUpdateCatalogItemUsingPATCH2Unauthorized creates a UpdateCatalogItemUsingPATCH2Unauthorized with default headers values

func (*UpdateCatalogItemUsingPATCH2Unauthorized) Error added in v0.4.0

func (*UpdateCatalogItemUsingPATCH2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this update catalog item using p a t c h2 unauthorized response has a 4xx status code

func (*UpdateCatalogItemUsingPATCH2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this update catalog item using p a t c h2 unauthorized response a status code equal to that given

func (*UpdateCatalogItemUsingPATCH2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this update catalog item using p a t c h2 unauthorized response has a 3xx status code

func (*UpdateCatalogItemUsingPATCH2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this update catalog item using p a t c h2 unauthorized response has a 5xx status code

func (*UpdateCatalogItemUsingPATCH2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this update catalog item using p a t c h2 unauthorized response has a 2xx status code

func (*UpdateCatalogItemUsingPATCH2Unauthorized) String added in v0.5.0

Jump to

Keyboard shortcuts

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