Documentation ¶
Index ¶
- type Client
- func (a *Client) GetShippingLabel(params *GetShippingLabelParams, opts ...ClientOption) (*GetShippingLabelOK, error)
- func (a *Client) GetShippingLabels(params *GetShippingLabelsParams, opts ...ClientOption) (*GetShippingLabelsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubmitShippingLabelRequest(params *SubmitShippingLabelRequestParams, opts ...ClientOption) (*SubmitShippingLabelRequestAccepted, error)
- type ClientOption
- type ClientService
- type GetShippingLabelBadRequest
- func (o *GetShippingLabelBadRequest) Error() string
- func (o *GetShippingLabelBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelBadRequest) IsClientError() bool
- func (o *GetShippingLabelBadRequest) IsCode(code int) bool
- func (o *GetShippingLabelBadRequest) IsRedirect() bool
- func (o *GetShippingLabelBadRequest) IsServerError() bool
- func (o *GetShippingLabelBadRequest) IsSuccess() bool
- func (o *GetShippingLabelBadRequest) String() string
- type GetShippingLabelForbidden
- func (o *GetShippingLabelForbidden) Error() string
- func (o *GetShippingLabelForbidden) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelForbidden) IsClientError() bool
- func (o *GetShippingLabelForbidden) IsCode(code int) bool
- func (o *GetShippingLabelForbidden) IsRedirect() bool
- func (o *GetShippingLabelForbidden) IsServerError() bool
- func (o *GetShippingLabelForbidden) IsSuccess() bool
- func (o *GetShippingLabelForbidden) String() string
- type GetShippingLabelInternalServerError
- func (o *GetShippingLabelInternalServerError) Error() string
- func (o *GetShippingLabelInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelInternalServerError) IsClientError() bool
- func (o *GetShippingLabelInternalServerError) IsCode(code int) bool
- func (o *GetShippingLabelInternalServerError) IsRedirect() bool
- func (o *GetShippingLabelInternalServerError) IsServerError() bool
- func (o *GetShippingLabelInternalServerError) IsSuccess() bool
- func (o *GetShippingLabelInternalServerError) String() string
- type GetShippingLabelNotFound
- func (o *GetShippingLabelNotFound) Error() string
- func (o *GetShippingLabelNotFound) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelNotFound) IsClientError() bool
- func (o *GetShippingLabelNotFound) IsCode(code int) bool
- func (o *GetShippingLabelNotFound) IsRedirect() bool
- func (o *GetShippingLabelNotFound) IsServerError() bool
- func (o *GetShippingLabelNotFound) IsSuccess() bool
- func (o *GetShippingLabelNotFound) String() string
- type GetShippingLabelOK
- func (o *GetShippingLabelOK) Error() string
- func (o *GetShippingLabelOK) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelOK) IsClientError() bool
- func (o *GetShippingLabelOK) IsCode(code int) bool
- func (o *GetShippingLabelOK) IsRedirect() bool
- func (o *GetShippingLabelOK) IsServerError() bool
- func (o *GetShippingLabelOK) IsSuccess() bool
- func (o *GetShippingLabelOK) String() string
- type GetShippingLabelParams
- func NewGetShippingLabelParams() *GetShippingLabelParams
- func NewGetShippingLabelParamsWithContext(ctx context.Context) *GetShippingLabelParams
- func NewGetShippingLabelParamsWithHTTPClient(client *http.Client) *GetShippingLabelParams
- func NewGetShippingLabelParamsWithTimeout(timeout time.Duration) *GetShippingLabelParams
- func (o *GetShippingLabelParams) SetContext(ctx context.Context)
- func (o *GetShippingLabelParams) SetDefaults()
- func (o *GetShippingLabelParams) SetHTTPClient(client *http.Client)
- func (o *GetShippingLabelParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
- func (o *GetShippingLabelParams) SetTimeout(timeout time.Duration)
- func (o *GetShippingLabelParams) WithContext(ctx context.Context) *GetShippingLabelParams
- func (o *GetShippingLabelParams) WithDefaults() *GetShippingLabelParams
- func (o *GetShippingLabelParams) WithHTTPClient(client *http.Client) *GetShippingLabelParams
- func (o *GetShippingLabelParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetShippingLabelParams
- func (o *GetShippingLabelParams) WithTimeout(timeout time.Duration) *GetShippingLabelParams
- func (o *GetShippingLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShippingLabelReader
- type GetShippingLabelServiceUnavailable
- func (o *GetShippingLabelServiceUnavailable) Error() string
- func (o *GetShippingLabelServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelServiceUnavailable) IsClientError() bool
- func (o *GetShippingLabelServiceUnavailable) IsCode(code int) bool
- func (o *GetShippingLabelServiceUnavailable) IsRedirect() bool
- func (o *GetShippingLabelServiceUnavailable) IsServerError() bool
- func (o *GetShippingLabelServiceUnavailable) IsSuccess() bool
- func (o *GetShippingLabelServiceUnavailable) String() string
- type GetShippingLabelTooManyRequests
- func (o *GetShippingLabelTooManyRequests) Error() string
- func (o *GetShippingLabelTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelTooManyRequests) IsClientError() bool
- func (o *GetShippingLabelTooManyRequests) IsCode(code int) bool
- func (o *GetShippingLabelTooManyRequests) IsRedirect() bool
- func (o *GetShippingLabelTooManyRequests) IsServerError() bool
- func (o *GetShippingLabelTooManyRequests) IsSuccess() bool
- func (o *GetShippingLabelTooManyRequests) String() string
- type GetShippingLabelUnauthorized
- func (o *GetShippingLabelUnauthorized) Error() string
- func (o *GetShippingLabelUnauthorized) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelUnauthorized) IsClientError() bool
- func (o *GetShippingLabelUnauthorized) IsCode(code int) bool
- func (o *GetShippingLabelUnauthorized) IsRedirect() bool
- func (o *GetShippingLabelUnauthorized) IsServerError() bool
- func (o *GetShippingLabelUnauthorized) IsSuccess() bool
- func (o *GetShippingLabelUnauthorized) String() string
- type GetShippingLabelUnsupportedMediaType
- func (o *GetShippingLabelUnsupportedMediaType) Error() string
- func (o *GetShippingLabelUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
- func (o *GetShippingLabelUnsupportedMediaType) IsClientError() bool
- func (o *GetShippingLabelUnsupportedMediaType) IsCode(code int) bool
- func (o *GetShippingLabelUnsupportedMediaType) IsRedirect() bool
- func (o *GetShippingLabelUnsupportedMediaType) IsServerError() bool
- func (o *GetShippingLabelUnsupportedMediaType) IsSuccess() bool
- func (o *GetShippingLabelUnsupportedMediaType) String() string
- type GetShippingLabelsBadRequest
- func (o *GetShippingLabelsBadRequest) Error() string
- func (o *GetShippingLabelsBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsBadRequest) IsClientError() bool
- func (o *GetShippingLabelsBadRequest) IsCode(code int) bool
- func (o *GetShippingLabelsBadRequest) IsRedirect() bool
- func (o *GetShippingLabelsBadRequest) IsServerError() bool
- func (o *GetShippingLabelsBadRequest) IsSuccess() bool
- func (o *GetShippingLabelsBadRequest) String() string
- type GetShippingLabelsForbidden
- func (o *GetShippingLabelsForbidden) Error() string
- func (o *GetShippingLabelsForbidden) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsForbidden) IsClientError() bool
- func (o *GetShippingLabelsForbidden) IsCode(code int) bool
- func (o *GetShippingLabelsForbidden) IsRedirect() bool
- func (o *GetShippingLabelsForbidden) IsServerError() bool
- func (o *GetShippingLabelsForbidden) IsSuccess() bool
- func (o *GetShippingLabelsForbidden) String() string
- type GetShippingLabelsInternalServerError
- func (o *GetShippingLabelsInternalServerError) Error() string
- func (o *GetShippingLabelsInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsInternalServerError) IsClientError() bool
- func (o *GetShippingLabelsInternalServerError) IsCode(code int) bool
- func (o *GetShippingLabelsInternalServerError) IsRedirect() bool
- func (o *GetShippingLabelsInternalServerError) IsServerError() bool
- func (o *GetShippingLabelsInternalServerError) IsSuccess() bool
- func (o *GetShippingLabelsInternalServerError) String() string
- type GetShippingLabelsNotFound
- func (o *GetShippingLabelsNotFound) Error() string
- func (o *GetShippingLabelsNotFound) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsNotFound) IsClientError() bool
- func (o *GetShippingLabelsNotFound) IsCode(code int) bool
- func (o *GetShippingLabelsNotFound) IsRedirect() bool
- func (o *GetShippingLabelsNotFound) IsServerError() bool
- func (o *GetShippingLabelsNotFound) IsSuccess() bool
- func (o *GetShippingLabelsNotFound) String() string
- type GetShippingLabelsOK
- func (o *GetShippingLabelsOK) Error() string
- func (o *GetShippingLabelsOK) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsOK) IsClientError() bool
- func (o *GetShippingLabelsOK) IsCode(code int) bool
- func (o *GetShippingLabelsOK) IsRedirect() bool
- func (o *GetShippingLabelsOK) IsServerError() bool
- func (o *GetShippingLabelsOK) IsSuccess() bool
- func (o *GetShippingLabelsOK) String() string
- type GetShippingLabelsParams
- func NewGetShippingLabelsParams() *GetShippingLabelsParams
- func NewGetShippingLabelsParamsWithContext(ctx context.Context) *GetShippingLabelsParams
- func NewGetShippingLabelsParamsWithHTTPClient(client *http.Client) *GetShippingLabelsParams
- func NewGetShippingLabelsParamsWithTimeout(timeout time.Duration) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) SetContext(ctx context.Context)
- func (o *GetShippingLabelsParams) SetCreatedAfter(createdAfter strfmt.DateTime)
- func (o *GetShippingLabelsParams) SetCreatedBefore(createdBefore strfmt.DateTime)
- func (o *GetShippingLabelsParams) SetDefaults()
- func (o *GetShippingLabelsParams) SetHTTPClient(client *http.Client)
- func (o *GetShippingLabelsParams) SetLimit(limit *int64)
- func (o *GetShippingLabelsParams) SetNextToken(nextToken *string)
- func (o *GetShippingLabelsParams) SetShipFromPartyID(shipFromPartyID *string)
- func (o *GetShippingLabelsParams) SetSortOrder(sortOrder *string)
- func (o *GetShippingLabelsParams) SetTimeout(timeout time.Duration)
- func (o *GetShippingLabelsParams) WithContext(ctx context.Context) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithCreatedAfter(createdAfter strfmt.DateTime) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithCreatedBefore(createdBefore strfmt.DateTime) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithDefaults() *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithHTTPClient(client *http.Client) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithLimit(limit *int64) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithNextToken(nextToken *string) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithShipFromPartyID(shipFromPartyID *string) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithSortOrder(sortOrder *string) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WithTimeout(timeout time.Duration) *GetShippingLabelsParams
- func (o *GetShippingLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShippingLabelsReader
- type GetShippingLabelsServiceUnavailable
- func (o *GetShippingLabelsServiceUnavailable) Error() string
- func (o *GetShippingLabelsServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsServiceUnavailable) IsClientError() bool
- func (o *GetShippingLabelsServiceUnavailable) IsCode(code int) bool
- func (o *GetShippingLabelsServiceUnavailable) IsRedirect() bool
- func (o *GetShippingLabelsServiceUnavailable) IsServerError() bool
- func (o *GetShippingLabelsServiceUnavailable) IsSuccess() bool
- func (o *GetShippingLabelsServiceUnavailable) String() string
- type GetShippingLabelsTooManyRequests
- func (o *GetShippingLabelsTooManyRequests) Error() string
- func (o *GetShippingLabelsTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsTooManyRequests) IsClientError() bool
- func (o *GetShippingLabelsTooManyRequests) IsCode(code int) bool
- func (o *GetShippingLabelsTooManyRequests) IsRedirect() bool
- func (o *GetShippingLabelsTooManyRequests) IsServerError() bool
- func (o *GetShippingLabelsTooManyRequests) IsSuccess() bool
- func (o *GetShippingLabelsTooManyRequests) String() string
- type GetShippingLabelsUnsupportedMediaType
- func (o *GetShippingLabelsUnsupportedMediaType) Error() string
- func (o *GetShippingLabelsUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
- func (o *GetShippingLabelsUnsupportedMediaType) IsClientError() bool
- func (o *GetShippingLabelsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetShippingLabelsUnsupportedMediaType) IsRedirect() bool
- func (o *GetShippingLabelsUnsupportedMediaType) IsServerError() bool
- func (o *GetShippingLabelsUnsupportedMediaType) IsSuccess() bool
- func (o *GetShippingLabelsUnsupportedMediaType) String() string
- type SubmitShippingLabelRequestAccepted
- func (o *SubmitShippingLabelRequestAccepted) Error() string
- func (o *SubmitShippingLabelRequestAccepted) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestAccepted) IsClientError() bool
- func (o *SubmitShippingLabelRequestAccepted) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestAccepted) IsRedirect() bool
- func (o *SubmitShippingLabelRequestAccepted) IsServerError() bool
- func (o *SubmitShippingLabelRequestAccepted) IsSuccess() bool
- func (o *SubmitShippingLabelRequestAccepted) String() string
- type SubmitShippingLabelRequestBadRequest
- func (o *SubmitShippingLabelRequestBadRequest) Error() string
- func (o *SubmitShippingLabelRequestBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestBadRequest) IsClientError() bool
- func (o *SubmitShippingLabelRequestBadRequest) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestBadRequest) IsRedirect() bool
- func (o *SubmitShippingLabelRequestBadRequest) IsServerError() bool
- func (o *SubmitShippingLabelRequestBadRequest) IsSuccess() bool
- func (o *SubmitShippingLabelRequestBadRequest) String() string
- type SubmitShippingLabelRequestForbidden
- func (o *SubmitShippingLabelRequestForbidden) Error() string
- func (o *SubmitShippingLabelRequestForbidden) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestForbidden) IsClientError() bool
- func (o *SubmitShippingLabelRequestForbidden) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestForbidden) IsRedirect() bool
- func (o *SubmitShippingLabelRequestForbidden) IsServerError() bool
- func (o *SubmitShippingLabelRequestForbidden) IsSuccess() bool
- func (o *SubmitShippingLabelRequestForbidden) String() string
- type SubmitShippingLabelRequestInternalServerError
- func (o *SubmitShippingLabelRequestInternalServerError) Error() string
- func (o *SubmitShippingLabelRequestInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestInternalServerError) IsClientError() bool
- func (o *SubmitShippingLabelRequestInternalServerError) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestInternalServerError) IsRedirect() bool
- func (o *SubmitShippingLabelRequestInternalServerError) IsServerError() bool
- func (o *SubmitShippingLabelRequestInternalServerError) IsSuccess() bool
- func (o *SubmitShippingLabelRequestInternalServerError) String() string
- type SubmitShippingLabelRequestNotFound
- func (o *SubmitShippingLabelRequestNotFound) Error() string
- func (o *SubmitShippingLabelRequestNotFound) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestNotFound) IsClientError() bool
- func (o *SubmitShippingLabelRequestNotFound) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestNotFound) IsRedirect() bool
- func (o *SubmitShippingLabelRequestNotFound) IsServerError() bool
- func (o *SubmitShippingLabelRequestNotFound) IsSuccess() bool
- func (o *SubmitShippingLabelRequestNotFound) String() string
- type SubmitShippingLabelRequestParams
- func NewSubmitShippingLabelRequestParams() *SubmitShippingLabelRequestParams
- func NewSubmitShippingLabelRequestParamsWithContext(ctx context.Context) *SubmitShippingLabelRequestParams
- func NewSubmitShippingLabelRequestParamsWithHTTPClient(client *http.Client) *SubmitShippingLabelRequestParams
- func NewSubmitShippingLabelRequestParamsWithTimeout(timeout time.Duration) *SubmitShippingLabelRequestParams
- func (o *SubmitShippingLabelRequestParams) SetBody(body *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsRequest)
- func (o *SubmitShippingLabelRequestParams) SetContext(ctx context.Context)
- func (o *SubmitShippingLabelRequestParams) SetDefaults()
- func (o *SubmitShippingLabelRequestParams) SetHTTPClient(client *http.Client)
- func (o *SubmitShippingLabelRequestParams) SetTimeout(timeout time.Duration)
- func (o *SubmitShippingLabelRequestParams) WithBody(body *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsRequest) *SubmitShippingLabelRequestParams
- func (o *SubmitShippingLabelRequestParams) WithContext(ctx context.Context) *SubmitShippingLabelRequestParams
- func (o *SubmitShippingLabelRequestParams) WithDefaults() *SubmitShippingLabelRequestParams
- func (o *SubmitShippingLabelRequestParams) WithHTTPClient(client *http.Client) *SubmitShippingLabelRequestParams
- func (o *SubmitShippingLabelRequestParams) WithTimeout(timeout time.Duration) *SubmitShippingLabelRequestParams
- func (o *SubmitShippingLabelRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitShippingLabelRequestReader
- type SubmitShippingLabelRequestRequestEntityTooLarge
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) Error() string
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsClientError() bool
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsRedirect() bool
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsServerError() bool
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsSuccess() bool
- func (o *SubmitShippingLabelRequestRequestEntityTooLarge) String() string
- type SubmitShippingLabelRequestServiceUnavailable
- func (o *SubmitShippingLabelRequestServiceUnavailable) Error() string
- func (o *SubmitShippingLabelRequestServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestServiceUnavailable) IsClientError() bool
- func (o *SubmitShippingLabelRequestServiceUnavailable) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestServiceUnavailable) IsRedirect() bool
- func (o *SubmitShippingLabelRequestServiceUnavailable) IsServerError() bool
- func (o *SubmitShippingLabelRequestServiceUnavailable) IsSuccess() bool
- func (o *SubmitShippingLabelRequestServiceUnavailable) String() string
- type SubmitShippingLabelRequestTooManyRequests
- func (o *SubmitShippingLabelRequestTooManyRequests) Error() string
- func (o *SubmitShippingLabelRequestTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestTooManyRequests) IsClientError() bool
- func (o *SubmitShippingLabelRequestTooManyRequests) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestTooManyRequests) IsRedirect() bool
- func (o *SubmitShippingLabelRequestTooManyRequests) IsServerError() bool
- func (o *SubmitShippingLabelRequestTooManyRequests) IsSuccess() bool
- func (o *SubmitShippingLabelRequestTooManyRequests) String() string
- type SubmitShippingLabelRequestUnsupportedMediaType
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) Error() string
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsClientError() bool
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsCode(code int) bool
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsRedirect() bool
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsServerError() bool
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsSuccess() bool
- func (o *SubmitShippingLabelRequestUnsupportedMediaType) 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 vendor shipping labels API
func (*Client) GetShippingLabel ¶
func (a *Client) GetShippingLabel(params *GetShippingLabelParams, opts ...ClientOption) (*GetShippingLabelOK, error)
GetShippingLabel Returns a shipping label for the purchaseOrderNumber that you specify.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetShippingLabels ¶
func (a *Client) GetShippingLabels(params *GetShippingLabelsParams, opts ...ClientOption) (*GetShippingLabelsOK, error)
GetShippingLabels Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must not be more than 7 days.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SubmitShippingLabelRequest ¶
func (a *Client) SubmitShippingLabelRequest(params *SubmitShippingLabelRequestParams, opts ...ClientOption) (*SubmitShippingLabelRequestAccepted, error)
SubmitShippingLabelRequest Creates a shipping label for a purchase order and returns a transactionId for reference.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetShippingLabel(params *GetShippingLabelParams, opts ...ClientOption) (*GetShippingLabelOK, error) GetShippingLabels(params *GetShippingLabelsParams, opts ...ClientOption) (*GetShippingLabelsOK, error) SubmitShippingLabelRequest(params *SubmitShippingLabelRequestParams, opts ...ClientOption) (*SubmitShippingLabelRequestAccepted, 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 vendor shipping labels API client.
type GetShippingLabelBadRequest ¶
type GetShippingLabelBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetShippingLabelBadRequest ¶
func NewGetShippingLabelBadRequest() *GetShippingLabelBadRequest
NewGetShippingLabelBadRequest creates a GetShippingLabelBadRequest with default headers values
func (*GetShippingLabelBadRequest) Error ¶
func (o *GetShippingLabelBadRequest) Error() string
func (*GetShippingLabelBadRequest) GetPayload ¶
func (o *GetShippingLabelBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelBadRequest) IsClientError ¶
func (o *GetShippingLabelBadRequest) IsClientError() bool
IsClientError returns true when this get shipping label bad request response has a 4xx status code
func (*GetShippingLabelBadRequest) IsCode ¶
func (o *GetShippingLabelBadRequest) IsCode(code int) bool
IsCode returns true when this get shipping label bad request response a status code equal to that given
func (*GetShippingLabelBadRequest) IsRedirect ¶
func (o *GetShippingLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this get shipping label bad request response has a 3xx status code
func (*GetShippingLabelBadRequest) IsServerError ¶
func (o *GetShippingLabelBadRequest) IsServerError() bool
IsServerError returns true when this get shipping label bad request response has a 5xx status code
func (*GetShippingLabelBadRequest) IsSuccess ¶
func (o *GetShippingLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this get shipping label bad request response has a 2xx status code
func (*GetShippingLabelBadRequest) String ¶
func (o *GetShippingLabelBadRequest) String() string
type GetShippingLabelForbidden ¶
type GetShippingLabelForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelForbidden 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 NewGetShippingLabelForbidden ¶
func NewGetShippingLabelForbidden() *GetShippingLabelForbidden
NewGetShippingLabelForbidden creates a GetShippingLabelForbidden with default headers values
func (*GetShippingLabelForbidden) Error ¶
func (o *GetShippingLabelForbidden) Error() string
func (*GetShippingLabelForbidden) GetPayload ¶
func (o *GetShippingLabelForbidden) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelForbidden) IsClientError ¶
func (o *GetShippingLabelForbidden) IsClientError() bool
IsClientError returns true when this get shipping label forbidden response has a 4xx status code
func (*GetShippingLabelForbidden) IsCode ¶
func (o *GetShippingLabelForbidden) IsCode(code int) bool
IsCode returns true when this get shipping label forbidden response a status code equal to that given
func (*GetShippingLabelForbidden) IsRedirect ¶
func (o *GetShippingLabelForbidden) IsRedirect() bool
IsRedirect returns true when this get shipping label forbidden response has a 3xx status code
func (*GetShippingLabelForbidden) IsServerError ¶
func (o *GetShippingLabelForbidden) IsServerError() bool
IsServerError returns true when this get shipping label forbidden response has a 5xx status code
func (*GetShippingLabelForbidden) IsSuccess ¶
func (o *GetShippingLabelForbidden) IsSuccess() bool
IsSuccess returns true when this get shipping label forbidden response has a 2xx status code
func (*GetShippingLabelForbidden) String ¶
func (o *GetShippingLabelForbidden) String() string
type GetShippingLabelInternalServerError ¶
type GetShippingLabelInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewGetShippingLabelInternalServerError ¶
func NewGetShippingLabelInternalServerError() *GetShippingLabelInternalServerError
NewGetShippingLabelInternalServerError creates a GetShippingLabelInternalServerError with default headers values
func (*GetShippingLabelInternalServerError) Error ¶
func (o *GetShippingLabelInternalServerError) Error() string
func (*GetShippingLabelInternalServerError) GetPayload ¶
func (o *GetShippingLabelInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelInternalServerError) IsClientError ¶
func (o *GetShippingLabelInternalServerError) IsClientError() bool
IsClientError returns true when this get shipping label internal server error response has a 4xx status code
func (*GetShippingLabelInternalServerError) IsCode ¶
func (o *GetShippingLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this get shipping label internal server error response a status code equal to that given
func (*GetShippingLabelInternalServerError) IsRedirect ¶
func (o *GetShippingLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this get shipping label internal server error response has a 3xx status code
func (*GetShippingLabelInternalServerError) IsServerError ¶
func (o *GetShippingLabelInternalServerError) IsServerError() bool
IsServerError returns true when this get shipping label internal server error response has a 5xx status code
func (*GetShippingLabelInternalServerError) IsSuccess ¶
func (o *GetShippingLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this get shipping label internal server error response has a 2xx status code
func (*GetShippingLabelInternalServerError) String ¶
func (o *GetShippingLabelInternalServerError) String() string
type GetShippingLabelNotFound ¶
type GetShippingLabelNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetShippingLabelNotFound ¶
func NewGetShippingLabelNotFound() *GetShippingLabelNotFound
NewGetShippingLabelNotFound creates a GetShippingLabelNotFound with default headers values
func (*GetShippingLabelNotFound) Error ¶
func (o *GetShippingLabelNotFound) Error() string
func (*GetShippingLabelNotFound) GetPayload ¶
func (o *GetShippingLabelNotFound) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelNotFound) IsClientError ¶
func (o *GetShippingLabelNotFound) IsClientError() bool
IsClientError returns true when this get shipping label not found response has a 4xx status code
func (*GetShippingLabelNotFound) IsCode ¶
func (o *GetShippingLabelNotFound) IsCode(code int) bool
IsCode returns true when this get shipping label not found response a status code equal to that given
func (*GetShippingLabelNotFound) IsRedirect ¶
func (o *GetShippingLabelNotFound) IsRedirect() bool
IsRedirect returns true when this get shipping label not found response has a 3xx status code
func (*GetShippingLabelNotFound) IsServerError ¶
func (o *GetShippingLabelNotFound) IsServerError() bool
IsServerError returns true when this get shipping label not found response has a 5xx status code
func (*GetShippingLabelNotFound) IsSuccess ¶
func (o *GetShippingLabelNotFound) IsSuccess() bool
IsSuccess returns true when this get shipping label not found response has a 2xx status code
func (*GetShippingLabelNotFound) String ¶
func (o *GetShippingLabelNotFound) String() string
type GetShippingLabelOK ¶
type GetShippingLabelOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelOK describes a response with status code 200, with default header values.
Success.
func NewGetShippingLabelOK ¶
func NewGetShippingLabelOK() *GetShippingLabelOK
NewGetShippingLabelOK creates a GetShippingLabelOK with default headers values
func (*GetShippingLabelOK) Error ¶
func (o *GetShippingLabelOK) Error() string
func (*GetShippingLabelOK) GetPayload ¶
func (o *GetShippingLabelOK) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelOK) IsClientError ¶
func (o *GetShippingLabelOK) IsClientError() bool
IsClientError returns true when this get shipping label o k response has a 4xx status code
func (*GetShippingLabelOK) IsCode ¶
func (o *GetShippingLabelOK) IsCode(code int) bool
IsCode returns true when this get shipping label o k response a status code equal to that given
func (*GetShippingLabelOK) IsRedirect ¶
func (o *GetShippingLabelOK) IsRedirect() bool
IsRedirect returns true when this get shipping label o k response has a 3xx status code
func (*GetShippingLabelOK) IsServerError ¶
func (o *GetShippingLabelOK) IsServerError() bool
IsServerError returns true when this get shipping label o k response has a 5xx status code
func (*GetShippingLabelOK) IsSuccess ¶
func (o *GetShippingLabelOK) IsSuccess() bool
IsSuccess returns true when this get shipping label o k response has a 2xx status code
func (*GetShippingLabelOK) String ¶
func (o *GetShippingLabelOK) String() string
type GetShippingLabelParams ¶
type GetShippingLabelParams struct { /* PurchaseOrderNumber. The purchase order number for which you want to return the shipping label. It should be the same purchaseOrderNumber as received in the order. */ PurchaseOrderNumber string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetShippingLabelParams contains all the parameters to send to the API endpoint
for the get shipping label operation. Typically these are written to a http.Request.
func NewGetShippingLabelParams ¶
func NewGetShippingLabelParams() *GetShippingLabelParams
NewGetShippingLabelParams creates a new GetShippingLabelParams 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 NewGetShippingLabelParamsWithContext ¶
func NewGetShippingLabelParamsWithContext(ctx context.Context) *GetShippingLabelParams
NewGetShippingLabelParamsWithContext creates a new GetShippingLabelParams object with the ability to set a context for a request.
func NewGetShippingLabelParamsWithHTTPClient ¶
func NewGetShippingLabelParamsWithHTTPClient(client *http.Client) *GetShippingLabelParams
NewGetShippingLabelParamsWithHTTPClient creates a new GetShippingLabelParams object with the ability to set a custom HTTPClient for a request.
func NewGetShippingLabelParamsWithTimeout ¶
func NewGetShippingLabelParamsWithTimeout(timeout time.Duration) *GetShippingLabelParams
NewGetShippingLabelParamsWithTimeout creates a new GetShippingLabelParams object with the ability to set a timeout on a request.
func (*GetShippingLabelParams) SetContext ¶
func (o *GetShippingLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the get shipping label params
func (*GetShippingLabelParams) SetDefaults ¶
func (o *GetShippingLabelParams) SetDefaults()
SetDefaults hydrates default values in the get shipping label params (not the query body).
All values with no default are reset to their zero value.
func (*GetShippingLabelParams) SetHTTPClient ¶
func (o *GetShippingLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get shipping label params
func (*GetShippingLabelParams) SetPurchaseOrderNumber ¶
func (o *GetShippingLabelParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
SetPurchaseOrderNumber adds the purchaseOrderNumber to the get shipping label params
func (*GetShippingLabelParams) SetTimeout ¶
func (o *GetShippingLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get shipping label params
func (*GetShippingLabelParams) WithContext ¶
func (o *GetShippingLabelParams) WithContext(ctx context.Context) *GetShippingLabelParams
WithContext adds the context to the get shipping label params
func (*GetShippingLabelParams) WithDefaults ¶
func (o *GetShippingLabelParams) WithDefaults() *GetShippingLabelParams
WithDefaults hydrates default values in the get shipping label params (not the query body).
All values with no default are reset to their zero value.
func (*GetShippingLabelParams) WithHTTPClient ¶
func (o *GetShippingLabelParams) WithHTTPClient(client *http.Client) *GetShippingLabelParams
WithHTTPClient adds the HTTPClient to the get shipping label params
func (*GetShippingLabelParams) WithPurchaseOrderNumber ¶
func (o *GetShippingLabelParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetShippingLabelParams
WithPurchaseOrderNumber adds the purchaseOrderNumber to the get shipping label params
func (*GetShippingLabelParams) WithTimeout ¶
func (o *GetShippingLabelParams) WithTimeout(timeout time.Duration) *GetShippingLabelParams
WithTimeout adds the timeout to the get shipping label params
func (*GetShippingLabelParams) WriteToRequest ¶
func (o *GetShippingLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetShippingLabelReader ¶
type GetShippingLabelReader struct {
// contains filtered or unexported fields
}
GetShippingLabelReader is a Reader for the GetShippingLabel structure.
func (*GetShippingLabelReader) ReadResponse ¶
func (o *GetShippingLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetShippingLabelServiceUnavailable ¶
GetShippingLabelServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetShippingLabelServiceUnavailable ¶
func NewGetShippingLabelServiceUnavailable() *GetShippingLabelServiceUnavailable
NewGetShippingLabelServiceUnavailable creates a GetShippingLabelServiceUnavailable with default headers values
func (*GetShippingLabelServiceUnavailable) Error ¶
func (o *GetShippingLabelServiceUnavailable) Error() string
func (*GetShippingLabelServiceUnavailable) GetPayload ¶
func (o *GetShippingLabelServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelServiceUnavailable) IsClientError ¶
func (o *GetShippingLabelServiceUnavailable) IsClientError() bool
IsClientError returns true when this get shipping label service unavailable response has a 4xx status code
func (*GetShippingLabelServiceUnavailable) IsCode ¶
func (o *GetShippingLabelServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get shipping label service unavailable response a status code equal to that given
func (*GetShippingLabelServiceUnavailable) IsRedirect ¶
func (o *GetShippingLabelServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get shipping label service unavailable response has a 3xx status code
func (*GetShippingLabelServiceUnavailable) IsServerError ¶
func (o *GetShippingLabelServiceUnavailable) IsServerError() bool
IsServerError returns true when this get shipping label service unavailable response has a 5xx status code
func (*GetShippingLabelServiceUnavailable) IsSuccess ¶
func (o *GetShippingLabelServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get shipping label service unavailable response has a 2xx status code
func (*GetShippingLabelServiceUnavailable) String ¶
func (o *GetShippingLabelServiceUnavailable) String() string
type GetShippingLabelTooManyRequests ¶
type GetShippingLabelTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetShippingLabelTooManyRequests ¶
func NewGetShippingLabelTooManyRequests() *GetShippingLabelTooManyRequests
NewGetShippingLabelTooManyRequests creates a GetShippingLabelTooManyRequests with default headers values
func (*GetShippingLabelTooManyRequests) Error ¶
func (o *GetShippingLabelTooManyRequests) Error() string
func (*GetShippingLabelTooManyRequests) GetPayload ¶
func (o *GetShippingLabelTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelTooManyRequests) IsClientError ¶
func (o *GetShippingLabelTooManyRequests) IsClientError() bool
IsClientError returns true when this get shipping label too many requests response has a 4xx status code
func (*GetShippingLabelTooManyRequests) IsCode ¶
func (o *GetShippingLabelTooManyRequests) IsCode(code int) bool
IsCode returns true when this get shipping label too many requests response a status code equal to that given
func (*GetShippingLabelTooManyRequests) IsRedirect ¶
func (o *GetShippingLabelTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get shipping label too many requests response has a 3xx status code
func (*GetShippingLabelTooManyRequests) IsServerError ¶
func (o *GetShippingLabelTooManyRequests) IsServerError() bool
IsServerError returns true when this get shipping label too many requests response has a 5xx status code
func (*GetShippingLabelTooManyRequests) IsSuccess ¶
func (o *GetShippingLabelTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get shipping label too many requests response has a 2xx status code
func (*GetShippingLabelTooManyRequests) String ¶
func (o *GetShippingLabelTooManyRequests) String() string
type GetShippingLabelUnauthorized ¶
GetShippingLabelUnauthorized 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 NewGetShippingLabelUnauthorized ¶
func NewGetShippingLabelUnauthorized() *GetShippingLabelUnauthorized
NewGetShippingLabelUnauthorized creates a GetShippingLabelUnauthorized with default headers values
func (*GetShippingLabelUnauthorized) Error ¶
func (o *GetShippingLabelUnauthorized) Error() string
func (*GetShippingLabelUnauthorized) GetPayload ¶
func (o *GetShippingLabelUnauthorized) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelUnauthorized) IsClientError ¶
func (o *GetShippingLabelUnauthorized) IsClientError() bool
IsClientError returns true when this get shipping label unauthorized response has a 4xx status code
func (*GetShippingLabelUnauthorized) IsCode ¶
func (o *GetShippingLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this get shipping label unauthorized response a status code equal to that given
func (*GetShippingLabelUnauthorized) IsRedirect ¶
func (o *GetShippingLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this get shipping label unauthorized response has a 3xx status code
func (*GetShippingLabelUnauthorized) IsServerError ¶
func (o *GetShippingLabelUnauthorized) IsServerError() bool
IsServerError returns true when this get shipping label unauthorized response has a 5xx status code
func (*GetShippingLabelUnauthorized) IsSuccess ¶
func (o *GetShippingLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this get shipping label unauthorized response has a 2xx status code
func (*GetShippingLabelUnauthorized) String ¶
func (o *GetShippingLabelUnauthorized) String() string
type GetShippingLabelUnsupportedMediaType ¶
type GetShippingLabelUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse }
GetShippingLabelUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetShippingLabelUnsupportedMediaType ¶
func NewGetShippingLabelUnsupportedMediaType() *GetShippingLabelUnsupportedMediaType
NewGetShippingLabelUnsupportedMediaType creates a GetShippingLabelUnsupportedMediaType with default headers values
func (*GetShippingLabelUnsupportedMediaType) Error ¶
func (o *GetShippingLabelUnsupportedMediaType) Error() string
func (*GetShippingLabelUnsupportedMediaType) GetPayload ¶
func (o *GetShippingLabelUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelResponse
func (*GetShippingLabelUnsupportedMediaType) IsClientError ¶
func (o *GetShippingLabelUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get shipping label unsupported media type response has a 4xx status code
func (*GetShippingLabelUnsupportedMediaType) IsCode ¶
func (o *GetShippingLabelUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get shipping label unsupported media type response a status code equal to that given
func (*GetShippingLabelUnsupportedMediaType) IsRedirect ¶
func (o *GetShippingLabelUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get shipping label unsupported media type response has a 3xx status code
func (*GetShippingLabelUnsupportedMediaType) IsServerError ¶
func (o *GetShippingLabelUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get shipping label unsupported media type response has a 5xx status code
func (*GetShippingLabelUnsupportedMediaType) IsSuccess ¶
func (o *GetShippingLabelUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get shipping label unsupported media type response has a 2xx status code
func (*GetShippingLabelUnsupportedMediaType) String ¶
func (o *GetShippingLabelUnsupportedMediaType) String() string
type GetShippingLabelsBadRequest ¶
type GetShippingLabelsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetShippingLabelsBadRequest ¶
func NewGetShippingLabelsBadRequest() *GetShippingLabelsBadRequest
NewGetShippingLabelsBadRequest creates a GetShippingLabelsBadRequest with default headers values
func (*GetShippingLabelsBadRequest) Error ¶
func (o *GetShippingLabelsBadRequest) Error() string
func (*GetShippingLabelsBadRequest) GetPayload ¶
func (o *GetShippingLabelsBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
func (*GetShippingLabelsBadRequest) IsClientError ¶
func (o *GetShippingLabelsBadRequest) IsClientError() bool
IsClientError returns true when this get shipping labels bad request response has a 4xx status code
func (*GetShippingLabelsBadRequest) IsCode ¶
func (o *GetShippingLabelsBadRequest) IsCode(code int) bool
IsCode returns true when this get shipping labels bad request response a status code equal to that given
func (*GetShippingLabelsBadRequest) IsRedirect ¶
func (o *GetShippingLabelsBadRequest) IsRedirect() bool
IsRedirect returns true when this get shipping labels bad request response has a 3xx status code
func (*GetShippingLabelsBadRequest) IsServerError ¶
func (o *GetShippingLabelsBadRequest) IsServerError() bool
IsServerError returns true when this get shipping labels bad request response has a 5xx status code
func (*GetShippingLabelsBadRequest) IsSuccess ¶
func (o *GetShippingLabelsBadRequest) IsSuccess() bool
IsSuccess returns true when this get shipping labels bad request response has a 2xx status code
func (*GetShippingLabelsBadRequest) String ¶
func (o *GetShippingLabelsBadRequest) String() string
type GetShippingLabelsForbidden ¶
type GetShippingLabelsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsForbidden 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 NewGetShippingLabelsForbidden ¶
func NewGetShippingLabelsForbidden() *GetShippingLabelsForbidden
NewGetShippingLabelsForbidden creates a GetShippingLabelsForbidden with default headers values
func (*GetShippingLabelsForbidden) Error ¶
func (o *GetShippingLabelsForbidden) Error() string
func (*GetShippingLabelsForbidden) GetPayload ¶
func (o *GetShippingLabelsForbidden) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
func (*GetShippingLabelsForbidden) IsClientError ¶
func (o *GetShippingLabelsForbidden) IsClientError() bool
IsClientError returns true when this get shipping labels forbidden response has a 4xx status code
func (*GetShippingLabelsForbidden) IsCode ¶
func (o *GetShippingLabelsForbidden) IsCode(code int) bool
IsCode returns true when this get shipping labels forbidden response a status code equal to that given
func (*GetShippingLabelsForbidden) IsRedirect ¶
func (o *GetShippingLabelsForbidden) IsRedirect() bool
IsRedirect returns true when this get shipping labels forbidden response has a 3xx status code
func (*GetShippingLabelsForbidden) IsServerError ¶
func (o *GetShippingLabelsForbidden) IsServerError() bool
IsServerError returns true when this get shipping labels forbidden response has a 5xx status code
func (*GetShippingLabelsForbidden) IsSuccess ¶
func (o *GetShippingLabelsForbidden) IsSuccess() bool
IsSuccess returns true when this get shipping labels forbidden response has a 2xx status code
func (*GetShippingLabelsForbidden) String ¶
func (o *GetShippingLabelsForbidden) String() string
type GetShippingLabelsInternalServerError ¶
type GetShippingLabelsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewGetShippingLabelsInternalServerError ¶
func NewGetShippingLabelsInternalServerError() *GetShippingLabelsInternalServerError
NewGetShippingLabelsInternalServerError creates a GetShippingLabelsInternalServerError with default headers values
func (*GetShippingLabelsInternalServerError) Error ¶
func (o *GetShippingLabelsInternalServerError) Error() string
func (*GetShippingLabelsInternalServerError) GetPayload ¶
func (*GetShippingLabelsInternalServerError) IsClientError ¶
func (o *GetShippingLabelsInternalServerError) IsClientError() bool
IsClientError returns true when this get shipping labels internal server error response has a 4xx status code
func (*GetShippingLabelsInternalServerError) IsCode ¶
func (o *GetShippingLabelsInternalServerError) IsCode(code int) bool
IsCode returns true when this get shipping labels internal server error response a status code equal to that given
func (*GetShippingLabelsInternalServerError) IsRedirect ¶
func (o *GetShippingLabelsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get shipping labels internal server error response has a 3xx status code
func (*GetShippingLabelsInternalServerError) IsServerError ¶
func (o *GetShippingLabelsInternalServerError) IsServerError() bool
IsServerError returns true when this get shipping labels internal server error response has a 5xx status code
func (*GetShippingLabelsInternalServerError) IsSuccess ¶
func (o *GetShippingLabelsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get shipping labels internal server error response has a 2xx status code
func (*GetShippingLabelsInternalServerError) String ¶
func (o *GetShippingLabelsInternalServerError) String() string
type GetShippingLabelsNotFound ¶
type GetShippingLabelsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetShippingLabelsNotFound ¶
func NewGetShippingLabelsNotFound() *GetShippingLabelsNotFound
NewGetShippingLabelsNotFound creates a GetShippingLabelsNotFound with default headers values
func (*GetShippingLabelsNotFound) Error ¶
func (o *GetShippingLabelsNotFound) Error() string
func (*GetShippingLabelsNotFound) GetPayload ¶
func (o *GetShippingLabelsNotFound) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
func (*GetShippingLabelsNotFound) IsClientError ¶
func (o *GetShippingLabelsNotFound) IsClientError() bool
IsClientError returns true when this get shipping labels not found response has a 4xx status code
func (*GetShippingLabelsNotFound) IsCode ¶
func (o *GetShippingLabelsNotFound) IsCode(code int) bool
IsCode returns true when this get shipping labels not found response a status code equal to that given
func (*GetShippingLabelsNotFound) IsRedirect ¶
func (o *GetShippingLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this get shipping labels not found response has a 3xx status code
func (*GetShippingLabelsNotFound) IsServerError ¶
func (o *GetShippingLabelsNotFound) IsServerError() bool
IsServerError returns true when this get shipping labels not found response has a 5xx status code
func (*GetShippingLabelsNotFound) IsSuccess ¶
func (o *GetShippingLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this get shipping labels not found response has a 2xx status code
func (*GetShippingLabelsNotFound) String ¶
func (o *GetShippingLabelsNotFound) String() string
type GetShippingLabelsOK ¶
type GetShippingLabelsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsOK describes a response with status code 200, with default header values.
Success.
func NewGetShippingLabelsOK ¶
func NewGetShippingLabelsOK() *GetShippingLabelsOK
NewGetShippingLabelsOK creates a GetShippingLabelsOK with default headers values
func (*GetShippingLabelsOK) Error ¶
func (o *GetShippingLabelsOK) Error() string
func (*GetShippingLabelsOK) GetPayload ¶
func (o *GetShippingLabelsOK) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
func (*GetShippingLabelsOK) IsClientError ¶
func (o *GetShippingLabelsOK) IsClientError() bool
IsClientError returns true when this get shipping labels o k response has a 4xx status code
func (*GetShippingLabelsOK) IsCode ¶
func (o *GetShippingLabelsOK) IsCode(code int) bool
IsCode returns true when this get shipping labels o k response a status code equal to that given
func (*GetShippingLabelsOK) IsRedirect ¶
func (o *GetShippingLabelsOK) IsRedirect() bool
IsRedirect returns true when this get shipping labels o k response has a 3xx status code
func (*GetShippingLabelsOK) IsServerError ¶
func (o *GetShippingLabelsOK) IsServerError() bool
IsServerError returns true when this get shipping labels o k response has a 5xx status code
func (*GetShippingLabelsOK) IsSuccess ¶
func (o *GetShippingLabelsOK) IsSuccess() bool
IsSuccess returns true when this get shipping labels o k response has a 2xx status code
func (*GetShippingLabelsOK) String ¶
func (o *GetShippingLabelsOK) String() string
type GetShippingLabelsParams ¶
type GetShippingLabelsParams struct { /* CreatedAfter. Shipping labels that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedAfter strfmt.DateTime /* CreatedBefore. Shipping labels that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedBefore strfmt.DateTime /* Limit. The limit to the number of records returned. */ Limit *int64 /* NextToken. Used for pagination when there are more ship labels than the specified result size limit. The token value is returned in the previous API call. */ NextToken *string /* ShipFromPartyID. The vendor warehouseId for order fulfillment. If not specified, the result will contain orders for all warehouses. */ ShipFromPartyID *string /* SortOrder. Sort ASC or DESC by order creation date. Default: "ASC" */ SortOrder *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetShippingLabelsParams contains all the parameters to send to the API endpoint
for the get shipping labels operation. Typically these are written to a http.Request.
func NewGetShippingLabelsParams ¶
func NewGetShippingLabelsParams() *GetShippingLabelsParams
NewGetShippingLabelsParams creates a new GetShippingLabelsParams 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 NewGetShippingLabelsParamsWithContext ¶
func NewGetShippingLabelsParamsWithContext(ctx context.Context) *GetShippingLabelsParams
NewGetShippingLabelsParamsWithContext creates a new GetShippingLabelsParams object with the ability to set a context for a request.
func NewGetShippingLabelsParamsWithHTTPClient ¶
func NewGetShippingLabelsParamsWithHTTPClient(client *http.Client) *GetShippingLabelsParams
NewGetShippingLabelsParamsWithHTTPClient creates a new GetShippingLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewGetShippingLabelsParamsWithTimeout ¶
func NewGetShippingLabelsParamsWithTimeout(timeout time.Duration) *GetShippingLabelsParams
NewGetShippingLabelsParamsWithTimeout creates a new GetShippingLabelsParams object with the ability to set a timeout on a request.
func (*GetShippingLabelsParams) SetContext ¶
func (o *GetShippingLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the get shipping labels params
func (*GetShippingLabelsParams) SetCreatedAfter ¶
func (o *GetShippingLabelsParams) SetCreatedAfter(createdAfter strfmt.DateTime)
SetCreatedAfter adds the createdAfter to the get shipping labels params
func (*GetShippingLabelsParams) SetCreatedBefore ¶
func (o *GetShippingLabelsParams) SetCreatedBefore(createdBefore strfmt.DateTime)
SetCreatedBefore adds the createdBefore to the get shipping labels params
func (*GetShippingLabelsParams) SetDefaults ¶
func (o *GetShippingLabelsParams) SetDefaults()
SetDefaults hydrates default values in the get shipping labels params (not the query body).
All values with no default are reset to their zero value.
func (*GetShippingLabelsParams) SetHTTPClient ¶
func (o *GetShippingLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get shipping labels params
func (*GetShippingLabelsParams) SetLimit ¶
func (o *GetShippingLabelsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get shipping labels params
func (*GetShippingLabelsParams) SetNextToken ¶
func (o *GetShippingLabelsParams) SetNextToken(nextToken *string)
SetNextToken adds the nextToken to the get shipping labels params
func (*GetShippingLabelsParams) SetShipFromPartyID ¶
func (o *GetShippingLabelsParams) SetShipFromPartyID(shipFromPartyID *string)
SetShipFromPartyID adds the shipFromPartyId to the get shipping labels params
func (*GetShippingLabelsParams) SetSortOrder ¶
func (o *GetShippingLabelsParams) SetSortOrder(sortOrder *string)
SetSortOrder adds the sortOrder to the get shipping labels params
func (*GetShippingLabelsParams) SetTimeout ¶
func (o *GetShippingLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get shipping labels params
func (*GetShippingLabelsParams) WithContext ¶
func (o *GetShippingLabelsParams) WithContext(ctx context.Context) *GetShippingLabelsParams
WithContext adds the context to the get shipping labels params
func (*GetShippingLabelsParams) WithCreatedAfter ¶
func (o *GetShippingLabelsParams) WithCreatedAfter(createdAfter strfmt.DateTime) *GetShippingLabelsParams
WithCreatedAfter adds the createdAfter to the get shipping labels params
func (*GetShippingLabelsParams) WithCreatedBefore ¶
func (o *GetShippingLabelsParams) WithCreatedBefore(createdBefore strfmt.DateTime) *GetShippingLabelsParams
WithCreatedBefore adds the createdBefore to the get shipping labels params
func (*GetShippingLabelsParams) WithDefaults ¶
func (o *GetShippingLabelsParams) WithDefaults() *GetShippingLabelsParams
WithDefaults hydrates default values in the get shipping labels params (not the query body).
All values with no default are reset to their zero value.
func (*GetShippingLabelsParams) WithHTTPClient ¶
func (o *GetShippingLabelsParams) WithHTTPClient(client *http.Client) *GetShippingLabelsParams
WithHTTPClient adds the HTTPClient to the get shipping labels params
func (*GetShippingLabelsParams) WithLimit ¶
func (o *GetShippingLabelsParams) WithLimit(limit *int64) *GetShippingLabelsParams
WithLimit adds the limit to the get shipping labels params
func (*GetShippingLabelsParams) WithNextToken ¶
func (o *GetShippingLabelsParams) WithNextToken(nextToken *string) *GetShippingLabelsParams
WithNextToken adds the nextToken to the get shipping labels params
func (*GetShippingLabelsParams) WithShipFromPartyID ¶
func (o *GetShippingLabelsParams) WithShipFromPartyID(shipFromPartyID *string) *GetShippingLabelsParams
WithShipFromPartyID adds the shipFromPartyID to the get shipping labels params
func (*GetShippingLabelsParams) WithSortOrder ¶
func (o *GetShippingLabelsParams) WithSortOrder(sortOrder *string) *GetShippingLabelsParams
WithSortOrder adds the sortOrder to the get shipping labels params
func (*GetShippingLabelsParams) WithTimeout ¶
func (o *GetShippingLabelsParams) WithTimeout(timeout time.Duration) *GetShippingLabelsParams
WithTimeout adds the timeout to the get shipping labels params
func (*GetShippingLabelsParams) WriteToRequest ¶
func (o *GetShippingLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetShippingLabelsReader ¶
type GetShippingLabelsReader struct {
// contains filtered or unexported fields
}
GetShippingLabelsReader is a Reader for the GetShippingLabels structure.
func (*GetShippingLabelsReader) ReadResponse ¶
func (o *GetShippingLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetShippingLabelsServiceUnavailable ¶
type GetShippingLabelsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetShippingLabelsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetShippingLabelsServiceUnavailable ¶
func NewGetShippingLabelsServiceUnavailable() *GetShippingLabelsServiceUnavailable
NewGetShippingLabelsServiceUnavailable creates a GetShippingLabelsServiceUnavailable with default headers values
func (*GetShippingLabelsServiceUnavailable) Error ¶
func (o *GetShippingLabelsServiceUnavailable) Error() string
func (*GetShippingLabelsServiceUnavailable) GetPayload ¶
func (*GetShippingLabelsServiceUnavailable) IsClientError ¶
func (o *GetShippingLabelsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get shipping labels service unavailable response has a 4xx status code
func (*GetShippingLabelsServiceUnavailable) IsCode ¶
func (o *GetShippingLabelsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get shipping labels service unavailable response a status code equal to that given
func (*GetShippingLabelsServiceUnavailable) IsRedirect ¶
func (o *GetShippingLabelsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get shipping labels service unavailable response has a 3xx status code
func (*GetShippingLabelsServiceUnavailable) IsServerError ¶
func (o *GetShippingLabelsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get shipping labels service unavailable response has a 5xx status code
func (*GetShippingLabelsServiceUnavailable) IsSuccess ¶
func (o *GetShippingLabelsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get shipping labels service unavailable response has a 2xx status code
func (*GetShippingLabelsServiceUnavailable) String ¶
func (o *GetShippingLabelsServiceUnavailable) String() string
type GetShippingLabelsTooManyRequests ¶
type GetShippingLabelsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetShippingLabelsTooManyRequests ¶
func NewGetShippingLabelsTooManyRequests() *GetShippingLabelsTooManyRequests
NewGetShippingLabelsTooManyRequests creates a GetShippingLabelsTooManyRequests with default headers values
func (*GetShippingLabelsTooManyRequests) Error ¶
func (o *GetShippingLabelsTooManyRequests) Error() string
func (*GetShippingLabelsTooManyRequests) GetPayload ¶
func (o *GetShippingLabelsTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse
func (*GetShippingLabelsTooManyRequests) IsClientError ¶
func (o *GetShippingLabelsTooManyRequests) IsClientError() bool
IsClientError returns true when this get shipping labels too many requests response has a 4xx status code
func (*GetShippingLabelsTooManyRequests) IsCode ¶
func (o *GetShippingLabelsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get shipping labels too many requests response a status code equal to that given
func (*GetShippingLabelsTooManyRequests) IsRedirect ¶
func (o *GetShippingLabelsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get shipping labels too many requests response has a 3xx status code
func (*GetShippingLabelsTooManyRequests) IsServerError ¶
func (o *GetShippingLabelsTooManyRequests) IsServerError() bool
IsServerError returns true when this get shipping labels too many requests response has a 5xx status code
func (*GetShippingLabelsTooManyRequests) IsSuccess ¶
func (o *GetShippingLabelsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get shipping labels too many requests response has a 2xx status code
func (*GetShippingLabelsTooManyRequests) String ¶
func (o *GetShippingLabelsTooManyRequests) String() string
type GetShippingLabelsUnsupportedMediaType ¶
type GetShippingLabelsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.GetShippingLabelListResponse }
GetShippingLabelsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetShippingLabelsUnsupportedMediaType ¶
func NewGetShippingLabelsUnsupportedMediaType() *GetShippingLabelsUnsupportedMediaType
NewGetShippingLabelsUnsupportedMediaType creates a GetShippingLabelsUnsupportedMediaType with default headers values
func (*GetShippingLabelsUnsupportedMediaType) Error ¶
func (o *GetShippingLabelsUnsupportedMediaType) Error() string
func (*GetShippingLabelsUnsupportedMediaType) GetPayload ¶
func (*GetShippingLabelsUnsupportedMediaType) IsClientError ¶
func (o *GetShippingLabelsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get shipping labels unsupported media type response has a 4xx status code
func (*GetShippingLabelsUnsupportedMediaType) IsCode ¶
func (o *GetShippingLabelsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get shipping labels unsupported media type response a status code equal to that given
func (*GetShippingLabelsUnsupportedMediaType) IsRedirect ¶
func (o *GetShippingLabelsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get shipping labels unsupported media type response has a 3xx status code
func (*GetShippingLabelsUnsupportedMediaType) IsServerError ¶
func (o *GetShippingLabelsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get shipping labels unsupported media type response has a 5xx status code
func (*GetShippingLabelsUnsupportedMediaType) IsSuccess ¶
func (o *GetShippingLabelsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get shipping labels unsupported media type response has a 2xx status code
func (*GetShippingLabelsUnsupportedMediaType) String ¶
func (o *GetShippingLabelsUnsupportedMediaType) String() string
type SubmitShippingLabelRequestAccepted ¶
type SubmitShippingLabelRequestAccepted struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestAccepted describes a response with status code 202, with default header values.
Success.
func NewSubmitShippingLabelRequestAccepted ¶
func NewSubmitShippingLabelRequestAccepted() *SubmitShippingLabelRequestAccepted
NewSubmitShippingLabelRequestAccepted creates a SubmitShippingLabelRequestAccepted with default headers values
func (*SubmitShippingLabelRequestAccepted) Error ¶
func (o *SubmitShippingLabelRequestAccepted) Error() string
func (*SubmitShippingLabelRequestAccepted) GetPayload ¶
func (*SubmitShippingLabelRequestAccepted) IsClientError ¶
func (o *SubmitShippingLabelRequestAccepted) IsClientError() bool
IsClientError returns true when this submit shipping label request accepted response has a 4xx status code
func (*SubmitShippingLabelRequestAccepted) IsCode ¶
func (o *SubmitShippingLabelRequestAccepted) IsCode(code int) bool
IsCode returns true when this submit shipping label request accepted response a status code equal to that given
func (*SubmitShippingLabelRequestAccepted) IsRedirect ¶
func (o *SubmitShippingLabelRequestAccepted) IsRedirect() bool
IsRedirect returns true when this submit shipping label request accepted response has a 3xx status code
func (*SubmitShippingLabelRequestAccepted) IsServerError ¶
func (o *SubmitShippingLabelRequestAccepted) IsServerError() bool
IsServerError returns true when this submit shipping label request accepted response has a 5xx status code
func (*SubmitShippingLabelRequestAccepted) IsSuccess ¶
func (o *SubmitShippingLabelRequestAccepted) IsSuccess() bool
IsSuccess returns true when this submit shipping label request accepted response has a 2xx status code
func (*SubmitShippingLabelRequestAccepted) String ¶
func (o *SubmitShippingLabelRequestAccepted) String() string
type SubmitShippingLabelRequestBadRequest ¶
type SubmitShippingLabelRequestBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewSubmitShippingLabelRequestBadRequest ¶
func NewSubmitShippingLabelRequestBadRequest() *SubmitShippingLabelRequestBadRequest
NewSubmitShippingLabelRequestBadRequest creates a SubmitShippingLabelRequestBadRequest with default headers values
func (*SubmitShippingLabelRequestBadRequest) Error ¶
func (o *SubmitShippingLabelRequestBadRequest) Error() string
func (*SubmitShippingLabelRequestBadRequest) GetPayload ¶
func (*SubmitShippingLabelRequestBadRequest) IsClientError ¶
func (o *SubmitShippingLabelRequestBadRequest) IsClientError() bool
IsClientError returns true when this submit shipping label request bad request response has a 4xx status code
func (*SubmitShippingLabelRequestBadRequest) IsCode ¶
func (o *SubmitShippingLabelRequestBadRequest) IsCode(code int) bool
IsCode returns true when this submit shipping label request bad request response a status code equal to that given
func (*SubmitShippingLabelRequestBadRequest) IsRedirect ¶
func (o *SubmitShippingLabelRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this submit shipping label request bad request response has a 3xx status code
func (*SubmitShippingLabelRequestBadRequest) IsServerError ¶
func (o *SubmitShippingLabelRequestBadRequest) IsServerError() bool
IsServerError returns true when this submit shipping label request bad request response has a 5xx status code
func (*SubmitShippingLabelRequestBadRequest) IsSuccess ¶
func (o *SubmitShippingLabelRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this submit shipping label request bad request response has a 2xx status code
func (*SubmitShippingLabelRequestBadRequest) String ¶
func (o *SubmitShippingLabelRequestBadRequest) String() string
type SubmitShippingLabelRequestForbidden ¶
type SubmitShippingLabelRequestForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestForbidden 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 NewSubmitShippingLabelRequestForbidden ¶
func NewSubmitShippingLabelRequestForbidden() *SubmitShippingLabelRequestForbidden
NewSubmitShippingLabelRequestForbidden creates a SubmitShippingLabelRequestForbidden with default headers values
func (*SubmitShippingLabelRequestForbidden) Error ¶
func (o *SubmitShippingLabelRequestForbidden) Error() string
func (*SubmitShippingLabelRequestForbidden) GetPayload ¶
func (*SubmitShippingLabelRequestForbidden) IsClientError ¶
func (o *SubmitShippingLabelRequestForbidden) IsClientError() bool
IsClientError returns true when this submit shipping label request forbidden response has a 4xx status code
func (*SubmitShippingLabelRequestForbidden) IsCode ¶
func (o *SubmitShippingLabelRequestForbidden) IsCode(code int) bool
IsCode returns true when this submit shipping label request forbidden response a status code equal to that given
func (*SubmitShippingLabelRequestForbidden) IsRedirect ¶
func (o *SubmitShippingLabelRequestForbidden) IsRedirect() bool
IsRedirect returns true when this submit shipping label request forbidden response has a 3xx status code
func (*SubmitShippingLabelRequestForbidden) IsServerError ¶
func (o *SubmitShippingLabelRequestForbidden) IsServerError() bool
IsServerError returns true when this submit shipping label request forbidden response has a 5xx status code
func (*SubmitShippingLabelRequestForbidden) IsSuccess ¶
func (o *SubmitShippingLabelRequestForbidden) IsSuccess() bool
IsSuccess returns true when this submit shipping label request forbidden response has a 2xx status code
func (*SubmitShippingLabelRequestForbidden) String ¶
func (o *SubmitShippingLabelRequestForbidden) String() string
type SubmitShippingLabelRequestInternalServerError ¶
type SubmitShippingLabelRequestInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewSubmitShippingLabelRequestInternalServerError ¶
func NewSubmitShippingLabelRequestInternalServerError() *SubmitShippingLabelRequestInternalServerError
NewSubmitShippingLabelRequestInternalServerError creates a SubmitShippingLabelRequestInternalServerError with default headers values
func (*SubmitShippingLabelRequestInternalServerError) Error ¶
func (o *SubmitShippingLabelRequestInternalServerError) Error() string
func (*SubmitShippingLabelRequestInternalServerError) GetPayload ¶
func (*SubmitShippingLabelRequestInternalServerError) IsClientError ¶
func (o *SubmitShippingLabelRequestInternalServerError) IsClientError() bool
IsClientError returns true when this submit shipping label request internal server error response has a 4xx status code
func (*SubmitShippingLabelRequestInternalServerError) IsCode ¶
func (o *SubmitShippingLabelRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this submit shipping label request internal server error response a status code equal to that given
func (*SubmitShippingLabelRequestInternalServerError) IsRedirect ¶
func (o *SubmitShippingLabelRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this submit shipping label request internal server error response has a 3xx status code
func (*SubmitShippingLabelRequestInternalServerError) IsServerError ¶
func (o *SubmitShippingLabelRequestInternalServerError) IsServerError() bool
IsServerError returns true when this submit shipping label request internal server error response has a 5xx status code
func (*SubmitShippingLabelRequestInternalServerError) IsSuccess ¶
func (o *SubmitShippingLabelRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this submit shipping label request internal server error response has a 2xx status code
func (*SubmitShippingLabelRequestInternalServerError) String ¶
func (o *SubmitShippingLabelRequestInternalServerError) String() string
type SubmitShippingLabelRequestNotFound ¶
type SubmitShippingLabelRequestNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewSubmitShippingLabelRequestNotFound ¶
func NewSubmitShippingLabelRequestNotFound() *SubmitShippingLabelRequestNotFound
NewSubmitShippingLabelRequestNotFound creates a SubmitShippingLabelRequestNotFound with default headers values
func (*SubmitShippingLabelRequestNotFound) Error ¶
func (o *SubmitShippingLabelRequestNotFound) Error() string
func (*SubmitShippingLabelRequestNotFound) GetPayload ¶
func (*SubmitShippingLabelRequestNotFound) IsClientError ¶
func (o *SubmitShippingLabelRequestNotFound) IsClientError() bool
IsClientError returns true when this submit shipping label request not found response has a 4xx status code
func (*SubmitShippingLabelRequestNotFound) IsCode ¶
func (o *SubmitShippingLabelRequestNotFound) IsCode(code int) bool
IsCode returns true when this submit shipping label request not found response a status code equal to that given
func (*SubmitShippingLabelRequestNotFound) IsRedirect ¶
func (o *SubmitShippingLabelRequestNotFound) IsRedirect() bool
IsRedirect returns true when this submit shipping label request not found response has a 3xx status code
func (*SubmitShippingLabelRequestNotFound) IsServerError ¶
func (o *SubmitShippingLabelRequestNotFound) IsServerError() bool
IsServerError returns true when this submit shipping label request not found response has a 5xx status code
func (*SubmitShippingLabelRequestNotFound) IsSuccess ¶
func (o *SubmitShippingLabelRequestNotFound) IsSuccess() bool
IsSuccess returns true when this submit shipping label request not found response has a 2xx status code
func (*SubmitShippingLabelRequestNotFound) String ¶
func (o *SubmitShippingLabelRequestNotFound) String() string
type SubmitShippingLabelRequestParams ¶
type SubmitShippingLabelRequestParams struct { // Body. Body *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubmitShippingLabelRequestParams contains all the parameters to send to the API endpoint
for the submit shipping label request operation. Typically these are written to a http.Request.
func NewSubmitShippingLabelRequestParams ¶
func NewSubmitShippingLabelRequestParams() *SubmitShippingLabelRequestParams
NewSubmitShippingLabelRequestParams creates a new SubmitShippingLabelRequestParams 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 NewSubmitShippingLabelRequestParamsWithContext ¶
func NewSubmitShippingLabelRequestParamsWithContext(ctx context.Context) *SubmitShippingLabelRequestParams
NewSubmitShippingLabelRequestParamsWithContext creates a new SubmitShippingLabelRequestParams object with the ability to set a context for a request.
func NewSubmitShippingLabelRequestParamsWithHTTPClient ¶
func NewSubmitShippingLabelRequestParamsWithHTTPClient(client *http.Client) *SubmitShippingLabelRequestParams
NewSubmitShippingLabelRequestParamsWithHTTPClient creates a new SubmitShippingLabelRequestParams object with the ability to set a custom HTTPClient for a request.
func NewSubmitShippingLabelRequestParamsWithTimeout ¶
func NewSubmitShippingLabelRequestParamsWithTimeout(timeout time.Duration) *SubmitShippingLabelRequestParams
NewSubmitShippingLabelRequestParamsWithTimeout creates a new SubmitShippingLabelRequestParams object with the ability to set a timeout on a request.
func (*SubmitShippingLabelRequestParams) SetBody ¶
func (o *SubmitShippingLabelRequestParams) SetBody(body *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsRequest)
SetBody adds the body to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) SetContext ¶
func (o *SubmitShippingLabelRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) SetDefaults ¶
func (o *SubmitShippingLabelRequestParams) SetDefaults()
SetDefaults hydrates default values in the submit shipping label request params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitShippingLabelRequestParams) SetHTTPClient ¶
func (o *SubmitShippingLabelRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) SetTimeout ¶
func (o *SubmitShippingLabelRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) WithBody ¶
func (o *SubmitShippingLabelRequestParams) WithBody(body *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsRequest) *SubmitShippingLabelRequestParams
WithBody adds the body to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) WithContext ¶
func (o *SubmitShippingLabelRequestParams) WithContext(ctx context.Context) *SubmitShippingLabelRequestParams
WithContext adds the context to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) WithDefaults ¶
func (o *SubmitShippingLabelRequestParams) WithDefaults() *SubmitShippingLabelRequestParams
WithDefaults hydrates default values in the submit shipping label request params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitShippingLabelRequestParams) WithHTTPClient ¶
func (o *SubmitShippingLabelRequestParams) WithHTTPClient(client *http.Client) *SubmitShippingLabelRequestParams
WithHTTPClient adds the HTTPClient to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) WithTimeout ¶
func (o *SubmitShippingLabelRequestParams) WithTimeout(timeout time.Duration) *SubmitShippingLabelRequestParams
WithTimeout adds the timeout to the submit shipping label request params
func (*SubmitShippingLabelRequestParams) WriteToRequest ¶
func (o *SubmitShippingLabelRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubmitShippingLabelRequestReader ¶
type SubmitShippingLabelRequestReader struct {
// contains filtered or unexported fields
}
SubmitShippingLabelRequestReader is a Reader for the SubmitShippingLabelRequest structure.
func (*SubmitShippingLabelRequestReader) ReadResponse ¶
func (o *SubmitShippingLabelRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubmitShippingLabelRequestRequestEntityTooLarge ¶
type SubmitShippingLabelRequestRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewSubmitShippingLabelRequestRequestEntityTooLarge ¶
func NewSubmitShippingLabelRequestRequestEntityTooLarge() *SubmitShippingLabelRequestRequestEntityTooLarge
NewSubmitShippingLabelRequestRequestEntityTooLarge creates a SubmitShippingLabelRequestRequestEntityTooLarge with default headers values
func (*SubmitShippingLabelRequestRequestEntityTooLarge) Error ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) Error() string
func (*SubmitShippingLabelRequestRequestEntityTooLarge) GetPayload ¶
func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsClientError ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this submit shipping label request request entity too large response has a 4xx status code
func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsCode ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this submit shipping label request request entity too large response a status code equal to that given
func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsRedirect ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this submit shipping label request request entity too large response has a 3xx status code
func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsServerError ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this submit shipping label request request entity too large response has a 5xx status code
func (*SubmitShippingLabelRequestRequestEntityTooLarge) IsSuccess ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this submit shipping label request request entity too large response has a 2xx status code
func (*SubmitShippingLabelRequestRequestEntityTooLarge) String ¶
func (o *SubmitShippingLabelRequestRequestEntityTooLarge) String() string
type SubmitShippingLabelRequestServiceUnavailable ¶
type SubmitShippingLabelRequestServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
SubmitShippingLabelRequestServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewSubmitShippingLabelRequestServiceUnavailable ¶
func NewSubmitShippingLabelRequestServiceUnavailable() *SubmitShippingLabelRequestServiceUnavailable
NewSubmitShippingLabelRequestServiceUnavailable creates a SubmitShippingLabelRequestServiceUnavailable with default headers values
func (*SubmitShippingLabelRequestServiceUnavailable) Error ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) Error() string
func (*SubmitShippingLabelRequestServiceUnavailable) GetPayload ¶
func (*SubmitShippingLabelRequestServiceUnavailable) IsClientError ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) IsClientError() bool
IsClientError returns true when this submit shipping label request service unavailable response has a 4xx status code
func (*SubmitShippingLabelRequestServiceUnavailable) IsCode ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) IsCode(code int) bool
IsCode returns true when this submit shipping label request service unavailable response a status code equal to that given
func (*SubmitShippingLabelRequestServiceUnavailable) IsRedirect ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this submit shipping label request service unavailable response has a 3xx status code
func (*SubmitShippingLabelRequestServiceUnavailable) IsServerError ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) IsServerError() bool
IsServerError returns true when this submit shipping label request service unavailable response has a 5xx status code
func (*SubmitShippingLabelRequestServiceUnavailable) IsSuccess ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this submit shipping label request service unavailable response has a 2xx status code
func (*SubmitShippingLabelRequestServiceUnavailable) String ¶
func (o *SubmitShippingLabelRequestServiceUnavailable) String() string
type SubmitShippingLabelRequestTooManyRequests ¶
type SubmitShippingLabelRequestTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewSubmitShippingLabelRequestTooManyRequests ¶
func NewSubmitShippingLabelRequestTooManyRequests() *SubmitShippingLabelRequestTooManyRequests
NewSubmitShippingLabelRequestTooManyRequests creates a SubmitShippingLabelRequestTooManyRequests with default headers values
func (*SubmitShippingLabelRequestTooManyRequests) Error ¶
func (o *SubmitShippingLabelRequestTooManyRequests) Error() string
func (*SubmitShippingLabelRequestTooManyRequests) GetPayload ¶
func (*SubmitShippingLabelRequestTooManyRequests) IsClientError ¶
func (o *SubmitShippingLabelRequestTooManyRequests) IsClientError() bool
IsClientError returns true when this submit shipping label request too many requests response has a 4xx status code
func (*SubmitShippingLabelRequestTooManyRequests) IsCode ¶
func (o *SubmitShippingLabelRequestTooManyRequests) IsCode(code int) bool
IsCode returns true when this submit shipping label request too many requests response a status code equal to that given
func (*SubmitShippingLabelRequestTooManyRequests) IsRedirect ¶
func (o *SubmitShippingLabelRequestTooManyRequests) IsRedirect() bool
IsRedirect returns true when this submit shipping label request too many requests response has a 3xx status code
func (*SubmitShippingLabelRequestTooManyRequests) IsServerError ¶
func (o *SubmitShippingLabelRequestTooManyRequests) IsServerError() bool
IsServerError returns true when this submit shipping label request too many requests response has a 5xx status code
func (*SubmitShippingLabelRequestTooManyRequests) IsSuccess ¶
func (o *SubmitShippingLabelRequestTooManyRequests) IsSuccess() bool
IsSuccess returns true when this submit shipping label request too many requests response has a 2xx status code
func (*SubmitShippingLabelRequestTooManyRequests) String ¶
func (o *SubmitShippingLabelRequestTooManyRequests) String() string
type SubmitShippingLabelRequestUnsupportedMediaType ¶
type SubmitShippingLabelRequestUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_v1_models.SubmitShippingLabelsResponse }
SubmitShippingLabelRequestUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewSubmitShippingLabelRequestUnsupportedMediaType ¶
func NewSubmitShippingLabelRequestUnsupportedMediaType() *SubmitShippingLabelRequestUnsupportedMediaType
NewSubmitShippingLabelRequestUnsupportedMediaType creates a SubmitShippingLabelRequestUnsupportedMediaType with default headers values
func (*SubmitShippingLabelRequestUnsupportedMediaType) Error ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) Error() string
func (*SubmitShippingLabelRequestUnsupportedMediaType) GetPayload ¶
func (*SubmitShippingLabelRequestUnsupportedMediaType) IsClientError ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this submit shipping label request unsupported media type response has a 4xx status code
func (*SubmitShippingLabelRequestUnsupportedMediaType) IsCode ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this submit shipping label request unsupported media type response a status code equal to that given
func (*SubmitShippingLabelRequestUnsupportedMediaType) IsRedirect ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this submit shipping label request unsupported media type response has a 3xx status code
func (*SubmitShippingLabelRequestUnsupportedMediaType) IsServerError ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this submit shipping label request unsupported media type response has a 5xx status code
func (*SubmitShippingLabelRequestUnsupportedMediaType) IsSuccess ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this submit shipping label request unsupported media type response has a 2xx status code
func (*SubmitShippingLabelRequestUnsupportedMediaType) String ¶
func (o *SubmitShippingLabelRequestUnsupportedMediaType) String() string