catalog_admin_items

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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

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 GetCatalogItemUsingGETForbidden

type GetCatalogItemUsingGETForbidden struct {
}

GetCatalogItemUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetCatalogItemUsingGETForbidden

func NewGetCatalogItemUsingGETForbidden() *GetCatalogItemUsingGETForbidden

NewGetCatalogItemUsingGETForbidden creates a GetCatalogItemUsingGETForbidden with default headers values

func (*GetCatalogItemUsingGETForbidden) Error

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 GetCatalogItemsUsingGETForbidden

type GetCatalogItemsUsingGETForbidden struct {
}

GetCatalogItemsUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetCatalogItemsUsingGETForbidden

func NewGetCatalogItemsUsingGETForbidden() *GetCatalogItemsUsingGETForbidden

NewGetCatalogItemsUsingGETForbidden creates a GetCatalogItemsUsingGETForbidden with default headers values

func (*GetCatalogItemsUsingGETForbidden) Error

type GetCatalogItemsUsingGETNotFound

type GetCatalogItemsUsingGETNotFound struct {
}

GetCatalogItemsUsingGETNotFound handles this case with default header values.

Not Found

func NewGetCatalogItemsUsingGETNotFound

func NewGetCatalogItemsUsingGETNotFound() *GetCatalogItemsUsingGETNotFound

NewGetCatalogItemsUsingGETNotFound creates a GetCatalogItemsUsingGETNotFound with default headers values

func (*GetCatalogItemsUsingGETNotFound) Error

type GetCatalogItemsUsingGETOK

type GetCatalogItemsUsingGETOK struct {
	Payload *models.CatalogItem
}

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.CatalogItem

type GetCatalogItemsUsingGETParams

type GetCatalogItemsUsingGETParams struct {

	/*Page
	  Results page you want to retrieve (0..N)

	*/
	Page *int32
	/*ProjectID
	  projectId

	*/
	ProjectID *string
	/*Search
	  search

	*/
	Search *string
	/*Size
	  Number of records per page.

	*/
	Size *int32
	/*Sort
	  Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

	*/
	Sort []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) SetHTTPClient

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

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

func (*GetCatalogItemsUsingGETParams) SetPage

func (o *GetCatalogItemsUsingGETParams) SetPage(page *int32)

SetPage adds the page 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) SetSize

func (o *GetCatalogItemsUsingGETParams) SetSize(size *int32)

SetSize adds the size to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) SetSort

func (o *GetCatalogItemsUsingGETParams) SetSort(sort []string)

SetSort adds the sort 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) WithHTTPClient

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

func (*GetCatalogItemsUsingGETParams) WithPage

WithPage adds the page 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) WithSize

WithSize adds the size to the get catalog items using get params

func (*GetCatalogItemsUsingGETParams) WithSort

WithSort adds the sort 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 SetItemIconUsingPATCHForbidden

type SetItemIconUsingPATCHForbidden struct {
}

SetItemIconUsingPATCHForbidden handles this case with default header values.

Forbidden

func NewSetItemIconUsingPATCHForbidden

func NewSetItemIconUsingPATCHForbidden() *SetItemIconUsingPATCHForbidden

NewSetItemIconUsingPATCHForbidden creates a SetItemIconUsingPATCHForbidden with default headers values

func (*SetItemIconUsingPATCHForbidden) Error

type SetItemIconUsingPATCHNoContent

type SetItemIconUsingPATCHNoContent struct {
}

SetItemIconUsingPATCHNoContent handles this case with default header values.

No Content

func NewSetItemIconUsingPATCHNoContent

func NewSetItemIconUsingPATCHNoContent() *SetItemIconUsingPATCHNoContent

NewSetItemIconUsingPATCHNoContent creates a SetItemIconUsingPATCHNoContent with default headers values

func (*SetItemIconUsingPATCHNoContent) 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