catalog_admin_items

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 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) 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) 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) (*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 ClientService added in v0.2.18

type ClientService interface {
	GetCatalogItemUsingGET(params *GetCatalogItemUsingGETParams) (*GetCatalogItemUsingGETOK, error)

	GetCatalogItemsUsingGET(params *GetCatalogItemsUsingGETParams) (*GetCatalogItemsUsingGETOK, error)

	UpdateCatalogItemUsingPATCH(params *UpdateCatalogItemUsingPATCHParams) (*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

type GetCatalogItemUsingGETNotFound struct {
	Payload *models.Error
}

GetCatalogItemUsingGETNotFound handles this case with default header values.

Not Found

func NewGetCatalogItemUsingGETNotFound

func NewGetCatalogItemUsingGETNotFound() *GetCatalogItemUsingGETNotFound

NewGetCatalogItemUsingGETNotFound creates a GetCatalogItemUsingGETNotFound with default headers values

func (*GetCatalogItemUsingGETNotFound) Error

func (*GetCatalogItemUsingGETNotFound) GetPayload added in v0.2.9

func (o *GetCatalogItemUsingGETNotFound) GetPayload() *models.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 {

	/*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

	*/
	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) 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) 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) 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

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
	/*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 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) 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) 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

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 UpdateCatalogItemUsingPATCHOK added in v0.2.8

type UpdateCatalogItemUsingPATCHOK struct {
}

UpdateCatalogItemUsingPATCHOK handles this case 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

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.

	*/
	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 values initialized.

func NewUpdateCatalogItemUsingPATCHParamsWithContext added in v0.2.8

func NewUpdateCatalogItemUsingPATCHParamsWithContext(ctx context.Context) *UpdateCatalogItemUsingPATCHParams

NewUpdateCatalogItemUsingPATCHParamsWithContext creates a new UpdateCatalogItemUsingPATCHParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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

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

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

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

func (*UpdateCatalogItemUsingPATCHParams) SetPatch added in v0.2.8

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

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

func (*UpdateCatalogItemUsingPATCHParams) WithContext added in v0.2.8

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

func (*UpdateCatalogItemUsingPATCHParams) WithHTTPClient added in v0.2.8

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

func (*UpdateCatalogItemUsingPATCHParams) WithID added in v0.2.8

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

func (*UpdateCatalogItemUsingPATCHParams) WithPatch added in v0.2.8

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

func (*UpdateCatalogItemUsingPATCHParams) WithTimeout added in v0.2.8

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

func (*UpdateCatalogItemUsingPATCHParams) WriteToRequest added in v0.2.8

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 handles this case 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

Jump to

Keyboard shortcuts

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