listings

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 listings API

func (*Client) DeleteListingsItem

func (a *Client) DeleteListingsItem(params *DeleteListingsItemParams, opts ...ClientOption) (*DeleteListingsItemOK, error)
DeleteListingsItem Delete a listings item for a selling partner.

**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |

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 see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetListingsItem

func (a *Client) GetListingsItem(params *GetListingsItemParams, opts ...ClientOption) (*GetListingsItemOK, error)
GetListingsItem Returns details about a listings item for a selling partner.

**Note:** This operation has a throttling rate of one request per second when `mode` is `VALIDATION_PREVIEW`.

**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |

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 see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) PatchListingsItem

func (a *Client) PatchListingsItem(params *PatchListingsItemParams, opts ...ClientOption) (*PatchListingsItemOK, error)
PatchListingsItem Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported.

**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |

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 see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) PutListingsItem

func (a *Client) PutListingsItem(params *PutListingsItemParams, opts ...ClientOption) (*PutListingsItemOK, error)
PutListingsItem Creates or fully updates an existing listings item for a selling partner.

**Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 |

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 see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/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 {
	DeleteListingsItem(params *DeleteListingsItemParams, opts ...ClientOption) (*DeleteListingsItemOK, error)

	GetListingsItem(params *GetListingsItemParams, opts ...ClientOption) (*GetListingsItemOK, error)

	PatchListingsItem(params *PatchListingsItemParams, opts ...ClientOption) (*PatchListingsItemOK, error)

	PutListingsItem(params *PutListingsItemParams, opts ...ClientOption) (*PutListingsItemOK, 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 listings API client.

type DeleteListingsItemBadRequest

type DeleteListingsItemBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewDeleteListingsItemBadRequest

func NewDeleteListingsItemBadRequest() *DeleteListingsItemBadRequest

NewDeleteListingsItemBadRequest creates a DeleteListingsItemBadRequest with default headers values

func (*DeleteListingsItemBadRequest) Error

func (*DeleteListingsItemBadRequest) GetPayload

func (*DeleteListingsItemBadRequest) IsClientError

func (o *DeleteListingsItemBadRequest) IsClientError() bool

IsClientError returns true when this delete listings item bad request response has a 4xx status code

func (*DeleteListingsItemBadRequest) IsCode

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

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

func (*DeleteListingsItemBadRequest) IsRedirect

func (o *DeleteListingsItemBadRequest) IsRedirect() bool

IsRedirect returns true when this delete listings item bad request response has a 3xx status code

func (*DeleteListingsItemBadRequest) IsServerError

func (o *DeleteListingsItemBadRequest) IsServerError() bool

IsServerError returns true when this delete listings item bad request response has a 5xx status code

func (*DeleteListingsItemBadRequest) IsSuccess

func (o *DeleteListingsItemBadRequest) IsSuccess() bool

IsSuccess returns true when this delete listings item bad request response has a 2xx status code

func (*DeleteListingsItemBadRequest) String

type DeleteListingsItemForbidden

type DeleteListingsItemForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

DeleteListingsItemForbidden 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 NewDeleteListingsItemForbidden

func NewDeleteListingsItemForbidden() *DeleteListingsItemForbidden

NewDeleteListingsItemForbidden creates a DeleteListingsItemForbidden with default headers values

func (*DeleteListingsItemForbidden) Error

func (*DeleteListingsItemForbidden) GetPayload

func (*DeleteListingsItemForbidden) IsClientError

func (o *DeleteListingsItemForbidden) IsClientError() bool

IsClientError returns true when this delete listings item forbidden response has a 4xx status code

func (*DeleteListingsItemForbidden) IsCode

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

IsCode returns true when this delete listings item forbidden response a status code equal to that given

func (*DeleteListingsItemForbidden) IsRedirect

func (o *DeleteListingsItemForbidden) IsRedirect() bool

IsRedirect returns true when this delete listings item forbidden response has a 3xx status code

func (*DeleteListingsItemForbidden) IsServerError

func (o *DeleteListingsItemForbidden) IsServerError() bool

IsServerError returns true when this delete listings item forbidden response has a 5xx status code

func (*DeleteListingsItemForbidden) IsSuccess

func (o *DeleteListingsItemForbidden) IsSuccess() bool

IsSuccess returns true when this delete listings item forbidden response has a 2xx status code

func (*DeleteListingsItemForbidden) String

func (o *DeleteListingsItemForbidden) String() string

type DeleteListingsItemInternalServerError

type DeleteListingsItemInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

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

func NewDeleteListingsItemInternalServerError

func NewDeleteListingsItemInternalServerError() *DeleteListingsItemInternalServerError

NewDeleteListingsItemInternalServerError creates a DeleteListingsItemInternalServerError with default headers values

func (*DeleteListingsItemInternalServerError) Error

func (*DeleteListingsItemInternalServerError) GetPayload

func (*DeleteListingsItemInternalServerError) IsClientError

func (o *DeleteListingsItemInternalServerError) IsClientError() bool

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

func (*DeleteListingsItemInternalServerError) IsCode

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

func (*DeleteListingsItemInternalServerError) IsRedirect

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

func (*DeleteListingsItemInternalServerError) IsServerError

func (o *DeleteListingsItemInternalServerError) IsServerError() bool

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

func (*DeleteListingsItemInternalServerError) IsSuccess

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

func (*DeleteListingsItemInternalServerError) String

type DeleteListingsItemOK

type DeleteListingsItemOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
}

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

Successfully understood the listings item delete request. See the response to determine whether the submission has been accepted.

func NewDeleteListingsItemOK

func NewDeleteListingsItemOK() *DeleteListingsItemOK

NewDeleteListingsItemOK creates a DeleteListingsItemOK with default headers values

func (*DeleteListingsItemOK) Error

func (o *DeleteListingsItemOK) Error() string

func (*DeleteListingsItemOK) IsClientError

func (o *DeleteListingsItemOK) IsClientError() bool

IsClientError returns true when this delete listings item o k response has a 4xx status code

func (*DeleteListingsItemOK) IsCode

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

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

func (*DeleteListingsItemOK) IsRedirect

func (o *DeleteListingsItemOK) IsRedirect() bool

IsRedirect returns true when this delete listings item o k response has a 3xx status code

func (*DeleteListingsItemOK) IsServerError

func (o *DeleteListingsItemOK) IsServerError() bool

IsServerError returns true when this delete listings item o k response has a 5xx status code

func (*DeleteListingsItemOK) IsSuccess

func (o *DeleteListingsItemOK) IsSuccess() bool

IsSuccess returns true when this delete listings item o k response has a 2xx status code

func (*DeleteListingsItemOK) String

func (o *DeleteListingsItemOK) String() string

type DeleteListingsItemParams

type DeleteListingsItemParams struct {

	/* IssueLocale.

	   A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: `en_US`, `fr_CA`, `fr_FR`. Localized messages default to `en_US` when a localization is not available in the specified locale.
	*/
	IssueLocale *string

	/* MarketplaceIds.

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

	/* SellerID.

	   A selling partner identifier, such as a merchant account or vendor code.
	*/
	SellerID string

	/* Sku.

	   A selling partner provided identifier for an Amazon listing.
	*/
	Sku string

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

DeleteListingsItemParams contains all the parameters to send to the API endpoint

for the delete listings item operation.

Typically these are written to a http.Request.

func NewDeleteListingsItemParams

func NewDeleteListingsItemParams() *DeleteListingsItemParams

NewDeleteListingsItemParams creates a new DeleteListingsItemParams 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 NewDeleteListingsItemParamsWithContext

func NewDeleteListingsItemParamsWithContext(ctx context.Context) *DeleteListingsItemParams

NewDeleteListingsItemParamsWithContext creates a new DeleteListingsItemParams object with the ability to set a context for a request.

func NewDeleteListingsItemParamsWithHTTPClient

func NewDeleteListingsItemParamsWithHTTPClient(client *http.Client) *DeleteListingsItemParams

NewDeleteListingsItemParamsWithHTTPClient creates a new DeleteListingsItemParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteListingsItemParamsWithTimeout

func NewDeleteListingsItemParamsWithTimeout(timeout time.Duration) *DeleteListingsItemParams

NewDeleteListingsItemParamsWithTimeout creates a new DeleteListingsItemParams object with the ability to set a timeout on a request.

func (*DeleteListingsItemParams) SetContext

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

SetContext adds the context to the delete listings item params

func (*DeleteListingsItemParams) SetDefaults

func (o *DeleteListingsItemParams) SetDefaults()

SetDefaults hydrates default values in the delete listings item params (not the query body).

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

func (*DeleteListingsItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete listings item params

func (*DeleteListingsItemParams) SetIssueLocale

func (o *DeleteListingsItemParams) SetIssueLocale(issueLocale *string)

SetIssueLocale adds the issueLocale to the delete listings item params

func (*DeleteListingsItemParams) SetMarketplaceIds

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

SetMarketplaceIds adds the marketplaceIds to the delete listings item params

func (*DeleteListingsItemParams) SetSellerID

func (o *DeleteListingsItemParams) SetSellerID(sellerID string)

SetSellerID adds the sellerId to the delete listings item params

func (*DeleteListingsItemParams) SetSku

func (o *DeleteListingsItemParams) SetSku(sku string)

SetSku adds the sku to the delete listings item params

func (*DeleteListingsItemParams) SetTimeout

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

SetTimeout adds the timeout to the delete listings item params

func (*DeleteListingsItemParams) WithContext

WithContext adds the context to the delete listings item params

func (*DeleteListingsItemParams) WithDefaults

WithDefaults hydrates default values in the delete listings item params (not the query body).

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

func (*DeleteListingsItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete listings item params

func (*DeleteListingsItemParams) WithIssueLocale

func (o *DeleteListingsItemParams) WithIssueLocale(issueLocale *string) *DeleteListingsItemParams

WithIssueLocale adds the issueLocale to the delete listings item params

func (*DeleteListingsItemParams) WithMarketplaceIds

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

WithMarketplaceIds adds the marketplaceIds to the delete listings item params

func (*DeleteListingsItemParams) WithSellerID

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

WithSellerID adds the sellerID to the delete listings item params

func (*DeleteListingsItemParams) WithSku

WithSku adds the sku to the delete listings item params

func (*DeleteListingsItemParams) WithTimeout

WithTimeout adds the timeout to the delete listings item params

func (*DeleteListingsItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteListingsItemReader

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

DeleteListingsItemReader is a Reader for the DeleteListingsItem structure.

func (*DeleteListingsItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteListingsItemRequestEntityTooLarge

type DeleteListingsItemRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewDeleteListingsItemRequestEntityTooLarge

func NewDeleteListingsItemRequestEntityTooLarge() *DeleteListingsItemRequestEntityTooLarge

NewDeleteListingsItemRequestEntityTooLarge creates a DeleteListingsItemRequestEntityTooLarge with default headers values

func (*DeleteListingsItemRequestEntityTooLarge) Error

func (*DeleteListingsItemRequestEntityTooLarge) GetPayload

func (*DeleteListingsItemRequestEntityTooLarge) IsClientError

func (o *DeleteListingsItemRequestEntityTooLarge) IsClientError() bool

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

func (*DeleteListingsItemRequestEntityTooLarge) IsCode

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

func (*DeleteListingsItemRequestEntityTooLarge) IsRedirect

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

func (*DeleteListingsItemRequestEntityTooLarge) IsServerError

func (o *DeleteListingsItemRequestEntityTooLarge) IsServerError() bool

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

func (*DeleteListingsItemRequestEntityTooLarge) IsSuccess

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

func (*DeleteListingsItemRequestEntityTooLarge) String

type DeleteListingsItemServiceUnavailable

type DeleteListingsItemServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewDeleteListingsItemServiceUnavailable

func NewDeleteListingsItemServiceUnavailable() *DeleteListingsItemServiceUnavailable

NewDeleteListingsItemServiceUnavailable creates a DeleteListingsItemServiceUnavailable with default headers values

func (*DeleteListingsItemServiceUnavailable) Error

func (*DeleteListingsItemServiceUnavailable) GetPayload

func (*DeleteListingsItemServiceUnavailable) IsClientError

func (o *DeleteListingsItemServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete listings item service unavailable response has a 4xx status code

func (*DeleteListingsItemServiceUnavailable) IsCode

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

func (*DeleteListingsItemServiceUnavailable) IsRedirect

IsRedirect returns true when this delete listings item service unavailable response has a 3xx status code

func (*DeleteListingsItemServiceUnavailable) IsServerError

func (o *DeleteListingsItemServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete listings item service unavailable response has a 5xx status code

func (*DeleteListingsItemServiceUnavailable) IsSuccess

IsSuccess returns true when this delete listings item service unavailable response has a 2xx status code

func (*DeleteListingsItemServiceUnavailable) String

type DeleteListingsItemTooManyRequests

type DeleteListingsItemTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewDeleteListingsItemTooManyRequests

func NewDeleteListingsItemTooManyRequests() *DeleteListingsItemTooManyRequests

NewDeleteListingsItemTooManyRequests creates a DeleteListingsItemTooManyRequests with default headers values

func (*DeleteListingsItemTooManyRequests) Error

func (*DeleteListingsItemTooManyRequests) GetPayload

func (*DeleteListingsItemTooManyRequests) IsClientError

func (o *DeleteListingsItemTooManyRequests) IsClientError() bool

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

func (*DeleteListingsItemTooManyRequests) IsCode

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

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

func (*DeleteListingsItemTooManyRequests) IsRedirect

func (o *DeleteListingsItemTooManyRequests) IsRedirect() bool

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

func (*DeleteListingsItemTooManyRequests) IsServerError

func (o *DeleteListingsItemTooManyRequests) IsServerError() bool

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

func (*DeleteListingsItemTooManyRequests) IsSuccess

func (o *DeleteListingsItemTooManyRequests) IsSuccess() bool

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

func (*DeleteListingsItemTooManyRequests) String

type DeleteListingsItemUnsupportedMediaType

type DeleteListingsItemUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewDeleteListingsItemUnsupportedMediaType

func NewDeleteListingsItemUnsupportedMediaType() *DeleteListingsItemUnsupportedMediaType

NewDeleteListingsItemUnsupportedMediaType creates a DeleteListingsItemUnsupportedMediaType with default headers values

func (*DeleteListingsItemUnsupportedMediaType) Error

func (*DeleteListingsItemUnsupportedMediaType) GetPayload

func (*DeleteListingsItemUnsupportedMediaType) IsClientError

func (o *DeleteListingsItemUnsupportedMediaType) IsClientError() bool

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

func (*DeleteListingsItemUnsupportedMediaType) IsCode

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

func (*DeleteListingsItemUnsupportedMediaType) IsRedirect

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

func (*DeleteListingsItemUnsupportedMediaType) IsServerError

func (o *DeleteListingsItemUnsupportedMediaType) IsServerError() bool

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

func (*DeleteListingsItemUnsupportedMediaType) IsSuccess

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

func (*DeleteListingsItemUnsupportedMediaType) String

type GetListingsItemBadRequest

type GetListingsItemBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetListingsItemBadRequest

func NewGetListingsItemBadRequest() *GetListingsItemBadRequest

NewGetListingsItemBadRequest creates a GetListingsItemBadRequest with default headers values

func (*GetListingsItemBadRequest) Error

func (o *GetListingsItemBadRequest) Error() string

func (*GetListingsItemBadRequest) GetPayload

func (*GetListingsItemBadRequest) IsClientError

func (o *GetListingsItemBadRequest) IsClientError() bool

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

func (*GetListingsItemBadRequest) IsCode

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

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

func (*GetListingsItemBadRequest) IsRedirect

func (o *GetListingsItemBadRequest) IsRedirect() bool

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

func (*GetListingsItemBadRequest) IsServerError

func (o *GetListingsItemBadRequest) IsServerError() bool

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

func (*GetListingsItemBadRequest) IsSuccess

func (o *GetListingsItemBadRequest) IsSuccess() bool

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

func (*GetListingsItemBadRequest) String

func (o *GetListingsItemBadRequest) String() string

type GetListingsItemForbidden

type GetListingsItemForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

GetListingsItemForbidden 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 NewGetListingsItemForbidden

func NewGetListingsItemForbidden() *GetListingsItemForbidden

NewGetListingsItemForbidden creates a GetListingsItemForbidden with default headers values

func (*GetListingsItemForbidden) Error

func (o *GetListingsItemForbidden) Error() string

func (*GetListingsItemForbidden) GetPayload

func (*GetListingsItemForbidden) IsClientError

func (o *GetListingsItemForbidden) IsClientError() bool

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

func (*GetListingsItemForbidden) IsCode

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

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

func (*GetListingsItemForbidden) IsRedirect

func (o *GetListingsItemForbidden) IsRedirect() bool

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

func (*GetListingsItemForbidden) IsServerError

func (o *GetListingsItemForbidden) IsServerError() bool

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

func (*GetListingsItemForbidden) IsSuccess

func (o *GetListingsItemForbidden) IsSuccess() bool

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

func (*GetListingsItemForbidden) String

func (o *GetListingsItemForbidden) String() string

type GetListingsItemInternalServerError

type GetListingsItemInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

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

func NewGetListingsItemInternalServerError

func NewGetListingsItemInternalServerError() *GetListingsItemInternalServerError

NewGetListingsItemInternalServerError creates a GetListingsItemInternalServerError with default headers values

func (*GetListingsItemInternalServerError) Error

func (*GetListingsItemInternalServerError) GetPayload

func (*GetListingsItemInternalServerError) IsClientError

func (o *GetListingsItemInternalServerError) IsClientError() bool

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

func (*GetListingsItemInternalServerError) IsCode

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

func (*GetListingsItemInternalServerError) IsRedirect

func (o *GetListingsItemInternalServerError) IsRedirect() bool

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

func (*GetListingsItemInternalServerError) IsServerError

func (o *GetListingsItemInternalServerError) IsServerError() bool

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

func (*GetListingsItemInternalServerError) IsSuccess

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

func (*GetListingsItemInternalServerError) String

type GetListingsItemNotFound

type GetListingsItemNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The resource specified does not exist.

func NewGetListingsItemNotFound

func NewGetListingsItemNotFound() *GetListingsItemNotFound

NewGetListingsItemNotFound creates a GetListingsItemNotFound with default headers values

func (*GetListingsItemNotFound) Error

func (o *GetListingsItemNotFound) Error() string

func (*GetListingsItemNotFound) GetPayload

func (*GetListingsItemNotFound) IsClientError

func (o *GetListingsItemNotFound) IsClientError() bool

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

func (*GetListingsItemNotFound) IsCode

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

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

func (*GetListingsItemNotFound) IsRedirect

func (o *GetListingsItemNotFound) IsRedirect() bool

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

func (*GetListingsItemNotFound) IsServerError

func (o *GetListingsItemNotFound) IsServerError() bool

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

func (*GetListingsItemNotFound) IsSuccess

func (o *GetListingsItemNotFound) IsSuccess() bool

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

func (*GetListingsItemNotFound) String

func (o *GetListingsItemNotFound) String() string

type GetListingsItemOK

type GetListingsItemOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.Item
}

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

Success.

func NewGetListingsItemOK

func NewGetListingsItemOK() *GetListingsItemOK

NewGetListingsItemOK creates a GetListingsItemOK with default headers values

func (*GetListingsItemOK) Error

func (o *GetListingsItemOK) Error() string

func (*GetListingsItemOK) GetPayload

func (*GetListingsItemOK) IsClientError

func (o *GetListingsItemOK) IsClientError() bool

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

func (*GetListingsItemOK) IsCode

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

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

func (*GetListingsItemOK) IsRedirect

func (o *GetListingsItemOK) IsRedirect() bool

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

func (*GetListingsItemOK) IsServerError

func (o *GetListingsItemOK) IsServerError() bool

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

func (*GetListingsItemOK) IsSuccess

func (o *GetListingsItemOK) IsSuccess() bool

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

func (*GetListingsItemOK) String

func (o *GetListingsItemOK) String() string

type GetListingsItemParams

type GetListingsItemParams struct {

	/* IncludedData.

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

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

	/* IssueLocale.

	   A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: `en_US`, `fr_CA`, `fr_FR`. Localized messages default to `en_US` when a localization is not available in the specified locale.
	*/
	IssueLocale *string

	/* MarketplaceIds.

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

	/* SellerID.

	   A selling partner identifier, such as a merchant account or vendor code.
	*/
	SellerID string

	/* Sku.

	   A selling partner provided identifier for an Amazon listing.
	*/
	Sku string

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

GetListingsItemParams contains all the parameters to send to the API endpoint

for the get listings item operation.

Typically these are written to a http.Request.

func NewGetListingsItemParams

func NewGetListingsItemParams() *GetListingsItemParams

NewGetListingsItemParams creates a new GetListingsItemParams 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 NewGetListingsItemParamsWithContext

func NewGetListingsItemParamsWithContext(ctx context.Context) *GetListingsItemParams

NewGetListingsItemParamsWithContext creates a new GetListingsItemParams object with the ability to set a context for a request.

func NewGetListingsItemParamsWithHTTPClient

func NewGetListingsItemParamsWithHTTPClient(client *http.Client) *GetListingsItemParams

NewGetListingsItemParamsWithHTTPClient creates a new GetListingsItemParams object with the ability to set a custom HTTPClient for a request.

func NewGetListingsItemParamsWithTimeout

func NewGetListingsItemParamsWithTimeout(timeout time.Duration) *GetListingsItemParams

NewGetListingsItemParamsWithTimeout creates a new GetListingsItemParams object with the ability to set a timeout on a request.

func (*GetListingsItemParams) SetContext

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

SetContext adds the context to the get listings item params

func (*GetListingsItemParams) SetDefaults

func (o *GetListingsItemParams) SetDefaults()

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

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

func (*GetListingsItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get listings item params

func (*GetListingsItemParams) SetIncludedData

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

SetIncludedData adds the includedData to the get listings item params

func (*GetListingsItemParams) SetIssueLocale

func (o *GetListingsItemParams) SetIssueLocale(issueLocale *string)

SetIssueLocale adds the issueLocale to the get listings item params

func (*GetListingsItemParams) SetMarketplaceIds

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

SetMarketplaceIds adds the marketplaceIds to the get listings item params

func (*GetListingsItemParams) SetSellerID

func (o *GetListingsItemParams) SetSellerID(sellerID string)

SetSellerID adds the sellerId to the get listings item params

func (*GetListingsItemParams) SetSku

func (o *GetListingsItemParams) SetSku(sku string)

SetSku adds the sku to the get listings item params

func (*GetListingsItemParams) SetTimeout

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

SetTimeout adds the timeout to the get listings item params

func (*GetListingsItemParams) WithContext

WithContext adds the context to the get listings item params

func (*GetListingsItemParams) WithDefaults

func (o *GetListingsItemParams) WithDefaults() *GetListingsItemParams

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

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

func (*GetListingsItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get listings item params

func (*GetListingsItemParams) WithIncludedData

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

WithIncludedData adds the includedData to the get listings item params

func (*GetListingsItemParams) WithIssueLocale

func (o *GetListingsItemParams) WithIssueLocale(issueLocale *string) *GetListingsItemParams

WithIssueLocale adds the issueLocale to the get listings item params

func (*GetListingsItemParams) WithMarketplaceIds

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

WithMarketplaceIds adds the marketplaceIds to the get listings item params

func (*GetListingsItemParams) WithSellerID

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

WithSellerID adds the sellerID to the get listings item params

func (*GetListingsItemParams) WithSku

WithSku adds the sku to the get listings item params

func (*GetListingsItemParams) WithTimeout

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

WithTimeout adds the timeout to the get listings item params

func (*GetListingsItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetListingsItemReader

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

GetListingsItemReader is a Reader for the GetListingsItem structure.

func (*GetListingsItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListingsItemRequestEntityTooLarge

type GetListingsItemRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetListingsItemRequestEntityTooLarge

func NewGetListingsItemRequestEntityTooLarge() *GetListingsItemRequestEntityTooLarge

NewGetListingsItemRequestEntityTooLarge creates a GetListingsItemRequestEntityTooLarge with default headers values

func (*GetListingsItemRequestEntityTooLarge) Error

func (*GetListingsItemRequestEntityTooLarge) GetPayload

func (*GetListingsItemRequestEntityTooLarge) IsClientError

func (o *GetListingsItemRequestEntityTooLarge) IsClientError() bool

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

func (*GetListingsItemRequestEntityTooLarge) IsCode

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

func (*GetListingsItemRequestEntityTooLarge) IsRedirect

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

func (*GetListingsItemRequestEntityTooLarge) IsServerError

func (o *GetListingsItemRequestEntityTooLarge) IsServerError() bool

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

func (*GetListingsItemRequestEntityTooLarge) IsSuccess

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

func (*GetListingsItemRequestEntityTooLarge) String

type GetListingsItemServiceUnavailable

type GetListingsItemServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetListingsItemServiceUnavailable

func NewGetListingsItemServiceUnavailable() *GetListingsItemServiceUnavailable

NewGetListingsItemServiceUnavailable creates a GetListingsItemServiceUnavailable with default headers values

func (*GetListingsItemServiceUnavailable) Error

func (*GetListingsItemServiceUnavailable) GetPayload

func (*GetListingsItemServiceUnavailable) IsClientError

func (o *GetListingsItemServiceUnavailable) IsClientError() bool

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

func (*GetListingsItemServiceUnavailable) IsCode

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

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

func (*GetListingsItemServiceUnavailable) IsRedirect

func (o *GetListingsItemServiceUnavailable) IsRedirect() bool

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

func (*GetListingsItemServiceUnavailable) IsServerError

func (o *GetListingsItemServiceUnavailable) IsServerError() bool

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

func (*GetListingsItemServiceUnavailable) IsSuccess

func (o *GetListingsItemServiceUnavailable) IsSuccess() bool

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

func (*GetListingsItemServiceUnavailable) String

type GetListingsItemTooManyRequests

type GetListingsItemTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetListingsItemTooManyRequests

func NewGetListingsItemTooManyRequests() *GetListingsItemTooManyRequests

NewGetListingsItemTooManyRequests creates a GetListingsItemTooManyRequests with default headers values

func (*GetListingsItemTooManyRequests) Error

func (*GetListingsItemTooManyRequests) GetPayload

func (*GetListingsItemTooManyRequests) IsClientError

func (o *GetListingsItemTooManyRequests) IsClientError() bool

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

func (*GetListingsItemTooManyRequests) IsCode

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

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

func (*GetListingsItemTooManyRequests) IsRedirect

func (o *GetListingsItemTooManyRequests) IsRedirect() bool

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

func (*GetListingsItemTooManyRequests) IsServerError

func (o *GetListingsItemTooManyRequests) IsServerError() bool

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

func (*GetListingsItemTooManyRequests) IsSuccess

func (o *GetListingsItemTooManyRequests) IsSuccess() bool

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

func (*GetListingsItemTooManyRequests) String

type GetListingsItemUnsupportedMediaType

type GetListingsItemUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetListingsItemUnsupportedMediaType

func NewGetListingsItemUnsupportedMediaType() *GetListingsItemUnsupportedMediaType

NewGetListingsItemUnsupportedMediaType creates a GetListingsItemUnsupportedMediaType with default headers values

func (*GetListingsItemUnsupportedMediaType) Error

func (*GetListingsItemUnsupportedMediaType) GetPayload

func (*GetListingsItemUnsupportedMediaType) IsClientError

func (o *GetListingsItemUnsupportedMediaType) IsClientError() bool

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

func (*GetListingsItemUnsupportedMediaType) IsCode

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

func (*GetListingsItemUnsupportedMediaType) IsRedirect

func (o *GetListingsItemUnsupportedMediaType) IsRedirect() bool

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

func (*GetListingsItemUnsupportedMediaType) IsServerError

func (o *GetListingsItemUnsupportedMediaType) IsServerError() bool

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

func (*GetListingsItemUnsupportedMediaType) IsSuccess

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

func (*GetListingsItemUnsupportedMediaType) String

type PatchListingsItemBadRequest

type PatchListingsItemBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewPatchListingsItemBadRequest

func NewPatchListingsItemBadRequest() *PatchListingsItemBadRequest

NewPatchListingsItemBadRequest creates a PatchListingsItemBadRequest with default headers values

func (*PatchListingsItemBadRequest) Error

func (*PatchListingsItemBadRequest) GetPayload

func (*PatchListingsItemBadRequest) IsClientError

func (o *PatchListingsItemBadRequest) IsClientError() bool

IsClientError returns true when this patch listings item bad request response has a 4xx status code

func (*PatchListingsItemBadRequest) IsCode

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

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

func (*PatchListingsItemBadRequest) IsRedirect

func (o *PatchListingsItemBadRequest) IsRedirect() bool

IsRedirect returns true when this patch listings item bad request response has a 3xx status code

func (*PatchListingsItemBadRequest) IsServerError

func (o *PatchListingsItemBadRequest) IsServerError() bool

IsServerError returns true when this patch listings item bad request response has a 5xx status code

func (*PatchListingsItemBadRequest) IsSuccess

func (o *PatchListingsItemBadRequest) IsSuccess() bool

IsSuccess returns true when this patch listings item bad request response has a 2xx status code

func (*PatchListingsItemBadRequest) String

func (o *PatchListingsItemBadRequest) String() string

type PatchListingsItemForbidden

type PatchListingsItemForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

PatchListingsItemForbidden 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 NewPatchListingsItemForbidden

func NewPatchListingsItemForbidden() *PatchListingsItemForbidden

NewPatchListingsItemForbidden creates a PatchListingsItemForbidden with default headers values

func (*PatchListingsItemForbidden) Error

func (*PatchListingsItemForbidden) GetPayload

func (*PatchListingsItemForbidden) IsClientError

func (o *PatchListingsItemForbidden) IsClientError() bool

IsClientError returns true when this patch listings item forbidden response has a 4xx status code

func (*PatchListingsItemForbidden) IsCode

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

IsCode returns true when this patch listings item forbidden response a status code equal to that given

func (*PatchListingsItemForbidden) IsRedirect

func (o *PatchListingsItemForbidden) IsRedirect() bool

IsRedirect returns true when this patch listings item forbidden response has a 3xx status code

func (*PatchListingsItemForbidden) IsServerError

func (o *PatchListingsItemForbidden) IsServerError() bool

IsServerError returns true when this patch listings item forbidden response has a 5xx status code

func (*PatchListingsItemForbidden) IsSuccess

func (o *PatchListingsItemForbidden) IsSuccess() bool

IsSuccess returns true when this patch listings item forbidden response has a 2xx status code

func (*PatchListingsItemForbidden) String

func (o *PatchListingsItemForbidden) String() string

type PatchListingsItemInternalServerError

type PatchListingsItemInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

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

func NewPatchListingsItemInternalServerError

func NewPatchListingsItemInternalServerError() *PatchListingsItemInternalServerError

NewPatchListingsItemInternalServerError creates a PatchListingsItemInternalServerError with default headers values

func (*PatchListingsItemInternalServerError) Error

func (*PatchListingsItemInternalServerError) GetPayload

func (*PatchListingsItemInternalServerError) IsClientError

func (o *PatchListingsItemInternalServerError) IsClientError() bool

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

func (*PatchListingsItemInternalServerError) IsCode

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

func (*PatchListingsItemInternalServerError) IsRedirect

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

func (*PatchListingsItemInternalServerError) IsServerError

func (o *PatchListingsItemInternalServerError) IsServerError() bool

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

func (*PatchListingsItemInternalServerError) IsSuccess

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

func (*PatchListingsItemInternalServerError) String

type PatchListingsItemOK

type PatchListingsItemOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
}

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

Successfully understood the listings item patch request. See the response to determine if the submission was accepted.

func NewPatchListingsItemOK

func NewPatchListingsItemOK() *PatchListingsItemOK

NewPatchListingsItemOK creates a PatchListingsItemOK with default headers values

func (*PatchListingsItemOK) Error

func (o *PatchListingsItemOK) Error() string

func (*PatchListingsItemOK) IsClientError

func (o *PatchListingsItemOK) IsClientError() bool

IsClientError returns true when this patch listings item o k response has a 4xx status code

func (*PatchListingsItemOK) IsCode

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

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

func (*PatchListingsItemOK) IsRedirect

func (o *PatchListingsItemOK) IsRedirect() bool

IsRedirect returns true when this patch listings item o k response has a 3xx status code

func (*PatchListingsItemOK) IsServerError

func (o *PatchListingsItemOK) IsServerError() bool

IsServerError returns true when this patch listings item o k response has a 5xx status code

func (*PatchListingsItemOK) IsSuccess

func (o *PatchListingsItemOK) IsSuccess() bool

IsSuccess returns true when this patch listings item o k response has a 2xx status code

func (*PatchListingsItemOK) String

func (o *PatchListingsItemOK) String() string

type PatchListingsItemParams

type PatchListingsItemParams struct {

	/* Body.

	   The request body schema for the `patchListingsItem` operation.
	*/
	Body *listings_items_2021_08_01_models.ListingsItemPatchRequest

	/* IssueLocale.

	   A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: `en_US`, `fr_CA`, `fr_FR`. Localized messages default to `en_US` when a localization is not available in the specified locale.
	*/
	IssueLocale *string

	/* MarketplaceIds.

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

	/* SellerID.

	   A selling partner identifier, such as a merchant account or vendor code.
	*/
	SellerID string

	/* Sku.

	   A selling partner provided identifier for an Amazon listing.
	*/
	Sku string

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

PatchListingsItemParams contains all the parameters to send to the API endpoint

for the patch listings item operation.

Typically these are written to a http.Request.

func NewPatchListingsItemParams

func NewPatchListingsItemParams() *PatchListingsItemParams

NewPatchListingsItemParams creates a new PatchListingsItemParams 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 NewPatchListingsItemParamsWithContext

func NewPatchListingsItemParamsWithContext(ctx context.Context) *PatchListingsItemParams

NewPatchListingsItemParamsWithContext creates a new PatchListingsItemParams object with the ability to set a context for a request.

func NewPatchListingsItemParamsWithHTTPClient

func NewPatchListingsItemParamsWithHTTPClient(client *http.Client) *PatchListingsItemParams

NewPatchListingsItemParamsWithHTTPClient creates a new PatchListingsItemParams object with the ability to set a custom HTTPClient for a request.

func NewPatchListingsItemParamsWithTimeout

func NewPatchListingsItemParamsWithTimeout(timeout time.Duration) *PatchListingsItemParams

NewPatchListingsItemParamsWithTimeout creates a new PatchListingsItemParams object with the ability to set a timeout on a request.

func (*PatchListingsItemParams) SetBody

SetBody adds the body to the patch listings item params

func (*PatchListingsItemParams) SetContext

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

SetContext adds the context to the patch listings item params

func (*PatchListingsItemParams) SetDefaults

func (o *PatchListingsItemParams) SetDefaults()

SetDefaults hydrates default values in the patch listings item params (not the query body).

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

func (*PatchListingsItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch listings item params

func (*PatchListingsItemParams) SetIssueLocale

func (o *PatchListingsItemParams) SetIssueLocale(issueLocale *string)

SetIssueLocale adds the issueLocale to the patch listings item params

func (*PatchListingsItemParams) SetMarketplaceIds

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

SetMarketplaceIds adds the marketplaceIds to the patch listings item params

func (*PatchListingsItemParams) SetSellerID

func (o *PatchListingsItemParams) SetSellerID(sellerID string)

SetSellerID adds the sellerId to the patch listings item params

func (*PatchListingsItemParams) SetSku

func (o *PatchListingsItemParams) SetSku(sku string)

SetSku adds the sku to the patch listings item params

func (*PatchListingsItemParams) SetTimeout

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

SetTimeout adds the timeout to the patch listings item params

func (*PatchListingsItemParams) WithBody

WithBody adds the body to the patch listings item params

func (*PatchListingsItemParams) WithContext

WithContext adds the context to the patch listings item params

func (*PatchListingsItemParams) WithDefaults

WithDefaults hydrates default values in the patch listings item params (not the query body).

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

func (*PatchListingsItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch listings item params

func (*PatchListingsItemParams) WithIssueLocale

func (o *PatchListingsItemParams) WithIssueLocale(issueLocale *string) *PatchListingsItemParams

WithIssueLocale adds the issueLocale to the patch listings item params

func (*PatchListingsItemParams) WithMarketplaceIds

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

WithMarketplaceIds adds the marketplaceIds to the patch listings item params

func (*PatchListingsItemParams) WithSellerID

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

WithSellerID adds the sellerID to the patch listings item params

func (*PatchListingsItemParams) WithSku

WithSku adds the sku to the patch listings item params

func (*PatchListingsItemParams) WithTimeout

WithTimeout adds the timeout to the patch listings item params

func (*PatchListingsItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchListingsItemReader

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

PatchListingsItemReader is a Reader for the PatchListingsItem structure.

func (*PatchListingsItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchListingsItemRequestEntityTooLarge

type PatchListingsItemRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewPatchListingsItemRequestEntityTooLarge

func NewPatchListingsItemRequestEntityTooLarge() *PatchListingsItemRequestEntityTooLarge

NewPatchListingsItemRequestEntityTooLarge creates a PatchListingsItemRequestEntityTooLarge with default headers values

func (*PatchListingsItemRequestEntityTooLarge) Error

func (*PatchListingsItemRequestEntityTooLarge) GetPayload

func (*PatchListingsItemRequestEntityTooLarge) IsClientError

func (o *PatchListingsItemRequestEntityTooLarge) IsClientError() bool

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

func (*PatchListingsItemRequestEntityTooLarge) IsCode

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

func (*PatchListingsItemRequestEntityTooLarge) IsRedirect

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

func (*PatchListingsItemRequestEntityTooLarge) IsServerError

func (o *PatchListingsItemRequestEntityTooLarge) IsServerError() bool

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

func (*PatchListingsItemRequestEntityTooLarge) IsSuccess

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

func (*PatchListingsItemRequestEntityTooLarge) String

type PatchListingsItemServiceUnavailable

type PatchListingsItemServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewPatchListingsItemServiceUnavailable

func NewPatchListingsItemServiceUnavailable() *PatchListingsItemServiceUnavailable

NewPatchListingsItemServiceUnavailable creates a PatchListingsItemServiceUnavailable with default headers values

func (*PatchListingsItemServiceUnavailable) Error

func (*PatchListingsItemServiceUnavailable) GetPayload

func (*PatchListingsItemServiceUnavailable) IsClientError

func (o *PatchListingsItemServiceUnavailable) IsClientError() bool

IsClientError returns true when this patch listings item service unavailable response has a 4xx status code

func (*PatchListingsItemServiceUnavailable) IsCode

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

func (*PatchListingsItemServiceUnavailable) IsRedirect

func (o *PatchListingsItemServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this patch listings item service unavailable response has a 3xx status code

func (*PatchListingsItemServiceUnavailable) IsServerError

func (o *PatchListingsItemServiceUnavailable) IsServerError() bool

IsServerError returns true when this patch listings item service unavailable response has a 5xx status code

func (*PatchListingsItemServiceUnavailable) IsSuccess

IsSuccess returns true when this patch listings item service unavailable response has a 2xx status code

func (*PatchListingsItemServiceUnavailable) String

type PatchListingsItemTooManyRequests

type PatchListingsItemTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewPatchListingsItemTooManyRequests

func NewPatchListingsItemTooManyRequests() *PatchListingsItemTooManyRequests

NewPatchListingsItemTooManyRequests creates a PatchListingsItemTooManyRequests with default headers values

func (*PatchListingsItemTooManyRequests) Error

func (*PatchListingsItemTooManyRequests) GetPayload

func (*PatchListingsItemTooManyRequests) IsClientError

func (o *PatchListingsItemTooManyRequests) IsClientError() bool

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

func (*PatchListingsItemTooManyRequests) IsCode

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

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

func (*PatchListingsItemTooManyRequests) IsRedirect

func (o *PatchListingsItemTooManyRequests) IsRedirect() bool

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

func (*PatchListingsItemTooManyRequests) IsServerError

func (o *PatchListingsItemTooManyRequests) IsServerError() bool

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

func (*PatchListingsItemTooManyRequests) IsSuccess

func (o *PatchListingsItemTooManyRequests) IsSuccess() bool

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

func (*PatchListingsItemTooManyRequests) String

type PatchListingsItemUnsupportedMediaType

type PatchListingsItemUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewPatchListingsItemUnsupportedMediaType

func NewPatchListingsItemUnsupportedMediaType() *PatchListingsItemUnsupportedMediaType

NewPatchListingsItemUnsupportedMediaType creates a PatchListingsItemUnsupportedMediaType with default headers values

func (*PatchListingsItemUnsupportedMediaType) Error

func (*PatchListingsItemUnsupportedMediaType) GetPayload

func (*PatchListingsItemUnsupportedMediaType) IsClientError

func (o *PatchListingsItemUnsupportedMediaType) IsClientError() bool

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

func (*PatchListingsItemUnsupportedMediaType) IsCode

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

func (*PatchListingsItemUnsupportedMediaType) IsRedirect

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

func (*PatchListingsItemUnsupportedMediaType) IsServerError

func (o *PatchListingsItemUnsupportedMediaType) IsServerError() bool

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

func (*PatchListingsItemUnsupportedMediaType) IsSuccess

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

func (*PatchListingsItemUnsupportedMediaType) String

type PutListingsItemBadRequest

type PutListingsItemBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewPutListingsItemBadRequest

func NewPutListingsItemBadRequest() *PutListingsItemBadRequest

NewPutListingsItemBadRequest creates a PutListingsItemBadRequest with default headers values

func (*PutListingsItemBadRequest) Error

func (o *PutListingsItemBadRequest) Error() string

func (*PutListingsItemBadRequest) GetPayload

func (*PutListingsItemBadRequest) IsClientError

func (o *PutListingsItemBadRequest) IsClientError() bool

IsClientError returns true when this put listings item bad request response has a 4xx status code

func (*PutListingsItemBadRequest) IsCode

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

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

func (*PutListingsItemBadRequest) IsRedirect

func (o *PutListingsItemBadRequest) IsRedirect() bool

IsRedirect returns true when this put listings item bad request response has a 3xx status code

func (*PutListingsItemBadRequest) IsServerError

func (o *PutListingsItemBadRequest) IsServerError() bool

IsServerError returns true when this put listings item bad request response has a 5xx status code

func (*PutListingsItemBadRequest) IsSuccess

func (o *PutListingsItemBadRequest) IsSuccess() bool

IsSuccess returns true when this put listings item bad request response has a 2xx status code

func (*PutListingsItemBadRequest) String

func (o *PutListingsItemBadRequest) String() string

type PutListingsItemForbidden

type PutListingsItemForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

PutListingsItemForbidden 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 NewPutListingsItemForbidden

func NewPutListingsItemForbidden() *PutListingsItemForbidden

NewPutListingsItemForbidden creates a PutListingsItemForbidden with default headers values

func (*PutListingsItemForbidden) Error

func (o *PutListingsItemForbidden) Error() string

func (*PutListingsItemForbidden) GetPayload

func (*PutListingsItemForbidden) IsClientError

func (o *PutListingsItemForbidden) IsClientError() bool

IsClientError returns true when this put listings item forbidden response has a 4xx status code

func (*PutListingsItemForbidden) IsCode

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

IsCode returns true when this put listings item forbidden response a status code equal to that given

func (*PutListingsItemForbidden) IsRedirect

func (o *PutListingsItemForbidden) IsRedirect() bool

IsRedirect returns true when this put listings item forbidden response has a 3xx status code

func (*PutListingsItemForbidden) IsServerError

func (o *PutListingsItemForbidden) IsServerError() bool

IsServerError returns true when this put listings item forbidden response has a 5xx status code

func (*PutListingsItemForbidden) IsSuccess

func (o *PutListingsItemForbidden) IsSuccess() bool

IsSuccess returns true when this put listings item forbidden response has a 2xx status code

func (*PutListingsItemForbidden) String

func (o *PutListingsItemForbidden) String() string

type PutListingsItemInternalServerError

type PutListingsItemInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

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

func NewPutListingsItemInternalServerError

func NewPutListingsItemInternalServerError() *PutListingsItemInternalServerError

NewPutListingsItemInternalServerError creates a PutListingsItemInternalServerError with default headers values

func (*PutListingsItemInternalServerError) Error

func (*PutListingsItemInternalServerError) GetPayload

func (*PutListingsItemInternalServerError) IsClientError

func (o *PutListingsItemInternalServerError) IsClientError() bool

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

func (*PutListingsItemInternalServerError) IsCode

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

func (*PutListingsItemInternalServerError) IsRedirect

func (o *PutListingsItemInternalServerError) IsRedirect() bool

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

func (*PutListingsItemInternalServerError) IsServerError

func (o *PutListingsItemInternalServerError) IsServerError() bool

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

func (*PutListingsItemInternalServerError) IsSuccess

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

func (*PutListingsItemInternalServerError) String

type PutListingsItemOK

type PutListingsItemOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
}

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

Successfully understood the request to create or fully-update a listings item. See the response to determine if the submission has been accepted.

func NewPutListingsItemOK

func NewPutListingsItemOK() *PutListingsItemOK

NewPutListingsItemOK creates a PutListingsItemOK with default headers values

func (*PutListingsItemOK) Error

func (o *PutListingsItemOK) Error() string

func (*PutListingsItemOK) IsClientError

func (o *PutListingsItemOK) IsClientError() bool

IsClientError returns true when this put listings item o k response has a 4xx status code

func (*PutListingsItemOK) IsCode

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

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

func (*PutListingsItemOK) IsRedirect

func (o *PutListingsItemOK) IsRedirect() bool

IsRedirect returns true when this put listings item o k response has a 3xx status code

func (*PutListingsItemOK) IsServerError

func (o *PutListingsItemOK) IsServerError() bool

IsServerError returns true when this put listings item o k response has a 5xx status code

func (*PutListingsItemOK) IsSuccess

func (o *PutListingsItemOK) IsSuccess() bool

IsSuccess returns true when this put listings item o k response has a 2xx status code

func (*PutListingsItemOK) String

func (o *PutListingsItemOK) String() string

type PutListingsItemParams

type PutListingsItemParams struct {

	/* Body.

	   The request body schema for the `putListingsItem` operation.
	*/
	Body *listings_items_2021_08_01_models.ListingsItemPutRequest

	/* IssueLocale.

	   A locale for localization of issues. When not provided, the default language code of the first marketplace is used. Examples: `en_US`, `fr_CA`, `fr_FR`. Localized messages default to `en_US` when a localization is not available in the specified locale.
	*/
	IssueLocale *string

	/* MarketplaceIds.

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

	/* SellerID.

	   A selling partner identifier, such as a merchant account or vendor code.
	*/
	SellerID string

	/* Sku.

	   A selling partner provided identifier for an Amazon listing.
	*/
	Sku string

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

PutListingsItemParams contains all the parameters to send to the API endpoint

for the put listings item operation.

Typically these are written to a http.Request.

func NewPutListingsItemParams

func NewPutListingsItemParams() *PutListingsItemParams

NewPutListingsItemParams creates a new PutListingsItemParams 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 NewPutListingsItemParamsWithContext

func NewPutListingsItemParamsWithContext(ctx context.Context) *PutListingsItemParams

NewPutListingsItemParamsWithContext creates a new PutListingsItemParams object with the ability to set a context for a request.

func NewPutListingsItemParamsWithHTTPClient

func NewPutListingsItemParamsWithHTTPClient(client *http.Client) *PutListingsItemParams

NewPutListingsItemParamsWithHTTPClient creates a new PutListingsItemParams object with the ability to set a custom HTTPClient for a request.

func NewPutListingsItemParamsWithTimeout

func NewPutListingsItemParamsWithTimeout(timeout time.Duration) *PutListingsItemParams

NewPutListingsItemParamsWithTimeout creates a new PutListingsItemParams object with the ability to set a timeout on a request.

func (*PutListingsItemParams) SetBody

SetBody adds the body to the put listings item params

func (*PutListingsItemParams) SetContext

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

SetContext adds the context to the put listings item params

func (*PutListingsItemParams) SetDefaults

func (o *PutListingsItemParams) SetDefaults()

SetDefaults hydrates default values in the put listings item params (not the query body).

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

func (*PutListingsItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put listings item params

func (*PutListingsItemParams) SetIssueLocale

func (o *PutListingsItemParams) SetIssueLocale(issueLocale *string)

SetIssueLocale adds the issueLocale to the put listings item params

func (*PutListingsItemParams) SetMarketplaceIds

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

SetMarketplaceIds adds the marketplaceIds to the put listings item params

func (*PutListingsItemParams) SetSellerID

func (o *PutListingsItemParams) SetSellerID(sellerID string)

SetSellerID adds the sellerId to the put listings item params

func (*PutListingsItemParams) SetSku

func (o *PutListingsItemParams) SetSku(sku string)

SetSku adds the sku to the put listings item params

func (*PutListingsItemParams) SetTimeout

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

SetTimeout adds the timeout to the put listings item params

func (*PutListingsItemParams) WithBody

WithBody adds the body to the put listings item params

func (*PutListingsItemParams) WithContext

WithContext adds the context to the put listings item params

func (*PutListingsItemParams) WithDefaults

func (o *PutListingsItemParams) WithDefaults() *PutListingsItemParams

WithDefaults hydrates default values in the put listings item params (not the query body).

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

func (*PutListingsItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put listings item params

func (*PutListingsItemParams) WithIssueLocale

func (o *PutListingsItemParams) WithIssueLocale(issueLocale *string) *PutListingsItemParams

WithIssueLocale adds the issueLocale to the put listings item params

func (*PutListingsItemParams) WithMarketplaceIds

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

WithMarketplaceIds adds the marketplaceIds to the put listings item params

func (*PutListingsItemParams) WithSellerID

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

WithSellerID adds the sellerID to the put listings item params

func (*PutListingsItemParams) WithSku

WithSku adds the sku to the put listings item params

func (*PutListingsItemParams) WithTimeout

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

WithTimeout adds the timeout to the put listings item params

func (*PutListingsItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutListingsItemReader

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

PutListingsItemReader is a Reader for the PutListingsItem structure.

func (*PutListingsItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutListingsItemRequestEntityTooLarge

type PutListingsItemRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewPutListingsItemRequestEntityTooLarge

func NewPutListingsItemRequestEntityTooLarge() *PutListingsItemRequestEntityTooLarge

NewPutListingsItemRequestEntityTooLarge creates a PutListingsItemRequestEntityTooLarge with default headers values

func (*PutListingsItemRequestEntityTooLarge) Error

func (*PutListingsItemRequestEntityTooLarge) GetPayload

func (*PutListingsItemRequestEntityTooLarge) IsClientError

func (o *PutListingsItemRequestEntityTooLarge) IsClientError() bool

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

func (*PutListingsItemRequestEntityTooLarge) IsCode

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

func (*PutListingsItemRequestEntityTooLarge) IsRedirect

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

func (*PutListingsItemRequestEntityTooLarge) IsServerError

func (o *PutListingsItemRequestEntityTooLarge) IsServerError() bool

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

func (*PutListingsItemRequestEntityTooLarge) IsSuccess

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

func (*PutListingsItemRequestEntityTooLarge) String

type PutListingsItemServiceUnavailable

type PutListingsItemServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewPutListingsItemServiceUnavailable

func NewPutListingsItemServiceUnavailable() *PutListingsItemServiceUnavailable

NewPutListingsItemServiceUnavailable creates a PutListingsItemServiceUnavailable with default headers values

func (*PutListingsItemServiceUnavailable) Error

func (*PutListingsItemServiceUnavailable) GetPayload

func (*PutListingsItemServiceUnavailable) IsClientError

func (o *PutListingsItemServiceUnavailable) IsClientError() bool

IsClientError returns true when this put listings item service unavailable response has a 4xx status code

func (*PutListingsItemServiceUnavailable) IsCode

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

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

func (*PutListingsItemServiceUnavailable) IsRedirect

func (o *PutListingsItemServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this put listings item service unavailable response has a 3xx status code

func (*PutListingsItemServiceUnavailable) IsServerError

func (o *PutListingsItemServiceUnavailable) IsServerError() bool

IsServerError returns true when this put listings item service unavailable response has a 5xx status code

func (*PutListingsItemServiceUnavailable) IsSuccess

func (o *PutListingsItemServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this put listings item service unavailable response has a 2xx status code

func (*PutListingsItemServiceUnavailable) String

type PutListingsItemTooManyRequests

type PutListingsItemTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewPutListingsItemTooManyRequests

func NewPutListingsItemTooManyRequests() *PutListingsItemTooManyRequests

NewPutListingsItemTooManyRequests creates a PutListingsItemTooManyRequests with default headers values

func (*PutListingsItemTooManyRequests) Error

func (*PutListingsItemTooManyRequests) GetPayload

func (*PutListingsItemTooManyRequests) IsClientError

func (o *PutListingsItemTooManyRequests) IsClientError() bool

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

func (*PutListingsItemTooManyRequests) IsCode

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

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

func (*PutListingsItemTooManyRequests) IsRedirect

func (o *PutListingsItemTooManyRequests) IsRedirect() bool

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

func (*PutListingsItemTooManyRequests) IsServerError

func (o *PutListingsItemTooManyRequests) IsServerError() bool

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

func (*PutListingsItemTooManyRequests) IsSuccess

func (o *PutListingsItemTooManyRequests) IsSuccess() bool

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

func (*PutListingsItemTooManyRequests) String

type PutListingsItemUnsupportedMediaType

type PutListingsItemUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *listings_items_2021_08_01_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewPutListingsItemUnsupportedMediaType

func NewPutListingsItemUnsupportedMediaType() *PutListingsItemUnsupportedMediaType

NewPutListingsItemUnsupportedMediaType creates a PutListingsItemUnsupportedMediaType with default headers values

func (*PutListingsItemUnsupportedMediaType) Error

func (*PutListingsItemUnsupportedMediaType) GetPayload

func (*PutListingsItemUnsupportedMediaType) IsClientError

func (o *PutListingsItemUnsupportedMediaType) IsClientError() bool

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

func (*PutListingsItemUnsupportedMediaType) IsCode

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

func (*PutListingsItemUnsupportedMediaType) IsRedirect

func (o *PutListingsItemUnsupportedMediaType) IsRedirect() bool

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

func (*PutListingsItemUnsupportedMediaType) IsServerError

func (o *PutListingsItemUnsupportedMediaType) IsServerError() bool

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

func (*PutListingsItemUnsupportedMediaType) IsSuccess

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

func (*PutListingsItemUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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