Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteListingsItem(params *DeleteListingsItemParams, opts ...ClientOption) (*DeleteListingsItemOK, error)
- func (a *Client) GetListingsItem(params *GetListingsItemParams, opts ...ClientOption) (*GetListingsItemOK, error)
- func (a *Client) PatchListingsItem(params *PatchListingsItemParams, opts ...ClientOption) (*PatchListingsItemOK, error)
- func (a *Client) PutListingsItem(params *PutListingsItemParams, opts ...ClientOption) (*PutListingsItemOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteListingsItemBadRequest
- func (o *DeleteListingsItemBadRequest) Error() string
- func (o *DeleteListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemBadRequest) IsClientError() bool
- func (o *DeleteListingsItemBadRequest) IsCode(code int) bool
- func (o *DeleteListingsItemBadRequest) IsRedirect() bool
- func (o *DeleteListingsItemBadRequest) IsServerError() bool
- func (o *DeleteListingsItemBadRequest) IsSuccess() bool
- func (o *DeleteListingsItemBadRequest) String() string
- type DeleteListingsItemForbidden
- func (o *DeleteListingsItemForbidden) Error() string
- func (o *DeleteListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemForbidden) IsClientError() bool
- func (o *DeleteListingsItemForbidden) IsCode(code int) bool
- func (o *DeleteListingsItemForbidden) IsRedirect() bool
- func (o *DeleteListingsItemForbidden) IsServerError() bool
- func (o *DeleteListingsItemForbidden) IsSuccess() bool
- func (o *DeleteListingsItemForbidden) String() string
- type DeleteListingsItemInternalServerError
- func (o *DeleteListingsItemInternalServerError) Error() string
- func (o *DeleteListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemInternalServerError) IsClientError() bool
- func (o *DeleteListingsItemInternalServerError) IsCode(code int) bool
- func (o *DeleteListingsItemInternalServerError) IsRedirect() bool
- func (o *DeleteListingsItemInternalServerError) IsServerError() bool
- func (o *DeleteListingsItemInternalServerError) IsSuccess() bool
- func (o *DeleteListingsItemInternalServerError) String() string
- type DeleteListingsItemOK
- func (o *DeleteListingsItemOK) Error() string
- func (o *DeleteListingsItemOK) GetPayload() *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
- func (o *DeleteListingsItemOK) IsClientError() bool
- func (o *DeleteListingsItemOK) IsCode(code int) bool
- func (o *DeleteListingsItemOK) IsRedirect() bool
- func (o *DeleteListingsItemOK) IsServerError() bool
- func (o *DeleteListingsItemOK) IsSuccess() bool
- func (o *DeleteListingsItemOK) String() string
- type DeleteListingsItemParams
- func NewDeleteListingsItemParams() *DeleteListingsItemParams
- func NewDeleteListingsItemParamsWithContext(ctx context.Context) *DeleteListingsItemParams
- func NewDeleteListingsItemParamsWithHTTPClient(client *http.Client) *DeleteListingsItemParams
- func NewDeleteListingsItemParamsWithTimeout(timeout time.Duration) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) SetContext(ctx context.Context)
- func (o *DeleteListingsItemParams) SetDefaults()
- func (o *DeleteListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *DeleteListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *DeleteListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *DeleteListingsItemParams) SetSellerID(sellerID string)
- func (o *DeleteListingsItemParams) SetSku(sku string)
- func (o *DeleteListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *DeleteListingsItemParams) WithContext(ctx context.Context) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithDefaults() *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithHTTPClient(client *http.Client) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithIssueLocale(issueLocale *string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithSellerID(sellerID string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithSku(sku string) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WithTimeout(timeout time.Duration) *DeleteListingsItemParams
- func (o *DeleteListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteListingsItemReader
- type DeleteListingsItemRequestEntityTooLarge
- func (o *DeleteListingsItemRequestEntityTooLarge) Error() string
- func (o *DeleteListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteListingsItemRequestEntityTooLarge) String() string
- type DeleteListingsItemServiceUnavailable
- func (o *DeleteListingsItemServiceUnavailable) Error() string
- func (o *DeleteListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemServiceUnavailable) IsClientError() bool
- func (o *DeleteListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *DeleteListingsItemServiceUnavailable) IsRedirect() bool
- func (o *DeleteListingsItemServiceUnavailable) IsServerError() bool
- func (o *DeleteListingsItemServiceUnavailable) IsSuccess() bool
- func (o *DeleteListingsItemServiceUnavailable) String() string
- type DeleteListingsItemTooManyRequests
- func (o *DeleteListingsItemTooManyRequests) Error() string
- func (o *DeleteListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemTooManyRequests) IsClientError() bool
- func (o *DeleteListingsItemTooManyRequests) IsCode(code int) bool
- func (o *DeleteListingsItemTooManyRequests) IsRedirect() bool
- func (o *DeleteListingsItemTooManyRequests) IsServerError() bool
- func (o *DeleteListingsItemTooManyRequests) IsSuccess() bool
- func (o *DeleteListingsItemTooManyRequests) String() string
- type DeleteListingsItemUnsupportedMediaType
- func (o *DeleteListingsItemUnsupportedMediaType) Error() string
- func (o *DeleteListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *DeleteListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *DeleteListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteListingsItemUnsupportedMediaType) String() string
- type GetListingsItemBadRequest
- func (o *GetListingsItemBadRequest) Error() string
- func (o *GetListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemBadRequest) IsClientError() bool
- func (o *GetListingsItemBadRequest) IsCode(code int) bool
- func (o *GetListingsItemBadRequest) IsRedirect() bool
- func (o *GetListingsItemBadRequest) IsServerError() bool
- func (o *GetListingsItemBadRequest) IsSuccess() bool
- func (o *GetListingsItemBadRequest) String() string
- type GetListingsItemForbidden
- func (o *GetListingsItemForbidden) Error() string
- func (o *GetListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemForbidden) IsClientError() bool
- func (o *GetListingsItemForbidden) IsCode(code int) bool
- func (o *GetListingsItemForbidden) IsRedirect() bool
- func (o *GetListingsItemForbidden) IsServerError() bool
- func (o *GetListingsItemForbidden) IsSuccess() bool
- func (o *GetListingsItemForbidden) String() string
- type GetListingsItemInternalServerError
- func (o *GetListingsItemInternalServerError) Error() string
- func (o *GetListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemInternalServerError) IsClientError() bool
- func (o *GetListingsItemInternalServerError) IsCode(code int) bool
- func (o *GetListingsItemInternalServerError) IsRedirect() bool
- func (o *GetListingsItemInternalServerError) IsServerError() bool
- func (o *GetListingsItemInternalServerError) IsSuccess() bool
- func (o *GetListingsItemInternalServerError) String() string
- type GetListingsItemNotFound
- func (o *GetListingsItemNotFound) Error() string
- func (o *GetListingsItemNotFound) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemNotFound) IsClientError() bool
- func (o *GetListingsItemNotFound) IsCode(code int) bool
- func (o *GetListingsItemNotFound) IsRedirect() bool
- func (o *GetListingsItemNotFound) IsServerError() bool
- func (o *GetListingsItemNotFound) IsSuccess() bool
- func (o *GetListingsItemNotFound) String() string
- type GetListingsItemOK
- func (o *GetListingsItemOK) Error() string
- func (o *GetListingsItemOK) GetPayload() *listings_items_2021_08_01_models.Item
- func (o *GetListingsItemOK) IsClientError() bool
- func (o *GetListingsItemOK) IsCode(code int) bool
- func (o *GetListingsItemOK) IsRedirect() bool
- func (o *GetListingsItemOK) IsServerError() bool
- func (o *GetListingsItemOK) IsSuccess() bool
- func (o *GetListingsItemOK) String() string
- type GetListingsItemParams
- func NewGetListingsItemParams() *GetListingsItemParams
- func NewGetListingsItemParamsWithContext(ctx context.Context) *GetListingsItemParams
- func NewGetListingsItemParamsWithHTTPClient(client *http.Client) *GetListingsItemParams
- func NewGetListingsItemParamsWithTimeout(timeout time.Duration) *GetListingsItemParams
- func (o *GetListingsItemParams) SetContext(ctx context.Context)
- func (o *GetListingsItemParams) SetDefaults()
- func (o *GetListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *GetListingsItemParams) SetIncludedData(includedData []string)
- func (o *GetListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *GetListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *GetListingsItemParams) SetSellerID(sellerID string)
- func (o *GetListingsItemParams) SetSku(sku string)
- func (o *GetListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *GetListingsItemParams) WithContext(ctx context.Context) *GetListingsItemParams
- func (o *GetListingsItemParams) WithDefaults() *GetListingsItemParams
- func (o *GetListingsItemParams) WithHTTPClient(client *http.Client) *GetListingsItemParams
- func (o *GetListingsItemParams) WithIncludedData(includedData []string) *GetListingsItemParams
- func (o *GetListingsItemParams) WithIssueLocale(issueLocale *string) *GetListingsItemParams
- func (o *GetListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *GetListingsItemParams
- func (o *GetListingsItemParams) WithSellerID(sellerID string) *GetListingsItemParams
- func (o *GetListingsItemParams) WithSku(sku string) *GetListingsItemParams
- func (o *GetListingsItemParams) WithTimeout(timeout time.Duration) *GetListingsItemParams
- func (o *GetListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListingsItemReader
- type GetListingsItemRequestEntityTooLarge
- func (o *GetListingsItemRequestEntityTooLarge) Error() string
- func (o *GetListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *GetListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *GetListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *GetListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *GetListingsItemRequestEntityTooLarge) String() string
- type GetListingsItemServiceUnavailable
- func (o *GetListingsItemServiceUnavailable) Error() string
- func (o *GetListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemServiceUnavailable) IsClientError() bool
- func (o *GetListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *GetListingsItemServiceUnavailable) IsRedirect() bool
- func (o *GetListingsItemServiceUnavailable) IsServerError() bool
- func (o *GetListingsItemServiceUnavailable) IsSuccess() bool
- func (o *GetListingsItemServiceUnavailable) String() string
- type GetListingsItemTooManyRequests
- func (o *GetListingsItemTooManyRequests) Error() string
- func (o *GetListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemTooManyRequests) IsClientError() bool
- func (o *GetListingsItemTooManyRequests) IsCode(code int) bool
- func (o *GetListingsItemTooManyRequests) IsRedirect() bool
- func (o *GetListingsItemTooManyRequests) IsServerError() bool
- func (o *GetListingsItemTooManyRequests) IsSuccess() bool
- func (o *GetListingsItemTooManyRequests) String() string
- type GetListingsItemUnsupportedMediaType
- func (o *GetListingsItemUnsupportedMediaType) Error() string
- func (o *GetListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *GetListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *GetListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *GetListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *GetListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *GetListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *GetListingsItemUnsupportedMediaType) String() string
- type PatchListingsItemBadRequest
- func (o *PatchListingsItemBadRequest) Error() string
- func (o *PatchListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemBadRequest) IsClientError() bool
- func (o *PatchListingsItemBadRequest) IsCode(code int) bool
- func (o *PatchListingsItemBadRequest) IsRedirect() bool
- func (o *PatchListingsItemBadRequest) IsServerError() bool
- func (o *PatchListingsItemBadRequest) IsSuccess() bool
- func (o *PatchListingsItemBadRequest) String() string
- type PatchListingsItemForbidden
- func (o *PatchListingsItemForbidden) Error() string
- func (o *PatchListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemForbidden) IsClientError() bool
- func (o *PatchListingsItemForbidden) IsCode(code int) bool
- func (o *PatchListingsItemForbidden) IsRedirect() bool
- func (o *PatchListingsItemForbidden) IsServerError() bool
- func (o *PatchListingsItemForbidden) IsSuccess() bool
- func (o *PatchListingsItemForbidden) String() string
- type PatchListingsItemInternalServerError
- func (o *PatchListingsItemInternalServerError) Error() string
- func (o *PatchListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemInternalServerError) IsClientError() bool
- func (o *PatchListingsItemInternalServerError) IsCode(code int) bool
- func (o *PatchListingsItemInternalServerError) IsRedirect() bool
- func (o *PatchListingsItemInternalServerError) IsServerError() bool
- func (o *PatchListingsItemInternalServerError) IsSuccess() bool
- func (o *PatchListingsItemInternalServerError) String() string
- type PatchListingsItemOK
- func (o *PatchListingsItemOK) Error() string
- func (o *PatchListingsItemOK) GetPayload() *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
- func (o *PatchListingsItemOK) IsClientError() bool
- func (o *PatchListingsItemOK) IsCode(code int) bool
- func (o *PatchListingsItemOK) IsRedirect() bool
- func (o *PatchListingsItemOK) IsServerError() bool
- func (o *PatchListingsItemOK) IsSuccess() bool
- func (o *PatchListingsItemOK) String() string
- type PatchListingsItemParams
- func NewPatchListingsItemParams() *PatchListingsItemParams
- func NewPatchListingsItemParamsWithContext(ctx context.Context) *PatchListingsItemParams
- func NewPatchListingsItemParamsWithHTTPClient(client *http.Client) *PatchListingsItemParams
- func NewPatchListingsItemParamsWithTimeout(timeout time.Duration) *PatchListingsItemParams
- func (o *PatchListingsItemParams) SetBody(body *listings_items_2021_08_01_models.ListingsItemPatchRequest)
- func (o *PatchListingsItemParams) SetContext(ctx context.Context)
- func (o *PatchListingsItemParams) SetDefaults()
- func (o *PatchListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *PatchListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *PatchListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *PatchListingsItemParams) SetSellerID(sellerID string)
- func (o *PatchListingsItemParams) SetSku(sku string)
- func (o *PatchListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *PatchListingsItemParams) WithBody(body *listings_items_2021_08_01_models.ListingsItemPatchRequest) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithContext(ctx context.Context) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithDefaults() *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithHTTPClient(client *http.Client) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithIssueLocale(issueLocale *string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithSellerID(sellerID string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithSku(sku string) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WithTimeout(timeout time.Duration) *PatchListingsItemParams
- func (o *PatchListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchListingsItemReader
- type PatchListingsItemRequestEntityTooLarge
- func (o *PatchListingsItemRequestEntityTooLarge) Error() string
- func (o *PatchListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *PatchListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *PatchListingsItemRequestEntityTooLarge) String() string
- type PatchListingsItemServiceUnavailable
- func (o *PatchListingsItemServiceUnavailable) Error() string
- func (o *PatchListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemServiceUnavailable) IsClientError() bool
- func (o *PatchListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *PatchListingsItemServiceUnavailable) IsRedirect() bool
- func (o *PatchListingsItemServiceUnavailable) IsServerError() bool
- func (o *PatchListingsItemServiceUnavailable) IsSuccess() bool
- func (o *PatchListingsItemServiceUnavailable) String() string
- type PatchListingsItemTooManyRequests
- func (o *PatchListingsItemTooManyRequests) Error() string
- func (o *PatchListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemTooManyRequests) IsClientError() bool
- func (o *PatchListingsItemTooManyRequests) IsCode(code int) bool
- func (o *PatchListingsItemTooManyRequests) IsRedirect() bool
- func (o *PatchListingsItemTooManyRequests) IsServerError() bool
- func (o *PatchListingsItemTooManyRequests) IsSuccess() bool
- func (o *PatchListingsItemTooManyRequests) String() string
- type PatchListingsItemUnsupportedMediaType
- func (o *PatchListingsItemUnsupportedMediaType) Error() string
- func (o *PatchListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PatchListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *PatchListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *PatchListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *PatchListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *PatchListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *PatchListingsItemUnsupportedMediaType) String() string
- type PutListingsItemBadRequest
- func (o *PutListingsItemBadRequest) Error() string
- func (o *PutListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemBadRequest) IsClientError() bool
- func (o *PutListingsItemBadRequest) IsCode(code int) bool
- func (o *PutListingsItemBadRequest) IsRedirect() bool
- func (o *PutListingsItemBadRequest) IsServerError() bool
- func (o *PutListingsItemBadRequest) IsSuccess() bool
- func (o *PutListingsItemBadRequest) String() string
- type PutListingsItemForbidden
- func (o *PutListingsItemForbidden) Error() string
- func (o *PutListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemForbidden) IsClientError() bool
- func (o *PutListingsItemForbidden) IsCode(code int) bool
- func (o *PutListingsItemForbidden) IsRedirect() bool
- func (o *PutListingsItemForbidden) IsServerError() bool
- func (o *PutListingsItemForbidden) IsSuccess() bool
- func (o *PutListingsItemForbidden) String() string
- type PutListingsItemInternalServerError
- func (o *PutListingsItemInternalServerError) Error() string
- func (o *PutListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemInternalServerError) IsClientError() bool
- func (o *PutListingsItemInternalServerError) IsCode(code int) bool
- func (o *PutListingsItemInternalServerError) IsRedirect() bool
- func (o *PutListingsItemInternalServerError) IsServerError() bool
- func (o *PutListingsItemInternalServerError) IsSuccess() bool
- func (o *PutListingsItemInternalServerError) String() string
- type PutListingsItemOK
- func (o *PutListingsItemOK) Error() string
- func (o *PutListingsItemOK) GetPayload() *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
- func (o *PutListingsItemOK) IsClientError() bool
- func (o *PutListingsItemOK) IsCode(code int) bool
- func (o *PutListingsItemOK) IsRedirect() bool
- func (o *PutListingsItemOK) IsServerError() bool
- func (o *PutListingsItemOK) IsSuccess() bool
- func (o *PutListingsItemOK) String() string
- type PutListingsItemParams
- func NewPutListingsItemParams() *PutListingsItemParams
- func NewPutListingsItemParamsWithContext(ctx context.Context) *PutListingsItemParams
- func NewPutListingsItemParamsWithHTTPClient(client *http.Client) *PutListingsItemParams
- func NewPutListingsItemParamsWithTimeout(timeout time.Duration) *PutListingsItemParams
- func (o *PutListingsItemParams) SetBody(body *listings_items_2021_08_01_models.ListingsItemPutRequest)
- func (o *PutListingsItemParams) SetContext(ctx context.Context)
- func (o *PutListingsItemParams) SetDefaults()
- func (o *PutListingsItemParams) SetHTTPClient(client *http.Client)
- func (o *PutListingsItemParams) SetIssueLocale(issueLocale *string)
- func (o *PutListingsItemParams) SetMarketplaceIds(marketplaceIds []string)
- func (o *PutListingsItemParams) SetSellerID(sellerID string)
- func (o *PutListingsItemParams) SetSku(sku string)
- func (o *PutListingsItemParams) SetTimeout(timeout time.Duration)
- func (o *PutListingsItemParams) WithBody(body *listings_items_2021_08_01_models.ListingsItemPutRequest) *PutListingsItemParams
- func (o *PutListingsItemParams) WithContext(ctx context.Context) *PutListingsItemParams
- func (o *PutListingsItemParams) WithDefaults() *PutListingsItemParams
- func (o *PutListingsItemParams) WithHTTPClient(client *http.Client) *PutListingsItemParams
- func (o *PutListingsItemParams) WithIssueLocale(issueLocale *string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithMarketplaceIds(marketplaceIds []string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithSellerID(sellerID string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithSku(sku string) *PutListingsItemParams
- func (o *PutListingsItemParams) WithTimeout(timeout time.Duration) *PutListingsItemParams
- func (o *PutListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutListingsItemReader
- type PutListingsItemRequestEntityTooLarge
- func (o *PutListingsItemRequestEntityTooLarge) Error() string
- func (o *PutListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemRequestEntityTooLarge) IsClientError() bool
- func (o *PutListingsItemRequestEntityTooLarge) IsCode(code int) bool
- func (o *PutListingsItemRequestEntityTooLarge) IsRedirect() bool
- func (o *PutListingsItemRequestEntityTooLarge) IsServerError() bool
- func (o *PutListingsItemRequestEntityTooLarge) IsSuccess() bool
- func (o *PutListingsItemRequestEntityTooLarge) String() string
- type PutListingsItemServiceUnavailable
- func (o *PutListingsItemServiceUnavailable) Error() string
- func (o *PutListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemServiceUnavailable) IsClientError() bool
- func (o *PutListingsItemServiceUnavailable) IsCode(code int) bool
- func (o *PutListingsItemServiceUnavailable) IsRedirect() bool
- func (o *PutListingsItemServiceUnavailable) IsServerError() bool
- func (o *PutListingsItemServiceUnavailable) IsSuccess() bool
- func (o *PutListingsItemServiceUnavailable) String() string
- type PutListingsItemTooManyRequests
- func (o *PutListingsItemTooManyRequests) Error() string
- func (o *PutListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemTooManyRequests) IsClientError() bool
- func (o *PutListingsItemTooManyRequests) IsCode(code int) bool
- func (o *PutListingsItemTooManyRequests) IsRedirect() bool
- func (o *PutListingsItemTooManyRequests) IsServerError() bool
- func (o *PutListingsItemTooManyRequests) IsSuccess() bool
- func (o *PutListingsItemTooManyRequests) String() string
- type PutListingsItemUnsupportedMediaType
- func (o *PutListingsItemUnsupportedMediaType) Error() string
- func (o *PutListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
- func (o *PutListingsItemUnsupportedMediaType) IsClientError() bool
- func (o *PutListingsItemUnsupportedMediaType) IsCode(code int) bool
- func (o *PutListingsItemUnsupportedMediaType) IsRedirect() bool
- func (o *PutListingsItemUnsupportedMediaType) IsServerError() bool
- func (o *PutListingsItemUnsupportedMediaType) IsSuccess() bool
- func (o *PutListingsItemUnsupportedMediaType) String() string
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 (o *DeleteListingsItemBadRequest) Error() string
func (*DeleteListingsItemBadRequest) GetPayload ¶
func (o *DeleteListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *DeleteListingsItemBadRequest) String() 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 (o *DeleteListingsItemForbidden) Error() string
func (*DeleteListingsItemForbidden) GetPayload ¶
func (o *DeleteListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *DeleteListingsItemInternalServerError) Error() string
func (*DeleteListingsItemInternalServerError) GetPayload ¶
func (o *DeleteListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *DeleteListingsItemInternalServerError) IsCode(code int) bool
IsCode returns true when this delete listings item internal server error response a status code equal to that given
func (*DeleteListingsItemInternalServerError) IsRedirect ¶
func (o *DeleteListingsItemInternalServerError) IsRedirect() bool
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 ¶
func (o *DeleteListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete listings item internal server error response has a 2xx status code
func (*DeleteListingsItemInternalServerError) String ¶
func (o *DeleteListingsItemInternalServerError) String() 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) GetPayload ¶
func (o *DeleteListingsItemOK) GetPayload() *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
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 ¶
func (o *DeleteListingsItemParams) WithContext(ctx context.Context) *DeleteListingsItemParams
WithContext adds the context to the delete listings item params
func (*DeleteListingsItemParams) WithDefaults ¶
func (o *DeleteListingsItemParams) WithDefaults() *DeleteListingsItemParams
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 ¶
func (o *DeleteListingsItemParams) WithSku(sku string) *DeleteListingsItemParams
WithSku adds the sku to the delete listings item params
func (*DeleteListingsItemParams) WithTimeout ¶
func (o *DeleteListingsItemParams) WithTimeout(timeout time.Duration) *DeleteListingsItemParams
WithTimeout adds the timeout to the delete listings item params
func (*DeleteListingsItemParams) WriteToRequest ¶
func (o *DeleteListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteListingsItemRequestEntityTooLarge) Error() string
func (*DeleteListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *DeleteListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this delete listings item request entity too large response a status code equal to that given
func (*DeleteListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *DeleteListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete listings item request entity too large response has a 2xx status code
func (*DeleteListingsItemRequestEntityTooLarge) String ¶
func (o *DeleteListingsItemRequestEntityTooLarge) String() string
type DeleteListingsItemServiceUnavailable ¶
type DeleteListingsItemServiceUnavailable struct { string }XAmznRequestID
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 (o *DeleteListingsItemServiceUnavailable) Error() string
func (*DeleteListingsItemServiceUnavailable) GetPayload ¶
func (o *DeleteListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *DeleteListingsItemServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete listings item service unavailable response a status code equal to that given
func (*DeleteListingsItemServiceUnavailable) IsRedirect ¶
func (o *DeleteListingsItemServiceUnavailable) IsRedirect() bool
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 ¶
func (o *DeleteListingsItemServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete listings item service unavailable response has a 2xx status code
func (*DeleteListingsItemServiceUnavailable) String ¶
func (o *DeleteListingsItemServiceUnavailable) String() 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 (o *DeleteListingsItemTooManyRequests) Error() string
func (*DeleteListingsItemTooManyRequests) GetPayload ¶
func (o *DeleteListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *DeleteListingsItemTooManyRequests) String() 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 (o *DeleteListingsItemUnsupportedMediaType) Error() string
func (*DeleteListingsItemUnsupportedMediaType) GetPayload ¶
func (o *DeleteListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this delete listings item unsupported media type response a status code equal to that given
func (*DeleteListingsItemUnsupportedMediaType) IsRedirect ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *DeleteListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete listings item unsupported media type response has a 2xx status code
func (*DeleteListingsItemUnsupportedMediaType) String ¶
func (o *DeleteListingsItemUnsupportedMediaType) String() 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 (o *GetListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *GetListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *GetListingsItemInternalServerError) Error() string
func (*GetListingsItemInternalServerError) GetPayload ¶
func (o *GetListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *GetListingsItemInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this get listings item internal server error response has a 2xx status code
func (*GetListingsItemInternalServerError) String ¶
func (o *GetListingsItemInternalServerError) String() 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 (o *GetListingsItemNotFound) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *GetListingsItemOK) GetPayload() *listings_items_2021_08_01_models.Item
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 ¶
func (o *GetListingsItemParams) WithContext(ctx context.Context) *GetListingsItemParams
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 ¶
func (o *GetListingsItemParams) WithSku(sku string) *GetListingsItemParams
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 (o *GetListingsItemRequestEntityTooLarge) Error() string
func (*GetListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *GetListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *GetListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get listings item request entity too large response a status code equal to that given
func (*GetListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *GetListingsItemRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *GetListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get listings item request entity too large response has a 2xx status code
func (*GetListingsItemRequestEntityTooLarge) String ¶
func (o *GetListingsItemRequestEntityTooLarge) String() string
type GetListingsItemServiceUnavailable ¶
type GetListingsItemServiceUnavailable struct { string }XAmznRequestID
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 (o *GetListingsItemServiceUnavailable) Error() string
func (*GetListingsItemServiceUnavailable) GetPayload ¶
func (o *GetListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *GetListingsItemServiceUnavailable) String() 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 (o *GetListingsItemTooManyRequests) Error() string
func (*GetListingsItemTooManyRequests) GetPayload ¶
func (o *GetListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *GetListingsItemTooManyRequests) String() 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 (o *GetListingsItemUnsupportedMediaType) Error() string
func (*GetListingsItemUnsupportedMediaType) GetPayload ¶
func (o *GetListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *GetListingsItemUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *GetListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get listings item unsupported media type response has a 2xx status code
func (*GetListingsItemUnsupportedMediaType) String ¶
func (o *GetListingsItemUnsupportedMediaType) String() 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 (o *PatchListingsItemBadRequest) Error() string
func (*PatchListingsItemBadRequest) GetPayload ¶
func (o *PatchListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *PatchListingsItemForbidden) Error() string
func (*PatchListingsItemForbidden) GetPayload ¶
func (o *PatchListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *PatchListingsItemInternalServerError) Error() string
func (*PatchListingsItemInternalServerError) GetPayload ¶
func (o *PatchListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PatchListingsItemInternalServerError) IsCode(code int) bool
IsCode returns true when this patch listings item internal server error response a status code equal to that given
func (*PatchListingsItemInternalServerError) IsRedirect ¶
func (o *PatchListingsItemInternalServerError) IsRedirect() bool
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 ¶
func (o *PatchListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch listings item internal server error response has a 2xx status code
func (*PatchListingsItemInternalServerError) String ¶
func (o *PatchListingsItemInternalServerError) String() 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) GetPayload ¶
func (o *PatchListingsItemOK) GetPayload() *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
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 ¶
func (o *PatchListingsItemParams) SetBody(body *listings_items_2021_08_01_models.ListingsItemPatchRequest)
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 ¶
func (o *PatchListingsItemParams) WithBody(body *listings_items_2021_08_01_models.ListingsItemPatchRequest) *PatchListingsItemParams
WithBody adds the body to the patch listings item params
func (*PatchListingsItemParams) WithContext ¶
func (o *PatchListingsItemParams) WithContext(ctx context.Context) *PatchListingsItemParams
WithContext adds the context to the patch listings item params
func (*PatchListingsItemParams) WithDefaults ¶
func (o *PatchListingsItemParams) WithDefaults() *PatchListingsItemParams
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 ¶
func (o *PatchListingsItemParams) WithSku(sku string) *PatchListingsItemParams
WithSku adds the sku to the patch listings item params
func (*PatchListingsItemParams) WithTimeout ¶
func (o *PatchListingsItemParams) WithTimeout(timeout time.Duration) *PatchListingsItemParams
WithTimeout adds the timeout to the patch listings item params
func (*PatchListingsItemParams) WriteToRequest ¶
func (o *PatchListingsItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PatchListingsItemRequestEntityTooLarge) Error() string
func (*PatchListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *PatchListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this patch listings item request entity too large response a status code equal to that given
func (*PatchListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *PatchListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this patch listings item request entity too large response has a 2xx status code
func (*PatchListingsItemRequestEntityTooLarge) String ¶
func (o *PatchListingsItemRequestEntityTooLarge) String() string
type PatchListingsItemServiceUnavailable ¶
type PatchListingsItemServiceUnavailable struct { string }XAmznRequestID
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 (o *PatchListingsItemServiceUnavailable) Error() string
func (*PatchListingsItemServiceUnavailable) GetPayload ¶
func (o *PatchListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PatchListingsItemServiceUnavailable) IsCode(code int) bool
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 ¶
func (o *PatchListingsItemServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this patch listings item service unavailable response has a 2xx status code
func (*PatchListingsItemServiceUnavailable) String ¶
func (o *PatchListingsItemServiceUnavailable) String() 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 (o *PatchListingsItemTooManyRequests) Error() string
func (*PatchListingsItemTooManyRequests) GetPayload ¶
func (o *PatchListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PatchListingsItemTooManyRequests) String() 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 (o *PatchListingsItemUnsupportedMediaType) Error() string
func (*PatchListingsItemUnsupportedMediaType) GetPayload ¶
func (o *PatchListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PatchListingsItemUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this patch listings item unsupported media type response a status code equal to that given
func (*PatchListingsItemUnsupportedMediaType) IsRedirect ¶
func (o *PatchListingsItemUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *PatchListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this patch listings item unsupported media type response has a 2xx status code
func (*PatchListingsItemUnsupportedMediaType) String ¶
func (o *PatchListingsItemUnsupportedMediaType) String() 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 (o *PutListingsItemBadRequest) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *PutListingsItemForbidden) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 (o *PutListingsItemInternalServerError) Error() string
func (*PutListingsItemInternalServerError) GetPayload ¶
func (o *PutListingsItemInternalServerError) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PutListingsItemInternalServerError) IsCode(code int) bool
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 ¶
func (o *PutListingsItemInternalServerError) IsSuccess() bool
IsSuccess returns true when this put listings item internal server error response has a 2xx status code
func (*PutListingsItemInternalServerError) String ¶
func (o *PutListingsItemInternalServerError) String() 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) GetPayload ¶
func (o *PutListingsItemOK) GetPayload() *listings_items_2021_08_01_models.ListingsItemSubmissionResponse
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 ¶
func (o *PutListingsItemParams) SetBody(body *listings_items_2021_08_01_models.ListingsItemPutRequest)
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 ¶
func (o *PutListingsItemParams) WithBody(body *listings_items_2021_08_01_models.ListingsItemPutRequest) *PutListingsItemParams
WithBody adds the body to the put listings item params
func (*PutListingsItemParams) WithContext ¶
func (o *PutListingsItemParams) WithContext(ctx context.Context) *PutListingsItemParams
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 ¶
func (o *PutListingsItemParams) WithSku(sku string) *PutListingsItemParams
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 (o *PutListingsItemRequestEntityTooLarge) Error() string
func (*PutListingsItemRequestEntityTooLarge) GetPayload ¶
func (o *PutListingsItemRequestEntityTooLarge) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PutListingsItemRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this put listings item request entity too large response a status code equal to that given
func (*PutListingsItemRequestEntityTooLarge) IsRedirect ¶
func (o *PutListingsItemRequestEntityTooLarge) IsRedirect() bool
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 ¶
func (o *PutListingsItemRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this put listings item request entity too large response has a 2xx status code
func (*PutListingsItemRequestEntityTooLarge) String ¶
func (o *PutListingsItemRequestEntityTooLarge) String() string
type PutListingsItemServiceUnavailable ¶
type PutListingsItemServiceUnavailable struct { string }XAmznRequestID
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 (o *PutListingsItemServiceUnavailable) Error() string
func (*PutListingsItemServiceUnavailable) GetPayload ¶
func (o *PutListingsItemServiceUnavailable) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PutListingsItemServiceUnavailable) String() 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 (o *PutListingsItemTooManyRequests) Error() string
func (*PutListingsItemTooManyRequests) GetPayload ¶
func (o *PutListingsItemTooManyRequests) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PutListingsItemTooManyRequests) String() 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 (o *PutListingsItemUnsupportedMediaType) Error() string
func (*PutListingsItemUnsupportedMediaType) GetPayload ¶
func (o *PutListingsItemUnsupportedMediaType) GetPayload() *listings_items_2021_08_01_models.ErrorList
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 ¶
func (o *PutListingsItemUnsupportedMediaType) IsCode(code int) bool
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 ¶
func (o *PutListingsItemUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this put listings item unsupported media type response has a 2xx status code
func (*PutListingsItemUnsupportedMediaType) String ¶
func (o *PutListingsItemUnsupportedMediaType) String() string