catalog

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT 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 API

func (*Client) GetCatalogItem

func (a *Client) GetCatalogItem(params *GetCatalogItemParams, opts ...ClientOption) (*GetCatalogItemOK, error)
GetCatalogItem Retrieves details for an item in the Amazon catalog.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) SearchCatalogItems

func (a *Client) SearchCatalogItems(params *SearchCatalogItemsParams, opts ...ClientOption) (*SearchCatalogItemsOK, error)
SearchCatalogItems Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords.

**Usage Plans:**

| Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetCatalogItem(params *GetCatalogItemParams, opts ...ClientOption) (*GetCatalogItemOK, error)

	SearchCatalogItems(params *SearchCatalogItemsParams, opts ...ClientOption) (*SearchCatalogItemsOK, 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 API client.

type GetCatalogItemBadRequest

type GetCatalogItemBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewGetCatalogItemBadRequest

func NewGetCatalogItemBadRequest() *GetCatalogItemBadRequest

NewGetCatalogItemBadRequest creates a GetCatalogItemBadRequest with default headers values

func (*GetCatalogItemBadRequest) Error

func (o *GetCatalogItemBadRequest) Error() string

func (*GetCatalogItemBadRequest) GetPayload

func (*GetCatalogItemBadRequest) IsClientError

func (o *GetCatalogItemBadRequest) IsClientError() bool

IsClientError returns true when this get catalog item bad request response has a 4xx status code

func (*GetCatalogItemBadRequest) IsCode

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

IsCode returns true when this get catalog item bad request response a status code equal to that given

func (*GetCatalogItemBadRequest) IsRedirect

func (o *GetCatalogItemBadRequest) IsRedirect() bool

IsRedirect returns true when this get catalog item bad request response has a 3xx status code

func (*GetCatalogItemBadRequest) IsServerError

func (o *GetCatalogItemBadRequest) IsServerError() bool

IsServerError returns true when this get catalog item bad request response has a 5xx status code

func (*GetCatalogItemBadRequest) IsSuccess

func (o *GetCatalogItemBadRequest) IsSuccess() bool

IsSuccess returns true when this get catalog item bad request response has a 2xx status code

func (*GetCatalogItemBadRequest) String

func (o *GetCatalogItemBadRequest) String() string

type GetCatalogItemForbidden

type GetCatalogItemForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemForbidden describes a response with status code 403, with default header values.

Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewGetCatalogItemForbidden

func NewGetCatalogItemForbidden() *GetCatalogItemForbidden

NewGetCatalogItemForbidden creates a GetCatalogItemForbidden with default headers values

func (*GetCatalogItemForbidden) Error

func (o *GetCatalogItemForbidden) Error() string

func (*GetCatalogItemForbidden) GetPayload

func (*GetCatalogItemForbidden) IsClientError

func (o *GetCatalogItemForbidden) IsClientError() bool

IsClientError returns true when this get catalog item forbidden response has a 4xx status code

func (*GetCatalogItemForbidden) IsCode

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

IsCode returns true when this get catalog item forbidden response a status code equal to that given

func (*GetCatalogItemForbidden) IsRedirect

func (o *GetCatalogItemForbidden) IsRedirect() bool

IsRedirect returns true when this get catalog item forbidden response has a 3xx status code

func (*GetCatalogItemForbidden) IsServerError

func (o *GetCatalogItemForbidden) IsServerError() bool

IsServerError returns true when this get catalog item forbidden response has a 5xx status code

func (*GetCatalogItemForbidden) IsSuccess

func (o *GetCatalogItemForbidden) IsSuccess() bool

IsSuccess returns true when this get catalog item forbidden response has a 2xx status code

func (*GetCatalogItemForbidden) String

func (o *GetCatalogItemForbidden) String() string

type GetCatalogItemInternalServerError

type GetCatalogItemInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewGetCatalogItemInternalServerError

func NewGetCatalogItemInternalServerError() *GetCatalogItemInternalServerError

NewGetCatalogItemInternalServerError creates a GetCatalogItemInternalServerError with default headers values

func (*GetCatalogItemInternalServerError) Error

func (*GetCatalogItemInternalServerError) GetPayload

func (*GetCatalogItemInternalServerError) IsClientError

func (o *GetCatalogItemInternalServerError) IsClientError() bool

IsClientError returns true when this get catalog item internal server error response has a 4xx status code

func (*GetCatalogItemInternalServerError) IsCode

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

IsCode returns true when this get catalog item internal server error response a status code equal to that given

func (*GetCatalogItemInternalServerError) IsRedirect

func (o *GetCatalogItemInternalServerError) IsRedirect() bool

IsRedirect returns true when this get catalog item internal server error response has a 3xx status code

func (*GetCatalogItemInternalServerError) IsServerError

func (o *GetCatalogItemInternalServerError) IsServerError() bool

IsServerError returns true when this get catalog item internal server error response has a 5xx status code

func (*GetCatalogItemInternalServerError) IsSuccess

func (o *GetCatalogItemInternalServerError) IsSuccess() bool

IsSuccess returns true when this get catalog item internal server error response has a 2xx status code

func (*GetCatalogItemInternalServerError) String

type GetCatalogItemNotFound

type GetCatalogItemNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

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

The resource specified does not exist.

func NewGetCatalogItemNotFound

func NewGetCatalogItemNotFound() *GetCatalogItemNotFound

NewGetCatalogItemNotFound creates a GetCatalogItemNotFound with default headers values

func (*GetCatalogItemNotFound) Error

func (o *GetCatalogItemNotFound) Error() string

func (*GetCatalogItemNotFound) GetPayload

func (*GetCatalogItemNotFound) IsClientError

func (o *GetCatalogItemNotFound) IsClientError() bool

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

func (*GetCatalogItemNotFound) IsCode

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

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

func (*GetCatalogItemNotFound) IsRedirect

func (o *GetCatalogItemNotFound) IsRedirect() bool

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

func (*GetCatalogItemNotFound) IsServerError

func (o *GetCatalogItemNotFound) IsServerError() bool

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

func (*GetCatalogItemNotFound) IsSuccess

func (o *GetCatalogItemNotFound) IsSuccess() bool

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

func (*GetCatalogItemNotFound) String

func (o *GetCatalogItemNotFound) String() string

type GetCatalogItemOK

type GetCatalogItemOK struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.Item
}

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

Success.

func NewGetCatalogItemOK

func NewGetCatalogItemOK() *GetCatalogItemOK

NewGetCatalogItemOK creates a GetCatalogItemOK with default headers values

func (*GetCatalogItemOK) Error

func (o *GetCatalogItemOK) Error() string

func (*GetCatalogItemOK) GetPayload

func (*GetCatalogItemOK) IsClientError

func (o *GetCatalogItemOK) IsClientError() bool

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

func (*GetCatalogItemOK) IsCode

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

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

func (*GetCatalogItemOK) IsRedirect

func (o *GetCatalogItemOK) IsRedirect() bool

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

func (*GetCatalogItemOK) IsServerError

func (o *GetCatalogItemOK) IsServerError() bool

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

func (*GetCatalogItemOK) IsSuccess

func (o *GetCatalogItemOK) IsSuccess() bool

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

func (*GetCatalogItemOK) String

func (o *GetCatalogItemOK) String() string

type GetCatalogItemParams

type GetCatalogItemParams struct {

	/* Asin.

	   The Amazon Standard Identification Number (ASIN) of the item.
	*/
	Asin string

	/* IncludedData.

	   A comma-delimited list of data sets to include in the response. Default: `summaries`.

	   Default: ["summaries"]
	*/
	IncludedData []string

	/* Locale.

	   Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
	*/
	Locale *string

	/* MarketplaceIds.

	   A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
	*/
	MarketplaceIds []string

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

GetCatalogItemParams contains all the parameters to send to the API endpoint

for the get catalog item operation.

Typically these are written to a http.Request.

func NewGetCatalogItemParams

func NewGetCatalogItemParams() *GetCatalogItemParams

NewGetCatalogItemParams creates a new GetCatalogItemParams 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 NewGetCatalogItemParamsWithContext

func NewGetCatalogItemParamsWithContext(ctx context.Context) *GetCatalogItemParams

NewGetCatalogItemParamsWithContext creates a new GetCatalogItemParams object with the ability to set a context for a request.

func NewGetCatalogItemParamsWithHTTPClient

func NewGetCatalogItemParamsWithHTTPClient(client *http.Client) *GetCatalogItemParams

NewGetCatalogItemParamsWithHTTPClient creates a new GetCatalogItemParams object with the ability to set a custom HTTPClient for a request.

func NewGetCatalogItemParamsWithTimeout

func NewGetCatalogItemParamsWithTimeout(timeout time.Duration) *GetCatalogItemParams

NewGetCatalogItemParamsWithTimeout creates a new GetCatalogItemParams object with the ability to set a timeout on a request.

func (*GetCatalogItemParams) SetAsin

func (o *GetCatalogItemParams) SetAsin(asin string)

SetAsin adds the asin to the get catalog item params

func (*GetCatalogItemParams) SetContext

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

SetContext adds the context to the get catalog item params

func (*GetCatalogItemParams) SetDefaults

func (o *GetCatalogItemParams) SetDefaults()

SetDefaults hydrates default values in the get catalog item params (not the query body).

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

func (*GetCatalogItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog item params

func (*GetCatalogItemParams) SetIncludedData

func (o *GetCatalogItemParams) SetIncludedData(includedData []string)

SetIncludedData adds the includedData to the get catalog item params

func (*GetCatalogItemParams) SetLocale

func (o *GetCatalogItemParams) SetLocale(locale *string)

SetLocale adds the locale to the get catalog item params

func (*GetCatalogItemParams) SetMarketplaceIds

func (o *GetCatalogItemParams) SetMarketplaceIds(marketplaceIds []string)

SetMarketplaceIds adds the marketplaceIds to the get catalog item params

func (*GetCatalogItemParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog item params

func (*GetCatalogItemParams) WithAsin

WithAsin adds the asin to the get catalog item params

func (*GetCatalogItemParams) WithContext

WithContext adds the context to the get catalog item params

func (*GetCatalogItemParams) WithDefaults

func (o *GetCatalogItemParams) WithDefaults() *GetCatalogItemParams

WithDefaults hydrates default values in the get catalog item params (not the query body).

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

func (*GetCatalogItemParams) WithHTTPClient

func (o *GetCatalogItemParams) WithHTTPClient(client *http.Client) *GetCatalogItemParams

WithHTTPClient adds the HTTPClient to the get catalog item params

func (*GetCatalogItemParams) WithIncludedData

func (o *GetCatalogItemParams) WithIncludedData(includedData []string) *GetCatalogItemParams

WithIncludedData adds the includedData to the get catalog item params

func (*GetCatalogItemParams) WithLocale

func (o *GetCatalogItemParams) WithLocale(locale *string) *GetCatalogItemParams

WithLocale adds the locale to the get catalog item params

func (*GetCatalogItemParams) WithMarketplaceIds

func (o *GetCatalogItemParams) WithMarketplaceIds(marketplaceIds []string) *GetCatalogItemParams

WithMarketplaceIds adds the marketplaceIds to the get catalog item params

func (*GetCatalogItemParams) WithTimeout

func (o *GetCatalogItemParams) WithTimeout(timeout time.Duration) *GetCatalogItemParams

WithTimeout adds the timeout to the get catalog item params

func (*GetCatalogItemParams) WriteToRequest

func (o *GetCatalogItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCatalogItemReader

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

GetCatalogItemReader is a Reader for the GetCatalogItem structure.

func (*GetCatalogItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogItemRequestEntityTooLarge

type GetCatalogItemRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemRequestEntityTooLarge describes a response with status code 413, with default header values.

The request size exceeded the maximum accepted size.

func NewGetCatalogItemRequestEntityTooLarge

func NewGetCatalogItemRequestEntityTooLarge() *GetCatalogItemRequestEntityTooLarge

NewGetCatalogItemRequestEntityTooLarge creates a GetCatalogItemRequestEntityTooLarge with default headers values

func (*GetCatalogItemRequestEntityTooLarge) Error

func (*GetCatalogItemRequestEntityTooLarge) GetPayload

func (*GetCatalogItemRequestEntityTooLarge) IsClientError

func (o *GetCatalogItemRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get catalog item request entity too large response has a 4xx status code

func (*GetCatalogItemRequestEntityTooLarge) IsCode

IsCode returns true when this get catalog item request entity too large response a status code equal to that given

func (*GetCatalogItemRequestEntityTooLarge) IsRedirect

func (o *GetCatalogItemRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this get catalog item request entity too large response has a 3xx status code

func (*GetCatalogItemRequestEntityTooLarge) IsServerError

func (o *GetCatalogItemRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get catalog item request entity too large response has a 5xx status code

func (*GetCatalogItemRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get catalog item request entity too large response has a 2xx status code

func (*GetCatalogItemRequestEntityTooLarge) String

type GetCatalogItemServiceUnavailable

type GetCatalogItemServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewGetCatalogItemServiceUnavailable

func NewGetCatalogItemServiceUnavailable() *GetCatalogItemServiceUnavailable

NewGetCatalogItemServiceUnavailable creates a GetCatalogItemServiceUnavailable with default headers values

func (*GetCatalogItemServiceUnavailable) Error

func (*GetCatalogItemServiceUnavailable) GetPayload

func (*GetCatalogItemServiceUnavailable) IsClientError

func (o *GetCatalogItemServiceUnavailable) IsClientError() bool

IsClientError returns true when this get catalog item service unavailable response has a 4xx status code

func (*GetCatalogItemServiceUnavailable) IsCode

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

IsCode returns true when this get catalog item service unavailable response a status code equal to that given

func (*GetCatalogItemServiceUnavailable) IsRedirect

func (o *GetCatalogItemServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get catalog item service unavailable response has a 3xx status code

func (*GetCatalogItemServiceUnavailable) IsServerError

func (o *GetCatalogItemServiceUnavailable) IsServerError() bool

IsServerError returns true when this get catalog item service unavailable response has a 5xx status code

func (*GetCatalogItemServiceUnavailable) IsSuccess

func (o *GetCatalogItemServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get catalog item service unavailable response has a 2xx status code

func (*GetCatalogItemServiceUnavailable) String

type GetCatalogItemTooManyRequests

type GetCatalogItemTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewGetCatalogItemTooManyRequests

func NewGetCatalogItemTooManyRequests() *GetCatalogItemTooManyRequests

NewGetCatalogItemTooManyRequests creates a GetCatalogItemTooManyRequests with default headers values

func (*GetCatalogItemTooManyRequests) Error

func (*GetCatalogItemTooManyRequests) GetPayload

func (*GetCatalogItemTooManyRequests) IsClientError

func (o *GetCatalogItemTooManyRequests) IsClientError() bool

IsClientError returns true when this get catalog item too many requests response has a 4xx status code

func (*GetCatalogItemTooManyRequests) IsCode

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

IsCode returns true when this get catalog item too many requests response a status code equal to that given

func (*GetCatalogItemTooManyRequests) IsRedirect

func (o *GetCatalogItemTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get catalog item too many requests response has a 3xx status code

func (*GetCatalogItemTooManyRequests) IsServerError

func (o *GetCatalogItemTooManyRequests) IsServerError() bool

IsServerError returns true when this get catalog item too many requests response has a 5xx status code

func (*GetCatalogItemTooManyRequests) IsSuccess

func (o *GetCatalogItemTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get catalog item too many requests response has a 2xx status code

func (*GetCatalogItemTooManyRequests) String

type GetCatalogItemUnsupportedMediaType

type GetCatalogItemUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

GetCatalogItemUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewGetCatalogItemUnsupportedMediaType

func NewGetCatalogItemUnsupportedMediaType() *GetCatalogItemUnsupportedMediaType

NewGetCatalogItemUnsupportedMediaType creates a GetCatalogItemUnsupportedMediaType with default headers values

func (*GetCatalogItemUnsupportedMediaType) Error

func (*GetCatalogItemUnsupportedMediaType) GetPayload

func (*GetCatalogItemUnsupportedMediaType) IsClientError

func (o *GetCatalogItemUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get catalog item unsupported media type response has a 4xx status code

func (*GetCatalogItemUnsupportedMediaType) IsCode

IsCode returns true when this get catalog item unsupported media type response a status code equal to that given

func (*GetCatalogItemUnsupportedMediaType) IsRedirect

func (o *GetCatalogItemUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get catalog item unsupported media type response has a 3xx status code

func (*GetCatalogItemUnsupportedMediaType) IsServerError

func (o *GetCatalogItemUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get catalog item unsupported media type response has a 5xx status code

func (*GetCatalogItemUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get catalog item unsupported media type response has a 2xx status code

func (*GetCatalogItemUnsupportedMediaType) String

type SearchCatalogItemsBadRequest

type SearchCatalogItemsBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewSearchCatalogItemsBadRequest

func NewSearchCatalogItemsBadRequest() *SearchCatalogItemsBadRequest

NewSearchCatalogItemsBadRequest creates a SearchCatalogItemsBadRequest with default headers values

func (*SearchCatalogItemsBadRequest) Error

func (*SearchCatalogItemsBadRequest) GetPayload

func (*SearchCatalogItemsBadRequest) IsClientError

func (o *SearchCatalogItemsBadRequest) IsClientError() bool

IsClientError returns true when this search catalog items bad request response has a 4xx status code

func (*SearchCatalogItemsBadRequest) IsCode

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

IsCode returns true when this search catalog items bad request response a status code equal to that given

func (*SearchCatalogItemsBadRequest) IsRedirect

func (o *SearchCatalogItemsBadRequest) IsRedirect() bool

IsRedirect returns true when this search catalog items bad request response has a 3xx status code

func (*SearchCatalogItemsBadRequest) IsServerError

func (o *SearchCatalogItemsBadRequest) IsServerError() bool

IsServerError returns true when this search catalog items bad request response has a 5xx status code

func (*SearchCatalogItemsBadRequest) IsSuccess

func (o *SearchCatalogItemsBadRequest) IsSuccess() bool

IsSuccess returns true when this search catalog items bad request response has a 2xx status code

func (*SearchCatalogItemsBadRequest) String

type SearchCatalogItemsForbidden

type SearchCatalogItemsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsForbidden describes a response with status code 403, with default header values.

Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewSearchCatalogItemsForbidden

func NewSearchCatalogItemsForbidden() *SearchCatalogItemsForbidden

NewSearchCatalogItemsForbidden creates a SearchCatalogItemsForbidden with default headers values

func (*SearchCatalogItemsForbidden) Error

func (*SearchCatalogItemsForbidden) GetPayload

func (*SearchCatalogItemsForbidden) IsClientError

func (o *SearchCatalogItemsForbidden) IsClientError() bool

IsClientError returns true when this search catalog items forbidden response has a 4xx status code

func (*SearchCatalogItemsForbidden) IsCode

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

IsCode returns true when this search catalog items forbidden response a status code equal to that given

func (*SearchCatalogItemsForbidden) IsRedirect

func (o *SearchCatalogItemsForbidden) IsRedirect() bool

IsRedirect returns true when this search catalog items forbidden response has a 3xx status code

func (*SearchCatalogItemsForbidden) IsServerError

func (o *SearchCatalogItemsForbidden) IsServerError() bool

IsServerError returns true when this search catalog items forbidden response has a 5xx status code

func (*SearchCatalogItemsForbidden) IsSuccess

func (o *SearchCatalogItemsForbidden) IsSuccess() bool

IsSuccess returns true when this search catalog items forbidden response has a 2xx status code

func (*SearchCatalogItemsForbidden) String

func (o *SearchCatalogItemsForbidden) String() string

type SearchCatalogItemsInternalServerError

type SearchCatalogItemsInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewSearchCatalogItemsInternalServerError

func NewSearchCatalogItemsInternalServerError() *SearchCatalogItemsInternalServerError

NewSearchCatalogItemsInternalServerError creates a SearchCatalogItemsInternalServerError with default headers values

func (*SearchCatalogItemsInternalServerError) Error

func (*SearchCatalogItemsInternalServerError) GetPayload

func (*SearchCatalogItemsInternalServerError) IsClientError

func (o *SearchCatalogItemsInternalServerError) IsClientError() bool

IsClientError returns true when this search catalog items internal server error response has a 4xx status code

func (*SearchCatalogItemsInternalServerError) IsCode

IsCode returns true when this search catalog items internal server error response a status code equal to that given

func (*SearchCatalogItemsInternalServerError) IsRedirect

IsRedirect returns true when this search catalog items internal server error response has a 3xx status code

func (*SearchCatalogItemsInternalServerError) IsServerError

func (o *SearchCatalogItemsInternalServerError) IsServerError() bool

IsServerError returns true when this search catalog items internal server error response has a 5xx status code

func (*SearchCatalogItemsInternalServerError) IsSuccess

IsSuccess returns true when this search catalog items internal server error response has a 2xx status code

func (*SearchCatalogItemsInternalServerError) String

type SearchCatalogItemsNotFound

type SearchCatalogItemsNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

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

The resource specified does not exist.

func NewSearchCatalogItemsNotFound

func NewSearchCatalogItemsNotFound() *SearchCatalogItemsNotFound

NewSearchCatalogItemsNotFound creates a SearchCatalogItemsNotFound with default headers values

func (*SearchCatalogItemsNotFound) Error

func (*SearchCatalogItemsNotFound) GetPayload

func (*SearchCatalogItemsNotFound) IsClientError

func (o *SearchCatalogItemsNotFound) IsClientError() bool

IsClientError returns true when this search catalog items not found response has a 4xx status code

func (*SearchCatalogItemsNotFound) IsCode

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

IsCode returns true when this search catalog items not found response a status code equal to that given

func (*SearchCatalogItemsNotFound) IsRedirect

func (o *SearchCatalogItemsNotFound) IsRedirect() bool

IsRedirect returns true when this search catalog items not found response has a 3xx status code

func (*SearchCatalogItemsNotFound) IsServerError

func (o *SearchCatalogItemsNotFound) IsServerError() bool

IsServerError returns true when this search catalog items not found response has a 5xx status code

func (*SearchCatalogItemsNotFound) IsSuccess

func (o *SearchCatalogItemsNotFound) IsSuccess() bool

IsSuccess returns true when this search catalog items not found response has a 2xx status code

func (*SearchCatalogItemsNotFound) String

func (o *SearchCatalogItemsNotFound) String() string

type SearchCatalogItemsOK

type SearchCatalogItemsOK struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ItemSearchResults
}

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

Success.

func NewSearchCatalogItemsOK

func NewSearchCatalogItemsOK() *SearchCatalogItemsOK

NewSearchCatalogItemsOK creates a SearchCatalogItemsOK with default headers values

func (*SearchCatalogItemsOK) Error

func (o *SearchCatalogItemsOK) Error() string

func (*SearchCatalogItemsOK) GetPayload

func (*SearchCatalogItemsOK) IsClientError

func (o *SearchCatalogItemsOK) IsClientError() bool

IsClientError returns true when this search catalog items o k response has a 4xx status code

func (*SearchCatalogItemsOK) IsCode

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

IsCode returns true when this search catalog items o k response a status code equal to that given

func (*SearchCatalogItemsOK) IsRedirect

func (o *SearchCatalogItemsOK) IsRedirect() bool

IsRedirect returns true when this search catalog items o k response has a 3xx status code

func (*SearchCatalogItemsOK) IsServerError

func (o *SearchCatalogItemsOK) IsServerError() bool

IsServerError returns true when this search catalog items o k response has a 5xx status code

func (*SearchCatalogItemsOK) IsSuccess

func (o *SearchCatalogItemsOK) IsSuccess() bool

IsSuccess returns true when this search catalog items o k response has a 2xx status code

func (*SearchCatalogItemsOK) String

func (o *SearchCatalogItemsOK) String() string

type SearchCatalogItemsParams

type SearchCatalogItemsParams struct {

	/* BrandNames.

	   A comma-delimited list of brand names to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
	*/
	BrandNames []string

	/* ClassificationIds.

	   A comma-delimited list of classification identifiers to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
	*/
	ClassificationIds []string

	/* Identifiers.

	   A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
	*/
	Identifiers []string

	/* IdentifiersType.

	   Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
	*/
	IdentifiersType *string

	/* IncludedData.

	   A comma-delimited list of data sets to include in the response. Default: `summaries`.

	   Default: ["summaries"]
	*/
	IncludedData []string

	/* Keywords.

	   A comma-delimited list of words to search the Amazon catalog for. **Note:** Cannot be used with `identifiers`.
	*/
	Keywords []string

	/* KeywordsLocale.

	   The language of the keywords provided for `keywords`-based queries. Defaults to the primary locale of the marketplace. **Note:** Cannot be used with `identifiers`.
	*/
	KeywordsLocale *string

	/* Locale.

	   Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
	*/
	Locale *string

	/* MarketplaceIds.

	   A comma-delimited list of Amazon marketplace identifiers for the request.
	*/
	MarketplaceIds []string

	/* PageSize.

	   Number of results to be returned per page.

	   Default: 10
	*/
	PageSize *int64

	/* PageToken.

	   A token to fetch a certain page when there are multiple pages worth of results.
	*/
	PageToken *string

	/* SellerID.

	   A selling partner identifier, such as a seller account or vendor code. **Note:** Required when `identifiersType` is `SKU`.
	*/
	SellerID *string

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

SearchCatalogItemsParams contains all the parameters to send to the API endpoint

for the search catalog items operation.

Typically these are written to a http.Request.

func NewSearchCatalogItemsParams

func NewSearchCatalogItemsParams() *SearchCatalogItemsParams

NewSearchCatalogItemsParams creates a new SearchCatalogItemsParams 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 NewSearchCatalogItemsParamsWithContext

func NewSearchCatalogItemsParamsWithContext(ctx context.Context) *SearchCatalogItemsParams

NewSearchCatalogItemsParamsWithContext creates a new SearchCatalogItemsParams object with the ability to set a context for a request.

func NewSearchCatalogItemsParamsWithHTTPClient

func NewSearchCatalogItemsParamsWithHTTPClient(client *http.Client) *SearchCatalogItemsParams

NewSearchCatalogItemsParamsWithHTTPClient creates a new SearchCatalogItemsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchCatalogItemsParamsWithTimeout

func NewSearchCatalogItemsParamsWithTimeout(timeout time.Duration) *SearchCatalogItemsParams

NewSearchCatalogItemsParamsWithTimeout creates a new SearchCatalogItemsParams object with the ability to set a timeout on a request.

func (*SearchCatalogItemsParams) SetBrandNames

func (o *SearchCatalogItemsParams) SetBrandNames(brandNames []string)

SetBrandNames adds the brandNames to the search catalog items params

func (*SearchCatalogItemsParams) SetClassificationIds

func (o *SearchCatalogItemsParams) SetClassificationIds(classificationIds []string)

SetClassificationIds adds the classificationIds to the search catalog items params

func (*SearchCatalogItemsParams) SetContext

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

SetContext adds the context to the search catalog items params

func (*SearchCatalogItemsParams) SetDefaults

func (o *SearchCatalogItemsParams) SetDefaults()

SetDefaults hydrates default values in the search catalog items params (not the query body).

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

func (*SearchCatalogItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search catalog items params

func (*SearchCatalogItemsParams) SetIdentifiers

func (o *SearchCatalogItemsParams) SetIdentifiers(identifiers []string)

SetIdentifiers adds the identifiers to the search catalog items params

func (*SearchCatalogItemsParams) SetIdentifiersType

func (o *SearchCatalogItemsParams) SetIdentifiersType(identifiersType *string)

SetIdentifiersType adds the identifiersType to the search catalog items params

func (*SearchCatalogItemsParams) SetIncludedData

func (o *SearchCatalogItemsParams) SetIncludedData(includedData []string)

SetIncludedData adds the includedData to the search catalog items params

func (*SearchCatalogItemsParams) SetKeywords

func (o *SearchCatalogItemsParams) SetKeywords(keywords []string)

SetKeywords adds the keywords to the search catalog items params

func (*SearchCatalogItemsParams) SetKeywordsLocale

func (o *SearchCatalogItemsParams) SetKeywordsLocale(keywordsLocale *string)

SetKeywordsLocale adds the keywordsLocale to the search catalog items params

func (*SearchCatalogItemsParams) SetLocale

func (o *SearchCatalogItemsParams) SetLocale(locale *string)

SetLocale adds the locale to the search catalog items params

func (*SearchCatalogItemsParams) SetMarketplaceIds

func (o *SearchCatalogItemsParams) SetMarketplaceIds(marketplaceIds []string)

SetMarketplaceIds adds the marketplaceIds to the search catalog items params

func (*SearchCatalogItemsParams) SetPageSize

func (o *SearchCatalogItemsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the search catalog items params

func (*SearchCatalogItemsParams) SetPageToken

func (o *SearchCatalogItemsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the search catalog items params

func (*SearchCatalogItemsParams) SetSellerID

func (o *SearchCatalogItemsParams) SetSellerID(sellerID *string)

SetSellerID adds the sellerId to the search catalog items params

func (*SearchCatalogItemsParams) SetTimeout

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

SetTimeout adds the timeout to the search catalog items params

func (*SearchCatalogItemsParams) WithBrandNames

func (o *SearchCatalogItemsParams) WithBrandNames(brandNames []string) *SearchCatalogItemsParams

WithBrandNames adds the brandNames to the search catalog items params

func (*SearchCatalogItemsParams) WithClassificationIds

func (o *SearchCatalogItemsParams) WithClassificationIds(classificationIds []string) *SearchCatalogItemsParams

WithClassificationIds adds the classificationIds to the search catalog items params

func (*SearchCatalogItemsParams) WithContext

WithContext adds the context to the search catalog items params

func (*SearchCatalogItemsParams) WithDefaults

WithDefaults hydrates default values in the search catalog items params (not the query body).

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

func (*SearchCatalogItemsParams) WithHTTPClient

func (o *SearchCatalogItemsParams) WithHTTPClient(client *http.Client) *SearchCatalogItemsParams

WithHTTPClient adds the HTTPClient to the search catalog items params

func (*SearchCatalogItemsParams) WithIdentifiers

func (o *SearchCatalogItemsParams) WithIdentifiers(identifiers []string) *SearchCatalogItemsParams

WithIdentifiers adds the identifiers to the search catalog items params

func (*SearchCatalogItemsParams) WithIdentifiersType

func (o *SearchCatalogItemsParams) WithIdentifiersType(identifiersType *string) *SearchCatalogItemsParams

WithIdentifiersType adds the identifiersType to the search catalog items params

func (*SearchCatalogItemsParams) WithIncludedData

func (o *SearchCatalogItemsParams) WithIncludedData(includedData []string) *SearchCatalogItemsParams

WithIncludedData adds the includedData to the search catalog items params

func (*SearchCatalogItemsParams) WithKeywords

func (o *SearchCatalogItemsParams) WithKeywords(keywords []string) *SearchCatalogItemsParams

WithKeywords adds the keywords to the search catalog items params

func (*SearchCatalogItemsParams) WithKeywordsLocale

func (o *SearchCatalogItemsParams) WithKeywordsLocale(keywordsLocale *string) *SearchCatalogItemsParams

WithKeywordsLocale adds the keywordsLocale to the search catalog items params

func (*SearchCatalogItemsParams) WithLocale

WithLocale adds the locale to the search catalog items params

func (*SearchCatalogItemsParams) WithMarketplaceIds

func (o *SearchCatalogItemsParams) WithMarketplaceIds(marketplaceIds []string) *SearchCatalogItemsParams

WithMarketplaceIds adds the marketplaceIds to the search catalog items params

func (*SearchCatalogItemsParams) WithPageSize

func (o *SearchCatalogItemsParams) WithPageSize(pageSize *int64) *SearchCatalogItemsParams

WithPageSize adds the pageSize to the search catalog items params

func (*SearchCatalogItemsParams) WithPageToken

func (o *SearchCatalogItemsParams) WithPageToken(pageToken *string) *SearchCatalogItemsParams

WithPageToken adds the pageToken to the search catalog items params

func (*SearchCatalogItemsParams) WithSellerID

func (o *SearchCatalogItemsParams) WithSellerID(sellerID *string) *SearchCatalogItemsParams

WithSellerID adds the sellerID to the search catalog items params

func (*SearchCatalogItemsParams) WithTimeout

WithTimeout adds the timeout to the search catalog items params

func (*SearchCatalogItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchCatalogItemsReader

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

SearchCatalogItemsReader is a Reader for the SearchCatalogItems structure.

func (*SearchCatalogItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchCatalogItemsRequestEntityTooLarge

type SearchCatalogItemsRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request size exceeded the maximum accepted size.

func NewSearchCatalogItemsRequestEntityTooLarge

func NewSearchCatalogItemsRequestEntityTooLarge() *SearchCatalogItemsRequestEntityTooLarge

NewSearchCatalogItemsRequestEntityTooLarge creates a SearchCatalogItemsRequestEntityTooLarge with default headers values

func (*SearchCatalogItemsRequestEntityTooLarge) Error

func (*SearchCatalogItemsRequestEntityTooLarge) GetPayload

func (*SearchCatalogItemsRequestEntityTooLarge) IsClientError

func (o *SearchCatalogItemsRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this search catalog items request entity too large response has a 4xx status code

func (*SearchCatalogItemsRequestEntityTooLarge) IsCode

IsCode returns true when this search catalog items request entity too large response a status code equal to that given

func (*SearchCatalogItemsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this search catalog items request entity too large response has a 3xx status code

func (*SearchCatalogItemsRequestEntityTooLarge) IsServerError

func (o *SearchCatalogItemsRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this search catalog items request entity too large response has a 5xx status code

func (*SearchCatalogItemsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this search catalog items request entity too large response has a 2xx status code

func (*SearchCatalogItemsRequestEntityTooLarge) String

type SearchCatalogItemsServiceUnavailable

type SearchCatalogItemsServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewSearchCatalogItemsServiceUnavailable

func NewSearchCatalogItemsServiceUnavailable() *SearchCatalogItemsServiceUnavailable

NewSearchCatalogItemsServiceUnavailable creates a SearchCatalogItemsServiceUnavailable with default headers values

func (*SearchCatalogItemsServiceUnavailable) Error

func (*SearchCatalogItemsServiceUnavailable) GetPayload

func (*SearchCatalogItemsServiceUnavailable) IsClientError

func (o *SearchCatalogItemsServiceUnavailable) IsClientError() bool

IsClientError returns true when this search catalog items service unavailable response has a 4xx status code

func (*SearchCatalogItemsServiceUnavailable) IsCode

IsCode returns true when this search catalog items service unavailable response a status code equal to that given

func (*SearchCatalogItemsServiceUnavailable) IsRedirect

IsRedirect returns true when this search catalog items service unavailable response has a 3xx status code

func (*SearchCatalogItemsServiceUnavailable) IsServerError

func (o *SearchCatalogItemsServiceUnavailable) IsServerError() bool

IsServerError returns true when this search catalog items service unavailable response has a 5xx status code

func (*SearchCatalogItemsServiceUnavailable) IsSuccess

IsSuccess returns true when this search catalog items service unavailable response has a 2xx status code

func (*SearchCatalogItemsServiceUnavailable) String

type SearchCatalogItemsTooManyRequests

type SearchCatalogItemsTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewSearchCatalogItemsTooManyRequests

func NewSearchCatalogItemsTooManyRequests() *SearchCatalogItemsTooManyRequests

NewSearchCatalogItemsTooManyRequests creates a SearchCatalogItemsTooManyRequests with default headers values

func (*SearchCatalogItemsTooManyRequests) Error

func (*SearchCatalogItemsTooManyRequests) GetPayload

func (*SearchCatalogItemsTooManyRequests) IsClientError

func (o *SearchCatalogItemsTooManyRequests) IsClientError() bool

IsClientError returns true when this search catalog items too many requests response has a 4xx status code

func (*SearchCatalogItemsTooManyRequests) IsCode

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

IsCode returns true when this search catalog items too many requests response a status code equal to that given

func (*SearchCatalogItemsTooManyRequests) IsRedirect

func (o *SearchCatalogItemsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this search catalog items too many requests response has a 3xx status code

func (*SearchCatalogItemsTooManyRequests) IsServerError

func (o *SearchCatalogItemsTooManyRequests) IsServerError() bool

IsServerError returns true when this search catalog items too many requests response has a 5xx status code

func (*SearchCatalogItemsTooManyRequests) IsSuccess

func (o *SearchCatalogItemsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this search catalog items too many requests response has a 2xx status code

func (*SearchCatalogItemsTooManyRequests) String

type SearchCatalogItemsUnsupportedMediaType

type SearchCatalogItemsUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *catalog_items_2022_04_01_models.ErrorList
}

SearchCatalogItemsUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewSearchCatalogItemsUnsupportedMediaType

func NewSearchCatalogItemsUnsupportedMediaType() *SearchCatalogItemsUnsupportedMediaType

NewSearchCatalogItemsUnsupportedMediaType creates a SearchCatalogItemsUnsupportedMediaType with default headers values

func (*SearchCatalogItemsUnsupportedMediaType) Error

func (*SearchCatalogItemsUnsupportedMediaType) GetPayload

func (*SearchCatalogItemsUnsupportedMediaType) IsClientError

func (o *SearchCatalogItemsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this search catalog items unsupported media type response has a 4xx status code

func (*SearchCatalogItemsUnsupportedMediaType) IsCode

IsCode returns true when this search catalog items unsupported media type response a status code equal to that given

func (*SearchCatalogItemsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this search catalog items unsupported media type response has a 3xx status code

func (*SearchCatalogItemsUnsupportedMediaType) IsServerError

func (o *SearchCatalogItemsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this search catalog items unsupported media type response has a 5xx status code

func (*SearchCatalogItemsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this search catalog items unsupported media type response has a 2xx status code

func (*SearchCatalogItemsUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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