easy_ship

package
v0.24.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for easy ship API

func (*Client) CreateScheduledPackage

func (a *Client) CreateScheduledPackage(params *CreateScheduledPackageParams, opts ...ClientOption) (*CreateScheduledPackageOK, error)
CreateScheduledPackage Schedules an Easy Ship order and returns the scheduled package information.

This operation does the following:

* Specifies the time slot and handover method for the order to be scheduled for delivery.

* Updates the Easy Ship order status.

* Generates a shipping label and an invoice. Calling `createScheduledPackage` also generates a warranty document if you specify a `SerialNumber` value. To get these documents, see [How to get invoice, shipping label, and warranty documents](doc:easyship-api-v2022-03-23-use-case-guide).

* Shows the status of Easy Ship orders when you call the `getOrders` operation of the Selling Partner API for Orders and examine the `EasyShipShipmentStatus` property in the response body.

See the **Shipping Label**, **Invoice**, and **Warranty** columns in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which documents are supported in each marketplace.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) CreateScheduledPackageBulk

func (a *Client) CreateScheduledPackageBulk(params *CreateScheduledPackageBulkParams, opts ...ClientOption) (*CreateScheduledPackageBulkOK, error)
CreateScheduledPackageBulk This operation automatically schedules a time slot for all the `amazonOrderId`s given as input, generating the associated shipping labels, along with other compliance documents according to the marketplace (refer to the [marketplace document support table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table)).

Developers calling this operation may optionally assign a `packageDetails` object, allowing them to input a preferred time slot for each order in ther request. In this case, Amazon will try to schedule the respective packages using their optional settings. On the other hand, *i.e.*, if the time slot is not provided, Amazon will then pick the earliest time slot possible.

Regarding the shipping label's file format, external developers are able to choose between PDF or ZPL, and Amazon will create the label accordingly.

This operation returns an array composed of the scheduled packages, and a short-lived URL pointing to a zip file containing the generated shipping labels and the other documents enabled for your marketplace. If at least an order couldn't be scheduled, then Amazon adds the `rejectedOrders` list into the response, which contains an entry for each order we couldn't process. Each entry is composed of an error message describing the reason of the failure, so that sellers can take action.

The table below displays the supported request and burst maximum rates:

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetScheduledPackage

func (a *Client) GetScheduledPackage(params *GetScheduledPackageParams, opts ...ClientOption) (*GetScheduledPackageOK, error)
GetScheduledPackage Returns information about a package, including dimensions, weight, time slot information for handover, invoice and item information, and status.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) ListHandoverSlots

func (a *Client) ListHandoverSlots(params *ListHandoverSlotsParams, opts ...ClientOption) (*ListHandoverSlotsOK, error)
ListHandoverSlots Returns time slots available for Easy Ship orders to be scheduled based on the package weight and dimensions that the seller specifies.

This operation is available for scheduled and unscheduled orders based on marketplace support. See **Get Time Slots** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).

This operation can return time slots that have either pickup or drop-off handover methods - see **Supported Handover Methods** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc: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) UpdateScheduledPackages

func (a *Client) UpdateScheduledPackages(params *UpdateScheduledPackagesParams, opts ...ClientOption) (*UpdateScheduledPackagesOK, error)
UpdateScheduledPackages Updates the time slot for handing over the package indicated by the specified `scheduledPackageId`. You can get the new `slotId` value for the time slot by calling the `listHandoverSlots` operation before making another `patch` call.

See the **Update Package** column in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which marketplaces this operation is supported in.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc: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 {
	CreateScheduledPackage(params *CreateScheduledPackageParams, opts ...ClientOption) (*CreateScheduledPackageOK, error)

	CreateScheduledPackageBulk(params *CreateScheduledPackageBulkParams, opts ...ClientOption) (*CreateScheduledPackageBulkOK, error)

	GetScheduledPackage(params *GetScheduledPackageParams, opts ...ClientOption) (*GetScheduledPackageOK, error)

	ListHandoverSlots(params *ListHandoverSlotsParams, opts ...ClientOption) (*ListHandoverSlotsOK, error)

	UpdateScheduledPackages(params *UpdateScheduledPackagesParams, opts ...ClientOption) (*UpdateScheduledPackagesOK, 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 easy ship API client.

type CreateScheduledPackageBadRequest

type CreateScheduledPackageBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewCreateScheduledPackageBadRequest

func NewCreateScheduledPackageBadRequest() *CreateScheduledPackageBadRequest

NewCreateScheduledPackageBadRequest creates a CreateScheduledPackageBadRequest with default headers values

func (*CreateScheduledPackageBadRequest) Error

func (*CreateScheduledPackageBadRequest) GetPayload

func (*CreateScheduledPackageBadRequest) IsClientError

func (o *CreateScheduledPackageBadRequest) IsClientError() bool

IsClientError returns true when this create scheduled package bad request response has a 4xx status code

func (*CreateScheduledPackageBadRequest) IsCode

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

IsCode returns true when this create scheduled package bad request response a status code equal to that given

func (*CreateScheduledPackageBadRequest) IsRedirect

func (o *CreateScheduledPackageBadRequest) IsRedirect() bool

IsRedirect returns true when this create scheduled package bad request response has a 3xx status code

func (*CreateScheduledPackageBadRequest) IsServerError

func (o *CreateScheduledPackageBadRequest) IsServerError() bool

IsServerError returns true when this create scheduled package bad request response has a 5xx status code

func (*CreateScheduledPackageBadRequest) IsSuccess

func (o *CreateScheduledPackageBadRequest) IsSuccess() bool

IsSuccess returns true when this create scheduled package bad request response has a 2xx status code

func (*CreateScheduledPackageBadRequest) String

type CreateScheduledPackageBulkBadRequest

type CreateScheduledPackageBulkBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewCreateScheduledPackageBulkBadRequest

func NewCreateScheduledPackageBulkBadRequest() *CreateScheduledPackageBulkBadRequest

NewCreateScheduledPackageBulkBadRequest creates a CreateScheduledPackageBulkBadRequest with default headers values

func (*CreateScheduledPackageBulkBadRequest) Error

func (*CreateScheduledPackageBulkBadRequest) GetPayload

func (*CreateScheduledPackageBulkBadRequest) IsClientError

func (o *CreateScheduledPackageBulkBadRequest) IsClientError() bool

IsClientError returns true when this create scheduled package bulk bad request response has a 4xx status code

func (*CreateScheduledPackageBulkBadRequest) IsCode

IsCode returns true when this create scheduled package bulk bad request response a status code equal to that given

func (*CreateScheduledPackageBulkBadRequest) IsRedirect

IsRedirect returns true when this create scheduled package bulk bad request response has a 3xx status code

func (*CreateScheduledPackageBulkBadRequest) IsServerError

func (o *CreateScheduledPackageBulkBadRequest) IsServerError() bool

IsServerError returns true when this create scheduled package bulk bad request response has a 5xx status code

func (*CreateScheduledPackageBulkBadRequest) IsSuccess

IsSuccess returns true when this create scheduled package bulk bad request response has a 2xx status code

func (*CreateScheduledPackageBulkBadRequest) String

type CreateScheduledPackageBulkForbidden

type CreateScheduledPackageBulkForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

CreateScheduledPackageBulkForbidden 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 NewCreateScheduledPackageBulkForbidden

func NewCreateScheduledPackageBulkForbidden() *CreateScheduledPackageBulkForbidden

NewCreateScheduledPackageBulkForbidden creates a CreateScheduledPackageBulkForbidden with default headers values

func (*CreateScheduledPackageBulkForbidden) Error

func (*CreateScheduledPackageBulkForbidden) GetPayload

func (*CreateScheduledPackageBulkForbidden) IsClientError

func (o *CreateScheduledPackageBulkForbidden) IsClientError() bool

IsClientError returns true when this create scheduled package bulk forbidden response has a 4xx status code

func (*CreateScheduledPackageBulkForbidden) IsCode

IsCode returns true when this create scheduled package bulk forbidden response a status code equal to that given

func (*CreateScheduledPackageBulkForbidden) IsRedirect

func (o *CreateScheduledPackageBulkForbidden) IsRedirect() bool

IsRedirect returns true when this create scheduled package bulk forbidden response has a 3xx status code

func (*CreateScheduledPackageBulkForbidden) IsServerError

func (o *CreateScheduledPackageBulkForbidden) IsServerError() bool

IsServerError returns true when this create scheduled package bulk forbidden response has a 5xx status code

func (*CreateScheduledPackageBulkForbidden) IsSuccess

IsSuccess returns true when this create scheduled package bulk forbidden response has a 2xx status code

func (*CreateScheduledPackageBulkForbidden) String

type CreateScheduledPackageBulkInternalServerError

type CreateScheduledPackageBulkInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

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

func NewCreateScheduledPackageBulkInternalServerError

func NewCreateScheduledPackageBulkInternalServerError() *CreateScheduledPackageBulkInternalServerError

NewCreateScheduledPackageBulkInternalServerError creates a CreateScheduledPackageBulkInternalServerError with default headers values

func (*CreateScheduledPackageBulkInternalServerError) Error

func (*CreateScheduledPackageBulkInternalServerError) GetPayload

func (*CreateScheduledPackageBulkInternalServerError) IsClientError

IsClientError returns true when this create scheduled package bulk internal server error response has a 4xx status code

func (*CreateScheduledPackageBulkInternalServerError) IsCode

IsCode returns true when this create scheduled package bulk internal server error response a status code equal to that given

func (*CreateScheduledPackageBulkInternalServerError) IsRedirect

IsRedirect returns true when this create scheduled package bulk internal server error response has a 3xx status code

func (*CreateScheduledPackageBulkInternalServerError) IsServerError

IsServerError returns true when this create scheduled package bulk internal server error response has a 5xx status code

func (*CreateScheduledPackageBulkInternalServerError) IsSuccess

IsSuccess returns true when this create scheduled package bulk internal server error response has a 2xx status code

func (*CreateScheduledPackageBulkInternalServerError) String

type CreateScheduledPackageBulkNotFound

type CreateScheduledPackageBulkNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The resource specified does not exist.

func NewCreateScheduledPackageBulkNotFound

func NewCreateScheduledPackageBulkNotFound() *CreateScheduledPackageBulkNotFound

NewCreateScheduledPackageBulkNotFound creates a CreateScheduledPackageBulkNotFound with default headers values

func (*CreateScheduledPackageBulkNotFound) Error

func (*CreateScheduledPackageBulkNotFound) GetPayload

func (*CreateScheduledPackageBulkNotFound) IsClientError

func (o *CreateScheduledPackageBulkNotFound) IsClientError() bool

IsClientError returns true when this create scheduled package bulk not found response has a 4xx status code

func (*CreateScheduledPackageBulkNotFound) IsCode

IsCode returns true when this create scheduled package bulk not found response a status code equal to that given

func (*CreateScheduledPackageBulkNotFound) IsRedirect

func (o *CreateScheduledPackageBulkNotFound) IsRedirect() bool

IsRedirect returns true when this create scheduled package bulk not found response has a 3xx status code

func (*CreateScheduledPackageBulkNotFound) IsServerError

func (o *CreateScheduledPackageBulkNotFound) IsServerError() bool

IsServerError returns true when this create scheduled package bulk not found response has a 5xx status code

func (*CreateScheduledPackageBulkNotFound) IsSuccess

IsSuccess returns true when this create scheduled package bulk not found response has a 2xx status code

func (*CreateScheduledPackageBulkNotFound) String

type CreateScheduledPackageBulkOK

type CreateScheduledPackageBulkOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.CreateScheduledPackagesResponse
}

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

Success

func NewCreateScheduledPackageBulkOK

func NewCreateScheduledPackageBulkOK() *CreateScheduledPackageBulkOK

NewCreateScheduledPackageBulkOK creates a CreateScheduledPackageBulkOK with default headers values

func (*CreateScheduledPackageBulkOK) Error

func (*CreateScheduledPackageBulkOK) GetPayload

func (*CreateScheduledPackageBulkOK) IsClientError

func (o *CreateScheduledPackageBulkOK) IsClientError() bool

IsClientError returns true when this create scheduled package bulk o k response has a 4xx status code

func (*CreateScheduledPackageBulkOK) IsCode

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

IsCode returns true when this create scheduled package bulk o k response a status code equal to that given

func (*CreateScheduledPackageBulkOK) IsRedirect

func (o *CreateScheduledPackageBulkOK) IsRedirect() bool

IsRedirect returns true when this create scheduled package bulk o k response has a 3xx status code

func (*CreateScheduledPackageBulkOK) IsServerError

func (o *CreateScheduledPackageBulkOK) IsServerError() bool

IsServerError returns true when this create scheduled package bulk o k response has a 5xx status code

func (*CreateScheduledPackageBulkOK) IsSuccess

func (o *CreateScheduledPackageBulkOK) IsSuccess() bool

IsSuccess returns true when this create scheduled package bulk o k response has a 2xx status code

func (*CreateScheduledPackageBulkOK) String

type CreateScheduledPackageBulkParams

type CreateScheduledPackageBulkParams struct {

	/* CreateScheduledPackagesRequest.

	   The request schema for the `createScheduledPackageBulk` operation.
	*/
	CreateScheduledPackagesRequest *easy_ship_2022_03_23_models.CreateScheduledPackagesRequest

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

CreateScheduledPackageBulkParams contains all the parameters to send to the API endpoint

for the create scheduled package bulk operation.

Typically these are written to a http.Request.

func NewCreateScheduledPackageBulkParams

func NewCreateScheduledPackageBulkParams() *CreateScheduledPackageBulkParams

NewCreateScheduledPackageBulkParams creates a new CreateScheduledPackageBulkParams 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 NewCreateScheduledPackageBulkParamsWithContext

func NewCreateScheduledPackageBulkParamsWithContext(ctx context.Context) *CreateScheduledPackageBulkParams

NewCreateScheduledPackageBulkParamsWithContext creates a new CreateScheduledPackageBulkParams object with the ability to set a context for a request.

func NewCreateScheduledPackageBulkParamsWithHTTPClient

func NewCreateScheduledPackageBulkParamsWithHTTPClient(client *http.Client) *CreateScheduledPackageBulkParams

NewCreateScheduledPackageBulkParamsWithHTTPClient creates a new CreateScheduledPackageBulkParams object with the ability to set a custom HTTPClient for a request.

func NewCreateScheduledPackageBulkParamsWithTimeout

func NewCreateScheduledPackageBulkParamsWithTimeout(timeout time.Duration) *CreateScheduledPackageBulkParams

NewCreateScheduledPackageBulkParamsWithTimeout creates a new CreateScheduledPackageBulkParams object with the ability to set a timeout on a request.

func (*CreateScheduledPackageBulkParams) SetContext

SetContext adds the context to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) SetCreateScheduledPackagesRequest

func (o *CreateScheduledPackageBulkParams) SetCreateScheduledPackagesRequest(createScheduledPackagesRequest *easy_ship_2022_03_23_models.CreateScheduledPackagesRequest)

SetCreateScheduledPackagesRequest adds the createScheduledPackagesRequest to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) SetDefaults

func (o *CreateScheduledPackageBulkParams) SetDefaults()

SetDefaults hydrates default values in the create scheduled package bulk params (not the query body).

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

func (*CreateScheduledPackageBulkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) SetTimeout

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

SetTimeout adds the timeout to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) WithContext

WithContext adds the context to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) WithCreateScheduledPackagesRequest

func (o *CreateScheduledPackageBulkParams) WithCreateScheduledPackagesRequest(createScheduledPackagesRequest *easy_ship_2022_03_23_models.CreateScheduledPackagesRequest) *CreateScheduledPackageBulkParams

WithCreateScheduledPackagesRequest adds the createScheduledPackagesRequest to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) WithDefaults

WithDefaults hydrates default values in the create scheduled package bulk params (not the query body).

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

func (*CreateScheduledPackageBulkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) WithTimeout

WithTimeout adds the timeout to the create scheduled package bulk params

func (*CreateScheduledPackageBulkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateScheduledPackageBulkReader

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

CreateScheduledPackageBulkReader is a Reader for the CreateScheduledPackageBulk structure.

func (*CreateScheduledPackageBulkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateScheduledPackageBulkRequestEntityTooLarge added in v0.24.10

type CreateScheduledPackageBulkRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewCreateScheduledPackageBulkRequestEntityTooLarge added in v0.24.10

func NewCreateScheduledPackageBulkRequestEntityTooLarge() *CreateScheduledPackageBulkRequestEntityTooLarge

NewCreateScheduledPackageBulkRequestEntityTooLarge creates a CreateScheduledPackageBulkRequestEntityTooLarge with default headers values

func (*CreateScheduledPackageBulkRequestEntityTooLarge) Error added in v0.24.10

func (*CreateScheduledPackageBulkRequestEntityTooLarge) GetPayload added in v0.24.10

func (*CreateScheduledPackageBulkRequestEntityTooLarge) IsClientError added in v0.24.10

IsClientError returns true when this create scheduled package bulk request entity too large response has a 4xx status code

func (*CreateScheduledPackageBulkRequestEntityTooLarge) IsCode added in v0.24.10

IsCode returns true when this create scheduled package bulk request entity too large response a status code equal to that given

func (*CreateScheduledPackageBulkRequestEntityTooLarge) IsRedirect added in v0.24.10

IsRedirect returns true when this create scheduled package bulk request entity too large response has a 3xx status code

func (*CreateScheduledPackageBulkRequestEntityTooLarge) IsServerError added in v0.24.10

IsServerError returns true when this create scheduled package bulk request entity too large response has a 5xx status code

func (*CreateScheduledPackageBulkRequestEntityTooLarge) IsSuccess added in v0.24.10

IsSuccess returns true when this create scheduled package bulk request entity too large response has a 2xx status code

func (*CreateScheduledPackageBulkRequestEntityTooLarge) String added in v0.24.10

type CreateScheduledPackageBulkServiceUnavailable

type CreateScheduledPackageBulkServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewCreateScheduledPackageBulkServiceUnavailable

func NewCreateScheduledPackageBulkServiceUnavailable() *CreateScheduledPackageBulkServiceUnavailable

NewCreateScheduledPackageBulkServiceUnavailable creates a CreateScheduledPackageBulkServiceUnavailable with default headers values

func (*CreateScheduledPackageBulkServiceUnavailable) Error

func (*CreateScheduledPackageBulkServiceUnavailable) GetPayload

func (*CreateScheduledPackageBulkServiceUnavailable) IsClientError

IsClientError returns true when this create scheduled package bulk service unavailable response has a 4xx status code

func (*CreateScheduledPackageBulkServiceUnavailable) IsCode

IsCode returns true when this create scheduled package bulk service unavailable response a status code equal to that given

func (*CreateScheduledPackageBulkServiceUnavailable) IsRedirect

IsRedirect returns true when this create scheduled package bulk service unavailable response has a 3xx status code

func (*CreateScheduledPackageBulkServiceUnavailable) IsServerError

IsServerError returns true when this create scheduled package bulk service unavailable response has a 5xx status code

func (*CreateScheduledPackageBulkServiceUnavailable) IsSuccess

IsSuccess returns true when this create scheduled package bulk service unavailable response has a 2xx status code

func (*CreateScheduledPackageBulkServiceUnavailable) String

type CreateScheduledPackageBulkTooManyRequests

type CreateScheduledPackageBulkTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewCreateScheduledPackageBulkTooManyRequests

func NewCreateScheduledPackageBulkTooManyRequests() *CreateScheduledPackageBulkTooManyRequests

NewCreateScheduledPackageBulkTooManyRequests creates a CreateScheduledPackageBulkTooManyRequests with default headers values

func (*CreateScheduledPackageBulkTooManyRequests) Error

func (*CreateScheduledPackageBulkTooManyRequests) GetPayload

func (*CreateScheduledPackageBulkTooManyRequests) IsClientError

IsClientError returns true when this create scheduled package bulk too many requests response has a 4xx status code

func (*CreateScheduledPackageBulkTooManyRequests) IsCode

IsCode returns true when this create scheduled package bulk too many requests response a status code equal to that given

func (*CreateScheduledPackageBulkTooManyRequests) IsRedirect

IsRedirect returns true when this create scheduled package bulk too many requests response has a 3xx status code

func (*CreateScheduledPackageBulkTooManyRequests) IsServerError

IsServerError returns true when this create scheduled package bulk too many requests response has a 5xx status code

func (*CreateScheduledPackageBulkTooManyRequests) IsSuccess

IsSuccess returns true when this create scheduled package bulk too many requests response has a 2xx status code

func (*CreateScheduledPackageBulkTooManyRequests) String

type CreateScheduledPackageBulkUnauthorized

type CreateScheduledPackageBulkUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

CreateScheduledPackageBulkUnauthorized 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 NewCreateScheduledPackageBulkUnauthorized

func NewCreateScheduledPackageBulkUnauthorized() *CreateScheduledPackageBulkUnauthorized

NewCreateScheduledPackageBulkUnauthorized creates a CreateScheduledPackageBulkUnauthorized with default headers values

func (*CreateScheduledPackageBulkUnauthorized) Error

func (*CreateScheduledPackageBulkUnauthorized) GetPayload

func (*CreateScheduledPackageBulkUnauthorized) IsClientError

func (o *CreateScheduledPackageBulkUnauthorized) IsClientError() bool

IsClientError returns true when this create scheduled package bulk unauthorized response has a 4xx status code

func (*CreateScheduledPackageBulkUnauthorized) IsCode

IsCode returns true when this create scheduled package bulk unauthorized response a status code equal to that given

func (*CreateScheduledPackageBulkUnauthorized) IsRedirect

IsRedirect returns true when this create scheduled package bulk unauthorized response has a 3xx status code

func (*CreateScheduledPackageBulkUnauthorized) IsServerError

func (o *CreateScheduledPackageBulkUnauthorized) IsServerError() bool

IsServerError returns true when this create scheduled package bulk unauthorized response has a 5xx status code

func (*CreateScheduledPackageBulkUnauthorized) IsSuccess

IsSuccess returns true when this create scheduled package bulk unauthorized response has a 2xx status code

func (*CreateScheduledPackageBulkUnauthorized) String

type CreateScheduledPackageBulkUnsupportedMediaType

type CreateScheduledPackageBulkUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewCreateScheduledPackageBulkUnsupportedMediaType

func NewCreateScheduledPackageBulkUnsupportedMediaType() *CreateScheduledPackageBulkUnsupportedMediaType

NewCreateScheduledPackageBulkUnsupportedMediaType creates a CreateScheduledPackageBulkUnsupportedMediaType with default headers values

func (*CreateScheduledPackageBulkUnsupportedMediaType) Error

func (*CreateScheduledPackageBulkUnsupportedMediaType) GetPayload

func (*CreateScheduledPackageBulkUnsupportedMediaType) IsClientError

IsClientError returns true when this create scheduled package bulk unsupported media type response has a 4xx status code

func (*CreateScheduledPackageBulkUnsupportedMediaType) IsCode

IsCode returns true when this create scheduled package bulk unsupported media type response a status code equal to that given

func (*CreateScheduledPackageBulkUnsupportedMediaType) IsRedirect

IsRedirect returns true when this create scheduled package bulk unsupported media type response has a 3xx status code

func (*CreateScheduledPackageBulkUnsupportedMediaType) IsServerError

IsServerError returns true when this create scheduled package bulk unsupported media type response has a 5xx status code

func (*CreateScheduledPackageBulkUnsupportedMediaType) IsSuccess

IsSuccess returns true when this create scheduled package bulk unsupported media type response has a 2xx status code

func (*CreateScheduledPackageBulkUnsupportedMediaType) String

type CreateScheduledPackageForbidden

type CreateScheduledPackageForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

CreateScheduledPackageForbidden 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 NewCreateScheduledPackageForbidden

func NewCreateScheduledPackageForbidden() *CreateScheduledPackageForbidden

NewCreateScheduledPackageForbidden creates a CreateScheduledPackageForbidden with default headers values

func (*CreateScheduledPackageForbidden) Error

func (*CreateScheduledPackageForbidden) GetPayload

func (*CreateScheduledPackageForbidden) IsClientError

func (o *CreateScheduledPackageForbidden) IsClientError() bool

IsClientError returns true when this create scheduled package forbidden response has a 4xx status code

func (*CreateScheduledPackageForbidden) IsCode

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

IsCode returns true when this create scheduled package forbidden response a status code equal to that given

func (*CreateScheduledPackageForbidden) IsRedirect

func (o *CreateScheduledPackageForbidden) IsRedirect() bool

IsRedirect returns true when this create scheduled package forbidden response has a 3xx status code

func (*CreateScheduledPackageForbidden) IsServerError

func (o *CreateScheduledPackageForbidden) IsServerError() bool

IsServerError returns true when this create scheduled package forbidden response has a 5xx status code

func (*CreateScheduledPackageForbidden) IsSuccess

func (o *CreateScheduledPackageForbidden) IsSuccess() bool

IsSuccess returns true when this create scheduled package forbidden response has a 2xx status code

func (*CreateScheduledPackageForbidden) String

type CreateScheduledPackageInternalServerError

type CreateScheduledPackageInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

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

func NewCreateScheduledPackageInternalServerError

func NewCreateScheduledPackageInternalServerError() *CreateScheduledPackageInternalServerError

NewCreateScheduledPackageInternalServerError creates a CreateScheduledPackageInternalServerError with default headers values

func (*CreateScheduledPackageInternalServerError) Error

func (*CreateScheduledPackageInternalServerError) GetPayload

func (*CreateScheduledPackageInternalServerError) IsClientError

IsClientError returns true when this create scheduled package internal server error response has a 4xx status code

func (*CreateScheduledPackageInternalServerError) IsCode

IsCode returns true when this create scheduled package internal server error response a status code equal to that given

func (*CreateScheduledPackageInternalServerError) IsRedirect

IsRedirect returns true when this create scheduled package internal server error response has a 3xx status code

func (*CreateScheduledPackageInternalServerError) IsServerError

IsServerError returns true when this create scheduled package internal server error response has a 5xx status code

func (*CreateScheduledPackageInternalServerError) IsSuccess

IsSuccess returns true when this create scheduled package internal server error response has a 2xx status code

func (*CreateScheduledPackageInternalServerError) String

type CreateScheduledPackageNotFound

type CreateScheduledPackageNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The resource specified does not exist.

func NewCreateScheduledPackageNotFound

func NewCreateScheduledPackageNotFound() *CreateScheduledPackageNotFound

NewCreateScheduledPackageNotFound creates a CreateScheduledPackageNotFound with default headers values

func (*CreateScheduledPackageNotFound) Error

func (*CreateScheduledPackageNotFound) GetPayload

func (*CreateScheduledPackageNotFound) IsClientError

func (o *CreateScheduledPackageNotFound) IsClientError() bool

IsClientError returns true when this create scheduled package not found response has a 4xx status code

func (*CreateScheduledPackageNotFound) IsCode

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

IsCode returns true when this create scheduled package not found response a status code equal to that given

func (*CreateScheduledPackageNotFound) IsRedirect

func (o *CreateScheduledPackageNotFound) IsRedirect() bool

IsRedirect returns true when this create scheduled package not found response has a 3xx status code

func (*CreateScheduledPackageNotFound) IsServerError

func (o *CreateScheduledPackageNotFound) IsServerError() bool

IsServerError returns true when this create scheduled package not found response has a 5xx status code

func (*CreateScheduledPackageNotFound) IsSuccess

func (o *CreateScheduledPackageNotFound) IsSuccess() bool

IsSuccess returns true when this create scheduled package not found response has a 2xx status code

func (*CreateScheduledPackageNotFound) String

type CreateScheduledPackageOK

type CreateScheduledPackageOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.Package
}

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

Success.

func NewCreateScheduledPackageOK

func NewCreateScheduledPackageOK() *CreateScheduledPackageOK

NewCreateScheduledPackageOK creates a CreateScheduledPackageOK with default headers values

func (*CreateScheduledPackageOK) Error

func (o *CreateScheduledPackageOK) Error() string

func (*CreateScheduledPackageOK) GetPayload

func (*CreateScheduledPackageOK) IsClientError

func (o *CreateScheduledPackageOK) IsClientError() bool

IsClientError returns true when this create scheduled package o k response has a 4xx status code

func (*CreateScheduledPackageOK) IsCode

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

IsCode returns true when this create scheduled package o k response a status code equal to that given

func (*CreateScheduledPackageOK) IsRedirect

func (o *CreateScheduledPackageOK) IsRedirect() bool

IsRedirect returns true when this create scheduled package o k response has a 3xx status code

func (*CreateScheduledPackageOK) IsServerError

func (o *CreateScheduledPackageOK) IsServerError() bool

IsServerError returns true when this create scheduled package o k response has a 5xx status code

func (*CreateScheduledPackageOK) IsSuccess

func (o *CreateScheduledPackageOK) IsSuccess() bool

IsSuccess returns true when this create scheduled package o k response has a 2xx status code

func (*CreateScheduledPackageOK) String

func (o *CreateScheduledPackageOK) String() string

type CreateScheduledPackageParams

type CreateScheduledPackageParams struct {

	/* CreateScheduledPackageRequest.

	   The request schema for the `createScheduledPackage` operation.
	*/
	CreateScheduledPackageRequest *easy_ship_2022_03_23_models.CreateScheduledPackageRequest

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

CreateScheduledPackageParams contains all the parameters to send to the API endpoint

for the create scheduled package operation.

Typically these are written to a http.Request.

func NewCreateScheduledPackageParams

func NewCreateScheduledPackageParams() *CreateScheduledPackageParams

NewCreateScheduledPackageParams creates a new CreateScheduledPackageParams 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 NewCreateScheduledPackageParamsWithContext

func NewCreateScheduledPackageParamsWithContext(ctx context.Context) *CreateScheduledPackageParams

NewCreateScheduledPackageParamsWithContext creates a new CreateScheduledPackageParams object with the ability to set a context for a request.

func NewCreateScheduledPackageParamsWithHTTPClient

func NewCreateScheduledPackageParamsWithHTTPClient(client *http.Client) *CreateScheduledPackageParams

NewCreateScheduledPackageParamsWithHTTPClient creates a new CreateScheduledPackageParams object with the ability to set a custom HTTPClient for a request.

func NewCreateScheduledPackageParamsWithTimeout

func NewCreateScheduledPackageParamsWithTimeout(timeout time.Duration) *CreateScheduledPackageParams

NewCreateScheduledPackageParamsWithTimeout creates a new CreateScheduledPackageParams object with the ability to set a timeout on a request.

func (*CreateScheduledPackageParams) SetContext

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

SetContext adds the context to the create scheduled package params

func (*CreateScheduledPackageParams) SetCreateScheduledPackageRequest

func (o *CreateScheduledPackageParams) SetCreateScheduledPackageRequest(createScheduledPackageRequest *easy_ship_2022_03_23_models.CreateScheduledPackageRequest)

SetCreateScheduledPackageRequest adds the createScheduledPackageRequest to the create scheduled package params

func (*CreateScheduledPackageParams) SetDefaults

func (o *CreateScheduledPackageParams) SetDefaults()

SetDefaults hydrates default values in the create scheduled package params (not the query body).

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

func (*CreateScheduledPackageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create scheduled package params

func (*CreateScheduledPackageParams) SetTimeout

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

SetTimeout adds the timeout to the create scheduled package params

func (*CreateScheduledPackageParams) WithContext

WithContext adds the context to the create scheduled package params

func (*CreateScheduledPackageParams) WithCreateScheduledPackageRequest

func (o *CreateScheduledPackageParams) WithCreateScheduledPackageRequest(createScheduledPackageRequest *easy_ship_2022_03_23_models.CreateScheduledPackageRequest) *CreateScheduledPackageParams

WithCreateScheduledPackageRequest adds the createScheduledPackageRequest to the create scheduled package params

func (*CreateScheduledPackageParams) WithDefaults

WithDefaults hydrates default values in the create scheduled package params (not the query body).

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

func (*CreateScheduledPackageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create scheduled package params

func (*CreateScheduledPackageParams) WithTimeout

WithTimeout adds the timeout to the create scheduled package params

func (*CreateScheduledPackageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateScheduledPackageReader

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

CreateScheduledPackageReader is a Reader for the CreateScheduledPackage structure.

func (*CreateScheduledPackageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateScheduledPackageRequestEntityTooLarge added in v0.24.10

type CreateScheduledPackageRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewCreateScheduledPackageRequestEntityTooLarge added in v0.24.10

func NewCreateScheduledPackageRequestEntityTooLarge() *CreateScheduledPackageRequestEntityTooLarge

NewCreateScheduledPackageRequestEntityTooLarge creates a CreateScheduledPackageRequestEntityTooLarge with default headers values

func (*CreateScheduledPackageRequestEntityTooLarge) Error added in v0.24.10

func (*CreateScheduledPackageRequestEntityTooLarge) GetPayload added in v0.24.10

func (*CreateScheduledPackageRequestEntityTooLarge) IsClientError added in v0.24.10

IsClientError returns true when this create scheduled package request entity too large response has a 4xx status code

func (*CreateScheduledPackageRequestEntityTooLarge) IsCode added in v0.24.10

IsCode returns true when this create scheduled package request entity too large response a status code equal to that given

func (*CreateScheduledPackageRequestEntityTooLarge) IsRedirect added in v0.24.10

IsRedirect returns true when this create scheduled package request entity too large response has a 3xx status code

func (*CreateScheduledPackageRequestEntityTooLarge) IsServerError added in v0.24.10

IsServerError returns true when this create scheduled package request entity too large response has a 5xx status code

func (*CreateScheduledPackageRequestEntityTooLarge) IsSuccess added in v0.24.10

IsSuccess returns true when this create scheduled package request entity too large response has a 2xx status code

func (*CreateScheduledPackageRequestEntityTooLarge) String added in v0.24.10

type CreateScheduledPackageServiceUnavailable

type CreateScheduledPackageServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewCreateScheduledPackageServiceUnavailable

func NewCreateScheduledPackageServiceUnavailable() *CreateScheduledPackageServiceUnavailable

NewCreateScheduledPackageServiceUnavailable creates a CreateScheduledPackageServiceUnavailable with default headers values

func (*CreateScheduledPackageServiceUnavailable) Error

func (*CreateScheduledPackageServiceUnavailable) GetPayload

func (*CreateScheduledPackageServiceUnavailable) IsClientError

IsClientError returns true when this create scheduled package service unavailable response has a 4xx status code

func (*CreateScheduledPackageServiceUnavailable) IsCode

IsCode returns true when this create scheduled package service unavailable response a status code equal to that given

func (*CreateScheduledPackageServiceUnavailable) IsRedirect

IsRedirect returns true when this create scheduled package service unavailable response has a 3xx status code

func (*CreateScheduledPackageServiceUnavailable) IsServerError

IsServerError returns true when this create scheduled package service unavailable response has a 5xx status code

func (*CreateScheduledPackageServiceUnavailable) IsSuccess

IsSuccess returns true when this create scheduled package service unavailable response has a 2xx status code

func (*CreateScheduledPackageServiceUnavailable) String

type CreateScheduledPackageTooManyRequests

type CreateScheduledPackageTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewCreateScheduledPackageTooManyRequests

func NewCreateScheduledPackageTooManyRequests() *CreateScheduledPackageTooManyRequests

NewCreateScheduledPackageTooManyRequests creates a CreateScheduledPackageTooManyRequests with default headers values

func (*CreateScheduledPackageTooManyRequests) Error

func (*CreateScheduledPackageTooManyRequests) GetPayload

func (*CreateScheduledPackageTooManyRequests) IsClientError

func (o *CreateScheduledPackageTooManyRequests) IsClientError() bool

IsClientError returns true when this create scheduled package too many requests response has a 4xx status code

func (*CreateScheduledPackageTooManyRequests) IsCode

IsCode returns true when this create scheduled package too many requests response a status code equal to that given

func (*CreateScheduledPackageTooManyRequests) IsRedirect

IsRedirect returns true when this create scheduled package too many requests response has a 3xx status code

func (*CreateScheduledPackageTooManyRequests) IsServerError

func (o *CreateScheduledPackageTooManyRequests) IsServerError() bool

IsServerError returns true when this create scheduled package too many requests response has a 5xx status code

func (*CreateScheduledPackageTooManyRequests) IsSuccess

IsSuccess returns true when this create scheduled package too many requests response has a 2xx status code

func (*CreateScheduledPackageTooManyRequests) String

type CreateScheduledPackageUnauthorized

type CreateScheduledPackageUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

CreateScheduledPackageUnauthorized 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 NewCreateScheduledPackageUnauthorized

func NewCreateScheduledPackageUnauthorized() *CreateScheduledPackageUnauthorized

NewCreateScheduledPackageUnauthorized creates a CreateScheduledPackageUnauthorized with default headers values

func (*CreateScheduledPackageUnauthorized) Error

func (*CreateScheduledPackageUnauthorized) GetPayload

func (*CreateScheduledPackageUnauthorized) IsClientError

func (o *CreateScheduledPackageUnauthorized) IsClientError() bool

IsClientError returns true when this create scheduled package unauthorized response has a 4xx status code

func (*CreateScheduledPackageUnauthorized) IsCode

IsCode returns true when this create scheduled package unauthorized response a status code equal to that given

func (*CreateScheduledPackageUnauthorized) IsRedirect

func (o *CreateScheduledPackageUnauthorized) IsRedirect() bool

IsRedirect returns true when this create scheduled package unauthorized response has a 3xx status code

func (*CreateScheduledPackageUnauthorized) IsServerError

func (o *CreateScheduledPackageUnauthorized) IsServerError() bool

IsServerError returns true when this create scheduled package unauthorized response has a 5xx status code

func (*CreateScheduledPackageUnauthorized) IsSuccess

IsSuccess returns true when this create scheduled package unauthorized response has a 2xx status code

func (*CreateScheduledPackageUnauthorized) String

type CreateScheduledPackageUnsupportedMediaType

type CreateScheduledPackageUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewCreateScheduledPackageUnsupportedMediaType

func NewCreateScheduledPackageUnsupportedMediaType() *CreateScheduledPackageUnsupportedMediaType

NewCreateScheduledPackageUnsupportedMediaType creates a CreateScheduledPackageUnsupportedMediaType with default headers values

func (*CreateScheduledPackageUnsupportedMediaType) Error

func (*CreateScheduledPackageUnsupportedMediaType) GetPayload

func (*CreateScheduledPackageUnsupportedMediaType) IsClientError

IsClientError returns true when this create scheduled package unsupported media type response has a 4xx status code

func (*CreateScheduledPackageUnsupportedMediaType) IsCode

IsCode returns true when this create scheduled package unsupported media type response a status code equal to that given

func (*CreateScheduledPackageUnsupportedMediaType) IsRedirect

IsRedirect returns true when this create scheduled package unsupported media type response has a 3xx status code

func (*CreateScheduledPackageUnsupportedMediaType) IsServerError

IsServerError returns true when this create scheduled package unsupported media type response has a 5xx status code

func (*CreateScheduledPackageUnsupportedMediaType) IsSuccess

IsSuccess returns true when this create scheduled package unsupported media type response has a 2xx status code

func (*CreateScheduledPackageUnsupportedMediaType) String

type GetScheduledPackageBadRequest

type GetScheduledPackageBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetScheduledPackageBadRequest

func NewGetScheduledPackageBadRequest() *GetScheduledPackageBadRequest

NewGetScheduledPackageBadRequest creates a GetScheduledPackageBadRequest with default headers values

func (*GetScheduledPackageBadRequest) Error

func (*GetScheduledPackageBadRequest) GetPayload

func (*GetScheduledPackageBadRequest) IsClientError

func (o *GetScheduledPackageBadRequest) IsClientError() bool

IsClientError returns true when this get scheduled package bad request response has a 4xx status code

func (*GetScheduledPackageBadRequest) IsCode

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

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

func (*GetScheduledPackageBadRequest) IsRedirect

func (o *GetScheduledPackageBadRequest) IsRedirect() bool

IsRedirect returns true when this get scheduled package bad request response has a 3xx status code

func (*GetScheduledPackageBadRequest) IsServerError

func (o *GetScheduledPackageBadRequest) IsServerError() bool

IsServerError returns true when this get scheduled package bad request response has a 5xx status code

func (*GetScheduledPackageBadRequest) IsSuccess

func (o *GetScheduledPackageBadRequest) IsSuccess() bool

IsSuccess returns true when this get scheduled package bad request response has a 2xx status code

func (*GetScheduledPackageBadRequest) String

type GetScheduledPackageForbidden

type GetScheduledPackageForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

GetScheduledPackageForbidden 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 NewGetScheduledPackageForbidden

func NewGetScheduledPackageForbidden() *GetScheduledPackageForbidden

NewGetScheduledPackageForbidden creates a GetScheduledPackageForbidden with default headers values

func (*GetScheduledPackageForbidden) Error

func (*GetScheduledPackageForbidden) GetPayload

func (*GetScheduledPackageForbidden) IsClientError

func (o *GetScheduledPackageForbidden) IsClientError() bool

IsClientError returns true when this get scheduled package forbidden response has a 4xx status code

func (*GetScheduledPackageForbidden) IsCode

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

IsCode returns true when this get scheduled package forbidden response a status code equal to that given

func (*GetScheduledPackageForbidden) IsRedirect

func (o *GetScheduledPackageForbidden) IsRedirect() bool

IsRedirect returns true when this get scheduled package forbidden response has a 3xx status code

func (*GetScheduledPackageForbidden) IsServerError

func (o *GetScheduledPackageForbidden) IsServerError() bool

IsServerError returns true when this get scheduled package forbidden response has a 5xx status code

func (*GetScheduledPackageForbidden) IsSuccess

func (o *GetScheduledPackageForbidden) IsSuccess() bool

IsSuccess returns true when this get scheduled package forbidden response has a 2xx status code

func (*GetScheduledPackageForbidden) String

type GetScheduledPackageInternalServerError

type GetScheduledPackageInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

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

func NewGetScheduledPackageInternalServerError

func NewGetScheduledPackageInternalServerError() *GetScheduledPackageInternalServerError

NewGetScheduledPackageInternalServerError creates a GetScheduledPackageInternalServerError with default headers values

func (*GetScheduledPackageInternalServerError) Error

func (*GetScheduledPackageInternalServerError) GetPayload

func (*GetScheduledPackageInternalServerError) IsClientError

func (o *GetScheduledPackageInternalServerError) IsClientError() bool

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

func (*GetScheduledPackageInternalServerError) IsCode

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

func (*GetScheduledPackageInternalServerError) IsRedirect

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

func (*GetScheduledPackageInternalServerError) IsServerError

func (o *GetScheduledPackageInternalServerError) IsServerError() bool

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

func (*GetScheduledPackageInternalServerError) IsSuccess

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

func (*GetScheduledPackageInternalServerError) String

type GetScheduledPackageNotFound

type GetScheduledPackageNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The resource specified does not exist.

func NewGetScheduledPackageNotFound

func NewGetScheduledPackageNotFound() *GetScheduledPackageNotFound

NewGetScheduledPackageNotFound creates a GetScheduledPackageNotFound with default headers values

func (*GetScheduledPackageNotFound) Error

func (*GetScheduledPackageNotFound) GetPayload

func (*GetScheduledPackageNotFound) IsClientError

func (o *GetScheduledPackageNotFound) IsClientError() bool

IsClientError returns true when this get scheduled package not found response has a 4xx status code

func (*GetScheduledPackageNotFound) IsCode

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

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

func (*GetScheduledPackageNotFound) IsRedirect

func (o *GetScheduledPackageNotFound) IsRedirect() bool

IsRedirect returns true when this get scheduled package not found response has a 3xx status code

func (*GetScheduledPackageNotFound) IsServerError

func (o *GetScheduledPackageNotFound) IsServerError() bool

IsServerError returns true when this get scheduled package not found response has a 5xx status code

func (*GetScheduledPackageNotFound) IsSuccess

func (o *GetScheduledPackageNotFound) IsSuccess() bool

IsSuccess returns true when this get scheduled package not found response has a 2xx status code

func (*GetScheduledPackageNotFound) String

func (o *GetScheduledPackageNotFound) String() string

type GetScheduledPackageOK

type GetScheduledPackageOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.Package
}

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

Success.

func NewGetScheduledPackageOK

func NewGetScheduledPackageOK() *GetScheduledPackageOK

NewGetScheduledPackageOK creates a GetScheduledPackageOK with default headers values

func (*GetScheduledPackageOK) Error

func (o *GetScheduledPackageOK) Error() string

func (*GetScheduledPackageOK) GetPayload

func (*GetScheduledPackageOK) IsClientError

func (o *GetScheduledPackageOK) IsClientError() bool

IsClientError returns true when this get scheduled package o k response has a 4xx status code

func (*GetScheduledPackageOK) IsCode

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

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

func (*GetScheduledPackageOK) IsRedirect

func (o *GetScheduledPackageOK) IsRedirect() bool

IsRedirect returns true when this get scheduled package o k response has a 3xx status code

func (*GetScheduledPackageOK) IsServerError

func (o *GetScheduledPackageOK) IsServerError() bool

IsServerError returns true when this get scheduled package o k response has a 5xx status code

func (*GetScheduledPackageOK) IsSuccess

func (o *GetScheduledPackageOK) IsSuccess() bool

IsSuccess returns true when this get scheduled package o k response has a 2xx status code

func (*GetScheduledPackageOK) String

func (o *GetScheduledPackageOK) String() string

type GetScheduledPackageParams

type GetScheduledPackageParams struct {

	/* AmazonOrderID.

	   An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
	*/
	AmazonOrderID string

	/* MarketplaceID.

	   An identifier for the marketplace in which the seller is selling.
	*/
	MarketplaceID string

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

GetScheduledPackageParams contains all the parameters to send to the API endpoint

for the get scheduled package operation.

Typically these are written to a http.Request.

func NewGetScheduledPackageParams

func NewGetScheduledPackageParams() *GetScheduledPackageParams

NewGetScheduledPackageParams creates a new GetScheduledPackageParams 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 NewGetScheduledPackageParamsWithContext

func NewGetScheduledPackageParamsWithContext(ctx context.Context) *GetScheduledPackageParams

NewGetScheduledPackageParamsWithContext creates a new GetScheduledPackageParams object with the ability to set a context for a request.

func NewGetScheduledPackageParamsWithHTTPClient

func NewGetScheduledPackageParamsWithHTTPClient(client *http.Client) *GetScheduledPackageParams

NewGetScheduledPackageParamsWithHTTPClient creates a new GetScheduledPackageParams object with the ability to set a custom HTTPClient for a request.

func NewGetScheduledPackageParamsWithTimeout

func NewGetScheduledPackageParamsWithTimeout(timeout time.Duration) *GetScheduledPackageParams

NewGetScheduledPackageParamsWithTimeout creates a new GetScheduledPackageParams object with the ability to set a timeout on a request.

func (*GetScheduledPackageParams) SetAmazonOrderID

func (o *GetScheduledPackageParams) SetAmazonOrderID(amazonOrderID string)

SetAmazonOrderID adds the amazonOrderId to the get scheduled package params

func (*GetScheduledPackageParams) SetContext

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

SetContext adds the context to the get scheduled package params

func (*GetScheduledPackageParams) SetDefaults

func (o *GetScheduledPackageParams) SetDefaults()

SetDefaults hydrates default values in the get scheduled package params (not the query body).

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

func (*GetScheduledPackageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scheduled package params

func (*GetScheduledPackageParams) SetMarketplaceID

func (o *GetScheduledPackageParams) SetMarketplaceID(marketplaceID string)

SetMarketplaceID adds the marketplaceId to the get scheduled package params

func (*GetScheduledPackageParams) SetTimeout

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

SetTimeout adds the timeout to the get scheduled package params

func (*GetScheduledPackageParams) WithAmazonOrderID

func (o *GetScheduledPackageParams) WithAmazonOrderID(amazonOrderID string) *GetScheduledPackageParams

WithAmazonOrderID adds the amazonOrderID to the get scheduled package params

func (*GetScheduledPackageParams) WithContext

WithContext adds the context to the get scheduled package params

func (*GetScheduledPackageParams) WithDefaults

WithDefaults hydrates default values in the get scheduled package params (not the query body).

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

func (*GetScheduledPackageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get scheduled package params

func (*GetScheduledPackageParams) WithMarketplaceID

func (o *GetScheduledPackageParams) WithMarketplaceID(marketplaceID string) *GetScheduledPackageParams

WithMarketplaceID adds the marketplaceID to the get scheduled package params

func (*GetScheduledPackageParams) WithTimeout

WithTimeout adds the timeout to the get scheduled package params

func (*GetScheduledPackageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScheduledPackageReader

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

GetScheduledPackageReader is a Reader for the GetScheduledPackage structure.

func (*GetScheduledPackageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScheduledPackageRequestEntityTooLarge added in v0.24.10

type GetScheduledPackageRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewGetScheduledPackageRequestEntityTooLarge added in v0.24.10

func NewGetScheduledPackageRequestEntityTooLarge() *GetScheduledPackageRequestEntityTooLarge

NewGetScheduledPackageRequestEntityTooLarge creates a GetScheduledPackageRequestEntityTooLarge with default headers values

func (*GetScheduledPackageRequestEntityTooLarge) Error added in v0.24.10

func (*GetScheduledPackageRequestEntityTooLarge) GetPayload added in v0.24.10

func (*GetScheduledPackageRequestEntityTooLarge) IsClientError added in v0.24.10

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

func (*GetScheduledPackageRequestEntityTooLarge) IsCode added in v0.24.10

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

func (*GetScheduledPackageRequestEntityTooLarge) IsRedirect added in v0.24.10

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

func (*GetScheduledPackageRequestEntityTooLarge) IsServerError added in v0.24.10

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

func (*GetScheduledPackageRequestEntityTooLarge) IsSuccess added in v0.24.10

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

func (*GetScheduledPackageRequestEntityTooLarge) String added in v0.24.10

type GetScheduledPackageServiceUnavailable

type GetScheduledPackageServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetScheduledPackageServiceUnavailable

func NewGetScheduledPackageServiceUnavailable() *GetScheduledPackageServiceUnavailable

NewGetScheduledPackageServiceUnavailable creates a GetScheduledPackageServiceUnavailable with default headers values

func (*GetScheduledPackageServiceUnavailable) Error

func (*GetScheduledPackageServiceUnavailable) GetPayload

func (*GetScheduledPackageServiceUnavailable) IsClientError

func (o *GetScheduledPackageServiceUnavailable) IsClientError() bool

IsClientError returns true when this get scheduled package service unavailable response has a 4xx status code

func (*GetScheduledPackageServiceUnavailable) IsCode

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

func (*GetScheduledPackageServiceUnavailable) IsRedirect

IsRedirect returns true when this get scheduled package service unavailable response has a 3xx status code

func (*GetScheduledPackageServiceUnavailable) IsServerError

func (o *GetScheduledPackageServiceUnavailable) IsServerError() bool

IsServerError returns true when this get scheduled package service unavailable response has a 5xx status code

func (*GetScheduledPackageServiceUnavailable) IsSuccess

IsSuccess returns true when this get scheduled package service unavailable response has a 2xx status code

func (*GetScheduledPackageServiceUnavailable) String

type GetScheduledPackageTooManyRequests

type GetScheduledPackageTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetScheduledPackageTooManyRequests

func NewGetScheduledPackageTooManyRequests() *GetScheduledPackageTooManyRequests

NewGetScheduledPackageTooManyRequests creates a GetScheduledPackageTooManyRequests with default headers values

func (*GetScheduledPackageTooManyRequests) Error

func (*GetScheduledPackageTooManyRequests) GetPayload

func (*GetScheduledPackageTooManyRequests) IsClientError

func (o *GetScheduledPackageTooManyRequests) IsClientError() bool

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

func (*GetScheduledPackageTooManyRequests) IsCode

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

func (*GetScheduledPackageTooManyRequests) IsRedirect

func (o *GetScheduledPackageTooManyRequests) IsRedirect() bool

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

func (*GetScheduledPackageTooManyRequests) IsServerError

func (o *GetScheduledPackageTooManyRequests) IsServerError() bool

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

func (*GetScheduledPackageTooManyRequests) IsSuccess

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

func (*GetScheduledPackageTooManyRequests) String

type GetScheduledPackageUnauthorized

type GetScheduledPackageUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

GetScheduledPackageUnauthorized 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 NewGetScheduledPackageUnauthorized

func NewGetScheduledPackageUnauthorized() *GetScheduledPackageUnauthorized

NewGetScheduledPackageUnauthorized creates a GetScheduledPackageUnauthorized with default headers values

func (*GetScheduledPackageUnauthorized) Error

func (*GetScheduledPackageUnauthorized) GetPayload

func (*GetScheduledPackageUnauthorized) IsClientError

func (o *GetScheduledPackageUnauthorized) IsClientError() bool

IsClientError returns true when this get scheduled package unauthorized response has a 4xx status code

func (*GetScheduledPackageUnauthorized) IsCode

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

IsCode returns true when this get scheduled package unauthorized response a status code equal to that given

func (*GetScheduledPackageUnauthorized) IsRedirect

func (o *GetScheduledPackageUnauthorized) IsRedirect() bool

IsRedirect returns true when this get scheduled package unauthorized response has a 3xx status code

func (*GetScheduledPackageUnauthorized) IsServerError

func (o *GetScheduledPackageUnauthorized) IsServerError() bool

IsServerError returns true when this get scheduled package unauthorized response has a 5xx status code

func (*GetScheduledPackageUnauthorized) IsSuccess

func (o *GetScheduledPackageUnauthorized) IsSuccess() bool

IsSuccess returns true when this get scheduled package unauthorized response has a 2xx status code

func (*GetScheduledPackageUnauthorized) String

type GetScheduledPackageUnsupportedMediaType

type GetScheduledPackageUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetScheduledPackageUnsupportedMediaType

func NewGetScheduledPackageUnsupportedMediaType() *GetScheduledPackageUnsupportedMediaType

NewGetScheduledPackageUnsupportedMediaType creates a GetScheduledPackageUnsupportedMediaType with default headers values

func (*GetScheduledPackageUnsupportedMediaType) Error

func (*GetScheduledPackageUnsupportedMediaType) GetPayload

func (*GetScheduledPackageUnsupportedMediaType) IsClientError

func (o *GetScheduledPackageUnsupportedMediaType) IsClientError() bool

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

func (*GetScheduledPackageUnsupportedMediaType) IsCode

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

func (*GetScheduledPackageUnsupportedMediaType) IsRedirect

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

func (*GetScheduledPackageUnsupportedMediaType) IsServerError

func (o *GetScheduledPackageUnsupportedMediaType) IsServerError() bool

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

func (*GetScheduledPackageUnsupportedMediaType) IsSuccess

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

func (*GetScheduledPackageUnsupportedMediaType) String

type ListHandoverSlotsBadRequest

type ListHandoverSlotsBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewListHandoverSlotsBadRequest

func NewListHandoverSlotsBadRequest() *ListHandoverSlotsBadRequest

NewListHandoverSlotsBadRequest creates a ListHandoverSlotsBadRequest with default headers values

func (*ListHandoverSlotsBadRequest) Error

func (*ListHandoverSlotsBadRequest) GetPayload

func (*ListHandoverSlotsBadRequest) IsClientError

func (o *ListHandoverSlotsBadRequest) IsClientError() bool

IsClientError returns true when this list handover slots bad request response has a 4xx status code

func (*ListHandoverSlotsBadRequest) IsCode

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

IsCode returns true when this list handover slots bad request response a status code equal to that given

func (*ListHandoverSlotsBadRequest) IsRedirect

func (o *ListHandoverSlotsBadRequest) IsRedirect() bool

IsRedirect returns true when this list handover slots bad request response has a 3xx status code

func (*ListHandoverSlotsBadRequest) IsServerError

func (o *ListHandoverSlotsBadRequest) IsServerError() bool

IsServerError returns true when this list handover slots bad request response has a 5xx status code

func (*ListHandoverSlotsBadRequest) IsSuccess

func (o *ListHandoverSlotsBadRequest) IsSuccess() bool

IsSuccess returns true when this list handover slots bad request response has a 2xx status code

func (*ListHandoverSlotsBadRequest) String

func (o *ListHandoverSlotsBadRequest) String() string

type ListHandoverSlotsForbidden

type ListHandoverSlotsForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

ListHandoverSlotsForbidden 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 NewListHandoverSlotsForbidden

func NewListHandoverSlotsForbidden() *ListHandoverSlotsForbidden

NewListHandoverSlotsForbidden creates a ListHandoverSlotsForbidden with default headers values

func (*ListHandoverSlotsForbidden) Error

func (*ListHandoverSlotsForbidden) GetPayload

func (*ListHandoverSlotsForbidden) IsClientError

func (o *ListHandoverSlotsForbidden) IsClientError() bool

IsClientError returns true when this list handover slots forbidden response has a 4xx status code

func (*ListHandoverSlotsForbidden) IsCode

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

IsCode returns true when this list handover slots forbidden response a status code equal to that given

func (*ListHandoverSlotsForbidden) IsRedirect

func (o *ListHandoverSlotsForbidden) IsRedirect() bool

IsRedirect returns true when this list handover slots forbidden response has a 3xx status code

func (*ListHandoverSlotsForbidden) IsServerError

func (o *ListHandoverSlotsForbidden) IsServerError() bool

IsServerError returns true when this list handover slots forbidden response has a 5xx status code

func (*ListHandoverSlotsForbidden) IsSuccess

func (o *ListHandoverSlotsForbidden) IsSuccess() bool

IsSuccess returns true when this list handover slots forbidden response has a 2xx status code

func (*ListHandoverSlotsForbidden) String

func (o *ListHandoverSlotsForbidden) String() string

type ListHandoverSlotsInternalServerError

type ListHandoverSlotsInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

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

func NewListHandoverSlotsInternalServerError

func NewListHandoverSlotsInternalServerError() *ListHandoverSlotsInternalServerError

NewListHandoverSlotsInternalServerError creates a ListHandoverSlotsInternalServerError with default headers values

func (*ListHandoverSlotsInternalServerError) Error

func (*ListHandoverSlotsInternalServerError) GetPayload

func (*ListHandoverSlotsInternalServerError) IsClientError

func (o *ListHandoverSlotsInternalServerError) IsClientError() bool

IsClientError returns true when this list handover slots internal server error response has a 4xx status code

func (*ListHandoverSlotsInternalServerError) IsCode

IsCode returns true when this list handover slots internal server error response a status code equal to that given

func (*ListHandoverSlotsInternalServerError) IsRedirect

IsRedirect returns true when this list handover slots internal server error response has a 3xx status code

func (*ListHandoverSlotsInternalServerError) IsServerError

func (o *ListHandoverSlotsInternalServerError) IsServerError() bool

IsServerError returns true when this list handover slots internal server error response has a 5xx status code

func (*ListHandoverSlotsInternalServerError) IsSuccess

IsSuccess returns true when this list handover slots internal server error response has a 2xx status code

func (*ListHandoverSlotsInternalServerError) String

type ListHandoverSlotsNotFound

type ListHandoverSlotsNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The resource specified does not exist.

func NewListHandoverSlotsNotFound

func NewListHandoverSlotsNotFound() *ListHandoverSlotsNotFound

NewListHandoverSlotsNotFound creates a ListHandoverSlotsNotFound with default headers values

func (*ListHandoverSlotsNotFound) Error

func (o *ListHandoverSlotsNotFound) Error() string

func (*ListHandoverSlotsNotFound) GetPayload

func (*ListHandoverSlotsNotFound) IsClientError

func (o *ListHandoverSlotsNotFound) IsClientError() bool

IsClientError returns true when this list handover slots not found response has a 4xx status code

func (*ListHandoverSlotsNotFound) IsCode

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

IsCode returns true when this list handover slots not found response a status code equal to that given

func (*ListHandoverSlotsNotFound) IsRedirect

func (o *ListHandoverSlotsNotFound) IsRedirect() bool

IsRedirect returns true when this list handover slots not found response has a 3xx status code

func (*ListHandoverSlotsNotFound) IsServerError

func (o *ListHandoverSlotsNotFound) IsServerError() bool

IsServerError returns true when this list handover slots not found response has a 5xx status code

func (*ListHandoverSlotsNotFound) IsSuccess

func (o *ListHandoverSlotsNotFound) IsSuccess() bool

IsSuccess returns true when this list handover slots not found response has a 2xx status code

func (*ListHandoverSlotsNotFound) String

func (o *ListHandoverSlotsNotFound) String() string

type ListHandoverSlotsOK

type ListHandoverSlotsOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ListHandoverSlotsResponse
}

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

Success.

func NewListHandoverSlotsOK

func NewListHandoverSlotsOK() *ListHandoverSlotsOK

NewListHandoverSlotsOK creates a ListHandoverSlotsOK with default headers values

func (*ListHandoverSlotsOK) Error

func (o *ListHandoverSlotsOK) Error() string

func (*ListHandoverSlotsOK) GetPayload

func (*ListHandoverSlotsOK) IsClientError

func (o *ListHandoverSlotsOK) IsClientError() bool

IsClientError returns true when this list handover slots o k response has a 4xx status code

func (*ListHandoverSlotsOK) IsCode

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

IsCode returns true when this list handover slots o k response a status code equal to that given

func (*ListHandoverSlotsOK) IsRedirect

func (o *ListHandoverSlotsOK) IsRedirect() bool

IsRedirect returns true when this list handover slots o k response has a 3xx status code

func (*ListHandoverSlotsOK) IsServerError

func (o *ListHandoverSlotsOK) IsServerError() bool

IsServerError returns true when this list handover slots o k response has a 5xx status code

func (*ListHandoverSlotsOK) IsSuccess

func (o *ListHandoverSlotsOK) IsSuccess() bool

IsSuccess returns true when this list handover slots o k response has a 2xx status code

func (*ListHandoverSlotsOK) String

func (o *ListHandoverSlotsOK) String() string

type ListHandoverSlotsParams

type ListHandoverSlotsParams struct {

	/* ListHandoverSlotsRequest.

	   The request schema for the `listHandoverSlots` operation.
	*/
	ListHandoverSlotsRequest *easy_ship_2022_03_23_models.ListHandoverSlotsRequest

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

ListHandoverSlotsParams contains all the parameters to send to the API endpoint

for the list handover slots operation.

Typically these are written to a http.Request.

func NewListHandoverSlotsParams

func NewListHandoverSlotsParams() *ListHandoverSlotsParams

NewListHandoverSlotsParams creates a new ListHandoverSlotsParams 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 NewListHandoverSlotsParamsWithContext

func NewListHandoverSlotsParamsWithContext(ctx context.Context) *ListHandoverSlotsParams

NewListHandoverSlotsParamsWithContext creates a new ListHandoverSlotsParams object with the ability to set a context for a request.

func NewListHandoverSlotsParamsWithHTTPClient

func NewListHandoverSlotsParamsWithHTTPClient(client *http.Client) *ListHandoverSlotsParams

NewListHandoverSlotsParamsWithHTTPClient creates a new ListHandoverSlotsParams object with the ability to set a custom HTTPClient for a request.

func NewListHandoverSlotsParamsWithTimeout

func NewListHandoverSlotsParamsWithTimeout(timeout time.Duration) *ListHandoverSlotsParams

NewListHandoverSlotsParamsWithTimeout creates a new ListHandoverSlotsParams object with the ability to set a timeout on a request.

func (*ListHandoverSlotsParams) SetContext

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

SetContext adds the context to the list handover slots params

func (*ListHandoverSlotsParams) SetDefaults

func (o *ListHandoverSlotsParams) SetDefaults()

SetDefaults hydrates default values in the list handover slots params (not the query body).

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

func (*ListHandoverSlotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list handover slots params

func (*ListHandoverSlotsParams) SetListHandoverSlotsRequest

func (o *ListHandoverSlotsParams) SetListHandoverSlotsRequest(listHandoverSlotsRequest *easy_ship_2022_03_23_models.ListHandoverSlotsRequest)

SetListHandoverSlotsRequest adds the listHandoverSlotsRequest to the list handover slots params

func (*ListHandoverSlotsParams) SetTimeout

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

SetTimeout adds the timeout to the list handover slots params

func (*ListHandoverSlotsParams) WithContext

WithContext adds the context to the list handover slots params

func (*ListHandoverSlotsParams) WithDefaults

WithDefaults hydrates default values in the list handover slots params (not the query body).

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

func (*ListHandoverSlotsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list handover slots params

func (*ListHandoverSlotsParams) WithListHandoverSlotsRequest

func (o *ListHandoverSlotsParams) WithListHandoverSlotsRequest(listHandoverSlotsRequest *easy_ship_2022_03_23_models.ListHandoverSlotsRequest) *ListHandoverSlotsParams

WithListHandoverSlotsRequest adds the listHandoverSlotsRequest to the list handover slots params

func (*ListHandoverSlotsParams) WithTimeout

WithTimeout adds the timeout to the list handover slots params

func (*ListHandoverSlotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListHandoverSlotsReader

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

ListHandoverSlotsReader is a Reader for the ListHandoverSlots structure.

func (*ListHandoverSlotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListHandoverSlotsRequestEntityTooLarge added in v0.24.10

type ListHandoverSlotsRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewListHandoverSlotsRequestEntityTooLarge added in v0.24.10

func NewListHandoverSlotsRequestEntityTooLarge() *ListHandoverSlotsRequestEntityTooLarge

NewListHandoverSlotsRequestEntityTooLarge creates a ListHandoverSlotsRequestEntityTooLarge with default headers values

func (*ListHandoverSlotsRequestEntityTooLarge) Error added in v0.24.10

func (*ListHandoverSlotsRequestEntityTooLarge) GetPayload added in v0.24.10

func (*ListHandoverSlotsRequestEntityTooLarge) IsClientError added in v0.24.10

func (o *ListHandoverSlotsRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this list handover slots request entity too large response has a 4xx status code

func (*ListHandoverSlotsRequestEntityTooLarge) IsCode added in v0.24.10

IsCode returns true when this list handover slots request entity too large response a status code equal to that given

func (*ListHandoverSlotsRequestEntityTooLarge) IsRedirect added in v0.24.10

IsRedirect returns true when this list handover slots request entity too large response has a 3xx status code

func (*ListHandoverSlotsRequestEntityTooLarge) IsServerError added in v0.24.10

func (o *ListHandoverSlotsRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this list handover slots request entity too large response has a 5xx status code

func (*ListHandoverSlotsRequestEntityTooLarge) IsSuccess added in v0.24.10

IsSuccess returns true when this list handover slots request entity too large response has a 2xx status code

func (*ListHandoverSlotsRequestEntityTooLarge) String added in v0.24.10

type ListHandoverSlotsServiceUnavailable

type ListHandoverSlotsServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewListHandoverSlotsServiceUnavailable

func NewListHandoverSlotsServiceUnavailable() *ListHandoverSlotsServiceUnavailable

NewListHandoverSlotsServiceUnavailable creates a ListHandoverSlotsServiceUnavailable with default headers values

func (*ListHandoverSlotsServiceUnavailable) Error

func (*ListHandoverSlotsServiceUnavailable) GetPayload

func (*ListHandoverSlotsServiceUnavailable) IsClientError

func (o *ListHandoverSlotsServiceUnavailable) IsClientError() bool

IsClientError returns true when this list handover slots service unavailable response has a 4xx status code

func (*ListHandoverSlotsServiceUnavailable) IsCode

IsCode returns true when this list handover slots service unavailable response a status code equal to that given

func (*ListHandoverSlotsServiceUnavailable) IsRedirect

func (o *ListHandoverSlotsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this list handover slots service unavailable response has a 3xx status code

func (*ListHandoverSlotsServiceUnavailable) IsServerError

func (o *ListHandoverSlotsServiceUnavailable) IsServerError() bool

IsServerError returns true when this list handover slots service unavailable response has a 5xx status code

func (*ListHandoverSlotsServiceUnavailable) IsSuccess

IsSuccess returns true when this list handover slots service unavailable response has a 2xx status code

func (*ListHandoverSlotsServiceUnavailable) String

type ListHandoverSlotsTooManyRequests

type ListHandoverSlotsTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewListHandoverSlotsTooManyRequests

func NewListHandoverSlotsTooManyRequests() *ListHandoverSlotsTooManyRequests

NewListHandoverSlotsTooManyRequests creates a ListHandoverSlotsTooManyRequests with default headers values

func (*ListHandoverSlotsTooManyRequests) Error

func (*ListHandoverSlotsTooManyRequests) GetPayload

func (*ListHandoverSlotsTooManyRequests) IsClientError

func (o *ListHandoverSlotsTooManyRequests) IsClientError() bool

IsClientError returns true when this list handover slots too many requests response has a 4xx status code

func (*ListHandoverSlotsTooManyRequests) IsCode

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

IsCode returns true when this list handover slots too many requests response a status code equal to that given

func (*ListHandoverSlotsTooManyRequests) IsRedirect

func (o *ListHandoverSlotsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list handover slots too many requests response has a 3xx status code

func (*ListHandoverSlotsTooManyRequests) IsServerError

func (o *ListHandoverSlotsTooManyRequests) IsServerError() bool

IsServerError returns true when this list handover slots too many requests response has a 5xx status code

func (*ListHandoverSlotsTooManyRequests) IsSuccess

func (o *ListHandoverSlotsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list handover slots too many requests response has a 2xx status code

func (*ListHandoverSlotsTooManyRequests) String

type ListHandoverSlotsUnauthorized

type ListHandoverSlotsUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

ListHandoverSlotsUnauthorized 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 NewListHandoverSlotsUnauthorized

func NewListHandoverSlotsUnauthorized() *ListHandoverSlotsUnauthorized

NewListHandoverSlotsUnauthorized creates a ListHandoverSlotsUnauthorized with default headers values

func (*ListHandoverSlotsUnauthorized) Error

func (*ListHandoverSlotsUnauthorized) GetPayload

func (*ListHandoverSlotsUnauthorized) IsClientError

func (o *ListHandoverSlotsUnauthorized) IsClientError() bool

IsClientError returns true when this list handover slots unauthorized response has a 4xx status code

func (*ListHandoverSlotsUnauthorized) IsCode

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

IsCode returns true when this list handover slots unauthorized response a status code equal to that given

func (*ListHandoverSlotsUnauthorized) IsRedirect

func (o *ListHandoverSlotsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list handover slots unauthorized response has a 3xx status code

func (*ListHandoverSlotsUnauthorized) IsServerError

func (o *ListHandoverSlotsUnauthorized) IsServerError() bool

IsServerError returns true when this list handover slots unauthorized response has a 5xx status code

func (*ListHandoverSlotsUnauthorized) IsSuccess

func (o *ListHandoverSlotsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list handover slots unauthorized response has a 2xx status code

func (*ListHandoverSlotsUnauthorized) String

type ListHandoverSlotsUnsupportedMediaType

type ListHandoverSlotsUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewListHandoverSlotsUnsupportedMediaType

func NewListHandoverSlotsUnsupportedMediaType() *ListHandoverSlotsUnsupportedMediaType

NewListHandoverSlotsUnsupportedMediaType creates a ListHandoverSlotsUnsupportedMediaType with default headers values

func (*ListHandoverSlotsUnsupportedMediaType) Error

func (*ListHandoverSlotsUnsupportedMediaType) GetPayload

func (*ListHandoverSlotsUnsupportedMediaType) IsClientError

func (o *ListHandoverSlotsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this list handover slots unsupported media type response has a 4xx status code

func (*ListHandoverSlotsUnsupportedMediaType) IsCode

IsCode returns true when this list handover slots unsupported media type response a status code equal to that given

func (*ListHandoverSlotsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this list handover slots unsupported media type response has a 3xx status code

func (*ListHandoverSlotsUnsupportedMediaType) IsServerError

func (o *ListHandoverSlotsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this list handover slots unsupported media type response has a 5xx status code

func (*ListHandoverSlotsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this list handover slots unsupported media type response has a 2xx status code

func (*ListHandoverSlotsUnsupportedMediaType) String

type UpdateScheduledPackagesBadRequest

type UpdateScheduledPackagesBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewUpdateScheduledPackagesBadRequest

func NewUpdateScheduledPackagesBadRequest() *UpdateScheduledPackagesBadRequest

NewUpdateScheduledPackagesBadRequest creates a UpdateScheduledPackagesBadRequest with default headers values

func (*UpdateScheduledPackagesBadRequest) Error

func (*UpdateScheduledPackagesBadRequest) GetPayload

func (*UpdateScheduledPackagesBadRequest) IsClientError

func (o *UpdateScheduledPackagesBadRequest) IsClientError() bool

IsClientError returns true when this update scheduled packages bad request response has a 4xx status code

func (*UpdateScheduledPackagesBadRequest) IsCode

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

IsCode returns true when this update scheduled packages bad request response a status code equal to that given

func (*UpdateScheduledPackagesBadRequest) IsRedirect

func (o *UpdateScheduledPackagesBadRequest) IsRedirect() bool

IsRedirect returns true when this update scheduled packages bad request response has a 3xx status code

func (*UpdateScheduledPackagesBadRequest) IsServerError

func (o *UpdateScheduledPackagesBadRequest) IsServerError() bool

IsServerError returns true when this update scheduled packages bad request response has a 5xx status code

func (*UpdateScheduledPackagesBadRequest) IsSuccess

func (o *UpdateScheduledPackagesBadRequest) IsSuccess() bool

IsSuccess returns true when this update scheduled packages bad request response has a 2xx status code

func (*UpdateScheduledPackagesBadRequest) String

type UpdateScheduledPackagesForbidden

type UpdateScheduledPackagesForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

UpdateScheduledPackagesForbidden 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 NewUpdateScheduledPackagesForbidden

func NewUpdateScheduledPackagesForbidden() *UpdateScheduledPackagesForbidden

NewUpdateScheduledPackagesForbidden creates a UpdateScheduledPackagesForbidden with default headers values

func (*UpdateScheduledPackagesForbidden) Error

func (*UpdateScheduledPackagesForbidden) GetPayload

func (*UpdateScheduledPackagesForbidden) IsClientError

func (o *UpdateScheduledPackagesForbidden) IsClientError() bool

IsClientError returns true when this update scheduled packages forbidden response has a 4xx status code

func (*UpdateScheduledPackagesForbidden) IsCode

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

IsCode returns true when this update scheduled packages forbidden response a status code equal to that given

func (*UpdateScheduledPackagesForbidden) IsRedirect

func (o *UpdateScheduledPackagesForbidden) IsRedirect() bool

IsRedirect returns true when this update scheduled packages forbidden response has a 3xx status code

func (*UpdateScheduledPackagesForbidden) IsServerError

func (o *UpdateScheduledPackagesForbidden) IsServerError() bool

IsServerError returns true when this update scheduled packages forbidden response has a 5xx status code

func (*UpdateScheduledPackagesForbidden) IsSuccess

func (o *UpdateScheduledPackagesForbidden) IsSuccess() bool

IsSuccess returns true when this update scheduled packages forbidden response has a 2xx status code

func (*UpdateScheduledPackagesForbidden) String

type UpdateScheduledPackagesInternalServerError

type UpdateScheduledPackagesInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

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

func NewUpdateScheduledPackagesInternalServerError

func NewUpdateScheduledPackagesInternalServerError() *UpdateScheduledPackagesInternalServerError

NewUpdateScheduledPackagesInternalServerError creates a UpdateScheduledPackagesInternalServerError with default headers values

func (*UpdateScheduledPackagesInternalServerError) Error

func (*UpdateScheduledPackagesInternalServerError) GetPayload

func (*UpdateScheduledPackagesInternalServerError) IsClientError

IsClientError returns true when this update scheduled packages internal server error response has a 4xx status code

func (*UpdateScheduledPackagesInternalServerError) IsCode

IsCode returns true when this update scheduled packages internal server error response a status code equal to that given

func (*UpdateScheduledPackagesInternalServerError) IsRedirect

IsRedirect returns true when this update scheduled packages internal server error response has a 3xx status code

func (*UpdateScheduledPackagesInternalServerError) IsServerError

IsServerError returns true when this update scheduled packages internal server error response has a 5xx status code

func (*UpdateScheduledPackagesInternalServerError) IsSuccess

IsSuccess returns true when this update scheduled packages internal server error response has a 2xx status code

func (*UpdateScheduledPackagesInternalServerError) String

type UpdateScheduledPackagesNotFound

type UpdateScheduledPackagesNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The resource specified does not exist.

func NewUpdateScheduledPackagesNotFound

func NewUpdateScheduledPackagesNotFound() *UpdateScheduledPackagesNotFound

NewUpdateScheduledPackagesNotFound creates a UpdateScheduledPackagesNotFound with default headers values

func (*UpdateScheduledPackagesNotFound) Error

func (*UpdateScheduledPackagesNotFound) GetPayload

func (*UpdateScheduledPackagesNotFound) IsClientError

func (o *UpdateScheduledPackagesNotFound) IsClientError() bool

IsClientError returns true when this update scheduled packages not found response has a 4xx status code

func (*UpdateScheduledPackagesNotFound) IsCode

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

IsCode returns true when this update scheduled packages not found response a status code equal to that given

func (*UpdateScheduledPackagesNotFound) IsRedirect

func (o *UpdateScheduledPackagesNotFound) IsRedirect() bool

IsRedirect returns true when this update scheduled packages not found response has a 3xx status code

func (*UpdateScheduledPackagesNotFound) IsServerError

func (o *UpdateScheduledPackagesNotFound) IsServerError() bool

IsServerError returns true when this update scheduled packages not found response has a 5xx status code

func (*UpdateScheduledPackagesNotFound) IsSuccess

func (o *UpdateScheduledPackagesNotFound) IsSuccess() bool

IsSuccess returns true when this update scheduled packages not found response has a 2xx status code

func (*UpdateScheduledPackagesNotFound) String

type UpdateScheduledPackagesOK

type UpdateScheduledPackagesOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.Packages
}

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

Success

func NewUpdateScheduledPackagesOK

func NewUpdateScheduledPackagesOK() *UpdateScheduledPackagesOK

NewUpdateScheduledPackagesOK creates a UpdateScheduledPackagesOK with default headers values

func (*UpdateScheduledPackagesOK) Error

func (o *UpdateScheduledPackagesOK) Error() string

func (*UpdateScheduledPackagesOK) GetPayload

func (*UpdateScheduledPackagesOK) IsClientError

func (o *UpdateScheduledPackagesOK) IsClientError() bool

IsClientError returns true when this update scheduled packages o k response has a 4xx status code

func (*UpdateScheduledPackagesOK) IsCode

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

IsCode returns true when this update scheduled packages o k response a status code equal to that given

func (*UpdateScheduledPackagesOK) IsRedirect

func (o *UpdateScheduledPackagesOK) IsRedirect() bool

IsRedirect returns true when this update scheduled packages o k response has a 3xx status code

func (*UpdateScheduledPackagesOK) IsServerError

func (o *UpdateScheduledPackagesOK) IsServerError() bool

IsServerError returns true when this update scheduled packages o k response has a 5xx status code

func (*UpdateScheduledPackagesOK) IsSuccess

func (o *UpdateScheduledPackagesOK) IsSuccess() bool

IsSuccess returns true when this update scheduled packages o k response has a 2xx status code

func (*UpdateScheduledPackagesOK) String

func (o *UpdateScheduledPackagesOK) String() string

type UpdateScheduledPackagesParams

type UpdateScheduledPackagesParams struct {

	/* UpdateScheduledPackagesRequest.

	   The request schema for the `updateScheduledPackages` operation.
	*/
	UpdateScheduledPackagesRequest *easy_ship_2022_03_23_models.UpdateScheduledPackagesRequest

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

UpdateScheduledPackagesParams contains all the parameters to send to the API endpoint

for the update scheduled packages operation.

Typically these are written to a http.Request.

func NewUpdateScheduledPackagesParams

func NewUpdateScheduledPackagesParams() *UpdateScheduledPackagesParams

NewUpdateScheduledPackagesParams creates a new UpdateScheduledPackagesParams 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 NewUpdateScheduledPackagesParamsWithContext

func NewUpdateScheduledPackagesParamsWithContext(ctx context.Context) *UpdateScheduledPackagesParams

NewUpdateScheduledPackagesParamsWithContext creates a new UpdateScheduledPackagesParams object with the ability to set a context for a request.

func NewUpdateScheduledPackagesParamsWithHTTPClient

func NewUpdateScheduledPackagesParamsWithHTTPClient(client *http.Client) *UpdateScheduledPackagesParams

NewUpdateScheduledPackagesParamsWithHTTPClient creates a new UpdateScheduledPackagesParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateScheduledPackagesParamsWithTimeout

func NewUpdateScheduledPackagesParamsWithTimeout(timeout time.Duration) *UpdateScheduledPackagesParams

NewUpdateScheduledPackagesParamsWithTimeout creates a new UpdateScheduledPackagesParams object with the ability to set a timeout on a request.

func (*UpdateScheduledPackagesParams) SetContext

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

SetContext adds the context to the update scheduled packages params

func (*UpdateScheduledPackagesParams) SetDefaults

func (o *UpdateScheduledPackagesParams) SetDefaults()

SetDefaults hydrates default values in the update scheduled packages params (not the query body).

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

func (*UpdateScheduledPackagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update scheduled packages params

func (*UpdateScheduledPackagesParams) SetTimeout

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

SetTimeout adds the timeout to the update scheduled packages params

func (*UpdateScheduledPackagesParams) SetUpdateScheduledPackagesRequest

func (o *UpdateScheduledPackagesParams) SetUpdateScheduledPackagesRequest(updateScheduledPackagesRequest *easy_ship_2022_03_23_models.UpdateScheduledPackagesRequest)

SetUpdateScheduledPackagesRequest adds the updateScheduledPackagesRequest to the update scheduled packages params

func (*UpdateScheduledPackagesParams) WithContext

WithContext adds the context to the update scheduled packages params

func (*UpdateScheduledPackagesParams) WithDefaults

WithDefaults hydrates default values in the update scheduled packages params (not the query body).

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

func (*UpdateScheduledPackagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update scheduled packages params

func (*UpdateScheduledPackagesParams) WithTimeout

WithTimeout adds the timeout to the update scheduled packages params

func (*UpdateScheduledPackagesParams) WithUpdateScheduledPackagesRequest

func (o *UpdateScheduledPackagesParams) WithUpdateScheduledPackagesRequest(updateScheduledPackagesRequest *easy_ship_2022_03_23_models.UpdateScheduledPackagesRequest) *UpdateScheduledPackagesParams

WithUpdateScheduledPackagesRequest adds the updateScheduledPackagesRequest to the update scheduled packages params

func (*UpdateScheduledPackagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateScheduledPackagesReader

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

UpdateScheduledPackagesReader is a Reader for the UpdateScheduledPackages structure.

func (*UpdateScheduledPackagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateScheduledPackagesRequestEntityTooLarge added in v0.24.10

type UpdateScheduledPackagesRequestEntityTooLarge struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request size exceeded the maximum accepted size.

func NewUpdateScheduledPackagesRequestEntityTooLarge added in v0.24.10

func NewUpdateScheduledPackagesRequestEntityTooLarge() *UpdateScheduledPackagesRequestEntityTooLarge

NewUpdateScheduledPackagesRequestEntityTooLarge creates a UpdateScheduledPackagesRequestEntityTooLarge with default headers values

func (*UpdateScheduledPackagesRequestEntityTooLarge) Error added in v0.24.10

func (*UpdateScheduledPackagesRequestEntityTooLarge) GetPayload added in v0.24.10

func (*UpdateScheduledPackagesRequestEntityTooLarge) IsClientError added in v0.24.10

IsClientError returns true when this update scheduled packages request entity too large response has a 4xx status code

func (*UpdateScheduledPackagesRequestEntityTooLarge) IsCode added in v0.24.10

IsCode returns true when this update scheduled packages request entity too large response a status code equal to that given

func (*UpdateScheduledPackagesRequestEntityTooLarge) IsRedirect added in v0.24.10

IsRedirect returns true when this update scheduled packages request entity too large response has a 3xx status code

func (*UpdateScheduledPackagesRequestEntityTooLarge) IsServerError added in v0.24.10

IsServerError returns true when this update scheduled packages request entity too large response has a 5xx status code

func (*UpdateScheduledPackagesRequestEntityTooLarge) IsSuccess added in v0.24.10

IsSuccess returns true when this update scheduled packages request entity too large response has a 2xx status code

func (*UpdateScheduledPackagesRequestEntityTooLarge) String added in v0.24.10

type UpdateScheduledPackagesServiceUnavailable

type UpdateScheduledPackagesServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewUpdateScheduledPackagesServiceUnavailable

func NewUpdateScheduledPackagesServiceUnavailable() *UpdateScheduledPackagesServiceUnavailable

NewUpdateScheduledPackagesServiceUnavailable creates a UpdateScheduledPackagesServiceUnavailable with default headers values

func (*UpdateScheduledPackagesServiceUnavailable) Error

func (*UpdateScheduledPackagesServiceUnavailable) GetPayload

func (*UpdateScheduledPackagesServiceUnavailable) IsClientError

IsClientError returns true when this update scheduled packages service unavailable response has a 4xx status code

func (*UpdateScheduledPackagesServiceUnavailable) IsCode

IsCode returns true when this update scheduled packages service unavailable response a status code equal to that given

func (*UpdateScheduledPackagesServiceUnavailable) IsRedirect

IsRedirect returns true when this update scheduled packages service unavailable response has a 3xx status code

func (*UpdateScheduledPackagesServiceUnavailable) IsServerError

IsServerError returns true when this update scheduled packages service unavailable response has a 5xx status code

func (*UpdateScheduledPackagesServiceUnavailable) IsSuccess

IsSuccess returns true when this update scheduled packages service unavailable response has a 2xx status code

func (*UpdateScheduledPackagesServiceUnavailable) String

type UpdateScheduledPackagesTooManyRequests

type UpdateScheduledPackagesTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewUpdateScheduledPackagesTooManyRequests

func NewUpdateScheduledPackagesTooManyRequests() *UpdateScheduledPackagesTooManyRequests

NewUpdateScheduledPackagesTooManyRequests creates a UpdateScheduledPackagesTooManyRequests with default headers values

func (*UpdateScheduledPackagesTooManyRequests) Error

func (*UpdateScheduledPackagesTooManyRequests) GetPayload

func (*UpdateScheduledPackagesTooManyRequests) IsClientError

func (o *UpdateScheduledPackagesTooManyRequests) IsClientError() bool

IsClientError returns true when this update scheduled packages too many requests response has a 4xx status code

func (*UpdateScheduledPackagesTooManyRequests) IsCode

IsCode returns true when this update scheduled packages too many requests response a status code equal to that given

func (*UpdateScheduledPackagesTooManyRequests) IsRedirect

IsRedirect returns true when this update scheduled packages too many requests response has a 3xx status code

func (*UpdateScheduledPackagesTooManyRequests) IsServerError

func (o *UpdateScheduledPackagesTooManyRequests) IsServerError() bool

IsServerError returns true when this update scheduled packages too many requests response has a 5xx status code

func (*UpdateScheduledPackagesTooManyRequests) IsSuccess

IsSuccess returns true when this update scheduled packages too many requests response has a 2xx status code

func (*UpdateScheduledPackagesTooManyRequests) String

type UpdateScheduledPackagesUnauthorized

type UpdateScheduledPackagesUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

UpdateScheduledPackagesUnauthorized 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 NewUpdateScheduledPackagesUnauthorized

func NewUpdateScheduledPackagesUnauthorized() *UpdateScheduledPackagesUnauthorized

NewUpdateScheduledPackagesUnauthorized creates a UpdateScheduledPackagesUnauthorized with default headers values

func (*UpdateScheduledPackagesUnauthorized) Error

func (*UpdateScheduledPackagesUnauthorized) GetPayload

func (*UpdateScheduledPackagesUnauthorized) IsClientError

func (o *UpdateScheduledPackagesUnauthorized) IsClientError() bool

IsClientError returns true when this update scheduled packages unauthorized response has a 4xx status code

func (*UpdateScheduledPackagesUnauthorized) IsCode

IsCode returns true when this update scheduled packages unauthorized response a status code equal to that given

func (*UpdateScheduledPackagesUnauthorized) IsRedirect

func (o *UpdateScheduledPackagesUnauthorized) IsRedirect() bool

IsRedirect returns true when this update scheduled packages unauthorized response has a 3xx status code

func (*UpdateScheduledPackagesUnauthorized) IsServerError

func (o *UpdateScheduledPackagesUnauthorized) IsServerError() bool

IsServerError returns true when this update scheduled packages unauthorized response has a 5xx status code

func (*UpdateScheduledPackagesUnauthorized) IsSuccess

IsSuccess returns true when this update scheduled packages unauthorized response has a 2xx status code

func (*UpdateScheduledPackagesUnauthorized) String

type UpdateScheduledPackagesUnsupportedMediaType

type UpdateScheduledPackagesUnsupportedMediaType struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *easy_ship_2022_03_23_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewUpdateScheduledPackagesUnsupportedMediaType

func NewUpdateScheduledPackagesUnsupportedMediaType() *UpdateScheduledPackagesUnsupportedMediaType

NewUpdateScheduledPackagesUnsupportedMediaType creates a UpdateScheduledPackagesUnsupportedMediaType with default headers values

func (*UpdateScheduledPackagesUnsupportedMediaType) Error

func (*UpdateScheduledPackagesUnsupportedMediaType) GetPayload

func (*UpdateScheduledPackagesUnsupportedMediaType) IsClientError

IsClientError returns true when this update scheduled packages unsupported media type response has a 4xx status code

func (*UpdateScheduledPackagesUnsupportedMediaType) IsCode

IsCode returns true when this update scheduled packages unsupported media type response a status code equal to that given

func (*UpdateScheduledPackagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this update scheduled packages unsupported media type response has a 3xx status code

func (*UpdateScheduledPackagesUnsupportedMediaType) IsServerError

IsServerError returns true when this update scheduled packages unsupported media type response has a 5xx status code

func (*UpdateScheduledPackagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this update scheduled packages unsupported media type response has a 2xx status code

func (*UpdateScheduledPackagesUnsupportedMediaType) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL