Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateScheduledPackage(params *CreateScheduledPackageParams, opts ...ClientOption) (*CreateScheduledPackageOK, error)
- func (a *Client) CreateScheduledPackageBulk(params *CreateScheduledPackageBulkParams, opts ...ClientOption) (*CreateScheduledPackageBulkOK, error)
- func (a *Client) GetScheduledPackage(params *GetScheduledPackageParams, opts ...ClientOption) (*GetScheduledPackageOK, error)
- func (a *Client) ListHandoverSlots(params *ListHandoverSlotsParams, opts ...ClientOption) (*ListHandoverSlotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateScheduledPackages(params *UpdateScheduledPackagesParams, opts ...ClientOption) (*UpdateScheduledPackagesOK, error)
- type ClientOption
- type ClientService
- type CreateScheduledPackageBadRequest
- func (o *CreateScheduledPackageBadRequest) Error() string
- func (o *CreateScheduledPackageBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBadRequest) IsClientError() bool
- func (o *CreateScheduledPackageBadRequest) IsCode(code int) bool
- func (o *CreateScheduledPackageBadRequest) IsRedirect() bool
- func (o *CreateScheduledPackageBadRequest) IsServerError() bool
- func (o *CreateScheduledPackageBadRequest) IsSuccess() bool
- func (o *CreateScheduledPackageBadRequest) String() string
- type CreateScheduledPackageBulkBadRequest
- func (o *CreateScheduledPackageBulkBadRequest) Error() string
- func (o *CreateScheduledPackageBulkBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkBadRequest) IsClientError() bool
- func (o *CreateScheduledPackageBulkBadRequest) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkBadRequest) IsRedirect() bool
- func (o *CreateScheduledPackageBulkBadRequest) IsServerError() bool
- func (o *CreateScheduledPackageBulkBadRequest) IsSuccess() bool
- func (o *CreateScheduledPackageBulkBadRequest) String() string
- type CreateScheduledPackageBulkForbidden
- func (o *CreateScheduledPackageBulkForbidden) Error() string
- func (o *CreateScheduledPackageBulkForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkForbidden) IsClientError() bool
- func (o *CreateScheduledPackageBulkForbidden) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkForbidden) IsRedirect() bool
- func (o *CreateScheduledPackageBulkForbidden) IsServerError() bool
- func (o *CreateScheduledPackageBulkForbidden) IsSuccess() bool
- func (o *CreateScheduledPackageBulkForbidden) String() string
- type CreateScheduledPackageBulkInternalServerError
- func (o *CreateScheduledPackageBulkInternalServerError) Error() string
- func (o *CreateScheduledPackageBulkInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkInternalServerError) IsClientError() bool
- func (o *CreateScheduledPackageBulkInternalServerError) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkInternalServerError) IsRedirect() bool
- func (o *CreateScheduledPackageBulkInternalServerError) IsServerError() bool
- func (o *CreateScheduledPackageBulkInternalServerError) IsSuccess() bool
- func (o *CreateScheduledPackageBulkInternalServerError) String() string
- type CreateScheduledPackageBulkNotFound
- func (o *CreateScheduledPackageBulkNotFound) Error() string
- func (o *CreateScheduledPackageBulkNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkNotFound) IsClientError() bool
- func (o *CreateScheduledPackageBulkNotFound) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkNotFound) IsRedirect() bool
- func (o *CreateScheduledPackageBulkNotFound) IsServerError() bool
- func (o *CreateScheduledPackageBulkNotFound) IsSuccess() bool
- func (o *CreateScheduledPackageBulkNotFound) String() string
- type CreateScheduledPackageBulkOK
- func (o *CreateScheduledPackageBulkOK) Error() string
- func (o *CreateScheduledPackageBulkOK) GetPayload() *easy_ship_2022_03_23_models.CreateScheduledPackagesResponse
- func (o *CreateScheduledPackageBulkOK) IsClientError() bool
- func (o *CreateScheduledPackageBulkOK) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkOK) IsRedirect() bool
- func (o *CreateScheduledPackageBulkOK) IsServerError() bool
- func (o *CreateScheduledPackageBulkOK) IsSuccess() bool
- func (o *CreateScheduledPackageBulkOK) String() string
- type CreateScheduledPackageBulkParams
- func NewCreateScheduledPackageBulkParams() *CreateScheduledPackageBulkParams
- func NewCreateScheduledPackageBulkParamsWithContext(ctx context.Context) *CreateScheduledPackageBulkParams
- func NewCreateScheduledPackageBulkParamsWithHTTPClient(client *http.Client) *CreateScheduledPackageBulkParams
- func NewCreateScheduledPackageBulkParamsWithTimeout(timeout time.Duration) *CreateScheduledPackageBulkParams
- func (o *CreateScheduledPackageBulkParams) SetContext(ctx context.Context)
- func (o *CreateScheduledPackageBulkParams) SetCreateScheduledPackagesRequest(...)
- func (o *CreateScheduledPackageBulkParams) SetDefaults()
- func (o *CreateScheduledPackageBulkParams) SetHTTPClient(client *http.Client)
- func (o *CreateScheduledPackageBulkParams) SetTimeout(timeout time.Duration)
- func (o *CreateScheduledPackageBulkParams) WithContext(ctx context.Context) *CreateScheduledPackageBulkParams
- func (o *CreateScheduledPackageBulkParams) WithCreateScheduledPackagesRequest(...) *CreateScheduledPackageBulkParams
- func (o *CreateScheduledPackageBulkParams) WithDefaults() *CreateScheduledPackageBulkParams
- func (o *CreateScheduledPackageBulkParams) WithHTTPClient(client *http.Client) *CreateScheduledPackageBulkParams
- func (o *CreateScheduledPackageBulkParams) WithTimeout(timeout time.Duration) *CreateScheduledPackageBulkParams
- func (o *CreateScheduledPackageBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateScheduledPackageBulkReader
- type CreateScheduledPackageBulkRequestEntityTooLarge
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) Error() string
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsClientError() bool
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsRedirect() bool
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsServerError() bool
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsSuccess() bool
- func (o *CreateScheduledPackageBulkRequestEntityTooLarge) String() string
- type CreateScheduledPackageBulkServiceUnavailable
- func (o *CreateScheduledPackageBulkServiceUnavailable) Error() string
- func (o *CreateScheduledPackageBulkServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkServiceUnavailable) IsClientError() bool
- func (o *CreateScheduledPackageBulkServiceUnavailable) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkServiceUnavailable) IsRedirect() bool
- func (o *CreateScheduledPackageBulkServiceUnavailable) IsServerError() bool
- func (o *CreateScheduledPackageBulkServiceUnavailable) IsSuccess() bool
- func (o *CreateScheduledPackageBulkServiceUnavailable) String() string
- type CreateScheduledPackageBulkTooManyRequests
- func (o *CreateScheduledPackageBulkTooManyRequests) Error() string
- func (o *CreateScheduledPackageBulkTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkTooManyRequests) IsClientError() bool
- func (o *CreateScheduledPackageBulkTooManyRequests) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkTooManyRequests) IsRedirect() bool
- func (o *CreateScheduledPackageBulkTooManyRequests) IsServerError() bool
- func (o *CreateScheduledPackageBulkTooManyRequests) IsSuccess() bool
- func (o *CreateScheduledPackageBulkTooManyRequests) String() string
- type CreateScheduledPackageBulkUnauthorized
- func (o *CreateScheduledPackageBulkUnauthorized) Error() string
- func (o *CreateScheduledPackageBulkUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkUnauthorized) IsClientError() bool
- func (o *CreateScheduledPackageBulkUnauthorized) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkUnauthorized) IsRedirect() bool
- func (o *CreateScheduledPackageBulkUnauthorized) IsServerError() bool
- func (o *CreateScheduledPackageBulkUnauthorized) IsSuccess() bool
- func (o *CreateScheduledPackageBulkUnauthorized) String() string
- type CreateScheduledPackageBulkUnsupportedMediaType
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) Error() string
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsClientError() bool
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsCode(code int) bool
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsRedirect() bool
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsServerError() bool
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsSuccess() bool
- func (o *CreateScheduledPackageBulkUnsupportedMediaType) String() string
- type CreateScheduledPackageForbidden
- func (o *CreateScheduledPackageForbidden) Error() string
- func (o *CreateScheduledPackageForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageForbidden) IsClientError() bool
- func (o *CreateScheduledPackageForbidden) IsCode(code int) bool
- func (o *CreateScheduledPackageForbidden) IsRedirect() bool
- func (o *CreateScheduledPackageForbidden) IsServerError() bool
- func (o *CreateScheduledPackageForbidden) IsSuccess() bool
- func (o *CreateScheduledPackageForbidden) String() string
- type CreateScheduledPackageInternalServerError
- func (o *CreateScheduledPackageInternalServerError) Error() string
- func (o *CreateScheduledPackageInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageInternalServerError) IsClientError() bool
- func (o *CreateScheduledPackageInternalServerError) IsCode(code int) bool
- func (o *CreateScheduledPackageInternalServerError) IsRedirect() bool
- func (o *CreateScheduledPackageInternalServerError) IsServerError() bool
- func (o *CreateScheduledPackageInternalServerError) IsSuccess() bool
- func (o *CreateScheduledPackageInternalServerError) String() string
- type CreateScheduledPackageNotFound
- func (o *CreateScheduledPackageNotFound) Error() string
- func (o *CreateScheduledPackageNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageNotFound) IsClientError() bool
- func (o *CreateScheduledPackageNotFound) IsCode(code int) bool
- func (o *CreateScheduledPackageNotFound) IsRedirect() bool
- func (o *CreateScheduledPackageNotFound) IsServerError() bool
- func (o *CreateScheduledPackageNotFound) IsSuccess() bool
- func (o *CreateScheduledPackageNotFound) String() string
- type CreateScheduledPackageOK
- func (o *CreateScheduledPackageOK) Error() string
- func (o *CreateScheduledPackageOK) GetPayload() *easy_ship_2022_03_23_models.Package
- func (o *CreateScheduledPackageOK) IsClientError() bool
- func (o *CreateScheduledPackageOK) IsCode(code int) bool
- func (o *CreateScheduledPackageOK) IsRedirect() bool
- func (o *CreateScheduledPackageOK) IsServerError() bool
- func (o *CreateScheduledPackageOK) IsSuccess() bool
- func (o *CreateScheduledPackageOK) String() string
- type CreateScheduledPackageParams
- func NewCreateScheduledPackageParams() *CreateScheduledPackageParams
- func NewCreateScheduledPackageParamsWithContext(ctx context.Context) *CreateScheduledPackageParams
- func NewCreateScheduledPackageParamsWithHTTPClient(client *http.Client) *CreateScheduledPackageParams
- func NewCreateScheduledPackageParamsWithTimeout(timeout time.Duration) *CreateScheduledPackageParams
- func (o *CreateScheduledPackageParams) SetContext(ctx context.Context)
- func (o *CreateScheduledPackageParams) SetCreateScheduledPackageRequest(...)
- func (o *CreateScheduledPackageParams) SetDefaults()
- func (o *CreateScheduledPackageParams) SetHTTPClient(client *http.Client)
- func (o *CreateScheduledPackageParams) SetTimeout(timeout time.Duration)
- func (o *CreateScheduledPackageParams) WithContext(ctx context.Context) *CreateScheduledPackageParams
- func (o *CreateScheduledPackageParams) WithCreateScheduledPackageRequest(...) *CreateScheduledPackageParams
- func (o *CreateScheduledPackageParams) WithDefaults() *CreateScheduledPackageParams
- func (o *CreateScheduledPackageParams) WithHTTPClient(client *http.Client) *CreateScheduledPackageParams
- func (o *CreateScheduledPackageParams) WithTimeout(timeout time.Duration) *CreateScheduledPackageParams
- func (o *CreateScheduledPackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateScheduledPackageReader
- type CreateScheduledPackageRequestEntityTooLarge
- func (o *CreateScheduledPackageRequestEntityTooLarge) Error() string
- func (o *CreateScheduledPackageRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageRequestEntityTooLarge) IsClientError() bool
- func (o *CreateScheduledPackageRequestEntityTooLarge) IsCode(code int) bool
- func (o *CreateScheduledPackageRequestEntityTooLarge) IsRedirect() bool
- func (o *CreateScheduledPackageRequestEntityTooLarge) IsServerError() bool
- func (o *CreateScheduledPackageRequestEntityTooLarge) IsSuccess() bool
- func (o *CreateScheduledPackageRequestEntityTooLarge) String() string
- type CreateScheduledPackageServiceUnavailable
- func (o *CreateScheduledPackageServiceUnavailable) Error() string
- func (o *CreateScheduledPackageServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageServiceUnavailable) IsClientError() bool
- func (o *CreateScheduledPackageServiceUnavailable) IsCode(code int) bool
- func (o *CreateScheduledPackageServiceUnavailable) IsRedirect() bool
- func (o *CreateScheduledPackageServiceUnavailable) IsServerError() bool
- func (o *CreateScheduledPackageServiceUnavailable) IsSuccess() bool
- func (o *CreateScheduledPackageServiceUnavailable) String() string
- type CreateScheduledPackageTooManyRequests
- func (o *CreateScheduledPackageTooManyRequests) Error() string
- func (o *CreateScheduledPackageTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageTooManyRequests) IsClientError() bool
- func (o *CreateScheduledPackageTooManyRequests) IsCode(code int) bool
- func (o *CreateScheduledPackageTooManyRequests) IsRedirect() bool
- func (o *CreateScheduledPackageTooManyRequests) IsServerError() bool
- func (o *CreateScheduledPackageTooManyRequests) IsSuccess() bool
- func (o *CreateScheduledPackageTooManyRequests) String() string
- type CreateScheduledPackageUnauthorized
- func (o *CreateScheduledPackageUnauthorized) Error() string
- func (o *CreateScheduledPackageUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageUnauthorized) IsClientError() bool
- func (o *CreateScheduledPackageUnauthorized) IsCode(code int) bool
- func (o *CreateScheduledPackageUnauthorized) IsRedirect() bool
- func (o *CreateScheduledPackageUnauthorized) IsServerError() bool
- func (o *CreateScheduledPackageUnauthorized) IsSuccess() bool
- func (o *CreateScheduledPackageUnauthorized) String() string
- type CreateScheduledPackageUnsupportedMediaType
- func (o *CreateScheduledPackageUnsupportedMediaType) Error() string
- func (o *CreateScheduledPackageUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *CreateScheduledPackageUnsupportedMediaType) IsClientError() bool
- func (o *CreateScheduledPackageUnsupportedMediaType) IsCode(code int) bool
- func (o *CreateScheduledPackageUnsupportedMediaType) IsRedirect() bool
- func (o *CreateScheduledPackageUnsupportedMediaType) IsServerError() bool
- func (o *CreateScheduledPackageUnsupportedMediaType) IsSuccess() bool
- func (o *CreateScheduledPackageUnsupportedMediaType) String() string
- type GetScheduledPackageBadRequest
- func (o *GetScheduledPackageBadRequest) Error() string
- func (o *GetScheduledPackageBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageBadRequest) IsClientError() bool
- func (o *GetScheduledPackageBadRequest) IsCode(code int) bool
- func (o *GetScheduledPackageBadRequest) IsRedirect() bool
- func (o *GetScheduledPackageBadRequest) IsServerError() bool
- func (o *GetScheduledPackageBadRequest) IsSuccess() bool
- func (o *GetScheduledPackageBadRequest) String() string
- type GetScheduledPackageForbidden
- func (o *GetScheduledPackageForbidden) Error() string
- func (o *GetScheduledPackageForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageForbidden) IsClientError() bool
- func (o *GetScheduledPackageForbidden) IsCode(code int) bool
- func (o *GetScheduledPackageForbidden) IsRedirect() bool
- func (o *GetScheduledPackageForbidden) IsServerError() bool
- func (o *GetScheduledPackageForbidden) IsSuccess() bool
- func (o *GetScheduledPackageForbidden) String() string
- type GetScheduledPackageInternalServerError
- func (o *GetScheduledPackageInternalServerError) Error() string
- func (o *GetScheduledPackageInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageInternalServerError) IsClientError() bool
- func (o *GetScheduledPackageInternalServerError) IsCode(code int) bool
- func (o *GetScheduledPackageInternalServerError) IsRedirect() bool
- func (o *GetScheduledPackageInternalServerError) IsServerError() bool
- func (o *GetScheduledPackageInternalServerError) IsSuccess() bool
- func (o *GetScheduledPackageInternalServerError) String() string
- type GetScheduledPackageNotFound
- func (o *GetScheduledPackageNotFound) Error() string
- func (o *GetScheduledPackageNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageNotFound) IsClientError() bool
- func (o *GetScheduledPackageNotFound) IsCode(code int) bool
- func (o *GetScheduledPackageNotFound) IsRedirect() bool
- func (o *GetScheduledPackageNotFound) IsServerError() bool
- func (o *GetScheduledPackageNotFound) IsSuccess() bool
- func (o *GetScheduledPackageNotFound) String() string
- type GetScheduledPackageOK
- func (o *GetScheduledPackageOK) Error() string
- func (o *GetScheduledPackageOK) GetPayload() *easy_ship_2022_03_23_models.Package
- func (o *GetScheduledPackageOK) IsClientError() bool
- func (o *GetScheduledPackageOK) IsCode(code int) bool
- func (o *GetScheduledPackageOK) IsRedirect() bool
- func (o *GetScheduledPackageOK) IsServerError() bool
- func (o *GetScheduledPackageOK) IsSuccess() bool
- func (o *GetScheduledPackageOK) String() string
- type GetScheduledPackageParams
- func NewGetScheduledPackageParams() *GetScheduledPackageParams
- func NewGetScheduledPackageParamsWithContext(ctx context.Context) *GetScheduledPackageParams
- func NewGetScheduledPackageParamsWithHTTPClient(client *http.Client) *GetScheduledPackageParams
- func NewGetScheduledPackageParamsWithTimeout(timeout time.Duration) *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) SetAmazonOrderID(amazonOrderID string)
- func (o *GetScheduledPackageParams) SetContext(ctx context.Context)
- func (o *GetScheduledPackageParams) SetDefaults()
- func (o *GetScheduledPackageParams) SetHTTPClient(client *http.Client)
- func (o *GetScheduledPackageParams) SetMarketplaceID(marketplaceID string)
- func (o *GetScheduledPackageParams) SetTimeout(timeout time.Duration)
- func (o *GetScheduledPackageParams) WithAmazonOrderID(amazonOrderID string) *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) WithContext(ctx context.Context) *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) WithDefaults() *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) WithHTTPClient(client *http.Client) *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) WithMarketplaceID(marketplaceID string) *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) WithTimeout(timeout time.Duration) *GetScheduledPackageParams
- func (o *GetScheduledPackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScheduledPackageReader
- type GetScheduledPackageRequestEntityTooLarge
- func (o *GetScheduledPackageRequestEntityTooLarge) Error() string
- func (o *GetScheduledPackageRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageRequestEntityTooLarge) IsClientError() bool
- func (o *GetScheduledPackageRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetScheduledPackageRequestEntityTooLarge) IsRedirect() bool
- func (o *GetScheduledPackageRequestEntityTooLarge) IsServerError() bool
- func (o *GetScheduledPackageRequestEntityTooLarge) IsSuccess() bool
- func (o *GetScheduledPackageRequestEntityTooLarge) String() string
- type GetScheduledPackageServiceUnavailable
- func (o *GetScheduledPackageServiceUnavailable) Error() string
- func (o *GetScheduledPackageServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageServiceUnavailable) IsClientError() bool
- func (o *GetScheduledPackageServiceUnavailable) IsCode(code int) bool
- func (o *GetScheduledPackageServiceUnavailable) IsRedirect() bool
- func (o *GetScheduledPackageServiceUnavailable) IsServerError() bool
- func (o *GetScheduledPackageServiceUnavailable) IsSuccess() bool
- func (o *GetScheduledPackageServiceUnavailable) String() string
- type GetScheduledPackageTooManyRequests
- func (o *GetScheduledPackageTooManyRequests) Error() string
- func (o *GetScheduledPackageTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageTooManyRequests) IsClientError() bool
- func (o *GetScheduledPackageTooManyRequests) IsCode(code int) bool
- func (o *GetScheduledPackageTooManyRequests) IsRedirect() bool
- func (o *GetScheduledPackageTooManyRequests) IsServerError() bool
- func (o *GetScheduledPackageTooManyRequests) IsSuccess() bool
- func (o *GetScheduledPackageTooManyRequests) String() string
- type GetScheduledPackageUnauthorized
- func (o *GetScheduledPackageUnauthorized) Error() string
- func (o *GetScheduledPackageUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageUnauthorized) IsClientError() bool
- func (o *GetScheduledPackageUnauthorized) IsCode(code int) bool
- func (o *GetScheduledPackageUnauthorized) IsRedirect() bool
- func (o *GetScheduledPackageUnauthorized) IsServerError() bool
- func (o *GetScheduledPackageUnauthorized) IsSuccess() bool
- func (o *GetScheduledPackageUnauthorized) String() string
- type GetScheduledPackageUnsupportedMediaType
- func (o *GetScheduledPackageUnsupportedMediaType) Error() string
- func (o *GetScheduledPackageUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *GetScheduledPackageUnsupportedMediaType) IsClientError() bool
- func (o *GetScheduledPackageUnsupportedMediaType) IsCode(code int) bool
- func (o *GetScheduledPackageUnsupportedMediaType) IsRedirect() bool
- func (o *GetScheduledPackageUnsupportedMediaType) IsServerError() bool
- func (o *GetScheduledPackageUnsupportedMediaType) IsSuccess() bool
- func (o *GetScheduledPackageUnsupportedMediaType) String() string
- type ListHandoverSlotsBadRequest
- func (o *ListHandoverSlotsBadRequest) Error() string
- func (o *ListHandoverSlotsBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsBadRequest) IsClientError() bool
- func (o *ListHandoverSlotsBadRequest) IsCode(code int) bool
- func (o *ListHandoverSlotsBadRequest) IsRedirect() bool
- func (o *ListHandoverSlotsBadRequest) IsServerError() bool
- func (o *ListHandoverSlotsBadRequest) IsSuccess() bool
- func (o *ListHandoverSlotsBadRequest) String() string
- type ListHandoverSlotsForbidden
- func (o *ListHandoverSlotsForbidden) Error() string
- func (o *ListHandoverSlotsForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsForbidden) IsClientError() bool
- func (o *ListHandoverSlotsForbidden) IsCode(code int) bool
- func (o *ListHandoverSlotsForbidden) IsRedirect() bool
- func (o *ListHandoverSlotsForbidden) IsServerError() bool
- func (o *ListHandoverSlotsForbidden) IsSuccess() bool
- func (o *ListHandoverSlotsForbidden) String() string
- type ListHandoverSlotsInternalServerError
- func (o *ListHandoverSlotsInternalServerError) Error() string
- func (o *ListHandoverSlotsInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsInternalServerError) IsClientError() bool
- func (o *ListHandoverSlotsInternalServerError) IsCode(code int) bool
- func (o *ListHandoverSlotsInternalServerError) IsRedirect() bool
- func (o *ListHandoverSlotsInternalServerError) IsServerError() bool
- func (o *ListHandoverSlotsInternalServerError) IsSuccess() bool
- func (o *ListHandoverSlotsInternalServerError) String() string
- type ListHandoverSlotsNotFound
- func (o *ListHandoverSlotsNotFound) Error() string
- func (o *ListHandoverSlotsNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsNotFound) IsClientError() bool
- func (o *ListHandoverSlotsNotFound) IsCode(code int) bool
- func (o *ListHandoverSlotsNotFound) IsRedirect() bool
- func (o *ListHandoverSlotsNotFound) IsServerError() bool
- func (o *ListHandoverSlotsNotFound) IsSuccess() bool
- func (o *ListHandoverSlotsNotFound) String() string
- type ListHandoverSlotsOK
- func (o *ListHandoverSlotsOK) Error() string
- func (o *ListHandoverSlotsOK) GetPayload() *easy_ship_2022_03_23_models.ListHandoverSlotsResponse
- func (o *ListHandoverSlotsOK) IsClientError() bool
- func (o *ListHandoverSlotsOK) IsCode(code int) bool
- func (o *ListHandoverSlotsOK) IsRedirect() bool
- func (o *ListHandoverSlotsOK) IsServerError() bool
- func (o *ListHandoverSlotsOK) IsSuccess() bool
- func (o *ListHandoverSlotsOK) String() string
- type ListHandoverSlotsParams
- func NewListHandoverSlotsParams() *ListHandoverSlotsParams
- func NewListHandoverSlotsParamsWithContext(ctx context.Context) *ListHandoverSlotsParams
- func NewListHandoverSlotsParamsWithHTTPClient(client *http.Client) *ListHandoverSlotsParams
- func NewListHandoverSlotsParamsWithTimeout(timeout time.Duration) *ListHandoverSlotsParams
- func (o *ListHandoverSlotsParams) SetContext(ctx context.Context)
- func (o *ListHandoverSlotsParams) SetDefaults()
- func (o *ListHandoverSlotsParams) SetHTTPClient(client *http.Client)
- func (o *ListHandoverSlotsParams) SetListHandoverSlotsRequest(listHandoverSlotsRequest *easy_ship_2022_03_23_models.ListHandoverSlotsRequest)
- func (o *ListHandoverSlotsParams) SetTimeout(timeout time.Duration)
- func (o *ListHandoverSlotsParams) WithContext(ctx context.Context) *ListHandoverSlotsParams
- func (o *ListHandoverSlotsParams) WithDefaults() *ListHandoverSlotsParams
- func (o *ListHandoverSlotsParams) WithHTTPClient(client *http.Client) *ListHandoverSlotsParams
- func (o *ListHandoverSlotsParams) WithListHandoverSlotsRequest(listHandoverSlotsRequest *easy_ship_2022_03_23_models.ListHandoverSlotsRequest) *ListHandoverSlotsParams
- func (o *ListHandoverSlotsParams) WithTimeout(timeout time.Duration) *ListHandoverSlotsParams
- func (o *ListHandoverSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListHandoverSlotsReader
- type ListHandoverSlotsRequestEntityTooLarge
- func (o *ListHandoverSlotsRequestEntityTooLarge) Error() string
- func (o *ListHandoverSlotsRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsRequestEntityTooLarge) IsClientError() bool
- func (o *ListHandoverSlotsRequestEntityTooLarge) IsCode(code int) bool
- func (o *ListHandoverSlotsRequestEntityTooLarge) IsRedirect() bool
- func (o *ListHandoverSlotsRequestEntityTooLarge) IsServerError() bool
- func (o *ListHandoverSlotsRequestEntityTooLarge) IsSuccess() bool
- func (o *ListHandoverSlotsRequestEntityTooLarge) String() string
- type ListHandoverSlotsServiceUnavailable
- func (o *ListHandoverSlotsServiceUnavailable) Error() string
- func (o *ListHandoverSlotsServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsServiceUnavailable) IsClientError() bool
- func (o *ListHandoverSlotsServiceUnavailable) IsCode(code int) bool
- func (o *ListHandoverSlotsServiceUnavailable) IsRedirect() bool
- func (o *ListHandoverSlotsServiceUnavailable) IsServerError() bool
- func (o *ListHandoverSlotsServiceUnavailable) IsSuccess() bool
- func (o *ListHandoverSlotsServiceUnavailable) String() string
- type ListHandoverSlotsTooManyRequests
- func (o *ListHandoverSlotsTooManyRequests) Error() string
- func (o *ListHandoverSlotsTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsTooManyRequests) IsClientError() bool
- func (o *ListHandoverSlotsTooManyRequests) IsCode(code int) bool
- func (o *ListHandoverSlotsTooManyRequests) IsRedirect() bool
- func (o *ListHandoverSlotsTooManyRequests) IsServerError() bool
- func (o *ListHandoverSlotsTooManyRequests) IsSuccess() bool
- func (o *ListHandoverSlotsTooManyRequests) String() string
- type ListHandoverSlotsUnauthorized
- func (o *ListHandoverSlotsUnauthorized) Error() string
- func (o *ListHandoverSlotsUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsUnauthorized) IsClientError() bool
- func (o *ListHandoverSlotsUnauthorized) IsCode(code int) bool
- func (o *ListHandoverSlotsUnauthorized) IsRedirect() bool
- func (o *ListHandoverSlotsUnauthorized) IsServerError() bool
- func (o *ListHandoverSlotsUnauthorized) IsSuccess() bool
- func (o *ListHandoverSlotsUnauthorized) String() string
- type ListHandoverSlotsUnsupportedMediaType
- func (o *ListHandoverSlotsUnsupportedMediaType) Error() string
- func (o *ListHandoverSlotsUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *ListHandoverSlotsUnsupportedMediaType) IsClientError() bool
- func (o *ListHandoverSlotsUnsupportedMediaType) IsCode(code int) bool
- func (o *ListHandoverSlotsUnsupportedMediaType) IsRedirect() bool
- func (o *ListHandoverSlotsUnsupportedMediaType) IsServerError() bool
- func (o *ListHandoverSlotsUnsupportedMediaType) IsSuccess() bool
- func (o *ListHandoverSlotsUnsupportedMediaType) String() string
- type UpdateScheduledPackagesBadRequest
- func (o *UpdateScheduledPackagesBadRequest) Error() string
- func (o *UpdateScheduledPackagesBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesBadRequest) IsClientError() bool
- func (o *UpdateScheduledPackagesBadRequest) IsCode(code int) bool
- func (o *UpdateScheduledPackagesBadRequest) IsRedirect() bool
- func (o *UpdateScheduledPackagesBadRequest) IsServerError() bool
- func (o *UpdateScheduledPackagesBadRequest) IsSuccess() bool
- func (o *UpdateScheduledPackagesBadRequest) String() string
- type UpdateScheduledPackagesForbidden
- func (o *UpdateScheduledPackagesForbidden) Error() string
- func (o *UpdateScheduledPackagesForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesForbidden) IsClientError() bool
- func (o *UpdateScheduledPackagesForbidden) IsCode(code int) bool
- func (o *UpdateScheduledPackagesForbidden) IsRedirect() bool
- func (o *UpdateScheduledPackagesForbidden) IsServerError() bool
- func (o *UpdateScheduledPackagesForbidden) IsSuccess() bool
- func (o *UpdateScheduledPackagesForbidden) String() string
- type UpdateScheduledPackagesInternalServerError
- func (o *UpdateScheduledPackagesInternalServerError) Error() string
- func (o *UpdateScheduledPackagesInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesInternalServerError) IsClientError() bool
- func (o *UpdateScheduledPackagesInternalServerError) IsCode(code int) bool
- func (o *UpdateScheduledPackagesInternalServerError) IsRedirect() bool
- func (o *UpdateScheduledPackagesInternalServerError) IsServerError() bool
- func (o *UpdateScheduledPackagesInternalServerError) IsSuccess() bool
- func (o *UpdateScheduledPackagesInternalServerError) String() string
- type UpdateScheduledPackagesNotFound
- func (o *UpdateScheduledPackagesNotFound) Error() string
- func (o *UpdateScheduledPackagesNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesNotFound) IsClientError() bool
- func (o *UpdateScheduledPackagesNotFound) IsCode(code int) bool
- func (o *UpdateScheduledPackagesNotFound) IsRedirect() bool
- func (o *UpdateScheduledPackagesNotFound) IsServerError() bool
- func (o *UpdateScheduledPackagesNotFound) IsSuccess() bool
- func (o *UpdateScheduledPackagesNotFound) String() string
- type UpdateScheduledPackagesOK
- func (o *UpdateScheduledPackagesOK) Error() string
- func (o *UpdateScheduledPackagesOK) GetPayload() *easy_ship_2022_03_23_models.Packages
- func (o *UpdateScheduledPackagesOK) IsClientError() bool
- func (o *UpdateScheduledPackagesOK) IsCode(code int) bool
- func (o *UpdateScheduledPackagesOK) IsRedirect() bool
- func (o *UpdateScheduledPackagesOK) IsServerError() bool
- func (o *UpdateScheduledPackagesOK) IsSuccess() bool
- func (o *UpdateScheduledPackagesOK) String() string
- type UpdateScheduledPackagesParams
- func NewUpdateScheduledPackagesParams() *UpdateScheduledPackagesParams
- func NewUpdateScheduledPackagesParamsWithContext(ctx context.Context) *UpdateScheduledPackagesParams
- func NewUpdateScheduledPackagesParamsWithHTTPClient(client *http.Client) *UpdateScheduledPackagesParams
- func NewUpdateScheduledPackagesParamsWithTimeout(timeout time.Duration) *UpdateScheduledPackagesParams
- func (o *UpdateScheduledPackagesParams) SetContext(ctx context.Context)
- func (o *UpdateScheduledPackagesParams) SetDefaults()
- func (o *UpdateScheduledPackagesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScheduledPackagesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScheduledPackagesParams) SetUpdateScheduledPackagesRequest(...)
- func (o *UpdateScheduledPackagesParams) WithContext(ctx context.Context) *UpdateScheduledPackagesParams
- func (o *UpdateScheduledPackagesParams) WithDefaults() *UpdateScheduledPackagesParams
- func (o *UpdateScheduledPackagesParams) WithHTTPClient(client *http.Client) *UpdateScheduledPackagesParams
- func (o *UpdateScheduledPackagesParams) WithTimeout(timeout time.Duration) *UpdateScheduledPackagesParams
- func (o *UpdateScheduledPackagesParams) WithUpdateScheduledPackagesRequest(...) *UpdateScheduledPackagesParams
- func (o *UpdateScheduledPackagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScheduledPackagesReader
- type UpdateScheduledPackagesRequestEntityTooLarge
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) Error() string
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsClientError() bool
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsCode(code int) bool
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsRedirect() bool
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsServerError() bool
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsSuccess() bool
- func (o *UpdateScheduledPackagesRequestEntityTooLarge) String() string
- type UpdateScheduledPackagesServiceUnavailable
- func (o *UpdateScheduledPackagesServiceUnavailable) Error() string
- func (o *UpdateScheduledPackagesServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesServiceUnavailable) IsClientError() bool
- func (o *UpdateScheduledPackagesServiceUnavailable) IsCode(code int) bool
- func (o *UpdateScheduledPackagesServiceUnavailable) IsRedirect() bool
- func (o *UpdateScheduledPackagesServiceUnavailable) IsServerError() bool
- func (o *UpdateScheduledPackagesServiceUnavailable) IsSuccess() bool
- func (o *UpdateScheduledPackagesServiceUnavailable) String() string
- type UpdateScheduledPackagesTooManyRequests
- func (o *UpdateScheduledPackagesTooManyRequests) Error() string
- func (o *UpdateScheduledPackagesTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesTooManyRequests) IsClientError() bool
- func (o *UpdateScheduledPackagesTooManyRequests) IsCode(code int) bool
- func (o *UpdateScheduledPackagesTooManyRequests) IsRedirect() bool
- func (o *UpdateScheduledPackagesTooManyRequests) IsServerError() bool
- func (o *UpdateScheduledPackagesTooManyRequests) IsSuccess() bool
- func (o *UpdateScheduledPackagesTooManyRequests) String() string
- type UpdateScheduledPackagesUnauthorized
- func (o *UpdateScheduledPackagesUnauthorized) Error() string
- func (o *UpdateScheduledPackagesUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesUnauthorized) IsClientError() bool
- func (o *UpdateScheduledPackagesUnauthorized) IsCode(code int) bool
- func (o *UpdateScheduledPackagesUnauthorized) IsRedirect() bool
- func (o *UpdateScheduledPackagesUnauthorized) IsServerError() bool
- func (o *UpdateScheduledPackagesUnauthorized) IsSuccess() bool
- func (o *UpdateScheduledPackagesUnauthorized) String() string
- type UpdateScheduledPackagesUnsupportedMediaType
- func (o *UpdateScheduledPackagesUnsupportedMediaType) Error() string
- func (o *UpdateScheduledPackagesUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
- func (o *UpdateScheduledPackagesUnsupportedMediaType) IsClientError() bool
- func (o *UpdateScheduledPackagesUnsupportedMediaType) IsCode(code int) bool
- func (o *UpdateScheduledPackagesUnsupportedMediaType) IsRedirect() bool
- func (o *UpdateScheduledPackagesUnsupportedMediaType) IsServerError() bool
- func (o *UpdateScheduledPackagesUnsupportedMediaType) IsSuccess() bool
- func (o *UpdateScheduledPackagesUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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 (o *CreateScheduledPackageBadRequest) Error() string
func (*CreateScheduledPackageBadRequest) GetPayload ¶
func (o *CreateScheduledPackageBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageBadRequest) String() 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 (o *CreateScheduledPackageBulkBadRequest) Error() string
func (*CreateScheduledPackageBulkBadRequest) GetPayload ¶
func (o *CreateScheduledPackageBulkBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageBulkBadRequest) IsCode(code int) bool
IsCode returns true when this create scheduled package bulk bad request response a status code equal to that given
func (*CreateScheduledPackageBulkBadRequest) IsRedirect ¶
func (o *CreateScheduledPackageBulkBadRequest) IsRedirect() bool
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 ¶
func (o *CreateScheduledPackageBulkBadRequest) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk bad request response has a 2xx status code
func (*CreateScheduledPackageBulkBadRequest) String ¶
func (o *CreateScheduledPackageBulkBadRequest) String() 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 (o *CreateScheduledPackageBulkForbidden) Error() string
func (*CreateScheduledPackageBulkForbidden) GetPayload ¶
func (o *CreateScheduledPackageBulkForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageBulkForbidden) IsCode(code int) bool
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 ¶
func (o *CreateScheduledPackageBulkForbidden) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk forbidden response has a 2xx status code
func (*CreateScheduledPackageBulkForbidden) String ¶
func (o *CreateScheduledPackageBulkForbidden) String() 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 (o *CreateScheduledPackageBulkInternalServerError) Error() string
func (*CreateScheduledPackageBulkInternalServerError) GetPayload ¶
func (o *CreateScheduledPackageBulkInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageBulkInternalServerError) IsClientError ¶
func (o *CreateScheduledPackageBulkInternalServerError) IsClientError() bool
IsClientError returns true when this create scheduled package bulk internal server error response has a 4xx status code
func (*CreateScheduledPackageBulkInternalServerError) IsCode ¶
func (o *CreateScheduledPackageBulkInternalServerError) IsCode(code int) bool
IsCode returns true when this create scheduled package bulk internal server error response a status code equal to that given
func (*CreateScheduledPackageBulkInternalServerError) IsRedirect ¶
func (o *CreateScheduledPackageBulkInternalServerError) IsRedirect() bool
IsRedirect returns true when this create scheduled package bulk internal server error response has a 3xx status code
func (*CreateScheduledPackageBulkInternalServerError) IsServerError ¶
func (o *CreateScheduledPackageBulkInternalServerError) IsServerError() bool
IsServerError returns true when this create scheduled package bulk internal server error response has a 5xx status code
func (*CreateScheduledPackageBulkInternalServerError) IsSuccess ¶
func (o *CreateScheduledPackageBulkInternalServerError) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk internal server error response has a 2xx status code
func (*CreateScheduledPackageBulkInternalServerError) String ¶
func (o *CreateScheduledPackageBulkInternalServerError) String() 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 (o *CreateScheduledPackageBulkNotFound) Error() string
func (*CreateScheduledPackageBulkNotFound) GetPayload ¶
func (o *CreateScheduledPackageBulkNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageBulkNotFound) IsCode(code int) bool
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 ¶
func (o *CreateScheduledPackageBulkNotFound) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk not found response has a 2xx status code
func (*CreateScheduledPackageBulkNotFound) String ¶
func (o *CreateScheduledPackageBulkNotFound) String() 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 (o *CreateScheduledPackageBulkOK) Error() string
func (*CreateScheduledPackageBulkOK) GetPayload ¶
func (o *CreateScheduledPackageBulkOK) GetPayload() *easy_ship_2022_03_23_models.CreateScheduledPackagesResponse
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 ¶
func (o *CreateScheduledPackageBulkOK) String() 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 ¶
func (o *CreateScheduledPackageBulkParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateScheduledPackageBulkParams) WithContext(ctx context.Context) *CreateScheduledPackageBulkParams
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 ¶
func (o *CreateScheduledPackageBulkParams) WithDefaults() *CreateScheduledPackageBulkParams
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 ¶
func (o *CreateScheduledPackageBulkParams) WithHTTPClient(client *http.Client) *CreateScheduledPackageBulkParams
WithHTTPClient adds the HTTPClient to the create scheduled package bulk params
func (*CreateScheduledPackageBulkParams) WithTimeout ¶
func (o *CreateScheduledPackageBulkParams) WithTimeout(timeout time.Duration) *CreateScheduledPackageBulkParams
WithTimeout adds the timeout to the create scheduled package bulk params
func (*CreateScheduledPackageBulkParams) WriteToRequest ¶
func (o *CreateScheduledPackageBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateScheduledPackageBulkRequestEntityTooLarge) Error() string
func (*CreateScheduledPackageBulkRequestEntityTooLarge) GetPayload ¶ added in v0.24.10
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageBulkRequestEntityTooLarge) IsClientError ¶ added in v0.24.10
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsClientError() bool
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
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsCode(code int) bool
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
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsRedirect() bool
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
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsServerError() bool
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
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) IsSuccess() bool
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
func (o *CreateScheduledPackageBulkRequestEntityTooLarge) String() string
type CreateScheduledPackageBulkServiceUnavailable ¶
type CreateScheduledPackageBulkServiceUnavailable struct { string }XAmznRequestID
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 (o *CreateScheduledPackageBulkServiceUnavailable) Error() string
func (*CreateScheduledPackageBulkServiceUnavailable) GetPayload ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageBulkServiceUnavailable) IsClientError ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) IsClientError() bool
IsClientError returns true when this create scheduled package bulk service unavailable response has a 4xx status code
func (*CreateScheduledPackageBulkServiceUnavailable) IsCode ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create scheduled package bulk service unavailable response a status code equal to that given
func (*CreateScheduledPackageBulkServiceUnavailable) IsRedirect ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create scheduled package bulk service unavailable response has a 3xx status code
func (*CreateScheduledPackageBulkServiceUnavailable) IsServerError ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) IsServerError() bool
IsServerError returns true when this create scheduled package bulk service unavailable response has a 5xx status code
func (*CreateScheduledPackageBulkServiceUnavailable) IsSuccess ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk service unavailable response has a 2xx status code
func (*CreateScheduledPackageBulkServiceUnavailable) String ¶
func (o *CreateScheduledPackageBulkServiceUnavailable) String() 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 (o *CreateScheduledPackageBulkTooManyRequests) Error() string
func (*CreateScheduledPackageBulkTooManyRequests) GetPayload ¶
func (o *CreateScheduledPackageBulkTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageBulkTooManyRequests) IsClientError ¶
func (o *CreateScheduledPackageBulkTooManyRequests) IsClientError() bool
IsClientError returns true when this create scheduled package bulk too many requests response has a 4xx status code
func (*CreateScheduledPackageBulkTooManyRequests) IsCode ¶
func (o *CreateScheduledPackageBulkTooManyRequests) IsCode(code int) bool
IsCode returns true when this create scheduled package bulk too many requests response a status code equal to that given
func (*CreateScheduledPackageBulkTooManyRequests) IsRedirect ¶
func (o *CreateScheduledPackageBulkTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create scheduled package bulk too many requests response has a 3xx status code
func (*CreateScheduledPackageBulkTooManyRequests) IsServerError ¶
func (o *CreateScheduledPackageBulkTooManyRequests) IsServerError() bool
IsServerError returns true when this create scheduled package bulk too many requests response has a 5xx status code
func (*CreateScheduledPackageBulkTooManyRequests) IsSuccess ¶
func (o *CreateScheduledPackageBulkTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk too many requests response has a 2xx status code
func (*CreateScheduledPackageBulkTooManyRequests) String ¶
func (o *CreateScheduledPackageBulkTooManyRequests) String() string
type CreateScheduledPackageBulkUnauthorized ¶
type CreateScheduledPackageBulkUnauthorized struct { string }XAmznRequestID
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 (o *CreateScheduledPackageBulkUnauthorized) Error() string
func (*CreateScheduledPackageBulkUnauthorized) GetPayload ¶
func (o *CreateScheduledPackageBulkUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageBulkUnauthorized) IsCode(code int) bool
IsCode returns true when this create scheduled package bulk unauthorized response a status code equal to that given
func (*CreateScheduledPackageBulkUnauthorized) IsRedirect ¶
func (o *CreateScheduledPackageBulkUnauthorized) IsRedirect() bool
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 ¶
func (o *CreateScheduledPackageBulkUnauthorized) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk unauthorized response has a 2xx status code
func (*CreateScheduledPackageBulkUnauthorized) String ¶
func (o *CreateScheduledPackageBulkUnauthorized) String() 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 (o *CreateScheduledPackageBulkUnsupportedMediaType) Error() string
func (*CreateScheduledPackageBulkUnsupportedMediaType) GetPayload ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageBulkUnsupportedMediaType) IsClientError ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this create scheduled package bulk unsupported media type response has a 4xx status code
func (*CreateScheduledPackageBulkUnsupportedMediaType) IsCode ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this create scheduled package bulk unsupported media type response a status code equal to that given
func (*CreateScheduledPackageBulkUnsupportedMediaType) IsRedirect ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this create scheduled package bulk unsupported media type response has a 3xx status code
func (*CreateScheduledPackageBulkUnsupportedMediaType) IsServerError ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this create scheduled package bulk unsupported media type response has a 5xx status code
func (*CreateScheduledPackageBulkUnsupportedMediaType) IsSuccess ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this create scheduled package bulk unsupported media type response has a 2xx status code
func (*CreateScheduledPackageBulkUnsupportedMediaType) String ¶
func (o *CreateScheduledPackageBulkUnsupportedMediaType) String() 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 (o *CreateScheduledPackageForbidden) Error() string
func (*CreateScheduledPackageForbidden) GetPayload ¶
func (o *CreateScheduledPackageForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageForbidden) String() 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 (o *CreateScheduledPackageInternalServerError) Error() string
func (*CreateScheduledPackageInternalServerError) GetPayload ¶
func (o *CreateScheduledPackageInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageInternalServerError) IsClientError ¶
func (o *CreateScheduledPackageInternalServerError) IsClientError() bool
IsClientError returns true when this create scheduled package internal server error response has a 4xx status code
func (*CreateScheduledPackageInternalServerError) IsCode ¶
func (o *CreateScheduledPackageInternalServerError) IsCode(code int) bool
IsCode returns true when this create scheduled package internal server error response a status code equal to that given
func (*CreateScheduledPackageInternalServerError) IsRedirect ¶
func (o *CreateScheduledPackageInternalServerError) IsRedirect() bool
IsRedirect returns true when this create scheduled package internal server error response has a 3xx status code
func (*CreateScheduledPackageInternalServerError) IsServerError ¶
func (o *CreateScheduledPackageInternalServerError) IsServerError() bool
IsServerError returns true when this create scheduled package internal server error response has a 5xx status code
func (*CreateScheduledPackageInternalServerError) IsSuccess ¶
func (o *CreateScheduledPackageInternalServerError) IsSuccess() bool
IsSuccess returns true when this create scheduled package internal server error response has a 2xx status code
func (*CreateScheduledPackageInternalServerError) String ¶
func (o *CreateScheduledPackageInternalServerError) String() 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 (o *CreateScheduledPackageNotFound) Error() string
func (*CreateScheduledPackageNotFound) GetPayload ¶
func (o *CreateScheduledPackageNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageNotFound) String() 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 (o *CreateScheduledPackageOK) GetPayload() *easy_ship_2022_03_23_models.Package
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 ¶
func (o *CreateScheduledPackageParams) WithContext(ctx context.Context) *CreateScheduledPackageParams
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 ¶
func (o *CreateScheduledPackageParams) WithDefaults() *CreateScheduledPackageParams
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 ¶
func (o *CreateScheduledPackageParams) WithHTTPClient(client *http.Client) *CreateScheduledPackageParams
WithHTTPClient adds the HTTPClient to the create scheduled package params
func (*CreateScheduledPackageParams) WithTimeout ¶
func (o *CreateScheduledPackageParams) WithTimeout(timeout time.Duration) *CreateScheduledPackageParams
WithTimeout adds the timeout to the create scheduled package params
func (*CreateScheduledPackageParams) WriteToRequest ¶
func (o *CreateScheduledPackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateScheduledPackageRequestEntityTooLarge) Error() string
func (*CreateScheduledPackageRequestEntityTooLarge) GetPayload ¶ added in v0.24.10
func (o *CreateScheduledPackageRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageRequestEntityTooLarge) IsClientError ¶ added in v0.24.10
func (o *CreateScheduledPackageRequestEntityTooLarge) IsClientError() bool
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
func (o *CreateScheduledPackageRequestEntityTooLarge) IsCode(code int) bool
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
func (o *CreateScheduledPackageRequestEntityTooLarge) IsRedirect() bool
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
func (o *CreateScheduledPackageRequestEntityTooLarge) IsServerError() bool
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
func (o *CreateScheduledPackageRequestEntityTooLarge) IsSuccess() bool
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
func (o *CreateScheduledPackageRequestEntityTooLarge) String() string
type CreateScheduledPackageServiceUnavailable ¶
type CreateScheduledPackageServiceUnavailable struct { string }XAmznRequestID
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 (o *CreateScheduledPackageServiceUnavailable) Error() string
func (*CreateScheduledPackageServiceUnavailable) GetPayload ¶
func (o *CreateScheduledPackageServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageServiceUnavailable) IsClientError ¶
func (o *CreateScheduledPackageServiceUnavailable) IsClientError() bool
IsClientError returns true when this create scheduled package service unavailable response has a 4xx status code
func (*CreateScheduledPackageServiceUnavailable) IsCode ¶
func (o *CreateScheduledPackageServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create scheduled package service unavailable response a status code equal to that given
func (*CreateScheduledPackageServiceUnavailable) IsRedirect ¶
func (o *CreateScheduledPackageServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create scheduled package service unavailable response has a 3xx status code
func (*CreateScheduledPackageServiceUnavailable) IsServerError ¶
func (o *CreateScheduledPackageServiceUnavailable) IsServerError() bool
IsServerError returns true when this create scheduled package service unavailable response has a 5xx status code
func (*CreateScheduledPackageServiceUnavailable) IsSuccess ¶
func (o *CreateScheduledPackageServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create scheduled package service unavailable response has a 2xx status code
func (*CreateScheduledPackageServiceUnavailable) String ¶
func (o *CreateScheduledPackageServiceUnavailable) String() 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 (o *CreateScheduledPackageTooManyRequests) Error() string
func (*CreateScheduledPackageTooManyRequests) GetPayload ¶
func (o *CreateScheduledPackageTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageTooManyRequests) IsCode(code int) bool
IsCode returns true when this create scheduled package too many requests response a status code equal to that given
func (*CreateScheduledPackageTooManyRequests) IsRedirect ¶
func (o *CreateScheduledPackageTooManyRequests) IsRedirect() bool
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 ¶
func (o *CreateScheduledPackageTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create scheduled package too many requests response has a 2xx status code
func (*CreateScheduledPackageTooManyRequests) String ¶
func (o *CreateScheduledPackageTooManyRequests) String() string
type CreateScheduledPackageUnauthorized ¶
type CreateScheduledPackageUnauthorized struct { string }XAmznRequestID
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 (o *CreateScheduledPackageUnauthorized) Error() string
func (*CreateScheduledPackageUnauthorized) GetPayload ¶
func (o *CreateScheduledPackageUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *CreateScheduledPackageUnauthorized) IsCode(code int) bool
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 ¶
func (o *CreateScheduledPackageUnauthorized) IsSuccess() bool
IsSuccess returns true when this create scheduled package unauthorized response has a 2xx status code
func (*CreateScheduledPackageUnauthorized) String ¶
func (o *CreateScheduledPackageUnauthorized) String() 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 (o *CreateScheduledPackageUnsupportedMediaType) Error() string
func (*CreateScheduledPackageUnsupportedMediaType) GetPayload ¶
func (o *CreateScheduledPackageUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*CreateScheduledPackageUnsupportedMediaType) IsClientError ¶
func (o *CreateScheduledPackageUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this create scheduled package unsupported media type response has a 4xx status code
func (*CreateScheduledPackageUnsupportedMediaType) IsCode ¶
func (o *CreateScheduledPackageUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this create scheduled package unsupported media type response a status code equal to that given
func (*CreateScheduledPackageUnsupportedMediaType) IsRedirect ¶
func (o *CreateScheduledPackageUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this create scheduled package unsupported media type response has a 3xx status code
func (*CreateScheduledPackageUnsupportedMediaType) IsServerError ¶
func (o *CreateScheduledPackageUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this create scheduled package unsupported media type response has a 5xx status code
func (*CreateScheduledPackageUnsupportedMediaType) IsSuccess ¶
func (o *CreateScheduledPackageUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this create scheduled package unsupported media type response has a 2xx status code
func (*CreateScheduledPackageUnsupportedMediaType) String ¶
func (o *CreateScheduledPackageUnsupportedMediaType) String() 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 (o *GetScheduledPackageBadRequest) Error() string
func (*GetScheduledPackageBadRequest) GetPayload ¶
func (o *GetScheduledPackageBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageBadRequest) String() 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 (o *GetScheduledPackageForbidden) Error() string
func (*GetScheduledPackageForbidden) GetPayload ¶
func (o *GetScheduledPackageForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageForbidden) String() 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 (o *GetScheduledPackageInternalServerError) Error() string
func (*GetScheduledPackageInternalServerError) GetPayload ¶
func (o *GetScheduledPackageInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageInternalServerError) IsCode(code int) bool
IsCode returns true when this get scheduled package internal server error response a status code equal to that given
func (*GetScheduledPackageInternalServerError) IsRedirect ¶
func (o *GetScheduledPackageInternalServerError) IsRedirect() bool
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 ¶
func (o *GetScheduledPackageInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scheduled package internal server error response has a 2xx status code
func (*GetScheduledPackageInternalServerError) String ¶
func (o *GetScheduledPackageInternalServerError) String() 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 (o *GetScheduledPackageNotFound) Error() string
func (*GetScheduledPackageNotFound) GetPayload ¶
func (o *GetScheduledPackageNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 (o *GetScheduledPackageOK) GetPayload() *easy_ship_2022_03_23_models.Package
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 ¶
func (o *GetScheduledPackageParams) WithContext(ctx context.Context) *GetScheduledPackageParams
WithContext adds the context to the get scheduled package params
func (*GetScheduledPackageParams) WithDefaults ¶
func (o *GetScheduledPackageParams) WithDefaults() *GetScheduledPackageParams
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 ¶
func (o *GetScheduledPackageParams) WithTimeout(timeout time.Duration) *GetScheduledPackageParams
WithTimeout adds the timeout to the get scheduled package params
func (*GetScheduledPackageParams) WriteToRequest ¶
func (o *GetScheduledPackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetScheduledPackageRequestEntityTooLarge) Error() string
func (*GetScheduledPackageRequestEntityTooLarge) GetPayload ¶ added in v0.24.10
func (o *GetScheduledPackageRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*GetScheduledPackageRequestEntityTooLarge) IsClientError ¶ added in v0.24.10
func (o *GetScheduledPackageRequestEntityTooLarge) IsClientError() bool
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
func (o *GetScheduledPackageRequestEntityTooLarge) IsCode(code int) bool
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
func (o *GetScheduledPackageRequestEntityTooLarge) IsRedirect() bool
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
func (o *GetScheduledPackageRequestEntityTooLarge) IsServerError() bool
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
func (o *GetScheduledPackageRequestEntityTooLarge) IsSuccess() bool
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
func (o *GetScheduledPackageRequestEntityTooLarge) String() string
type GetScheduledPackageServiceUnavailable ¶
type GetScheduledPackageServiceUnavailable struct { string }XAmznRequestID
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 (o *GetScheduledPackageServiceUnavailable) Error() string
func (*GetScheduledPackageServiceUnavailable) GetPayload ¶
func (o *GetScheduledPackageServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get scheduled package service unavailable response a status code equal to that given
func (*GetScheduledPackageServiceUnavailable) IsRedirect ¶
func (o *GetScheduledPackageServiceUnavailable) IsRedirect() bool
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 ¶
func (o *GetScheduledPackageServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get scheduled package service unavailable response has a 2xx status code
func (*GetScheduledPackageServiceUnavailable) String ¶
func (o *GetScheduledPackageServiceUnavailable) String() 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 (o *GetScheduledPackageTooManyRequests) Error() string
func (*GetScheduledPackageTooManyRequests) GetPayload ¶
func (o *GetScheduledPackageTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetScheduledPackageTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get scheduled package too many requests response has a 2xx status code
func (*GetScheduledPackageTooManyRequests) String ¶
func (o *GetScheduledPackageTooManyRequests) String() string
type GetScheduledPackageUnauthorized ¶
type GetScheduledPackageUnauthorized struct { string }XAmznRequestID
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 (o *GetScheduledPackageUnauthorized) Error() string
func (*GetScheduledPackageUnauthorized) GetPayload ¶
func (o *GetScheduledPackageUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageUnauthorized) String() 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 (o *GetScheduledPackageUnsupportedMediaType) Error() string
func (*GetScheduledPackageUnsupportedMediaType) GetPayload ¶
func (o *GetScheduledPackageUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *GetScheduledPackageUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get scheduled package unsupported media type response a status code equal to that given
func (*GetScheduledPackageUnsupportedMediaType) IsRedirect ¶
func (o *GetScheduledPackageUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *GetScheduledPackageUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get scheduled package unsupported media type response has a 2xx status code
func (*GetScheduledPackageUnsupportedMediaType) String ¶
func (o *GetScheduledPackageUnsupportedMediaType) String() 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 (o *ListHandoverSlotsBadRequest) Error() string
func (*ListHandoverSlotsBadRequest) GetPayload ¶
func (o *ListHandoverSlotsBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 (o *ListHandoverSlotsForbidden) Error() string
func (*ListHandoverSlotsForbidden) GetPayload ¶
func (o *ListHandoverSlotsForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 (o *ListHandoverSlotsInternalServerError) Error() string
func (*ListHandoverSlotsInternalServerError) GetPayload ¶
func (o *ListHandoverSlotsInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *ListHandoverSlotsInternalServerError) IsCode(code int) bool
IsCode returns true when this list handover slots internal server error response a status code equal to that given
func (*ListHandoverSlotsInternalServerError) IsRedirect ¶
func (o *ListHandoverSlotsInternalServerError) IsRedirect() bool
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 ¶
func (o *ListHandoverSlotsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list handover slots internal server error response has a 2xx status code
func (*ListHandoverSlotsInternalServerError) String ¶
func (o *ListHandoverSlotsInternalServerError) String() 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 (o *ListHandoverSlotsNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 (o *ListHandoverSlotsOK) GetPayload() *easy_ship_2022_03_23_models.ListHandoverSlotsResponse
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 ¶
func (o *ListHandoverSlotsParams) WithContext(ctx context.Context) *ListHandoverSlotsParams
WithContext adds the context to the list handover slots params
func (*ListHandoverSlotsParams) WithDefaults ¶
func (o *ListHandoverSlotsParams) WithDefaults() *ListHandoverSlotsParams
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 ¶
func (o *ListHandoverSlotsParams) WithTimeout(timeout time.Duration) *ListHandoverSlotsParams
WithTimeout adds the timeout to the list handover slots params
func (*ListHandoverSlotsParams) WriteToRequest ¶
func (o *ListHandoverSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListHandoverSlotsRequestEntityTooLarge) Error() string
func (*ListHandoverSlotsRequestEntityTooLarge) GetPayload ¶ added in v0.24.10
func (o *ListHandoverSlotsRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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
func (o *ListHandoverSlotsRequestEntityTooLarge) IsCode(code int) bool
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
func (o *ListHandoverSlotsRequestEntityTooLarge) IsRedirect() bool
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
func (o *ListHandoverSlotsRequestEntityTooLarge) IsSuccess() bool
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
func (o *ListHandoverSlotsRequestEntityTooLarge) String() string
type ListHandoverSlotsServiceUnavailable ¶
type ListHandoverSlotsServiceUnavailable struct { string }XAmznRequestID
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 (o *ListHandoverSlotsServiceUnavailable) Error() string
func (*ListHandoverSlotsServiceUnavailable) GetPayload ¶
func (o *ListHandoverSlotsServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *ListHandoverSlotsServiceUnavailable) IsCode(code int) bool
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 ¶
func (o *ListHandoverSlotsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this list handover slots service unavailable response has a 2xx status code
func (*ListHandoverSlotsServiceUnavailable) String ¶
func (o *ListHandoverSlotsServiceUnavailable) String() 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 (o *ListHandoverSlotsTooManyRequests) Error() string
func (*ListHandoverSlotsTooManyRequests) GetPayload ¶
func (o *ListHandoverSlotsTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *ListHandoverSlotsTooManyRequests) String() string
type ListHandoverSlotsUnauthorized ¶
type ListHandoverSlotsUnauthorized struct { string }XAmznRequestID
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 (o *ListHandoverSlotsUnauthorized) Error() string
func (*ListHandoverSlotsUnauthorized) GetPayload ¶
func (o *ListHandoverSlotsUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *ListHandoverSlotsUnauthorized) String() 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 (o *ListHandoverSlotsUnsupportedMediaType) Error() string
func (*ListHandoverSlotsUnsupportedMediaType) GetPayload ¶
func (o *ListHandoverSlotsUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *ListHandoverSlotsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this list handover slots unsupported media type response a status code equal to that given
func (*ListHandoverSlotsUnsupportedMediaType) IsRedirect ¶
func (o *ListHandoverSlotsUnsupportedMediaType) IsRedirect() bool
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 ¶
func (o *ListHandoverSlotsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this list handover slots unsupported media type response has a 2xx status code
func (*ListHandoverSlotsUnsupportedMediaType) String ¶
func (o *ListHandoverSlotsUnsupportedMediaType) String() 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 (o *UpdateScheduledPackagesBadRequest) Error() string
func (*UpdateScheduledPackagesBadRequest) GetPayload ¶
func (o *UpdateScheduledPackagesBadRequest) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *UpdateScheduledPackagesBadRequest) String() 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 (o *UpdateScheduledPackagesForbidden) Error() string
func (*UpdateScheduledPackagesForbidden) GetPayload ¶
func (o *UpdateScheduledPackagesForbidden) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *UpdateScheduledPackagesForbidden) String() 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 (o *UpdateScheduledPackagesInternalServerError) Error() string
func (*UpdateScheduledPackagesInternalServerError) GetPayload ¶
func (o *UpdateScheduledPackagesInternalServerError) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*UpdateScheduledPackagesInternalServerError) IsClientError ¶
func (o *UpdateScheduledPackagesInternalServerError) IsClientError() bool
IsClientError returns true when this update scheduled packages internal server error response has a 4xx status code
func (*UpdateScheduledPackagesInternalServerError) IsCode ¶
func (o *UpdateScheduledPackagesInternalServerError) IsCode(code int) bool
IsCode returns true when this update scheduled packages internal server error response a status code equal to that given
func (*UpdateScheduledPackagesInternalServerError) IsRedirect ¶
func (o *UpdateScheduledPackagesInternalServerError) IsRedirect() bool
IsRedirect returns true when this update scheduled packages internal server error response has a 3xx status code
func (*UpdateScheduledPackagesInternalServerError) IsServerError ¶
func (o *UpdateScheduledPackagesInternalServerError) IsServerError() bool
IsServerError returns true when this update scheduled packages internal server error response has a 5xx status code
func (*UpdateScheduledPackagesInternalServerError) IsSuccess ¶
func (o *UpdateScheduledPackagesInternalServerError) IsSuccess() bool
IsSuccess returns true when this update scheduled packages internal server error response has a 2xx status code
func (*UpdateScheduledPackagesInternalServerError) String ¶
func (o *UpdateScheduledPackagesInternalServerError) String() 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 (o *UpdateScheduledPackagesNotFound) Error() string
func (*UpdateScheduledPackagesNotFound) GetPayload ¶
func (o *UpdateScheduledPackagesNotFound) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *UpdateScheduledPackagesNotFound) String() 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 (o *UpdateScheduledPackagesOK) GetPayload() *easy_ship_2022_03_23_models.Packages
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 ¶
func (o *UpdateScheduledPackagesParams) WithContext(ctx context.Context) *UpdateScheduledPackagesParams
WithContext adds the context to the update scheduled packages params
func (*UpdateScheduledPackagesParams) WithDefaults ¶
func (o *UpdateScheduledPackagesParams) WithDefaults() *UpdateScheduledPackagesParams
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 ¶
func (o *UpdateScheduledPackagesParams) WithHTTPClient(client *http.Client) *UpdateScheduledPackagesParams
WithHTTPClient adds the HTTPClient to the update scheduled packages params
func (*UpdateScheduledPackagesParams) WithTimeout ¶
func (o *UpdateScheduledPackagesParams) WithTimeout(timeout time.Duration) *UpdateScheduledPackagesParams
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 ¶
func (o *UpdateScheduledPackagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateScheduledPackagesRequestEntityTooLarge) Error() string
func (*UpdateScheduledPackagesRequestEntityTooLarge) GetPayload ¶ added in v0.24.10
func (o *UpdateScheduledPackagesRequestEntityTooLarge) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*UpdateScheduledPackagesRequestEntityTooLarge) IsClientError ¶ added in v0.24.10
func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsClientError() bool
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
func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsCode(code int) bool
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
func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsRedirect() bool
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
func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsServerError() bool
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
func (o *UpdateScheduledPackagesRequestEntityTooLarge) IsSuccess() bool
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
func (o *UpdateScheduledPackagesRequestEntityTooLarge) String() string
type UpdateScheduledPackagesServiceUnavailable ¶
type UpdateScheduledPackagesServiceUnavailable struct { string }XAmznRequestID
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 (o *UpdateScheduledPackagesServiceUnavailable) Error() string
func (*UpdateScheduledPackagesServiceUnavailable) GetPayload ¶
func (o *UpdateScheduledPackagesServiceUnavailable) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*UpdateScheduledPackagesServiceUnavailable) IsClientError ¶
func (o *UpdateScheduledPackagesServiceUnavailable) IsClientError() bool
IsClientError returns true when this update scheduled packages service unavailable response has a 4xx status code
func (*UpdateScheduledPackagesServiceUnavailable) IsCode ¶
func (o *UpdateScheduledPackagesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this update scheduled packages service unavailable response a status code equal to that given
func (*UpdateScheduledPackagesServiceUnavailable) IsRedirect ¶
func (o *UpdateScheduledPackagesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this update scheduled packages service unavailable response has a 3xx status code
func (*UpdateScheduledPackagesServiceUnavailable) IsServerError ¶
func (o *UpdateScheduledPackagesServiceUnavailable) IsServerError() bool
IsServerError returns true when this update scheduled packages service unavailable response has a 5xx status code
func (*UpdateScheduledPackagesServiceUnavailable) IsSuccess ¶
func (o *UpdateScheduledPackagesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this update scheduled packages service unavailable response has a 2xx status code
func (*UpdateScheduledPackagesServiceUnavailable) String ¶
func (o *UpdateScheduledPackagesServiceUnavailable) String() 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 (o *UpdateScheduledPackagesTooManyRequests) Error() string
func (*UpdateScheduledPackagesTooManyRequests) GetPayload ¶
func (o *UpdateScheduledPackagesTooManyRequests) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *UpdateScheduledPackagesTooManyRequests) IsCode(code int) bool
IsCode returns true when this update scheduled packages too many requests response a status code equal to that given
func (*UpdateScheduledPackagesTooManyRequests) IsRedirect ¶
func (o *UpdateScheduledPackagesTooManyRequests) IsRedirect() bool
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 ¶
func (o *UpdateScheduledPackagesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update scheduled packages too many requests response has a 2xx status code
func (*UpdateScheduledPackagesTooManyRequests) String ¶
func (o *UpdateScheduledPackagesTooManyRequests) String() string
type UpdateScheduledPackagesUnauthorized ¶
type UpdateScheduledPackagesUnauthorized struct { string }XAmznRequestID
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 (o *UpdateScheduledPackagesUnauthorized) Error() string
func (*UpdateScheduledPackagesUnauthorized) GetPayload ¶
func (o *UpdateScheduledPackagesUnauthorized) GetPayload() *easy_ship_2022_03_23_models.ErrorList
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 ¶
func (o *UpdateScheduledPackagesUnauthorized) IsCode(code int) bool
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 ¶
func (o *UpdateScheduledPackagesUnauthorized) IsSuccess() bool
IsSuccess returns true when this update scheduled packages unauthorized response has a 2xx status code
func (*UpdateScheduledPackagesUnauthorized) String ¶
func (o *UpdateScheduledPackagesUnauthorized) String() 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 (o *UpdateScheduledPackagesUnsupportedMediaType) Error() string
func (*UpdateScheduledPackagesUnsupportedMediaType) GetPayload ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) GetPayload() *easy_ship_2022_03_23_models.ErrorList
func (*UpdateScheduledPackagesUnsupportedMediaType) IsClientError ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this update scheduled packages unsupported media type response has a 4xx status code
func (*UpdateScheduledPackagesUnsupportedMediaType) IsCode ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this update scheduled packages unsupported media type response a status code equal to that given
func (*UpdateScheduledPackagesUnsupportedMediaType) IsRedirect ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this update scheduled packages unsupported media type response has a 3xx status code
func (*UpdateScheduledPackagesUnsupportedMediaType) IsServerError ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this update scheduled packages unsupported media type response has a 5xx status code
func (*UpdateScheduledPackagesUnsupportedMediaType) IsSuccess ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this update scheduled packages unsupported media type response has a 2xx status code
func (*UpdateScheduledPackagesUnsupportedMediaType) String ¶
func (o *UpdateScheduledPackagesUnsupportedMediaType) String() string
Source Files
¶
- create_scheduled_package_bulk_parameters.go
- create_scheduled_package_bulk_responses.go
- create_scheduled_package_parameters.go
- create_scheduled_package_responses.go
- easy_ship_client.go
- get_scheduled_package_parameters.go
- get_scheduled_package_responses.go
- list_handover_slots_parameters.go
- list_handover_slots_responses.go
- update_scheduled_packages_parameters.go
- update_scheduled_packages_responses.go