Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCompetitiveSummary(params *GetCompetitiveSummaryParams, opts ...ClientOption) (*GetCompetitiveSummaryOK, error)
- func (a *Client) GetFeaturedOfferExpectedPriceBatch(params *GetFeaturedOfferExpectedPriceBatchParams, opts ...ClientOption) (*GetFeaturedOfferExpectedPriceBatchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCompetitiveSummaryBadRequest
- func (o *GetCompetitiveSummaryBadRequest) Error() string
- func (o *GetCompetitiveSummaryBadRequest) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetCompetitiveSummaryBadRequest) IsClientError() bool
- func (o *GetCompetitiveSummaryBadRequest) IsCode(code int) bool
- func (o *GetCompetitiveSummaryBadRequest) IsRedirect() bool
- func (o *GetCompetitiveSummaryBadRequest) IsServerError() bool
- func (o *GetCompetitiveSummaryBadRequest) IsSuccess() bool
- func (o *GetCompetitiveSummaryBadRequest) String() string
- type GetCompetitiveSummaryForbidden
- func (o *GetCompetitiveSummaryForbidden) Error() string
- func (o *GetCompetitiveSummaryForbidden) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetCompetitiveSummaryForbidden) IsClientError() bool
- func (o *GetCompetitiveSummaryForbidden) IsCode(code int) bool
- func (o *GetCompetitiveSummaryForbidden) IsRedirect() bool
- func (o *GetCompetitiveSummaryForbidden) IsServerError() bool
- func (o *GetCompetitiveSummaryForbidden) IsSuccess() bool
- func (o *GetCompetitiveSummaryForbidden) String() string
- type GetCompetitiveSummaryInternalServerError
- func (o *GetCompetitiveSummaryInternalServerError) Error() string
- func (o *GetCompetitiveSummaryInternalServerError) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetCompetitiveSummaryInternalServerError) IsClientError() bool
- func (o *GetCompetitiveSummaryInternalServerError) IsCode(code int) bool
- func (o *GetCompetitiveSummaryInternalServerError) IsRedirect() bool
- func (o *GetCompetitiveSummaryInternalServerError) IsServerError() bool
- func (o *GetCompetitiveSummaryInternalServerError) IsSuccess() bool
- func (o *GetCompetitiveSummaryInternalServerError) String() string
- type GetCompetitiveSummaryNotFound
- func (o *GetCompetitiveSummaryNotFound) Error() string
- func (o *GetCompetitiveSummaryNotFound) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetCompetitiveSummaryNotFound) IsClientError() bool
- func (o *GetCompetitiveSummaryNotFound) IsCode(code int) bool
- func (o *GetCompetitiveSummaryNotFound) IsRedirect() bool
- func (o *GetCompetitiveSummaryNotFound) IsServerError() bool
- func (o *GetCompetitiveSummaryNotFound) IsSuccess() bool
- func (o *GetCompetitiveSummaryNotFound) String() string
- type GetCompetitiveSummaryOK
- func (o *GetCompetitiveSummaryOK) Error() string
- func (o *GetCompetitiveSummaryOK) GetPayload() *product_pricing_2022_05_01_models.CompetitiveSummaryBatchResponse
- func (o *GetCompetitiveSummaryOK) IsClientError() bool
- func (o *GetCompetitiveSummaryOK) IsCode(code int) bool
- func (o *GetCompetitiveSummaryOK) IsRedirect() bool
- func (o *GetCompetitiveSummaryOK) IsServerError() bool
- func (o *GetCompetitiveSummaryOK) IsSuccess() bool
- func (o *GetCompetitiveSummaryOK) String() string
- type GetCompetitiveSummaryParams
- func NewGetCompetitiveSummaryParams() *GetCompetitiveSummaryParams
- func NewGetCompetitiveSummaryParamsWithContext(ctx context.Context) *GetCompetitiveSummaryParams
- func NewGetCompetitiveSummaryParamsWithHTTPClient(client *http.Client) *GetCompetitiveSummaryParams
- func NewGetCompetitiveSummaryParamsWithTimeout(timeout time.Duration) *GetCompetitiveSummaryParams
- func (o *GetCompetitiveSummaryParams) SetContext(ctx context.Context)
- func (o *GetCompetitiveSummaryParams) SetDefaults()
- func (o *GetCompetitiveSummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetCompetitiveSummaryParams) SetRequests(requests *product_pricing_2022_05_01_models.CompetitiveSummaryBatchRequest)
- func (o *GetCompetitiveSummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetCompetitiveSummaryParams) WithContext(ctx context.Context) *GetCompetitiveSummaryParams
- func (o *GetCompetitiveSummaryParams) WithDefaults() *GetCompetitiveSummaryParams
- func (o *GetCompetitiveSummaryParams) WithHTTPClient(client *http.Client) *GetCompetitiveSummaryParams
- func (o *GetCompetitiveSummaryParams) WithRequests(requests *product_pricing_2022_05_01_models.CompetitiveSummaryBatchRequest) *GetCompetitiveSummaryParams
- func (o *GetCompetitiveSummaryParams) WithTimeout(timeout time.Duration) *GetCompetitiveSummaryParams
- func (o *GetCompetitiveSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCompetitiveSummaryReader
- type GetCompetitiveSummaryServiceUnavailable
- func (o *GetCompetitiveSummaryServiceUnavailable) Error() string
- func (o *GetCompetitiveSummaryServiceUnavailable) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetCompetitiveSummaryServiceUnavailable) IsClientError() bool
- func (o *GetCompetitiveSummaryServiceUnavailable) IsCode(code int) bool
- func (o *GetCompetitiveSummaryServiceUnavailable) IsRedirect() bool
- func (o *GetCompetitiveSummaryServiceUnavailable) IsServerError() bool
- func (o *GetCompetitiveSummaryServiceUnavailable) IsSuccess() bool
- func (o *GetCompetitiveSummaryServiceUnavailable) String() string
- type GetCompetitiveSummaryTooManyRequests
- func (o *GetCompetitiveSummaryTooManyRequests) Error() string
- func (o *GetCompetitiveSummaryTooManyRequests) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetCompetitiveSummaryTooManyRequests) IsClientError() bool
- func (o *GetCompetitiveSummaryTooManyRequests) IsCode(code int) bool
- func (o *GetCompetitiveSummaryTooManyRequests) IsRedirect() bool
- func (o *GetCompetitiveSummaryTooManyRequests) IsServerError() bool
- func (o *GetCompetitiveSummaryTooManyRequests) IsSuccess() bool
- func (o *GetCompetitiveSummaryTooManyRequests) String() string
- type GetFeaturedOfferExpectedPriceBatchBadRequest
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) String() string
- type GetFeaturedOfferExpectedPriceBatchForbidden
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchForbidden) String() string
- type GetFeaturedOfferExpectedPriceBatchInternalServerError
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) String() string
- type GetFeaturedOfferExpectedPriceBatchNotFound
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchNotFound) String() string
- type GetFeaturedOfferExpectedPriceBatchOK
- func (o *GetFeaturedOfferExpectedPriceBatchOK) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchOK) GetPayload() *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchResponse
- func (o *GetFeaturedOfferExpectedPriceBatchOK) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchOK) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchOK) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchOK) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchOK) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchOK) String() string
- type GetFeaturedOfferExpectedPriceBatchParams
- func NewGetFeaturedOfferExpectedPriceBatchParams() *GetFeaturedOfferExpectedPriceBatchParams
- func NewGetFeaturedOfferExpectedPriceBatchParamsWithContext(ctx context.Context) *GetFeaturedOfferExpectedPriceBatchParams
- func NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient(client *http.Client) *GetFeaturedOfferExpectedPriceBatchParams
- func NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout(timeout time.Duration) *GetFeaturedOfferExpectedPriceBatchParams
- func (o *GetFeaturedOfferExpectedPriceBatchParams) SetContext(ctx context.Context)
- func (o *GetFeaturedOfferExpectedPriceBatchParams) SetDefaults()
- func (o *GetFeaturedOfferExpectedPriceBatchParams) SetGetFeaturedOfferExpectedPriceBatchRequestBody(...)
- func (o *GetFeaturedOfferExpectedPriceBatchParams) SetHTTPClient(client *http.Client)
- func (o *GetFeaturedOfferExpectedPriceBatchParams) SetTimeout(timeout time.Duration)
- func (o *GetFeaturedOfferExpectedPriceBatchParams) WithContext(ctx context.Context) *GetFeaturedOfferExpectedPriceBatchParams
- func (o *GetFeaturedOfferExpectedPriceBatchParams) WithDefaults() *GetFeaturedOfferExpectedPriceBatchParams
- func (o *GetFeaturedOfferExpectedPriceBatchParams) WithGetFeaturedOfferExpectedPriceBatchRequestBody(...) *GetFeaturedOfferExpectedPriceBatchParams
- func (o *GetFeaturedOfferExpectedPriceBatchParams) WithHTTPClient(client *http.Client) *GetFeaturedOfferExpectedPriceBatchParams
- func (o *GetFeaturedOfferExpectedPriceBatchParams) WithTimeout(timeout time.Duration) *GetFeaturedOfferExpectedPriceBatchParams
- func (o *GetFeaturedOfferExpectedPriceBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFeaturedOfferExpectedPriceBatchReader
- type GetFeaturedOfferExpectedPriceBatchServiceUnavailable
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) String() string
- type GetFeaturedOfferExpectedPriceBatchTooManyRequests
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) String() string
- type GetFeaturedOfferExpectedPriceBatchUnauthorized
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) Error() string
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) GetPayload() *product_pricing_2022_05_01_models.Errors
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsClientError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsCode(code int) bool
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsRedirect() bool
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsServerError() bool
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsSuccess() bool
- func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) 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 product pricing API
func (*Client) GetCompetitiveSummary ¶ added in v0.3.0
func (a *Client) GetCompetitiveSummary(params *GetCompetitiveSummaryParams, opts ...ClientOption) (*GetCompetitiveSummaryOK, error)
GetCompetitiveSummary Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 |
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, refer to [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) GetFeaturedOfferExpectedPriceBatch ¶
func (a *Client) GetFeaturedOfferExpectedPriceBatch(params *GetFeaturedOfferExpectedPriceBatchParams, opts ...ClientOption) (*GetFeaturedOfferExpectedPriceBatchOK, error)
GetFeaturedOfferExpectedPriceBatch Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed, because competing offers may change, and different offers may be featured based on other factors, including fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 |
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, refer to [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 { GetCompetitiveSummary(params *GetCompetitiveSummaryParams, opts ...ClientOption) (*GetCompetitiveSummaryOK, error) GetFeaturedOfferExpectedPriceBatch(params *GetFeaturedOfferExpectedPriceBatchParams, opts ...ClientOption) (*GetFeaturedOfferExpectedPriceBatchOK, 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 product pricing API client.
type GetCompetitiveSummaryBadRequest ¶ added in v0.3.0
type GetCompetitiveSummaryBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetCompetitiveSummaryBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCompetitiveSummaryBadRequest ¶ added in v0.3.0
func NewGetCompetitiveSummaryBadRequest() *GetCompetitiveSummaryBadRequest
NewGetCompetitiveSummaryBadRequest creates a GetCompetitiveSummaryBadRequest with default headers values
func (*GetCompetitiveSummaryBadRequest) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) Error() string
func (*GetCompetitiveSummaryBadRequest) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetCompetitiveSummaryBadRequest) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) IsClientError() bool
IsClientError returns true when this get competitive summary bad request response has a 4xx status code
func (*GetCompetitiveSummaryBadRequest) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) IsCode(code int) bool
IsCode returns true when this get competitive summary bad request response a status code equal to that given
func (*GetCompetitiveSummaryBadRequest) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) IsRedirect() bool
IsRedirect returns true when this get competitive summary bad request response has a 3xx status code
func (*GetCompetitiveSummaryBadRequest) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) IsServerError() bool
IsServerError returns true when this get competitive summary bad request response has a 5xx status code
func (*GetCompetitiveSummaryBadRequest) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) IsSuccess() bool
IsSuccess returns true when this get competitive summary bad request response has a 2xx status code
func (*GetCompetitiveSummaryBadRequest) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryBadRequest) String() string
type GetCompetitiveSummaryForbidden ¶ added in v0.3.0
type GetCompetitiveSummaryForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetCompetitiveSummaryForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCompetitiveSummaryForbidden ¶ added in v0.3.0
func NewGetCompetitiveSummaryForbidden() *GetCompetitiveSummaryForbidden
NewGetCompetitiveSummaryForbidden creates a GetCompetitiveSummaryForbidden with default headers values
func (*GetCompetitiveSummaryForbidden) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) Error() string
func (*GetCompetitiveSummaryForbidden) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetCompetitiveSummaryForbidden) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) IsClientError() bool
IsClientError returns true when this get competitive summary forbidden response has a 4xx status code
func (*GetCompetitiveSummaryForbidden) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) IsCode(code int) bool
IsCode returns true when this get competitive summary forbidden response a status code equal to that given
func (*GetCompetitiveSummaryForbidden) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) IsRedirect() bool
IsRedirect returns true when this get competitive summary forbidden response has a 3xx status code
func (*GetCompetitiveSummaryForbidden) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) IsServerError() bool
IsServerError returns true when this get competitive summary forbidden response has a 5xx status code
func (*GetCompetitiveSummaryForbidden) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) IsSuccess() bool
IsSuccess returns true when this get competitive summary forbidden response has a 2xx status code
func (*GetCompetitiveSummaryForbidden) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryForbidden) String() string
type GetCompetitiveSummaryInternalServerError ¶ added in v0.3.0
type GetCompetitiveSummaryInternalServerError struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetCompetitiveSummaryInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCompetitiveSummaryInternalServerError ¶ added in v0.3.0
func NewGetCompetitiveSummaryInternalServerError() *GetCompetitiveSummaryInternalServerError
NewGetCompetitiveSummaryInternalServerError creates a GetCompetitiveSummaryInternalServerError with default headers values
func (*GetCompetitiveSummaryInternalServerError) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) Error() string
func (*GetCompetitiveSummaryInternalServerError) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetCompetitiveSummaryInternalServerError) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) IsClientError() bool
IsClientError returns true when this get competitive summary internal server error response has a 4xx status code
func (*GetCompetitiveSummaryInternalServerError) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) IsCode(code int) bool
IsCode returns true when this get competitive summary internal server error response a status code equal to that given
func (*GetCompetitiveSummaryInternalServerError) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) IsRedirect() bool
IsRedirect returns true when this get competitive summary internal server error response has a 3xx status code
func (*GetCompetitiveSummaryInternalServerError) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) IsServerError() bool
IsServerError returns true when this get competitive summary internal server error response has a 5xx status code
func (*GetCompetitiveSummaryInternalServerError) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get competitive summary internal server error response has a 2xx status code
func (*GetCompetitiveSummaryInternalServerError) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryInternalServerError) String() string
type GetCompetitiveSummaryNotFound ¶ added in v0.3.0
type GetCompetitiveSummaryNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetCompetitiveSummaryNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetCompetitiveSummaryNotFound ¶ added in v0.3.0
func NewGetCompetitiveSummaryNotFound() *GetCompetitiveSummaryNotFound
NewGetCompetitiveSummaryNotFound creates a GetCompetitiveSummaryNotFound with default headers values
func (*GetCompetitiveSummaryNotFound) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) Error() string
func (*GetCompetitiveSummaryNotFound) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetCompetitiveSummaryNotFound) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) IsClientError() bool
IsClientError returns true when this get competitive summary not found response has a 4xx status code
func (*GetCompetitiveSummaryNotFound) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) IsCode(code int) bool
IsCode returns true when this get competitive summary not found response a status code equal to that given
func (*GetCompetitiveSummaryNotFound) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) IsRedirect() bool
IsRedirect returns true when this get competitive summary not found response has a 3xx status code
func (*GetCompetitiveSummaryNotFound) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) IsServerError() bool
IsServerError returns true when this get competitive summary not found response has a 5xx status code
func (*GetCompetitiveSummaryNotFound) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) IsSuccess() bool
IsSuccess returns true when this get competitive summary not found response has a 2xx status code
func (*GetCompetitiveSummaryNotFound) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryNotFound) String() string
type GetCompetitiveSummaryOK ¶ added in v0.3.0
type GetCompetitiveSummaryOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.CompetitiveSummaryBatchResponse }
GetCompetitiveSummaryOK describes a response with status code 200, with default header values.
Success.
func NewGetCompetitiveSummaryOK ¶ added in v0.3.0
func NewGetCompetitiveSummaryOK() *GetCompetitiveSummaryOK
NewGetCompetitiveSummaryOK creates a GetCompetitiveSummaryOK with default headers values
func (*GetCompetitiveSummaryOK) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) Error() string
func (*GetCompetitiveSummaryOK) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) GetPayload() *product_pricing_2022_05_01_models.CompetitiveSummaryBatchResponse
func (*GetCompetitiveSummaryOK) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) IsClientError() bool
IsClientError returns true when this get competitive summary o k response has a 4xx status code
func (*GetCompetitiveSummaryOK) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) IsCode(code int) bool
IsCode returns true when this get competitive summary o k response a status code equal to that given
func (*GetCompetitiveSummaryOK) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) IsRedirect() bool
IsRedirect returns true when this get competitive summary o k response has a 3xx status code
func (*GetCompetitiveSummaryOK) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) IsServerError() bool
IsServerError returns true when this get competitive summary o k response has a 5xx status code
func (*GetCompetitiveSummaryOK) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) IsSuccess() bool
IsSuccess returns true when this get competitive summary o k response has a 2xx status code
func (*GetCompetitiveSummaryOK) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryOK) String() string
type GetCompetitiveSummaryParams ¶ added in v0.3.0
type GetCompetitiveSummaryParams struct { /* Requests. The batch of `getCompetitiveSummary` requests. */ Requests *product_pricing_2022_05_01_models.CompetitiveSummaryBatchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCompetitiveSummaryParams contains all the parameters to send to the API endpoint
for the get competitive summary operation. Typically these are written to a http.Request.
func NewGetCompetitiveSummaryParams ¶ added in v0.3.0
func NewGetCompetitiveSummaryParams() *GetCompetitiveSummaryParams
NewGetCompetitiveSummaryParams creates a new GetCompetitiveSummaryParams 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 NewGetCompetitiveSummaryParamsWithContext ¶ added in v0.3.0
func NewGetCompetitiveSummaryParamsWithContext(ctx context.Context) *GetCompetitiveSummaryParams
NewGetCompetitiveSummaryParamsWithContext creates a new GetCompetitiveSummaryParams object with the ability to set a context for a request.
func NewGetCompetitiveSummaryParamsWithHTTPClient ¶ added in v0.3.0
func NewGetCompetitiveSummaryParamsWithHTTPClient(client *http.Client) *GetCompetitiveSummaryParams
NewGetCompetitiveSummaryParamsWithHTTPClient creates a new GetCompetitiveSummaryParams object with the ability to set a custom HTTPClient for a request.
func NewGetCompetitiveSummaryParamsWithTimeout ¶ added in v0.3.0
func NewGetCompetitiveSummaryParamsWithTimeout(timeout time.Duration) *GetCompetitiveSummaryParams
NewGetCompetitiveSummaryParamsWithTimeout creates a new GetCompetitiveSummaryParams object with the ability to set a timeout on a request.
func (*GetCompetitiveSummaryParams) SetContext ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get competitive summary params
func (*GetCompetitiveSummaryParams) SetDefaults ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) SetDefaults()
SetDefaults hydrates default values in the get competitive summary params (not the query body).
All values with no default are reset to their zero value.
func (*GetCompetitiveSummaryParams) SetHTTPClient ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get competitive summary params
func (*GetCompetitiveSummaryParams) SetRequests ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) SetRequests(requests *product_pricing_2022_05_01_models.CompetitiveSummaryBatchRequest)
SetRequests adds the requests to the get competitive summary params
func (*GetCompetitiveSummaryParams) SetTimeout ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get competitive summary params
func (*GetCompetitiveSummaryParams) WithContext ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) WithContext(ctx context.Context) *GetCompetitiveSummaryParams
WithContext adds the context to the get competitive summary params
func (*GetCompetitiveSummaryParams) WithDefaults ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) WithDefaults() *GetCompetitiveSummaryParams
WithDefaults hydrates default values in the get competitive summary params (not the query body).
All values with no default are reset to their zero value.
func (*GetCompetitiveSummaryParams) WithHTTPClient ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) WithHTTPClient(client *http.Client) *GetCompetitiveSummaryParams
WithHTTPClient adds the HTTPClient to the get competitive summary params
func (*GetCompetitiveSummaryParams) WithRequests ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) WithRequests(requests *product_pricing_2022_05_01_models.CompetitiveSummaryBatchRequest) *GetCompetitiveSummaryParams
WithRequests adds the requests to the get competitive summary params
func (*GetCompetitiveSummaryParams) WithTimeout ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) WithTimeout(timeout time.Duration) *GetCompetitiveSummaryParams
WithTimeout adds the timeout to the get competitive summary params
func (*GetCompetitiveSummaryParams) WriteToRequest ¶ added in v0.3.0
func (o *GetCompetitiveSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCompetitiveSummaryReader ¶ added in v0.3.0
type GetCompetitiveSummaryReader struct {
// contains filtered or unexported fields
}
GetCompetitiveSummaryReader is a Reader for the GetCompetitiveSummary structure.
func (*GetCompetitiveSummaryReader) ReadResponse ¶ added in v0.3.0
func (o *GetCompetitiveSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCompetitiveSummaryServiceUnavailable ¶ added in v0.3.0
type GetCompetitiveSummaryServiceUnavailable struct { string }XAmznRequestID
GetCompetitiveSummaryServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCompetitiveSummaryServiceUnavailable ¶ added in v0.3.0
func NewGetCompetitiveSummaryServiceUnavailable() *GetCompetitiveSummaryServiceUnavailable
NewGetCompetitiveSummaryServiceUnavailable creates a GetCompetitiveSummaryServiceUnavailable with default headers values
func (*GetCompetitiveSummaryServiceUnavailable) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) Error() string
func (*GetCompetitiveSummaryServiceUnavailable) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetCompetitiveSummaryServiceUnavailable) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) IsClientError() bool
IsClientError returns true when this get competitive summary service unavailable response has a 4xx status code
func (*GetCompetitiveSummaryServiceUnavailable) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get competitive summary service unavailable response a status code equal to that given
func (*GetCompetitiveSummaryServiceUnavailable) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get competitive summary service unavailable response has a 3xx status code
func (*GetCompetitiveSummaryServiceUnavailable) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) IsServerError() bool
IsServerError returns true when this get competitive summary service unavailable response has a 5xx status code
func (*GetCompetitiveSummaryServiceUnavailable) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get competitive summary service unavailable response has a 2xx status code
func (*GetCompetitiveSummaryServiceUnavailable) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryServiceUnavailable) String() string
type GetCompetitiveSummaryTooManyRequests ¶ added in v0.3.0
type GetCompetitiveSummaryTooManyRequests struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetCompetitiveSummaryTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCompetitiveSummaryTooManyRequests ¶ added in v0.3.0
func NewGetCompetitiveSummaryTooManyRequests() *GetCompetitiveSummaryTooManyRequests
NewGetCompetitiveSummaryTooManyRequests creates a GetCompetitiveSummaryTooManyRequests with default headers values
func (*GetCompetitiveSummaryTooManyRequests) Error ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) Error() string
func (*GetCompetitiveSummaryTooManyRequests) GetPayload ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetCompetitiveSummaryTooManyRequests) IsClientError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) IsClientError() bool
IsClientError returns true when this get competitive summary too many requests response has a 4xx status code
func (*GetCompetitiveSummaryTooManyRequests) IsCode ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) IsCode(code int) bool
IsCode returns true when this get competitive summary too many requests response a status code equal to that given
func (*GetCompetitiveSummaryTooManyRequests) IsRedirect ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get competitive summary too many requests response has a 3xx status code
func (*GetCompetitiveSummaryTooManyRequests) IsServerError ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) IsServerError() bool
IsServerError returns true when this get competitive summary too many requests response has a 5xx status code
func (*GetCompetitiveSummaryTooManyRequests) IsSuccess ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get competitive summary too many requests response has a 2xx status code
func (*GetCompetitiveSummaryTooManyRequests) String ¶ added in v0.3.0
func (o *GetCompetitiveSummaryTooManyRequests) String() string
type GetFeaturedOfferExpectedPriceBatchBadRequest ¶
type GetFeaturedOfferExpectedPriceBatchBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetFeaturedOfferExpectedPriceBatchBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetFeaturedOfferExpectedPriceBatchBadRequest ¶
func NewGetFeaturedOfferExpectedPriceBatchBadRequest() *GetFeaturedOfferExpectedPriceBatchBadRequest
NewGetFeaturedOfferExpectedPriceBatchBadRequest creates a GetFeaturedOfferExpectedPriceBatchBadRequest with default headers values
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) Error() string
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch bad request response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch bad request response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch bad request response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch bad request response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch bad request response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchBadRequest) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchBadRequest) String() string
type GetFeaturedOfferExpectedPriceBatchForbidden ¶
type GetFeaturedOfferExpectedPriceBatchForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetFeaturedOfferExpectedPriceBatchForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetFeaturedOfferExpectedPriceBatchForbidden ¶
func NewGetFeaturedOfferExpectedPriceBatchForbidden() *GetFeaturedOfferExpectedPriceBatchForbidden
NewGetFeaturedOfferExpectedPriceBatchForbidden creates a GetFeaturedOfferExpectedPriceBatchForbidden with default headers values
func (*GetFeaturedOfferExpectedPriceBatchForbidden) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) Error() string
func (*GetFeaturedOfferExpectedPriceBatchForbidden) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch forbidden response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch forbidden response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch forbidden response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch forbidden response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch forbidden response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchForbidden) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchForbidden) String() string
type GetFeaturedOfferExpectedPriceBatchInternalServerError ¶
type GetFeaturedOfferExpectedPriceBatchInternalServerError struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetFeaturedOfferExpectedPriceBatchInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetFeaturedOfferExpectedPriceBatchInternalServerError ¶
func NewGetFeaturedOfferExpectedPriceBatchInternalServerError() *GetFeaturedOfferExpectedPriceBatchInternalServerError
NewGetFeaturedOfferExpectedPriceBatchInternalServerError creates a GetFeaturedOfferExpectedPriceBatchInternalServerError with default headers values
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) Error() string
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch internal server error response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch internal server error response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch internal server error response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch internal server error response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch internal server error response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchInternalServerError) String() string
type GetFeaturedOfferExpectedPriceBatchNotFound ¶
type GetFeaturedOfferExpectedPriceBatchNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetFeaturedOfferExpectedPriceBatchNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetFeaturedOfferExpectedPriceBatchNotFound ¶
func NewGetFeaturedOfferExpectedPriceBatchNotFound() *GetFeaturedOfferExpectedPriceBatchNotFound
NewGetFeaturedOfferExpectedPriceBatchNotFound creates a GetFeaturedOfferExpectedPriceBatchNotFound with default headers values
func (*GetFeaturedOfferExpectedPriceBatchNotFound) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) Error() string
func (*GetFeaturedOfferExpectedPriceBatchNotFound) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch not found response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch not found response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch not found response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch not found response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch not found response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchNotFound) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchNotFound) String() string
type GetFeaturedOfferExpectedPriceBatchOK ¶
type GetFeaturedOfferExpectedPriceBatchOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchResponse }
GetFeaturedOfferExpectedPriceBatchOK describes a response with status code 200, with default header values.
Success.
func NewGetFeaturedOfferExpectedPriceBatchOK ¶
func NewGetFeaturedOfferExpectedPriceBatchOK() *GetFeaturedOfferExpectedPriceBatchOK
NewGetFeaturedOfferExpectedPriceBatchOK creates a GetFeaturedOfferExpectedPriceBatchOK with default headers values
func (*GetFeaturedOfferExpectedPriceBatchOK) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) Error() string
func (*GetFeaturedOfferExpectedPriceBatchOK) GetPayload ¶
func (*GetFeaturedOfferExpectedPriceBatchOK) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch o k response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchOK) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch o k response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchOK) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch o k response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchOK) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch o k response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchOK) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch o k response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchOK) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchOK) String() string
type GetFeaturedOfferExpectedPriceBatchParams ¶
type GetFeaturedOfferExpectedPriceBatchParams struct { // GetFeaturedOfferExpectedPriceBatchRequestBody. GetFeaturedOfferExpectedPriceBatchRequestBody *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFeaturedOfferExpectedPriceBatchParams contains all the parameters to send to the API endpoint
for the get featured offer expected price batch operation. Typically these are written to a http.Request.
func NewGetFeaturedOfferExpectedPriceBatchParams ¶
func NewGetFeaturedOfferExpectedPriceBatchParams() *GetFeaturedOfferExpectedPriceBatchParams
NewGetFeaturedOfferExpectedPriceBatchParams creates a new GetFeaturedOfferExpectedPriceBatchParams 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 NewGetFeaturedOfferExpectedPriceBatchParamsWithContext ¶
func NewGetFeaturedOfferExpectedPriceBatchParamsWithContext(ctx context.Context) *GetFeaturedOfferExpectedPriceBatchParams
NewGetFeaturedOfferExpectedPriceBatchParamsWithContext creates a new GetFeaturedOfferExpectedPriceBatchParams object with the ability to set a context for a request.
func NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient ¶
func NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient(client *http.Client) *GetFeaturedOfferExpectedPriceBatchParams
NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient creates a new GetFeaturedOfferExpectedPriceBatchParams object with the ability to set a custom HTTPClient for a request.
func NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout ¶
func NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout(timeout time.Duration) *GetFeaturedOfferExpectedPriceBatchParams
NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout creates a new GetFeaturedOfferExpectedPriceBatchParams object with the ability to set a timeout on a request.
func (*GetFeaturedOfferExpectedPriceBatchParams) SetContext ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) SetDefaults ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) SetDefaults()
SetDefaults hydrates default values in the get featured offer expected price batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetFeaturedOfferExpectedPriceBatchParams) SetGetFeaturedOfferExpectedPriceBatchRequestBody ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) SetGetFeaturedOfferExpectedPriceBatchRequestBody(getFeaturedOfferExpectedPriceBatchRequestBody *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchRequest)
SetGetFeaturedOfferExpectedPriceBatchRequestBody adds the getFeaturedOfferExpectedPriceBatchRequestBody to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) SetHTTPClient ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) SetTimeout ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) WithContext ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) WithContext(ctx context.Context) *GetFeaturedOfferExpectedPriceBatchParams
WithContext adds the context to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) WithDefaults ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) WithDefaults() *GetFeaturedOfferExpectedPriceBatchParams
WithDefaults hydrates default values in the get featured offer expected price batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetFeaturedOfferExpectedPriceBatchParams) WithGetFeaturedOfferExpectedPriceBatchRequestBody ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) WithGetFeaturedOfferExpectedPriceBatchRequestBody(getFeaturedOfferExpectedPriceBatchRequestBody *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchRequest) *GetFeaturedOfferExpectedPriceBatchParams
WithGetFeaturedOfferExpectedPriceBatchRequestBody adds the getFeaturedOfferExpectedPriceBatchRequestBody to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) WithHTTPClient ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) WithHTTPClient(client *http.Client) *GetFeaturedOfferExpectedPriceBatchParams
WithHTTPClient adds the HTTPClient to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) WithTimeout ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) WithTimeout(timeout time.Duration) *GetFeaturedOfferExpectedPriceBatchParams
WithTimeout adds the timeout to the get featured offer expected price batch params
func (*GetFeaturedOfferExpectedPriceBatchParams) WriteToRequest ¶
func (o *GetFeaturedOfferExpectedPriceBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFeaturedOfferExpectedPriceBatchReader ¶
type GetFeaturedOfferExpectedPriceBatchReader struct {
// contains filtered or unexported fields
}
GetFeaturedOfferExpectedPriceBatchReader is a Reader for the GetFeaturedOfferExpectedPriceBatch structure.
func (*GetFeaturedOfferExpectedPriceBatchReader) ReadResponse ¶
func (o *GetFeaturedOfferExpectedPriceBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFeaturedOfferExpectedPriceBatchServiceUnavailable ¶
type GetFeaturedOfferExpectedPriceBatchServiceUnavailable struct { string }XAmznRequestID
GetFeaturedOfferExpectedPriceBatchServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetFeaturedOfferExpectedPriceBatchServiceUnavailable ¶
func NewGetFeaturedOfferExpectedPriceBatchServiceUnavailable() *GetFeaturedOfferExpectedPriceBatchServiceUnavailable
NewGetFeaturedOfferExpectedPriceBatchServiceUnavailable creates a GetFeaturedOfferExpectedPriceBatchServiceUnavailable with default headers values
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) Error() string
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch service unavailable response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch service unavailable response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch service unavailable response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch service unavailable response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch service unavailable response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchServiceUnavailable) String() string
type GetFeaturedOfferExpectedPriceBatchTooManyRequests ¶
type GetFeaturedOfferExpectedPriceBatchTooManyRequests struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *product_pricing_2022_05_01_models.Errors }
GetFeaturedOfferExpectedPriceBatchTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetFeaturedOfferExpectedPriceBatchTooManyRequests ¶
func NewGetFeaturedOfferExpectedPriceBatchTooManyRequests() *GetFeaturedOfferExpectedPriceBatchTooManyRequests
NewGetFeaturedOfferExpectedPriceBatchTooManyRequests creates a GetFeaturedOfferExpectedPriceBatchTooManyRequests with default headers values
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) Error() string
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch too many requests response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch too many requests response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch too many requests response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch too many requests response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch too many requests response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchTooManyRequests) String() string
type GetFeaturedOfferExpectedPriceBatchUnauthorized ¶
type GetFeaturedOfferExpectedPriceBatchUnauthorized struct { string }XAmznRequestID
GetFeaturedOfferExpectedPriceBatchUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetFeaturedOfferExpectedPriceBatchUnauthorized ¶
func NewGetFeaturedOfferExpectedPriceBatchUnauthorized() *GetFeaturedOfferExpectedPriceBatchUnauthorized
NewGetFeaturedOfferExpectedPriceBatchUnauthorized creates a GetFeaturedOfferExpectedPriceBatchUnauthorized with default headers values
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) Error ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) Error() string
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) GetPayload ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) GetPayload() *product_pricing_2022_05_01_models.Errors
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsClientError ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsClientError() bool
IsClientError returns true when this get featured offer expected price batch unauthorized response has a 4xx status code
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsCode ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this get featured offer expected price batch unauthorized response a status code equal to that given
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsRedirect ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this get featured offer expected price batch unauthorized response has a 3xx status code
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsServerError ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsServerError() bool
IsServerError returns true when this get featured offer expected price batch unauthorized response has a 5xx status code
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsSuccess ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this get featured offer expected price batch unauthorized response has a 2xx status code
func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) String ¶
func (o *GetFeaturedOfferExpectedPriceBatchUnauthorized) String() string