Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ListOfferMetricsBadRequest
- func (o *ListOfferMetricsBadRequest) Error() string
- func (o *ListOfferMetricsBadRequest) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsBadRequest) IsClientError() bool
- func (o *ListOfferMetricsBadRequest) IsCode(code int) bool
- func (o *ListOfferMetricsBadRequest) IsRedirect() bool
- func (o *ListOfferMetricsBadRequest) IsServerError() bool
- func (o *ListOfferMetricsBadRequest) IsSuccess() bool
- func (o *ListOfferMetricsBadRequest) String() string
- type ListOfferMetricsForbidden
- func (o *ListOfferMetricsForbidden) Error() string
- func (o *ListOfferMetricsForbidden) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsForbidden) IsClientError() bool
- func (o *ListOfferMetricsForbidden) IsCode(code int) bool
- func (o *ListOfferMetricsForbidden) IsRedirect() bool
- func (o *ListOfferMetricsForbidden) IsServerError() bool
- func (o *ListOfferMetricsForbidden) IsSuccess() bool
- func (o *ListOfferMetricsForbidden) String() string
- type ListOfferMetricsInternalServerError
- func (o *ListOfferMetricsInternalServerError) Error() string
- func (o *ListOfferMetricsInternalServerError) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsInternalServerError) IsClientError() bool
- func (o *ListOfferMetricsInternalServerError) IsCode(code int) bool
- func (o *ListOfferMetricsInternalServerError) IsRedirect() bool
- func (o *ListOfferMetricsInternalServerError) IsServerError() bool
- func (o *ListOfferMetricsInternalServerError) IsSuccess() bool
- func (o *ListOfferMetricsInternalServerError) String() string
- type ListOfferMetricsNotFound
- func (o *ListOfferMetricsNotFound) Error() string
- func (o *ListOfferMetricsNotFound) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsNotFound) IsClientError() bool
- func (o *ListOfferMetricsNotFound) IsCode(code int) bool
- func (o *ListOfferMetricsNotFound) IsRedirect() bool
- func (o *ListOfferMetricsNotFound) IsServerError() bool
- func (o *ListOfferMetricsNotFound) IsSuccess() bool
- func (o *ListOfferMetricsNotFound) String() string
- type ListOfferMetricsOK
- func (o *ListOfferMetricsOK) Error() string
- func (o *ListOfferMetricsOK) GetPayload() *replenishment_2022_11_07_models.ListOfferMetricsResponse
- func (o *ListOfferMetricsOK) IsClientError() bool
- func (o *ListOfferMetricsOK) IsCode(code int) bool
- func (o *ListOfferMetricsOK) IsRedirect() bool
- func (o *ListOfferMetricsOK) IsServerError() bool
- func (o *ListOfferMetricsOK) IsSuccess() bool
- func (o *ListOfferMetricsOK) String() string
- type ListOfferMetricsParams
- func NewListOfferMetricsParams() *ListOfferMetricsParams
- func NewListOfferMetricsParamsWithContext(ctx context.Context) *ListOfferMetricsParams
- func NewListOfferMetricsParamsWithHTTPClient(client *http.Client) *ListOfferMetricsParams
- func NewListOfferMetricsParamsWithTimeout(timeout time.Duration) *ListOfferMetricsParams
- func (o *ListOfferMetricsParams) SetBody(body *replenishment_2022_11_07_models.ListOfferMetricsRequest)
- func (o *ListOfferMetricsParams) SetContext(ctx context.Context)
- func (o *ListOfferMetricsParams) SetDefaults()
- func (o *ListOfferMetricsParams) SetHTTPClient(client *http.Client)
- func (o *ListOfferMetricsParams) SetTimeout(timeout time.Duration)
- func (o *ListOfferMetricsParams) WithBody(body *replenishment_2022_11_07_models.ListOfferMetricsRequest) *ListOfferMetricsParams
- func (o *ListOfferMetricsParams) WithContext(ctx context.Context) *ListOfferMetricsParams
- func (o *ListOfferMetricsParams) WithDefaults() *ListOfferMetricsParams
- func (o *ListOfferMetricsParams) WithHTTPClient(client *http.Client) *ListOfferMetricsParams
- func (o *ListOfferMetricsParams) WithTimeout(timeout time.Duration) *ListOfferMetricsParams
- func (o *ListOfferMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOfferMetricsReader
- type ListOfferMetricsServiceUnavailable
- func (o *ListOfferMetricsServiceUnavailable) Error() string
- func (o *ListOfferMetricsServiceUnavailable) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsServiceUnavailable) IsClientError() bool
- func (o *ListOfferMetricsServiceUnavailable) IsCode(code int) bool
- func (o *ListOfferMetricsServiceUnavailable) IsRedirect() bool
- func (o *ListOfferMetricsServiceUnavailable) IsServerError() bool
- func (o *ListOfferMetricsServiceUnavailable) IsSuccess() bool
- func (o *ListOfferMetricsServiceUnavailable) String() string
- type ListOfferMetricsTooManyRequests
- func (o *ListOfferMetricsTooManyRequests) Error() string
- func (o *ListOfferMetricsTooManyRequests) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsTooManyRequests) IsClientError() bool
- func (o *ListOfferMetricsTooManyRequests) IsCode(code int) bool
- func (o *ListOfferMetricsTooManyRequests) IsRedirect() bool
- func (o *ListOfferMetricsTooManyRequests) IsServerError() bool
- func (o *ListOfferMetricsTooManyRequests) IsSuccess() bool
- func (o *ListOfferMetricsTooManyRequests) String() string
- type ListOfferMetricsUnauthorized
- func (o *ListOfferMetricsUnauthorized) Error() string
- func (o *ListOfferMetricsUnauthorized) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsUnauthorized) IsClientError() bool
- func (o *ListOfferMetricsUnauthorized) IsCode(code int) bool
- func (o *ListOfferMetricsUnauthorized) IsRedirect() bool
- func (o *ListOfferMetricsUnauthorized) IsServerError() bool
- func (o *ListOfferMetricsUnauthorized) IsSuccess() bool
- func (o *ListOfferMetricsUnauthorized) String() string
- type ListOfferMetricsUnsupportedMediaType
- func (o *ListOfferMetricsUnsupportedMediaType) Error() string
- func (o *ListOfferMetricsUnsupportedMediaType) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOfferMetricsUnsupportedMediaType) IsClientError() bool
- func (o *ListOfferMetricsUnsupportedMediaType) IsCode(code int) bool
- func (o *ListOfferMetricsUnsupportedMediaType) IsRedirect() bool
- func (o *ListOfferMetricsUnsupportedMediaType) IsServerError() bool
- func (o *ListOfferMetricsUnsupportedMediaType) IsSuccess() bool
- func (o *ListOfferMetricsUnsupportedMediaType) String() string
- type ListOffersBadRequest
- func (o *ListOffersBadRequest) Error() string
- func (o *ListOffersBadRequest) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersBadRequest) IsClientError() bool
- func (o *ListOffersBadRequest) IsCode(code int) bool
- func (o *ListOffersBadRequest) IsRedirect() bool
- func (o *ListOffersBadRequest) IsServerError() bool
- func (o *ListOffersBadRequest) IsSuccess() bool
- func (o *ListOffersBadRequest) String() string
- type ListOffersForbidden
- func (o *ListOffersForbidden) Error() string
- func (o *ListOffersForbidden) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersForbidden) IsClientError() bool
- func (o *ListOffersForbidden) IsCode(code int) bool
- func (o *ListOffersForbidden) IsRedirect() bool
- func (o *ListOffersForbidden) IsServerError() bool
- func (o *ListOffersForbidden) IsSuccess() bool
- func (o *ListOffersForbidden) String() string
- type ListOffersInternalServerError
- func (o *ListOffersInternalServerError) Error() string
- func (o *ListOffersInternalServerError) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersInternalServerError) IsClientError() bool
- func (o *ListOffersInternalServerError) IsCode(code int) bool
- func (o *ListOffersInternalServerError) IsRedirect() bool
- func (o *ListOffersInternalServerError) IsServerError() bool
- func (o *ListOffersInternalServerError) IsSuccess() bool
- func (o *ListOffersInternalServerError) String() string
- type ListOffersNotFound
- func (o *ListOffersNotFound) Error() string
- func (o *ListOffersNotFound) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersNotFound) IsClientError() bool
- func (o *ListOffersNotFound) IsCode(code int) bool
- func (o *ListOffersNotFound) IsRedirect() bool
- func (o *ListOffersNotFound) IsServerError() bool
- func (o *ListOffersNotFound) IsSuccess() bool
- func (o *ListOffersNotFound) String() string
- type ListOffersOK
- func (o *ListOffersOK) Error() string
- func (o *ListOffersOK) GetPayload() *replenishment_2022_11_07_models.ListOffersResponse
- func (o *ListOffersOK) IsClientError() bool
- func (o *ListOffersOK) IsCode(code int) bool
- func (o *ListOffersOK) IsRedirect() bool
- func (o *ListOffersOK) IsServerError() bool
- func (o *ListOffersOK) IsSuccess() bool
- func (o *ListOffersOK) String() string
- type ListOffersParams
- func (o *ListOffersParams) SetBody(body *replenishment_2022_11_07_models.ListOffersRequest)
- func (o *ListOffersParams) SetContext(ctx context.Context)
- func (o *ListOffersParams) SetDefaults()
- func (o *ListOffersParams) SetHTTPClient(client *http.Client)
- func (o *ListOffersParams) SetTimeout(timeout time.Duration)
- func (o *ListOffersParams) WithBody(body *replenishment_2022_11_07_models.ListOffersRequest) *ListOffersParams
- func (o *ListOffersParams) WithContext(ctx context.Context) *ListOffersParams
- func (o *ListOffersParams) WithDefaults() *ListOffersParams
- func (o *ListOffersParams) WithHTTPClient(client *http.Client) *ListOffersParams
- func (o *ListOffersParams) WithTimeout(timeout time.Duration) *ListOffersParams
- func (o *ListOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOffersReader
- type ListOffersServiceUnavailable
- func (o *ListOffersServiceUnavailable) Error() string
- func (o *ListOffersServiceUnavailable) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersServiceUnavailable) IsClientError() bool
- func (o *ListOffersServiceUnavailable) IsCode(code int) bool
- func (o *ListOffersServiceUnavailable) IsRedirect() bool
- func (o *ListOffersServiceUnavailable) IsServerError() bool
- func (o *ListOffersServiceUnavailable) IsSuccess() bool
- func (o *ListOffersServiceUnavailable) String() string
- type ListOffersTooManyRequests
- func (o *ListOffersTooManyRequests) Error() string
- func (o *ListOffersTooManyRequests) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersTooManyRequests) IsClientError() bool
- func (o *ListOffersTooManyRequests) IsCode(code int) bool
- func (o *ListOffersTooManyRequests) IsRedirect() bool
- func (o *ListOffersTooManyRequests) IsServerError() bool
- func (o *ListOffersTooManyRequests) IsSuccess() bool
- func (o *ListOffersTooManyRequests) String() string
- type ListOffersUnauthorized
- func (o *ListOffersUnauthorized) Error() string
- func (o *ListOffersUnauthorized) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersUnauthorized) IsClientError() bool
- func (o *ListOffersUnauthorized) IsCode(code int) bool
- func (o *ListOffersUnauthorized) IsRedirect() bool
- func (o *ListOffersUnauthorized) IsServerError() bool
- func (o *ListOffersUnauthorized) IsSuccess() bool
- func (o *ListOffersUnauthorized) String() string
- type ListOffersUnsupportedMediaType
- func (o *ListOffersUnsupportedMediaType) Error() string
- func (o *ListOffersUnsupportedMediaType) GetPayload() *replenishment_2022_11_07_models.ErrorList
- func (o *ListOffersUnsupportedMediaType) IsClientError() bool
- func (o *ListOffersUnsupportedMediaType) IsCode(code int) bool
- func (o *ListOffersUnsupportedMediaType) IsRedirect() bool
- func (o *ListOffersUnsupportedMediaType) IsServerError() bool
- func (o *ListOffersUnsupportedMediaType) IsSuccess() bool
- func (o *ListOffersUnsupportedMediaType) 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 offers API
func (*Client) ListOfferMetrics ¶
func (a *Client) ListOfferMetrics(params *ListOfferMetricsParams, opts ...ClientOption) (*ListOfferMetricsOK, error)
ListOfferMetrics Returns aggregated replenishment program metrics for a selling partner's offers.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 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, 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) ListOffers ¶
func (a *Client) ListOffers(params *ListOffersParams, opts ...ClientOption) (*ListOffersOK, error)
ListOffers Returns the details of a selling partner's replenishment program offers. Note that this operation only supports sellers at this time.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 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, 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 { ListOfferMetrics(params *ListOfferMetricsParams, opts ...ClientOption) (*ListOfferMetricsOK, error) ListOffers(params *ListOffersParams, opts ...ClientOption) (*ListOffersOK, 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 offers API client.
type ListOfferMetricsBadRequest ¶
type ListOfferMetricsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOfferMetricsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewListOfferMetricsBadRequest ¶
func NewListOfferMetricsBadRequest() *ListOfferMetricsBadRequest
NewListOfferMetricsBadRequest creates a ListOfferMetricsBadRequest with default headers values
func (*ListOfferMetricsBadRequest) Error ¶
func (o *ListOfferMetricsBadRequest) Error() string
func (*ListOfferMetricsBadRequest) GetPayload ¶
func (o *ListOfferMetricsBadRequest) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsBadRequest) IsClientError ¶
func (o *ListOfferMetricsBadRequest) IsClientError() bool
IsClientError returns true when this list offer metrics bad request response has a 4xx status code
func (*ListOfferMetricsBadRequest) IsCode ¶
func (o *ListOfferMetricsBadRequest) IsCode(code int) bool
IsCode returns true when this list offer metrics bad request response a status code equal to that given
func (*ListOfferMetricsBadRequest) IsRedirect ¶
func (o *ListOfferMetricsBadRequest) IsRedirect() bool
IsRedirect returns true when this list offer metrics bad request response has a 3xx status code
func (*ListOfferMetricsBadRequest) IsServerError ¶
func (o *ListOfferMetricsBadRequest) IsServerError() bool
IsServerError returns true when this list offer metrics bad request response has a 5xx status code
func (*ListOfferMetricsBadRequest) IsSuccess ¶
func (o *ListOfferMetricsBadRequest) IsSuccess() bool
IsSuccess returns true when this list offer metrics bad request response has a 2xx status code
func (*ListOfferMetricsBadRequest) String ¶
func (o *ListOfferMetricsBadRequest) String() string
type ListOfferMetricsForbidden ¶
type ListOfferMetricsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOfferMetricsForbidden 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 NewListOfferMetricsForbidden ¶
func NewListOfferMetricsForbidden() *ListOfferMetricsForbidden
NewListOfferMetricsForbidden creates a ListOfferMetricsForbidden with default headers values
func (*ListOfferMetricsForbidden) Error ¶
func (o *ListOfferMetricsForbidden) Error() string
func (*ListOfferMetricsForbidden) GetPayload ¶
func (o *ListOfferMetricsForbidden) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsForbidden) IsClientError ¶
func (o *ListOfferMetricsForbidden) IsClientError() bool
IsClientError returns true when this list offer metrics forbidden response has a 4xx status code
func (*ListOfferMetricsForbidden) IsCode ¶
func (o *ListOfferMetricsForbidden) IsCode(code int) bool
IsCode returns true when this list offer metrics forbidden response a status code equal to that given
func (*ListOfferMetricsForbidden) IsRedirect ¶
func (o *ListOfferMetricsForbidden) IsRedirect() bool
IsRedirect returns true when this list offer metrics forbidden response has a 3xx status code
func (*ListOfferMetricsForbidden) IsServerError ¶
func (o *ListOfferMetricsForbidden) IsServerError() bool
IsServerError returns true when this list offer metrics forbidden response has a 5xx status code
func (*ListOfferMetricsForbidden) IsSuccess ¶
func (o *ListOfferMetricsForbidden) IsSuccess() bool
IsSuccess returns true when this list offer metrics forbidden response has a 2xx status code
func (*ListOfferMetricsForbidden) String ¶
func (o *ListOfferMetricsForbidden) String() string
type ListOfferMetricsInternalServerError ¶
type ListOfferMetricsInternalServerError struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOfferMetricsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewListOfferMetricsInternalServerError ¶
func NewListOfferMetricsInternalServerError() *ListOfferMetricsInternalServerError
NewListOfferMetricsInternalServerError creates a ListOfferMetricsInternalServerError with default headers values
func (*ListOfferMetricsInternalServerError) Error ¶
func (o *ListOfferMetricsInternalServerError) Error() string
func (*ListOfferMetricsInternalServerError) GetPayload ¶
func (o *ListOfferMetricsInternalServerError) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsInternalServerError) IsClientError ¶
func (o *ListOfferMetricsInternalServerError) IsClientError() bool
IsClientError returns true when this list offer metrics internal server error response has a 4xx status code
func (*ListOfferMetricsInternalServerError) IsCode ¶
func (o *ListOfferMetricsInternalServerError) IsCode(code int) bool
IsCode returns true when this list offer metrics internal server error response a status code equal to that given
func (*ListOfferMetricsInternalServerError) IsRedirect ¶
func (o *ListOfferMetricsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list offer metrics internal server error response has a 3xx status code
func (*ListOfferMetricsInternalServerError) IsServerError ¶
func (o *ListOfferMetricsInternalServerError) IsServerError() bool
IsServerError returns true when this list offer metrics internal server error response has a 5xx status code
func (*ListOfferMetricsInternalServerError) IsSuccess ¶
func (o *ListOfferMetricsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list offer metrics internal server error response has a 2xx status code
func (*ListOfferMetricsInternalServerError) String ¶
func (o *ListOfferMetricsInternalServerError) String() string
type ListOfferMetricsNotFound ¶
type ListOfferMetricsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOfferMetricsNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewListOfferMetricsNotFound ¶
func NewListOfferMetricsNotFound() *ListOfferMetricsNotFound
NewListOfferMetricsNotFound creates a ListOfferMetricsNotFound with default headers values
func (*ListOfferMetricsNotFound) Error ¶
func (o *ListOfferMetricsNotFound) Error() string
func (*ListOfferMetricsNotFound) GetPayload ¶
func (o *ListOfferMetricsNotFound) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsNotFound) IsClientError ¶
func (o *ListOfferMetricsNotFound) IsClientError() bool
IsClientError returns true when this list offer metrics not found response has a 4xx status code
func (*ListOfferMetricsNotFound) IsCode ¶
func (o *ListOfferMetricsNotFound) IsCode(code int) bool
IsCode returns true when this list offer metrics not found response a status code equal to that given
func (*ListOfferMetricsNotFound) IsRedirect ¶
func (o *ListOfferMetricsNotFound) IsRedirect() bool
IsRedirect returns true when this list offer metrics not found response has a 3xx status code
func (*ListOfferMetricsNotFound) IsServerError ¶
func (o *ListOfferMetricsNotFound) IsServerError() bool
IsServerError returns true when this list offer metrics not found response has a 5xx status code
func (*ListOfferMetricsNotFound) IsSuccess ¶
func (o *ListOfferMetricsNotFound) IsSuccess() bool
IsSuccess returns true when this list offer metrics not found response has a 2xx status code
func (*ListOfferMetricsNotFound) String ¶
func (o *ListOfferMetricsNotFound) String() string
type ListOfferMetricsOK ¶
type ListOfferMetricsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ListOfferMetricsResponse }
ListOfferMetricsOK describes a response with status code 200, with default header values.
Success.
func NewListOfferMetricsOK ¶
func NewListOfferMetricsOK() *ListOfferMetricsOK
NewListOfferMetricsOK creates a ListOfferMetricsOK with default headers values
func (*ListOfferMetricsOK) Error ¶
func (o *ListOfferMetricsOK) Error() string
func (*ListOfferMetricsOK) GetPayload ¶
func (o *ListOfferMetricsOK) GetPayload() *replenishment_2022_11_07_models.ListOfferMetricsResponse
func (*ListOfferMetricsOK) IsClientError ¶
func (o *ListOfferMetricsOK) IsClientError() bool
IsClientError returns true when this list offer metrics o k response has a 4xx status code
func (*ListOfferMetricsOK) IsCode ¶
func (o *ListOfferMetricsOK) IsCode(code int) bool
IsCode returns true when this list offer metrics o k response a status code equal to that given
func (*ListOfferMetricsOK) IsRedirect ¶
func (o *ListOfferMetricsOK) IsRedirect() bool
IsRedirect returns true when this list offer metrics o k response has a 3xx status code
func (*ListOfferMetricsOK) IsServerError ¶
func (o *ListOfferMetricsOK) IsServerError() bool
IsServerError returns true when this list offer metrics o k response has a 5xx status code
func (*ListOfferMetricsOK) IsSuccess ¶
func (o *ListOfferMetricsOK) IsSuccess() bool
IsSuccess returns true when this list offer metrics o k response has a 2xx status code
func (*ListOfferMetricsOK) String ¶
func (o *ListOfferMetricsOK) String() string
type ListOfferMetricsParams ¶
type ListOfferMetricsParams struct { /* Body. The request body for the `listOfferMetrics` operation. */ Body *replenishment_2022_11_07_models.ListOfferMetricsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOfferMetricsParams contains all the parameters to send to the API endpoint
for the list offer metrics operation. Typically these are written to a http.Request.
func NewListOfferMetricsParams ¶
func NewListOfferMetricsParams() *ListOfferMetricsParams
NewListOfferMetricsParams creates a new ListOfferMetricsParams 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 NewListOfferMetricsParamsWithContext ¶
func NewListOfferMetricsParamsWithContext(ctx context.Context) *ListOfferMetricsParams
NewListOfferMetricsParamsWithContext creates a new ListOfferMetricsParams object with the ability to set a context for a request.
func NewListOfferMetricsParamsWithHTTPClient ¶
func NewListOfferMetricsParamsWithHTTPClient(client *http.Client) *ListOfferMetricsParams
NewListOfferMetricsParamsWithHTTPClient creates a new ListOfferMetricsParams object with the ability to set a custom HTTPClient for a request.
func NewListOfferMetricsParamsWithTimeout ¶
func NewListOfferMetricsParamsWithTimeout(timeout time.Duration) *ListOfferMetricsParams
NewListOfferMetricsParamsWithTimeout creates a new ListOfferMetricsParams object with the ability to set a timeout on a request.
func (*ListOfferMetricsParams) SetBody ¶
func (o *ListOfferMetricsParams) SetBody(body *replenishment_2022_11_07_models.ListOfferMetricsRequest)
SetBody adds the body to the list offer metrics params
func (*ListOfferMetricsParams) SetContext ¶
func (o *ListOfferMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the list offer metrics params
func (*ListOfferMetricsParams) SetDefaults ¶
func (o *ListOfferMetricsParams) SetDefaults()
SetDefaults hydrates default values in the list offer metrics params (not the query body).
All values with no default are reset to their zero value.
func (*ListOfferMetricsParams) SetHTTPClient ¶
func (o *ListOfferMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list offer metrics params
func (*ListOfferMetricsParams) SetTimeout ¶
func (o *ListOfferMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list offer metrics params
func (*ListOfferMetricsParams) WithBody ¶
func (o *ListOfferMetricsParams) WithBody(body *replenishment_2022_11_07_models.ListOfferMetricsRequest) *ListOfferMetricsParams
WithBody adds the body to the list offer metrics params
func (*ListOfferMetricsParams) WithContext ¶
func (o *ListOfferMetricsParams) WithContext(ctx context.Context) *ListOfferMetricsParams
WithContext adds the context to the list offer metrics params
func (*ListOfferMetricsParams) WithDefaults ¶
func (o *ListOfferMetricsParams) WithDefaults() *ListOfferMetricsParams
WithDefaults hydrates default values in the list offer metrics params (not the query body).
All values with no default are reset to their zero value.
func (*ListOfferMetricsParams) WithHTTPClient ¶
func (o *ListOfferMetricsParams) WithHTTPClient(client *http.Client) *ListOfferMetricsParams
WithHTTPClient adds the HTTPClient to the list offer metrics params
func (*ListOfferMetricsParams) WithTimeout ¶
func (o *ListOfferMetricsParams) WithTimeout(timeout time.Duration) *ListOfferMetricsParams
WithTimeout adds the timeout to the list offer metrics params
func (*ListOfferMetricsParams) WriteToRequest ¶
func (o *ListOfferMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOfferMetricsReader ¶
type ListOfferMetricsReader struct {
// contains filtered or unexported fields
}
ListOfferMetricsReader is a Reader for the ListOfferMetrics structure.
func (*ListOfferMetricsReader) ReadResponse ¶
func (o *ListOfferMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOfferMetricsServiceUnavailable ¶
type ListOfferMetricsServiceUnavailable struct { string }XAmznRequestID
ListOfferMetricsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewListOfferMetricsServiceUnavailable ¶
func NewListOfferMetricsServiceUnavailable() *ListOfferMetricsServiceUnavailable
NewListOfferMetricsServiceUnavailable creates a ListOfferMetricsServiceUnavailable with default headers values
func (*ListOfferMetricsServiceUnavailable) Error ¶
func (o *ListOfferMetricsServiceUnavailable) Error() string
func (*ListOfferMetricsServiceUnavailable) GetPayload ¶
func (o *ListOfferMetricsServiceUnavailable) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsServiceUnavailable) IsClientError ¶
func (o *ListOfferMetricsServiceUnavailable) IsClientError() bool
IsClientError returns true when this list offer metrics service unavailable response has a 4xx status code
func (*ListOfferMetricsServiceUnavailable) IsCode ¶
func (o *ListOfferMetricsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this list offer metrics service unavailable response a status code equal to that given
func (*ListOfferMetricsServiceUnavailable) IsRedirect ¶
func (o *ListOfferMetricsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this list offer metrics service unavailable response has a 3xx status code
func (*ListOfferMetricsServiceUnavailable) IsServerError ¶
func (o *ListOfferMetricsServiceUnavailable) IsServerError() bool
IsServerError returns true when this list offer metrics service unavailable response has a 5xx status code
func (*ListOfferMetricsServiceUnavailable) IsSuccess ¶
func (o *ListOfferMetricsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this list offer metrics service unavailable response has a 2xx status code
func (*ListOfferMetricsServiceUnavailable) String ¶
func (o *ListOfferMetricsServiceUnavailable) String() string
type ListOfferMetricsTooManyRequests ¶
type ListOfferMetricsTooManyRequests struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOfferMetricsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewListOfferMetricsTooManyRequests ¶
func NewListOfferMetricsTooManyRequests() *ListOfferMetricsTooManyRequests
NewListOfferMetricsTooManyRequests creates a ListOfferMetricsTooManyRequests with default headers values
func (*ListOfferMetricsTooManyRequests) Error ¶
func (o *ListOfferMetricsTooManyRequests) Error() string
func (*ListOfferMetricsTooManyRequests) GetPayload ¶
func (o *ListOfferMetricsTooManyRequests) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsTooManyRequests) IsClientError ¶
func (o *ListOfferMetricsTooManyRequests) IsClientError() bool
IsClientError returns true when this list offer metrics too many requests response has a 4xx status code
func (*ListOfferMetricsTooManyRequests) IsCode ¶
func (o *ListOfferMetricsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list offer metrics too many requests response a status code equal to that given
func (*ListOfferMetricsTooManyRequests) IsRedirect ¶
func (o *ListOfferMetricsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list offer metrics too many requests response has a 3xx status code
func (*ListOfferMetricsTooManyRequests) IsServerError ¶
func (o *ListOfferMetricsTooManyRequests) IsServerError() bool
IsServerError returns true when this list offer metrics too many requests response has a 5xx status code
func (*ListOfferMetricsTooManyRequests) IsSuccess ¶
func (o *ListOfferMetricsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list offer metrics too many requests response has a 2xx status code
func (*ListOfferMetricsTooManyRequests) String ¶
func (o *ListOfferMetricsTooManyRequests) String() string
type ListOfferMetricsUnauthorized ¶
type ListOfferMetricsUnauthorized struct { string }XAmznRequestID
ListOfferMetricsUnauthorized 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 NewListOfferMetricsUnauthorized ¶
func NewListOfferMetricsUnauthorized() *ListOfferMetricsUnauthorized
NewListOfferMetricsUnauthorized creates a ListOfferMetricsUnauthorized with default headers values
func (*ListOfferMetricsUnauthorized) Error ¶
func (o *ListOfferMetricsUnauthorized) Error() string
func (*ListOfferMetricsUnauthorized) GetPayload ¶
func (o *ListOfferMetricsUnauthorized) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsUnauthorized) IsClientError ¶
func (o *ListOfferMetricsUnauthorized) IsClientError() bool
IsClientError returns true when this list offer metrics unauthorized response has a 4xx status code
func (*ListOfferMetricsUnauthorized) IsCode ¶
func (o *ListOfferMetricsUnauthorized) IsCode(code int) bool
IsCode returns true when this list offer metrics unauthorized response a status code equal to that given
func (*ListOfferMetricsUnauthorized) IsRedirect ¶
func (o *ListOfferMetricsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list offer metrics unauthorized response has a 3xx status code
func (*ListOfferMetricsUnauthorized) IsServerError ¶
func (o *ListOfferMetricsUnauthorized) IsServerError() bool
IsServerError returns true when this list offer metrics unauthorized response has a 5xx status code
func (*ListOfferMetricsUnauthorized) IsSuccess ¶
func (o *ListOfferMetricsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list offer metrics unauthorized response has a 2xx status code
func (*ListOfferMetricsUnauthorized) String ¶
func (o *ListOfferMetricsUnauthorized) String() string
type ListOfferMetricsUnsupportedMediaType ¶
type ListOfferMetricsUnsupportedMediaType struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOfferMetricsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewListOfferMetricsUnsupportedMediaType ¶
func NewListOfferMetricsUnsupportedMediaType() *ListOfferMetricsUnsupportedMediaType
NewListOfferMetricsUnsupportedMediaType creates a ListOfferMetricsUnsupportedMediaType with default headers values
func (*ListOfferMetricsUnsupportedMediaType) Error ¶
func (o *ListOfferMetricsUnsupportedMediaType) Error() string
func (*ListOfferMetricsUnsupportedMediaType) GetPayload ¶
func (o *ListOfferMetricsUnsupportedMediaType) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOfferMetricsUnsupportedMediaType) IsClientError ¶
func (o *ListOfferMetricsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this list offer metrics unsupported media type response has a 4xx status code
func (*ListOfferMetricsUnsupportedMediaType) IsCode ¶
func (o *ListOfferMetricsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this list offer metrics unsupported media type response a status code equal to that given
func (*ListOfferMetricsUnsupportedMediaType) IsRedirect ¶
func (o *ListOfferMetricsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this list offer metrics unsupported media type response has a 3xx status code
func (*ListOfferMetricsUnsupportedMediaType) IsServerError ¶
func (o *ListOfferMetricsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this list offer metrics unsupported media type response has a 5xx status code
func (*ListOfferMetricsUnsupportedMediaType) IsSuccess ¶
func (o *ListOfferMetricsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this list offer metrics unsupported media type response has a 2xx status code
func (*ListOfferMetricsUnsupportedMediaType) String ¶
func (o *ListOfferMetricsUnsupportedMediaType) String() string
type ListOffersBadRequest ¶
type ListOffersBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOffersBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewListOffersBadRequest ¶
func NewListOffersBadRequest() *ListOffersBadRequest
NewListOffersBadRequest creates a ListOffersBadRequest with default headers values
func (*ListOffersBadRequest) Error ¶
func (o *ListOffersBadRequest) Error() string
func (*ListOffersBadRequest) GetPayload ¶
func (o *ListOffersBadRequest) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersBadRequest) IsClientError ¶
func (o *ListOffersBadRequest) IsClientError() bool
IsClientError returns true when this list offers bad request response has a 4xx status code
func (*ListOffersBadRequest) IsCode ¶
func (o *ListOffersBadRequest) IsCode(code int) bool
IsCode returns true when this list offers bad request response a status code equal to that given
func (*ListOffersBadRequest) IsRedirect ¶
func (o *ListOffersBadRequest) IsRedirect() bool
IsRedirect returns true when this list offers bad request response has a 3xx status code
func (*ListOffersBadRequest) IsServerError ¶
func (o *ListOffersBadRequest) IsServerError() bool
IsServerError returns true when this list offers bad request response has a 5xx status code
func (*ListOffersBadRequest) IsSuccess ¶
func (o *ListOffersBadRequest) IsSuccess() bool
IsSuccess returns true when this list offers bad request response has a 2xx status code
func (*ListOffersBadRequest) String ¶
func (o *ListOffersBadRequest) String() string
type ListOffersForbidden ¶
type ListOffersForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOffersForbidden 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 NewListOffersForbidden ¶
func NewListOffersForbidden() *ListOffersForbidden
NewListOffersForbidden creates a ListOffersForbidden with default headers values
func (*ListOffersForbidden) Error ¶
func (o *ListOffersForbidden) Error() string
func (*ListOffersForbidden) GetPayload ¶
func (o *ListOffersForbidden) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersForbidden) IsClientError ¶
func (o *ListOffersForbidden) IsClientError() bool
IsClientError returns true when this list offers forbidden response has a 4xx status code
func (*ListOffersForbidden) IsCode ¶
func (o *ListOffersForbidden) IsCode(code int) bool
IsCode returns true when this list offers forbidden response a status code equal to that given
func (*ListOffersForbidden) IsRedirect ¶
func (o *ListOffersForbidden) IsRedirect() bool
IsRedirect returns true when this list offers forbidden response has a 3xx status code
func (*ListOffersForbidden) IsServerError ¶
func (o *ListOffersForbidden) IsServerError() bool
IsServerError returns true when this list offers forbidden response has a 5xx status code
func (*ListOffersForbidden) IsSuccess ¶
func (o *ListOffersForbidden) IsSuccess() bool
IsSuccess returns true when this list offers forbidden response has a 2xx status code
func (*ListOffersForbidden) String ¶
func (o *ListOffersForbidden) String() string
type ListOffersInternalServerError ¶
type ListOffersInternalServerError struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOffersInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewListOffersInternalServerError ¶
func NewListOffersInternalServerError() *ListOffersInternalServerError
NewListOffersInternalServerError creates a ListOffersInternalServerError with default headers values
func (*ListOffersInternalServerError) Error ¶
func (o *ListOffersInternalServerError) Error() string
func (*ListOffersInternalServerError) GetPayload ¶
func (o *ListOffersInternalServerError) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersInternalServerError) IsClientError ¶
func (o *ListOffersInternalServerError) IsClientError() bool
IsClientError returns true when this list offers internal server error response has a 4xx status code
func (*ListOffersInternalServerError) IsCode ¶
func (o *ListOffersInternalServerError) IsCode(code int) bool
IsCode returns true when this list offers internal server error response a status code equal to that given
func (*ListOffersInternalServerError) IsRedirect ¶
func (o *ListOffersInternalServerError) IsRedirect() bool
IsRedirect returns true when this list offers internal server error response has a 3xx status code
func (*ListOffersInternalServerError) IsServerError ¶
func (o *ListOffersInternalServerError) IsServerError() bool
IsServerError returns true when this list offers internal server error response has a 5xx status code
func (*ListOffersInternalServerError) IsSuccess ¶
func (o *ListOffersInternalServerError) IsSuccess() bool
IsSuccess returns true when this list offers internal server error response has a 2xx status code
func (*ListOffersInternalServerError) String ¶
func (o *ListOffersInternalServerError) String() string
type ListOffersNotFound ¶
type ListOffersNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOffersNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewListOffersNotFound ¶
func NewListOffersNotFound() *ListOffersNotFound
NewListOffersNotFound creates a ListOffersNotFound with default headers values
func (*ListOffersNotFound) Error ¶
func (o *ListOffersNotFound) Error() string
func (*ListOffersNotFound) GetPayload ¶
func (o *ListOffersNotFound) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersNotFound) IsClientError ¶
func (o *ListOffersNotFound) IsClientError() bool
IsClientError returns true when this list offers not found response has a 4xx status code
func (*ListOffersNotFound) IsCode ¶
func (o *ListOffersNotFound) IsCode(code int) bool
IsCode returns true when this list offers not found response a status code equal to that given
func (*ListOffersNotFound) IsRedirect ¶
func (o *ListOffersNotFound) IsRedirect() bool
IsRedirect returns true when this list offers not found response has a 3xx status code
func (*ListOffersNotFound) IsServerError ¶
func (o *ListOffersNotFound) IsServerError() bool
IsServerError returns true when this list offers not found response has a 5xx status code
func (*ListOffersNotFound) IsSuccess ¶
func (o *ListOffersNotFound) IsSuccess() bool
IsSuccess returns true when this list offers not found response has a 2xx status code
func (*ListOffersNotFound) String ¶
func (o *ListOffersNotFound) String() string
type ListOffersOK ¶
type ListOffersOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ListOffersResponse }
ListOffersOK describes a response with status code 200, with default header values.
Success.
func NewListOffersOK ¶
func NewListOffersOK() *ListOffersOK
NewListOffersOK creates a ListOffersOK with default headers values
func (*ListOffersOK) Error ¶
func (o *ListOffersOK) Error() string
func (*ListOffersOK) GetPayload ¶
func (o *ListOffersOK) GetPayload() *replenishment_2022_11_07_models.ListOffersResponse
func (*ListOffersOK) IsClientError ¶
func (o *ListOffersOK) IsClientError() bool
IsClientError returns true when this list offers o k response has a 4xx status code
func (*ListOffersOK) IsCode ¶
func (o *ListOffersOK) IsCode(code int) bool
IsCode returns true when this list offers o k response a status code equal to that given
func (*ListOffersOK) IsRedirect ¶
func (o *ListOffersOK) IsRedirect() bool
IsRedirect returns true when this list offers o k response has a 3xx status code
func (*ListOffersOK) IsServerError ¶
func (o *ListOffersOK) IsServerError() bool
IsServerError returns true when this list offers o k response has a 5xx status code
func (*ListOffersOK) IsSuccess ¶
func (o *ListOffersOK) IsSuccess() bool
IsSuccess returns true when this list offers o k response has a 2xx status code
func (*ListOffersOK) String ¶
func (o *ListOffersOK) String() string
type ListOffersParams ¶
type ListOffersParams struct { // Body. Body *replenishment_2022_11_07_models.ListOffersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOffersParams contains all the parameters to send to the API endpoint
for the list offers operation. Typically these are written to a http.Request.
func NewListOffersParams ¶
func NewListOffersParams() *ListOffersParams
NewListOffersParams creates a new ListOffersParams 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 NewListOffersParamsWithContext ¶
func NewListOffersParamsWithContext(ctx context.Context) *ListOffersParams
NewListOffersParamsWithContext creates a new ListOffersParams object with the ability to set a context for a request.
func NewListOffersParamsWithHTTPClient ¶
func NewListOffersParamsWithHTTPClient(client *http.Client) *ListOffersParams
NewListOffersParamsWithHTTPClient creates a new ListOffersParams object with the ability to set a custom HTTPClient for a request.
func NewListOffersParamsWithTimeout ¶
func NewListOffersParamsWithTimeout(timeout time.Duration) *ListOffersParams
NewListOffersParamsWithTimeout creates a new ListOffersParams object with the ability to set a timeout on a request.
func (*ListOffersParams) SetBody ¶
func (o *ListOffersParams) SetBody(body *replenishment_2022_11_07_models.ListOffersRequest)
SetBody adds the body to the list offers params
func (*ListOffersParams) SetContext ¶
func (o *ListOffersParams) SetContext(ctx context.Context)
SetContext adds the context to the list offers params
func (*ListOffersParams) SetDefaults ¶
func (o *ListOffersParams) SetDefaults()
SetDefaults hydrates default values in the list offers params (not the query body).
All values with no default are reset to their zero value.
func (*ListOffersParams) SetHTTPClient ¶
func (o *ListOffersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list offers params
func (*ListOffersParams) SetTimeout ¶
func (o *ListOffersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list offers params
func (*ListOffersParams) WithBody ¶
func (o *ListOffersParams) WithBody(body *replenishment_2022_11_07_models.ListOffersRequest) *ListOffersParams
WithBody adds the body to the list offers params
func (*ListOffersParams) WithContext ¶
func (o *ListOffersParams) WithContext(ctx context.Context) *ListOffersParams
WithContext adds the context to the list offers params
func (*ListOffersParams) WithDefaults ¶
func (o *ListOffersParams) WithDefaults() *ListOffersParams
WithDefaults hydrates default values in the list offers params (not the query body).
All values with no default are reset to their zero value.
func (*ListOffersParams) WithHTTPClient ¶
func (o *ListOffersParams) WithHTTPClient(client *http.Client) *ListOffersParams
WithHTTPClient adds the HTTPClient to the list offers params
func (*ListOffersParams) WithTimeout ¶
func (o *ListOffersParams) WithTimeout(timeout time.Duration) *ListOffersParams
WithTimeout adds the timeout to the list offers params
func (*ListOffersParams) WriteToRequest ¶
func (o *ListOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOffersReader ¶
type ListOffersReader struct {
// contains filtered or unexported fields
}
ListOffersReader is a Reader for the ListOffers structure.
func (*ListOffersReader) ReadResponse ¶
func (o *ListOffersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOffersServiceUnavailable ¶
type ListOffersServiceUnavailable struct { string }XAmznRequestID
ListOffersServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewListOffersServiceUnavailable ¶
func NewListOffersServiceUnavailable() *ListOffersServiceUnavailable
NewListOffersServiceUnavailable creates a ListOffersServiceUnavailable with default headers values
func (*ListOffersServiceUnavailable) Error ¶
func (o *ListOffersServiceUnavailable) Error() string
func (*ListOffersServiceUnavailable) GetPayload ¶
func (o *ListOffersServiceUnavailable) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersServiceUnavailable) IsClientError ¶
func (o *ListOffersServiceUnavailable) IsClientError() bool
IsClientError returns true when this list offers service unavailable response has a 4xx status code
func (*ListOffersServiceUnavailable) IsCode ¶
func (o *ListOffersServiceUnavailable) IsCode(code int) bool
IsCode returns true when this list offers service unavailable response a status code equal to that given
func (*ListOffersServiceUnavailable) IsRedirect ¶
func (o *ListOffersServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this list offers service unavailable response has a 3xx status code
func (*ListOffersServiceUnavailable) IsServerError ¶
func (o *ListOffersServiceUnavailable) IsServerError() bool
IsServerError returns true when this list offers service unavailable response has a 5xx status code
func (*ListOffersServiceUnavailable) IsSuccess ¶
func (o *ListOffersServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this list offers service unavailable response has a 2xx status code
func (*ListOffersServiceUnavailable) String ¶
func (o *ListOffersServiceUnavailable) String() string
type ListOffersTooManyRequests ¶
type ListOffersTooManyRequests struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOffersTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewListOffersTooManyRequests ¶
func NewListOffersTooManyRequests() *ListOffersTooManyRequests
NewListOffersTooManyRequests creates a ListOffersTooManyRequests with default headers values
func (*ListOffersTooManyRequests) Error ¶
func (o *ListOffersTooManyRequests) Error() string
func (*ListOffersTooManyRequests) GetPayload ¶
func (o *ListOffersTooManyRequests) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersTooManyRequests) IsClientError ¶
func (o *ListOffersTooManyRequests) IsClientError() bool
IsClientError returns true when this list offers too many requests response has a 4xx status code
func (*ListOffersTooManyRequests) IsCode ¶
func (o *ListOffersTooManyRequests) IsCode(code int) bool
IsCode returns true when this list offers too many requests response a status code equal to that given
func (*ListOffersTooManyRequests) IsRedirect ¶
func (o *ListOffersTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list offers too many requests response has a 3xx status code
func (*ListOffersTooManyRequests) IsServerError ¶
func (o *ListOffersTooManyRequests) IsServerError() bool
IsServerError returns true when this list offers too many requests response has a 5xx status code
func (*ListOffersTooManyRequests) IsSuccess ¶
func (o *ListOffersTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list offers too many requests response has a 2xx status code
func (*ListOffersTooManyRequests) String ¶
func (o *ListOffersTooManyRequests) String() string
type ListOffersUnauthorized ¶
type ListOffersUnauthorized struct { string }XAmznRequestID
ListOffersUnauthorized 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 NewListOffersUnauthorized ¶
func NewListOffersUnauthorized() *ListOffersUnauthorized
NewListOffersUnauthorized creates a ListOffersUnauthorized with default headers values
func (*ListOffersUnauthorized) Error ¶
func (o *ListOffersUnauthorized) Error() string
func (*ListOffersUnauthorized) GetPayload ¶
func (o *ListOffersUnauthorized) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersUnauthorized) IsClientError ¶
func (o *ListOffersUnauthorized) IsClientError() bool
IsClientError returns true when this list offers unauthorized response has a 4xx status code
func (*ListOffersUnauthorized) IsCode ¶
func (o *ListOffersUnauthorized) IsCode(code int) bool
IsCode returns true when this list offers unauthorized response a status code equal to that given
func (*ListOffersUnauthorized) IsRedirect ¶
func (o *ListOffersUnauthorized) IsRedirect() bool
IsRedirect returns true when this list offers unauthorized response has a 3xx status code
func (*ListOffersUnauthorized) IsServerError ¶
func (o *ListOffersUnauthorized) IsServerError() bool
IsServerError returns true when this list offers unauthorized response has a 5xx status code
func (*ListOffersUnauthorized) IsSuccess ¶
func (o *ListOffersUnauthorized) IsSuccess() bool
IsSuccess returns true when this list offers unauthorized response has a 2xx status code
func (*ListOffersUnauthorized) String ¶
func (o *ListOffersUnauthorized) String() string
type ListOffersUnsupportedMediaType ¶
type ListOffersUnsupportedMediaType struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *replenishment_2022_11_07_models.ErrorList }
ListOffersUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewListOffersUnsupportedMediaType ¶
func NewListOffersUnsupportedMediaType() *ListOffersUnsupportedMediaType
NewListOffersUnsupportedMediaType creates a ListOffersUnsupportedMediaType with default headers values
func (*ListOffersUnsupportedMediaType) Error ¶
func (o *ListOffersUnsupportedMediaType) Error() string
func (*ListOffersUnsupportedMediaType) GetPayload ¶
func (o *ListOffersUnsupportedMediaType) GetPayload() *replenishment_2022_11_07_models.ErrorList
func (*ListOffersUnsupportedMediaType) IsClientError ¶
func (o *ListOffersUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this list offers unsupported media type response has a 4xx status code
func (*ListOffersUnsupportedMediaType) IsCode ¶
func (o *ListOffersUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this list offers unsupported media type response a status code equal to that given
func (*ListOffersUnsupportedMediaType) IsRedirect ¶
func (o *ListOffersUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this list offers unsupported media type response has a 3xx status code
func (*ListOffersUnsupportedMediaType) IsServerError ¶
func (o *ListOffersUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this list offers unsupported media type response has a 5xx status code
func (*ListOffersUnsupportedMediaType) IsSuccess ¶
func (o *ListOffersUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this list offers unsupported media type response has a 2xx status code
func (*ListOffersUnsupportedMediaType) String ¶
func (o *ListOffersUnsupportedMediaType) String() string