shipping

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelShipmentBadRequest

type CancelShipmentBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewCancelShipmentBadRequest

func NewCancelShipmentBadRequest() *CancelShipmentBadRequest

NewCancelShipmentBadRequest creates a CancelShipmentBadRequest with default headers values

func (*CancelShipmentBadRequest) Error

func (o *CancelShipmentBadRequest) Error() string

func (*CancelShipmentBadRequest) GetPayload

func (*CancelShipmentBadRequest) IsClientError

func (o *CancelShipmentBadRequest) IsClientError() bool

IsClientError returns true when this cancel shipment bad request response has a 4xx status code

func (*CancelShipmentBadRequest) IsCode

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

IsCode returns true when this cancel shipment bad request response a status code equal to that given

func (*CancelShipmentBadRequest) IsRedirect

func (o *CancelShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this cancel shipment bad request response has a 3xx status code

func (*CancelShipmentBadRequest) IsServerError

func (o *CancelShipmentBadRequest) IsServerError() bool

IsServerError returns true when this cancel shipment bad request response has a 5xx status code

func (*CancelShipmentBadRequest) IsSuccess

func (o *CancelShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this cancel shipment bad request response has a 2xx status code

func (*CancelShipmentBadRequest) String

func (o *CancelShipmentBadRequest) String() string

type CancelShipmentForbidden

type CancelShipmentForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

CancelShipmentForbidden 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 NewCancelShipmentForbidden

func NewCancelShipmentForbidden() *CancelShipmentForbidden

NewCancelShipmentForbidden creates a CancelShipmentForbidden with default headers values

func (*CancelShipmentForbidden) Error

func (o *CancelShipmentForbidden) Error() string

func (*CancelShipmentForbidden) GetPayload

func (*CancelShipmentForbidden) IsClientError

func (o *CancelShipmentForbidden) IsClientError() bool

IsClientError returns true when this cancel shipment forbidden response has a 4xx status code

func (*CancelShipmentForbidden) IsCode

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

IsCode returns true when this cancel shipment forbidden response a status code equal to that given

func (*CancelShipmentForbidden) IsRedirect

func (o *CancelShipmentForbidden) IsRedirect() bool

IsRedirect returns true when this cancel shipment forbidden response has a 3xx status code

func (*CancelShipmentForbidden) IsServerError

func (o *CancelShipmentForbidden) IsServerError() bool

IsServerError returns true when this cancel shipment forbidden response has a 5xx status code

func (*CancelShipmentForbidden) IsSuccess

func (o *CancelShipmentForbidden) IsSuccess() bool

IsSuccess returns true when this cancel shipment forbidden response has a 2xx status code

func (*CancelShipmentForbidden) String

func (o *CancelShipmentForbidden) String() string

type CancelShipmentInternalServerError

type CancelShipmentInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewCancelShipmentInternalServerError

func NewCancelShipmentInternalServerError() *CancelShipmentInternalServerError

NewCancelShipmentInternalServerError creates a CancelShipmentInternalServerError with default headers values

func (*CancelShipmentInternalServerError) Error

func (*CancelShipmentInternalServerError) GetPayload

func (*CancelShipmentInternalServerError) IsClientError

func (o *CancelShipmentInternalServerError) IsClientError() bool

IsClientError returns true when this cancel shipment internal server error response has a 4xx status code

func (*CancelShipmentInternalServerError) IsCode

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

IsCode returns true when this cancel shipment internal server error response a status code equal to that given

func (*CancelShipmentInternalServerError) IsRedirect

func (o *CancelShipmentInternalServerError) IsRedirect() bool

IsRedirect returns true when this cancel shipment internal server error response has a 3xx status code

func (*CancelShipmentInternalServerError) IsServerError

func (o *CancelShipmentInternalServerError) IsServerError() bool

IsServerError returns true when this cancel shipment internal server error response has a 5xx status code

func (*CancelShipmentInternalServerError) IsSuccess

func (o *CancelShipmentInternalServerError) IsSuccess() bool

IsSuccess returns true when this cancel shipment internal server error response has a 2xx status code

func (*CancelShipmentInternalServerError) String

type CancelShipmentNotFound

type CancelShipmentNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewCancelShipmentNotFound

func NewCancelShipmentNotFound() *CancelShipmentNotFound

NewCancelShipmentNotFound creates a CancelShipmentNotFound with default headers values

func (*CancelShipmentNotFound) Error

func (o *CancelShipmentNotFound) Error() string

func (*CancelShipmentNotFound) GetPayload

func (*CancelShipmentNotFound) IsClientError

func (o *CancelShipmentNotFound) IsClientError() bool

IsClientError returns true when this cancel shipment not found response has a 4xx status code

func (*CancelShipmentNotFound) IsCode

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

IsCode returns true when this cancel shipment not found response a status code equal to that given

func (*CancelShipmentNotFound) IsRedirect

func (o *CancelShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this cancel shipment not found response has a 3xx status code

func (*CancelShipmentNotFound) IsServerError

func (o *CancelShipmentNotFound) IsServerError() bool

IsServerError returns true when this cancel shipment not found response has a 5xx status code

func (*CancelShipmentNotFound) IsSuccess

func (o *CancelShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this cancel shipment not found response has a 2xx status code

func (*CancelShipmentNotFound) String

func (o *CancelShipmentNotFound) String() string

type CancelShipmentOK

type CancelShipmentOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.CancelShipmentResponse
}

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

Success.

func NewCancelShipmentOK

func NewCancelShipmentOK() *CancelShipmentOK

NewCancelShipmentOK creates a CancelShipmentOK with default headers values

func (*CancelShipmentOK) Error

func (o *CancelShipmentOK) Error() string

func (*CancelShipmentOK) GetPayload

func (*CancelShipmentOK) IsClientError

func (o *CancelShipmentOK) IsClientError() bool

IsClientError returns true when this cancel shipment o k response has a 4xx status code

func (*CancelShipmentOK) IsCode

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

IsCode returns true when this cancel shipment o k response a status code equal to that given

func (*CancelShipmentOK) IsRedirect

func (o *CancelShipmentOK) IsRedirect() bool

IsRedirect returns true when this cancel shipment o k response has a 3xx status code

func (*CancelShipmentOK) IsServerError

func (o *CancelShipmentOK) IsServerError() bool

IsServerError returns true when this cancel shipment o k response has a 5xx status code

func (*CancelShipmentOK) IsSuccess

func (o *CancelShipmentOK) IsSuccess() bool

IsSuccess returns true when this cancel shipment o k response has a 2xx status code

func (*CancelShipmentOK) String

func (o *CancelShipmentOK) String() string

type CancelShipmentParams

type CancelShipmentParams struct {

	/* ShipmentID.

	   The shipment identifier originally returned by the purchaseShipment operation.
	*/
	ShipmentID string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

CancelShipmentParams contains all the parameters to send to the API endpoint

for the cancel shipment operation.

Typically these are written to a http.Request.

func NewCancelShipmentParams

func NewCancelShipmentParams() *CancelShipmentParams

NewCancelShipmentParams creates a new CancelShipmentParams 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 NewCancelShipmentParamsWithContext

func NewCancelShipmentParamsWithContext(ctx context.Context) *CancelShipmentParams

NewCancelShipmentParamsWithContext creates a new CancelShipmentParams object with the ability to set a context for a request.

func NewCancelShipmentParamsWithHTTPClient

func NewCancelShipmentParamsWithHTTPClient(client *http.Client) *CancelShipmentParams

NewCancelShipmentParamsWithHTTPClient creates a new CancelShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewCancelShipmentParamsWithTimeout

func NewCancelShipmentParamsWithTimeout(timeout time.Duration) *CancelShipmentParams

NewCancelShipmentParamsWithTimeout creates a new CancelShipmentParams object with the ability to set a timeout on a request.

func (*CancelShipmentParams) SetContext

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

SetContext adds the context to the cancel shipment params

func (*CancelShipmentParams) SetDefaults

func (o *CancelShipmentParams) SetDefaults()

SetDefaults hydrates default values in the cancel shipment params (not the query body).

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

func (*CancelShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel shipment params

func (*CancelShipmentParams) SetShipmentID

func (o *CancelShipmentParams) SetShipmentID(shipmentID string)

SetShipmentID adds the shipmentId to the cancel shipment params

func (*CancelShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the cancel shipment params

func (*CancelShipmentParams) SetXAmznShippingBusinessID

func (o *CancelShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the cancel shipment params

func (*CancelShipmentParams) WithContext

WithContext adds the context to the cancel shipment params

func (*CancelShipmentParams) WithDefaults

func (o *CancelShipmentParams) WithDefaults() *CancelShipmentParams

WithDefaults hydrates default values in the cancel shipment params (not the query body).

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

func (*CancelShipmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cancel shipment params

func (*CancelShipmentParams) WithShipmentID

func (o *CancelShipmentParams) WithShipmentID(shipmentID string) *CancelShipmentParams

WithShipmentID adds the shipmentID to the cancel shipment params

func (*CancelShipmentParams) WithTimeout

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

WithTimeout adds the timeout to the cancel shipment params

func (*CancelShipmentParams) WithXAmznShippingBusinessID

func (o *CancelShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *CancelShipmentParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the cancel shipment params

func (*CancelShipmentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CancelShipmentReader

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

CancelShipmentReader is a Reader for the CancelShipment structure.

func (*CancelShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelShipmentRequestEntityTooLarge

type CancelShipmentRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewCancelShipmentRequestEntityTooLarge

func NewCancelShipmentRequestEntityTooLarge() *CancelShipmentRequestEntityTooLarge

NewCancelShipmentRequestEntityTooLarge creates a CancelShipmentRequestEntityTooLarge with default headers values

func (*CancelShipmentRequestEntityTooLarge) Error

func (*CancelShipmentRequestEntityTooLarge) GetPayload

func (*CancelShipmentRequestEntityTooLarge) IsClientError

func (o *CancelShipmentRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this cancel shipment request entity too large response has a 4xx status code

func (*CancelShipmentRequestEntityTooLarge) IsCode

IsCode returns true when this cancel shipment request entity too large response a status code equal to that given

func (*CancelShipmentRequestEntityTooLarge) IsRedirect

func (o *CancelShipmentRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this cancel shipment request entity too large response has a 3xx status code

func (*CancelShipmentRequestEntityTooLarge) IsServerError

func (o *CancelShipmentRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this cancel shipment request entity too large response has a 5xx status code

func (*CancelShipmentRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this cancel shipment request entity too large response has a 2xx status code

func (*CancelShipmentRequestEntityTooLarge) String

type CancelShipmentServiceUnavailable

type CancelShipmentServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewCancelShipmentServiceUnavailable

func NewCancelShipmentServiceUnavailable() *CancelShipmentServiceUnavailable

NewCancelShipmentServiceUnavailable creates a CancelShipmentServiceUnavailable with default headers values

func (*CancelShipmentServiceUnavailable) Error

func (*CancelShipmentServiceUnavailable) GetPayload

func (*CancelShipmentServiceUnavailable) IsClientError

func (o *CancelShipmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this cancel shipment service unavailable response has a 4xx status code

func (*CancelShipmentServiceUnavailable) IsCode

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

IsCode returns true when this cancel shipment service unavailable response a status code equal to that given

func (*CancelShipmentServiceUnavailable) IsRedirect

func (o *CancelShipmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this cancel shipment service unavailable response has a 3xx status code

func (*CancelShipmentServiceUnavailable) IsServerError

func (o *CancelShipmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this cancel shipment service unavailable response has a 5xx status code

func (*CancelShipmentServiceUnavailable) IsSuccess

func (o *CancelShipmentServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this cancel shipment service unavailable response has a 2xx status code

func (*CancelShipmentServiceUnavailable) String

type CancelShipmentTooManyRequests

type CancelShipmentTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewCancelShipmentTooManyRequests

func NewCancelShipmentTooManyRequests() *CancelShipmentTooManyRequests

NewCancelShipmentTooManyRequests creates a CancelShipmentTooManyRequests with default headers values

func (*CancelShipmentTooManyRequests) Error

func (*CancelShipmentTooManyRequests) GetPayload

func (*CancelShipmentTooManyRequests) IsClientError

func (o *CancelShipmentTooManyRequests) IsClientError() bool

IsClientError returns true when this cancel shipment too many requests response has a 4xx status code

func (*CancelShipmentTooManyRequests) IsCode

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

IsCode returns true when this cancel shipment too many requests response a status code equal to that given

func (*CancelShipmentTooManyRequests) IsRedirect

func (o *CancelShipmentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this cancel shipment too many requests response has a 3xx status code

func (*CancelShipmentTooManyRequests) IsServerError

func (o *CancelShipmentTooManyRequests) IsServerError() bool

IsServerError returns true when this cancel shipment too many requests response has a 5xx status code

func (*CancelShipmentTooManyRequests) IsSuccess

func (o *CancelShipmentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this cancel shipment too many requests response has a 2xx status code

func (*CancelShipmentTooManyRequests) String

type CancelShipmentUnauthorized

type CancelShipmentUnauthorized 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 *shipping_v2_models.ErrorList
}

CancelShipmentUnauthorized 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 NewCancelShipmentUnauthorized

func NewCancelShipmentUnauthorized() *CancelShipmentUnauthorized

NewCancelShipmentUnauthorized creates a CancelShipmentUnauthorized with default headers values

func (*CancelShipmentUnauthorized) Error

func (*CancelShipmentUnauthorized) GetPayload

func (*CancelShipmentUnauthorized) IsClientError

func (o *CancelShipmentUnauthorized) IsClientError() bool

IsClientError returns true when this cancel shipment unauthorized response has a 4xx status code

func (*CancelShipmentUnauthorized) IsCode

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

IsCode returns true when this cancel shipment unauthorized response a status code equal to that given

func (*CancelShipmentUnauthorized) IsRedirect

func (o *CancelShipmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this cancel shipment unauthorized response has a 3xx status code

func (*CancelShipmentUnauthorized) IsServerError

func (o *CancelShipmentUnauthorized) IsServerError() bool

IsServerError returns true when this cancel shipment unauthorized response has a 5xx status code

func (*CancelShipmentUnauthorized) IsSuccess

func (o *CancelShipmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this cancel shipment unauthorized response has a 2xx status code

func (*CancelShipmentUnauthorized) String

func (o *CancelShipmentUnauthorized) String() string

type CancelShipmentUnsupportedMediaType

type CancelShipmentUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewCancelShipmentUnsupportedMediaType

func NewCancelShipmentUnsupportedMediaType() *CancelShipmentUnsupportedMediaType

NewCancelShipmentUnsupportedMediaType creates a CancelShipmentUnsupportedMediaType with default headers values

func (*CancelShipmentUnsupportedMediaType) Error

func (*CancelShipmentUnsupportedMediaType) GetPayload

func (*CancelShipmentUnsupportedMediaType) IsClientError

func (o *CancelShipmentUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this cancel shipment unsupported media type response has a 4xx status code

func (*CancelShipmentUnsupportedMediaType) IsCode

IsCode returns true when this cancel shipment unsupported media type response a status code equal to that given

func (*CancelShipmentUnsupportedMediaType) IsRedirect

func (o *CancelShipmentUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this cancel shipment unsupported media type response has a 3xx status code

func (*CancelShipmentUnsupportedMediaType) IsServerError

func (o *CancelShipmentUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this cancel shipment unsupported media type response has a 5xx status code

func (*CancelShipmentUnsupportedMediaType) IsSuccess

IsSuccess returns true when this cancel shipment unsupported media type response has a 2xx status code

func (*CancelShipmentUnsupportedMediaType) String

type Client

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

Client for shipping API

func (*Client) CancelShipment

func (a *Client) CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error)
CancelShipment Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) DirectPurchaseShipment

func (a *Client) DirectPurchaseShipment(params *DirectPurchaseShipmentParams, opts ...ClientOption) (*DirectPurchaseShipmentOK, error)
DirectPurchaseShipment Purchases the shipping service for a shipment using the best fit service offering. Returns purchase related details and documents.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GenerateCollectionForm

func (a *Client) GenerateCollectionForm(params *GenerateCollectionFormParams, opts ...ClientOption) (*GenerateCollectionFormOK, error)
GenerateCollectionForm This API  Call to generate the collection form.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetAccessPoints

func (a *Client) GetAccessPoints(params *GetAccessPointsParams, opts ...ClientOption) (*GetAccessPointsOK, error)
GetAccessPoints Returns a list of access points in proximity of input postal code.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetAdditionalInputs

func (a *Client) GetAdditionalInputs(params *GetAdditionalInputsParams, opts ...ClientOption) (*GetAdditionalInputsOK, error)
GetAdditionalInputs Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetCarrierAccountFormInputs

func (a *Client) GetCarrierAccountFormInputs(params *GetCarrierAccountFormInputsParams, opts ...ClientOption) (*GetCarrierAccountFormInputsOK, error)
GetCarrierAccountFormInputs This API will return a list of input schema required to register a shipper account with the carrier.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetCarrierAccounts

func (a *Client) GetCarrierAccounts(params *GetCarrierAccountsParams, opts ...ClientOption) (*GetCarrierAccountsOK, error)
GetCarrierAccounts This API will return Get all carrier accounts for a merchant.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetCollectionForm

func (a *Client) GetCollectionForm(params *GetCollectionFormParams, opts ...ClientOption) (*GetCollectionFormOK, error)
GetCollectionForm This API reprint a collection form.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetCollectionFormHistory

func (a *Client) GetCollectionFormHistory(params *GetCollectionFormHistoryParams, opts ...ClientOption) (*GetCollectionFormHistoryOK, error)
GetCollectionFormHistory This API Call to get the history of the previously generated collection forms.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetRates

func (a *Client) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error)
GetRates Returns the available shipping service offerings.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetShipmentDocuments

func (a *Client) GetShipmentDocuments(params *GetShipmentDocumentsParams, opts ...ClientOption) (*GetShipmentDocumentsOK, error)
GetShipmentDocuments Returns the shipping documents associated with a package in a shipment.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetTracking

func (a *Client) GetTracking(params *GetTrackingParams, opts ...ClientOption) (*GetTrackingOK, error)
GetTracking Returns tracking information for a purchased shipment.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) GetUnmanifestedShipments

func (a *Client) GetUnmanifestedShipments(params *GetUnmanifestedShipmentsParams, opts ...ClientOption) (*GetUnmanifestedShipmentsOK, error)
GetUnmanifestedShipments This API Get all unmanifested carriers with shipment locations. Any locations which has unmanifested shipments
      with an eligible carrier for manifesting shall be returned.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) LinkCarrierAccount

func (a *Client) LinkCarrierAccount(params *LinkCarrierAccountParams, opts ...ClientOption) (*LinkCarrierAccountOK, error)
LinkCarrierAccount This API associates/links the specified carrier account with the merchant.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) OneClickShipment

func (a *Client) OneClickShipment(params *OneClickShipmentParams, opts ...ClientOption) (*OneClickShipmentOK, error)
OneClickShipment Purchases a shipping service identifier and returns purchase-related details and documents.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) PurchaseShipment

func (a *Client) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error)
PurchaseShipment Purchases a shipping service and returns purchase related details and documents.

Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to "TOKEN_EXPIRED". If you receive this error response, you must get the rates for the shipment again.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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) UnlinkCarrierAccount

func (a *Client) UnlinkCarrierAccount(params *UnlinkCarrierAccountParams, opts ...ClientOption) (*UnlinkCarrierAccountOK, error)
UnlinkCarrierAccount This API Unlink the specified carrier account with the merchant.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |

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 then 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 {
	CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error)

	DirectPurchaseShipment(params *DirectPurchaseShipmentParams, opts ...ClientOption) (*DirectPurchaseShipmentOK, error)

	GenerateCollectionForm(params *GenerateCollectionFormParams, opts ...ClientOption) (*GenerateCollectionFormOK, error)

	GetAccessPoints(params *GetAccessPointsParams, opts ...ClientOption) (*GetAccessPointsOK, error)

	GetAdditionalInputs(params *GetAdditionalInputsParams, opts ...ClientOption) (*GetAdditionalInputsOK, error)

	GetCarrierAccountFormInputs(params *GetCarrierAccountFormInputsParams, opts ...ClientOption) (*GetCarrierAccountFormInputsOK, error)

	GetCarrierAccounts(params *GetCarrierAccountsParams, opts ...ClientOption) (*GetCarrierAccountsOK, error)

	GetCollectionForm(params *GetCollectionFormParams, opts ...ClientOption) (*GetCollectionFormOK, error)

	GetCollectionFormHistory(params *GetCollectionFormHistoryParams, opts ...ClientOption) (*GetCollectionFormHistoryOK, error)

	GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error)

	GetShipmentDocuments(params *GetShipmentDocumentsParams, opts ...ClientOption) (*GetShipmentDocumentsOK, error)

	GetTracking(params *GetTrackingParams, opts ...ClientOption) (*GetTrackingOK, error)

	GetUnmanifestedShipments(params *GetUnmanifestedShipmentsParams, opts ...ClientOption) (*GetUnmanifestedShipmentsOK, error)

	LinkCarrierAccount(params *LinkCarrierAccountParams, opts ...ClientOption) (*LinkCarrierAccountOK, error)

	OneClickShipment(params *OneClickShipmentParams, opts ...ClientOption) (*OneClickShipmentOK, error)

	PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error)

	UnlinkCarrierAccount(params *UnlinkCarrierAccountParams, opts ...ClientOption) (*UnlinkCarrierAccountOK, 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 shipping API client.

type DirectPurchaseShipmentBadRequest

type DirectPurchaseShipmentBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewDirectPurchaseShipmentBadRequest

func NewDirectPurchaseShipmentBadRequest() *DirectPurchaseShipmentBadRequest

NewDirectPurchaseShipmentBadRequest creates a DirectPurchaseShipmentBadRequest with default headers values

func (*DirectPurchaseShipmentBadRequest) Error

func (*DirectPurchaseShipmentBadRequest) GetPayload

func (*DirectPurchaseShipmentBadRequest) IsClientError

func (o *DirectPurchaseShipmentBadRequest) IsClientError() bool

IsClientError returns true when this direct purchase shipment bad request response has a 4xx status code

func (*DirectPurchaseShipmentBadRequest) IsCode

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

IsCode returns true when this direct purchase shipment bad request response a status code equal to that given

func (*DirectPurchaseShipmentBadRequest) IsRedirect

func (o *DirectPurchaseShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this direct purchase shipment bad request response has a 3xx status code

func (*DirectPurchaseShipmentBadRequest) IsServerError

func (o *DirectPurchaseShipmentBadRequest) IsServerError() bool

IsServerError returns true when this direct purchase shipment bad request response has a 5xx status code

func (*DirectPurchaseShipmentBadRequest) IsSuccess

func (o *DirectPurchaseShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this direct purchase shipment bad request response has a 2xx status code

func (*DirectPurchaseShipmentBadRequest) String

type DirectPurchaseShipmentForbidden

type DirectPurchaseShipmentForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

DirectPurchaseShipmentForbidden 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 NewDirectPurchaseShipmentForbidden

func NewDirectPurchaseShipmentForbidden() *DirectPurchaseShipmentForbidden

NewDirectPurchaseShipmentForbidden creates a DirectPurchaseShipmentForbidden with default headers values

func (*DirectPurchaseShipmentForbidden) Error

func (*DirectPurchaseShipmentForbidden) GetPayload

func (*DirectPurchaseShipmentForbidden) IsClientError

func (o *DirectPurchaseShipmentForbidden) IsClientError() bool

IsClientError returns true when this direct purchase shipment forbidden response has a 4xx status code

func (*DirectPurchaseShipmentForbidden) IsCode

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

IsCode returns true when this direct purchase shipment forbidden response a status code equal to that given

func (*DirectPurchaseShipmentForbidden) IsRedirect

func (o *DirectPurchaseShipmentForbidden) IsRedirect() bool

IsRedirect returns true when this direct purchase shipment forbidden response has a 3xx status code

func (*DirectPurchaseShipmentForbidden) IsServerError

func (o *DirectPurchaseShipmentForbidden) IsServerError() bool

IsServerError returns true when this direct purchase shipment forbidden response has a 5xx status code

func (*DirectPurchaseShipmentForbidden) IsSuccess

func (o *DirectPurchaseShipmentForbidden) IsSuccess() bool

IsSuccess returns true when this direct purchase shipment forbidden response has a 2xx status code

func (*DirectPurchaseShipmentForbidden) String

type DirectPurchaseShipmentInternalServerError

type DirectPurchaseShipmentInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewDirectPurchaseShipmentInternalServerError

func NewDirectPurchaseShipmentInternalServerError() *DirectPurchaseShipmentInternalServerError

NewDirectPurchaseShipmentInternalServerError creates a DirectPurchaseShipmentInternalServerError with default headers values

func (*DirectPurchaseShipmentInternalServerError) Error

func (*DirectPurchaseShipmentInternalServerError) GetPayload

func (*DirectPurchaseShipmentInternalServerError) IsClientError

IsClientError returns true when this direct purchase shipment internal server error response has a 4xx status code

func (*DirectPurchaseShipmentInternalServerError) IsCode

IsCode returns true when this direct purchase shipment internal server error response a status code equal to that given

func (*DirectPurchaseShipmentInternalServerError) IsRedirect

IsRedirect returns true when this direct purchase shipment internal server error response has a 3xx status code

func (*DirectPurchaseShipmentInternalServerError) IsServerError

IsServerError returns true when this direct purchase shipment internal server error response has a 5xx status code

func (*DirectPurchaseShipmentInternalServerError) IsSuccess

IsSuccess returns true when this direct purchase shipment internal server error response has a 2xx status code

func (*DirectPurchaseShipmentInternalServerError) String

type DirectPurchaseShipmentNotFound

type DirectPurchaseShipmentNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewDirectPurchaseShipmentNotFound

func NewDirectPurchaseShipmentNotFound() *DirectPurchaseShipmentNotFound

NewDirectPurchaseShipmentNotFound creates a DirectPurchaseShipmentNotFound with default headers values

func (*DirectPurchaseShipmentNotFound) Error

func (*DirectPurchaseShipmentNotFound) GetPayload

func (*DirectPurchaseShipmentNotFound) IsClientError

func (o *DirectPurchaseShipmentNotFound) IsClientError() bool

IsClientError returns true when this direct purchase shipment not found response has a 4xx status code

func (*DirectPurchaseShipmentNotFound) IsCode

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

IsCode returns true when this direct purchase shipment not found response a status code equal to that given

func (*DirectPurchaseShipmentNotFound) IsRedirect

func (o *DirectPurchaseShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this direct purchase shipment not found response has a 3xx status code

func (*DirectPurchaseShipmentNotFound) IsServerError

func (o *DirectPurchaseShipmentNotFound) IsServerError() bool

IsServerError returns true when this direct purchase shipment not found response has a 5xx status code

func (*DirectPurchaseShipmentNotFound) IsSuccess

func (o *DirectPurchaseShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this direct purchase shipment not found response has a 2xx status code

func (*DirectPurchaseShipmentNotFound) String

type DirectPurchaseShipmentOK

type DirectPurchaseShipmentOK struct {

	/* A unique value which the server uses to recognize subsequent retries of the same request.
	 */
	XAmznIdempotencyKey string

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.DirectPurchaseResponse
}

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

Success

func NewDirectPurchaseShipmentOK

func NewDirectPurchaseShipmentOK() *DirectPurchaseShipmentOK

NewDirectPurchaseShipmentOK creates a DirectPurchaseShipmentOK with default headers values

func (*DirectPurchaseShipmentOK) Error

func (o *DirectPurchaseShipmentOK) Error() string

func (*DirectPurchaseShipmentOK) GetPayload

func (*DirectPurchaseShipmentOK) IsClientError

func (o *DirectPurchaseShipmentOK) IsClientError() bool

IsClientError returns true when this direct purchase shipment o k response has a 4xx status code

func (*DirectPurchaseShipmentOK) IsCode

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

IsCode returns true when this direct purchase shipment o k response a status code equal to that given

func (*DirectPurchaseShipmentOK) IsRedirect

func (o *DirectPurchaseShipmentOK) IsRedirect() bool

IsRedirect returns true when this direct purchase shipment o k response has a 3xx status code

func (*DirectPurchaseShipmentOK) IsServerError

func (o *DirectPurchaseShipmentOK) IsServerError() bool

IsServerError returns true when this direct purchase shipment o k response has a 5xx status code

func (*DirectPurchaseShipmentOK) IsSuccess

func (o *DirectPurchaseShipmentOK) IsSuccess() bool

IsSuccess returns true when this direct purchase shipment o k response has a 2xx status code

func (*DirectPurchaseShipmentOK) String

func (o *DirectPurchaseShipmentOK) String() string

type DirectPurchaseShipmentParams

type DirectPurchaseShipmentParams struct {

	// Body.
	Body *shipping_v2_models.DirectPurchaseRequest

	/* Locale.

	     The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA).
	The secondary language subtag is almost always a regional designation.
	This does not support additional subtags beyond the primary and secondary language subtags.

	*/
	Locale *string

	/* XAmznIdempotencyKey.

	   A unique value which the server uses to recognize subsequent retries of the same request.
	*/
	XAmznIdempotencyKey *string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

DirectPurchaseShipmentParams contains all the parameters to send to the API endpoint

for the direct purchase shipment operation.

Typically these are written to a http.Request.

func NewDirectPurchaseShipmentParams

func NewDirectPurchaseShipmentParams() *DirectPurchaseShipmentParams

NewDirectPurchaseShipmentParams creates a new DirectPurchaseShipmentParams 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 NewDirectPurchaseShipmentParamsWithContext

func NewDirectPurchaseShipmentParamsWithContext(ctx context.Context) *DirectPurchaseShipmentParams

NewDirectPurchaseShipmentParamsWithContext creates a new DirectPurchaseShipmentParams object with the ability to set a context for a request.

func NewDirectPurchaseShipmentParamsWithHTTPClient

func NewDirectPurchaseShipmentParamsWithHTTPClient(client *http.Client) *DirectPurchaseShipmentParams

NewDirectPurchaseShipmentParamsWithHTTPClient creates a new DirectPurchaseShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewDirectPurchaseShipmentParamsWithTimeout

func NewDirectPurchaseShipmentParamsWithTimeout(timeout time.Duration) *DirectPurchaseShipmentParams

NewDirectPurchaseShipmentParamsWithTimeout creates a new DirectPurchaseShipmentParams object with the ability to set a timeout on a request.

func (*DirectPurchaseShipmentParams) SetBody

SetBody adds the body to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) SetContext

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

SetContext adds the context to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) SetDefaults

func (o *DirectPurchaseShipmentParams) SetDefaults()

SetDefaults hydrates default values in the direct purchase shipment params (not the query body).

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

func (*DirectPurchaseShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) SetLocale

func (o *DirectPurchaseShipmentParams) SetLocale(locale *string)

SetLocale adds the locale to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) SetXAmznIdempotencyKey

func (o *DirectPurchaseShipmentParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)

SetXAmznIdempotencyKey adds the xAmznIdempotencyKey to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) SetXAmznShippingBusinessID

func (o *DirectPurchaseShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithBody

WithBody adds the body to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithContext

WithContext adds the context to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithDefaults

WithDefaults hydrates default values in the direct purchase shipment params (not the query body).

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

func (*DirectPurchaseShipmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithLocale

WithLocale adds the locale to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithTimeout

WithTimeout adds the timeout to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithXAmznIdempotencyKey

func (o *DirectPurchaseShipmentParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *DirectPurchaseShipmentParams

WithXAmznIdempotencyKey adds the xAmznIdempotencyKey to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WithXAmznShippingBusinessID

func (o *DirectPurchaseShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *DirectPurchaseShipmentParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the direct purchase shipment params

func (*DirectPurchaseShipmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DirectPurchaseShipmentReader

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

DirectPurchaseShipmentReader is a Reader for the DirectPurchaseShipment structure.

func (*DirectPurchaseShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DirectPurchaseShipmentRequestEntityTooLarge

type DirectPurchaseShipmentRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewDirectPurchaseShipmentRequestEntityTooLarge

func NewDirectPurchaseShipmentRequestEntityTooLarge() *DirectPurchaseShipmentRequestEntityTooLarge

NewDirectPurchaseShipmentRequestEntityTooLarge creates a DirectPurchaseShipmentRequestEntityTooLarge with default headers values

func (*DirectPurchaseShipmentRequestEntityTooLarge) Error

func (*DirectPurchaseShipmentRequestEntityTooLarge) GetPayload

func (*DirectPurchaseShipmentRequestEntityTooLarge) IsClientError

IsClientError returns true when this direct purchase shipment request entity too large response has a 4xx status code

func (*DirectPurchaseShipmentRequestEntityTooLarge) IsCode

IsCode returns true when this direct purchase shipment request entity too large response a status code equal to that given

func (*DirectPurchaseShipmentRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this direct purchase shipment request entity too large response has a 3xx status code

func (*DirectPurchaseShipmentRequestEntityTooLarge) IsServerError

IsServerError returns true when this direct purchase shipment request entity too large response has a 5xx status code

func (*DirectPurchaseShipmentRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this direct purchase shipment request entity too large response has a 2xx status code

func (*DirectPurchaseShipmentRequestEntityTooLarge) String

type DirectPurchaseShipmentServiceUnavailable

type DirectPurchaseShipmentServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewDirectPurchaseShipmentServiceUnavailable

func NewDirectPurchaseShipmentServiceUnavailable() *DirectPurchaseShipmentServiceUnavailable

NewDirectPurchaseShipmentServiceUnavailable creates a DirectPurchaseShipmentServiceUnavailable with default headers values

func (*DirectPurchaseShipmentServiceUnavailable) Error

func (*DirectPurchaseShipmentServiceUnavailable) GetPayload

func (*DirectPurchaseShipmentServiceUnavailable) IsClientError

IsClientError returns true when this direct purchase shipment service unavailable response has a 4xx status code

func (*DirectPurchaseShipmentServiceUnavailable) IsCode

IsCode returns true when this direct purchase shipment service unavailable response a status code equal to that given

func (*DirectPurchaseShipmentServiceUnavailable) IsRedirect

IsRedirect returns true when this direct purchase shipment service unavailable response has a 3xx status code

func (*DirectPurchaseShipmentServiceUnavailable) IsServerError

IsServerError returns true when this direct purchase shipment service unavailable response has a 5xx status code

func (*DirectPurchaseShipmentServiceUnavailable) IsSuccess

IsSuccess returns true when this direct purchase shipment service unavailable response has a 2xx status code

func (*DirectPurchaseShipmentServiceUnavailable) String

type DirectPurchaseShipmentTooManyRequests

type DirectPurchaseShipmentTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewDirectPurchaseShipmentTooManyRequests

func NewDirectPurchaseShipmentTooManyRequests() *DirectPurchaseShipmentTooManyRequests

NewDirectPurchaseShipmentTooManyRequests creates a DirectPurchaseShipmentTooManyRequests with default headers values

func (*DirectPurchaseShipmentTooManyRequests) Error

func (*DirectPurchaseShipmentTooManyRequests) GetPayload

func (*DirectPurchaseShipmentTooManyRequests) IsClientError

func (o *DirectPurchaseShipmentTooManyRequests) IsClientError() bool

IsClientError returns true when this direct purchase shipment too many requests response has a 4xx status code

func (*DirectPurchaseShipmentTooManyRequests) IsCode

IsCode returns true when this direct purchase shipment too many requests response a status code equal to that given

func (*DirectPurchaseShipmentTooManyRequests) IsRedirect

IsRedirect returns true when this direct purchase shipment too many requests response has a 3xx status code

func (*DirectPurchaseShipmentTooManyRequests) IsServerError

func (o *DirectPurchaseShipmentTooManyRequests) IsServerError() bool

IsServerError returns true when this direct purchase shipment too many requests response has a 5xx status code

func (*DirectPurchaseShipmentTooManyRequests) IsSuccess

IsSuccess returns true when this direct purchase shipment too many requests response has a 2xx status code

func (*DirectPurchaseShipmentTooManyRequests) String

type DirectPurchaseShipmentUnauthorized

type DirectPurchaseShipmentUnauthorized 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 *shipping_v2_models.ErrorList
}

DirectPurchaseShipmentUnauthorized 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 NewDirectPurchaseShipmentUnauthorized

func NewDirectPurchaseShipmentUnauthorized() *DirectPurchaseShipmentUnauthorized

NewDirectPurchaseShipmentUnauthorized creates a DirectPurchaseShipmentUnauthorized with default headers values

func (*DirectPurchaseShipmentUnauthorized) Error

func (*DirectPurchaseShipmentUnauthorized) GetPayload

func (*DirectPurchaseShipmentUnauthorized) IsClientError

func (o *DirectPurchaseShipmentUnauthorized) IsClientError() bool

IsClientError returns true when this direct purchase shipment unauthorized response has a 4xx status code

func (*DirectPurchaseShipmentUnauthorized) IsCode

IsCode returns true when this direct purchase shipment unauthorized response a status code equal to that given

func (*DirectPurchaseShipmentUnauthorized) IsRedirect

func (o *DirectPurchaseShipmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this direct purchase shipment unauthorized response has a 3xx status code

func (*DirectPurchaseShipmentUnauthorized) IsServerError

func (o *DirectPurchaseShipmentUnauthorized) IsServerError() bool

IsServerError returns true when this direct purchase shipment unauthorized response has a 5xx status code

func (*DirectPurchaseShipmentUnauthorized) IsSuccess

IsSuccess returns true when this direct purchase shipment unauthorized response has a 2xx status code

func (*DirectPurchaseShipmentUnauthorized) String

type DirectPurchaseShipmentUnsupportedMediaType

type DirectPurchaseShipmentUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewDirectPurchaseShipmentUnsupportedMediaType

func NewDirectPurchaseShipmentUnsupportedMediaType() *DirectPurchaseShipmentUnsupportedMediaType

NewDirectPurchaseShipmentUnsupportedMediaType creates a DirectPurchaseShipmentUnsupportedMediaType with default headers values

func (*DirectPurchaseShipmentUnsupportedMediaType) Error

func (*DirectPurchaseShipmentUnsupportedMediaType) GetPayload

func (*DirectPurchaseShipmentUnsupportedMediaType) IsClientError

IsClientError returns true when this direct purchase shipment unsupported media type response has a 4xx status code

func (*DirectPurchaseShipmentUnsupportedMediaType) IsCode

IsCode returns true when this direct purchase shipment unsupported media type response a status code equal to that given

func (*DirectPurchaseShipmentUnsupportedMediaType) IsRedirect

IsRedirect returns true when this direct purchase shipment unsupported media type response has a 3xx status code

func (*DirectPurchaseShipmentUnsupportedMediaType) IsServerError

IsServerError returns true when this direct purchase shipment unsupported media type response has a 5xx status code

func (*DirectPurchaseShipmentUnsupportedMediaType) IsSuccess

IsSuccess returns true when this direct purchase shipment unsupported media type response has a 2xx status code

func (*DirectPurchaseShipmentUnsupportedMediaType) String

type GenerateCollectionFormBadRequest

type GenerateCollectionFormBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGenerateCollectionFormBadRequest

func NewGenerateCollectionFormBadRequest() *GenerateCollectionFormBadRequest

NewGenerateCollectionFormBadRequest creates a GenerateCollectionFormBadRequest with default headers values

func (*GenerateCollectionFormBadRequest) Error

func (*GenerateCollectionFormBadRequest) GetPayload

func (*GenerateCollectionFormBadRequest) IsClientError

func (o *GenerateCollectionFormBadRequest) IsClientError() bool

IsClientError returns true when this generate collection form bad request response has a 4xx status code

func (*GenerateCollectionFormBadRequest) IsCode

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

IsCode returns true when this generate collection form bad request response a status code equal to that given

func (*GenerateCollectionFormBadRequest) IsRedirect

func (o *GenerateCollectionFormBadRequest) IsRedirect() bool

IsRedirect returns true when this generate collection form bad request response has a 3xx status code

func (*GenerateCollectionFormBadRequest) IsServerError

func (o *GenerateCollectionFormBadRequest) IsServerError() bool

IsServerError returns true when this generate collection form bad request response has a 5xx status code

func (*GenerateCollectionFormBadRequest) IsSuccess

func (o *GenerateCollectionFormBadRequest) IsSuccess() bool

IsSuccess returns true when this generate collection form bad request response has a 2xx status code

func (*GenerateCollectionFormBadRequest) String

type GenerateCollectionFormForbidden

type GenerateCollectionFormForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GenerateCollectionFormForbidden 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 NewGenerateCollectionFormForbidden

func NewGenerateCollectionFormForbidden() *GenerateCollectionFormForbidden

NewGenerateCollectionFormForbidden creates a GenerateCollectionFormForbidden with default headers values

func (*GenerateCollectionFormForbidden) Error

func (*GenerateCollectionFormForbidden) GetPayload

func (*GenerateCollectionFormForbidden) IsClientError

func (o *GenerateCollectionFormForbidden) IsClientError() bool

IsClientError returns true when this generate collection form forbidden response has a 4xx status code

func (*GenerateCollectionFormForbidden) IsCode

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

IsCode returns true when this generate collection form forbidden response a status code equal to that given

func (*GenerateCollectionFormForbidden) IsRedirect

func (o *GenerateCollectionFormForbidden) IsRedirect() bool

IsRedirect returns true when this generate collection form forbidden response has a 3xx status code

func (*GenerateCollectionFormForbidden) IsServerError

func (o *GenerateCollectionFormForbidden) IsServerError() bool

IsServerError returns true when this generate collection form forbidden response has a 5xx status code

func (*GenerateCollectionFormForbidden) IsSuccess

func (o *GenerateCollectionFormForbidden) IsSuccess() bool

IsSuccess returns true when this generate collection form forbidden response has a 2xx status code

func (*GenerateCollectionFormForbidden) String

type GenerateCollectionFormInternalServerError

type GenerateCollectionFormInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGenerateCollectionFormInternalServerError

func NewGenerateCollectionFormInternalServerError() *GenerateCollectionFormInternalServerError

NewGenerateCollectionFormInternalServerError creates a GenerateCollectionFormInternalServerError with default headers values

func (*GenerateCollectionFormInternalServerError) Error

func (*GenerateCollectionFormInternalServerError) GetPayload

func (*GenerateCollectionFormInternalServerError) IsClientError

IsClientError returns true when this generate collection form internal server error response has a 4xx status code

func (*GenerateCollectionFormInternalServerError) IsCode

IsCode returns true when this generate collection form internal server error response a status code equal to that given

func (*GenerateCollectionFormInternalServerError) IsRedirect

IsRedirect returns true when this generate collection form internal server error response has a 3xx status code

func (*GenerateCollectionFormInternalServerError) IsServerError

IsServerError returns true when this generate collection form internal server error response has a 5xx status code

func (*GenerateCollectionFormInternalServerError) IsSuccess

IsSuccess returns true when this generate collection form internal server error response has a 2xx status code

func (*GenerateCollectionFormInternalServerError) String

type GenerateCollectionFormNotFound

type GenerateCollectionFormNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGenerateCollectionFormNotFound

func NewGenerateCollectionFormNotFound() *GenerateCollectionFormNotFound

NewGenerateCollectionFormNotFound creates a GenerateCollectionFormNotFound with default headers values

func (*GenerateCollectionFormNotFound) Error

func (*GenerateCollectionFormNotFound) GetPayload

func (*GenerateCollectionFormNotFound) IsClientError

func (o *GenerateCollectionFormNotFound) IsClientError() bool

IsClientError returns true when this generate collection form not found response has a 4xx status code

func (*GenerateCollectionFormNotFound) IsCode

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

IsCode returns true when this generate collection form not found response a status code equal to that given

func (*GenerateCollectionFormNotFound) IsRedirect

func (o *GenerateCollectionFormNotFound) IsRedirect() bool

IsRedirect returns true when this generate collection form not found response has a 3xx status code

func (*GenerateCollectionFormNotFound) IsServerError

func (o *GenerateCollectionFormNotFound) IsServerError() bool

IsServerError returns true when this generate collection form not found response has a 5xx status code

func (*GenerateCollectionFormNotFound) IsSuccess

func (o *GenerateCollectionFormNotFound) IsSuccess() bool

IsSuccess returns true when this generate collection form not found response has a 2xx status code

func (*GenerateCollectionFormNotFound) String

type GenerateCollectionFormOK

type GenerateCollectionFormOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GenerateCollectionFormResponse
}

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

Success.

func NewGenerateCollectionFormOK

func NewGenerateCollectionFormOK() *GenerateCollectionFormOK

NewGenerateCollectionFormOK creates a GenerateCollectionFormOK with default headers values

func (*GenerateCollectionFormOK) Error

func (o *GenerateCollectionFormOK) Error() string

func (*GenerateCollectionFormOK) GetPayload

func (*GenerateCollectionFormOK) IsClientError

func (o *GenerateCollectionFormOK) IsClientError() bool

IsClientError returns true when this generate collection form o k response has a 4xx status code

func (*GenerateCollectionFormOK) IsCode

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

IsCode returns true when this generate collection form o k response a status code equal to that given

func (*GenerateCollectionFormOK) IsRedirect

func (o *GenerateCollectionFormOK) IsRedirect() bool

IsRedirect returns true when this generate collection form o k response has a 3xx status code

func (*GenerateCollectionFormOK) IsServerError

func (o *GenerateCollectionFormOK) IsServerError() bool

IsServerError returns true when this generate collection form o k response has a 5xx status code

func (*GenerateCollectionFormOK) IsSuccess

func (o *GenerateCollectionFormOK) IsSuccess() bool

IsSuccess returns true when this generate collection form o k response has a 2xx status code

func (*GenerateCollectionFormOK) String

func (o *GenerateCollectionFormOK) String() string

type GenerateCollectionFormParams

type GenerateCollectionFormParams struct {

	// Body.
	Body *shipping_v2_models.GenerateCollectionFormRequest

	/* XAmznIdempotencyKey.

	   A unique value which the server uses to recognize subsequent retries of the same request.
	*/
	XAmznIdempotencyKey *string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GenerateCollectionFormParams contains all the parameters to send to the API endpoint

for the generate collection form operation.

Typically these are written to a http.Request.

func NewGenerateCollectionFormParams

func NewGenerateCollectionFormParams() *GenerateCollectionFormParams

NewGenerateCollectionFormParams creates a new GenerateCollectionFormParams 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 NewGenerateCollectionFormParamsWithContext

func NewGenerateCollectionFormParamsWithContext(ctx context.Context) *GenerateCollectionFormParams

NewGenerateCollectionFormParamsWithContext creates a new GenerateCollectionFormParams object with the ability to set a context for a request.

func NewGenerateCollectionFormParamsWithHTTPClient

func NewGenerateCollectionFormParamsWithHTTPClient(client *http.Client) *GenerateCollectionFormParams

NewGenerateCollectionFormParamsWithHTTPClient creates a new GenerateCollectionFormParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateCollectionFormParamsWithTimeout

func NewGenerateCollectionFormParamsWithTimeout(timeout time.Duration) *GenerateCollectionFormParams

NewGenerateCollectionFormParamsWithTimeout creates a new GenerateCollectionFormParams object with the ability to set a timeout on a request.

func (*GenerateCollectionFormParams) SetBody

SetBody adds the body to the generate collection form params

func (*GenerateCollectionFormParams) SetContext

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

SetContext adds the context to the generate collection form params

func (*GenerateCollectionFormParams) SetDefaults

func (o *GenerateCollectionFormParams) SetDefaults()

SetDefaults hydrates default values in the generate collection form params (not the query body).

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

func (*GenerateCollectionFormParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the generate collection form params

func (*GenerateCollectionFormParams) SetTimeout

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

SetTimeout adds the timeout to the generate collection form params

func (*GenerateCollectionFormParams) SetXAmznIdempotencyKey

func (o *GenerateCollectionFormParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)

SetXAmznIdempotencyKey adds the xAmznIdempotencyKey to the generate collection form params

func (*GenerateCollectionFormParams) SetXAmznShippingBusinessID

func (o *GenerateCollectionFormParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the generate collection form params

func (*GenerateCollectionFormParams) WithBody

WithBody adds the body to the generate collection form params

func (*GenerateCollectionFormParams) WithContext

WithContext adds the context to the generate collection form params

func (*GenerateCollectionFormParams) WithDefaults

WithDefaults hydrates default values in the generate collection form params (not the query body).

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

func (*GenerateCollectionFormParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate collection form params

func (*GenerateCollectionFormParams) WithTimeout

WithTimeout adds the timeout to the generate collection form params

func (*GenerateCollectionFormParams) WithXAmznIdempotencyKey

func (o *GenerateCollectionFormParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *GenerateCollectionFormParams

WithXAmznIdempotencyKey adds the xAmznIdempotencyKey to the generate collection form params

func (*GenerateCollectionFormParams) WithXAmznShippingBusinessID

func (o *GenerateCollectionFormParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GenerateCollectionFormParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the generate collection form params

func (*GenerateCollectionFormParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateCollectionFormReader

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

GenerateCollectionFormReader is a Reader for the GenerateCollectionForm structure.

func (*GenerateCollectionFormReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateCollectionFormRequestEntityTooLarge

type GenerateCollectionFormRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGenerateCollectionFormRequestEntityTooLarge

func NewGenerateCollectionFormRequestEntityTooLarge() *GenerateCollectionFormRequestEntityTooLarge

NewGenerateCollectionFormRequestEntityTooLarge creates a GenerateCollectionFormRequestEntityTooLarge with default headers values

func (*GenerateCollectionFormRequestEntityTooLarge) Error

func (*GenerateCollectionFormRequestEntityTooLarge) GetPayload

func (*GenerateCollectionFormRequestEntityTooLarge) IsClientError

IsClientError returns true when this generate collection form request entity too large response has a 4xx status code

func (*GenerateCollectionFormRequestEntityTooLarge) IsCode

IsCode returns true when this generate collection form request entity too large response a status code equal to that given

func (*GenerateCollectionFormRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this generate collection form request entity too large response has a 3xx status code

func (*GenerateCollectionFormRequestEntityTooLarge) IsServerError

IsServerError returns true when this generate collection form request entity too large response has a 5xx status code

func (*GenerateCollectionFormRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this generate collection form request entity too large response has a 2xx status code

func (*GenerateCollectionFormRequestEntityTooLarge) String

type GenerateCollectionFormServiceUnavailable

type GenerateCollectionFormServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGenerateCollectionFormServiceUnavailable

func NewGenerateCollectionFormServiceUnavailable() *GenerateCollectionFormServiceUnavailable

NewGenerateCollectionFormServiceUnavailable creates a GenerateCollectionFormServiceUnavailable with default headers values

func (*GenerateCollectionFormServiceUnavailable) Error

func (*GenerateCollectionFormServiceUnavailable) GetPayload

func (*GenerateCollectionFormServiceUnavailable) IsClientError

IsClientError returns true when this generate collection form service unavailable response has a 4xx status code

func (*GenerateCollectionFormServiceUnavailable) IsCode

IsCode returns true when this generate collection form service unavailable response a status code equal to that given

func (*GenerateCollectionFormServiceUnavailable) IsRedirect

IsRedirect returns true when this generate collection form service unavailable response has a 3xx status code

func (*GenerateCollectionFormServiceUnavailable) IsServerError

IsServerError returns true when this generate collection form service unavailable response has a 5xx status code

func (*GenerateCollectionFormServiceUnavailable) IsSuccess

IsSuccess returns true when this generate collection form service unavailable response has a 2xx status code

func (*GenerateCollectionFormServiceUnavailable) String

type GenerateCollectionFormTooManyRequests

type GenerateCollectionFormTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGenerateCollectionFormTooManyRequests

func NewGenerateCollectionFormTooManyRequests() *GenerateCollectionFormTooManyRequests

NewGenerateCollectionFormTooManyRequests creates a GenerateCollectionFormTooManyRequests with default headers values

func (*GenerateCollectionFormTooManyRequests) Error

func (*GenerateCollectionFormTooManyRequests) GetPayload

func (*GenerateCollectionFormTooManyRequests) IsClientError

func (o *GenerateCollectionFormTooManyRequests) IsClientError() bool

IsClientError returns true when this generate collection form too many requests response has a 4xx status code

func (*GenerateCollectionFormTooManyRequests) IsCode

IsCode returns true when this generate collection form too many requests response a status code equal to that given

func (*GenerateCollectionFormTooManyRequests) IsRedirect

IsRedirect returns true when this generate collection form too many requests response has a 3xx status code

func (*GenerateCollectionFormTooManyRequests) IsServerError

func (o *GenerateCollectionFormTooManyRequests) IsServerError() bool

IsServerError returns true when this generate collection form too many requests response has a 5xx status code

func (*GenerateCollectionFormTooManyRequests) IsSuccess

IsSuccess returns true when this generate collection form too many requests response has a 2xx status code

func (*GenerateCollectionFormTooManyRequests) String

type GenerateCollectionFormUnauthorized

type GenerateCollectionFormUnauthorized 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 *shipping_v2_models.ErrorList
}

GenerateCollectionFormUnauthorized 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 NewGenerateCollectionFormUnauthorized

func NewGenerateCollectionFormUnauthorized() *GenerateCollectionFormUnauthorized

NewGenerateCollectionFormUnauthorized creates a GenerateCollectionFormUnauthorized with default headers values

func (*GenerateCollectionFormUnauthorized) Error

func (*GenerateCollectionFormUnauthorized) GetPayload

func (*GenerateCollectionFormUnauthorized) IsClientError

func (o *GenerateCollectionFormUnauthorized) IsClientError() bool

IsClientError returns true when this generate collection form unauthorized response has a 4xx status code

func (*GenerateCollectionFormUnauthorized) IsCode

IsCode returns true when this generate collection form unauthorized response a status code equal to that given

func (*GenerateCollectionFormUnauthorized) IsRedirect

func (o *GenerateCollectionFormUnauthorized) IsRedirect() bool

IsRedirect returns true when this generate collection form unauthorized response has a 3xx status code

func (*GenerateCollectionFormUnauthorized) IsServerError

func (o *GenerateCollectionFormUnauthorized) IsServerError() bool

IsServerError returns true when this generate collection form unauthorized response has a 5xx status code

func (*GenerateCollectionFormUnauthorized) IsSuccess

IsSuccess returns true when this generate collection form unauthorized response has a 2xx status code

func (*GenerateCollectionFormUnauthorized) String

type GenerateCollectionFormUnsupportedMediaType

type GenerateCollectionFormUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGenerateCollectionFormUnsupportedMediaType

func NewGenerateCollectionFormUnsupportedMediaType() *GenerateCollectionFormUnsupportedMediaType

NewGenerateCollectionFormUnsupportedMediaType creates a GenerateCollectionFormUnsupportedMediaType with default headers values

func (*GenerateCollectionFormUnsupportedMediaType) Error

func (*GenerateCollectionFormUnsupportedMediaType) GetPayload

func (*GenerateCollectionFormUnsupportedMediaType) IsClientError

IsClientError returns true when this generate collection form unsupported media type response has a 4xx status code

func (*GenerateCollectionFormUnsupportedMediaType) IsCode

IsCode returns true when this generate collection form unsupported media type response a status code equal to that given

func (*GenerateCollectionFormUnsupportedMediaType) IsRedirect

IsRedirect returns true when this generate collection form unsupported media type response has a 3xx status code

func (*GenerateCollectionFormUnsupportedMediaType) IsServerError

IsServerError returns true when this generate collection form unsupported media type response has a 5xx status code

func (*GenerateCollectionFormUnsupportedMediaType) IsSuccess

IsSuccess returns true when this generate collection form unsupported media type response has a 2xx status code

func (*GenerateCollectionFormUnsupportedMediaType) String

type GetAccessPointsBadRequest

type GetAccessPointsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetAccessPointsBadRequest

func NewGetAccessPointsBadRequest() *GetAccessPointsBadRequest

NewGetAccessPointsBadRequest creates a GetAccessPointsBadRequest with default headers values

func (*GetAccessPointsBadRequest) Error

func (o *GetAccessPointsBadRequest) Error() string

func (*GetAccessPointsBadRequest) GetPayload

func (*GetAccessPointsBadRequest) IsClientError

func (o *GetAccessPointsBadRequest) IsClientError() bool

IsClientError returns true when this get access points bad request response has a 4xx status code

func (*GetAccessPointsBadRequest) IsCode

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

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

func (*GetAccessPointsBadRequest) IsRedirect

func (o *GetAccessPointsBadRequest) IsRedirect() bool

IsRedirect returns true when this get access points bad request response has a 3xx status code

func (*GetAccessPointsBadRequest) IsServerError

func (o *GetAccessPointsBadRequest) IsServerError() bool

IsServerError returns true when this get access points bad request response has a 5xx status code

func (*GetAccessPointsBadRequest) IsSuccess

func (o *GetAccessPointsBadRequest) IsSuccess() bool

IsSuccess returns true when this get access points bad request response has a 2xx status code

func (*GetAccessPointsBadRequest) String

func (o *GetAccessPointsBadRequest) String() string

type GetAccessPointsForbidden

type GetAccessPointsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetAccessPointsForbidden 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 NewGetAccessPointsForbidden

func NewGetAccessPointsForbidden() *GetAccessPointsForbidden

NewGetAccessPointsForbidden creates a GetAccessPointsForbidden with default headers values

func (*GetAccessPointsForbidden) Error

func (o *GetAccessPointsForbidden) Error() string

func (*GetAccessPointsForbidden) GetPayload

func (*GetAccessPointsForbidden) IsClientError

func (o *GetAccessPointsForbidden) IsClientError() bool

IsClientError returns true when this get access points forbidden response has a 4xx status code

func (*GetAccessPointsForbidden) IsCode

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

IsCode returns true when this get access points forbidden response a status code equal to that given

func (*GetAccessPointsForbidden) IsRedirect

func (o *GetAccessPointsForbidden) IsRedirect() bool

IsRedirect returns true when this get access points forbidden response has a 3xx status code

func (*GetAccessPointsForbidden) IsServerError

func (o *GetAccessPointsForbidden) IsServerError() bool

IsServerError returns true when this get access points forbidden response has a 5xx status code

func (*GetAccessPointsForbidden) IsSuccess

func (o *GetAccessPointsForbidden) IsSuccess() bool

IsSuccess returns true when this get access points forbidden response has a 2xx status code

func (*GetAccessPointsForbidden) String

func (o *GetAccessPointsForbidden) String() string

type GetAccessPointsInternalServerError

type GetAccessPointsInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetAccessPointsInternalServerError

func NewGetAccessPointsInternalServerError() *GetAccessPointsInternalServerError

NewGetAccessPointsInternalServerError creates a GetAccessPointsInternalServerError with default headers values

func (*GetAccessPointsInternalServerError) Error

func (*GetAccessPointsInternalServerError) GetPayload

func (*GetAccessPointsInternalServerError) IsClientError

func (o *GetAccessPointsInternalServerError) IsClientError() bool

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

func (*GetAccessPointsInternalServerError) IsCode

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

func (*GetAccessPointsInternalServerError) IsRedirect

func (o *GetAccessPointsInternalServerError) IsRedirect() bool

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

func (*GetAccessPointsInternalServerError) IsServerError

func (o *GetAccessPointsInternalServerError) IsServerError() bool

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

func (*GetAccessPointsInternalServerError) IsSuccess

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

func (*GetAccessPointsInternalServerError) String

type GetAccessPointsNotFound

type GetAccessPointsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetAccessPointsNotFound

func NewGetAccessPointsNotFound() *GetAccessPointsNotFound

NewGetAccessPointsNotFound creates a GetAccessPointsNotFound with default headers values

func (*GetAccessPointsNotFound) Error

func (o *GetAccessPointsNotFound) Error() string

func (*GetAccessPointsNotFound) GetPayload

func (*GetAccessPointsNotFound) IsClientError

func (o *GetAccessPointsNotFound) IsClientError() bool

IsClientError returns true when this get access points not found response has a 4xx status code

func (*GetAccessPointsNotFound) IsCode

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

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

func (*GetAccessPointsNotFound) IsRedirect

func (o *GetAccessPointsNotFound) IsRedirect() bool

IsRedirect returns true when this get access points not found response has a 3xx status code

func (*GetAccessPointsNotFound) IsServerError

func (o *GetAccessPointsNotFound) IsServerError() bool

IsServerError returns true when this get access points not found response has a 5xx status code

func (*GetAccessPointsNotFound) IsSuccess

func (o *GetAccessPointsNotFound) IsSuccess() bool

IsSuccess returns true when this get access points not found response has a 2xx status code

func (*GetAccessPointsNotFound) String

func (o *GetAccessPointsNotFound) String() string

type GetAccessPointsOK

type GetAccessPointsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetAccessPointsResponse
}

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

Success.

func NewGetAccessPointsOK

func NewGetAccessPointsOK() *GetAccessPointsOK

NewGetAccessPointsOK creates a GetAccessPointsOK with default headers values

func (*GetAccessPointsOK) Error

func (o *GetAccessPointsOK) Error() string

func (*GetAccessPointsOK) GetPayload

func (*GetAccessPointsOK) IsClientError

func (o *GetAccessPointsOK) IsClientError() bool

IsClientError returns true when this get access points o k response has a 4xx status code

func (*GetAccessPointsOK) IsCode

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

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

func (*GetAccessPointsOK) IsRedirect

func (o *GetAccessPointsOK) IsRedirect() bool

IsRedirect returns true when this get access points o k response has a 3xx status code

func (*GetAccessPointsOK) IsServerError

func (o *GetAccessPointsOK) IsServerError() bool

IsServerError returns true when this get access points o k response has a 5xx status code

func (*GetAccessPointsOK) IsSuccess

func (o *GetAccessPointsOK) IsSuccess() bool

IsSuccess returns true when this get access points o k response has a 2xx status code

func (*GetAccessPointsOK) String

func (o *GetAccessPointsOK) String() string

type GetAccessPointsParams

type GetAccessPointsParams struct {

	// AccessPointTypes.
	AccessPointTypes []string

	// CountryCode.
	CountryCode string

	// PostalCode.
	PostalCode string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetAccessPointsParams contains all the parameters to send to the API endpoint

for the get access points operation.

Typically these are written to a http.Request.

func NewGetAccessPointsParams

func NewGetAccessPointsParams() *GetAccessPointsParams

NewGetAccessPointsParams creates a new GetAccessPointsParams 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 NewGetAccessPointsParamsWithContext

func NewGetAccessPointsParamsWithContext(ctx context.Context) *GetAccessPointsParams

NewGetAccessPointsParamsWithContext creates a new GetAccessPointsParams object with the ability to set a context for a request.

func NewGetAccessPointsParamsWithHTTPClient

func NewGetAccessPointsParamsWithHTTPClient(client *http.Client) *GetAccessPointsParams

NewGetAccessPointsParamsWithHTTPClient creates a new GetAccessPointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessPointsParamsWithTimeout

func NewGetAccessPointsParamsWithTimeout(timeout time.Duration) *GetAccessPointsParams

NewGetAccessPointsParamsWithTimeout creates a new GetAccessPointsParams object with the ability to set a timeout on a request.

func (*GetAccessPointsParams) SetAccessPointTypes

func (o *GetAccessPointsParams) SetAccessPointTypes(accessPointTypes []string)

SetAccessPointTypes adds the accessPointTypes to the get access points params

func (*GetAccessPointsParams) SetContext

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

SetContext adds the context to the get access points params

func (*GetAccessPointsParams) SetCountryCode

func (o *GetAccessPointsParams) SetCountryCode(countryCode string)

SetCountryCode adds the countryCode to the get access points params

func (*GetAccessPointsParams) SetDefaults

func (o *GetAccessPointsParams) SetDefaults()

SetDefaults hydrates default values in the get access points params (not the query body).

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

func (*GetAccessPointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get access points params

func (*GetAccessPointsParams) SetPostalCode

func (o *GetAccessPointsParams) SetPostalCode(postalCode string)

SetPostalCode adds the postalCode to the get access points params

func (*GetAccessPointsParams) SetTimeout

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

SetTimeout adds the timeout to the get access points params

func (*GetAccessPointsParams) SetXAmznShippingBusinessID

func (o *GetAccessPointsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get access points params

func (*GetAccessPointsParams) WithAccessPointTypes

func (o *GetAccessPointsParams) WithAccessPointTypes(accessPointTypes []string) *GetAccessPointsParams

WithAccessPointTypes adds the accessPointTypes to the get access points params

func (*GetAccessPointsParams) WithContext

WithContext adds the context to the get access points params

func (*GetAccessPointsParams) WithCountryCode

func (o *GetAccessPointsParams) WithCountryCode(countryCode string) *GetAccessPointsParams

WithCountryCode adds the countryCode to the get access points params

func (*GetAccessPointsParams) WithDefaults

func (o *GetAccessPointsParams) WithDefaults() *GetAccessPointsParams

WithDefaults hydrates default values in the get access points params (not the query body).

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

func (*GetAccessPointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get access points params

func (*GetAccessPointsParams) WithPostalCode

func (o *GetAccessPointsParams) WithPostalCode(postalCode string) *GetAccessPointsParams

WithPostalCode adds the postalCode to the get access points params

func (*GetAccessPointsParams) WithTimeout

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

WithTimeout adds the timeout to the get access points params

func (*GetAccessPointsParams) WithXAmznShippingBusinessID

func (o *GetAccessPointsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetAccessPointsParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get access points params

func (*GetAccessPointsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccessPointsReader

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

GetAccessPointsReader is a Reader for the GetAccessPoints structure.

func (*GetAccessPointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccessPointsRequestEntityTooLarge

type GetAccessPointsRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetAccessPointsRequestEntityTooLarge

func NewGetAccessPointsRequestEntityTooLarge() *GetAccessPointsRequestEntityTooLarge

NewGetAccessPointsRequestEntityTooLarge creates a GetAccessPointsRequestEntityTooLarge with default headers values

func (*GetAccessPointsRequestEntityTooLarge) Error

func (*GetAccessPointsRequestEntityTooLarge) GetPayload

func (*GetAccessPointsRequestEntityTooLarge) IsClientError

func (o *GetAccessPointsRequestEntityTooLarge) IsClientError() bool

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

func (*GetAccessPointsRequestEntityTooLarge) IsCode

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

func (*GetAccessPointsRequestEntityTooLarge) IsRedirect

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

func (*GetAccessPointsRequestEntityTooLarge) IsServerError

func (o *GetAccessPointsRequestEntityTooLarge) IsServerError() bool

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

func (*GetAccessPointsRequestEntityTooLarge) IsSuccess

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

func (*GetAccessPointsRequestEntityTooLarge) String

type GetAccessPointsServiceUnavailable

type GetAccessPointsServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetAccessPointsServiceUnavailable

func NewGetAccessPointsServiceUnavailable() *GetAccessPointsServiceUnavailable

NewGetAccessPointsServiceUnavailable creates a GetAccessPointsServiceUnavailable with default headers values

func (*GetAccessPointsServiceUnavailable) Error

func (*GetAccessPointsServiceUnavailable) GetPayload

func (*GetAccessPointsServiceUnavailable) IsClientError

func (o *GetAccessPointsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get access points service unavailable response has a 4xx status code

func (*GetAccessPointsServiceUnavailable) IsCode

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

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

func (*GetAccessPointsServiceUnavailable) IsRedirect

func (o *GetAccessPointsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get access points service unavailable response has a 3xx status code

func (*GetAccessPointsServiceUnavailable) IsServerError

func (o *GetAccessPointsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get access points service unavailable response has a 5xx status code

func (*GetAccessPointsServiceUnavailable) IsSuccess

func (o *GetAccessPointsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get access points service unavailable response has a 2xx status code

func (*GetAccessPointsServiceUnavailable) String

type GetAccessPointsTooManyRequests

type GetAccessPointsTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetAccessPointsTooManyRequests

func NewGetAccessPointsTooManyRequests() *GetAccessPointsTooManyRequests

NewGetAccessPointsTooManyRequests creates a GetAccessPointsTooManyRequests with default headers values

func (*GetAccessPointsTooManyRequests) Error

func (*GetAccessPointsTooManyRequests) GetPayload

func (*GetAccessPointsTooManyRequests) IsClientError

func (o *GetAccessPointsTooManyRequests) IsClientError() bool

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

func (*GetAccessPointsTooManyRequests) IsCode

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

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

func (*GetAccessPointsTooManyRequests) IsRedirect

func (o *GetAccessPointsTooManyRequests) IsRedirect() bool

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

func (*GetAccessPointsTooManyRequests) IsServerError

func (o *GetAccessPointsTooManyRequests) IsServerError() bool

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

func (*GetAccessPointsTooManyRequests) IsSuccess

func (o *GetAccessPointsTooManyRequests) IsSuccess() bool

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

func (*GetAccessPointsTooManyRequests) String

type GetAccessPointsUnauthorized

type GetAccessPointsUnauthorized 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 *shipping_v2_models.ErrorList
}

GetAccessPointsUnauthorized 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 NewGetAccessPointsUnauthorized

func NewGetAccessPointsUnauthorized() *GetAccessPointsUnauthorized

NewGetAccessPointsUnauthorized creates a GetAccessPointsUnauthorized with default headers values

func (*GetAccessPointsUnauthorized) Error

func (*GetAccessPointsUnauthorized) GetPayload

func (*GetAccessPointsUnauthorized) IsClientError

func (o *GetAccessPointsUnauthorized) IsClientError() bool

IsClientError returns true when this get access points unauthorized response has a 4xx status code

func (*GetAccessPointsUnauthorized) IsCode

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

IsCode returns true when this get access points unauthorized response a status code equal to that given

func (*GetAccessPointsUnauthorized) IsRedirect

func (o *GetAccessPointsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get access points unauthorized response has a 3xx status code

func (*GetAccessPointsUnauthorized) IsServerError

func (o *GetAccessPointsUnauthorized) IsServerError() bool

IsServerError returns true when this get access points unauthorized response has a 5xx status code

func (*GetAccessPointsUnauthorized) IsSuccess

func (o *GetAccessPointsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get access points unauthorized response has a 2xx status code

func (*GetAccessPointsUnauthorized) String

func (o *GetAccessPointsUnauthorized) String() string

type GetAccessPointsUnsupportedMediaType

type GetAccessPointsUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetAccessPointsUnsupportedMediaType

func NewGetAccessPointsUnsupportedMediaType() *GetAccessPointsUnsupportedMediaType

NewGetAccessPointsUnsupportedMediaType creates a GetAccessPointsUnsupportedMediaType with default headers values

func (*GetAccessPointsUnsupportedMediaType) Error

func (*GetAccessPointsUnsupportedMediaType) GetPayload

func (*GetAccessPointsUnsupportedMediaType) IsClientError

func (o *GetAccessPointsUnsupportedMediaType) IsClientError() bool

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

func (*GetAccessPointsUnsupportedMediaType) IsCode

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

func (*GetAccessPointsUnsupportedMediaType) IsRedirect

func (o *GetAccessPointsUnsupportedMediaType) IsRedirect() bool

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

func (*GetAccessPointsUnsupportedMediaType) IsServerError

func (o *GetAccessPointsUnsupportedMediaType) IsServerError() bool

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

func (*GetAccessPointsUnsupportedMediaType) IsSuccess

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

func (*GetAccessPointsUnsupportedMediaType) String

type GetAdditionalInputsBadRequest

type GetAdditionalInputsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetAdditionalInputsBadRequest

func NewGetAdditionalInputsBadRequest() *GetAdditionalInputsBadRequest

NewGetAdditionalInputsBadRequest creates a GetAdditionalInputsBadRequest with default headers values

func (*GetAdditionalInputsBadRequest) Error

func (*GetAdditionalInputsBadRequest) GetPayload

func (*GetAdditionalInputsBadRequest) IsClientError

func (o *GetAdditionalInputsBadRequest) IsClientError() bool

IsClientError returns true when this get additional inputs bad request response has a 4xx status code

func (*GetAdditionalInputsBadRequest) IsCode

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

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

func (*GetAdditionalInputsBadRequest) IsRedirect

func (o *GetAdditionalInputsBadRequest) IsRedirect() bool

IsRedirect returns true when this get additional inputs bad request response has a 3xx status code

func (*GetAdditionalInputsBadRequest) IsServerError

func (o *GetAdditionalInputsBadRequest) IsServerError() bool

IsServerError returns true when this get additional inputs bad request response has a 5xx status code

func (*GetAdditionalInputsBadRequest) IsSuccess

func (o *GetAdditionalInputsBadRequest) IsSuccess() bool

IsSuccess returns true when this get additional inputs bad request response has a 2xx status code

func (*GetAdditionalInputsBadRequest) String

type GetAdditionalInputsForbidden

type GetAdditionalInputsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetAdditionalInputsForbidden 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 NewGetAdditionalInputsForbidden

func NewGetAdditionalInputsForbidden() *GetAdditionalInputsForbidden

NewGetAdditionalInputsForbidden creates a GetAdditionalInputsForbidden with default headers values

func (*GetAdditionalInputsForbidden) Error

func (*GetAdditionalInputsForbidden) GetPayload

func (*GetAdditionalInputsForbidden) IsClientError

func (o *GetAdditionalInputsForbidden) IsClientError() bool

IsClientError returns true when this get additional inputs forbidden response has a 4xx status code

func (*GetAdditionalInputsForbidden) IsCode

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

IsCode returns true when this get additional inputs forbidden response a status code equal to that given

func (*GetAdditionalInputsForbidden) IsRedirect

func (o *GetAdditionalInputsForbidden) IsRedirect() bool

IsRedirect returns true when this get additional inputs forbidden response has a 3xx status code

func (*GetAdditionalInputsForbidden) IsServerError

func (o *GetAdditionalInputsForbidden) IsServerError() bool

IsServerError returns true when this get additional inputs forbidden response has a 5xx status code

func (*GetAdditionalInputsForbidden) IsSuccess

func (o *GetAdditionalInputsForbidden) IsSuccess() bool

IsSuccess returns true when this get additional inputs forbidden response has a 2xx status code

func (*GetAdditionalInputsForbidden) String

type GetAdditionalInputsInternalServerError

type GetAdditionalInputsInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetAdditionalInputsInternalServerError

func NewGetAdditionalInputsInternalServerError() *GetAdditionalInputsInternalServerError

NewGetAdditionalInputsInternalServerError creates a GetAdditionalInputsInternalServerError with default headers values

func (*GetAdditionalInputsInternalServerError) Error

func (*GetAdditionalInputsInternalServerError) GetPayload

func (*GetAdditionalInputsInternalServerError) IsClientError

func (o *GetAdditionalInputsInternalServerError) IsClientError() bool

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

func (*GetAdditionalInputsInternalServerError) IsCode

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

func (*GetAdditionalInputsInternalServerError) IsRedirect

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

func (*GetAdditionalInputsInternalServerError) IsServerError

func (o *GetAdditionalInputsInternalServerError) IsServerError() bool

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

func (*GetAdditionalInputsInternalServerError) IsSuccess

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

func (*GetAdditionalInputsInternalServerError) String

type GetAdditionalInputsNotFound

type GetAdditionalInputsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetAdditionalInputsNotFound

func NewGetAdditionalInputsNotFound() *GetAdditionalInputsNotFound

NewGetAdditionalInputsNotFound creates a GetAdditionalInputsNotFound with default headers values

func (*GetAdditionalInputsNotFound) Error

func (*GetAdditionalInputsNotFound) GetPayload

func (*GetAdditionalInputsNotFound) IsClientError

func (o *GetAdditionalInputsNotFound) IsClientError() bool

IsClientError returns true when this get additional inputs not found response has a 4xx status code

func (*GetAdditionalInputsNotFound) IsCode

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

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

func (*GetAdditionalInputsNotFound) IsRedirect

func (o *GetAdditionalInputsNotFound) IsRedirect() bool

IsRedirect returns true when this get additional inputs not found response has a 3xx status code

func (*GetAdditionalInputsNotFound) IsServerError

func (o *GetAdditionalInputsNotFound) IsServerError() bool

IsServerError returns true when this get additional inputs not found response has a 5xx status code

func (*GetAdditionalInputsNotFound) IsSuccess

func (o *GetAdditionalInputsNotFound) IsSuccess() bool

IsSuccess returns true when this get additional inputs not found response has a 2xx status code

func (*GetAdditionalInputsNotFound) String

func (o *GetAdditionalInputsNotFound) String() string

type GetAdditionalInputsOK

type GetAdditionalInputsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetAdditionalInputsResponse
}

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

Success.

func NewGetAdditionalInputsOK

func NewGetAdditionalInputsOK() *GetAdditionalInputsOK

NewGetAdditionalInputsOK creates a GetAdditionalInputsOK with default headers values

func (*GetAdditionalInputsOK) Error

func (o *GetAdditionalInputsOK) Error() string

func (*GetAdditionalInputsOK) GetPayload

func (*GetAdditionalInputsOK) IsClientError

func (o *GetAdditionalInputsOK) IsClientError() bool

IsClientError returns true when this get additional inputs o k response has a 4xx status code

func (*GetAdditionalInputsOK) IsCode

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

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

func (*GetAdditionalInputsOK) IsRedirect

func (o *GetAdditionalInputsOK) IsRedirect() bool

IsRedirect returns true when this get additional inputs o k response has a 3xx status code

func (*GetAdditionalInputsOK) IsServerError

func (o *GetAdditionalInputsOK) IsServerError() bool

IsServerError returns true when this get additional inputs o k response has a 5xx status code

func (*GetAdditionalInputsOK) IsSuccess

func (o *GetAdditionalInputsOK) IsSuccess() bool

IsSuccess returns true when this get additional inputs o k response has a 2xx status code

func (*GetAdditionalInputsOK) String

func (o *GetAdditionalInputsOK) String() string

type GetAdditionalInputsParams

type GetAdditionalInputsParams struct {

	/* RateID.

	   The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
	*/
	RateID string

	/* RequestToken.

	   The request token returned in the response to the getRates operation.
	*/
	RequestToken string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetAdditionalInputsParams contains all the parameters to send to the API endpoint

for the get additional inputs operation.

Typically these are written to a http.Request.

func NewGetAdditionalInputsParams

func NewGetAdditionalInputsParams() *GetAdditionalInputsParams

NewGetAdditionalInputsParams creates a new GetAdditionalInputsParams 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 NewGetAdditionalInputsParamsWithContext

func NewGetAdditionalInputsParamsWithContext(ctx context.Context) *GetAdditionalInputsParams

NewGetAdditionalInputsParamsWithContext creates a new GetAdditionalInputsParams object with the ability to set a context for a request.

func NewGetAdditionalInputsParamsWithHTTPClient

func NewGetAdditionalInputsParamsWithHTTPClient(client *http.Client) *GetAdditionalInputsParams

NewGetAdditionalInputsParamsWithHTTPClient creates a new GetAdditionalInputsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAdditionalInputsParamsWithTimeout

func NewGetAdditionalInputsParamsWithTimeout(timeout time.Duration) *GetAdditionalInputsParams

NewGetAdditionalInputsParamsWithTimeout creates a new GetAdditionalInputsParams object with the ability to set a timeout on a request.

func (*GetAdditionalInputsParams) SetContext

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

SetContext adds the context to the get additional inputs params

func (*GetAdditionalInputsParams) SetDefaults

func (o *GetAdditionalInputsParams) SetDefaults()

SetDefaults hydrates default values in the get additional inputs params (not the query body).

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

func (*GetAdditionalInputsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get additional inputs params

func (*GetAdditionalInputsParams) SetRateID

func (o *GetAdditionalInputsParams) SetRateID(rateID string)

SetRateID adds the rateId to the get additional inputs params

func (*GetAdditionalInputsParams) SetRequestToken

func (o *GetAdditionalInputsParams) SetRequestToken(requestToken string)

SetRequestToken adds the requestToken to the get additional inputs params

func (*GetAdditionalInputsParams) SetTimeout

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

SetTimeout adds the timeout to the get additional inputs params

func (*GetAdditionalInputsParams) SetXAmznShippingBusinessID

func (o *GetAdditionalInputsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get additional inputs params

func (*GetAdditionalInputsParams) WithContext

WithContext adds the context to the get additional inputs params

func (*GetAdditionalInputsParams) WithDefaults

WithDefaults hydrates default values in the get additional inputs params (not the query body).

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

func (*GetAdditionalInputsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get additional inputs params

func (*GetAdditionalInputsParams) WithRateID

WithRateID adds the rateID to the get additional inputs params

func (*GetAdditionalInputsParams) WithRequestToken

func (o *GetAdditionalInputsParams) WithRequestToken(requestToken string) *GetAdditionalInputsParams

WithRequestToken adds the requestToken to the get additional inputs params

func (*GetAdditionalInputsParams) WithTimeout

WithTimeout adds the timeout to the get additional inputs params

func (*GetAdditionalInputsParams) WithXAmznShippingBusinessID

func (o *GetAdditionalInputsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetAdditionalInputsParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get additional inputs params

func (*GetAdditionalInputsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAdditionalInputsReader

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

GetAdditionalInputsReader is a Reader for the GetAdditionalInputs structure.

func (*GetAdditionalInputsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAdditionalInputsRequestEntityTooLarge

type GetAdditionalInputsRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetAdditionalInputsRequestEntityTooLarge

func NewGetAdditionalInputsRequestEntityTooLarge() *GetAdditionalInputsRequestEntityTooLarge

NewGetAdditionalInputsRequestEntityTooLarge creates a GetAdditionalInputsRequestEntityTooLarge with default headers values

func (*GetAdditionalInputsRequestEntityTooLarge) Error

func (*GetAdditionalInputsRequestEntityTooLarge) GetPayload

func (*GetAdditionalInputsRequestEntityTooLarge) IsClientError

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

func (*GetAdditionalInputsRequestEntityTooLarge) IsCode

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

func (*GetAdditionalInputsRequestEntityTooLarge) IsRedirect

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

func (*GetAdditionalInputsRequestEntityTooLarge) IsServerError

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

func (*GetAdditionalInputsRequestEntityTooLarge) IsSuccess

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

func (*GetAdditionalInputsRequestEntityTooLarge) String

type GetAdditionalInputsServiceUnavailable

type GetAdditionalInputsServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetAdditionalInputsServiceUnavailable

func NewGetAdditionalInputsServiceUnavailable() *GetAdditionalInputsServiceUnavailable

NewGetAdditionalInputsServiceUnavailable creates a GetAdditionalInputsServiceUnavailable with default headers values

func (*GetAdditionalInputsServiceUnavailable) Error

func (*GetAdditionalInputsServiceUnavailable) GetPayload

func (*GetAdditionalInputsServiceUnavailable) IsClientError

func (o *GetAdditionalInputsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get additional inputs service unavailable response has a 4xx status code

func (*GetAdditionalInputsServiceUnavailable) IsCode

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

func (*GetAdditionalInputsServiceUnavailable) IsRedirect

IsRedirect returns true when this get additional inputs service unavailable response has a 3xx status code

func (*GetAdditionalInputsServiceUnavailable) IsServerError

func (o *GetAdditionalInputsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get additional inputs service unavailable response has a 5xx status code

func (*GetAdditionalInputsServiceUnavailable) IsSuccess

IsSuccess returns true when this get additional inputs service unavailable response has a 2xx status code

func (*GetAdditionalInputsServiceUnavailable) String

type GetAdditionalInputsTooManyRequests

type GetAdditionalInputsTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetAdditionalInputsTooManyRequests

func NewGetAdditionalInputsTooManyRequests() *GetAdditionalInputsTooManyRequests

NewGetAdditionalInputsTooManyRequests creates a GetAdditionalInputsTooManyRequests with default headers values

func (*GetAdditionalInputsTooManyRequests) Error

func (*GetAdditionalInputsTooManyRequests) GetPayload

func (*GetAdditionalInputsTooManyRequests) IsClientError

func (o *GetAdditionalInputsTooManyRequests) IsClientError() bool

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

func (*GetAdditionalInputsTooManyRequests) IsCode

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

func (*GetAdditionalInputsTooManyRequests) IsRedirect

func (o *GetAdditionalInputsTooManyRequests) IsRedirect() bool

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

func (*GetAdditionalInputsTooManyRequests) IsServerError

func (o *GetAdditionalInputsTooManyRequests) IsServerError() bool

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

func (*GetAdditionalInputsTooManyRequests) IsSuccess

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

func (*GetAdditionalInputsTooManyRequests) String

type GetAdditionalInputsUnauthorized

type GetAdditionalInputsUnauthorized 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 *shipping_v2_models.ErrorList
}

GetAdditionalInputsUnauthorized 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 NewGetAdditionalInputsUnauthorized

func NewGetAdditionalInputsUnauthorized() *GetAdditionalInputsUnauthorized

NewGetAdditionalInputsUnauthorized creates a GetAdditionalInputsUnauthorized with default headers values

func (*GetAdditionalInputsUnauthorized) Error

func (*GetAdditionalInputsUnauthorized) GetPayload

func (*GetAdditionalInputsUnauthorized) IsClientError

func (o *GetAdditionalInputsUnauthorized) IsClientError() bool

IsClientError returns true when this get additional inputs unauthorized response has a 4xx status code

func (*GetAdditionalInputsUnauthorized) IsCode

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

IsCode returns true when this get additional inputs unauthorized response a status code equal to that given

func (*GetAdditionalInputsUnauthorized) IsRedirect

func (o *GetAdditionalInputsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get additional inputs unauthorized response has a 3xx status code

func (*GetAdditionalInputsUnauthorized) IsServerError

func (o *GetAdditionalInputsUnauthorized) IsServerError() bool

IsServerError returns true when this get additional inputs unauthorized response has a 5xx status code

func (*GetAdditionalInputsUnauthorized) IsSuccess

func (o *GetAdditionalInputsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get additional inputs unauthorized response has a 2xx status code

func (*GetAdditionalInputsUnauthorized) String

type GetAdditionalInputsUnsupportedMediaType

type GetAdditionalInputsUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetAdditionalInputsUnsupportedMediaType

func NewGetAdditionalInputsUnsupportedMediaType() *GetAdditionalInputsUnsupportedMediaType

NewGetAdditionalInputsUnsupportedMediaType creates a GetAdditionalInputsUnsupportedMediaType with default headers values

func (*GetAdditionalInputsUnsupportedMediaType) Error

func (*GetAdditionalInputsUnsupportedMediaType) GetPayload

func (*GetAdditionalInputsUnsupportedMediaType) IsClientError

func (o *GetAdditionalInputsUnsupportedMediaType) IsClientError() bool

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

func (*GetAdditionalInputsUnsupportedMediaType) IsCode

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

func (*GetAdditionalInputsUnsupportedMediaType) IsRedirect

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

func (*GetAdditionalInputsUnsupportedMediaType) IsServerError

func (o *GetAdditionalInputsUnsupportedMediaType) IsServerError() bool

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

func (*GetAdditionalInputsUnsupportedMediaType) IsSuccess

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

func (*GetAdditionalInputsUnsupportedMediaType) String

type GetCarrierAccountFormInputsBadRequest

type GetCarrierAccountFormInputsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetCarrierAccountFormInputsBadRequest

func NewGetCarrierAccountFormInputsBadRequest() *GetCarrierAccountFormInputsBadRequest

NewGetCarrierAccountFormInputsBadRequest creates a GetCarrierAccountFormInputsBadRequest with default headers values

func (*GetCarrierAccountFormInputsBadRequest) Error

func (*GetCarrierAccountFormInputsBadRequest) GetPayload

func (*GetCarrierAccountFormInputsBadRequest) IsClientError

func (o *GetCarrierAccountFormInputsBadRequest) IsClientError() bool

IsClientError returns true when this get carrier account form inputs bad request response has a 4xx status code

func (*GetCarrierAccountFormInputsBadRequest) IsCode

IsCode returns true when this get carrier account form inputs bad request response a status code equal to that given

func (*GetCarrierAccountFormInputsBadRequest) IsRedirect

IsRedirect returns true when this get carrier account form inputs bad request response has a 3xx status code

func (*GetCarrierAccountFormInputsBadRequest) IsServerError

func (o *GetCarrierAccountFormInputsBadRequest) IsServerError() bool

IsServerError returns true when this get carrier account form inputs bad request response has a 5xx status code

func (*GetCarrierAccountFormInputsBadRequest) IsSuccess

IsSuccess returns true when this get carrier account form inputs bad request response has a 2xx status code

func (*GetCarrierAccountFormInputsBadRequest) String

type GetCarrierAccountFormInputsForbidden

type GetCarrierAccountFormInputsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetCarrierAccountFormInputsForbidden 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 NewGetCarrierAccountFormInputsForbidden

func NewGetCarrierAccountFormInputsForbidden() *GetCarrierAccountFormInputsForbidden

NewGetCarrierAccountFormInputsForbidden creates a GetCarrierAccountFormInputsForbidden with default headers values

func (*GetCarrierAccountFormInputsForbidden) Error

func (*GetCarrierAccountFormInputsForbidden) GetPayload

func (*GetCarrierAccountFormInputsForbidden) IsClientError

func (o *GetCarrierAccountFormInputsForbidden) IsClientError() bool

IsClientError returns true when this get carrier account form inputs forbidden response has a 4xx status code

func (*GetCarrierAccountFormInputsForbidden) IsCode

IsCode returns true when this get carrier account form inputs forbidden response a status code equal to that given

func (*GetCarrierAccountFormInputsForbidden) IsRedirect

IsRedirect returns true when this get carrier account form inputs forbidden response has a 3xx status code

func (*GetCarrierAccountFormInputsForbidden) IsServerError

func (o *GetCarrierAccountFormInputsForbidden) IsServerError() bool

IsServerError returns true when this get carrier account form inputs forbidden response has a 5xx status code

func (*GetCarrierAccountFormInputsForbidden) IsSuccess

IsSuccess returns true when this get carrier account form inputs forbidden response has a 2xx status code

func (*GetCarrierAccountFormInputsForbidden) String

type GetCarrierAccountFormInputsInternalServerError

type GetCarrierAccountFormInputsInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetCarrierAccountFormInputsInternalServerError

func NewGetCarrierAccountFormInputsInternalServerError() *GetCarrierAccountFormInputsInternalServerError

NewGetCarrierAccountFormInputsInternalServerError creates a GetCarrierAccountFormInputsInternalServerError with default headers values

func (*GetCarrierAccountFormInputsInternalServerError) Error

func (*GetCarrierAccountFormInputsInternalServerError) GetPayload

func (*GetCarrierAccountFormInputsInternalServerError) IsClientError

IsClientError returns true when this get carrier account form inputs internal server error response has a 4xx status code

func (*GetCarrierAccountFormInputsInternalServerError) IsCode

IsCode returns true when this get carrier account form inputs internal server error response a status code equal to that given

func (*GetCarrierAccountFormInputsInternalServerError) IsRedirect

IsRedirect returns true when this get carrier account form inputs internal server error response has a 3xx status code

func (*GetCarrierAccountFormInputsInternalServerError) IsServerError

IsServerError returns true when this get carrier account form inputs internal server error response has a 5xx status code

func (*GetCarrierAccountFormInputsInternalServerError) IsSuccess

IsSuccess returns true when this get carrier account form inputs internal server error response has a 2xx status code

func (*GetCarrierAccountFormInputsInternalServerError) String

type GetCarrierAccountFormInputsNotFound

type GetCarrierAccountFormInputsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetCarrierAccountFormInputsNotFound

func NewGetCarrierAccountFormInputsNotFound() *GetCarrierAccountFormInputsNotFound

NewGetCarrierAccountFormInputsNotFound creates a GetCarrierAccountFormInputsNotFound with default headers values

func (*GetCarrierAccountFormInputsNotFound) Error

func (*GetCarrierAccountFormInputsNotFound) GetPayload

func (*GetCarrierAccountFormInputsNotFound) IsClientError

func (o *GetCarrierAccountFormInputsNotFound) IsClientError() bool

IsClientError returns true when this get carrier account form inputs not found response has a 4xx status code

func (*GetCarrierAccountFormInputsNotFound) IsCode

IsCode returns true when this get carrier account form inputs not found response a status code equal to that given

func (*GetCarrierAccountFormInputsNotFound) IsRedirect

func (o *GetCarrierAccountFormInputsNotFound) IsRedirect() bool

IsRedirect returns true when this get carrier account form inputs not found response has a 3xx status code

func (*GetCarrierAccountFormInputsNotFound) IsServerError

func (o *GetCarrierAccountFormInputsNotFound) IsServerError() bool

IsServerError returns true when this get carrier account form inputs not found response has a 5xx status code

func (*GetCarrierAccountFormInputsNotFound) IsSuccess

IsSuccess returns true when this get carrier account form inputs not found response has a 2xx status code

func (*GetCarrierAccountFormInputsNotFound) String

type GetCarrierAccountFormInputsOK

type GetCarrierAccountFormInputsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetCarrierAccountFormInputsResponse
}

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

Success.

func NewGetCarrierAccountFormInputsOK

func NewGetCarrierAccountFormInputsOK() *GetCarrierAccountFormInputsOK

NewGetCarrierAccountFormInputsOK creates a GetCarrierAccountFormInputsOK with default headers values

func (*GetCarrierAccountFormInputsOK) Error

func (*GetCarrierAccountFormInputsOK) GetPayload

func (*GetCarrierAccountFormInputsOK) IsClientError

func (o *GetCarrierAccountFormInputsOK) IsClientError() bool

IsClientError returns true when this get carrier account form inputs o k response has a 4xx status code

func (*GetCarrierAccountFormInputsOK) IsCode

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

IsCode returns true when this get carrier account form inputs o k response a status code equal to that given

func (*GetCarrierAccountFormInputsOK) IsRedirect

func (o *GetCarrierAccountFormInputsOK) IsRedirect() bool

IsRedirect returns true when this get carrier account form inputs o k response has a 3xx status code

func (*GetCarrierAccountFormInputsOK) IsServerError

func (o *GetCarrierAccountFormInputsOK) IsServerError() bool

IsServerError returns true when this get carrier account form inputs o k response has a 5xx status code

func (*GetCarrierAccountFormInputsOK) IsSuccess

func (o *GetCarrierAccountFormInputsOK) IsSuccess() bool

IsSuccess returns true when this get carrier account form inputs o k response has a 2xx status code

func (*GetCarrierAccountFormInputsOK) String

type GetCarrierAccountFormInputsParams

type GetCarrierAccountFormInputsParams struct {

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetCarrierAccountFormInputsParams contains all the parameters to send to the API endpoint

for the get carrier account form inputs operation.

Typically these are written to a http.Request.

func NewGetCarrierAccountFormInputsParams

func NewGetCarrierAccountFormInputsParams() *GetCarrierAccountFormInputsParams

NewGetCarrierAccountFormInputsParams creates a new GetCarrierAccountFormInputsParams 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 NewGetCarrierAccountFormInputsParamsWithContext

func NewGetCarrierAccountFormInputsParamsWithContext(ctx context.Context) *GetCarrierAccountFormInputsParams

NewGetCarrierAccountFormInputsParamsWithContext creates a new GetCarrierAccountFormInputsParams object with the ability to set a context for a request.

func NewGetCarrierAccountFormInputsParamsWithHTTPClient

func NewGetCarrierAccountFormInputsParamsWithHTTPClient(client *http.Client) *GetCarrierAccountFormInputsParams

NewGetCarrierAccountFormInputsParamsWithHTTPClient creates a new GetCarrierAccountFormInputsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCarrierAccountFormInputsParamsWithTimeout

func NewGetCarrierAccountFormInputsParamsWithTimeout(timeout time.Duration) *GetCarrierAccountFormInputsParams

NewGetCarrierAccountFormInputsParamsWithTimeout creates a new GetCarrierAccountFormInputsParams object with the ability to set a timeout on a request.

func (*GetCarrierAccountFormInputsParams) SetContext

SetContext adds the context to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) SetDefaults

func (o *GetCarrierAccountFormInputsParams) SetDefaults()

SetDefaults hydrates default values in the get carrier account form inputs params (not the query body).

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

func (*GetCarrierAccountFormInputsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) SetTimeout

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

SetTimeout adds the timeout to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) SetXAmznShippingBusinessID

func (o *GetCarrierAccountFormInputsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) WithContext

WithContext adds the context to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) WithDefaults

WithDefaults hydrates default values in the get carrier account form inputs params (not the query body).

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

func (*GetCarrierAccountFormInputsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) WithTimeout

WithTimeout adds the timeout to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) WithXAmznShippingBusinessID

func (o *GetCarrierAccountFormInputsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCarrierAccountFormInputsParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get carrier account form inputs params

func (*GetCarrierAccountFormInputsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCarrierAccountFormInputsReader

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

GetCarrierAccountFormInputsReader is a Reader for the GetCarrierAccountFormInputs structure.

func (*GetCarrierAccountFormInputsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCarrierAccountFormInputsRequestEntityTooLarge

type GetCarrierAccountFormInputsRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetCarrierAccountFormInputsRequestEntityTooLarge

func NewGetCarrierAccountFormInputsRequestEntityTooLarge() *GetCarrierAccountFormInputsRequestEntityTooLarge

NewGetCarrierAccountFormInputsRequestEntityTooLarge creates a GetCarrierAccountFormInputsRequestEntityTooLarge with default headers values

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) Error

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) GetPayload

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsClientError

IsClientError returns true when this get carrier account form inputs request entity too large response has a 4xx status code

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsCode

IsCode returns true when this get carrier account form inputs request entity too large response a status code equal to that given

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get carrier account form inputs request entity too large response has a 3xx status code

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsServerError

IsServerError returns true when this get carrier account form inputs request entity too large response has a 5xx status code

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get carrier account form inputs request entity too large response has a 2xx status code

func (*GetCarrierAccountFormInputsRequestEntityTooLarge) String

type GetCarrierAccountFormInputsServiceUnavailable

type GetCarrierAccountFormInputsServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetCarrierAccountFormInputsServiceUnavailable

func NewGetCarrierAccountFormInputsServiceUnavailable() *GetCarrierAccountFormInputsServiceUnavailable

NewGetCarrierAccountFormInputsServiceUnavailable creates a GetCarrierAccountFormInputsServiceUnavailable with default headers values

func (*GetCarrierAccountFormInputsServiceUnavailable) Error

func (*GetCarrierAccountFormInputsServiceUnavailable) GetPayload

func (*GetCarrierAccountFormInputsServiceUnavailable) IsClientError

IsClientError returns true when this get carrier account form inputs service unavailable response has a 4xx status code

func (*GetCarrierAccountFormInputsServiceUnavailable) IsCode

IsCode returns true when this get carrier account form inputs service unavailable response a status code equal to that given

func (*GetCarrierAccountFormInputsServiceUnavailable) IsRedirect

IsRedirect returns true when this get carrier account form inputs service unavailable response has a 3xx status code

func (*GetCarrierAccountFormInputsServiceUnavailable) IsServerError

IsServerError returns true when this get carrier account form inputs service unavailable response has a 5xx status code

func (*GetCarrierAccountFormInputsServiceUnavailable) IsSuccess

IsSuccess returns true when this get carrier account form inputs service unavailable response has a 2xx status code

func (*GetCarrierAccountFormInputsServiceUnavailable) String

type GetCarrierAccountFormInputsTooManyRequests

type GetCarrierAccountFormInputsTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetCarrierAccountFormInputsTooManyRequests

func NewGetCarrierAccountFormInputsTooManyRequests() *GetCarrierAccountFormInputsTooManyRequests

NewGetCarrierAccountFormInputsTooManyRequests creates a GetCarrierAccountFormInputsTooManyRequests with default headers values

func (*GetCarrierAccountFormInputsTooManyRequests) Error

func (*GetCarrierAccountFormInputsTooManyRequests) GetPayload

func (*GetCarrierAccountFormInputsTooManyRequests) IsClientError

IsClientError returns true when this get carrier account form inputs too many requests response has a 4xx status code

func (*GetCarrierAccountFormInputsTooManyRequests) IsCode

IsCode returns true when this get carrier account form inputs too many requests response a status code equal to that given

func (*GetCarrierAccountFormInputsTooManyRequests) IsRedirect

IsRedirect returns true when this get carrier account form inputs too many requests response has a 3xx status code

func (*GetCarrierAccountFormInputsTooManyRequests) IsServerError

IsServerError returns true when this get carrier account form inputs too many requests response has a 5xx status code

func (*GetCarrierAccountFormInputsTooManyRequests) IsSuccess

IsSuccess returns true when this get carrier account form inputs too many requests response has a 2xx status code

func (*GetCarrierAccountFormInputsTooManyRequests) String

type GetCarrierAccountFormInputsUnauthorized

type GetCarrierAccountFormInputsUnauthorized 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 *shipping_v2_models.ErrorList
}

GetCarrierAccountFormInputsUnauthorized 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 NewGetCarrierAccountFormInputsUnauthorized

func NewGetCarrierAccountFormInputsUnauthorized() *GetCarrierAccountFormInputsUnauthorized

NewGetCarrierAccountFormInputsUnauthorized creates a GetCarrierAccountFormInputsUnauthorized with default headers values

func (*GetCarrierAccountFormInputsUnauthorized) Error

func (*GetCarrierAccountFormInputsUnauthorized) GetPayload

func (*GetCarrierAccountFormInputsUnauthorized) IsClientError

func (o *GetCarrierAccountFormInputsUnauthorized) IsClientError() bool

IsClientError returns true when this get carrier account form inputs unauthorized response has a 4xx status code

func (*GetCarrierAccountFormInputsUnauthorized) IsCode

IsCode returns true when this get carrier account form inputs unauthorized response a status code equal to that given

func (*GetCarrierAccountFormInputsUnauthorized) IsRedirect

IsRedirect returns true when this get carrier account form inputs unauthorized response has a 3xx status code

func (*GetCarrierAccountFormInputsUnauthorized) IsServerError

func (o *GetCarrierAccountFormInputsUnauthorized) IsServerError() bool

IsServerError returns true when this get carrier account form inputs unauthorized response has a 5xx status code

func (*GetCarrierAccountFormInputsUnauthorized) IsSuccess

IsSuccess returns true when this get carrier account form inputs unauthorized response has a 2xx status code

func (*GetCarrierAccountFormInputsUnauthorized) String

type GetCarrierAccountFormInputsUnsupportedMediaType

type GetCarrierAccountFormInputsUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetCarrierAccountFormInputsUnsupportedMediaType

func NewGetCarrierAccountFormInputsUnsupportedMediaType() *GetCarrierAccountFormInputsUnsupportedMediaType

NewGetCarrierAccountFormInputsUnsupportedMediaType creates a GetCarrierAccountFormInputsUnsupportedMediaType with default headers values

func (*GetCarrierAccountFormInputsUnsupportedMediaType) Error

func (*GetCarrierAccountFormInputsUnsupportedMediaType) GetPayload

func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsClientError

IsClientError returns true when this get carrier account form inputs unsupported media type response has a 4xx status code

func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsCode

IsCode returns true when this get carrier account form inputs unsupported media type response a status code equal to that given

func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get carrier account form inputs unsupported media type response has a 3xx status code

func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsServerError

IsServerError returns true when this get carrier account form inputs unsupported media type response has a 5xx status code

func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get carrier account form inputs unsupported media type response has a 2xx status code

func (*GetCarrierAccountFormInputsUnsupportedMediaType) String

type GetCarrierAccountsBadRequest

type GetCarrierAccountsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetCarrierAccountsBadRequest

func NewGetCarrierAccountsBadRequest() *GetCarrierAccountsBadRequest

NewGetCarrierAccountsBadRequest creates a GetCarrierAccountsBadRequest with default headers values

func (*GetCarrierAccountsBadRequest) Error

func (*GetCarrierAccountsBadRequest) GetPayload

func (*GetCarrierAccountsBadRequest) IsClientError

func (o *GetCarrierAccountsBadRequest) IsClientError() bool

IsClientError returns true when this get carrier accounts bad request response has a 4xx status code

func (*GetCarrierAccountsBadRequest) IsCode

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

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

func (*GetCarrierAccountsBadRequest) IsRedirect

func (o *GetCarrierAccountsBadRequest) IsRedirect() bool

IsRedirect returns true when this get carrier accounts bad request response has a 3xx status code

func (*GetCarrierAccountsBadRequest) IsServerError

func (o *GetCarrierAccountsBadRequest) IsServerError() bool

IsServerError returns true when this get carrier accounts bad request response has a 5xx status code

func (*GetCarrierAccountsBadRequest) IsSuccess

func (o *GetCarrierAccountsBadRequest) IsSuccess() bool

IsSuccess returns true when this get carrier accounts bad request response has a 2xx status code

func (*GetCarrierAccountsBadRequest) String

type GetCarrierAccountsForbidden

type GetCarrierAccountsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetCarrierAccountsForbidden 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 NewGetCarrierAccountsForbidden

func NewGetCarrierAccountsForbidden() *GetCarrierAccountsForbidden

NewGetCarrierAccountsForbidden creates a GetCarrierAccountsForbidden with default headers values

func (*GetCarrierAccountsForbidden) Error

func (*GetCarrierAccountsForbidden) GetPayload

func (*GetCarrierAccountsForbidden) IsClientError

func (o *GetCarrierAccountsForbidden) IsClientError() bool

IsClientError returns true when this get carrier accounts forbidden response has a 4xx status code

func (*GetCarrierAccountsForbidden) IsCode

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

IsCode returns true when this get carrier accounts forbidden response a status code equal to that given

func (*GetCarrierAccountsForbidden) IsRedirect

func (o *GetCarrierAccountsForbidden) IsRedirect() bool

IsRedirect returns true when this get carrier accounts forbidden response has a 3xx status code

func (*GetCarrierAccountsForbidden) IsServerError

func (o *GetCarrierAccountsForbidden) IsServerError() bool

IsServerError returns true when this get carrier accounts forbidden response has a 5xx status code

func (*GetCarrierAccountsForbidden) IsSuccess

func (o *GetCarrierAccountsForbidden) IsSuccess() bool

IsSuccess returns true when this get carrier accounts forbidden response has a 2xx status code

func (*GetCarrierAccountsForbidden) String

func (o *GetCarrierAccountsForbidden) String() string

type GetCarrierAccountsInternalServerError

type GetCarrierAccountsInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetCarrierAccountsInternalServerError

func NewGetCarrierAccountsInternalServerError() *GetCarrierAccountsInternalServerError

NewGetCarrierAccountsInternalServerError creates a GetCarrierAccountsInternalServerError with default headers values

func (*GetCarrierAccountsInternalServerError) Error

func (*GetCarrierAccountsInternalServerError) GetPayload

func (*GetCarrierAccountsInternalServerError) IsClientError

func (o *GetCarrierAccountsInternalServerError) IsClientError() bool

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

func (*GetCarrierAccountsInternalServerError) IsCode

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

func (*GetCarrierAccountsInternalServerError) IsRedirect

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

func (*GetCarrierAccountsInternalServerError) IsServerError

func (o *GetCarrierAccountsInternalServerError) IsServerError() bool

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

func (*GetCarrierAccountsInternalServerError) IsSuccess

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

func (*GetCarrierAccountsInternalServerError) String

type GetCarrierAccountsNotFound

type GetCarrierAccountsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetCarrierAccountsNotFound

func NewGetCarrierAccountsNotFound() *GetCarrierAccountsNotFound

NewGetCarrierAccountsNotFound creates a GetCarrierAccountsNotFound with default headers values

func (*GetCarrierAccountsNotFound) Error

func (*GetCarrierAccountsNotFound) GetPayload

func (*GetCarrierAccountsNotFound) IsClientError

func (o *GetCarrierAccountsNotFound) IsClientError() bool

IsClientError returns true when this get carrier accounts not found response has a 4xx status code

func (*GetCarrierAccountsNotFound) IsCode

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

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

func (*GetCarrierAccountsNotFound) IsRedirect

func (o *GetCarrierAccountsNotFound) IsRedirect() bool

IsRedirect returns true when this get carrier accounts not found response has a 3xx status code

func (*GetCarrierAccountsNotFound) IsServerError

func (o *GetCarrierAccountsNotFound) IsServerError() bool

IsServerError returns true when this get carrier accounts not found response has a 5xx status code

func (*GetCarrierAccountsNotFound) IsSuccess

func (o *GetCarrierAccountsNotFound) IsSuccess() bool

IsSuccess returns true when this get carrier accounts not found response has a 2xx status code

func (*GetCarrierAccountsNotFound) String

func (o *GetCarrierAccountsNotFound) String() string

type GetCarrierAccountsOK

type GetCarrierAccountsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetCarrierAccountsResponse
}

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

Success.

func NewGetCarrierAccountsOK

func NewGetCarrierAccountsOK() *GetCarrierAccountsOK

NewGetCarrierAccountsOK creates a GetCarrierAccountsOK with default headers values

func (*GetCarrierAccountsOK) Error

func (o *GetCarrierAccountsOK) Error() string

func (*GetCarrierAccountsOK) GetPayload

func (*GetCarrierAccountsOK) IsClientError

func (o *GetCarrierAccountsOK) IsClientError() bool

IsClientError returns true when this get carrier accounts o k response has a 4xx status code

func (*GetCarrierAccountsOK) IsCode

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

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

func (*GetCarrierAccountsOK) IsRedirect

func (o *GetCarrierAccountsOK) IsRedirect() bool

IsRedirect returns true when this get carrier accounts o k response has a 3xx status code

func (*GetCarrierAccountsOK) IsServerError

func (o *GetCarrierAccountsOK) IsServerError() bool

IsServerError returns true when this get carrier accounts o k response has a 5xx status code

func (*GetCarrierAccountsOK) IsSuccess

func (o *GetCarrierAccountsOK) IsSuccess() bool

IsSuccess returns true when this get carrier accounts o k response has a 2xx status code

func (*GetCarrierAccountsOK) String

func (o *GetCarrierAccountsOK) String() string

type GetCarrierAccountsParams

type GetCarrierAccountsParams struct {

	// Body.
	Body *shipping_v2_models.GetCarrierAccountsRequest

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetCarrierAccountsParams contains all the parameters to send to the API endpoint

for the get carrier accounts operation.

Typically these are written to a http.Request.

func NewGetCarrierAccountsParams

func NewGetCarrierAccountsParams() *GetCarrierAccountsParams

NewGetCarrierAccountsParams creates a new GetCarrierAccountsParams 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 NewGetCarrierAccountsParamsWithContext

func NewGetCarrierAccountsParamsWithContext(ctx context.Context) *GetCarrierAccountsParams

NewGetCarrierAccountsParamsWithContext creates a new GetCarrierAccountsParams object with the ability to set a context for a request.

func NewGetCarrierAccountsParamsWithHTTPClient

func NewGetCarrierAccountsParamsWithHTTPClient(client *http.Client) *GetCarrierAccountsParams

NewGetCarrierAccountsParamsWithHTTPClient creates a new GetCarrierAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCarrierAccountsParamsWithTimeout

func NewGetCarrierAccountsParamsWithTimeout(timeout time.Duration) *GetCarrierAccountsParams

NewGetCarrierAccountsParamsWithTimeout creates a new GetCarrierAccountsParams object with the ability to set a timeout on a request.

func (*GetCarrierAccountsParams) SetBody

SetBody adds the body to the get carrier accounts params

func (*GetCarrierAccountsParams) SetContext

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

SetContext adds the context to the get carrier accounts params

func (*GetCarrierAccountsParams) SetDefaults

func (o *GetCarrierAccountsParams) SetDefaults()

SetDefaults hydrates default values in the get carrier accounts params (not the query body).

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

func (*GetCarrierAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get carrier accounts params

func (*GetCarrierAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get carrier accounts params

func (*GetCarrierAccountsParams) SetXAmznShippingBusinessID

func (o *GetCarrierAccountsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get carrier accounts params

func (*GetCarrierAccountsParams) WithBody

WithBody adds the body to the get carrier accounts params

func (*GetCarrierAccountsParams) WithContext

WithContext adds the context to the get carrier accounts params

func (*GetCarrierAccountsParams) WithDefaults

WithDefaults hydrates default values in the get carrier accounts params (not the query body).

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

func (*GetCarrierAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get carrier accounts params

func (*GetCarrierAccountsParams) WithTimeout

WithTimeout adds the timeout to the get carrier accounts params

func (*GetCarrierAccountsParams) WithXAmznShippingBusinessID

func (o *GetCarrierAccountsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCarrierAccountsParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get carrier accounts params

func (*GetCarrierAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCarrierAccountsReader

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

GetCarrierAccountsReader is a Reader for the GetCarrierAccounts structure.

func (*GetCarrierAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCarrierAccountsRequestEntityTooLarge

type GetCarrierAccountsRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetCarrierAccountsRequestEntityTooLarge

func NewGetCarrierAccountsRequestEntityTooLarge() *GetCarrierAccountsRequestEntityTooLarge

NewGetCarrierAccountsRequestEntityTooLarge creates a GetCarrierAccountsRequestEntityTooLarge with default headers values

func (*GetCarrierAccountsRequestEntityTooLarge) Error

func (*GetCarrierAccountsRequestEntityTooLarge) GetPayload

func (*GetCarrierAccountsRequestEntityTooLarge) IsClientError

func (o *GetCarrierAccountsRequestEntityTooLarge) IsClientError() bool

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

func (*GetCarrierAccountsRequestEntityTooLarge) IsCode

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

func (*GetCarrierAccountsRequestEntityTooLarge) IsRedirect

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

func (*GetCarrierAccountsRequestEntityTooLarge) IsServerError

func (o *GetCarrierAccountsRequestEntityTooLarge) IsServerError() bool

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

func (*GetCarrierAccountsRequestEntityTooLarge) IsSuccess

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

func (*GetCarrierAccountsRequestEntityTooLarge) String

type GetCarrierAccountsServiceUnavailable

type GetCarrierAccountsServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetCarrierAccountsServiceUnavailable

func NewGetCarrierAccountsServiceUnavailable() *GetCarrierAccountsServiceUnavailable

NewGetCarrierAccountsServiceUnavailable creates a GetCarrierAccountsServiceUnavailable with default headers values

func (*GetCarrierAccountsServiceUnavailable) Error

func (*GetCarrierAccountsServiceUnavailable) GetPayload

func (*GetCarrierAccountsServiceUnavailable) IsClientError

func (o *GetCarrierAccountsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get carrier accounts service unavailable response has a 4xx status code

func (*GetCarrierAccountsServiceUnavailable) IsCode

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

func (*GetCarrierAccountsServiceUnavailable) IsRedirect

IsRedirect returns true when this get carrier accounts service unavailable response has a 3xx status code

func (*GetCarrierAccountsServiceUnavailable) IsServerError

func (o *GetCarrierAccountsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get carrier accounts service unavailable response has a 5xx status code

func (*GetCarrierAccountsServiceUnavailable) IsSuccess

IsSuccess returns true when this get carrier accounts service unavailable response has a 2xx status code

func (*GetCarrierAccountsServiceUnavailable) String

type GetCarrierAccountsTooManyRequests

type GetCarrierAccountsTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetCarrierAccountsTooManyRequests

func NewGetCarrierAccountsTooManyRequests() *GetCarrierAccountsTooManyRequests

NewGetCarrierAccountsTooManyRequests creates a GetCarrierAccountsTooManyRequests with default headers values

func (*GetCarrierAccountsTooManyRequests) Error

func (*GetCarrierAccountsTooManyRequests) GetPayload

func (*GetCarrierAccountsTooManyRequests) IsClientError

func (o *GetCarrierAccountsTooManyRequests) IsClientError() bool

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

func (*GetCarrierAccountsTooManyRequests) IsCode

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

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

func (*GetCarrierAccountsTooManyRequests) IsRedirect

func (o *GetCarrierAccountsTooManyRequests) IsRedirect() bool

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

func (*GetCarrierAccountsTooManyRequests) IsServerError

func (o *GetCarrierAccountsTooManyRequests) IsServerError() bool

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

func (*GetCarrierAccountsTooManyRequests) IsSuccess

func (o *GetCarrierAccountsTooManyRequests) IsSuccess() bool

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

func (*GetCarrierAccountsTooManyRequests) String

type GetCarrierAccountsUnauthorized

type GetCarrierAccountsUnauthorized 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 *shipping_v2_models.ErrorList
}

GetCarrierAccountsUnauthorized 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 NewGetCarrierAccountsUnauthorized

func NewGetCarrierAccountsUnauthorized() *GetCarrierAccountsUnauthorized

NewGetCarrierAccountsUnauthorized creates a GetCarrierAccountsUnauthorized with default headers values

func (*GetCarrierAccountsUnauthorized) Error

func (*GetCarrierAccountsUnauthorized) GetPayload

func (*GetCarrierAccountsUnauthorized) IsClientError

func (o *GetCarrierAccountsUnauthorized) IsClientError() bool

IsClientError returns true when this get carrier accounts unauthorized response has a 4xx status code

func (*GetCarrierAccountsUnauthorized) IsCode

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

IsCode returns true when this get carrier accounts unauthorized response a status code equal to that given

func (*GetCarrierAccountsUnauthorized) IsRedirect

func (o *GetCarrierAccountsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get carrier accounts unauthorized response has a 3xx status code

func (*GetCarrierAccountsUnauthorized) IsServerError

func (o *GetCarrierAccountsUnauthorized) IsServerError() bool

IsServerError returns true when this get carrier accounts unauthorized response has a 5xx status code

func (*GetCarrierAccountsUnauthorized) IsSuccess

func (o *GetCarrierAccountsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get carrier accounts unauthorized response has a 2xx status code

func (*GetCarrierAccountsUnauthorized) String

type GetCarrierAccountsUnsupportedMediaType

type GetCarrierAccountsUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetCarrierAccountsUnsupportedMediaType

func NewGetCarrierAccountsUnsupportedMediaType() *GetCarrierAccountsUnsupportedMediaType

NewGetCarrierAccountsUnsupportedMediaType creates a GetCarrierAccountsUnsupportedMediaType with default headers values

func (*GetCarrierAccountsUnsupportedMediaType) Error

func (*GetCarrierAccountsUnsupportedMediaType) GetPayload

func (*GetCarrierAccountsUnsupportedMediaType) IsClientError

func (o *GetCarrierAccountsUnsupportedMediaType) IsClientError() bool

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

func (*GetCarrierAccountsUnsupportedMediaType) IsCode

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

func (*GetCarrierAccountsUnsupportedMediaType) IsRedirect

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

func (*GetCarrierAccountsUnsupportedMediaType) IsServerError

func (o *GetCarrierAccountsUnsupportedMediaType) IsServerError() bool

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

func (*GetCarrierAccountsUnsupportedMediaType) IsSuccess

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

func (*GetCarrierAccountsUnsupportedMediaType) String

type GetCollectionFormBadRequest

type GetCollectionFormBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetCollectionFormBadRequest

func NewGetCollectionFormBadRequest() *GetCollectionFormBadRequest

NewGetCollectionFormBadRequest creates a GetCollectionFormBadRequest with default headers values

func (*GetCollectionFormBadRequest) Error

func (*GetCollectionFormBadRequest) GetPayload

func (*GetCollectionFormBadRequest) IsClientError

func (o *GetCollectionFormBadRequest) IsClientError() bool

IsClientError returns true when this get collection form bad request response has a 4xx status code

func (*GetCollectionFormBadRequest) IsCode

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

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

func (*GetCollectionFormBadRequest) IsRedirect

func (o *GetCollectionFormBadRequest) IsRedirect() bool

IsRedirect returns true when this get collection form bad request response has a 3xx status code

func (*GetCollectionFormBadRequest) IsServerError

func (o *GetCollectionFormBadRequest) IsServerError() bool

IsServerError returns true when this get collection form bad request response has a 5xx status code

func (*GetCollectionFormBadRequest) IsSuccess

func (o *GetCollectionFormBadRequest) IsSuccess() bool

IsSuccess returns true when this get collection form bad request response has a 2xx status code

func (*GetCollectionFormBadRequest) String

func (o *GetCollectionFormBadRequest) String() string

type GetCollectionFormForbidden

type GetCollectionFormForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetCollectionFormForbidden 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 NewGetCollectionFormForbidden

func NewGetCollectionFormForbidden() *GetCollectionFormForbidden

NewGetCollectionFormForbidden creates a GetCollectionFormForbidden with default headers values

func (*GetCollectionFormForbidden) Error

func (*GetCollectionFormForbidden) GetPayload

func (*GetCollectionFormForbidden) IsClientError

func (o *GetCollectionFormForbidden) IsClientError() bool

IsClientError returns true when this get collection form forbidden response has a 4xx status code

func (*GetCollectionFormForbidden) IsCode

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

IsCode returns true when this get collection form forbidden response a status code equal to that given

func (*GetCollectionFormForbidden) IsRedirect

func (o *GetCollectionFormForbidden) IsRedirect() bool

IsRedirect returns true when this get collection form forbidden response has a 3xx status code

func (*GetCollectionFormForbidden) IsServerError

func (o *GetCollectionFormForbidden) IsServerError() bool

IsServerError returns true when this get collection form forbidden response has a 5xx status code

func (*GetCollectionFormForbidden) IsSuccess

func (o *GetCollectionFormForbidden) IsSuccess() bool

IsSuccess returns true when this get collection form forbidden response has a 2xx status code

func (*GetCollectionFormForbidden) String

func (o *GetCollectionFormForbidden) String() string

type GetCollectionFormHistoryBadRequest

type GetCollectionFormHistoryBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetCollectionFormHistoryBadRequest

func NewGetCollectionFormHistoryBadRequest() *GetCollectionFormHistoryBadRequest

NewGetCollectionFormHistoryBadRequest creates a GetCollectionFormHistoryBadRequest with default headers values

func (*GetCollectionFormHistoryBadRequest) Error

func (*GetCollectionFormHistoryBadRequest) GetPayload

func (*GetCollectionFormHistoryBadRequest) IsClientError

func (o *GetCollectionFormHistoryBadRequest) IsClientError() bool

IsClientError returns true when this get collection form history bad request response has a 4xx status code

func (*GetCollectionFormHistoryBadRequest) IsCode

IsCode returns true when this get collection form history bad request response a status code equal to that given

func (*GetCollectionFormHistoryBadRequest) IsRedirect

func (o *GetCollectionFormHistoryBadRequest) IsRedirect() bool

IsRedirect returns true when this get collection form history bad request response has a 3xx status code

func (*GetCollectionFormHistoryBadRequest) IsServerError

func (o *GetCollectionFormHistoryBadRequest) IsServerError() bool

IsServerError returns true when this get collection form history bad request response has a 5xx status code

func (*GetCollectionFormHistoryBadRequest) IsSuccess

IsSuccess returns true when this get collection form history bad request response has a 2xx status code

func (*GetCollectionFormHistoryBadRequest) String

type GetCollectionFormHistoryForbidden

type GetCollectionFormHistoryForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetCollectionFormHistoryForbidden 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 NewGetCollectionFormHistoryForbidden

func NewGetCollectionFormHistoryForbidden() *GetCollectionFormHistoryForbidden

NewGetCollectionFormHistoryForbidden creates a GetCollectionFormHistoryForbidden with default headers values

func (*GetCollectionFormHistoryForbidden) Error

func (*GetCollectionFormHistoryForbidden) GetPayload

func (*GetCollectionFormHistoryForbidden) IsClientError

func (o *GetCollectionFormHistoryForbidden) IsClientError() bool

IsClientError returns true when this get collection form history forbidden response has a 4xx status code

func (*GetCollectionFormHistoryForbidden) IsCode

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

IsCode returns true when this get collection form history forbidden response a status code equal to that given

func (*GetCollectionFormHistoryForbidden) IsRedirect

func (o *GetCollectionFormHistoryForbidden) IsRedirect() bool

IsRedirect returns true when this get collection form history forbidden response has a 3xx status code

func (*GetCollectionFormHistoryForbidden) IsServerError

func (o *GetCollectionFormHistoryForbidden) IsServerError() bool

IsServerError returns true when this get collection form history forbidden response has a 5xx status code

func (*GetCollectionFormHistoryForbidden) IsSuccess

func (o *GetCollectionFormHistoryForbidden) IsSuccess() bool

IsSuccess returns true when this get collection form history forbidden response has a 2xx status code

func (*GetCollectionFormHistoryForbidden) String

type GetCollectionFormHistoryInternalServerError

type GetCollectionFormHistoryInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetCollectionFormHistoryInternalServerError

func NewGetCollectionFormHistoryInternalServerError() *GetCollectionFormHistoryInternalServerError

NewGetCollectionFormHistoryInternalServerError creates a GetCollectionFormHistoryInternalServerError with default headers values

func (*GetCollectionFormHistoryInternalServerError) Error

func (*GetCollectionFormHistoryInternalServerError) GetPayload

func (*GetCollectionFormHistoryInternalServerError) IsClientError

IsClientError returns true when this get collection form history internal server error response has a 4xx status code

func (*GetCollectionFormHistoryInternalServerError) IsCode

IsCode returns true when this get collection form history internal server error response a status code equal to that given

func (*GetCollectionFormHistoryInternalServerError) IsRedirect

IsRedirect returns true when this get collection form history internal server error response has a 3xx status code

func (*GetCollectionFormHistoryInternalServerError) IsServerError

IsServerError returns true when this get collection form history internal server error response has a 5xx status code

func (*GetCollectionFormHistoryInternalServerError) IsSuccess

IsSuccess returns true when this get collection form history internal server error response has a 2xx status code

func (*GetCollectionFormHistoryInternalServerError) String

type GetCollectionFormHistoryNotFound

type GetCollectionFormHistoryNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetCollectionFormHistoryNotFound

func NewGetCollectionFormHistoryNotFound() *GetCollectionFormHistoryNotFound

NewGetCollectionFormHistoryNotFound creates a GetCollectionFormHistoryNotFound with default headers values

func (*GetCollectionFormHistoryNotFound) Error

func (*GetCollectionFormHistoryNotFound) GetPayload

func (*GetCollectionFormHistoryNotFound) IsClientError

func (o *GetCollectionFormHistoryNotFound) IsClientError() bool

IsClientError returns true when this get collection form history not found response has a 4xx status code

func (*GetCollectionFormHistoryNotFound) IsCode

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

IsCode returns true when this get collection form history not found response a status code equal to that given

func (*GetCollectionFormHistoryNotFound) IsRedirect

func (o *GetCollectionFormHistoryNotFound) IsRedirect() bool

IsRedirect returns true when this get collection form history not found response has a 3xx status code

func (*GetCollectionFormHistoryNotFound) IsServerError

func (o *GetCollectionFormHistoryNotFound) IsServerError() bool

IsServerError returns true when this get collection form history not found response has a 5xx status code

func (*GetCollectionFormHistoryNotFound) IsSuccess

func (o *GetCollectionFormHistoryNotFound) IsSuccess() bool

IsSuccess returns true when this get collection form history not found response has a 2xx status code

func (*GetCollectionFormHistoryNotFound) String

type GetCollectionFormHistoryOK

type GetCollectionFormHistoryOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetCollectionFormHistoryResponse
}

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

Success.

func NewGetCollectionFormHistoryOK

func NewGetCollectionFormHistoryOK() *GetCollectionFormHistoryOK

NewGetCollectionFormHistoryOK creates a GetCollectionFormHistoryOK with default headers values

func (*GetCollectionFormHistoryOK) Error

func (*GetCollectionFormHistoryOK) GetPayload

func (*GetCollectionFormHistoryOK) IsClientError

func (o *GetCollectionFormHistoryOK) IsClientError() bool

IsClientError returns true when this get collection form history o k response has a 4xx status code

func (*GetCollectionFormHistoryOK) IsCode

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

IsCode returns true when this get collection form history o k response a status code equal to that given

func (*GetCollectionFormHistoryOK) IsRedirect

func (o *GetCollectionFormHistoryOK) IsRedirect() bool

IsRedirect returns true when this get collection form history o k response has a 3xx status code

func (*GetCollectionFormHistoryOK) IsServerError

func (o *GetCollectionFormHistoryOK) IsServerError() bool

IsServerError returns true when this get collection form history o k response has a 5xx status code

func (*GetCollectionFormHistoryOK) IsSuccess

func (o *GetCollectionFormHistoryOK) IsSuccess() bool

IsSuccess returns true when this get collection form history o k response has a 2xx status code

func (*GetCollectionFormHistoryOK) String

func (o *GetCollectionFormHistoryOK) String() string

type GetCollectionFormHistoryParams

type GetCollectionFormHistoryParams struct {

	// Body.
	Body *shipping_v2_models.GetCollectionFormHistoryRequest

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetCollectionFormHistoryParams contains all the parameters to send to the API endpoint

for the get collection form history operation.

Typically these are written to a http.Request.

func NewGetCollectionFormHistoryParams

func NewGetCollectionFormHistoryParams() *GetCollectionFormHistoryParams

NewGetCollectionFormHistoryParams creates a new GetCollectionFormHistoryParams 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 NewGetCollectionFormHistoryParamsWithContext

func NewGetCollectionFormHistoryParamsWithContext(ctx context.Context) *GetCollectionFormHistoryParams

NewGetCollectionFormHistoryParamsWithContext creates a new GetCollectionFormHistoryParams object with the ability to set a context for a request.

func NewGetCollectionFormHistoryParamsWithHTTPClient

func NewGetCollectionFormHistoryParamsWithHTTPClient(client *http.Client) *GetCollectionFormHistoryParams

NewGetCollectionFormHistoryParamsWithHTTPClient creates a new GetCollectionFormHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetCollectionFormHistoryParamsWithTimeout

func NewGetCollectionFormHistoryParamsWithTimeout(timeout time.Duration) *GetCollectionFormHistoryParams

NewGetCollectionFormHistoryParamsWithTimeout creates a new GetCollectionFormHistoryParams object with the ability to set a timeout on a request.

func (*GetCollectionFormHistoryParams) SetBody

SetBody adds the body to the get collection form history params

func (*GetCollectionFormHistoryParams) SetContext

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

SetContext adds the context to the get collection form history params

func (*GetCollectionFormHistoryParams) SetDefaults

func (o *GetCollectionFormHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get collection form history params (not the query body).

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

func (*GetCollectionFormHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get collection form history params

func (*GetCollectionFormHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get collection form history params

func (*GetCollectionFormHistoryParams) SetXAmznShippingBusinessID

func (o *GetCollectionFormHistoryParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get collection form history params

func (*GetCollectionFormHistoryParams) WithBody

WithBody adds the body to the get collection form history params

func (*GetCollectionFormHistoryParams) WithContext

WithContext adds the context to the get collection form history params

func (*GetCollectionFormHistoryParams) WithDefaults

WithDefaults hydrates default values in the get collection form history params (not the query body).

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

func (*GetCollectionFormHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get collection form history params

func (*GetCollectionFormHistoryParams) WithTimeout

WithTimeout adds the timeout to the get collection form history params

func (*GetCollectionFormHistoryParams) WithXAmznShippingBusinessID

func (o *GetCollectionFormHistoryParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCollectionFormHistoryParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get collection form history params

func (*GetCollectionFormHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCollectionFormHistoryReader

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

GetCollectionFormHistoryReader is a Reader for the GetCollectionFormHistory structure.

func (*GetCollectionFormHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCollectionFormHistoryRequestEntityTooLarge

type GetCollectionFormHistoryRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetCollectionFormHistoryRequestEntityTooLarge

func NewGetCollectionFormHistoryRequestEntityTooLarge() *GetCollectionFormHistoryRequestEntityTooLarge

NewGetCollectionFormHistoryRequestEntityTooLarge creates a GetCollectionFormHistoryRequestEntityTooLarge with default headers values

func (*GetCollectionFormHistoryRequestEntityTooLarge) Error

func (*GetCollectionFormHistoryRequestEntityTooLarge) GetPayload

func (*GetCollectionFormHistoryRequestEntityTooLarge) IsClientError

IsClientError returns true when this get collection form history request entity too large response has a 4xx status code

func (*GetCollectionFormHistoryRequestEntityTooLarge) IsCode

IsCode returns true when this get collection form history request entity too large response a status code equal to that given

func (*GetCollectionFormHistoryRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get collection form history request entity too large response has a 3xx status code

func (*GetCollectionFormHistoryRequestEntityTooLarge) IsServerError

IsServerError returns true when this get collection form history request entity too large response has a 5xx status code

func (*GetCollectionFormHistoryRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get collection form history request entity too large response has a 2xx status code

func (*GetCollectionFormHistoryRequestEntityTooLarge) String

type GetCollectionFormHistoryServiceUnavailable

type GetCollectionFormHistoryServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetCollectionFormHistoryServiceUnavailable

func NewGetCollectionFormHistoryServiceUnavailable() *GetCollectionFormHistoryServiceUnavailable

NewGetCollectionFormHistoryServiceUnavailable creates a GetCollectionFormHistoryServiceUnavailable with default headers values

func (*GetCollectionFormHistoryServiceUnavailable) Error

func (*GetCollectionFormHistoryServiceUnavailable) GetPayload

func (*GetCollectionFormHistoryServiceUnavailable) IsClientError

IsClientError returns true when this get collection form history service unavailable response has a 4xx status code

func (*GetCollectionFormHistoryServiceUnavailable) IsCode

IsCode returns true when this get collection form history service unavailable response a status code equal to that given

func (*GetCollectionFormHistoryServiceUnavailable) IsRedirect

IsRedirect returns true when this get collection form history service unavailable response has a 3xx status code

func (*GetCollectionFormHistoryServiceUnavailable) IsServerError

IsServerError returns true when this get collection form history service unavailable response has a 5xx status code

func (*GetCollectionFormHistoryServiceUnavailable) IsSuccess

IsSuccess returns true when this get collection form history service unavailable response has a 2xx status code

func (*GetCollectionFormHistoryServiceUnavailable) String

type GetCollectionFormHistoryTooManyRequests

type GetCollectionFormHistoryTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetCollectionFormHistoryTooManyRequests

func NewGetCollectionFormHistoryTooManyRequests() *GetCollectionFormHistoryTooManyRequests

NewGetCollectionFormHistoryTooManyRequests creates a GetCollectionFormHistoryTooManyRequests with default headers values

func (*GetCollectionFormHistoryTooManyRequests) Error

func (*GetCollectionFormHistoryTooManyRequests) GetPayload

func (*GetCollectionFormHistoryTooManyRequests) IsClientError

func (o *GetCollectionFormHistoryTooManyRequests) IsClientError() bool

IsClientError returns true when this get collection form history too many requests response has a 4xx status code

func (*GetCollectionFormHistoryTooManyRequests) IsCode

IsCode returns true when this get collection form history too many requests response a status code equal to that given

func (*GetCollectionFormHistoryTooManyRequests) IsRedirect

IsRedirect returns true when this get collection form history too many requests response has a 3xx status code

func (*GetCollectionFormHistoryTooManyRequests) IsServerError

func (o *GetCollectionFormHistoryTooManyRequests) IsServerError() bool

IsServerError returns true when this get collection form history too many requests response has a 5xx status code

func (*GetCollectionFormHistoryTooManyRequests) IsSuccess

IsSuccess returns true when this get collection form history too many requests response has a 2xx status code

func (*GetCollectionFormHistoryTooManyRequests) String

type GetCollectionFormHistoryUnauthorized

type GetCollectionFormHistoryUnauthorized 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 *shipping_v2_models.ErrorList
}

GetCollectionFormHistoryUnauthorized 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 NewGetCollectionFormHistoryUnauthorized

func NewGetCollectionFormHistoryUnauthorized() *GetCollectionFormHistoryUnauthorized

NewGetCollectionFormHistoryUnauthorized creates a GetCollectionFormHistoryUnauthorized with default headers values

func (*GetCollectionFormHistoryUnauthorized) Error

func (*GetCollectionFormHistoryUnauthorized) GetPayload

func (*GetCollectionFormHistoryUnauthorized) IsClientError

func (o *GetCollectionFormHistoryUnauthorized) IsClientError() bool

IsClientError returns true when this get collection form history unauthorized response has a 4xx status code

func (*GetCollectionFormHistoryUnauthorized) IsCode

IsCode returns true when this get collection form history unauthorized response a status code equal to that given

func (*GetCollectionFormHistoryUnauthorized) IsRedirect

IsRedirect returns true when this get collection form history unauthorized response has a 3xx status code

func (*GetCollectionFormHistoryUnauthorized) IsServerError

func (o *GetCollectionFormHistoryUnauthorized) IsServerError() bool

IsServerError returns true when this get collection form history unauthorized response has a 5xx status code

func (*GetCollectionFormHistoryUnauthorized) IsSuccess

IsSuccess returns true when this get collection form history unauthorized response has a 2xx status code

func (*GetCollectionFormHistoryUnauthorized) String

type GetCollectionFormHistoryUnsupportedMediaType

type GetCollectionFormHistoryUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetCollectionFormHistoryUnsupportedMediaType

func NewGetCollectionFormHistoryUnsupportedMediaType() *GetCollectionFormHistoryUnsupportedMediaType

NewGetCollectionFormHistoryUnsupportedMediaType creates a GetCollectionFormHistoryUnsupportedMediaType with default headers values

func (*GetCollectionFormHistoryUnsupportedMediaType) Error

func (*GetCollectionFormHistoryUnsupportedMediaType) GetPayload

func (*GetCollectionFormHistoryUnsupportedMediaType) IsClientError

IsClientError returns true when this get collection form history unsupported media type response has a 4xx status code

func (*GetCollectionFormHistoryUnsupportedMediaType) IsCode

IsCode returns true when this get collection form history unsupported media type response a status code equal to that given

func (*GetCollectionFormHistoryUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get collection form history unsupported media type response has a 3xx status code

func (*GetCollectionFormHistoryUnsupportedMediaType) IsServerError

IsServerError returns true when this get collection form history unsupported media type response has a 5xx status code

func (*GetCollectionFormHistoryUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get collection form history unsupported media type response has a 2xx status code

func (*GetCollectionFormHistoryUnsupportedMediaType) String

type GetCollectionFormInternalServerError

type GetCollectionFormInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetCollectionFormInternalServerError

func NewGetCollectionFormInternalServerError() *GetCollectionFormInternalServerError

NewGetCollectionFormInternalServerError creates a GetCollectionFormInternalServerError with default headers values

func (*GetCollectionFormInternalServerError) Error

func (*GetCollectionFormInternalServerError) GetPayload

func (*GetCollectionFormInternalServerError) IsClientError

func (o *GetCollectionFormInternalServerError) IsClientError() bool

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

func (*GetCollectionFormInternalServerError) IsCode

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

func (*GetCollectionFormInternalServerError) IsRedirect

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

func (*GetCollectionFormInternalServerError) IsServerError

func (o *GetCollectionFormInternalServerError) IsServerError() bool

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

func (*GetCollectionFormInternalServerError) IsSuccess

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

func (*GetCollectionFormInternalServerError) String

type GetCollectionFormNotFound

type GetCollectionFormNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetCollectionFormNotFound

func NewGetCollectionFormNotFound() *GetCollectionFormNotFound

NewGetCollectionFormNotFound creates a GetCollectionFormNotFound with default headers values

func (*GetCollectionFormNotFound) Error

func (o *GetCollectionFormNotFound) Error() string

func (*GetCollectionFormNotFound) GetPayload

func (*GetCollectionFormNotFound) IsClientError

func (o *GetCollectionFormNotFound) IsClientError() bool

IsClientError returns true when this get collection form not found response has a 4xx status code

func (*GetCollectionFormNotFound) IsCode

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

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

func (*GetCollectionFormNotFound) IsRedirect

func (o *GetCollectionFormNotFound) IsRedirect() bool

IsRedirect returns true when this get collection form not found response has a 3xx status code

func (*GetCollectionFormNotFound) IsServerError

func (o *GetCollectionFormNotFound) IsServerError() bool

IsServerError returns true when this get collection form not found response has a 5xx status code

func (*GetCollectionFormNotFound) IsSuccess

func (o *GetCollectionFormNotFound) IsSuccess() bool

IsSuccess returns true when this get collection form not found response has a 2xx status code

func (*GetCollectionFormNotFound) String

func (o *GetCollectionFormNotFound) String() string

type GetCollectionFormOK

type GetCollectionFormOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetCollectionFormResponse
}

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

Success.

func NewGetCollectionFormOK

func NewGetCollectionFormOK() *GetCollectionFormOK

NewGetCollectionFormOK creates a GetCollectionFormOK with default headers values

func (*GetCollectionFormOK) Error

func (o *GetCollectionFormOK) Error() string

func (*GetCollectionFormOK) GetPayload

func (*GetCollectionFormOK) IsClientError

func (o *GetCollectionFormOK) IsClientError() bool

IsClientError returns true when this get collection form o k response has a 4xx status code

func (*GetCollectionFormOK) IsCode

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

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

func (*GetCollectionFormOK) IsRedirect

func (o *GetCollectionFormOK) IsRedirect() bool

IsRedirect returns true when this get collection form o k response has a 3xx status code

func (*GetCollectionFormOK) IsServerError

func (o *GetCollectionFormOK) IsServerError() bool

IsServerError returns true when this get collection form o k response has a 5xx status code

func (*GetCollectionFormOK) IsSuccess

func (o *GetCollectionFormOK) IsSuccess() bool

IsSuccess returns true when this get collection form o k response has a 2xx status code

func (*GetCollectionFormOK) String

func (o *GetCollectionFormOK) String() string

type GetCollectionFormParams

type GetCollectionFormParams struct {

	/* CollectionFormID.

	   collection form Id to reprint a collection.
	*/
	CollectionFormID string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetCollectionFormParams contains all the parameters to send to the API endpoint

for the get collection form operation.

Typically these are written to a http.Request.

func NewGetCollectionFormParams

func NewGetCollectionFormParams() *GetCollectionFormParams

NewGetCollectionFormParams creates a new GetCollectionFormParams 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 NewGetCollectionFormParamsWithContext

func NewGetCollectionFormParamsWithContext(ctx context.Context) *GetCollectionFormParams

NewGetCollectionFormParamsWithContext creates a new GetCollectionFormParams object with the ability to set a context for a request.

func NewGetCollectionFormParamsWithHTTPClient

func NewGetCollectionFormParamsWithHTTPClient(client *http.Client) *GetCollectionFormParams

NewGetCollectionFormParamsWithHTTPClient creates a new GetCollectionFormParams object with the ability to set a custom HTTPClient for a request.

func NewGetCollectionFormParamsWithTimeout

func NewGetCollectionFormParamsWithTimeout(timeout time.Duration) *GetCollectionFormParams

NewGetCollectionFormParamsWithTimeout creates a new GetCollectionFormParams object with the ability to set a timeout on a request.

func (*GetCollectionFormParams) SetCollectionFormID

func (o *GetCollectionFormParams) SetCollectionFormID(collectionFormID string)

SetCollectionFormID adds the collectionFormId to the get collection form params

func (*GetCollectionFormParams) SetContext

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

SetContext adds the context to the get collection form params

func (*GetCollectionFormParams) SetDefaults

func (o *GetCollectionFormParams) SetDefaults()

SetDefaults hydrates default values in the get collection form params (not the query body).

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

func (*GetCollectionFormParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get collection form params

func (*GetCollectionFormParams) SetTimeout

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

SetTimeout adds the timeout to the get collection form params

func (*GetCollectionFormParams) SetXAmznShippingBusinessID

func (o *GetCollectionFormParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get collection form params

func (*GetCollectionFormParams) WithCollectionFormID

func (o *GetCollectionFormParams) WithCollectionFormID(collectionFormID string) *GetCollectionFormParams

WithCollectionFormID adds the collectionFormID to the get collection form params

func (*GetCollectionFormParams) WithContext

WithContext adds the context to the get collection form params

func (*GetCollectionFormParams) WithDefaults

WithDefaults hydrates default values in the get collection form params (not the query body).

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

func (*GetCollectionFormParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get collection form params

func (*GetCollectionFormParams) WithTimeout

WithTimeout adds the timeout to the get collection form params

func (*GetCollectionFormParams) WithXAmznShippingBusinessID

func (o *GetCollectionFormParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCollectionFormParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get collection form params

func (*GetCollectionFormParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCollectionFormReader

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

GetCollectionFormReader is a Reader for the GetCollectionForm structure.

func (*GetCollectionFormReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCollectionFormRequestEntityTooLarge

type GetCollectionFormRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetCollectionFormRequestEntityTooLarge

func NewGetCollectionFormRequestEntityTooLarge() *GetCollectionFormRequestEntityTooLarge

NewGetCollectionFormRequestEntityTooLarge creates a GetCollectionFormRequestEntityTooLarge with default headers values

func (*GetCollectionFormRequestEntityTooLarge) Error

func (*GetCollectionFormRequestEntityTooLarge) GetPayload

func (*GetCollectionFormRequestEntityTooLarge) IsClientError

func (o *GetCollectionFormRequestEntityTooLarge) IsClientError() bool

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

func (*GetCollectionFormRequestEntityTooLarge) IsCode

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

func (*GetCollectionFormRequestEntityTooLarge) IsRedirect

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

func (*GetCollectionFormRequestEntityTooLarge) IsServerError

func (o *GetCollectionFormRequestEntityTooLarge) IsServerError() bool

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

func (*GetCollectionFormRequestEntityTooLarge) IsSuccess

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

func (*GetCollectionFormRequestEntityTooLarge) String

type GetCollectionFormServiceUnavailable

type GetCollectionFormServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetCollectionFormServiceUnavailable

func NewGetCollectionFormServiceUnavailable() *GetCollectionFormServiceUnavailable

NewGetCollectionFormServiceUnavailable creates a GetCollectionFormServiceUnavailable with default headers values

func (*GetCollectionFormServiceUnavailable) Error

func (*GetCollectionFormServiceUnavailable) GetPayload

func (*GetCollectionFormServiceUnavailable) IsClientError

func (o *GetCollectionFormServiceUnavailable) IsClientError() bool

IsClientError returns true when this get collection form service unavailable response has a 4xx status code

func (*GetCollectionFormServiceUnavailable) IsCode

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

func (*GetCollectionFormServiceUnavailable) IsRedirect

func (o *GetCollectionFormServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get collection form service unavailable response has a 3xx status code

func (*GetCollectionFormServiceUnavailable) IsServerError

func (o *GetCollectionFormServiceUnavailable) IsServerError() bool

IsServerError returns true when this get collection form service unavailable response has a 5xx status code

func (*GetCollectionFormServiceUnavailable) IsSuccess

IsSuccess returns true when this get collection form service unavailable response has a 2xx status code

func (*GetCollectionFormServiceUnavailable) String

type GetCollectionFormTooManyRequests

type GetCollectionFormTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetCollectionFormTooManyRequests

func NewGetCollectionFormTooManyRequests() *GetCollectionFormTooManyRequests

NewGetCollectionFormTooManyRequests creates a GetCollectionFormTooManyRequests with default headers values

func (*GetCollectionFormTooManyRequests) Error

func (*GetCollectionFormTooManyRequests) GetPayload

func (*GetCollectionFormTooManyRequests) IsClientError

func (o *GetCollectionFormTooManyRequests) IsClientError() bool

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

func (*GetCollectionFormTooManyRequests) IsCode

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

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

func (*GetCollectionFormTooManyRequests) IsRedirect

func (o *GetCollectionFormTooManyRequests) IsRedirect() bool

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

func (*GetCollectionFormTooManyRequests) IsServerError

func (o *GetCollectionFormTooManyRequests) IsServerError() bool

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

func (*GetCollectionFormTooManyRequests) IsSuccess

func (o *GetCollectionFormTooManyRequests) IsSuccess() bool

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

func (*GetCollectionFormTooManyRequests) String

type GetCollectionFormUnauthorized

type GetCollectionFormUnauthorized 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 *shipping_v2_models.ErrorList
}

GetCollectionFormUnauthorized 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 NewGetCollectionFormUnauthorized

func NewGetCollectionFormUnauthorized() *GetCollectionFormUnauthorized

NewGetCollectionFormUnauthorized creates a GetCollectionFormUnauthorized with default headers values

func (*GetCollectionFormUnauthorized) Error

func (*GetCollectionFormUnauthorized) GetPayload

func (*GetCollectionFormUnauthorized) IsClientError

func (o *GetCollectionFormUnauthorized) IsClientError() bool

IsClientError returns true when this get collection form unauthorized response has a 4xx status code

func (*GetCollectionFormUnauthorized) IsCode

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

IsCode returns true when this get collection form unauthorized response a status code equal to that given

func (*GetCollectionFormUnauthorized) IsRedirect

func (o *GetCollectionFormUnauthorized) IsRedirect() bool

IsRedirect returns true when this get collection form unauthorized response has a 3xx status code

func (*GetCollectionFormUnauthorized) IsServerError

func (o *GetCollectionFormUnauthorized) IsServerError() bool

IsServerError returns true when this get collection form unauthorized response has a 5xx status code

func (*GetCollectionFormUnauthorized) IsSuccess

func (o *GetCollectionFormUnauthorized) IsSuccess() bool

IsSuccess returns true when this get collection form unauthorized response has a 2xx status code

func (*GetCollectionFormUnauthorized) String

type GetCollectionFormUnsupportedMediaType

type GetCollectionFormUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetCollectionFormUnsupportedMediaType

func NewGetCollectionFormUnsupportedMediaType() *GetCollectionFormUnsupportedMediaType

NewGetCollectionFormUnsupportedMediaType creates a GetCollectionFormUnsupportedMediaType with default headers values

func (*GetCollectionFormUnsupportedMediaType) Error

func (*GetCollectionFormUnsupportedMediaType) GetPayload

func (*GetCollectionFormUnsupportedMediaType) IsClientError

func (o *GetCollectionFormUnsupportedMediaType) IsClientError() bool

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

func (*GetCollectionFormUnsupportedMediaType) IsCode

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

func (*GetCollectionFormUnsupportedMediaType) IsRedirect

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

func (*GetCollectionFormUnsupportedMediaType) IsServerError

func (o *GetCollectionFormUnsupportedMediaType) IsServerError() bool

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

func (*GetCollectionFormUnsupportedMediaType) IsSuccess

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

func (*GetCollectionFormUnsupportedMediaType) String

type GetRatesBadRequest

type GetRatesBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetRatesBadRequest

func NewGetRatesBadRequest() *GetRatesBadRequest

NewGetRatesBadRequest creates a GetRatesBadRequest with default headers values

func (*GetRatesBadRequest) Error

func (o *GetRatesBadRequest) Error() string

func (*GetRatesBadRequest) GetPayload

func (*GetRatesBadRequest) IsClientError

func (o *GetRatesBadRequest) IsClientError() bool

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

func (*GetRatesBadRequest) IsCode

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

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

func (*GetRatesBadRequest) IsRedirect

func (o *GetRatesBadRequest) IsRedirect() bool

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

func (*GetRatesBadRequest) IsServerError

func (o *GetRatesBadRequest) IsServerError() bool

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

func (*GetRatesBadRequest) IsSuccess

func (o *GetRatesBadRequest) IsSuccess() bool

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

func (*GetRatesBadRequest) String

func (o *GetRatesBadRequest) String() string

type GetRatesForbidden

type GetRatesForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetRatesForbidden 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 NewGetRatesForbidden

func NewGetRatesForbidden() *GetRatesForbidden

NewGetRatesForbidden creates a GetRatesForbidden with default headers values

func (*GetRatesForbidden) Error

func (o *GetRatesForbidden) Error() string

func (*GetRatesForbidden) GetPayload

func (*GetRatesForbidden) IsClientError

func (o *GetRatesForbidden) IsClientError() bool

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

func (*GetRatesForbidden) IsCode

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

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

func (*GetRatesForbidden) IsRedirect

func (o *GetRatesForbidden) IsRedirect() bool

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

func (*GetRatesForbidden) IsServerError

func (o *GetRatesForbidden) IsServerError() bool

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

func (*GetRatesForbidden) IsSuccess

func (o *GetRatesForbidden) IsSuccess() bool

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

func (*GetRatesForbidden) String

func (o *GetRatesForbidden) String() string

type GetRatesInternalServerError

type GetRatesInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetRatesInternalServerError

func NewGetRatesInternalServerError() *GetRatesInternalServerError

NewGetRatesInternalServerError creates a GetRatesInternalServerError with default headers values

func (*GetRatesInternalServerError) Error

func (*GetRatesInternalServerError) GetPayload

func (*GetRatesInternalServerError) IsClientError

func (o *GetRatesInternalServerError) IsClientError() bool

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

func (*GetRatesInternalServerError) IsCode

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

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

func (*GetRatesInternalServerError) IsRedirect

func (o *GetRatesInternalServerError) IsRedirect() bool

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

func (*GetRatesInternalServerError) IsServerError

func (o *GetRatesInternalServerError) IsServerError() bool

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

func (*GetRatesInternalServerError) IsSuccess

func (o *GetRatesInternalServerError) IsSuccess() bool

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

func (*GetRatesInternalServerError) String

func (o *GetRatesInternalServerError) String() string

type GetRatesNotFound

type GetRatesNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetRatesNotFound

func NewGetRatesNotFound() *GetRatesNotFound

NewGetRatesNotFound creates a GetRatesNotFound with default headers values

func (*GetRatesNotFound) Error

func (o *GetRatesNotFound) Error() string

func (*GetRatesNotFound) GetPayload

func (*GetRatesNotFound) IsClientError

func (o *GetRatesNotFound) IsClientError() bool

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

func (*GetRatesNotFound) IsCode

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

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

func (*GetRatesNotFound) IsRedirect

func (o *GetRatesNotFound) IsRedirect() bool

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

func (*GetRatesNotFound) IsServerError

func (o *GetRatesNotFound) IsServerError() bool

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

func (*GetRatesNotFound) IsSuccess

func (o *GetRatesNotFound) IsSuccess() bool

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

func (*GetRatesNotFound) String

func (o *GetRatesNotFound) String() string

type GetRatesOK

type GetRatesOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetRatesResponse
}

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

Success.

func NewGetRatesOK

func NewGetRatesOK() *GetRatesOK

NewGetRatesOK creates a GetRatesOK with default headers values

func (*GetRatesOK) Error

func (o *GetRatesOK) Error() string

func (*GetRatesOK) GetPayload

func (*GetRatesOK) IsClientError

func (o *GetRatesOK) IsClientError() bool

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

func (*GetRatesOK) IsCode

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

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

func (*GetRatesOK) IsRedirect

func (o *GetRatesOK) IsRedirect() bool

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

func (*GetRatesOK) IsServerError

func (o *GetRatesOK) IsServerError() bool

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

func (*GetRatesOK) IsSuccess

func (o *GetRatesOK) IsSuccess() bool

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

func (*GetRatesOK) String

func (o *GetRatesOK) String() string

type GetRatesParams

type GetRatesParams struct {

	// Body.
	Body *shipping_v2_models.GetRatesRequest

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetRatesParams contains all the parameters to send to the API endpoint

for the get rates operation.

Typically these are written to a http.Request.

func NewGetRatesParams

func NewGetRatesParams() *GetRatesParams

NewGetRatesParams creates a new GetRatesParams 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 NewGetRatesParamsWithContext

func NewGetRatesParamsWithContext(ctx context.Context) *GetRatesParams

NewGetRatesParamsWithContext creates a new GetRatesParams object with the ability to set a context for a request.

func NewGetRatesParamsWithHTTPClient

func NewGetRatesParamsWithHTTPClient(client *http.Client) *GetRatesParams

NewGetRatesParamsWithHTTPClient creates a new GetRatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetRatesParamsWithTimeout

func NewGetRatesParamsWithTimeout(timeout time.Duration) *GetRatesParams

NewGetRatesParamsWithTimeout creates a new GetRatesParams object with the ability to set a timeout on a request.

func (*GetRatesParams) SetBody

SetBody adds the body to the get rates params

func (*GetRatesParams) SetContext

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

SetContext adds the context to the get rates params

func (*GetRatesParams) SetDefaults

func (o *GetRatesParams) SetDefaults()

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

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

func (*GetRatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rates params

func (*GetRatesParams) SetTimeout

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

SetTimeout adds the timeout to the get rates params

func (*GetRatesParams) SetXAmznShippingBusinessID

func (o *GetRatesParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get rates params

func (*GetRatesParams) WithBody

WithBody adds the body to the get rates params

func (*GetRatesParams) WithContext

func (o *GetRatesParams) WithContext(ctx context.Context) *GetRatesParams

WithContext adds the context to the get rates params

func (*GetRatesParams) WithDefaults

func (o *GetRatesParams) WithDefaults() *GetRatesParams

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

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

func (*GetRatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get rates params

func (*GetRatesParams) WithTimeout

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

WithTimeout adds the timeout to the get rates params

func (*GetRatesParams) WithXAmznShippingBusinessID

func (o *GetRatesParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetRatesParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get rates params

func (*GetRatesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRatesReader

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

GetRatesReader is a Reader for the GetRates structure.

func (*GetRatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRatesRequestEntityTooLarge

type GetRatesRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetRatesRequestEntityTooLarge

func NewGetRatesRequestEntityTooLarge() *GetRatesRequestEntityTooLarge

NewGetRatesRequestEntityTooLarge creates a GetRatesRequestEntityTooLarge with default headers values

func (*GetRatesRequestEntityTooLarge) Error

func (*GetRatesRequestEntityTooLarge) GetPayload

func (*GetRatesRequestEntityTooLarge) IsClientError

func (o *GetRatesRequestEntityTooLarge) IsClientError() bool

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

func (*GetRatesRequestEntityTooLarge) IsCode

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

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

func (*GetRatesRequestEntityTooLarge) IsRedirect

func (o *GetRatesRequestEntityTooLarge) IsRedirect() bool

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

func (*GetRatesRequestEntityTooLarge) IsServerError

func (o *GetRatesRequestEntityTooLarge) IsServerError() bool

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

func (*GetRatesRequestEntityTooLarge) IsSuccess

func (o *GetRatesRequestEntityTooLarge) IsSuccess() bool

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

func (*GetRatesRequestEntityTooLarge) String

type GetRatesServiceUnavailable

type GetRatesServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetRatesServiceUnavailable

func NewGetRatesServiceUnavailable() *GetRatesServiceUnavailable

NewGetRatesServiceUnavailable creates a GetRatesServiceUnavailable with default headers values

func (*GetRatesServiceUnavailable) Error

func (*GetRatesServiceUnavailable) GetPayload

func (*GetRatesServiceUnavailable) IsClientError

func (o *GetRatesServiceUnavailable) IsClientError() bool

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

func (*GetRatesServiceUnavailable) IsCode

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

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

func (*GetRatesServiceUnavailable) IsRedirect

func (o *GetRatesServiceUnavailable) IsRedirect() bool

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

func (*GetRatesServiceUnavailable) IsServerError

func (o *GetRatesServiceUnavailable) IsServerError() bool

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

func (*GetRatesServiceUnavailable) IsSuccess

func (o *GetRatesServiceUnavailable) IsSuccess() bool

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

func (*GetRatesServiceUnavailable) String

func (o *GetRatesServiceUnavailable) String() string

type GetRatesTooManyRequests

type GetRatesTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetRatesTooManyRequests

func NewGetRatesTooManyRequests() *GetRatesTooManyRequests

NewGetRatesTooManyRequests creates a GetRatesTooManyRequests with default headers values

func (*GetRatesTooManyRequests) Error

func (o *GetRatesTooManyRequests) Error() string

func (*GetRatesTooManyRequests) GetPayload

func (*GetRatesTooManyRequests) IsClientError

func (o *GetRatesTooManyRequests) IsClientError() bool

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

func (*GetRatesTooManyRequests) IsCode

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

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

func (*GetRatesTooManyRequests) IsRedirect

func (o *GetRatesTooManyRequests) IsRedirect() bool

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

func (*GetRatesTooManyRequests) IsServerError

func (o *GetRatesTooManyRequests) IsServerError() bool

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

func (*GetRatesTooManyRequests) IsSuccess

func (o *GetRatesTooManyRequests) IsSuccess() bool

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

func (*GetRatesTooManyRequests) String

func (o *GetRatesTooManyRequests) String() string

type GetRatesUnauthorized

type GetRatesUnauthorized 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 *shipping_v2_models.ErrorList
}

GetRatesUnauthorized 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 NewGetRatesUnauthorized

func NewGetRatesUnauthorized() *GetRatesUnauthorized

NewGetRatesUnauthorized creates a GetRatesUnauthorized with default headers values

func (*GetRatesUnauthorized) Error

func (o *GetRatesUnauthorized) Error() string

func (*GetRatesUnauthorized) GetPayload

func (*GetRatesUnauthorized) IsClientError

func (o *GetRatesUnauthorized) IsClientError() bool

IsClientError returns true when this get rates unauthorized response has a 4xx status code

func (*GetRatesUnauthorized) IsCode

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

IsCode returns true when this get rates unauthorized response a status code equal to that given

func (*GetRatesUnauthorized) IsRedirect

func (o *GetRatesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get rates unauthorized response has a 3xx status code

func (*GetRatesUnauthorized) IsServerError

func (o *GetRatesUnauthorized) IsServerError() bool

IsServerError returns true when this get rates unauthorized response has a 5xx status code

func (*GetRatesUnauthorized) IsSuccess

func (o *GetRatesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get rates unauthorized response has a 2xx status code

func (*GetRatesUnauthorized) String

func (o *GetRatesUnauthorized) String() string

type GetRatesUnsupportedMediaType

type GetRatesUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetRatesUnsupportedMediaType

func NewGetRatesUnsupportedMediaType() *GetRatesUnsupportedMediaType

NewGetRatesUnsupportedMediaType creates a GetRatesUnsupportedMediaType with default headers values

func (*GetRatesUnsupportedMediaType) Error

func (*GetRatesUnsupportedMediaType) GetPayload

func (*GetRatesUnsupportedMediaType) IsClientError

func (o *GetRatesUnsupportedMediaType) IsClientError() bool

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

func (*GetRatesUnsupportedMediaType) IsCode

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

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

func (*GetRatesUnsupportedMediaType) IsRedirect

func (o *GetRatesUnsupportedMediaType) IsRedirect() bool

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

func (*GetRatesUnsupportedMediaType) IsServerError

func (o *GetRatesUnsupportedMediaType) IsServerError() bool

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

func (*GetRatesUnsupportedMediaType) IsSuccess

func (o *GetRatesUnsupportedMediaType) IsSuccess() bool

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

func (*GetRatesUnsupportedMediaType) String

type GetShipmentDocumentsBadRequest

type GetShipmentDocumentsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetShipmentDocumentsBadRequest

func NewGetShipmentDocumentsBadRequest() *GetShipmentDocumentsBadRequest

NewGetShipmentDocumentsBadRequest creates a GetShipmentDocumentsBadRequest with default headers values

func (*GetShipmentDocumentsBadRequest) Error

func (*GetShipmentDocumentsBadRequest) GetPayload

func (*GetShipmentDocumentsBadRequest) IsClientError

func (o *GetShipmentDocumentsBadRequest) IsClientError() bool

IsClientError returns true when this get shipment documents bad request response has a 4xx status code

func (*GetShipmentDocumentsBadRequest) IsCode

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

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

func (*GetShipmentDocumentsBadRequest) IsRedirect

func (o *GetShipmentDocumentsBadRequest) IsRedirect() bool

IsRedirect returns true when this get shipment documents bad request response has a 3xx status code

func (*GetShipmentDocumentsBadRequest) IsServerError

func (o *GetShipmentDocumentsBadRequest) IsServerError() bool

IsServerError returns true when this get shipment documents bad request response has a 5xx status code

func (*GetShipmentDocumentsBadRequest) IsSuccess

func (o *GetShipmentDocumentsBadRequest) IsSuccess() bool

IsSuccess returns true when this get shipment documents bad request response has a 2xx status code

func (*GetShipmentDocumentsBadRequest) String

type GetShipmentDocumentsForbidden

type GetShipmentDocumentsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetShipmentDocumentsForbidden 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 NewGetShipmentDocumentsForbidden

func NewGetShipmentDocumentsForbidden() *GetShipmentDocumentsForbidden

NewGetShipmentDocumentsForbidden creates a GetShipmentDocumentsForbidden with default headers values

func (*GetShipmentDocumentsForbidden) Error

func (*GetShipmentDocumentsForbidden) GetPayload

func (*GetShipmentDocumentsForbidden) IsClientError

func (o *GetShipmentDocumentsForbidden) IsClientError() bool

IsClientError returns true when this get shipment documents forbidden response has a 4xx status code

func (*GetShipmentDocumentsForbidden) IsCode

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

IsCode returns true when this get shipment documents forbidden response a status code equal to that given

func (*GetShipmentDocumentsForbidden) IsRedirect

func (o *GetShipmentDocumentsForbidden) IsRedirect() bool

IsRedirect returns true when this get shipment documents forbidden response has a 3xx status code

func (*GetShipmentDocumentsForbidden) IsServerError

func (o *GetShipmentDocumentsForbidden) IsServerError() bool

IsServerError returns true when this get shipment documents forbidden response has a 5xx status code

func (*GetShipmentDocumentsForbidden) IsSuccess

func (o *GetShipmentDocumentsForbidden) IsSuccess() bool

IsSuccess returns true when this get shipment documents forbidden response has a 2xx status code

func (*GetShipmentDocumentsForbidden) String

type GetShipmentDocumentsInternalServerError

type GetShipmentDocumentsInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetShipmentDocumentsInternalServerError

func NewGetShipmentDocumentsInternalServerError() *GetShipmentDocumentsInternalServerError

NewGetShipmentDocumentsInternalServerError creates a GetShipmentDocumentsInternalServerError with default headers values

func (*GetShipmentDocumentsInternalServerError) Error

func (*GetShipmentDocumentsInternalServerError) GetPayload

func (*GetShipmentDocumentsInternalServerError) IsClientError

func (o *GetShipmentDocumentsInternalServerError) IsClientError() bool

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

func (*GetShipmentDocumentsInternalServerError) IsCode

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

func (*GetShipmentDocumentsInternalServerError) IsRedirect

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

func (*GetShipmentDocumentsInternalServerError) IsServerError

func (o *GetShipmentDocumentsInternalServerError) IsServerError() bool

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

func (*GetShipmentDocumentsInternalServerError) IsSuccess

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

func (*GetShipmentDocumentsInternalServerError) String

type GetShipmentDocumentsNotFound

type GetShipmentDocumentsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetShipmentDocumentsNotFound

func NewGetShipmentDocumentsNotFound() *GetShipmentDocumentsNotFound

NewGetShipmentDocumentsNotFound creates a GetShipmentDocumentsNotFound with default headers values

func (*GetShipmentDocumentsNotFound) Error

func (*GetShipmentDocumentsNotFound) GetPayload

func (*GetShipmentDocumentsNotFound) IsClientError

func (o *GetShipmentDocumentsNotFound) IsClientError() bool

IsClientError returns true when this get shipment documents not found response has a 4xx status code

func (*GetShipmentDocumentsNotFound) IsCode

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

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

func (*GetShipmentDocumentsNotFound) IsRedirect

func (o *GetShipmentDocumentsNotFound) IsRedirect() bool

IsRedirect returns true when this get shipment documents not found response has a 3xx status code

func (*GetShipmentDocumentsNotFound) IsServerError

func (o *GetShipmentDocumentsNotFound) IsServerError() bool

IsServerError returns true when this get shipment documents not found response has a 5xx status code

func (*GetShipmentDocumentsNotFound) IsSuccess

func (o *GetShipmentDocumentsNotFound) IsSuccess() bool

IsSuccess returns true when this get shipment documents not found response has a 2xx status code

func (*GetShipmentDocumentsNotFound) String

type GetShipmentDocumentsOK

type GetShipmentDocumentsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetShipmentDocumentsResponse
}

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

Success.

func NewGetShipmentDocumentsOK

func NewGetShipmentDocumentsOK() *GetShipmentDocumentsOK

NewGetShipmentDocumentsOK creates a GetShipmentDocumentsOK with default headers values

func (*GetShipmentDocumentsOK) Error

func (o *GetShipmentDocumentsOK) Error() string

func (*GetShipmentDocumentsOK) GetPayload

func (*GetShipmentDocumentsOK) IsClientError

func (o *GetShipmentDocumentsOK) IsClientError() bool

IsClientError returns true when this get shipment documents o k response has a 4xx status code

func (*GetShipmentDocumentsOK) IsCode

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

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

func (*GetShipmentDocumentsOK) IsRedirect

func (o *GetShipmentDocumentsOK) IsRedirect() bool

IsRedirect returns true when this get shipment documents o k response has a 3xx status code

func (*GetShipmentDocumentsOK) IsServerError

func (o *GetShipmentDocumentsOK) IsServerError() bool

IsServerError returns true when this get shipment documents o k response has a 5xx status code

func (*GetShipmentDocumentsOK) IsSuccess

func (o *GetShipmentDocumentsOK) IsSuccess() bool

IsSuccess returns true when this get shipment documents o k response has a 2xx status code

func (*GetShipmentDocumentsOK) String

func (o *GetShipmentDocumentsOK) String() string

type GetShipmentDocumentsParams

type GetShipmentDocumentsParams struct {

	/* Dpi.

	   The resolution of the document (for example, 300 means 300 dots per inch). Must be one of the supported resolutions returned in the response to the getRates operation.
	*/
	Dpi *float64

	/* Format.

	   The file format of the document. Must be one of the supported formats returned by the getRates operation.
	*/
	Format *string

	/* PackageClientReferenceID.

	   The package client reference identifier originally provided in the request body parameter for the getRates operation.
	*/
	PackageClientReferenceID string

	/* ShipmentID.

	   The shipment identifier originally returned by the purchaseShipment operation.
	*/
	ShipmentID string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetShipmentDocumentsParams contains all the parameters to send to the API endpoint

for the get shipment documents operation.

Typically these are written to a http.Request.

func NewGetShipmentDocumentsParams

func NewGetShipmentDocumentsParams() *GetShipmentDocumentsParams

NewGetShipmentDocumentsParams creates a new GetShipmentDocumentsParams 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 NewGetShipmentDocumentsParamsWithContext

func NewGetShipmentDocumentsParamsWithContext(ctx context.Context) *GetShipmentDocumentsParams

NewGetShipmentDocumentsParamsWithContext creates a new GetShipmentDocumentsParams object with the ability to set a context for a request.

func NewGetShipmentDocumentsParamsWithHTTPClient

func NewGetShipmentDocumentsParamsWithHTTPClient(client *http.Client) *GetShipmentDocumentsParams

NewGetShipmentDocumentsParamsWithHTTPClient creates a new GetShipmentDocumentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetShipmentDocumentsParamsWithTimeout

func NewGetShipmentDocumentsParamsWithTimeout(timeout time.Duration) *GetShipmentDocumentsParams

NewGetShipmentDocumentsParamsWithTimeout creates a new GetShipmentDocumentsParams object with the ability to set a timeout on a request.

func (*GetShipmentDocumentsParams) SetContext

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

SetContext adds the context to the get shipment documents params

func (*GetShipmentDocumentsParams) SetDefaults

func (o *GetShipmentDocumentsParams) SetDefaults()

SetDefaults hydrates default values in the get shipment documents params (not the query body).

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

func (*GetShipmentDocumentsParams) SetDpi

func (o *GetShipmentDocumentsParams) SetDpi(dpi *float64)

SetDpi adds the dpi to the get shipment documents params

func (*GetShipmentDocumentsParams) SetFormat

func (o *GetShipmentDocumentsParams) SetFormat(format *string)

SetFormat adds the format to the get shipment documents params

func (*GetShipmentDocumentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get shipment documents params

func (*GetShipmentDocumentsParams) SetPackageClientReferenceID

func (o *GetShipmentDocumentsParams) SetPackageClientReferenceID(packageClientReferenceID string)

SetPackageClientReferenceID adds the packageClientReferenceId to the get shipment documents params

func (*GetShipmentDocumentsParams) SetShipmentID

func (o *GetShipmentDocumentsParams) SetShipmentID(shipmentID string)

SetShipmentID adds the shipmentId to the get shipment documents params

func (*GetShipmentDocumentsParams) SetTimeout

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

SetTimeout adds the timeout to the get shipment documents params

func (*GetShipmentDocumentsParams) SetXAmznShippingBusinessID

func (o *GetShipmentDocumentsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get shipment documents params

func (*GetShipmentDocumentsParams) WithContext

WithContext adds the context to the get shipment documents params

func (*GetShipmentDocumentsParams) WithDefaults

WithDefaults hydrates default values in the get shipment documents params (not the query body).

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

func (*GetShipmentDocumentsParams) WithDpi

WithDpi adds the dpi to the get shipment documents params

func (*GetShipmentDocumentsParams) WithFormat

WithFormat adds the format to the get shipment documents params

func (*GetShipmentDocumentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get shipment documents params

func (*GetShipmentDocumentsParams) WithPackageClientReferenceID

func (o *GetShipmentDocumentsParams) WithPackageClientReferenceID(packageClientReferenceID string) *GetShipmentDocumentsParams

WithPackageClientReferenceID adds the packageClientReferenceID to the get shipment documents params

func (*GetShipmentDocumentsParams) WithShipmentID

func (o *GetShipmentDocumentsParams) WithShipmentID(shipmentID string) *GetShipmentDocumentsParams

WithShipmentID adds the shipmentID to the get shipment documents params

func (*GetShipmentDocumentsParams) WithTimeout

WithTimeout adds the timeout to the get shipment documents params

func (*GetShipmentDocumentsParams) WithXAmznShippingBusinessID

func (o *GetShipmentDocumentsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetShipmentDocumentsParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get shipment documents params

func (*GetShipmentDocumentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetShipmentDocumentsReader

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

GetShipmentDocumentsReader is a Reader for the GetShipmentDocuments structure.

func (*GetShipmentDocumentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetShipmentDocumentsRequestEntityTooLarge

type GetShipmentDocumentsRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetShipmentDocumentsRequestEntityTooLarge

func NewGetShipmentDocumentsRequestEntityTooLarge() *GetShipmentDocumentsRequestEntityTooLarge

NewGetShipmentDocumentsRequestEntityTooLarge creates a GetShipmentDocumentsRequestEntityTooLarge with default headers values

func (*GetShipmentDocumentsRequestEntityTooLarge) Error

func (*GetShipmentDocumentsRequestEntityTooLarge) GetPayload

func (*GetShipmentDocumentsRequestEntityTooLarge) IsClientError

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

func (*GetShipmentDocumentsRequestEntityTooLarge) IsCode

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

func (*GetShipmentDocumentsRequestEntityTooLarge) IsRedirect

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

func (*GetShipmentDocumentsRequestEntityTooLarge) IsServerError

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

func (*GetShipmentDocumentsRequestEntityTooLarge) IsSuccess

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

func (*GetShipmentDocumentsRequestEntityTooLarge) String

type GetShipmentDocumentsServiceUnavailable

type GetShipmentDocumentsServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetShipmentDocumentsServiceUnavailable

func NewGetShipmentDocumentsServiceUnavailable() *GetShipmentDocumentsServiceUnavailable

NewGetShipmentDocumentsServiceUnavailable creates a GetShipmentDocumentsServiceUnavailable with default headers values

func (*GetShipmentDocumentsServiceUnavailable) Error

func (*GetShipmentDocumentsServiceUnavailable) GetPayload

func (*GetShipmentDocumentsServiceUnavailable) IsClientError

func (o *GetShipmentDocumentsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get shipment documents service unavailable response has a 4xx status code

func (*GetShipmentDocumentsServiceUnavailable) IsCode

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

func (*GetShipmentDocumentsServiceUnavailable) IsRedirect

IsRedirect returns true when this get shipment documents service unavailable response has a 3xx status code

func (*GetShipmentDocumentsServiceUnavailable) IsServerError

func (o *GetShipmentDocumentsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get shipment documents service unavailable response has a 5xx status code

func (*GetShipmentDocumentsServiceUnavailable) IsSuccess

IsSuccess returns true when this get shipment documents service unavailable response has a 2xx status code

func (*GetShipmentDocumentsServiceUnavailable) String

type GetShipmentDocumentsTooManyRequests

type GetShipmentDocumentsTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetShipmentDocumentsTooManyRequests

func NewGetShipmentDocumentsTooManyRequests() *GetShipmentDocumentsTooManyRequests

NewGetShipmentDocumentsTooManyRequests creates a GetShipmentDocumentsTooManyRequests with default headers values

func (*GetShipmentDocumentsTooManyRequests) Error

func (*GetShipmentDocumentsTooManyRequests) GetPayload

func (*GetShipmentDocumentsTooManyRequests) IsClientError

func (o *GetShipmentDocumentsTooManyRequests) IsClientError() bool

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

func (*GetShipmentDocumentsTooManyRequests) IsCode

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

func (*GetShipmentDocumentsTooManyRequests) IsRedirect

func (o *GetShipmentDocumentsTooManyRequests) IsRedirect() bool

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

func (*GetShipmentDocumentsTooManyRequests) IsServerError

func (o *GetShipmentDocumentsTooManyRequests) IsServerError() bool

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

func (*GetShipmentDocumentsTooManyRequests) IsSuccess

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

func (*GetShipmentDocumentsTooManyRequests) String

type GetShipmentDocumentsUnauthorized

type GetShipmentDocumentsUnauthorized 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 *shipping_v2_models.ErrorList
}

GetShipmentDocumentsUnauthorized 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 NewGetShipmentDocumentsUnauthorized

func NewGetShipmentDocumentsUnauthorized() *GetShipmentDocumentsUnauthorized

NewGetShipmentDocumentsUnauthorized creates a GetShipmentDocumentsUnauthorized with default headers values

func (*GetShipmentDocumentsUnauthorized) Error

func (*GetShipmentDocumentsUnauthorized) GetPayload

func (*GetShipmentDocumentsUnauthorized) IsClientError

func (o *GetShipmentDocumentsUnauthorized) IsClientError() bool

IsClientError returns true when this get shipment documents unauthorized response has a 4xx status code

func (*GetShipmentDocumentsUnauthorized) IsCode

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

IsCode returns true when this get shipment documents unauthorized response a status code equal to that given

func (*GetShipmentDocumentsUnauthorized) IsRedirect

func (o *GetShipmentDocumentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get shipment documents unauthorized response has a 3xx status code

func (*GetShipmentDocumentsUnauthorized) IsServerError

func (o *GetShipmentDocumentsUnauthorized) IsServerError() bool

IsServerError returns true when this get shipment documents unauthorized response has a 5xx status code

func (*GetShipmentDocumentsUnauthorized) IsSuccess

func (o *GetShipmentDocumentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get shipment documents unauthorized response has a 2xx status code

func (*GetShipmentDocumentsUnauthorized) String

type GetShipmentDocumentsUnsupportedMediaType

type GetShipmentDocumentsUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetShipmentDocumentsUnsupportedMediaType

func NewGetShipmentDocumentsUnsupportedMediaType() *GetShipmentDocumentsUnsupportedMediaType

NewGetShipmentDocumentsUnsupportedMediaType creates a GetShipmentDocumentsUnsupportedMediaType with default headers values

func (*GetShipmentDocumentsUnsupportedMediaType) Error

func (*GetShipmentDocumentsUnsupportedMediaType) GetPayload

func (*GetShipmentDocumentsUnsupportedMediaType) IsClientError

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

func (*GetShipmentDocumentsUnsupportedMediaType) IsCode

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

func (*GetShipmentDocumentsUnsupportedMediaType) IsRedirect

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

func (*GetShipmentDocumentsUnsupportedMediaType) IsServerError

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

func (*GetShipmentDocumentsUnsupportedMediaType) IsSuccess

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

func (*GetShipmentDocumentsUnsupportedMediaType) String

type GetTrackingBadRequest

type GetTrackingBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetTrackingBadRequest

func NewGetTrackingBadRequest() *GetTrackingBadRequest

NewGetTrackingBadRequest creates a GetTrackingBadRequest with default headers values

func (*GetTrackingBadRequest) Error

func (o *GetTrackingBadRequest) Error() string

func (*GetTrackingBadRequest) GetPayload

func (*GetTrackingBadRequest) IsClientError

func (o *GetTrackingBadRequest) IsClientError() bool

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

func (*GetTrackingBadRequest) IsCode

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

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

func (*GetTrackingBadRequest) IsRedirect

func (o *GetTrackingBadRequest) IsRedirect() bool

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

func (*GetTrackingBadRequest) IsServerError

func (o *GetTrackingBadRequest) IsServerError() bool

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

func (*GetTrackingBadRequest) IsSuccess

func (o *GetTrackingBadRequest) IsSuccess() bool

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

func (*GetTrackingBadRequest) String

func (o *GetTrackingBadRequest) String() string

type GetTrackingForbidden

type GetTrackingForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetTrackingForbidden 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 NewGetTrackingForbidden

func NewGetTrackingForbidden() *GetTrackingForbidden

NewGetTrackingForbidden creates a GetTrackingForbidden with default headers values

func (*GetTrackingForbidden) Error

func (o *GetTrackingForbidden) Error() string

func (*GetTrackingForbidden) GetPayload

func (*GetTrackingForbidden) IsClientError

func (o *GetTrackingForbidden) IsClientError() bool

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

func (*GetTrackingForbidden) IsCode

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

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

func (*GetTrackingForbidden) IsRedirect

func (o *GetTrackingForbidden) IsRedirect() bool

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

func (*GetTrackingForbidden) IsServerError

func (o *GetTrackingForbidden) IsServerError() bool

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

func (*GetTrackingForbidden) IsSuccess

func (o *GetTrackingForbidden) IsSuccess() bool

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

func (*GetTrackingForbidden) String

func (o *GetTrackingForbidden) String() string

type GetTrackingInternalServerError

type GetTrackingInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetTrackingInternalServerError

func NewGetTrackingInternalServerError() *GetTrackingInternalServerError

NewGetTrackingInternalServerError creates a GetTrackingInternalServerError with default headers values

func (*GetTrackingInternalServerError) Error

func (*GetTrackingInternalServerError) GetPayload

func (*GetTrackingInternalServerError) IsClientError

func (o *GetTrackingInternalServerError) IsClientError() bool

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

func (*GetTrackingInternalServerError) IsCode

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

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

func (*GetTrackingInternalServerError) IsRedirect

func (o *GetTrackingInternalServerError) IsRedirect() bool

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

func (*GetTrackingInternalServerError) IsServerError

func (o *GetTrackingInternalServerError) IsServerError() bool

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

func (*GetTrackingInternalServerError) IsSuccess

func (o *GetTrackingInternalServerError) IsSuccess() bool

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

func (*GetTrackingInternalServerError) String

type GetTrackingNotFound

type GetTrackingNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetTrackingNotFound

func NewGetTrackingNotFound() *GetTrackingNotFound

NewGetTrackingNotFound creates a GetTrackingNotFound with default headers values

func (*GetTrackingNotFound) Error

func (o *GetTrackingNotFound) Error() string

func (*GetTrackingNotFound) GetPayload

func (*GetTrackingNotFound) IsClientError

func (o *GetTrackingNotFound) IsClientError() bool

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

func (*GetTrackingNotFound) IsCode

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

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

func (*GetTrackingNotFound) IsRedirect

func (o *GetTrackingNotFound) IsRedirect() bool

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

func (*GetTrackingNotFound) IsServerError

func (o *GetTrackingNotFound) IsServerError() bool

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

func (*GetTrackingNotFound) IsSuccess

func (o *GetTrackingNotFound) IsSuccess() bool

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

func (*GetTrackingNotFound) String

func (o *GetTrackingNotFound) String() string

type GetTrackingOK

type GetTrackingOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetTrackingResponse
}

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

Success.

func NewGetTrackingOK

func NewGetTrackingOK() *GetTrackingOK

NewGetTrackingOK creates a GetTrackingOK with default headers values

func (*GetTrackingOK) Error

func (o *GetTrackingOK) Error() string

func (*GetTrackingOK) GetPayload

func (*GetTrackingOK) IsClientError

func (o *GetTrackingOK) IsClientError() bool

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

func (*GetTrackingOK) IsCode

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

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

func (*GetTrackingOK) IsRedirect

func (o *GetTrackingOK) IsRedirect() bool

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

func (*GetTrackingOK) IsServerError

func (o *GetTrackingOK) IsServerError() bool

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

func (*GetTrackingOK) IsSuccess

func (o *GetTrackingOK) IsSuccess() bool

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

func (*GetTrackingOK) String

func (o *GetTrackingOK) String() string

type GetTrackingParams

type GetTrackingParams struct {

	/* CarrierID.

	   A carrier identifier originally returned by the getRates operation for the selected rate.
	*/
	CarrierID string

	/* TrackingID.

	   A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
	*/
	TrackingID string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetTrackingParams contains all the parameters to send to the API endpoint

for the get tracking operation.

Typically these are written to a http.Request.

func NewGetTrackingParams

func NewGetTrackingParams() *GetTrackingParams

NewGetTrackingParams creates a new GetTrackingParams 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 NewGetTrackingParamsWithContext

func NewGetTrackingParamsWithContext(ctx context.Context) *GetTrackingParams

NewGetTrackingParamsWithContext creates a new GetTrackingParams object with the ability to set a context for a request.

func NewGetTrackingParamsWithHTTPClient

func NewGetTrackingParamsWithHTTPClient(client *http.Client) *GetTrackingParams

NewGetTrackingParamsWithHTTPClient creates a new GetTrackingParams object with the ability to set a custom HTTPClient for a request.

func NewGetTrackingParamsWithTimeout

func NewGetTrackingParamsWithTimeout(timeout time.Duration) *GetTrackingParams

NewGetTrackingParamsWithTimeout creates a new GetTrackingParams object with the ability to set a timeout on a request.

func (*GetTrackingParams) SetCarrierID

func (o *GetTrackingParams) SetCarrierID(carrierID string)

SetCarrierID adds the carrierId to the get tracking params

func (*GetTrackingParams) SetContext

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

SetContext adds the context to the get tracking params

func (*GetTrackingParams) SetDefaults

func (o *GetTrackingParams) SetDefaults()

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

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

func (*GetTrackingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tracking params

func (*GetTrackingParams) SetTimeout

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

SetTimeout adds the timeout to the get tracking params

func (*GetTrackingParams) SetTrackingID

func (o *GetTrackingParams) SetTrackingID(trackingID string)

SetTrackingID adds the trackingId to the get tracking params

func (*GetTrackingParams) SetXAmznShippingBusinessID

func (o *GetTrackingParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get tracking params

func (*GetTrackingParams) WithCarrierID

func (o *GetTrackingParams) WithCarrierID(carrierID string) *GetTrackingParams

WithCarrierID adds the carrierID to the get tracking params

func (*GetTrackingParams) WithContext

func (o *GetTrackingParams) WithContext(ctx context.Context) *GetTrackingParams

WithContext adds the context to the get tracking params

func (*GetTrackingParams) WithDefaults

func (o *GetTrackingParams) WithDefaults() *GetTrackingParams

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

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

func (*GetTrackingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tracking params

func (*GetTrackingParams) WithTimeout

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

WithTimeout adds the timeout to the get tracking params

func (*GetTrackingParams) WithTrackingID

func (o *GetTrackingParams) WithTrackingID(trackingID string) *GetTrackingParams

WithTrackingID adds the trackingID to the get tracking params

func (*GetTrackingParams) WithXAmznShippingBusinessID

func (o *GetTrackingParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetTrackingParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get tracking params

func (*GetTrackingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTrackingReader

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

GetTrackingReader is a Reader for the GetTracking structure.

func (*GetTrackingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTrackingRequestEntityTooLarge

type GetTrackingRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetTrackingRequestEntityTooLarge

func NewGetTrackingRequestEntityTooLarge() *GetTrackingRequestEntityTooLarge

NewGetTrackingRequestEntityTooLarge creates a GetTrackingRequestEntityTooLarge with default headers values

func (*GetTrackingRequestEntityTooLarge) Error

func (*GetTrackingRequestEntityTooLarge) GetPayload

func (*GetTrackingRequestEntityTooLarge) IsClientError

func (o *GetTrackingRequestEntityTooLarge) IsClientError() bool

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

func (*GetTrackingRequestEntityTooLarge) IsCode

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

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

func (*GetTrackingRequestEntityTooLarge) IsRedirect

func (o *GetTrackingRequestEntityTooLarge) IsRedirect() bool

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

func (*GetTrackingRequestEntityTooLarge) IsServerError

func (o *GetTrackingRequestEntityTooLarge) IsServerError() bool

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

func (*GetTrackingRequestEntityTooLarge) IsSuccess

func (o *GetTrackingRequestEntityTooLarge) IsSuccess() bool

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

func (*GetTrackingRequestEntityTooLarge) String

type GetTrackingServiceUnavailable

type GetTrackingServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetTrackingServiceUnavailable

func NewGetTrackingServiceUnavailable() *GetTrackingServiceUnavailable

NewGetTrackingServiceUnavailable creates a GetTrackingServiceUnavailable with default headers values

func (*GetTrackingServiceUnavailable) Error

func (*GetTrackingServiceUnavailable) GetPayload

func (*GetTrackingServiceUnavailable) IsClientError

func (o *GetTrackingServiceUnavailable) IsClientError() bool

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

func (*GetTrackingServiceUnavailable) IsCode

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

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

func (*GetTrackingServiceUnavailable) IsRedirect

func (o *GetTrackingServiceUnavailable) IsRedirect() bool

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

func (*GetTrackingServiceUnavailable) IsServerError

func (o *GetTrackingServiceUnavailable) IsServerError() bool

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

func (*GetTrackingServiceUnavailable) IsSuccess

func (o *GetTrackingServiceUnavailable) IsSuccess() bool

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

func (*GetTrackingServiceUnavailable) String

type GetTrackingTooManyRequests

type GetTrackingTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetTrackingTooManyRequests

func NewGetTrackingTooManyRequests() *GetTrackingTooManyRequests

NewGetTrackingTooManyRequests creates a GetTrackingTooManyRequests with default headers values

func (*GetTrackingTooManyRequests) Error

func (*GetTrackingTooManyRequests) GetPayload

func (*GetTrackingTooManyRequests) IsClientError

func (o *GetTrackingTooManyRequests) IsClientError() bool

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

func (*GetTrackingTooManyRequests) IsCode

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

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

func (*GetTrackingTooManyRequests) IsRedirect

func (o *GetTrackingTooManyRequests) IsRedirect() bool

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

func (*GetTrackingTooManyRequests) IsServerError

func (o *GetTrackingTooManyRequests) IsServerError() bool

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

func (*GetTrackingTooManyRequests) IsSuccess

func (o *GetTrackingTooManyRequests) IsSuccess() bool

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

func (*GetTrackingTooManyRequests) String

func (o *GetTrackingTooManyRequests) String() string

type GetTrackingUnauthorized

type GetTrackingUnauthorized 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 *shipping_v2_models.ErrorList
}

GetTrackingUnauthorized 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 NewGetTrackingUnauthorized

func NewGetTrackingUnauthorized() *GetTrackingUnauthorized

NewGetTrackingUnauthorized creates a GetTrackingUnauthorized with default headers values

func (*GetTrackingUnauthorized) Error

func (o *GetTrackingUnauthorized) Error() string

func (*GetTrackingUnauthorized) GetPayload

func (*GetTrackingUnauthorized) IsClientError

func (o *GetTrackingUnauthorized) IsClientError() bool

IsClientError returns true when this get tracking unauthorized response has a 4xx status code

func (*GetTrackingUnauthorized) IsCode

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

IsCode returns true when this get tracking unauthorized response a status code equal to that given

func (*GetTrackingUnauthorized) IsRedirect

func (o *GetTrackingUnauthorized) IsRedirect() bool

IsRedirect returns true when this get tracking unauthorized response has a 3xx status code

func (*GetTrackingUnauthorized) IsServerError

func (o *GetTrackingUnauthorized) IsServerError() bool

IsServerError returns true when this get tracking unauthorized response has a 5xx status code

func (*GetTrackingUnauthorized) IsSuccess

func (o *GetTrackingUnauthorized) IsSuccess() bool

IsSuccess returns true when this get tracking unauthorized response has a 2xx status code

func (*GetTrackingUnauthorized) String

func (o *GetTrackingUnauthorized) String() string

type GetTrackingUnsupportedMediaType

type GetTrackingUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetTrackingUnsupportedMediaType

func NewGetTrackingUnsupportedMediaType() *GetTrackingUnsupportedMediaType

NewGetTrackingUnsupportedMediaType creates a GetTrackingUnsupportedMediaType with default headers values

func (*GetTrackingUnsupportedMediaType) Error

func (*GetTrackingUnsupportedMediaType) GetPayload

func (*GetTrackingUnsupportedMediaType) IsClientError

func (o *GetTrackingUnsupportedMediaType) IsClientError() bool

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

func (*GetTrackingUnsupportedMediaType) IsCode

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

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

func (*GetTrackingUnsupportedMediaType) IsRedirect

func (o *GetTrackingUnsupportedMediaType) IsRedirect() bool

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

func (*GetTrackingUnsupportedMediaType) IsServerError

func (o *GetTrackingUnsupportedMediaType) IsServerError() bool

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

func (*GetTrackingUnsupportedMediaType) IsSuccess

func (o *GetTrackingUnsupportedMediaType) IsSuccess() bool

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

func (*GetTrackingUnsupportedMediaType) String

type GetUnmanifestedShipmentsBadRequest

type GetUnmanifestedShipmentsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetUnmanifestedShipmentsBadRequest

func NewGetUnmanifestedShipmentsBadRequest() *GetUnmanifestedShipmentsBadRequest

NewGetUnmanifestedShipmentsBadRequest creates a GetUnmanifestedShipmentsBadRequest with default headers values

func (*GetUnmanifestedShipmentsBadRequest) Error

func (*GetUnmanifestedShipmentsBadRequest) GetPayload

func (*GetUnmanifestedShipmentsBadRequest) IsClientError

func (o *GetUnmanifestedShipmentsBadRequest) IsClientError() bool

IsClientError returns true when this get unmanifested shipments bad request response has a 4xx status code

func (*GetUnmanifestedShipmentsBadRequest) IsCode

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

func (*GetUnmanifestedShipmentsBadRequest) IsRedirect

func (o *GetUnmanifestedShipmentsBadRequest) IsRedirect() bool

IsRedirect returns true when this get unmanifested shipments bad request response has a 3xx status code

func (*GetUnmanifestedShipmentsBadRequest) IsServerError

func (o *GetUnmanifestedShipmentsBadRequest) IsServerError() bool

IsServerError returns true when this get unmanifested shipments bad request response has a 5xx status code

func (*GetUnmanifestedShipmentsBadRequest) IsSuccess

IsSuccess returns true when this get unmanifested shipments bad request response has a 2xx status code

func (*GetUnmanifestedShipmentsBadRequest) String

type GetUnmanifestedShipmentsForbidden

type GetUnmanifestedShipmentsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

GetUnmanifestedShipmentsForbidden 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 NewGetUnmanifestedShipmentsForbidden

func NewGetUnmanifestedShipmentsForbidden() *GetUnmanifestedShipmentsForbidden

NewGetUnmanifestedShipmentsForbidden creates a GetUnmanifestedShipmentsForbidden with default headers values

func (*GetUnmanifestedShipmentsForbidden) Error

func (*GetUnmanifestedShipmentsForbidden) GetPayload

func (*GetUnmanifestedShipmentsForbidden) IsClientError

func (o *GetUnmanifestedShipmentsForbidden) IsClientError() bool

IsClientError returns true when this get unmanifested shipments forbidden response has a 4xx status code

func (*GetUnmanifestedShipmentsForbidden) IsCode

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

IsCode returns true when this get unmanifested shipments forbidden response a status code equal to that given

func (*GetUnmanifestedShipmentsForbidden) IsRedirect

func (o *GetUnmanifestedShipmentsForbidden) IsRedirect() bool

IsRedirect returns true when this get unmanifested shipments forbidden response has a 3xx status code

func (*GetUnmanifestedShipmentsForbidden) IsServerError

func (o *GetUnmanifestedShipmentsForbidden) IsServerError() bool

IsServerError returns true when this get unmanifested shipments forbidden response has a 5xx status code

func (*GetUnmanifestedShipmentsForbidden) IsSuccess

func (o *GetUnmanifestedShipmentsForbidden) IsSuccess() bool

IsSuccess returns true when this get unmanifested shipments forbidden response has a 2xx status code

func (*GetUnmanifestedShipmentsForbidden) String

type GetUnmanifestedShipmentsInternalServerError

type GetUnmanifestedShipmentsInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewGetUnmanifestedShipmentsInternalServerError

func NewGetUnmanifestedShipmentsInternalServerError() *GetUnmanifestedShipmentsInternalServerError

NewGetUnmanifestedShipmentsInternalServerError creates a GetUnmanifestedShipmentsInternalServerError with default headers values

func (*GetUnmanifestedShipmentsInternalServerError) Error

func (*GetUnmanifestedShipmentsInternalServerError) GetPayload

func (*GetUnmanifestedShipmentsInternalServerError) IsClientError

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

func (*GetUnmanifestedShipmentsInternalServerError) IsCode

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

func (*GetUnmanifestedShipmentsInternalServerError) IsRedirect

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

func (*GetUnmanifestedShipmentsInternalServerError) IsServerError

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

func (*GetUnmanifestedShipmentsInternalServerError) IsSuccess

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

func (*GetUnmanifestedShipmentsInternalServerError) String

type GetUnmanifestedShipmentsNotFound

type GetUnmanifestedShipmentsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewGetUnmanifestedShipmentsNotFound

func NewGetUnmanifestedShipmentsNotFound() *GetUnmanifestedShipmentsNotFound

NewGetUnmanifestedShipmentsNotFound creates a GetUnmanifestedShipmentsNotFound with default headers values

func (*GetUnmanifestedShipmentsNotFound) Error

func (*GetUnmanifestedShipmentsNotFound) GetPayload

func (*GetUnmanifestedShipmentsNotFound) IsClientError

func (o *GetUnmanifestedShipmentsNotFound) IsClientError() bool

IsClientError returns true when this get unmanifested shipments not found response has a 4xx status code

func (*GetUnmanifestedShipmentsNotFound) IsCode

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

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

func (*GetUnmanifestedShipmentsNotFound) IsRedirect

func (o *GetUnmanifestedShipmentsNotFound) IsRedirect() bool

IsRedirect returns true when this get unmanifested shipments not found response has a 3xx status code

func (*GetUnmanifestedShipmentsNotFound) IsServerError

func (o *GetUnmanifestedShipmentsNotFound) IsServerError() bool

IsServerError returns true when this get unmanifested shipments not found response has a 5xx status code

func (*GetUnmanifestedShipmentsNotFound) IsSuccess

func (o *GetUnmanifestedShipmentsNotFound) IsSuccess() bool

IsSuccess returns true when this get unmanifested shipments not found response has a 2xx status code

func (*GetUnmanifestedShipmentsNotFound) String

type GetUnmanifestedShipmentsOK

type GetUnmanifestedShipmentsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.GetUnmanifestedShipmentsResponse
}

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

Success.

func NewGetUnmanifestedShipmentsOK

func NewGetUnmanifestedShipmentsOK() *GetUnmanifestedShipmentsOK

NewGetUnmanifestedShipmentsOK creates a GetUnmanifestedShipmentsOK with default headers values

func (*GetUnmanifestedShipmentsOK) Error

func (*GetUnmanifestedShipmentsOK) GetPayload

func (*GetUnmanifestedShipmentsOK) IsClientError

func (o *GetUnmanifestedShipmentsOK) IsClientError() bool

IsClientError returns true when this get unmanifested shipments o k response has a 4xx status code

func (*GetUnmanifestedShipmentsOK) IsCode

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

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

func (*GetUnmanifestedShipmentsOK) IsRedirect

func (o *GetUnmanifestedShipmentsOK) IsRedirect() bool

IsRedirect returns true when this get unmanifested shipments o k response has a 3xx status code

func (*GetUnmanifestedShipmentsOK) IsServerError

func (o *GetUnmanifestedShipmentsOK) IsServerError() bool

IsServerError returns true when this get unmanifested shipments o k response has a 5xx status code

func (*GetUnmanifestedShipmentsOK) IsSuccess

func (o *GetUnmanifestedShipmentsOK) IsSuccess() bool

IsSuccess returns true when this get unmanifested shipments o k response has a 2xx status code

func (*GetUnmanifestedShipmentsOK) String

func (o *GetUnmanifestedShipmentsOK) String() string

type GetUnmanifestedShipmentsParams

type GetUnmanifestedShipmentsParams struct {

	// Body.
	Body *shipping_v2_models.GetUnmanifestedShipmentsRequest

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

GetUnmanifestedShipmentsParams contains all the parameters to send to the API endpoint

for the get unmanifested shipments operation.

Typically these are written to a http.Request.

func NewGetUnmanifestedShipmentsParams

func NewGetUnmanifestedShipmentsParams() *GetUnmanifestedShipmentsParams

NewGetUnmanifestedShipmentsParams creates a new GetUnmanifestedShipmentsParams 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 NewGetUnmanifestedShipmentsParamsWithContext

func NewGetUnmanifestedShipmentsParamsWithContext(ctx context.Context) *GetUnmanifestedShipmentsParams

NewGetUnmanifestedShipmentsParamsWithContext creates a new GetUnmanifestedShipmentsParams object with the ability to set a context for a request.

func NewGetUnmanifestedShipmentsParamsWithHTTPClient

func NewGetUnmanifestedShipmentsParamsWithHTTPClient(client *http.Client) *GetUnmanifestedShipmentsParams

NewGetUnmanifestedShipmentsParamsWithHTTPClient creates a new GetUnmanifestedShipmentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUnmanifestedShipmentsParamsWithTimeout

func NewGetUnmanifestedShipmentsParamsWithTimeout(timeout time.Duration) *GetUnmanifestedShipmentsParams

NewGetUnmanifestedShipmentsParamsWithTimeout creates a new GetUnmanifestedShipmentsParams object with the ability to set a timeout on a request.

func (*GetUnmanifestedShipmentsParams) SetBody

SetBody adds the body to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) SetContext

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

SetContext adds the context to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) SetDefaults

func (o *GetUnmanifestedShipmentsParams) SetDefaults()

SetDefaults hydrates default values in the get unmanifested shipments params (not the query body).

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

func (*GetUnmanifestedShipmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) SetTimeout

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

SetTimeout adds the timeout to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) SetXAmznShippingBusinessID

func (o *GetUnmanifestedShipmentsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) WithBody

WithBody adds the body to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) WithContext

WithContext adds the context to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) WithDefaults

WithDefaults hydrates default values in the get unmanifested shipments params (not the query body).

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

func (*GetUnmanifestedShipmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) WithTimeout

WithTimeout adds the timeout to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) WithXAmznShippingBusinessID

func (o *GetUnmanifestedShipmentsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetUnmanifestedShipmentsParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get unmanifested shipments params

func (*GetUnmanifestedShipmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUnmanifestedShipmentsReader

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

GetUnmanifestedShipmentsReader is a Reader for the GetUnmanifestedShipments structure.

func (*GetUnmanifestedShipmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUnmanifestedShipmentsRequestEntityTooLarge

type GetUnmanifestedShipmentsRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetUnmanifestedShipmentsRequestEntityTooLarge

func NewGetUnmanifestedShipmentsRequestEntityTooLarge() *GetUnmanifestedShipmentsRequestEntityTooLarge

NewGetUnmanifestedShipmentsRequestEntityTooLarge creates a GetUnmanifestedShipmentsRequestEntityTooLarge with default headers values

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) Error

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) GetPayload

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsClientError

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

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsCode

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

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsRedirect

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

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsServerError

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

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsSuccess

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

func (*GetUnmanifestedShipmentsRequestEntityTooLarge) String

type GetUnmanifestedShipmentsServiceUnavailable

type GetUnmanifestedShipmentsServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetUnmanifestedShipmentsServiceUnavailable

func NewGetUnmanifestedShipmentsServiceUnavailable() *GetUnmanifestedShipmentsServiceUnavailable

NewGetUnmanifestedShipmentsServiceUnavailable creates a GetUnmanifestedShipmentsServiceUnavailable with default headers values

func (*GetUnmanifestedShipmentsServiceUnavailable) Error

func (*GetUnmanifestedShipmentsServiceUnavailable) GetPayload

func (*GetUnmanifestedShipmentsServiceUnavailable) IsClientError

IsClientError returns true when this get unmanifested shipments service unavailable response has a 4xx status code

func (*GetUnmanifestedShipmentsServiceUnavailable) IsCode

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

func (*GetUnmanifestedShipmentsServiceUnavailable) IsRedirect

IsRedirect returns true when this get unmanifested shipments service unavailable response has a 3xx status code

func (*GetUnmanifestedShipmentsServiceUnavailable) IsServerError

IsServerError returns true when this get unmanifested shipments service unavailable response has a 5xx status code

func (*GetUnmanifestedShipmentsServiceUnavailable) IsSuccess

IsSuccess returns true when this get unmanifested shipments service unavailable response has a 2xx status code

func (*GetUnmanifestedShipmentsServiceUnavailable) String

type GetUnmanifestedShipmentsTooManyRequests

type GetUnmanifestedShipmentsTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetUnmanifestedShipmentsTooManyRequests

func NewGetUnmanifestedShipmentsTooManyRequests() *GetUnmanifestedShipmentsTooManyRequests

NewGetUnmanifestedShipmentsTooManyRequests creates a GetUnmanifestedShipmentsTooManyRequests with default headers values

func (*GetUnmanifestedShipmentsTooManyRequests) Error

func (*GetUnmanifestedShipmentsTooManyRequests) GetPayload

func (*GetUnmanifestedShipmentsTooManyRequests) IsClientError

func (o *GetUnmanifestedShipmentsTooManyRequests) IsClientError() bool

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

func (*GetUnmanifestedShipmentsTooManyRequests) IsCode

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

func (*GetUnmanifestedShipmentsTooManyRequests) IsRedirect

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

func (*GetUnmanifestedShipmentsTooManyRequests) IsServerError

func (o *GetUnmanifestedShipmentsTooManyRequests) IsServerError() bool

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

func (*GetUnmanifestedShipmentsTooManyRequests) IsSuccess

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

func (*GetUnmanifestedShipmentsTooManyRequests) String

type GetUnmanifestedShipmentsUnauthorized

type GetUnmanifestedShipmentsUnauthorized 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 *shipping_v2_models.ErrorList
}

GetUnmanifestedShipmentsUnauthorized 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 NewGetUnmanifestedShipmentsUnauthorized

func NewGetUnmanifestedShipmentsUnauthorized() *GetUnmanifestedShipmentsUnauthorized

NewGetUnmanifestedShipmentsUnauthorized creates a GetUnmanifestedShipmentsUnauthorized with default headers values

func (*GetUnmanifestedShipmentsUnauthorized) Error

func (*GetUnmanifestedShipmentsUnauthorized) GetPayload

func (*GetUnmanifestedShipmentsUnauthorized) IsClientError

func (o *GetUnmanifestedShipmentsUnauthorized) IsClientError() bool

IsClientError returns true when this get unmanifested shipments unauthorized response has a 4xx status code

func (*GetUnmanifestedShipmentsUnauthorized) IsCode

IsCode returns true when this get unmanifested shipments unauthorized response a status code equal to that given

func (*GetUnmanifestedShipmentsUnauthorized) IsRedirect

IsRedirect returns true when this get unmanifested shipments unauthorized response has a 3xx status code

func (*GetUnmanifestedShipmentsUnauthorized) IsServerError

func (o *GetUnmanifestedShipmentsUnauthorized) IsServerError() bool

IsServerError returns true when this get unmanifested shipments unauthorized response has a 5xx status code

func (*GetUnmanifestedShipmentsUnauthorized) IsSuccess

IsSuccess returns true when this get unmanifested shipments unauthorized response has a 2xx status code

func (*GetUnmanifestedShipmentsUnauthorized) String

type GetUnmanifestedShipmentsUnsupportedMediaType

type GetUnmanifestedShipmentsUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetUnmanifestedShipmentsUnsupportedMediaType

func NewGetUnmanifestedShipmentsUnsupportedMediaType() *GetUnmanifestedShipmentsUnsupportedMediaType

NewGetUnmanifestedShipmentsUnsupportedMediaType creates a GetUnmanifestedShipmentsUnsupportedMediaType with default headers values

func (*GetUnmanifestedShipmentsUnsupportedMediaType) Error

func (*GetUnmanifestedShipmentsUnsupportedMediaType) GetPayload

func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsClientError

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

func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsCode

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

func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsRedirect

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

func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsServerError

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

func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsSuccess

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

func (*GetUnmanifestedShipmentsUnsupportedMediaType) String

type LinkCarrierAccountBadRequest

type LinkCarrierAccountBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewLinkCarrierAccountBadRequest

func NewLinkCarrierAccountBadRequest() *LinkCarrierAccountBadRequest

NewLinkCarrierAccountBadRequest creates a LinkCarrierAccountBadRequest with default headers values

func (*LinkCarrierAccountBadRequest) Error

func (*LinkCarrierAccountBadRequest) GetPayload

func (*LinkCarrierAccountBadRequest) IsClientError

func (o *LinkCarrierAccountBadRequest) IsClientError() bool

IsClientError returns true when this link carrier account bad request response has a 4xx status code

func (*LinkCarrierAccountBadRequest) IsCode

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

IsCode returns true when this link carrier account bad request response a status code equal to that given

func (*LinkCarrierAccountBadRequest) IsRedirect

func (o *LinkCarrierAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this link carrier account bad request response has a 3xx status code

func (*LinkCarrierAccountBadRequest) IsServerError

func (o *LinkCarrierAccountBadRequest) IsServerError() bool

IsServerError returns true when this link carrier account bad request response has a 5xx status code

func (*LinkCarrierAccountBadRequest) IsSuccess

func (o *LinkCarrierAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this link carrier account bad request response has a 2xx status code

func (*LinkCarrierAccountBadRequest) String

type LinkCarrierAccountForbidden

type LinkCarrierAccountForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

LinkCarrierAccountForbidden 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 NewLinkCarrierAccountForbidden

func NewLinkCarrierAccountForbidden() *LinkCarrierAccountForbidden

NewLinkCarrierAccountForbidden creates a LinkCarrierAccountForbidden with default headers values

func (*LinkCarrierAccountForbidden) Error

func (*LinkCarrierAccountForbidden) GetPayload

func (*LinkCarrierAccountForbidden) IsClientError

func (o *LinkCarrierAccountForbidden) IsClientError() bool

IsClientError returns true when this link carrier account forbidden response has a 4xx status code

func (*LinkCarrierAccountForbidden) IsCode

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

IsCode returns true when this link carrier account forbidden response a status code equal to that given

func (*LinkCarrierAccountForbidden) IsRedirect

func (o *LinkCarrierAccountForbidden) IsRedirect() bool

IsRedirect returns true when this link carrier account forbidden response has a 3xx status code

func (*LinkCarrierAccountForbidden) IsServerError

func (o *LinkCarrierAccountForbidden) IsServerError() bool

IsServerError returns true when this link carrier account forbidden response has a 5xx status code

func (*LinkCarrierAccountForbidden) IsSuccess

func (o *LinkCarrierAccountForbidden) IsSuccess() bool

IsSuccess returns true when this link carrier account forbidden response has a 2xx status code

func (*LinkCarrierAccountForbidden) String

func (o *LinkCarrierAccountForbidden) String() string

type LinkCarrierAccountInternalServerError

type LinkCarrierAccountInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewLinkCarrierAccountInternalServerError

func NewLinkCarrierAccountInternalServerError() *LinkCarrierAccountInternalServerError

NewLinkCarrierAccountInternalServerError creates a LinkCarrierAccountInternalServerError with default headers values

func (*LinkCarrierAccountInternalServerError) Error

func (*LinkCarrierAccountInternalServerError) GetPayload

func (*LinkCarrierAccountInternalServerError) IsClientError

func (o *LinkCarrierAccountInternalServerError) IsClientError() bool

IsClientError returns true when this link carrier account internal server error response has a 4xx status code

func (*LinkCarrierAccountInternalServerError) IsCode

IsCode returns true when this link carrier account internal server error response a status code equal to that given

func (*LinkCarrierAccountInternalServerError) IsRedirect

IsRedirect returns true when this link carrier account internal server error response has a 3xx status code

func (*LinkCarrierAccountInternalServerError) IsServerError

func (o *LinkCarrierAccountInternalServerError) IsServerError() bool

IsServerError returns true when this link carrier account internal server error response has a 5xx status code

func (*LinkCarrierAccountInternalServerError) IsSuccess

IsSuccess returns true when this link carrier account internal server error response has a 2xx status code

func (*LinkCarrierAccountInternalServerError) String

type LinkCarrierAccountNotFound

type LinkCarrierAccountNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewLinkCarrierAccountNotFound

func NewLinkCarrierAccountNotFound() *LinkCarrierAccountNotFound

NewLinkCarrierAccountNotFound creates a LinkCarrierAccountNotFound with default headers values

func (*LinkCarrierAccountNotFound) Error

func (*LinkCarrierAccountNotFound) GetPayload

func (*LinkCarrierAccountNotFound) IsClientError

func (o *LinkCarrierAccountNotFound) IsClientError() bool

IsClientError returns true when this link carrier account not found response has a 4xx status code

func (*LinkCarrierAccountNotFound) IsCode

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

IsCode returns true when this link carrier account not found response a status code equal to that given

func (*LinkCarrierAccountNotFound) IsRedirect

func (o *LinkCarrierAccountNotFound) IsRedirect() bool

IsRedirect returns true when this link carrier account not found response has a 3xx status code

func (*LinkCarrierAccountNotFound) IsServerError

func (o *LinkCarrierAccountNotFound) IsServerError() bool

IsServerError returns true when this link carrier account not found response has a 5xx status code

func (*LinkCarrierAccountNotFound) IsSuccess

func (o *LinkCarrierAccountNotFound) IsSuccess() bool

IsSuccess returns true when this link carrier account not found response has a 2xx status code

func (*LinkCarrierAccountNotFound) String

func (o *LinkCarrierAccountNotFound) String() string

type LinkCarrierAccountOK

type LinkCarrierAccountOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.LinkCarrierAccountResponse
}

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

Success.

func NewLinkCarrierAccountOK

func NewLinkCarrierAccountOK() *LinkCarrierAccountOK

NewLinkCarrierAccountOK creates a LinkCarrierAccountOK with default headers values

func (*LinkCarrierAccountOK) Error

func (o *LinkCarrierAccountOK) Error() string

func (*LinkCarrierAccountOK) GetPayload

func (*LinkCarrierAccountOK) IsClientError

func (o *LinkCarrierAccountOK) IsClientError() bool

IsClientError returns true when this link carrier account o k response has a 4xx status code

func (*LinkCarrierAccountOK) IsCode

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

IsCode returns true when this link carrier account o k response a status code equal to that given

func (*LinkCarrierAccountOK) IsRedirect

func (o *LinkCarrierAccountOK) IsRedirect() bool

IsRedirect returns true when this link carrier account o k response has a 3xx status code

func (*LinkCarrierAccountOK) IsServerError

func (o *LinkCarrierAccountOK) IsServerError() bool

IsServerError returns true when this link carrier account o k response has a 5xx status code

func (*LinkCarrierAccountOK) IsSuccess

func (o *LinkCarrierAccountOK) IsSuccess() bool

IsSuccess returns true when this link carrier account o k response has a 2xx status code

func (*LinkCarrierAccountOK) String

func (o *LinkCarrierAccountOK) String() string

type LinkCarrierAccountParams

type LinkCarrierAccountParams struct {

	// Body.
	Body *shipping_v2_models.LinkCarrierAccountRequest

	/* CarrierID.

	   The unique identifier associated with the carrier account.
	*/
	CarrierID string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

LinkCarrierAccountParams contains all the parameters to send to the API endpoint

for the link carrier account operation.

Typically these are written to a http.Request.

func NewLinkCarrierAccountParams

func NewLinkCarrierAccountParams() *LinkCarrierAccountParams

NewLinkCarrierAccountParams creates a new LinkCarrierAccountParams 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 NewLinkCarrierAccountParamsWithContext

func NewLinkCarrierAccountParamsWithContext(ctx context.Context) *LinkCarrierAccountParams

NewLinkCarrierAccountParamsWithContext creates a new LinkCarrierAccountParams object with the ability to set a context for a request.

func NewLinkCarrierAccountParamsWithHTTPClient

func NewLinkCarrierAccountParamsWithHTTPClient(client *http.Client) *LinkCarrierAccountParams

NewLinkCarrierAccountParamsWithHTTPClient creates a new LinkCarrierAccountParams object with the ability to set a custom HTTPClient for a request.

func NewLinkCarrierAccountParamsWithTimeout

func NewLinkCarrierAccountParamsWithTimeout(timeout time.Duration) *LinkCarrierAccountParams

NewLinkCarrierAccountParamsWithTimeout creates a new LinkCarrierAccountParams object with the ability to set a timeout on a request.

func (*LinkCarrierAccountParams) SetBody

SetBody adds the body to the link carrier account params

func (*LinkCarrierAccountParams) SetCarrierID

func (o *LinkCarrierAccountParams) SetCarrierID(carrierID string)

SetCarrierID adds the carrierId to the link carrier account params

func (*LinkCarrierAccountParams) SetContext

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

SetContext adds the context to the link carrier account params

func (*LinkCarrierAccountParams) SetDefaults

func (o *LinkCarrierAccountParams) SetDefaults()

SetDefaults hydrates default values in the link carrier account params (not the query body).

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

func (*LinkCarrierAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the link carrier account params

func (*LinkCarrierAccountParams) SetTimeout

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

SetTimeout adds the timeout to the link carrier account params

func (*LinkCarrierAccountParams) SetXAmznShippingBusinessID

func (o *LinkCarrierAccountParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the link carrier account params

func (*LinkCarrierAccountParams) WithBody

WithBody adds the body to the link carrier account params

func (*LinkCarrierAccountParams) WithCarrierID

func (o *LinkCarrierAccountParams) WithCarrierID(carrierID string) *LinkCarrierAccountParams

WithCarrierID adds the carrierID to the link carrier account params

func (*LinkCarrierAccountParams) WithContext

WithContext adds the context to the link carrier account params

func (*LinkCarrierAccountParams) WithDefaults

WithDefaults hydrates default values in the link carrier account params (not the query body).

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

func (*LinkCarrierAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the link carrier account params

func (*LinkCarrierAccountParams) WithTimeout

WithTimeout adds the timeout to the link carrier account params

func (*LinkCarrierAccountParams) WithXAmznShippingBusinessID

func (o *LinkCarrierAccountParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *LinkCarrierAccountParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the link carrier account params

func (*LinkCarrierAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LinkCarrierAccountReader

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

LinkCarrierAccountReader is a Reader for the LinkCarrierAccount structure.

func (*LinkCarrierAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LinkCarrierAccountRequestEntityTooLarge

type LinkCarrierAccountRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewLinkCarrierAccountRequestEntityTooLarge

func NewLinkCarrierAccountRequestEntityTooLarge() *LinkCarrierAccountRequestEntityTooLarge

NewLinkCarrierAccountRequestEntityTooLarge creates a LinkCarrierAccountRequestEntityTooLarge with default headers values

func (*LinkCarrierAccountRequestEntityTooLarge) Error

func (*LinkCarrierAccountRequestEntityTooLarge) GetPayload

func (*LinkCarrierAccountRequestEntityTooLarge) IsClientError

func (o *LinkCarrierAccountRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this link carrier account request entity too large response has a 4xx status code

func (*LinkCarrierAccountRequestEntityTooLarge) IsCode

IsCode returns true when this link carrier account request entity too large response a status code equal to that given

func (*LinkCarrierAccountRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this link carrier account request entity too large response has a 3xx status code

func (*LinkCarrierAccountRequestEntityTooLarge) IsServerError

func (o *LinkCarrierAccountRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this link carrier account request entity too large response has a 5xx status code

func (*LinkCarrierAccountRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this link carrier account request entity too large response has a 2xx status code

func (*LinkCarrierAccountRequestEntityTooLarge) String

type LinkCarrierAccountServiceUnavailable

type LinkCarrierAccountServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewLinkCarrierAccountServiceUnavailable

func NewLinkCarrierAccountServiceUnavailable() *LinkCarrierAccountServiceUnavailable

NewLinkCarrierAccountServiceUnavailable creates a LinkCarrierAccountServiceUnavailable with default headers values

func (*LinkCarrierAccountServiceUnavailable) Error

func (*LinkCarrierAccountServiceUnavailable) GetPayload

func (*LinkCarrierAccountServiceUnavailable) IsClientError

func (o *LinkCarrierAccountServiceUnavailable) IsClientError() bool

IsClientError returns true when this link carrier account service unavailable response has a 4xx status code

func (*LinkCarrierAccountServiceUnavailable) IsCode

IsCode returns true when this link carrier account service unavailable response a status code equal to that given

func (*LinkCarrierAccountServiceUnavailable) IsRedirect

IsRedirect returns true when this link carrier account service unavailable response has a 3xx status code

func (*LinkCarrierAccountServiceUnavailable) IsServerError

func (o *LinkCarrierAccountServiceUnavailable) IsServerError() bool

IsServerError returns true when this link carrier account service unavailable response has a 5xx status code

func (*LinkCarrierAccountServiceUnavailable) IsSuccess

IsSuccess returns true when this link carrier account service unavailable response has a 2xx status code

func (*LinkCarrierAccountServiceUnavailable) String

type LinkCarrierAccountTooManyRequests

type LinkCarrierAccountTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewLinkCarrierAccountTooManyRequests

func NewLinkCarrierAccountTooManyRequests() *LinkCarrierAccountTooManyRequests

NewLinkCarrierAccountTooManyRequests creates a LinkCarrierAccountTooManyRequests with default headers values

func (*LinkCarrierAccountTooManyRequests) Error

func (*LinkCarrierAccountTooManyRequests) GetPayload

func (*LinkCarrierAccountTooManyRequests) IsClientError

func (o *LinkCarrierAccountTooManyRequests) IsClientError() bool

IsClientError returns true when this link carrier account too many requests response has a 4xx status code

func (*LinkCarrierAccountTooManyRequests) IsCode

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

IsCode returns true when this link carrier account too many requests response a status code equal to that given

func (*LinkCarrierAccountTooManyRequests) IsRedirect

func (o *LinkCarrierAccountTooManyRequests) IsRedirect() bool

IsRedirect returns true when this link carrier account too many requests response has a 3xx status code

func (*LinkCarrierAccountTooManyRequests) IsServerError

func (o *LinkCarrierAccountTooManyRequests) IsServerError() bool

IsServerError returns true when this link carrier account too many requests response has a 5xx status code

func (*LinkCarrierAccountTooManyRequests) IsSuccess

func (o *LinkCarrierAccountTooManyRequests) IsSuccess() bool

IsSuccess returns true when this link carrier account too many requests response has a 2xx status code

func (*LinkCarrierAccountTooManyRequests) String

type LinkCarrierAccountUnauthorized

type LinkCarrierAccountUnauthorized 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 *shipping_v2_models.ErrorList
}

LinkCarrierAccountUnauthorized 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 NewLinkCarrierAccountUnauthorized

func NewLinkCarrierAccountUnauthorized() *LinkCarrierAccountUnauthorized

NewLinkCarrierAccountUnauthorized creates a LinkCarrierAccountUnauthorized with default headers values

func (*LinkCarrierAccountUnauthorized) Error

func (*LinkCarrierAccountUnauthorized) GetPayload

func (*LinkCarrierAccountUnauthorized) IsClientError

func (o *LinkCarrierAccountUnauthorized) IsClientError() bool

IsClientError returns true when this link carrier account unauthorized response has a 4xx status code

func (*LinkCarrierAccountUnauthorized) IsCode

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

IsCode returns true when this link carrier account unauthorized response a status code equal to that given

func (*LinkCarrierAccountUnauthorized) IsRedirect

func (o *LinkCarrierAccountUnauthorized) IsRedirect() bool

IsRedirect returns true when this link carrier account unauthorized response has a 3xx status code

func (*LinkCarrierAccountUnauthorized) IsServerError

func (o *LinkCarrierAccountUnauthorized) IsServerError() bool

IsServerError returns true when this link carrier account unauthorized response has a 5xx status code

func (*LinkCarrierAccountUnauthorized) IsSuccess

func (o *LinkCarrierAccountUnauthorized) IsSuccess() bool

IsSuccess returns true when this link carrier account unauthorized response has a 2xx status code

func (*LinkCarrierAccountUnauthorized) String

type LinkCarrierAccountUnsupportedMediaType

type LinkCarrierAccountUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewLinkCarrierAccountUnsupportedMediaType

func NewLinkCarrierAccountUnsupportedMediaType() *LinkCarrierAccountUnsupportedMediaType

NewLinkCarrierAccountUnsupportedMediaType creates a LinkCarrierAccountUnsupportedMediaType with default headers values

func (*LinkCarrierAccountUnsupportedMediaType) Error

func (*LinkCarrierAccountUnsupportedMediaType) GetPayload

func (*LinkCarrierAccountUnsupportedMediaType) IsClientError

func (o *LinkCarrierAccountUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this link carrier account unsupported media type response has a 4xx status code

func (*LinkCarrierAccountUnsupportedMediaType) IsCode

IsCode returns true when this link carrier account unsupported media type response a status code equal to that given

func (*LinkCarrierAccountUnsupportedMediaType) IsRedirect

IsRedirect returns true when this link carrier account unsupported media type response has a 3xx status code

func (*LinkCarrierAccountUnsupportedMediaType) IsServerError

func (o *LinkCarrierAccountUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this link carrier account unsupported media type response has a 5xx status code

func (*LinkCarrierAccountUnsupportedMediaType) IsSuccess

IsSuccess returns true when this link carrier account unsupported media type response has a 2xx status code

func (*LinkCarrierAccountUnsupportedMediaType) String

type OneClickShipmentBadRequest

type OneClickShipmentBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewOneClickShipmentBadRequest

func NewOneClickShipmentBadRequest() *OneClickShipmentBadRequest

NewOneClickShipmentBadRequest creates a OneClickShipmentBadRequest with default headers values

func (*OneClickShipmentBadRequest) Error

func (*OneClickShipmentBadRequest) GetPayload

func (*OneClickShipmentBadRequest) IsClientError

func (o *OneClickShipmentBadRequest) IsClientError() bool

IsClientError returns true when this one click shipment bad request response has a 4xx status code

func (*OneClickShipmentBadRequest) IsCode

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

IsCode returns true when this one click shipment bad request response a status code equal to that given

func (*OneClickShipmentBadRequest) IsRedirect

func (o *OneClickShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this one click shipment bad request response has a 3xx status code

func (*OneClickShipmentBadRequest) IsServerError

func (o *OneClickShipmentBadRequest) IsServerError() bool

IsServerError returns true when this one click shipment bad request response has a 5xx status code

func (*OneClickShipmentBadRequest) IsSuccess

func (o *OneClickShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this one click shipment bad request response has a 2xx status code

func (*OneClickShipmentBadRequest) String

func (o *OneClickShipmentBadRequest) String() string

type OneClickShipmentForbidden

type OneClickShipmentForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

OneClickShipmentForbidden 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 NewOneClickShipmentForbidden

func NewOneClickShipmentForbidden() *OneClickShipmentForbidden

NewOneClickShipmentForbidden creates a OneClickShipmentForbidden with default headers values

func (*OneClickShipmentForbidden) Error

func (o *OneClickShipmentForbidden) Error() string

func (*OneClickShipmentForbidden) GetPayload

func (*OneClickShipmentForbidden) IsClientError

func (o *OneClickShipmentForbidden) IsClientError() bool

IsClientError returns true when this one click shipment forbidden response has a 4xx status code

func (*OneClickShipmentForbidden) IsCode

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

IsCode returns true when this one click shipment forbidden response a status code equal to that given

func (*OneClickShipmentForbidden) IsRedirect

func (o *OneClickShipmentForbidden) IsRedirect() bool

IsRedirect returns true when this one click shipment forbidden response has a 3xx status code

func (*OneClickShipmentForbidden) IsServerError

func (o *OneClickShipmentForbidden) IsServerError() bool

IsServerError returns true when this one click shipment forbidden response has a 5xx status code

func (*OneClickShipmentForbidden) IsSuccess

func (o *OneClickShipmentForbidden) IsSuccess() bool

IsSuccess returns true when this one click shipment forbidden response has a 2xx status code

func (*OneClickShipmentForbidden) String

func (o *OneClickShipmentForbidden) String() string

type OneClickShipmentInternalServerError

type OneClickShipmentInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewOneClickShipmentInternalServerError

func NewOneClickShipmentInternalServerError() *OneClickShipmentInternalServerError

NewOneClickShipmentInternalServerError creates a OneClickShipmentInternalServerError with default headers values

func (*OneClickShipmentInternalServerError) Error

func (*OneClickShipmentInternalServerError) GetPayload

func (*OneClickShipmentInternalServerError) IsClientError

func (o *OneClickShipmentInternalServerError) IsClientError() bool

IsClientError returns true when this one click shipment internal server error response has a 4xx status code

func (*OneClickShipmentInternalServerError) IsCode

IsCode returns true when this one click shipment internal server error response a status code equal to that given

func (*OneClickShipmentInternalServerError) IsRedirect

func (o *OneClickShipmentInternalServerError) IsRedirect() bool

IsRedirect returns true when this one click shipment internal server error response has a 3xx status code

func (*OneClickShipmentInternalServerError) IsServerError

func (o *OneClickShipmentInternalServerError) IsServerError() bool

IsServerError returns true when this one click shipment internal server error response has a 5xx status code

func (*OneClickShipmentInternalServerError) IsSuccess

IsSuccess returns true when this one click shipment internal server error response has a 2xx status code

func (*OneClickShipmentInternalServerError) String

type OneClickShipmentNotFound

type OneClickShipmentNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewOneClickShipmentNotFound

func NewOneClickShipmentNotFound() *OneClickShipmentNotFound

NewOneClickShipmentNotFound creates a OneClickShipmentNotFound with default headers values

func (*OneClickShipmentNotFound) Error

func (o *OneClickShipmentNotFound) Error() string

func (*OneClickShipmentNotFound) GetPayload

func (*OneClickShipmentNotFound) IsClientError

func (o *OneClickShipmentNotFound) IsClientError() bool

IsClientError returns true when this one click shipment not found response has a 4xx status code

func (*OneClickShipmentNotFound) IsCode

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

IsCode returns true when this one click shipment not found response a status code equal to that given

func (*OneClickShipmentNotFound) IsRedirect

func (o *OneClickShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this one click shipment not found response has a 3xx status code

func (*OneClickShipmentNotFound) IsServerError

func (o *OneClickShipmentNotFound) IsServerError() bool

IsServerError returns true when this one click shipment not found response has a 5xx status code

func (*OneClickShipmentNotFound) IsSuccess

func (o *OneClickShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this one click shipment not found response has a 2xx status code

func (*OneClickShipmentNotFound) String

func (o *OneClickShipmentNotFound) String() string

type OneClickShipmentOK

type OneClickShipmentOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.OneClickShipmentResponse
}

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

Success.

func NewOneClickShipmentOK

func NewOneClickShipmentOK() *OneClickShipmentOK

NewOneClickShipmentOK creates a OneClickShipmentOK with default headers values

func (*OneClickShipmentOK) Error

func (o *OneClickShipmentOK) Error() string

func (*OneClickShipmentOK) GetPayload

func (*OneClickShipmentOK) IsClientError

func (o *OneClickShipmentOK) IsClientError() bool

IsClientError returns true when this one click shipment o k response has a 4xx status code

func (*OneClickShipmentOK) IsCode

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

IsCode returns true when this one click shipment o k response a status code equal to that given

func (*OneClickShipmentOK) IsRedirect

func (o *OneClickShipmentOK) IsRedirect() bool

IsRedirect returns true when this one click shipment o k response has a 3xx status code

func (*OneClickShipmentOK) IsServerError

func (o *OneClickShipmentOK) IsServerError() bool

IsServerError returns true when this one click shipment o k response has a 5xx status code

func (*OneClickShipmentOK) IsSuccess

func (o *OneClickShipmentOK) IsSuccess() bool

IsSuccess returns true when this one click shipment o k response has a 2xx status code

func (*OneClickShipmentOK) String

func (o *OneClickShipmentOK) String() string

type OneClickShipmentParams

type OneClickShipmentParams struct {

	// Body.
	Body *shipping_v2_models.OneClickShipmentRequest

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

OneClickShipmentParams contains all the parameters to send to the API endpoint

for the one click shipment operation.

Typically these are written to a http.Request.

func NewOneClickShipmentParams

func NewOneClickShipmentParams() *OneClickShipmentParams

NewOneClickShipmentParams creates a new OneClickShipmentParams 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 NewOneClickShipmentParamsWithContext

func NewOneClickShipmentParamsWithContext(ctx context.Context) *OneClickShipmentParams

NewOneClickShipmentParamsWithContext creates a new OneClickShipmentParams object with the ability to set a context for a request.

func NewOneClickShipmentParamsWithHTTPClient

func NewOneClickShipmentParamsWithHTTPClient(client *http.Client) *OneClickShipmentParams

NewOneClickShipmentParamsWithHTTPClient creates a new OneClickShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewOneClickShipmentParamsWithTimeout

func NewOneClickShipmentParamsWithTimeout(timeout time.Duration) *OneClickShipmentParams

NewOneClickShipmentParamsWithTimeout creates a new OneClickShipmentParams object with the ability to set a timeout on a request.

func (*OneClickShipmentParams) SetBody

SetBody adds the body to the one click shipment params

func (*OneClickShipmentParams) SetContext

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

SetContext adds the context to the one click shipment params

func (*OneClickShipmentParams) SetDefaults

func (o *OneClickShipmentParams) SetDefaults()

SetDefaults hydrates default values in the one click shipment params (not the query body).

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

func (*OneClickShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the one click shipment params

func (*OneClickShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the one click shipment params

func (*OneClickShipmentParams) SetXAmznShippingBusinessID

func (o *OneClickShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the one click shipment params

func (*OneClickShipmentParams) WithBody

WithBody adds the body to the one click shipment params

func (*OneClickShipmentParams) WithContext

WithContext adds the context to the one click shipment params

func (*OneClickShipmentParams) WithDefaults

WithDefaults hydrates default values in the one click shipment params (not the query body).

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

func (*OneClickShipmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the one click shipment params

func (*OneClickShipmentParams) WithTimeout

WithTimeout adds the timeout to the one click shipment params

func (*OneClickShipmentParams) WithXAmznShippingBusinessID

func (o *OneClickShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *OneClickShipmentParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the one click shipment params

func (*OneClickShipmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OneClickShipmentReader

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

OneClickShipmentReader is a Reader for the OneClickShipment structure.

func (*OneClickShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OneClickShipmentRequestEntityTooLarge

type OneClickShipmentRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewOneClickShipmentRequestEntityTooLarge

func NewOneClickShipmentRequestEntityTooLarge() *OneClickShipmentRequestEntityTooLarge

NewOneClickShipmentRequestEntityTooLarge creates a OneClickShipmentRequestEntityTooLarge with default headers values

func (*OneClickShipmentRequestEntityTooLarge) Error

func (*OneClickShipmentRequestEntityTooLarge) GetPayload

func (*OneClickShipmentRequestEntityTooLarge) IsClientError

func (o *OneClickShipmentRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this one click shipment request entity too large response has a 4xx status code

func (*OneClickShipmentRequestEntityTooLarge) IsCode

IsCode returns true when this one click shipment request entity too large response a status code equal to that given

func (*OneClickShipmentRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this one click shipment request entity too large response has a 3xx status code

func (*OneClickShipmentRequestEntityTooLarge) IsServerError

func (o *OneClickShipmentRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this one click shipment request entity too large response has a 5xx status code

func (*OneClickShipmentRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this one click shipment request entity too large response has a 2xx status code

func (*OneClickShipmentRequestEntityTooLarge) String

type OneClickShipmentServiceUnavailable

type OneClickShipmentServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewOneClickShipmentServiceUnavailable

func NewOneClickShipmentServiceUnavailable() *OneClickShipmentServiceUnavailable

NewOneClickShipmentServiceUnavailable creates a OneClickShipmentServiceUnavailable with default headers values

func (*OneClickShipmentServiceUnavailable) Error

func (*OneClickShipmentServiceUnavailable) GetPayload

func (*OneClickShipmentServiceUnavailable) IsClientError

func (o *OneClickShipmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this one click shipment service unavailable response has a 4xx status code

func (*OneClickShipmentServiceUnavailable) IsCode

IsCode returns true when this one click shipment service unavailable response a status code equal to that given

func (*OneClickShipmentServiceUnavailable) IsRedirect

func (o *OneClickShipmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this one click shipment service unavailable response has a 3xx status code

func (*OneClickShipmentServiceUnavailable) IsServerError

func (o *OneClickShipmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this one click shipment service unavailable response has a 5xx status code

func (*OneClickShipmentServiceUnavailable) IsSuccess

IsSuccess returns true when this one click shipment service unavailable response has a 2xx status code

func (*OneClickShipmentServiceUnavailable) String

type OneClickShipmentTooManyRequests

type OneClickShipmentTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewOneClickShipmentTooManyRequests

func NewOneClickShipmentTooManyRequests() *OneClickShipmentTooManyRequests

NewOneClickShipmentTooManyRequests creates a OneClickShipmentTooManyRequests with default headers values

func (*OneClickShipmentTooManyRequests) Error

func (*OneClickShipmentTooManyRequests) GetPayload

func (*OneClickShipmentTooManyRequests) IsClientError

func (o *OneClickShipmentTooManyRequests) IsClientError() bool

IsClientError returns true when this one click shipment too many requests response has a 4xx status code

func (*OneClickShipmentTooManyRequests) IsCode

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

IsCode returns true when this one click shipment too many requests response a status code equal to that given

func (*OneClickShipmentTooManyRequests) IsRedirect

func (o *OneClickShipmentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this one click shipment too many requests response has a 3xx status code

func (*OneClickShipmentTooManyRequests) IsServerError

func (o *OneClickShipmentTooManyRequests) IsServerError() bool

IsServerError returns true when this one click shipment too many requests response has a 5xx status code

func (*OneClickShipmentTooManyRequests) IsSuccess

func (o *OneClickShipmentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this one click shipment too many requests response has a 2xx status code

func (*OneClickShipmentTooManyRequests) String

type OneClickShipmentUnauthorized

type OneClickShipmentUnauthorized 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 *shipping_v2_models.ErrorList
}

OneClickShipmentUnauthorized 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 NewOneClickShipmentUnauthorized

func NewOneClickShipmentUnauthorized() *OneClickShipmentUnauthorized

NewOneClickShipmentUnauthorized creates a OneClickShipmentUnauthorized with default headers values

func (*OneClickShipmentUnauthorized) Error

func (*OneClickShipmentUnauthorized) GetPayload

func (*OneClickShipmentUnauthorized) IsClientError

func (o *OneClickShipmentUnauthorized) IsClientError() bool

IsClientError returns true when this one click shipment unauthorized response has a 4xx status code

func (*OneClickShipmentUnauthorized) IsCode

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

IsCode returns true when this one click shipment unauthorized response a status code equal to that given

func (*OneClickShipmentUnauthorized) IsRedirect

func (o *OneClickShipmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this one click shipment unauthorized response has a 3xx status code

func (*OneClickShipmentUnauthorized) IsServerError

func (o *OneClickShipmentUnauthorized) IsServerError() bool

IsServerError returns true when this one click shipment unauthorized response has a 5xx status code

func (*OneClickShipmentUnauthorized) IsSuccess

func (o *OneClickShipmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this one click shipment unauthorized response has a 2xx status code

func (*OneClickShipmentUnauthorized) String

type OneClickShipmentUnsupportedMediaType

type OneClickShipmentUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewOneClickShipmentUnsupportedMediaType

func NewOneClickShipmentUnsupportedMediaType() *OneClickShipmentUnsupportedMediaType

NewOneClickShipmentUnsupportedMediaType creates a OneClickShipmentUnsupportedMediaType with default headers values

func (*OneClickShipmentUnsupportedMediaType) Error

func (*OneClickShipmentUnsupportedMediaType) GetPayload

func (*OneClickShipmentUnsupportedMediaType) IsClientError

func (o *OneClickShipmentUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this one click shipment unsupported media type response has a 4xx status code

func (*OneClickShipmentUnsupportedMediaType) IsCode

IsCode returns true when this one click shipment unsupported media type response a status code equal to that given

func (*OneClickShipmentUnsupportedMediaType) IsRedirect

IsRedirect returns true when this one click shipment unsupported media type response has a 3xx status code

func (*OneClickShipmentUnsupportedMediaType) IsServerError

func (o *OneClickShipmentUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this one click shipment unsupported media type response has a 5xx status code

func (*OneClickShipmentUnsupportedMediaType) IsSuccess

IsSuccess returns true when this one click shipment unsupported media type response has a 2xx status code

func (*OneClickShipmentUnsupportedMediaType) String

type PurchaseShipmentBadRequest

type PurchaseShipmentBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewPurchaseShipmentBadRequest

func NewPurchaseShipmentBadRequest() *PurchaseShipmentBadRequest

NewPurchaseShipmentBadRequest creates a PurchaseShipmentBadRequest with default headers values

func (*PurchaseShipmentBadRequest) Error

func (*PurchaseShipmentBadRequest) GetPayload

func (*PurchaseShipmentBadRequest) IsClientError

func (o *PurchaseShipmentBadRequest) IsClientError() bool

IsClientError returns true when this purchase shipment bad request response has a 4xx status code

func (*PurchaseShipmentBadRequest) IsCode

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

IsCode returns true when this purchase shipment bad request response a status code equal to that given

func (*PurchaseShipmentBadRequest) IsRedirect

func (o *PurchaseShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this purchase shipment bad request response has a 3xx status code

func (*PurchaseShipmentBadRequest) IsServerError

func (o *PurchaseShipmentBadRequest) IsServerError() bool

IsServerError returns true when this purchase shipment bad request response has a 5xx status code

func (*PurchaseShipmentBadRequest) IsSuccess

func (o *PurchaseShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this purchase shipment bad request response has a 2xx status code

func (*PurchaseShipmentBadRequest) String

func (o *PurchaseShipmentBadRequest) String() string

type PurchaseShipmentForbidden

type PurchaseShipmentForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

PurchaseShipmentForbidden 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 NewPurchaseShipmentForbidden

func NewPurchaseShipmentForbidden() *PurchaseShipmentForbidden

NewPurchaseShipmentForbidden creates a PurchaseShipmentForbidden with default headers values

func (*PurchaseShipmentForbidden) Error

func (o *PurchaseShipmentForbidden) Error() string

func (*PurchaseShipmentForbidden) GetPayload

func (*PurchaseShipmentForbidden) IsClientError

func (o *PurchaseShipmentForbidden) IsClientError() bool

IsClientError returns true when this purchase shipment forbidden response has a 4xx status code

func (*PurchaseShipmentForbidden) IsCode

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

IsCode returns true when this purchase shipment forbidden response a status code equal to that given

func (*PurchaseShipmentForbidden) IsRedirect

func (o *PurchaseShipmentForbidden) IsRedirect() bool

IsRedirect returns true when this purchase shipment forbidden response has a 3xx status code

func (*PurchaseShipmentForbidden) IsServerError

func (o *PurchaseShipmentForbidden) IsServerError() bool

IsServerError returns true when this purchase shipment forbidden response has a 5xx status code

func (*PurchaseShipmentForbidden) IsSuccess

func (o *PurchaseShipmentForbidden) IsSuccess() bool

IsSuccess returns true when this purchase shipment forbidden response has a 2xx status code

func (*PurchaseShipmentForbidden) String

func (o *PurchaseShipmentForbidden) String() string

type PurchaseShipmentInternalServerError

type PurchaseShipmentInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewPurchaseShipmentInternalServerError

func NewPurchaseShipmentInternalServerError() *PurchaseShipmentInternalServerError

NewPurchaseShipmentInternalServerError creates a PurchaseShipmentInternalServerError with default headers values

func (*PurchaseShipmentInternalServerError) Error

func (*PurchaseShipmentInternalServerError) GetPayload

func (*PurchaseShipmentInternalServerError) IsClientError

func (o *PurchaseShipmentInternalServerError) IsClientError() bool

IsClientError returns true when this purchase shipment internal server error response has a 4xx status code

func (*PurchaseShipmentInternalServerError) IsCode

IsCode returns true when this purchase shipment internal server error response a status code equal to that given

func (*PurchaseShipmentInternalServerError) IsRedirect

func (o *PurchaseShipmentInternalServerError) IsRedirect() bool

IsRedirect returns true when this purchase shipment internal server error response has a 3xx status code

func (*PurchaseShipmentInternalServerError) IsServerError

func (o *PurchaseShipmentInternalServerError) IsServerError() bool

IsServerError returns true when this purchase shipment internal server error response has a 5xx status code

func (*PurchaseShipmentInternalServerError) IsSuccess

IsSuccess returns true when this purchase shipment internal server error response has a 2xx status code

func (*PurchaseShipmentInternalServerError) String

type PurchaseShipmentNotFound

type PurchaseShipmentNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewPurchaseShipmentNotFound

func NewPurchaseShipmentNotFound() *PurchaseShipmentNotFound

NewPurchaseShipmentNotFound creates a PurchaseShipmentNotFound with default headers values

func (*PurchaseShipmentNotFound) Error

func (o *PurchaseShipmentNotFound) Error() string

func (*PurchaseShipmentNotFound) GetPayload

func (*PurchaseShipmentNotFound) IsClientError

func (o *PurchaseShipmentNotFound) IsClientError() bool

IsClientError returns true when this purchase shipment not found response has a 4xx status code

func (*PurchaseShipmentNotFound) IsCode

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

IsCode returns true when this purchase shipment not found response a status code equal to that given

func (*PurchaseShipmentNotFound) IsRedirect

func (o *PurchaseShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this purchase shipment not found response has a 3xx status code

func (*PurchaseShipmentNotFound) IsServerError

func (o *PurchaseShipmentNotFound) IsServerError() bool

IsServerError returns true when this purchase shipment not found response has a 5xx status code

func (*PurchaseShipmentNotFound) IsSuccess

func (o *PurchaseShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this purchase shipment not found response has a 2xx status code

func (*PurchaseShipmentNotFound) String

func (o *PurchaseShipmentNotFound) String() string

type PurchaseShipmentOK

type PurchaseShipmentOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.PurchaseShipmentResponse
}

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

Success.

func NewPurchaseShipmentOK

func NewPurchaseShipmentOK() *PurchaseShipmentOK

NewPurchaseShipmentOK creates a PurchaseShipmentOK with default headers values

func (*PurchaseShipmentOK) Error

func (o *PurchaseShipmentOK) Error() string

func (*PurchaseShipmentOK) GetPayload

func (*PurchaseShipmentOK) IsClientError

func (o *PurchaseShipmentOK) IsClientError() bool

IsClientError returns true when this purchase shipment o k response has a 4xx status code

func (*PurchaseShipmentOK) IsCode

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

IsCode returns true when this purchase shipment o k response a status code equal to that given

func (*PurchaseShipmentOK) IsRedirect

func (o *PurchaseShipmentOK) IsRedirect() bool

IsRedirect returns true when this purchase shipment o k response has a 3xx status code

func (*PurchaseShipmentOK) IsServerError

func (o *PurchaseShipmentOK) IsServerError() bool

IsServerError returns true when this purchase shipment o k response has a 5xx status code

func (*PurchaseShipmentOK) IsSuccess

func (o *PurchaseShipmentOK) IsSuccess() bool

IsSuccess returns true when this purchase shipment o k response has a 2xx status code

func (*PurchaseShipmentOK) String

func (o *PurchaseShipmentOK) String() string

type PurchaseShipmentParams

type PurchaseShipmentParams struct {

	// Body.
	Body *shipping_v2_models.PurchaseShipmentRequest

	/* XAmznIdempotencyKey.

	   A unique value which the server uses to recognize subsequent retries of the same request.
	*/
	XAmznIdempotencyKey *string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

PurchaseShipmentParams contains all the parameters to send to the API endpoint

for the purchase shipment operation.

Typically these are written to a http.Request.

func NewPurchaseShipmentParams

func NewPurchaseShipmentParams() *PurchaseShipmentParams

NewPurchaseShipmentParams creates a new PurchaseShipmentParams 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 NewPurchaseShipmentParamsWithContext

func NewPurchaseShipmentParamsWithContext(ctx context.Context) *PurchaseShipmentParams

NewPurchaseShipmentParamsWithContext creates a new PurchaseShipmentParams object with the ability to set a context for a request.

func NewPurchaseShipmentParamsWithHTTPClient

func NewPurchaseShipmentParamsWithHTTPClient(client *http.Client) *PurchaseShipmentParams

NewPurchaseShipmentParamsWithHTTPClient creates a new PurchaseShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewPurchaseShipmentParamsWithTimeout

func NewPurchaseShipmentParamsWithTimeout(timeout time.Duration) *PurchaseShipmentParams

NewPurchaseShipmentParamsWithTimeout creates a new PurchaseShipmentParams object with the ability to set a timeout on a request.

func (*PurchaseShipmentParams) SetBody

SetBody adds the body to the purchase shipment params

func (*PurchaseShipmentParams) SetContext

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

SetContext adds the context to the purchase shipment params

func (*PurchaseShipmentParams) SetDefaults

func (o *PurchaseShipmentParams) SetDefaults()

SetDefaults hydrates default values in the purchase shipment params (not the query body).

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

func (*PurchaseShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase shipment params

func (*PurchaseShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the purchase shipment params

func (*PurchaseShipmentParams) SetXAmznIdempotencyKey

func (o *PurchaseShipmentParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)

SetXAmznIdempotencyKey adds the xAmznIdempotencyKey to the purchase shipment params

func (*PurchaseShipmentParams) SetXAmznShippingBusinessID

func (o *PurchaseShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the purchase shipment params

func (*PurchaseShipmentParams) WithBody

WithBody adds the body to the purchase shipment params

func (*PurchaseShipmentParams) WithContext

WithContext adds the context to the purchase shipment params

func (*PurchaseShipmentParams) WithDefaults

WithDefaults hydrates default values in the purchase shipment params (not the query body).

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

func (*PurchaseShipmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the purchase shipment params

func (*PurchaseShipmentParams) WithTimeout

WithTimeout adds the timeout to the purchase shipment params

func (*PurchaseShipmentParams) WithXAmznIdempotencyKey

func (o *PurchaseShipmentParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *PurchaseShipmentParams

WithXAmznIdempotencyKey adds the xAmznIdempotencyKey to the purchase shipment params

func (*PurchaseShipmentParams) WithXAmznShippingBusinessID

func (o *PurchaseShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *PurchaseShipmentParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the purchase shipment params

func (*PurchaseShipmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseShipmentReader

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

PurchaseShipmentReader is a Reader for the PurchaseShipment structure.

func (*PurchaseShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseShipmentRequestEntityTooLarge

type PurchaseShipmentRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewPurchaseShipmentRequestEntityTooLarge

func NewPurchaseShipmentRequestEntityTooLarge() *PurchaseShipmentRequestEntityTooLarge

NewPurchaseShipmentRequestEntityTooLarge creates a PurchaseShipmentRequestEntityTooLarge with default headers values

func (*PurchaseShipmentRequestEntityTooLarge) Error

func (*PurchaseShipmentRequestEntityTooLarge) GetPayload

func (*PurchaseShipmentRequestEntityTooLarge) IsClientError

func (o *PurchaseShipmentRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this purchase shipment request entity too large response has a 4xx status code

func (*PurchaseShipmentRequestEntityTooLarge) IsCode

IsCode returns true when this purchase shipment request entity too large response a status code equal to that given

func (*PurchaseShipmentRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this purchase shipment request entity too large response has a 3xx status code

func (*PurchaseShipmentRequestEntityTooLarge) IsServerError

func (o *PurchaseShipmentRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this purchase shipment request entity too large response has a 5xx status code

func (*PurchaseShipmentRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this purchase shipment request entity too large response has a 2xx status code

func (*PurchaseShipmentRequestEntityTooLarge) String

type PurchaseShipmentServiceUnavailable

type PurchaseShipmentServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewPurchaseShipmentServiceUnavailable

func NewPurchaseShipmentServiceUnavailable() *PurchaseShipmentServiceUnavailable

NewPurchaseShipmentServiceUnavailable creates a PurchaseShipmentServiceUnavailable with default headers values

func (*PurchaseShipmentServiceUnavailable) Error

func (*PurchaseShipmentServiceUnavailable) GetPayload

func (*PurchaseShipmentServiceUnavailable) IsClientError

func (o *PurchaseShipmentServiceUnavailable) IsClientError() bool

IsClientError returns true when this purchase shipment service unavailable response has a 4xx status code

func (*PurchaseShipmentServiceUnavailable) IsCode

IsCode returns true when this purchase shipment service unavailable response a status code equal to that given

func (*PurchaseShipmentServiceUnavailable) IsRedirect

func (o *PurchaseShipmentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this purchase shipment service unavailable response has a 3xx status code

func (*PurchaseShipmentServiceUnavailable) IsServerError

func (o *PurchaseShipmentServiceUnavailable) IsServerError() bool

IsServerError returns true when this purchase shipment service unavailable response has a 5xx status code

func (*PurchaseShipmentServiceUnavailable) IsSuccess

IsSuccess returns true when this purchase shipment service unavailable response has a 2xx status code

func (*PurchaseShipmentServiceUnavailable) String

type PurchaseShipmentTooManyRequests

type PurchaseShipmentTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewPurchaseShipmentTooManyRequests

func NewPurchaseShipmentTooManyRequests() *PurchaseShipmentTooManyRequests

NewPurchaseShipmentTooManyRequests creates a PurchaseShipmentTooManyRequests with default headers values

func (*PurchaseShipmentTooManyRequests) Error

func (*PurchaseShipmentTooManyRequests) GetPayload

func (*PurchaseShipmentTooManyRequests) IsClientError

func (o *PurchaseShipmentTooManyRequests) IsClientError() bool

IsClientError returns true when this purchase shipment too many requests response has a 4xx status code

func (*PurchaseShipmentTooManyRequests) IsCode

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

IsCode returns true when this purchase shipment too many requests response a status code equal to that given

func (*PurchaseShipmentTooManyRequests) IsRedirect

func (o *PurchaseShipmentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this purchase shipment too many requests response has a 3xx status code

func (*PurchaseShipmentTooManyRequests) IsServerError

func (o *PurchaseShipmentTooManyRequests) IsServerError() bool

IsServerError returns true when this purchase shipment too many requests response has a 5xx status code

func (*PurchaseShipmentTooManyRequests) IsSuccess

func (o *PurchaseShipmentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this purchase shipment too many requests response has a 2xx status code

func (*PurchaseShipmentTooManyRequests) String

type PurchaseShipmentUnauthorized

type PurchaseShipmentUnauthorized 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 *shipping_v2_models.ErrorList
}

PurchaseShipmentUnauthorized 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 NewPurchaseShipmentUnauthorized

func NewPurchaseShipmentUnauthorized() *PurchaseShipmentUnauthorized

NewPurchaseShipmentUnauthorized creates a PurchaseShipmentUnauthorized with default headers values

func (*PurchaseShipmentUnauthorized) Error

func (*PurchaseShipmentUnauthorized) GetPayload

func (*PurchaseShipmentUnauthorized) IsClientError

func (o *PurchaseShipmentUnauthorized) IsClientError() bool

IsClientError returns true when this purchase shipment unauthorized response has a 4xx status code

func (*PurchaseShipmentUnauthorized) IsCode

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

IsCode returns true when this purchase shipment unauthorized response a status code equal to that given

func (*PurchaseShipmentUnauthorized) IsRedirect

func (o *PurchaseShipmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this purchase shipment unauthorized response has a 3xx status code

func (*PurchaseShipmentUnauthorized) IsServerError

func (o *PurchaseShipmentUnauthorized) IsServerError() bool

IsServerError returns true when this purchase shipment unauthorized response has a 5xx status code

func (*PurchaseShipmentUnauthorized) IsSuccess

func (o *PurchaseShipmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this purchase shipment unauthorized response has a 2xx status code

func (*PurchaseShipmentUnauthorized) String

type PurchaseShipmentUnsupportedMediaType

type PurchaseShipmentUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewPurchaseShipmentUnsupportedMediaType

func NewPurchaseShipmentUnsupportedMediaType() *PurchaseShipmentUnsupportedMediaType

NewPurchaseShipmentUnsupportedMediaType creates a PurchaseShipmentUnsupportedMediaType with default headers values

func (*PurchaseShipmentUnsupportedMediaType) Error

func (*PurchaseShipmentUnsupportedMediaType) GetPayload

func (*PurchaseShipmentUnsupportedMediaType) IsClientError

func (o *PurchaseShipmentUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this purchase shipment unsupported media type response has a 4xx status code

func (*PurchaseShipmentUnsupportedMediaType) IsCode

IsCode returns true when this purchase shipment unsupported media type response a status code equal to that given

func (*PurchaseShipmentUnsupportedMediaType) IsRedirect

IsRedirect returns true when this purchase shipment unsupported media type response has a 3xx status code

func (*PurchaseShipmentUnsupportedMediaType) IsServerError

func (o *PurchaseShipmentUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this purchase shipment unsupported media type response has a 5xx status code

func (*PurchaseShipmentUnsupportedMediaType) IsSuccess

IsSuccess returns true when this purchase shipment unsupported media type response has a 2xx status code

func (*PurchaseShipmentUnsupportedMediaType) String

type UnlinkCarrierAccountBadRequest

type UnlinkCarrierAccountBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewUnlinkCarrierAccountBadRequest

func NewUnlinkCarrierAccountBadRequest() *UnlinkCarrierAccountBadRequest

NewUnlinkCarrierAccountBadRequest creates a UnlinkCarrierAccountBadRequest with default headers values

func (*UnlinkCarrierAccountBadRequest) Error

func (*UnlinkCarrierAccountBadRequest) GetPayload

func (*UnlinkCarrierAccountBadRequest) IsClientError

func (o *UnlinkCarrierAccountBadRequest) IsClientError() bool

IsClientError returns true when this unlink carrier account bad request response has a 4xx status code

func (*UnlinkCarrierAccountBadRequest) IsCode

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

IsCode returns true when this unlink carrier account bad request response a status code equal to that given

func (*UnlinkCarrierAccountBadRequest) IsRedirect

func (o *UnlinkCarrierAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this unlink carrier account bad request response has a 3xx status code

func (*UnlinkCarrierAccountBadRequest) IsServerError

func (o *UnlinkCarrierAccountBadRequest) IsServerError() bool

IsServerError returns true when this unlink carrier account bad request response has a 5xx status code

func (*UnlinkCarrierAccountBadRequest) IsSuccess

func (o *UnlinkCarrierAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this unlink carrier account bad request response has a 2xx status code

func (*UnlinkCarrierAccountBadRequest) String

type UnlinkCarrierAccountForbidden

type UnlinkCarrierAccountForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

UnlinkCarrierAccountForbidden 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 NewUnlinkCarrierAccountForbidden

func NewUnlinkCarrierAccountForbidden() *UnlinkCarrierAccountForbidden

NewUnlinkCarrierAccountForbidden creates a UnlinkCarrierAccountForbidden with default headers values

func (*UnlinkCarrierAccountForbidden) Error

func (*UnlinkCarrierAccountForbidden) GetPayload

func (*UnlinkCarrierAccountForbidden) IsClientError

func (o *UnlinkCarrierAccountForbidden) IsClientError() bool

IsClientError returns true when this unlink carrier account forbidden response has a 4xx status code

func (*UnlinkCarrierAccountForbidden) IsCode

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

IsCode returns true when this unlink carrier account forbidden response a status code equal to that given

func (*UnlinkCarrierAccountForbidden) IsRedirect

func (o *UnlinkCarrierAccountForbidden) IsRedirect() bool

IsRedirect returns true when this unlink carrier account forbidden response has a 3xx status code

func (*UnlinkCarrierAccountForbidden) IsServerError

func (o *UnlinkCarrierAccountForbidden) IsServerError() bool

IsServerError returns true when this unlink carrier account forbidden response has a 5xx status code

func (*UnlinkCarrierAccountForbidden) IsSuccess

func (o *UnlinkCarrierAccountForbidden) IsSuccess() bool

IsSuccess returns true when this unlink carrier account forbidden response has a 2xx status code

func (*UnlinkCarrierAccountForbidden) String

type UnlinkCarrierAccountInternalServerError

type UnlinkCarrierAccountInternalServerError 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 *shipping_v2_models.ErrorList
}

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

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

func NewUnlinkCarrierAccountInternalServerError

func NewUnlinkCarrierAccountInternalServerError() *UnlinkCarrierAccountInternalServerError

NewUnlinkCarrierAccountInternalServerError creates a UnlinkCarrierAccountInternalServerError with default headers values

func (*UnlinkCarrierAccountInternalServerError) Error

func (*UnlinkCarrierAccountInternalServerError) GetPayload

func (*UnlinkCarrierAccountInternalServerError) IsClientError

func (o *UnlinkCarrierAccountInternalServerError) IsClientError() bool

IsClientError returns true when this unlink carrier account internal server error response has a 4xx status code

func (*UnlinkCarrierAccountInternalServerError) IsCode

IsCode returns true when this unlink carrier account internal server error response a status code equal to that given

func (*UnlinkCarrierAccountInternalServerError) IsRedirect

IsRedirect returns true when this unlink carrier account internal server error response has a 3xx status code

func (*UnlinkCarrierAccountInternalServerError) IsServerError

func (o *UnlinkCarrierAccountInternalServerError) IsServerError() bool

IsServerError returns true when this unlink carrier account internal server error response has a 5xx status code

func (*UnlinkCarrierAccountInternalServerError) IsSuccess

IsSuccess returns true when this unlink carrier account internal server error response has a 2xx status code

func (*UnlinkCarrierAccountInternalServerError) String

type UnlinkCarrierAccountNotFound

type UnlinkCarrierAccountNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.ErrorList
}

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

The resource specified does not exist.

func NewUnlinkCarrierAccountNotFound

func NewUnlinkCarrierAccountNotFound() *UnlinkCarrierAccountNotFound

NewUnlinkCarrierAccountNotFound creates a UnlinkCarrierAccountNotFound with default headers values

func (*UnlinkCarrierAccountNotFound) Error

func (*UnlinkCarrierAccountNotFound) GetPayload

func (*UnlinkCarrierAccountNotFound) IsClientError

func (o *UnlinkCarrierAccountNotFound) IsClientError() bool

IsClientError returns true when this unlink carrier account not found response has a 4xx status code

func (*UnlinkCarrierAccountNotFound) IsCode

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

IsCode returns true when this unlink carrier account not found response a status code equal to that given

func (*UnlinkCarrierAccountNotFound) IsRedirect

func (o *UnlinkCarrierAccountNotFound) IsRedirect() bool

IsRedirect returns true when this unlink carrier account not found response has a 3xx status code

func (*UnlinkCarrierAccountNotFound) IsServerError

func (o *UnlinkCarrierAccountNotFound) IsServerError() bool

IsServerError returns true when this unlink carrier account not found response has a 5xx status code

func (*UnlinkCarrierAccountNotFound) IsSuccess

func (o *UnlinkCarrierAccountNotFound) IsSuccess() bool

IsSuccess returns true when this unlink carrier account not found response has a 2xx status code

func (*UnlinkCarrierAccountNotFound) String

type UnlinkCarrierAccountOK

type UnlinkCarrierAccountOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *shipping_v2_models.UnlinkCarrierAccountResponse
}

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

Success.

func NewUnlinkCarrierAccountOK

func NewUnlinkCarrierAccountOK() *UnlinkCarrierAccountOK

NewUnlinkCarrierAccountOK creates a UnlinkCarrierAccountOK with default headers values

func (*UnlinkCarrierAccountOK) Error

func (o *UnlinkCarrierAccountOK) Error() string

func (*UnlinkCarrierAccountOK) GetPayload

func (*UnlinkCarrierAccountOK) IsClientError

func (o *UnlinkCarrierAccountOK) IsClientError() bool

IsClientError returns true when this unlink carrier account o k response has a 4xx status code

func (*UnlinkCarrierAccountOK) IsCode

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

IsCode returns true when this unlink carrier account o k response a status code equal to that given

func (*UnlinkCarrierAccountOK) IsRedirect

func (o *UnlinkCarrierAccountOK) IsRedirect() bool

IsRedirect returns true when this unlink carrier account o k response has a 3xx status code

func (*UnlinkCarrierAccountOK) IsServerError

func (o *UnlinkCarrierAccountOK) IsServerError() bool

IsServerError returns true when this unlink carrier account o k response has a 5xx status code

func (*UnlinkCarrierAccountOK) IsSuccess

func (o *UnlinkCarrierAccountOK) IsSuccess() bool

IsSuccess returns true when this unlink carrier account o k response has a 2xx status code

func (*UnlinkCarrierAccountOK) String

func (o *UnlinkCarrierAccountOK) String() string

type UnlinkCarrierAccountParams

type UnlinkCarrierAccountParams struct {

	// Body.
	Body *shipping_v2_models.UnlinkCarrierAccountRequest

	/* CarrierID.

	   carrier Id to unlink with merchant.
	*/
	CarrierID string

	/* XAmznShippingBusinessID.

	   Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
	*/
	XAmznShippingBusinessID *string

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

UnlinkCarrierAccountParams contains all the parameters to send to the API endpoint

for the unlink carrier account operation.

Typically these are written to a http.Request.

func NewUnlinkCarrierAccountParams

func NewUnlinkCarrierAccountParams() *UnlinkCarrierAccountParams

NewUnlinkCarrierAccountParams creates a new UnlinkCarrierAccountParams 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 NewUnlinkCarrierAccountParamsWithContext

func NewUnlinkCarrierAccountParamsWithContext(ctx context.Context) *UnlinkCarrierAccountParams

NewUnlinkCarrierAccountParamsWithContext creates a new UnlinkCarrierAccountParams object with the ability to set a context for a request.

func NewUnlinkCarrierAccountParamsWithHTTPClient

func NewUnlinkCarrierAccountParamsWithHTTPClient(client *http.Client) *UnlinkCarrierAccountParams

NewUnlinkCarrierAccountParamsWithHTTPClient creates a new UnlinkCarrierAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUnlinkCarrierAccountParamsWithTimeout

func NewUnlinkCarrierAccountParamsWithTimeout(timeout time.Duration) *UnlinkCarrierAccountParams

NewUnlinkCarrierAccountParamsWithTimeout creates a new UnlinkCarrierAccountParams object with the ability to set a timeout on a request.

func (*UnlinkCarrierAccountParams) SetBody

SetBody adds the body to the unlink carrier account params

func (*UnlinkCarrierAccountParams) SetCarrierID

func (o *UnlinkCarrierAccountParams) SetCarrierID(carrierID string)

SetCarrierID adds the carrierId to the unlink carrier account params

func (*UnlinkCarrierAccountParams) SetContext

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

SetContext adds the context to the unlink carrier account params

func (*UnlinkCarrierAccountParams) SetDefaults

func (o *UnlinkCarrierAccountParams) SetDefaults()

SetDefaults hydrates default values in the unlink carrier account params (not the query body).

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

func (*UnlinkCarrierAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unlink carrier account params

func (*UnlinkCarrierAccountParams) SetTimeout

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

SetTimeout adds the timeout to the unlink carrier account params

func (*UnlinkCarrierAccountParams) SetXAmznShippingBusinessID

func (o *UnlinkCarrierAccountParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)

SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WithBody

WithBody adds the body to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WithCarrierID

func (o *UnlinkCarrierAccountParams) WithCarrierID(carrierID string) *UnlinkCarrierAccountParams

WithCarrierID adds the carrierID to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WithContext

WithContext adds the context to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WithDefaults

WithDefaults hydrates default values in the unlink carrier account params (not the query body).

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

func (*UnlinkCarrierAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WithTimeout

WithTimeout adds the timeout to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WithXAmznShippingBusinessID

func (o *UnlinkCarrierAccountParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *UnlinkCarrierAccountParams

WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the unlink carrier account params

func (*UnlinkCarrierAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnlinkCarrierAccountReader

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

UnlinkCarrierAccountReader is a Reader for the UnlinkCarrierAccount structure.

func (*UnlinkCarrierAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnlinkCarrierAccountRequestEntityTooLarge

type UnlinkCarrierAccountRequestEntityTooLarge 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 *shipping_v2_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewUnlinkCarrierAccountRequestEntityTooLarge

func NewUnlinkCarrierAccountRequestEntityTooLarge() *UnlinkCarrierAccountRequestEntityTooLarge

NewUnlinkCarrierAccountRequestEntityTooLarge creates a UnlinkCarrierAccountRequestEntityTooLarge with default headers values

func (*UnlinkCarrierAccountRequestEntityTooLarge) Error

func (*UnlinkCarrierAccountRequestEntityTooLarge) GetPayload

func (*UnlinkCarrierAccountRequestEntityTooLarge) IsClientError

IsClientError returns true when this unlink carrier account request entity too large response has a 4xx status code

func (*UnlinkCarrierAccountRequestEntityTooLarge) IsCode

IsCode returns true when this unlink carrier account request entity too large response a status code equal to that given

func (*UnlinkCarrierAccountRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this unlink carrier account request entity too large response has a 3xx status code

func (*UnlinkCarrierAccountRequestEntityTooLarge) IsServerError

IsServerError returns true when this unlink carrier account request entity too large response has a 5xx status code

func (*UnlinkCarrierAccountRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this unlink carrier account request entity too large response has a 2xx status code

func (*UnlinkCarrierAccountRequestEntityTooLarge) String

type UnlinkCarrierAccountServiceUnavailable

type UnlinkCarrierAccountServiceUnavailable 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 *shipping_v2_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewUnlinkCarrierAccountServiceUnavailable

func NewUnlinkCarrierAccountServiceUnavailable() *UnlinkCarrierAccountServiceUnavailable

NewUnlinkCarrierAccountServiceUnavailable creates a UnlinkCarrierAccountServiceUnavailable with default headers values

func (*UnlinkCarrierAccountServiceUnavailable) Error

func (*UnlinkCarrierAccountServiceUnavailable) GetPayload

func (*UnlinkCarrierAccountServiceUnavailable) IsClientError

func (o *UnlinkCarrierAccountServiceUnavailable) IsClientError() bool

IsClientError returns true when this unlink carrier account service unavailable response has a 4xx status code

func (*UnlinkCarrierAccountServiceUnavailable) IsCode

IsCode returns true when this unlink carrier account service unavailable response a status code equal to that given

func (*UnlinkCarrierAccountServiceUnavailable) IsRedirect

IsRedirect returns true when this unlink carrier account service unavailable response has a 3xx status code

func (*UnlinkCarrierAccountServiceUnavailable) IsServerError

func (o *UnlinkCarrierAccountServiceUnavailable) IsServerError() bool

IsServerError returns true when this unlink carrier account service unavailable response has a 5xx status code

func (*UnlinkCarrierAccountServiceUnavailable) IsSuccess

IsSuccess returns true when this unlink carrier account service unavailable response has a 2xx status code

func (*UnlinkCarrierAccountServiceUnavailable) String

type UnlinkCarrierAccountTooManyRequests

type UnlinkCarrierAccountTooManyRequests 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 *shipping_v2_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewUnlinkCarrierAccountTooManyRequests

func NewUnlinkCarrierAccountTooManyRequests() *UnlinkCarrierAccountTooManyRequests

NewUnlinkCarrierAccountTooManyRequests creates a UnlinkCarrierAccountTooManyRequests with default headers values

func (*UnlinkCarrierAccountTooManyRequests) Error

func (*UnlinkCarrierAccountTooManyRequests) GetPayload

func (*UnlinkCarrierAccountTooManyRequests) IsClientError

func (o *UnlinkCarrierAccountTooManyRequests) IsClientError() bool

IsClientError returns true when this unlink carrier account too many requests response has a 4xx status code

func (*UnlinkCarrierAccountTooManyRequests) IsCode

IsCode returns true when this unlink carrier account too many requests response a status code equal to that given

func (*UnlinkCarrierAccountTooManyRequests) IsRedirect

func (o *UnlinkCarrierAccountTooManyRequests) IsRedirect() bool

IsRedirect returns true when this unlink carrier account too many requests response has a 3xx status code

func (*UnlinkCarrierAccountTooManyRequests) IsServerError

func (o *UnlinkCarrierAccountTooManyRequests) IsServerError() bool

IsServerError returns true when this unlink carrier account too many requests response has a 5xx status code

func (*UnlinkCarrierAccountTooManyRequests) IsSuccess

IsSuccess returns true when this unlink carrier account too many requests response has a 2xx status code

func (*UnlinkCarrierAccountTooManyRequests) String

type UnlinkCarrierAccountUnauthorized

type UnlinkCarrierAccountUnauthorized 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 *shipping_v2_models.ErrorList
}

UnlinkCarrierAccountUnauthorized 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 NewUnlinkCarrierAccountUnauthorized

func NewUnlinkCarrierAccountUnauthorized() *UnlinkCarrierAccountUnauthorized

NewUnlinkCarrierAccountUnauthorized creates a UnlinkCarrierAccountUnauthorized with default headers values

func (*UnlinkCarrierAccountUnauthorized) Error

func (*UnlinkCarrierAccountUnauthorized) GetPayload

func (*UnlinkCarrierAccountUnauthorized) IsClientError

func (o *UnlinkCarrierAccountUnauthorized) IsClientError() bool

IsClientError returns true when this unlink carrier account unauthorized response has a 4xx status code

func (*UnlinkCarrierAccountUnauthorized) IsCode

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

IsCode returns true when this unlink carrier account unauthorized response a status code equal to that given

func (*UnlinkCarrierAccountUnauthorized) IsRedirect

func (o *UnlinkCarrierAccountUnauthorized) IsRedirect() bool

IsRedirect returns true when this unlink carrier account unauthorized response has a 3xx status code

func (*UnlinkCarrierAccountUnauthorized) IsServerError

func (o *UnlinkCarrierAccountUnauthorized) IsServerError() bool

IsServerError returns true when this unlink carrier account unauthorized response has a 5xx status code

func (*UnlinkCarrierAccountUnauthorized) IsSuccess

func (o *UnlinkCarrierAccountUnauthorized) IsSuccess() bool

IsSuccess returns true when this unlink carrier account unauthorized response has a 2xx status code

func (*UnlinkCarrierAccountUnauthorized) String

type UnlinkCarrierAccountUnsupportedMediaType

type UnlinkCarrierAccountUnsupportedMediaType 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 *shipping_v2_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewUnlinkCarrierAccountUnsupportedMediaType

func NewUnlinkCarrierAccountUnsupportedMediaType() *UnlinkCarrierAccountUnsupportedMediaType

NewUnlinkCarrierAccountUnsupportedMediaType creates a UnlinkCarrierAccountUnsupportedMediaType with default headers values

func (*UnlinkCarrierAccountUnsupportedMediaType) Error

func (*UnlinkCarrierAccountUnsupportedMediaType) GetPayload

func (*UnlinkCarrierAccountUnsupportedMediaType) IsClientError

IsClientError returns true when this unlink carrier account unsupported media type response has a 4xx status code

func (*UnlinkCarrierAccountUnsupportedMediaType) IsCode

IsCode returns true when this unlink carrier account unsupported media type response a status code equal to that given

func (*UnlinkCarrierAccountUnsupportedMediaType) IsRedirect

IsRedirect returns true when this unlink carrier account unsupported media type response has a 3xx status code

func (*UnlinkCarrierAccountUnsupportedMediaType) IsServerError

IsServerError returns true when this unlink carrier account unsupported media type response has a 5xx status code

func (*UnlinkCarrierAccountUnsupportedMediaType) IsSuccess

IsSuccess returns true when this unlink carrier account unsupported media type response has a 2xx status code

func (*UnlinkCarrierAccountUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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