catalog_admin_items

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 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 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

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

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

WithContext adds the context to the get catalog item using get params

func (*GetCatalogItemUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get catalog item using get params

func (*GetCatalogItemUsingGETParams) WithID

WithID adds the id to the get catalog item using get params

func (*GetCatalogItemUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get catalog item using get params

func (*GetCatalogItemUsingGETParams) WriteToRequest

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

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

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

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

WithDollarTop adds the dollarTop to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithProjectID

WithProjectID adds the projectID to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithSearch

WithSearch adds the search to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithSourceIds

WithSourceIds adds the sourceIds to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithTypes

WithTypes adds the types to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WriteToRequest

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

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

SetID adds the id to the set item icon using p a t c h params

func (*SetItemIconUsingPATCHParams) SetPatch

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

WithContext adds the context to the set item icon using p a t c h params

func (*SetItemIconUsingPATCHParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set item icon using p a t c h params

func (*SetItemIconUsingPATCHParams) WithID

WithID adds the id to the set item icon using p a t c h params

func (*SetItemIconUsingPATCHParams) WithPatch

WithPatch adds the patch to the set item icon using p a t c h params

func (*SetItemIconUsingPATCHParams) WithTimeout

WithTimeout adds the timeout to the set item icon using p a t c h params

func (*SetItemIconUsingPATCHParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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