Documentation ¶
Index ¶
- type CancelShipmentBadRequest
- func (o *CancelShipmentBadRequest) Error() string
- func (o *CancelShipmentBadRequest) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentBadRequest) IsClientError() bool
- func (o *CancelShipmentBadRequest) IsCode(code int) bool
- func (o *CancelShipmentBadRequest) IsRedirect() bool
- func (o *CancelShipmentBadRequest) IsServerError() bool
- func (o *CancelShipmentBadRequest) IsSuccess() bool
- func (o *CancelShipmentBadRequest) String() string
- type CancelShipmentForbidden
- func (o *CancelShipmentForbidden) Error() string
- func (o *CancelShipmentForbidden) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentForbidden) IsClientError() bool
- func (o *CancelShipmentForbidden) IsCode(code int) bool
- func (o *CancelShipmentForbidden) IsRedirect() bool
- func (o *CancelShipmentForbidden) IsServerError() bool
- func (o *CancelShipmentForbidden) IsSuccess() bool
- func (o *CancelShipmentForbidden) String() string
- type CancelShipmentInternalServerError
- func (o *CancelShipmentInternalServerError) Error() string
- func (o *CancelShipmentInternalServerError) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentInternalServerError) IsClientError() bool
- func (o *CancelShipmentInternalServerError) IsCode(code int) bool
- func (o *CancelShipmentInternalServerError) IsRedirect() bool
- func (o *CancelShipmentInternalServerError) IsServerError() bool
- func (o *CancelShipmentInternalServerError) IsSuccess() bool
- func (o *CancelShipmentInternalServerError) String() string
- type CancelShipmentNotFound
- func (o *CancelShipmentNotFound) Error() string
- func (o *CancelShipmentNotFound) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentNotFound) IsClientError() bool
- func (o *CancelShipmentNotFound) IsCode(code int) bool
- func (o *CancelShipmentNotFound) IsRedirect() bool
- func (o *CancelShipmentNotFound) IsServerError() bool
- func (o *CancelShipmentNotFound) IsSuccess() bool
- func (o *CancelShipmentNotFound) String() string
- type CancelShipmentOK
- func (o *CancelShipmentOK) Error() string
- func (o *CancelShipmentOK) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentOK) IsClientError() bool
- func (o *CancelShipmentOK) IsCode(code int) bool
- func (o *CancelShipmentOK) IsRedirect() bool
- func (o *CancelShipmentOK) IsServerError() bool
- func (o *CancelShipmentOK) IsSuccess() bool
- func (o *CancelShipmentOK) String() string
- type CancelShipmentParams
- func NewCancelShipmentParams() *CancelShipmentParams
- func NewCancelShipmentParamsWithContext(ctx context.Context) *CancelShipmentParams
- func NewCancelShipmentParamsWithHTTPClient(client *http.Client) *CancelShipmentParams
- func NewCancelShipmentParamsWithTimeout(timeout time.Duration) *CancelShipmentParams
- func (o *CancelShipmentParams) SetContext(ctx context.Context)
- func (o *CancelShipmentParams) SetDefaults()
- func (o *CancelShipmentParams) SetHTTPClient(client *http.Client)
- func (o *CancelShipmentParams) SetShipmentID(shipmentID string)
- func (o *CancelShipmentParams) SetTimeout(timeout time.Duration)
- func (o *CancelShipmentParams) WithContext(ctx context.Context) *CancelShipmentParams
- func (o *CancelShipmentParams) WithDefaults() *CancelShipmentParams
- func (o *CancelShipmentParams) WithHTTPClient(client *http.Client) *CancelShipmentParams
- func (o *CancelShipmentParams) WithShipmentID(shipmentID string) *CancelShipmentParams
- func (o *CancelShipmentParams) WithTimeout(timeout time.Duration) *CancelShipmentParams
- func (o *CancelShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelShipmentReader
- type CancelShipmentServiceUnavailable
- func (o *CancelShipmentServiceUnavailable) Error() string
- func (o *CancelShipmentServiceUnavailable) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentServiceUnavailable) IsClientError() bool
- func (o *CancelShipmentServiceUnavailable) IsCode(code int) bool
- func (o *CancelShipmentServiceUnavailable) IsRedirect() bool
- func (o *CancelShipmentServiceUnavailable) IsServerError() bool
- func (o *CancelShipmentServiceUnavailable) IsSuccess() bool
- func (o *CancelShipmentServiceUnavailable) String() string
- type CancelShipmentTooManyRequests
- func (o *CancelShipmentTooManyRequests) Error() string
- func (o *CancelShipmentTooManyRequests) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentTooManyRequests) IsClientError() bool
- func (o *CancelShipmentTooManyRequests) IsCode(code int) bool
- func (o *CancelShipmentTooManyRequests) IsRedirect() bool
- func (o *CancelShipmentTooManyRequests) IsServerError() bool
- func (o *CancelShipmentTooManyRequests) IsSuccess() bool
- func (o *CancelShipmentTooManyRequests) String() string
- type CancelShipmentUnauthorized
- func (o *CancelShipmentUnauthorized) Error() string
- func (o *CancelShipmentUnauthorized) GetPayload() *shipping_models.CancelShipmentResponse
- func (o *CancelShipmentUnauthorized) IsClientError() bool
- func (o *CancelShipmentUnauthorized) IsCode(code int) bool
- func (o *CancelShipmentUnauthorized) IsRedirect() bool
- func (o *CancelShipmentUnauthorized) IsServerError() bool
- func (o *CancelShipmentUnauthorized) IsSuccess() bool
- func (o *CancelShipmentUnauthorized) String() string
- type Client
- func (a *Client) CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error)
- func (a *Client) CreateShipment(params *CreateShipmentParams, opts ...ClientOption) (*CreateShipmentOK, error)
- func (a *Client) GetAccount(params *GetAccountParams, opts ...ClientOption) (*GetAccountOK, error)
- func (a *Client) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error)
- func (a *Client) GetShipment(params *GetShipmentParams, opts ...ClientOption) (*GetShipmentOK, error)
- func (a *Client) GetTrackingInformation(params *GetTrackingInformationParams, opts ...ClientOption) (*GetTrackingInformationOK, error)
- func (a *Client) PurchaseLabels(params *PurchaseLabelsParams, opts ...ClientOption) (*PurchaseLabelsOK, error)
- func (a *Client) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error)
- func (a *Client) RetrieveShippingLabel(params *RetrieveShippingLabelParams, opts ...ClientOption) (*RetrieveShippingLabelOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateShipmentBadRequest
- func (o *CreateShipmentBadRequest) Error() string
- func (o *CreateShipmentBadRequest) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentBadRequest) IsClientError() bool
- func (o *CreateShipmentBadRequest) IsCode(code int) bool
- func (o *CreateShipmentBadRequest) IsRedirect() bool
- func (o *CreateShipmentBadRequest) IsServerError() bool
- func (o *CreateShipmentBadRequest) IsSuccess() bool
- func (o *CreateShipmentBadRequest) String() string
- type CreateShipmentForbidden
- func (o *CreateShipmentForbidden) Error() string
- func (o *CreateShipmentForbidden) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentForbidden) IsClientError() bool
- func (o *CreateShipmentForbidden) IsCode(code int) bool
- func (o *CreateShipmentForbidden) IsRedirect() bool
- func (o *CreateShipmentForbidden) IsServerError() bool
- func (o *CreateShipmentForbidden) IsSuccess() bool
- func (o *CreateShipmentForbidden) String() string
- type CreateShipmentInternalServerError
- func (o *CreateShipmentInternalServerError) Error() string
- func (o *CreateShipmentInternalServerError) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentInternalServerError) IsClientError() bool
- func (o *CreateShipmentInternalServerError) IsCode(code int) bool
- func (o *CreateShipmentInternalServerError) IsRedirect() bool
- func (o *CreateShipmentInternalServerError) IsServerError() bool
- func (o *CreateShipmentInternalServerError) IsSuccess() bool
- func (o *CreateShipmentInternalServerError) String() string
- type CreateShipmentNotFound
- func (o *CreateShipmentNotFound) Error() string
- func (o *CreateShipmentNotFound) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentNotFound) IsClientError() bool
- func (o *CreateShipmentNotFound) IsCode(code int) bool
- func (o *CreateShipmentNotFound) IsRedirect() bool
- func (o *CreateShipmentNotFound) IsServerError() bool
- func (o *CreateShipmentNotFound) IsSuccess() bool
- func (o *CreateShipmentNotFound) String() string
- type CreateShipmentOK
- func (o *CreateShipmentOK) Error() string
- func (o *CreateShipmentOK) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentOK) IsClientError() bool
- func (o *CreateShipmentOK) IsCode(code int) bool
- func (o *CreateShipmentOK) IsRedirect() bool
- func (o *CreateShipmentOK) IsServerError() bool
- func (o *CreateShipmentOK) IsSuccess() bool
- func (o *CreateShipmentOK) String() string
- type CreateShipmentParams
- func NewCreateShipmentParams() *CreateShipmentParams
- func NewCreateShipmentParamsWithContext(ctx context.Context) *CreateShipmentParams
- func NewCreateShipmentParamsWithHTTPClient(client *http.Client) *CreateShipmentParams
- func NewCreateShipmentParamsWithTimeout(timeout time.Duration) *CreateShipmentParams
- func (o *CreateShipmentParams) SetBody(body *shipping_models.CreateShipmentRequest)
- func (o *CreateShipmentParams) SetContext(ctx context.Context)
- func (o *CreateShipmentParams) SetDefaults()
- func (o *CreateShipmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateShipmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateShipmentParams) WithBody(body *shipping_models.CreateShipmentRequest) *CreateShipmentParams
- func (o *CreateShipmentParams) WithContext(ctx context.Context) *CreateShipmentParams
- func (o *CreateShipmentParams) WithDefaults() *CreateShipmentParams
- func (o *CreateShipmentParams) WithHTTPClient(client *http.Client) *CreateShipmentParams
- func (o *CreateShipmentParams) WithTimeout(timeout time.Duration) *CreateShipmentParams
- func (o *CreateShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateShipmentReader
- type CreateShipmentServiceUnavailable
- func (o *CreateShipmentServiceUnavailable) Error() string
- func (o *CreateShipmentServiceUnavailable) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentServiceUnavailable) IsClientError() bool
- func (o *CreateShipmentServiceUnavailable) IsCode(code int) bool
- func (o *CreateShipmentServiceUnavailable) IsRedirect() bool
- func (o *CreateShipmentServiceUnavailable) IsServerError() bool
- func (o *CreateShipmentServiceUnavailable) IsSuccess() bool
- func (o *CreateShipmentServiceUnavailable) String() string
- type CreateShipmentTooManyRequests
- func (o *CreateShipmentTooManyRequests) Error() string
- func (o *CreateShipmentTooManyRequests) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentTooManyRequests) IsClientError() bool
- func (o *CreateShipmentTooManyRequests) IsCode(code int) bool
- func (o *CreateShipmentTooManyRequests) IsRedirect() bool
- func (o *CreateShipmentTooManyRequests) IsServerError() bool
- func (o *CreateShipmentTooManyRequests) IsSuccess() bool
- func (o *CreateShipmentTooManyRequests) String() string
- type CreateShipmentUnauthorized
- func (o *CreateShipmentUnauthorized) Error() string
- func (o *CreateShipmentUnauthorized) GetPayload() *shipping_models.CreateShipmentResponse
- func (o *CreateShipmentUnauthorized) IsClientError() bool
- func (o *CreateShipmentUnauthorized) IsCode(code int) bool
- func (o *CreateShipmentUnauthorized) IsRedirect() bool
- func (o *CreateShipmentUnauthorized) IsServerError() bool
- func (o *CreateShipmentUnauthorized) IsSuccess() bool
- func (o *CreateShipmentUnauthorized) String() string
- type GetAccountBadRequest
- func (o *GetAccountBadRequest) Error() string
- func (o *GetAccountBadRequest) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountBadRequest) IsClientError() bool
- func (o *GetAccountBadRequest) IsCode(code int) bool
- func (o *GetAccountBadRequest) IsRedirect() bool
- func (o *GetAccountBadRequest) IsServerError() bool
- func (o *GetAccountBadRequest) IsSuccess() bool
- func (o *GetAccountBadRequest) String() string
- type GetAccountForbidden
- func (o *GetAccountForbidden) Error() string
- func (o *GetAccountForbidden) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountForbidden) IsClientError() bool
- func (o *GetAccountForbidden) IsCode(code int) bool
- func (o *GetAccountForbidden) IsRedirect() bool
- func (o *GetAccountForbidden) IsServerError() bool
- func (o *GetAccountForbidden) IsSuccess() bool
- func (o *GetAccountForbidden) String() string
- type GetAccountInternalServerError
- func (o *GetAccountInternalServerError) Error() string
- func (o *GetAccountInternalServerError) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountInternalServerError) IsClientError() bool
- func (o *GetAccountInternalServerError) IsCode(code int) bool
- func (o *GetAccountInternalServerError) IsRedirect() bool
- func (o *GetAccountInternalServerError) IsServerError() bool
- func (o *GetAccountInternalServerError) IsSuccess() bool
- func (o *GetAccountInternalServerError) String() string
- type GetAccountNotFound
- func (o *GetAccountNotFound) Error() string
- func (o *GetAccountNotFound) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountNotFound) IsClientError() bool
- func (o *GetAccountNotFound) IsCode(code int) bool
- func (o *GetAccountNotFound) IsRedirect() bool
- func (o *GetAccountNotFound) IsServerError() bool
- func (o *GetAccountNotFound) IsSuccess() bool
- func (o *GetAccountNotFound) String() string
- type GetAccountOK
- func (o *GetAccountOK) Error() string
- func (o *GetAccountOK) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountOK) IsClientError() bool
- func (o *GetAccountOK) IsCode(code int) bool
- func (o *GetAccountOK) IsRedirect() bool
- func (o *GetAccountOK) IsServerError() bool
- func (o *GetAccountOK) IsSuccess() bool
- func (o *GetAccountOK) String() string
- type GetAccountParams
- func (o *GetAccountParams) SetContext(ctx context.Context)
- func (o *GetAccountParams) SetDefaults()
- func (o *GetAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
- func (o *GetAccountParams) WithDefaults() *GetAccountParams
- func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
- func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
- func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountReader
- type GetAccountServiceUnavailable
- func (o *GetAccountServiceUnavailable) Error() string
- func (o *GetAccountServiceUnavailable) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountServiceUnavailable) IsClientError() bool
- func (o *GetAccountServiceUnavailable) IsCode(code int) bool
- func (o *GetAccountServiceUnavailable) IsRedirect() bool
- func (o *GetAccountServiceUnavailable) IsServerError() bool
- func (o *GetAccountServiceUnavailable) IsSuccess() bool
- func (o *GetAccountServiceUnavailable) String() string
- type GetAccountTooManyRequests
- func (o *GetAccountTooManyRequests) Error() string
- func (o *GetAccountTooManyRequests) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountTooManyRequests) IsClientError() bool
- func (o *GetAccountTooManyRequests) IsCode(code int) bool
- func (o *GetAccountTooManyRequests) IsRedirect() bool
- func (o *GetAccountTooManyRequests) IsServerError() bool
- func (o *GetAccountTooManyRequests) IsSuccess() bool
- func (o *GetAccountTooManyRequests) String() string
- type GetAccountUnauthorized
- func (o *GetAccountUnauthorized) Error() string
- func (o *GetAccountUnauthorized) GetPayload() *shipping_models.GetAccountResponse
- func (o *GetAccountUnauthorized) IsClientError() bool
- func (o *GetAccountUnauthorized) IsCode(code int) bool
- func (o *GetAccountUnauthorized) IsRedirect() bool
- func (o *GetAccountUnauthorized) IsServerError() bool
- func (o *GetAccountUnauthorized) IsSuccess() bool
- func (o *GetAccountUnauthorized) String() string
- type GetRatesBadRequest
- func (o *GetRatesBadRequest) Error() string
- func (o *GetRatesBadRequest) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesBadRequest) IsClientError() bool
- func (o *GetRatesBadRequest) IsCode(code int) bool
- func (o *GetRatesBadRequest) IsRedirect() bool
- func (o *GetRatesBadRequest) IsServerError() bool
- func (o *GetRatesBadRequest) IsSuccess() bool
- func (o *GetRatesBadRequest) String() string
- type GetRatesForbidden
- func (o *GetRatesForbidden) Error() string
- func (o *GetRatesForbidden) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesForbidden) IsClientError() bool
- func (o *GetRatesForbidden) IsCode(code int) bool
- func (o *GetRatesForbidden) IsRedirect() bool
- func (o *GetRatesForbidden) IsServerError() bool
- func (o *GetRatesForbidden) IsSuccess() bool
- func (o *GetRatesForbidden) String() string
- type GetRatesInternalServerError
- func (o *GetRatesInternalServerError) Error() string
- func (o *GetRatesInternalServerError) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesInternalServerError) IsClientError() bool
- func (o *GetRatesInternalServerError) IsCode(code int) bool
- func (o *GetRatesInternalServerError) IsRedirect() bool
- func (o *GetRatesInternalServerError) IsServerError() bool
- func (o *GetRatesInternalServerError) IsSuccess() bool
- func (o *GetRatesInternalServerError) String() string
- type GetRatesNotFound
- func (o *GetRatesNotFound) Error() string
- func (o *GetRatesNotFound) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesNotFound) IsClientError() bool
- func (o *GetRatesNotFound) IsCode(code int) bool
- func (o *GetRatesNotFound) IsRedirect() bool
- func (o *GetRatesNotFound) IsServerError() bool
- func (o *GetRatesNotFound) IsSuccess() bool
- func (o *GetRatesNotFound) String() string
- type GetRatesOK
- func (o *GetRatesOK) Error() string
- func (o *GetRatesOK) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesOK) IsClientError() bool
- func (o *GetRatesOK) IsCode(code int) bool
- func (o *GetRatesOK) IsRedirect() bool
- func (o *GetRatesOK) IsServerError() bool
- func (o *GetRatesOK) IsSuccess() bool
- func (o *GetRatesOK) String() string
- type GetRatesParams
- func (o *GetRatesParams) SetBody(body *shipping_models.GetRatesRequest)
- func (o *GetRatesParams) SetContext(ctx context.Context)
- func (o *GetRatesParams) SetDefaults()
- func (o *GetRatesParams) SetHTTPClient(client *http.Client)
- func (o *GetRatesParams) SetTimeout(timeout time.Duration)
- func (o *GetRatesParams) WithBody(body *shipping_models.GetRatesRequest) *GetRatesParams
- func (o *GetRatesParams) WithContext(ctx context.Context) *GetRatesParams
- func (o *GetRatesParams) WithDefaults() *GetRatesParams
- func (o *GetRatesParams) WithHTTPClient(client *http.Client) *GetRatesParams
- func (o *GetRatesParams) WithTimeout(timeout time.Duration) *GetRatesParams
- func (o *GetRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRatesReader
- type GetRatesServiceUnavailable
- func (o *GetRatesServiceUnavailable) Error() string
- func (o *GetRatesServiceUnavailable) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesServiceUnavailable) IsClientError() bool
- func (o *GetRatesServiceUnavailable) IsCode(code int) bool
- func (o *GetRatesServiceUnavailable) IsRedirect() bool
- func (o *GetRatesServiceUnavailable) IsServerError() bool
- func (o *GetRatesServiceUnavailable) IsSuccess() bool
- func (o *GetRatesServiceUnavailable) String() string
- type GetRatesTooManyRequests
- func (o *GetRatesTooManyRequests) Error() string
- func (o *GetRatesTooManyRequests) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesTooManyRequests) IsClientError() bool
- func (o *GetRatesTooManyRequests) IsCode(code int) bool
- func (o *GetRatesTooManyRequests) IsRedirect() bool
- func (o *GetRatesTooManyRequests) IsServerError() bool
- func (o *GetRatesTooManyRequests) IsSuccess() bool
- func (o *GetRatesTooManyRequests) String() string
- type GetRatesUnauthorized
- func (o *GetRatesUnauthorized) Error() string
- func (o *GetRatesUnauthorized) GetPayload() *shipping_models.GetRatesResponse
- func (o *GetRatesUnauthorized) IsClientError() bool
- func (o *GetRatesUnauthorized) IsCode(code int) bool
- func (o *GetRatesUnauthorized) IsRedirect() bool
- func (o *GetRatesUnauthorized) IsServerError() bool
- func (o *GetRatesUnauthorized) IsSuccess() bool
- func (o *GetRatesUnauthorized) String() string
- type GetShipmentBadRequest
- func (o *GetShipmentBadRequest) Error() string
- func (o *GetShipmentBadRequest) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentBadRequest) IsClientError() bool
- func (o *GetShipmentBadRequest) IsCode(code int) bool
- func (o *GetShipmentBadRequest) IsRedirect() bool
- func (o *GetShipmentBadRequest) IsServerError() bool
- func (o *GetShipmentBadRequest) IsSuccess() bool
- func (o *GetShipmentBadRequest) String() string
- type GetShipmentForbidden
- func (o *GetShipmentForbidden) Error() string
- func (o *GetShipmentForbidden) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentForbidden) IsClientError() bool
- func (o *GetShipmentForbidden) IsCode(code int) bool
- func (o *GetShipmentForbidden) IsRedirect() bool
- func (o *GetShipmentForbidden) IsServerError() bool
- func (o *GetShipmentForbidden) IsSuccess() bool
- func (o *GetShipmentForbidden) String() string
- type GetShipmentInternalServerError
- func (o *GetShipmentInternalServerError) Error() string
- func (o *GetShipmentInternalServerError) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentInternalServerError) IsClientError() bool
- func (o *GetShipmentInternalServerError) IsCode(code int) bool
- func (o *GetShipmentInternalServerError) IsRedirect() bool
- func (o *GetShipmentInternalServerError) IsServerError() bool
- func (o *GetShipmentInternalServerError) IsSuccess() bool
- func (o *GetShipmentInternalServerError) String() string
- type GetShipmentNotFound
- func (o *GetShipmentNotFound) Error() string
- func (o *GetShipmentNotFound) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentNotFound) IsClientError() bool
- func (o *GetShipmentNotFound) IsCode(code int) bool
- func (o *GetShipmentNotFound) IsRedirect() bool
- func (o *GetShipmentNotFound) IsServerError() bool
- func (o *GetShipmentNotFound) IsSuccess() bool
- func (o *GetShipmentNotFound) String() string
- type GetShipmentOK
- func (o *GetShipmentOK) Error() string
- func (o *GetShipmentOK) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentOK) IsClientError() bool
- func (o *GetShipmentOK) IsCode(code int) bool
- func (o *GetShipmentOK) IsRedirect() bool
- func (o *GetShipmentOK) IsServerError() bool
- func (o *GetShipmentOK) IsSuccess() bool
- func (o *GetShipmentOK) String() string
- type GetShipmentParams
- func (o *GetShipmentParams) SetContext(ctx context.Context)
- func (o *GetShipmentParams) SetDefaults()
- func (o *GetShipmentParams) SetHTTPClient(client *http.Client)
- func (o *GetShipmentParams) SetShipmentID(shipmentID string)
- func (o *GetShipmentParams) SetTimeout(timeout time.Duration)
- func (o *GetShipmentParams) WithContext(ctx context.Context) *GetShipmentParams
- func (o *GetShipmentParams) WithDefaults() *GetShipmentParams
- func (o *GetShipmentParams) WithHTTPClient(client *http.Client) *GetShipmentParams
- func (o *GetShipmentParams) WithShipmentID(shipmentID string) *GetShipmentParams
- func (o *GetShipmentParams) WithTimeout(timeout time.Duration) *GetShipmentParams
- func (o *GetShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShipmentReader
- type GetShipmentServiceUnavailable
- func (o *GetShipmentServiceUnavailable) Error() string
- func (o *GetShipmentServiceUnavailable) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentServiceUnavailable) IsClientError() bool
- func (o *GetShipmentServiceUnavailable) IsCode(code int) bool
- func (o *GetShipmentServiceUnavailable) IsRedirect() bool
- func (o *GetShipmentServiceUnavailable) IsServerError() bool
- func (o *GetShipmentServiceUnavailable) IsSuccess() bool
- func (o *GetShipmentServiceUnavailable) String() string
- type GetShipmentTooManyRequests
- func (o *GetShipmentTooManyRequests) Error() string
- func (o *GetShipmentTooManyRequests) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentTooManyRequests) IsClientError() bool
- func (o *GetShipmentTooManyRequests) IsCode(code int) bool
- func (o *GetShipmentTooManyRequests) IsRedirect() bool
- func (o *GetShipmentTooManyRequests) IsServerError() bool
- func (o *GetShipmentTooManyRequests) IsSuccess() bool
- func (o *GetShipmentTooManyRequests) String() string
- type GetShipmentUnauthorized
- func (o *GetShipmentUnauthorized) Error() string
- func (o *GetShipmentUnauthorized) GetPayload() *shipping_models.GetShipmentResponse
- func (o *GetShipmentUnauthorized) IsClientError() bool
- func (o *GetShipmentUnauthorized) IsCode(code int) bool
- func (o *GetShipmentUnauthorized) IsRedirect() bool
- func (o *GetShipmentUnauthorized) IsServerError() bool
- func (o *GetShipmentUnauthorized) IsSuccess() bool
- func (o *GetShipmentUnauthorized) String() string
- type GetTrackingInformationBadRequest
- func (o *GetTrackingInformationBadRequest) Error() string
- func (o *GetTrackingInformationBadRequest) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationBadRequest) IsClientError() bool
- func (o *GetTrackingInformationBadRequest) IsCode(code int) bool
- func (o *GetTrackingInformationBadRequest) IsRedirect() bool
- func (o *GetTrackingInformationBadRequest) IsServerError() bool
- func (o *GetTrackingInformationBadRequest) IsSuccess() bool
- func (o *GetTrackingInformationBadRequest) String() string
- type GetTrackingInformationForbidden
- func (o *GetTrackingInformationForbidden) Error() string
- func (o *GetTrackingInformationForbidden) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationForbidden) IsClientError() bool
- func (o *GetTrackingInformationForbidden) IsCode(code int) bool
- func (o *GetTrackingInformationForbidden) IsRedirect() bool
- func (o *GetTrackingInformationForbidden) IsServerError() bool
- func (o *GetTrackingInformationForbidden) IsSuccess() bool
- func (o *GetTrackingInformationForbidden) String() string
- type GetTrackingInformationInternalServerError
- func (o *GetTrackingInformationInternalServerError) Error() string
- func (o *GetTrackingInformationInternalServerError) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationInternalServerError) IsClientError() bool
- func (o *GetTrackingInformationInternalServerError) IsCode(code int) bool
- func (o *GetTrackingInformationInternalServerError) IsRedirect() bool
- func (o *GetTrackingInformationInternalServerError) IsServerError() bool
- func (o *GetTrackingInformationInternalServerError) IsSuccess() bool
- func (o *GetTrackingInformationInternalServerError) String() string
- type GetTrackingInformationNotFound
- func (o *GetTrackingInformationNotFound) Error() string
- func (o *GetTrackingInformationNotFound) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationNotFound) IsClientError() bool
- func (o *GetTrackingInformationNotFound) IsCode(code int) bool
- func (o *GetTrackingInformationNotFound) IsRedirect() bool
- func (o *GetTrackingInformationNotFound) IsServerError() bool
- func (o *GetTrackingInformationNotFound) IsSuccess() bool
- func (o *GetTrackingInformationNotFound) String() string
- type GetTrackingInformationOK
- func (o *GetTrackingInformationOK) Error() string
- func (o *GetTrackingInformationOK) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationOK) IsClientError() bool
- func (o *GetTrackingInformationOK) IsCode(code int) bool
- func (o *GetTrackingInformationOK) IsRedirect() bool
- func (o *GetTrackingInformationOK) IsServerError() bool
- func (o *GetTrackingInformationOK) IsSuccess() bool
- func (o *GetTrackingInformationOK) String() string
- type GetTrackingInformationParams
- func NewGetTrackingInformationParams() *GetTrackingInformationParams
- func NewGetTrackingInformationParamsWithContext(ctx context.Context) *GetTrackingInformationParams
- func NewGetTrackingInformationParamsWithHTTPClient(client *http.Client) *GetTrackingInformationParams
- func NewGetTrackingInformationParamsWithTimeout(timeout time.Duration) *GetTrackingInformationParams
- func (o *GetTrackingInformationParams) SetContext(ctx context.Context)
- func (o *GetTrackingInformationParams) SetDefaults()
- func (o *GetTrackingInformationParams) SetHTTPClient(client *http.Client)
- func (o *GetTrackingInformationParams) SetTimeout(timeout time.Duration)
- func (o *GetTrackingInformationParams) SetTrackingID(trackingID string)
- func (o *GetTrackingInformationParams) WithContext(ctx context.Context) *GetTrackingInformationParams
- func (o *GetTrackingInformationParams) WithDefaults() *GetTrackingInformationParams
- func (o *GetTrackingInformationParams) WithHTTPClient(client *http.Client) *GetTrackingInformationParams
- func (o *GetTrackingInformationParams) WithTimeout(timeout time.Duration) *GetTrackingInformationParams
- func (o *GetTrackingInformationParams) WithTrackingID(trackingID string) *GetTrackingInformationParams
- func (o *GetTrackingInformationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrackingInformationReader
- type GetTrackingInformationServiceUnavailable
- func (o *GetTrackingInformationServiceUnavailable) Error() string
- func (o *GetTrackingInformationServiceUnavailable) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationServiceUnavailable) IsClientError() bool
- func (o *GetTrackingInformationServiceUnavailable) IsCode(code int) bool
- func (o *GetTrackingInformationServiceUnavailable) IsRedirect() bool
- func (o *GetTrackingInformationServiceUnavailable) IsServerError() bool
- func (o *GetTrackingInformationServiceUnavailable) IsSuccess() bool
- func (o *GetTrackingInformationServiceUnavailable) String() string
- type GetTrackingInformationTooManyRequests
- func (o *GetTrackingInformationTooManyRequests) Error() string
- func (o *GetTrackingInformationTooManyRequests) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationTooManyRequests) IsClientError() bool
- func (o *GetTrackingInformationTooManyRequests) IsCode(code int) bool
- func (o *GetTrackingInformationTooManyRequests) IsRedirect() bool
- func (o *GetTrackingInformationTooManyRequests) IsServerError() bool
- func (o *GetTrackingInformationTooManyRequests) IsSuccess() bool
- func (o *GetTrackingInformationTooManyRequests) String() string
- type GetTrackingInformationUnauthorized
- func (o *GetTrackingInformationUnauthorized) Error() string
- func (o *GetTrackingInformationUnauthorized) GetPayload() *shipping_models.GetTrackingInformationResponse
- func (o *GetTrackingInformationUnauthorized) IsClientError() bool
- func (o *GetTrackingInformationUnauthorized) IsCode(code int) bool
- func (o *GetTrackingInformationUnauthorized) IsRedirect() bool
- func (o *GetTrackingInformationUnauthorized) IsServerError() bool
- func (o *GetTrackingInformationUnauthorized) IsSuccess() bool
- func (o *GetTrackingInformationUnauthorized) String() string
- type PurchaseLabelsBadRequest
- func (o *PurchaseLabelsBadRequest) Error() string
- func (o *PurchaseLabelsBadRequest) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsBadRequest) IsClientError() bool
- func (o *PurchaseLabelsBadRequest) IsCode(code int) bool
- func (o *PurchaseLabelsBadRequest) IsRedirect() bool
- func (o *PurchaseLabelsBadRequest) IsServerError() bool
- func (o *PurchaseLabelsBadRequest) IsSuccess() bool
- func (o *PurchaseLabelsBadRequest) String() string
- type PurchaseLabelsForbidden
- func (o *PurchaseLabelsForbidden) Error() string
- func (o *PurchaseLabelsForbidden) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsForbidden) IsClientError() bool
- func (o *PurchaseLabelsForbidden) IsCode(code int) bool
- func (o *PurchaseLabelsForbidden) IsRedirect() bool
- func (o *PurchaseLabelsForbidden) IsServerError() bool
- func (o *PurchaseLabelsForbidden) IsSuccess() bool
- func (o *PurchaseLabelsForbidden) String() string
- type PurchaseLabelsInternalServerError
- func (o *PurchaseLabelsInternalServerError) Error() string
- func (o *PurchaseLabelsInternalServerError) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsInternalServerError) IsClientError() bool
- func (o *PurchaseLabelsInternalServerError) IsCode(code int) bool
- func (o *PurchaseLabelsInternalServerError) IsRedirect() bool
- func (o *PurchaseLabelsInternalServerError) IsServerError() bool
- func (o *PurchaseLabelsInternalServerError) IsSuccess() bool
- func (o *PurchaseLabelsInternalServerError) String() string
- type PurchaseLabelsNotFound
- func (o *PurchaseLabelsNotFound) Error() string
- func (o *PurchaseLabelsNotFound) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsNotFound) IsClientError() bool
- func (o *PurchaseLabelsNotFound) IsCode(code int) bool
- func (o *PurchaseLabelsNotFound) IsRedirect() bool
- func (o *PurchaseLabelsNotFound) IsServerError() bool
- func (o *PurchaseLabelsNotFound) IsSuccess() bool
- func (o *PurchaseLabelsNotFound) String() string
- type PurchaseLabelsOK
- func (o *PurchaseLabelsOK) Error() string
- func (o *PurchaseLabelsOK) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsOK) IsClientError() bool
- func (o *PurchaseLabelsOK) IsCode(code int) bool
- func (o *PurchaseLabelsOK) IsRedirect() bool
- func (o *PurchaseLabelsOK) IsServerError() bool
- func (o *PurchaseLabelsOK) IsSuccess() bool
- func (o *PurchaseLabelsOK) String() string
- type PurchaseLabelsParams
- func NewPurchaseLabelsParams() *PurchaseLabelsParams
- func NewPurchaseLabelsParamsWithContext(ctx context.Context) *PurchaseLabelsParams
- func NewPurchaseLabelsParamsWithHTTPClient(client *http.Client) *PurchaseLabelsParams
- func NewPurchaseLabelsParamsWithTimeout(timeout time.Duration) *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) SetBody(body *shipping_models.PurchaseLabelsRequest)
- func (o *PurchaseLabelsParams) SetContext(ctx context.Context)
- func (o *PurchaseLabelsParams) SetDefaults()
- func (o *PurchaseLabelsParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseLabelsParams) SetShipmentID(shipmentID string)
- func (o *PurchaseLabelsParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseLabelsParams) WithBody(body *shipping_models.PurchaseLabelsRequest) *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) WithContext(ctx context.Context) *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) WithDefaults() *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) WithHTTPClient(client *http.Client) *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) WithShipmentID(shipmentID string) *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) WithTimeout(timeout time.Duration) *PurchaseLabelsParams
- func (o *PurchaseLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseLabelsReader
- type PurchaseLabelsServiceUnavailable
- func (o *PurchaseLabelsServiceUnavailable) Error() string
- func (o *PurchaseLabelsServiceUnavailable) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsServiceUnavailable) IsClientError() bool
- func (o *PurchaseLabelsServiceUnavailable) IsCode(code int) bool
- func (o *PurchaseLabelsServiceUnavailable) IsRedirect() bool
- func (o *PurchaseLabelsServiceUnavailable) IsServerError() bool
- func (o *PurchaseLabelsServiceUnavailable) IsSuccess() bool
- func (o *PurchaseLabelsServiceUnavailable) String() string
- type PurchaseLabelsTooManyRequests
- func (o *PurchaseLabelsTooManyRequests) Error() string
- func (o *PurchaseLabelsTooManyRequests) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsTooManyRequests) IsClientError() bool
- func (o *PurchaseLabelsTooManyRequests) IsCode(code int) bool
- func (o *PurchaseLabelsTooManyRequests) IsRedirect() bool
- func (o *PurchaseLabelsTooManyRequests) IsServerError() bool
- func (o *PurchaseLabelsTooManyRequests) IsSuccess() bool
- func (o *PurchaseLabelsTooManyRequests) String() string
- type PurchaseLabelsUnauthorized
- func (o *PurchaseLabelsUnauthorized) Error() string
- func (o *PurchaseLabelsUnauthorized) GetPayload() *shipping_models.PurchaseLabelsResponse
- func (o *PurchaseLabelsUnauthorized) IsClientError() bool
- func (o *PurchaseLabelsUnauthorized) IsCode(code int) bool
- func (o *PurchaseLabelsUnauthorized) IsRedirect() bool
- func (o *PurchaseLabelsUnauthorized) IsServerError() bool
- func (o *PurchaseLabelsUnauthorized) IsSuccess() bool
- func (o *PurchaseLabelsUnauthorized) String() string
- type PurchaseShipmentBadRequest
- func (o *PurchaseShipmentBadRequest) Error() string
- func (o *PurchaseShipmentBadRequest) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentBadRequest) IsClientError() bool
- func (o *PurchaseShipmentBadRequest) IsCode(code int) bool
- func (o *PurchaseShipmentBadRequest) IsRedirect() bool
- func (o *PurchaseShipmentBadRequest) IsServerError() bool
- func (o *PurchaseShipmentBadRequest) IsSuccess() bool
- func (o *PurchaseShipmentBadRequest) String() string
- type PurchaseShipmentForbidden
- func (o *PurchaseShipmentForbidden) Error() string
- func (o *PurchaseShipmentForbidden) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentForbidden) IsClientError() bool
- func (o *PurchaseShipmentForbidden) IsCode(code int) bool
- func (o *PurchaseShipmentForbidden) IsRedirect() bool
- func (o *PurchaseShipmentForbidden) IsServerError() bool
- func (o *PurchaseShipmentForbidden) IsSuccess() bool
- func (o *PurchaseShipmentForbidden) String() string
- type PurchaseShipmentInternalServerError
- func (o *PurchaseShipmentInternalServerError) Error() string
- func (o *PurchaseShipmentInternalServerError) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentInternalServerError) IsClientError() bool
- func (o *PurchaseShipmentInternalServerError) IsCode(code int) bool
- func (o *PurchaseShipmentInternalServerError) IsRedirect() bool
- func (o *PurchaseShipmentInternalServerError) IsServerError() bool
- func (o *PurchaseShipmentInternalServerError) IsSuccess() bool
- func (o *PurchaseShipmentInternalServerError) String() string
- type PurchaseShipmentNotFound
- func (o *PurchaseShipmentNotFound) Error() string
- func (o *PurchaseShipmentNotFound) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentNotFound) IsClientError() bool
- func (o *PurchaseShipmentNotFound) IsCode(code int) bool
- func (o *PurchaseShipmentNotFound) IsRedirect() bool
- func (o *PurchaseShipmentNotFound) IsServerError() bool
- func (o *PurchaseShipmentNotFound) IsSuccess() bool
- func (o *PurchaseShipmentNotFound) String() string
- type PurchaseShipmentOK
- func (o *PurchaseShipmentOK) Error() string
- func (o *PurchaseShipmentOK) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentOK) IsClientError() bool
- func (o *PurchaseShipmentOK) IsCode(code int) bool
- func (o *PurchaseShipmentOK) IsRedirect() bool
- func (o *PurchaseShipmentOK) IsServerError() bool
- func (o *PurchaseShipmentOK) IsSuccess() bool
- func (o *PurchaseShipmentOK) String() string
- type PurchaseShipmentParams
- func NewPurchaseShipmentParams() *PurchaseShipmentParams
- func NewPurchaseShipmentParamsWithContext(ctx context.Context) *PurchaseShipmentParams
- func NewPurchaseShipmentParamsWithHTTPClient(client *http.Client) *PurchaseShipmentParams
- func NewPurchaseShipmentParamsWithTimeout(timeout time.Duration) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) SetBody(body *shipping_models.PurchaseShipmentRequest)
- func (o *PurchaseShipmentParams) SetContext(ctx context.Context)
- func (o *PurchaseShipmentParams) SetDefaults()
- func (o *PurchaseShipmentParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseShipmentParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseShipmentParams) WithBody(body *shipping_models.PurchaseShipmentRequest) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WithContext(ctx context.Context) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WithDefaults() *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WithHTTPClient(client *http.Client) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WithTimeout(timeout time.Duration) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseShipmentReader
- type PurchaseShipmentServiceUnavailable
- func (o *PurchaseShipmentServiceUnavailable) Error() string
- func (o *PurchaseShipmentServiceUnavailable) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentServiceUnavailable) IsClientError() bool
- func (o *PurchaseShipmentServiceUnavailable) IsCode(code int) bool
- func (o *PurchaseShipmentServiceUnavailable) IsRedirect() bool
- func (o *PurchaseShipmentServiceUnavailable) IsServerError() bool
- func (o *PurchaseShipmentServiceUnavailable) IsSuccess() bool
- func (o *PurchaseShipmentServiceUnavailable) String() string
- type PurchaseShipmentTooManyRequests
- func (o *PurchaseShipmentTooManyRequests) Error() string
- func (o *PurchaseShipmentTooManyRequests) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentTooManyRequests) IsClientError() bool
- func (o *PurchaseShipmentTooManyRequests) IsCode(code int) bool
- func (o *PurchaseShipmentTooManyRequests) IsRedirect() bool
- func (o *PurchaseShipmentTooManyRequests) IsServerError() bool
- func (o *PurchaseShipmentTooManyRequests) IsSuccess() bool
- func (o *PurchaseShipmentTooManyRequests) String() string
- type PurchaseShipmentUnauthorized
- func (o *PurchaseShipmentUnauthorized) Error() string
- func (o *PurchaseShipmentUnauthorized) GetPayload() *shipping_models.PurchaseShipmentResponse
- func (o *PurchaseShipmentUnauthorized) IsClientError() bool
- func (o *PurchaseShipmentUnauthorized) IsCode(code int) bool
- func (o *PurchaseShipmentUnauthorized) IsRedirect() bool
- func (o *PurchaseShipmentUnauthorized) IsServerError() bool
- func (o *PurchaseShipmentUnauthorized) IsSuccess() bool
- func (o *PurchaseShipmentUnauthorized) String() string
- type RetrieveShippingLabelBadRequest
- func (o *RetrieveShippingLabelBadRequest) Error() string
- func (o *RetrieveShippingLabelBadRequest) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelBadRequest) IsClientError() bool
- func (o *RetrieveShippingLabelBadRequest) IsCode(code int) bool
- func (o *RetrieveShippingLabelBadRequest) IsRedirect() bool
- func (o *RetrieveShippingLabelBadRequest) IsServerError() bool
- func (o *RetrieveShippingLabelBadRequest) IsSuccess() bool
- func (o *RetrieveShippingLabelBadRequest) String() string
- type RetrieveShippingLabelForbidden
- func (o *RetrieveShippingLabelForbidden) Error() string
- func (o *RetrieveShippingLabelForbidden) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelForbidden) IsClientError() bool
- func (o *RetrieveShippingLabelForbidden) IsCode(code int) bool
- func (o *RetrieveShippingLabelForbidden) IsRedirect() bool
- func (o *RetrieveShippingLabelForbidden) IsServerError() bool
- func (o *RetrieveShippingLabelForbidden) IsSuccess() bool
- func (o *RetrieveShippingLabelForbidden) String() string
- type RetrieveShippingLabelInternalServerError
- func (o *RetrieveShippingLabelInternalServerError) Error() string
- func (o *RetrieveShippingLabelInternalServerError) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelInternalServerError) IsClientError() bool
- func (o *RetrieveShippingLabelInternalServerError) IsCode(code int) bool
- func (o *RetrieveShippingLabelInternalServerError) IsRedirect() bool
- func (o *RetrieveShippingLabelInternalServerError) IsServerError() bool
- func (o *RetrieveShippingLabelInternalServerError) IsSuccess() bool
- func (o *RetrieveShippingLabelInternalServerError) String() string
- type RetrieveShippingLabelNotFound
- func (o *RetrieveShippingLabelNotFound) Error() string
- func (o *RetrieveShippingLabelNotFound) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelNotFound) IsClientError() bool
- func (o *RetrieveShippingLabelNotFound) IsCode(code int) bool
- func (o *RetrieveShippingLabelNotFound) IsRedirect() bool
- func (o *RetrieveShippingLabelNotFound) IsServerError() bool
- func (o *RetrieveShippingLabelNotFound) IsSuccess() bool
- func (o *RetrieveShippingLabelNotFound) String() string
- type RetrieveShippingLabelOK
- func (o *RetrieveShippingLabelOK) Error() string
- func (o *RetrieveShippingLabelOK) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelOK) IsClientError() bool
- func (o *RetrieveShippingLabelOK) IsCode(code int) bool
- func (o *RetrieveShippingLabelOK) IsRedirect() bool
- func (o *RetrieveShippingLabelOK) IsServerError() bool
- func (o *RetrieveShippingLabelOK) IsSuccess() bool
- func (o *RetrieveShippingLabelOK) String() string
- type RetrieveShippingLabelParams
- func NewRetrieveShippingLabelParams() *RetrieveShippingLabelParams
- func NewRetrieveShippingLabelParamsWithContext(ctx context.Context) *RetrieveShippingLabelParams
- func NewRetrieveShippingLabelParamsWithHTTPClient(client *http.Client) *RetrieveShippingLabelParams
- func NewRetrieveShippingLabelParamsWithTimeout(timeout time.Duration) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) SetBody(body *shipping_models.RetrieveShippingLabelRequest)
- func (o *RetrieveShippingLabelParams) SetContext(ctx context.Context)
- func (o *RetrieveShippingLabelParams) SetDefaults()
- func (o *RetrieveShippingLabelParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveShippingLabelParams) SetShipmentID(shipmentID string)
- func (o *RetrieveShippingLabelParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveShippingLabelParams) SetTrackingID(trackingID string)
- func (o *RetrieveShippingLabelParams) WithBody(body *shipping_models.RetrieveShippingLabelRequest) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WithContext(ctx context.Context) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WithDefaults() *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WithHTTPClient(client *http.Client) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WithShipmentID(shipmentID string) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WithTimeout(timeout time.Duration) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WithTrackingID(trackingID string) *RetrieveShippingLabelParams
- func (o *RetrieveShippingLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveShippingLabelReader
- type RetrieveShippingLabelServiceUnavailable
- func (o *RetrieveShippingLabelServiceUnavailable) Error() string
- func (o *RetrieveShippingLabelServiceUnavailable) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelServiceUnavailable) IsClientError() bool
- func (o *RetrieveShippingLabelServiceUnavailable) IsCode(code int) bool
- func (o *RetrieveShippingLabelServiceUnavailable) IsRedirect() bool
- func (o *RetrieveShippingLabelServiceUnavailable) IsServerError() bool
- func (o *RetrieveShippingLabelServiceUnavailable) IsSuccess() bool
- func (o *RetrieveShippingLabelServiceUnavailable) String() string
- type RetrieveShippingLabelTooManyRequests
- func (o *RetrieveShippingLabelTooManyRequests) Error() string
- func (o *RetrieveShippingLabelTooManyRequests) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelTooManyRequests) IsClientError() bool
- func (o *RetrieveShippingLabelTooManyRequests) IsCode(code int) bool
- func (o *RetrieveShippingLabelTooManyRequests) IsRedirect() bool
- func (o *RetrieveShippingLabelTooManyRequests) IsServerError() bool
- func (o *RetrieveShippingLabelTooManyRequests) IsSuccess() bool
- func (o *RetrieveShippingLabelTooManyRequests) String() string
- type RetrieveShippingLabelUnauthorized
- func (o *RetrieveShippingLabelUnauthorized) Error() string
- func (o *RetrieveShippingLabelUnauthorized) GetPayload() *shipping_models.RetrieveShippingLabelResponse
- func (o *RetrieveShippingLabelUnauthorized) IsClientError() bool
- func (o *RetrieveShippingLabelUnauthorized) IsCode(code int) bool
- func (o *RetrieveShippingLabelUnauthorized) IsRedirect() bool
- func (o *RetrieveShippingLabelUnauthorized) IsServerError() bool
- func (o *RetrieveShippingLabelUnauthorized) IsSuccess() bool
- func (o *RetrieveShippingLabelUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelShipmentBadRequest ¶
type CancelShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CancelShipmentResponse }
CancelShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewCancelShipmentBadRequest ¶
func NewCancelShipmentBadRequest() *CancelShipmentBadRequest
NewCancelShipmentBadRequest creates a CancelShipmentBadRequest with default headers values
func (*CancelShipmentBadRequest) Error ¶
func (o *CancelShipmentBadRequest) Error() string
func (*CancelShipmentBadRequest) GetPayload ¶
func (o *CancelShipmentBadRequest) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentBadRequest) IsClientError ¶
func (o *CancelShipmentBadRequest) IsClientError() bool
IsClientError returns true when this cancel shipment bad request response has a 4xx status code
func (*CancelShipmentBadRequest) IsCode ¶
func (o *CancelShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this cancel shipment bad request response a status code equal to that given
func (*CancelShipmentBadRequest) IsRedirect ¶
func (o *CancelShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this cancel shipment bad request response has a 3xx status code
func (*CancelShipmentBadRequest) IsServerError ¶
func (o *CancelShipmentBadRequest) IsServerError() bool
IsServerError returns true when this cancel shipment bad request response has a 5xx status code
func (*CancelShipmentBadRequest) IsSuccess ¶
func (o *CancelShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this cancel shipment bad request response has a 2xx status code
func (*CancelShipmentBadRequest) String ¶
func (o *CancelShipmentBadRequest) String() string
type CancelShipmentForbidden ¶
type CancelShipmentForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CancelShipmentResponse }
CancelShipmentForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewCancelShipmentForbidden ¶
func NewCancelShipmentForbidden() *CancelShipmentForbidden
NewCancelShipmentForbidden creates a CancelShipmentForbidden with default headers values
func (*CancelShipmentForbidden) Error ¶
func (o *CancelShipmentForbidden) Error() string
func (*CancelShipmentForbidden) GetPayload ¶
func (o *CancelShipmentForbidden) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentForbidden) IsClientError ¶
func (o *CancelShipmentForbidden) IsClientError() bool
IsClientError returns true when this cancel shipment forbidden response has a 4xx status code
func (*CancelShipmentForbidden) IsCode ¶
func (o *CancelShipmentForbidden) IsCode(code int) bool
IsCode returns true when this cancel shipment forbidden response a status code equal to that given
func (*CancelShipmentForbidden) IsRedirect ¶
func (o *CancelShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this cancel shipment forbidden response has a 3xx status code
func (*CancelShipmentForbidden) IsServerError ¶
func (o *CancelShipmentForbidden) IsServerError() bool
IsServerError returns true when this cancel shipment forbidden response has a 5xx status code
func (*CancelShipmentForbidden) IsSuccess ¶
func (o *CancelShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this cancel shipment forbidden response has a 2xx status code
func (*CancelShipmentForbidden) String ¶
func (o *CancelShipmentForbidden) String() string
type CancelShipmentInternalServerError ¶
type CancelShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CancelShipmentResponse }
CancelShipmentInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewCancelShipmentInternalServerError ¶
func NewCancelShipmentInternalServerError() *CancelShipmentInternalServerError
NewCancelShipmentInternalServerError creates a CancelShipmentInternalServerError with default headers values
func (*CancelShipmentInternalServerError) Error ¶
func (o *CancelShipmentInternalServerError) Error() string
func (*CancelShipmentInternalServerError) GetPayload ¶
func (o *CancelShipmentInternalServerError) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentInternalServerError) IsClientError ¶
func (o *CancelShipmentInternalServerError) IsClientError() bool
IsClientError returns true when this cancel shipment internal server error response has a 4xx status code
func (*CancelShipmentInternalServerError) IsCode ¶
func (o *CancelShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this cancel shipment internal server error response a status code equal to that given
func (*CancelShipmentInternalServerError) IsRedirect ¶
func (o *CancelShipmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this cancel shipment internal server error response has a 3xx status code
func (*CancelShipmentInternalServerError) IsServerError ¶
func (o *CancelShipmentInternalServerError) IsServerError() bool
IsServerError returns true when this cancel shipment internal server error response has a 5xx status code
func (*CancelShipmentInternalServerError) IsSuccess ¶
func (o *CancelShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this cancel shipment internal server error response has a 2xx status code
func (*CancelShipmentInternalServerError) String ¶
func (o *CancelShipmentInternalServerError) String() string
type CancelShipmentNotFound ¶
type CancelShipmentNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CancelShipmentResponse }
CancelShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewCancelShipmentNotFound ¶
func NewCancelShipmentNotFound() *CancelShipmentNotFound
NewCancelShipmentNotFound creates a CancelShipmentNotFound with default headers values
func (*CancelShipmentNotFound) Error ¶
func (o *CancelShipmentNotFound) Error() string
func (*CancelShipmentNotFound) GetPayload ¶
func (o *CancelShipmentNotFound) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentNotFound) IsClientError ¶
func (o *CancelShipmentNotFound) IsClientError() bool
IsClientError returns true when this cancel shipment not found response has a 4xx status code
func (*CancelShipmentNotFound) IsCode ¶
func (o *CancelShipmentNotFound) IsCode(code int) bool
IsCode returns true when this cancel shipment not found response a status code equal to that given
func (*CancelShipmentNotFound) IsRedirect ¶
func (o *CancelShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this cancel shipment not found response has a 3xx status code
func (*CancelShipmentNotFound) IsServerError ¶
func (o *CancelShipmentNotFound) IsServerError() bool
IsServerError returns true when this cancel shipment not found response has a 5xx status code
func (*CancelShipmentNotFound) IsSuccess ¶
func (o *CancelShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this cancel shipment not found response has a 2xx status code
func (*CancelShipmentNotFound) String ¶
func (o *CancelShipmentNotFound) String() string
type CancelShipmentOK ¶
type CancelShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CancelShipmentResponse }
CancelShipmentOK describes a response with status code 200, with default header values.
Success.
func NewCancelShipmentOK ¶
func NewCancelShipmentOK() *CancelShipmentOK
NewCancelShipmentOK creates a CancelShipmentOK with default headers values
func (*CancelShipmentOK) Error ¶
func (o *CancelShipmentOK) Error() string
func (*CancelShipmentOK) GetPayload ¶
func (o *CancelShipmentOK) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentOK) IsClientError ¶
func (o *CancelShipmentOK) IsClientError() bool
IsClientError returns true when this cancel shipment o k response has a 4xx status code
func (*CancelShipmentOK) IsCode ¶
func (o *CancelShipmentOK) IsCode(code int) bool
IsCode returns true when this cancel shipment o k response a status code equal to that given
func (*CancelShipmentOK) IsRedirect ¶
func (o *CancelShipmentOK) IsRedirect() bool
IsRedirect returns true when this cancel shipment o k response has a 3xx status code
func (*CancelShipmentOK) IsServerError ¶
func (o *CancelShipmentOK) IsServerError() bool
IsServerError returns true when this cancel shipment o k response has a 5xx status code
func (*CancelShipmentOK) IsSuccess ¶
func (o *CancelShipmentOK) IsSuccess() bool
IsSuccess returns true when this cancel shipment o k response has a 2xx status code
func (*CancelShipmentOK) String ¶
func (o *CancelShipmentOK) String() string
type CancelShipmentParams ¶
type CancelShipmentParams struct { // ShipmentID. ShipmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelShipmentParams contains all the parameters to send to the API endpoint
for the cancel shipment operation. Typically these are written to a http.Request.
func NewCancelShipmentParams ¶
func NewCancelShipmentParams() *CancelShipmentParams
NewCancelShipmentParams creates a new CancelShipmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCancelShipmentParamsWithContext ¶
func NewCancelShipmentParamsWithContext(ctx context.Context) *CancelShipmentParams
NewCancelShipmentParamsWithContext creates a new CancelShipmentParams object with the ability to set a context for a request.
func NewCancelShipmentParamsWithHTTPClient ¶
func NewCancelShipmentParamsWithHTTPClient(client *http.Client) *CancelShipmentParams
NewCancelShipmentParamsWithHTTPClient creates a new CancelShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewCancelShipmentParamsWithTimeout ¶
func NewCancelShipmentParamsWithTimeout(timeout time.Duration) *CancelShipmentParams
NewCancelShipmentParamsWithTimeout creates a new CancelShipmentParams object with the ability to set a timeout on a request.
func (*CancelShipmentParams) SetContext ¶
func (o *CancelShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel shipment params
func (*CancelShipmentParams) SetDefaults ¶
func (o *CancelShipmentParams) SetDefaults()
SetDefaults hydrates default values in the cancel shipment params (not the query body).
All values with no default are reset to their zero value.
func (*CancelShipmentParams) SetHTTPClient ¶
func (o *CancelShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel shipment params
func (*CancelShipmentParams) SetShipmentID ¶
func (o *CancelShipmentParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the cancel shipment params
func (*CancelShipmentParams) SetTimeout ¶
func (o *CancelShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel shipment params
func (*CancelShipmentParams) WithContext ¶
func (o *CancelShipmentParams) WithContext(ctx context.Context) *CancelShipmentParams
WithContext adds the context to the cancel shipment params
func (*CancelShipmentParams) WithDefaults ¶
func (o *CancelShipmentParams) WithDefaults() *CancelShipmentParams
WithDefaults hydrates default values in the cancel shipment params (not the query body).
All values with no default are reset to their zero value.
func (*CancelShipmentParams) WithHTTPClient ¶
func (o *CancelShipmentParams) WithHTTPClient(client *http.Client) *CancelShipmentParams
WithHTTPClient adds the HTTPClient to the cancel shipment params
func (*CancelShipmentParams) WithShipmentID ¶
func (o *CancelShipmentParams) WithShipmentID(shipmentID string) *CancelShipmentParams
WithShipmentID adds the shipmentID to the cancel shipment params
func (*CancelShipmentParams) WithTimeout ¶
func (o *CancelShipmentParams) WithTimeout(timeout time.Duration) *CancelShipmentParams
WithTimeout adds the timeout to the cancel shipment params
func (*CancelShipmentParams) WriteToRequest ¶
func (o *CancelShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelShipmentReader ¶
type CancelShipmentReader struct {
// contains filtered or unexported fields
}
CancelShipmentReader is a Reader for the CancelShipment structure.
func (*CancelShipmentReader) ReadResponse ¶
func (o *CancelShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelShipmentServiceUnavailable ¶
CancelShipmentServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewCancelShipmentServiceUnavailable ¶
func NewCancelShipmentServiceUnavailable() *CancelShipmentServiceUnavailable
NewCancelShipmentServiceUnavailable creates a CancelShipmentServiceUnavailable with default headers values
func (*CancelShipmentServiceUnavailable) Error ¶
func (o *CancelShipmentServiceUnavailable) Error() string
func (*CancelShipmentServiceUnavailable) GetPayload ¶
func (o *CancelShipmentServiceUnavailable) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentServiceUnavailable) IsClientError ¶
func (o *CancelShipmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this cancel shipment service unavailable response has a 4xx status code
func (*CancelShipmentServiceUnavailable) IsCode ¶
func (o *CancelShipmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this cancel shipment service unavailable response a status code equal to that given
func (*CancelShipmentServiceUnavailable) IsRedirect ¶
func (o *CancelShipmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this cancel shipment service unavailable response has a 3xx status code
func (*CancelShipmentServiceUnavailable) IsServerError ¶
func (o *CancelShipmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this cancel shipment service unavailable response has a 5xx status code
func (*CancelShipmentServiceUnavailable) IsSuccess ¶
func (o *CancelShipmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this cancel shipment service unavailable response has a 2xx status code
func (*CancelShipmentServiceUnavailable) String ¶
func (o *CancelShipmentServiceUnavailable) String() string
type CancelShipmentTooManyRequests ¶
type CancelShipmentTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CancelShipmentResponse }
CancelShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewCancelShipmentTooManyRequests ¶
func NewCancelShipmentTooManyRequests() *CancelShipmentTooManyRequests
NewCancelShipmentTooManyRequests creates a CancelShipmentTooManyRequests with default headers values
func (*CancelShipmentTooManyRequests) Error ¶
func (o *CancelShipmentTooManyRequests) Error() string
func (*CancelShipmentTooManyRequests) GetPayload ¶
func (o *CancelShipmentTooManyRequests) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentTooManyRequests) IsClientError ¶
func (o *CancelShipmentTooManyRequests) IsClientError() bool
IsClientError returns true when this cancel shipment too many requests response has a 4xx status code
func (*CancelShipmentTooManyRequests) IsCode ¶
func (o *CancelShipmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this cancel shipment too many requests response a status code equal to that given
func (*CancelShipmentTooManyRequests) IsRedirect ¶
func (o *CancelShipmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this cancel shipment too many requests response has a 3xx status code
func (*CancelShipmentTooManyRequests) IsServerError ¶
func (o *CancelShipmentTooManyRequests) IsServerError() bool
IsServerError returns true when this cancel shipment too many requests response has a 5xx status code
func (*CancelShipmentTooManyRequests) IsSuccess ¶
func (o *CancelShipmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this cancel shipment too many requests response has a 2xx status code
func (*CancelShipmentTooManyRequests) String ¶
func (o *CancelShipmentTooManyRequests) String() string
type CancelShipmentUnauthorized ¶
CancelShipmentUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewCancelShipmentUnauthorized ¶
func NewCancelShipmentUnauthorized() *CancelShipmentUnauthorized
NewCancelShipmentUnauthorized creates a CancelShipmentUnauthorized with default headers values
func (*CancelShipmentUnauthorized) Error ¶
func (o *CancelShipmentUnauthorized) Error() string
func (*CancelShipmentUnauthorized) GetPayload ¶
func (o *CancelShipmentUnauthorized) GetPayload() *shipping_models.CancelShipmentResponse
func (*CancelShipmentUnauthorized) IsClientError ¶
func (o *CancelShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this cancel shipment unauthorized response has a 4xx status code
func (*CancelShipmentUnauthorized) IsCode ¶
func (o *CancelShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this cancel shipment unauthorized response a status code equal to that given
func (*CancelShipmentUnauthorized) IsRedirect ¶
func (o *CancelShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this cancel shipment unauthorized response has a 3xx status code
func (*CancelShipmentUnauthorized) IsServerError ¶
func (o *CancelShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this cancel shipment unauthorized response has a 5xx status code
func (*CancelShipmentUnauthorized) IsSuccess ¶
func (o *CancelShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this cancel shipment unauthorized response has a 2xx status code
func (*CancelShipmentUnauthorized) String ¶
func (o *CancelShipmentUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for shipping API
func (*Client) CancelShipment ¶
func (a *Client) CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error)
CancelShipment Cancel a shipment by the given shipmentId.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) CreateShipment ¶
func (a *Client) CreateShipment(params *CreateShipmentParams, opts ...ClientOption) (*CreateShipmentOK, error)
CreateShipment Create a new shipment.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
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) GetAccount ¶
func (a *Client) GetAccount(params *GetAccountParams, opts ...ClientOption) (*GetAccountOK, error)
GetAccount Verify if the current account is valid.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) GetRates ¶
func (a *Client) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error)
GetRates Get service rates.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) GetShipment ¶
func (a *Client) GetShipment(params *GetShipmentParams, opts ...ClientOption) (*GetShipmentOK, error)
GetShipment Return the entire shipment object for the shipmentId.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) GetTrackingInformation ¶
func (a *Client) GetTrackingInformation(params *GetTrackingInformationParams, opts ...ClientOption) (*GetTrackingInformationOK, error)
GetTrackingInformation Return the tracking information of a shipment.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) PurchaseLabels ¶
func (a *Client) PurchaseLabels(params *PurchaseLabelsParams, opts ...ClientOption) (*PurchaseLabelsOK, error)
PurchaseLabels Purchase shipping labels based on a given rate.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) PurchaseShipment ¶
func (a *Client) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error)
PurchaseShipment Purchase shipping labels.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) RetrieveShippingLabel ¶
func (a *Client) RetrieveShippingLabel(params *RetrieveShippingLabelParams, opts ...ClientOption) (*RetrieveShippingLabelOK, error)
RetrieveShippingLabel Retrieve shipping label based on the shipment id and tracking id.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error) CreateShipment(params *CreateShipmentParams, opts ...ClientOption) (*CreateShipmentOK, error) GetAccount(params *GetAccountParams, opts ...ClientOption) (*GetAccountOK, error) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error) GetShipment(params *GetShipmentParams, opts ...ClientOption) (*GetShipmentOK, error) GetTrackingInformation(params *GetTrackingInformationParams, opts ...ClientOption) (*GetTrackingInformationOK, error) PurchaseLabels(params *PurchaseLabelsParams, opts ...ClientOption) (*PurchaseLabelsOK, error) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error) RetrieveShippingLabel(params *RetrieveShippingLabelParams, opts ...ClientOption) (*RetrieveShippingLabelOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new shipping API client.
type CreateShipmentBadRequest ¶
type CreateShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CreateShipmentResponse }
CreateShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewCreateShipmentBadRequest ¶
func NewCreateShipmentBadRequest() *CreateShipmentBadRequest
NewCreateShipmentBadRequest creates a CreateShipmentBadRequest with default headers values
func (*CreateShipmentBadRequest) Error ¶
func (o *CreateShipmentBadRequest) Error() string
func (*CreateShipmentBadRequest) GetPayload ¶
func (o *CreateShipmentBadRequest) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentBadRequest) IsClientError ¶
func (o *CreateShipmentBadRequest) IsClientError() bool
IsClientError returns true when this create shipment bad request response has a 4xx status code
func (*CreateShipmentBadRequest) IsCode ¶
func (o *CreateShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this create shipment bad request response a status code equal to that given
func (*CreateShipmentBadRequest) IsRedirect ¶
func (o *CreateShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this create shipment bad request response has a 3xx status code
func (*CreateShipmentBadRequest) IsServerError ¶
func (o *CreateShipmentBadRequest) IsServerError() bool
IsServerError returns true when this create shipment bad request response has a 5xx status code
func (*CreateShipmentBadRequest) IsSuccess ¶
func (o *CreateShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this create shipment bad request response has a 2xx status code
func (*CreateShipmentBadRequest) String ¶
func (o *CreateShipmentBadRequest) String() string
type CreateShipmentForbidden ¶
type CreateShipmentForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CreateShipmentResponse }
CreateShipmentForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewCreateShipmentForbidden ¶
func NewCreateShipmentForbidden() *CreateShipmentForbidden
NewCreateShipmentForbidden creates a CreateShipmentForbidden with default headers values
func (*CreateShipmentForbidden) Error ¶
func (o *CreateShipmentForbidden) Error() string
func (*CreateShipmentForbidden) GetPayload ¶
func (o *CreateShipmentForbidden) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentForbidden) IsClientError ¶
func (o *CreateShipmentForbidden) IsClientError() bool
IsClientError returns true when this create shipment forbidden response has a 4xx status code
func (*CreateShipmentForbidden) IsCode ¶
func (o *CreateShipmentForbidden) IsCode(code int) bool
IsCode returns true when this create shipment forbidden response a status code equal to that given
func (*CreateShipmentForbidden) IsRedirect ¶
func (o *CreateShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this create shipment forbidden response has a 3xx status code
func (*CreateShipmentForbidden) IsServerError ¶
func (o *CreateShipmentForbidden) IsServerError() bool
IsServerError returns true when this create shipment forbidden response has a 5xx status code
func (*CreateShipmentForbidden) IsSuccess ¶
func (o *CreateShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this create shipment forbidden response has a 2xx status code
func (*CreateShipmentForbidden) String ¶
func (o *CreateShipmentForbidden) String() string
type CreateShipmentInternalServerError ¶
type CreateShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CreateShipmentResponse }
CreateShipmentInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewCreateShipmentInternalServerError ¶
func NewCreateShipmentInternalServerError() *CreateShipmentInternalServerError
NewCreateShipmentInternalServerError creates a CreateShipmentInternalServerError with default headers values
func (*CreateShipmentInternalServerError) Error ¶
func (o *CreateShipmentInternalServerError) Error() string
func (*CreateShipmentInternalServerError) GetPayload ¶
func (o *CreateShipmentInternalServerError) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentInternalServerError) IsClientError ¶
func (o *CreateShipmentInternalServerError) IsClientError() bool
IsClientError returns true when this create shipment internal server error response has a 4xx status code
func (*CreateShipmentInternalServerError) IsCode ¶
func (o *CreateShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this create shipment internal server error response a status code equal to that given
func (*CreateShipmentInternalServerError) IsRedirect ¶
func (o *CreateShipmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this create shipment internal server error response has a 3xx status code
func (*CreateShipmentInternalServerError) IsServerError ¶
func (o *CreateShipmentInternalServerError) IsServerError() bool
IsServerError returns true when this create shipment internal server error response has a 5xx status code
func (*CreateShipmentInternalServerError) IsSuccess ¶
func (o *CreateShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this create shipment internal server error response has a 2xx status code
func (*CreateShipmentInternalServerError) String ¶
func (o *CreateShipmentInternalServerError) String() string
type CreateShipmentNotFound ¶
type CreateShipmentNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CreateShipmentResponse }
CreateShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewCreateShipmentNotFound ¶
func NewCreateShipmentNotFound() *CreateShipmentNotFound
NewCreateShipmentNotFound creates a CreateShipmentNotFound with default headers values
func (*CreateShipmentNotFound) Error ¶
func (o *CreateShipmentNotFound) Error() string
func (*CreateShipmentNotFound) GetPayload ¶
func (o *CreateShipmentNotFound) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentNotFound) IsClientError ¶
func (o *CreateShipmentNotFound) IsClientError() bool
IsClientError returns true when this create shipment not found response has a 4xx status code
func (*CreateShipmentNotFound) IsCode ¶
func (o *CreateShipmentNotFound) IsCode(code int) bool
IsCode returns true when this create shipment not found response a status code equal to that given
func (*CreateShipmentNotFound) IsRedirect ¶
func (o *CreateShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this create shipment not found response has a 3xx status code
func (*CreateShipmentNotFound) IsServerError ¶
func (o *CreateShipmentNotFound) IsServerError() bool
IsServerError returns true when this create shipment not found response has a 5xx status code
func (*CreateShipmentNotFound) IsSuccess ¶
func (o *CreateShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this create shipment not found response has a 2xx status code
func (*CreateShipmentNotFound) String ¶
func (o *CreateShipmentNotFound) String() string
type CreateShipmentOK ¶
type CreateShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CreateShipmentResponse }
CreateShipmentOK describes a response with status code 200, with default header values.
Success.
func NewCreateShipmentOK ¶
func NewCreateShipmentOK() *CreateShipmentOK
NewCreateShipmentOK creates a CreateShipmentOK with default headers values
func (*CreateShipmentOK) Error ¶
func (o *CreateShipmentOK) Error() string
func (*CreateShipmentOK) GetPayload ¶
func (o *CreateShipmentOK) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentOK) IsClientError ¶
func (o *CreateShipmentOK) IsClientError() bool
IsClientError returns true when this create shipment o k response has a 4xx status code
func (*CreateShipmentOK) IsCode ¶
func (o *CreateShipmentOK) IsCode(code int) bool
IsCode returns true when this create shipment o k response a status code equal to that given
func (*CreateShipmentOK) IsRedirect ¶
func (o *CreateShipmentOK) IsRedirect() bool
IsRedirect returns true when this create shipment o k response has a 3xx status code
func (*CreateShipmentOK) IsServerError ¶
func (o *CreateShipmentOK) IsServerError() bool
IsServerError returns true when this create shipment o k response has a 5xx status code
func (*CreateShipmentOK) IsSuccess ¶
func (o *CreateShipmentOK) IsSuccess() bool
IsSuccess returns true when this create shipment o k response has a 2xx status code
func (*CreateShipmentOK) String ¶
func (o *CreateShipmentOK) String() string
type CreateShipmentParams ¶
type CreateShipmentParams struct { // Body. Body *shipping_models.CreateShipmentRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateShipmentParams contains all the parameters to send to the API endpoint
for the create shipment operation. Typically these are written to a http.Request.
func NewCreateShipmentParams ¶
func NewCreateShipmentParams() *CreateShipmentParams
NewCreateShipmentParams creates a new CreateShipmentParams 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 NewCreateShipmentParamsWithContext ¶
func NewCreateShipmentParamsWithContext(ctx context.Context) *CreateShipmentParams
NewCreateShipmentParamsWithContext creates a new CreateShipmentParams object with the ability to set a context for a request.
func NewCreateShipmentParamsWithHTTPClient ¶
func NewCreateShipmentParamsWithHTTPClient(client *http.Client) *CreateShipmentParams
NewCreateShipmentParamsWithHTTPClient creates a new CreateShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewCreateShipmentParamsWithTimeout ¶
func NewCreateShipmentParamsWithTimeout(timeout time.Duration) *CreateShipmentParams
NewCreateShipmentParamsWithTimeout creates a new CreateShipmentParams object with the ability to set a timeout on a request.
func (*CreateShipmentParams) SetBody ¶
func (o *CreateShipmentParams) SetBody(body *shipping_models.CreateShipmentRequest)
SetBody adds the body to the create shipment params
func (*CreateShipmentParams) SetContext ¶
func (o *CreateShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the create shipment params
func (*CreateShipmentParams) SetDefaults ¶
func (o *CreateShipmentParams) SetDefaults()
SetDefaults hydrates default values in the create shipment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateShipmentParams) SetHTTPClient ¶
func (o *CreateShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create shipment params
func (*CreateShipmentParams) SetTimeout ¶
func (o *CreateShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create shipment params
func (*CreateShipmentParams) WithBody ¶
func (o *CreateShipmentParams) WithBody(body *shipping_models.CreateShipmentRequest) *CreateShipmentParams
WithBody adds the body to the create shipment params
func (*CreateShipmentParams) WithContext ¶
func (o *CreateShipmentParams) WithContext(ctx context.Context) *CreateShipmentParams
WithContext adds the context to the create shipment params
func (*CreateShipmentParams) WithDefaults ¶
func (o *CreateShipmentParams) WithDefaults() *CreateShipmentParams
WithDefaults hydrates default values in the create shipment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateShipmentParams) WithHTTPClient ¶
func (o *CreateShipmentParams) WithHTTPClient(client *http.Client) *CreateShipmentParams
WithHTTPClient adds the HTTPClient to the create shipment params
func (*CreateShipmentParams) WithTimeout ¶
func (o *CreateShipmentParams) WithTimeout(timeout time.Duration) *CreateShipmentParams
WithTimeout adds the timeout to the create shipment params
func (*CreateShipmentParams) WriteToRequest ¶
func (o *CreateShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateShipmentReader ¶
type CreateShipmentReader struct {
// contains filtered or unexported fields
}
CreateShipmentReader is a Reader for the CreateShipment structure.
func (*CreateShipmentReader) ReadResponse ¶
func (o *CreateShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateShipmentServiceUnavailable ¶
CreateShipmentServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewCreateShipmentServiceUnavailable ¶
func NewCreateShipmentServiceUnavailable() *CreateShipmentServiceUnavailable
NewCreateShipmentServiceUnavailable creates a CreateShipmentServiceUnavailable with default headers values
func (*CreateShipmentServiceUnavailable) Error ¶
func (o *CreateShipmentServiceUnavailable) Error() string
func (*CreateShipmentServiceUnavailable) GetPayload ¶
func (o *CreateShipmentServiceUnavailable) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentServiceUnavailable) IsClientError ¶
func (o *CreateShipmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this create shipment service unavailable response has a 4xx status code
func (*CreateShipmentServiceUnavailable) IsCode ¶
func (o *CreateShipmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create shipment service unavailable response a status code equal to that given
func (*CreateShipmentServiceUnavailable) IsRedirect ¶
func (o *CreateShipmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create shipment service unavailable response has a 3xx status code
func (*CreateShipmentServiceUnavailable) IsServerError ¶
func (o *CreateShipmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this create shipment service unavailable response has a 5xx status code
func (*CreateShipmentServiceUnavailable) IsSuccess ¶
func (o *CreateShipmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create shipment service unavailable response has a 2xx status code
func (*CreateShipmentServiceUnavailable) String ¶
func (o *CreateShipmentServiceUnavailable) String() string
type CreateShipmentTooManyRequests ¶
type CreateShipmentTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.CreateShipmentResponse }
CreateShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewCreateShipmentTooManyRequests ¶
func NewCreateShipmentTooManyRequests() *CreateShipmentTooManyRequests
NewCreateShipmentTooManyRequests creates a CreateShipmentTooManyRequests with default headers values
func (*CreateShipmentTooManyRequests) Error ¶
func (o *CreateShipmentTooManyRequests) Error() string
func (*CreateShipmentTooManyRequests) GetPayload ¶
func (o *CreateShipmentTooManyRequests) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentTooManyRequests) IsClientError ¶
func (o *CreateShipmentTooManyRequests) IsClientError() bool
IsClientError returns true when this create shipment too many requests response has a 4xx status code
func (*CreateShipmentTooManyRequests) IsCode ¶
func (o *CreateShipmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this create shipment too many requests response a status code equal to that given
func (*CreateShipmentTooManyRequests) IsRedirect ¶
func (o *CreateShipmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create shipment too many requests response has a 3xx status code
func (*CreateShipmentTooManyRequests) IsServerError ¶
func (o *CreateShipmentTooManyRequests) IsServerError() bool
IsServerError returns true when this create shipment too many requests response has a 5xx status code
func (*CreateShipmentTooManyRequests) IsSuccess ¶
func (o *CreateShipmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create shipment too many requests response has a 2xx status code
func (*CreateShipmentTooManyRequests) String ¶
func (o *CreateShipmentTooManyRequests) String() string
type CreateShipmentUnauthorized ¶
CreateShipmentUnauthorized 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 NewCreateShipmentUnauthorized ¶
func NewCreateShipmentUnauthorized() *CreateShipmentUnauthorized
NewCreateShipmentUnauthorized creates a CreateShipmentUnauthorized with default headers values
func (*CreateShipmentUnauthorized) Error ¶
func (o *CreateShipmentUnauthorized) Error() string
func (*CreateShipmentUnauthorized) GetPayload ¶
func (o *CreateShipmentUnauthorized) GetPayload() *shipping_models.CreateShipmentResponse
func (*CreateShipmentUnauthorized) IsClientError ¶
func (o *CreateShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this create shipment unauthorized response has a 4xx status code
func (*CreateShipmentUnauthorized) IsCode ¶
func (o *CreateShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this create shipment unauthorized response a status code equal to that given
func (*CreateShipmentUnauthorized) IsRedirect ¶
func (o *CreateShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this create shipment unauthorized response has a 3xx status code
func (*CreateShipmentUnauthorized) IsServerError ¶
func (o *CreateShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this create shipment unauthorized response has a 5xx status code
func (*CreateShipmentUnauthorized) IsSuccess ¶
func (o *CreateShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this create shipment unauthorized response has a 2xx status code
func (*CreateShipmentUnauthorized) String ¶
func (o *CreateShipmentUnauthorized) String() string
type GetAccountBadRequest ¶
type GetAccountBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetAccountResponse }
GetAccountBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetAccountBadRequest ¶
func NewGetAccountBadRequest() *GetAccountBadRequest
NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values
func (*GetAccountBadRequest) Error ¶
func (o *GetAccountBadRequest) Error() string
func (*GetAccountBadRequest) GetPayload ¶
func (o *GetAccountBadRequest) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountBadRequest) IsClientError ¶
func (o *GetAccountBadRequest) IsClientError() bool
IsClientError returns true when this get account bad request response has a 4xx status code
func (*GetAccountBadRequest) IsCode ¶
func (o *GetAccountBadRequest) IsCode(code int) bool
IsCode returns true when this get account bad request response a status code equal to that given
func (*GetAccountBadRequest) IsRedirect ¶
func (o *GetAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this get account bad request response has a 3xx status code
func (*GetAccountBadRequest) IsServerError ¶
func (o *GetAccountBadRequest) IsServerError() bool
IsServerError returns true when this get account bad request response has a 5xx status code
func (*GetAccountBadRequest) IsSuccess ¶
func (o *GetAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this get account bad request response has a 2xx status code
func (*GetAccountBadRequest) String ¶
func (o *GetAccountBadRequest) String() string
type GetAccountForbidden ¶
type GetAccountForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetAccountResponse }
GetAccountForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewGetAccountForbidden ¶
func NewGetAccountForbidden() *GetAccountForbidden
NewGetAccountForbidden creates a GetAccountForbidden with default headers values
func (*GetAccountForbidden) Error ¶
func (o *GetAccountForbidden) Error() string
func (*GetAccountForbidden) GetPayload ¶
func (o *GetAccountForbidden) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountForbidden) IsClientError ¶
func (o *GetAccountForbidden) IsClientError() bool
IsClientError returns true when this get account forbidden response has a 4xx status code
func (*GetAccountForbidden) IsCode ¶
func (o *GetAccountForbidden) IsCode(code int) bool
IsCode returns true when this get account forbidden response a status code equal to that given
func (*GetAccountForbidden) IsRedirect ¶
func (o *GetAccountForbidden) IsRedirect() bool
IsRedirect returns true when this get account forbidden response has a 3xx status code
func (*GetAccountForbidden) IsServerError ¶
func (o *GetAccountForbidden) IsServerError() bool
IsServerError returns true when this get account forbidden response has a 5xx status code
func (*GetAccountForbidden) IsSuccess ¶
func (o *GetAccountForbidden) IsSuccess() bool
IsSuccess returns true when this get account forbidden response has a 2xx status code
func (*GetAccountForbidden) String ¶
func (o *GetAccountForbidden) String() string
type GetAccountInternalServerError ¶
type GetAccountInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetAccountResponse }
GetAccountInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewGetAccountInternalServerError ¶
func NewGetAccountInternalServerError() *GetAccountInternalServerError
NewGetAccountInternalServerError creates a GetAccountInternalServerError with default headers values
func (*GetAccountInternalServerError) Error ¶
func (o *GetAccountInternalServerError) Error() string
func (*GetAccountInternalServerError) GetPayload ¶
func (o *GetAccountInternalServerError) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountInternalServerError) IsClientError ¶
func (o *GetAccountInternalServerError) IsClientError() bool
IsClientError returns true when this get account internal server error response has a 4xx status code
func (*GetAccountInternalServerError) IsCode ¶
func (o *GetAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this get account internal server error response a status code equal to that given
func (*GetAccountInternalServerError) IsRedirect ¶
func (o *GetAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this get account internal server error response has a 3xx status code
func (*GetAccountInternalServerError) IsServerError ¶
func (o *GetAccountInternalServerError) IsServerError() bool
IsServerError returns true when this get account internal server error response has a 5xx status code
func (*GetAccountInternalServerError) IsSuccess ¶
func (o *GetAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this get account internal server error response has a 2xx status code
func (*GetAccountInternalServerError) String ¶
func (o *GetAccountInternalServerError) String() string
type GetAccountNotFound ¶
type GetAccountNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetAccountResponse }
GetAccountNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetAccountNotFound ¶
func NewGetAccountNotFound() *GetAccountNotFound
NewGetAccountNotFound creates a GetAccountNotFound with default headers values
func (*GetAccountNotFound) Error ¶
func (o *GetAccountNotFound) Error() string
func (*GetAccountNotFound) GetPayload ¶
func (o *GetAccountNotFound) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountNotFound) IsClientError ¶
func (o *GetAccountNotFound) IsClientError() bool
IsClientError returns true when this get account not found response has a 4xx status code
func (*GetAccountNotFound) IsCode ¶
func (o *GetAccountNotFound) IsCode(code int) bool
IsCode returns true when this get account not found response a status code equal to that given
func (*GetAccountNotFound) IsRedirect ¶
func (o *GetAccountNotFound) IsRedirect() bool
IsRedirect returns true when this get account not found response has a 3xx status code
func (*GetAccountNotFound) IsServerError ¶
func (o *GetAccountNotFound) IsServerError() bool
IsServerError returns true when this get account not found response has a 5xx status code
func (*GetAccountNotFound) IsSuccess ¶
func (o *GetAccountNotFound) IsSuccess() bool
IsSuccess returns true when this get account not found response has a 2xx status code
func (*GetAccountNotFound) String ¶
func (o *GetAccountNotFound) String() string
type GetAccountOK ¶
type GetAccountOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetAccountResponse }
GetAccountOK describes a response with status code 200, with default header values.
The account was valid.
func NewGetAccountOK ¶
func NewGetAccountOK() *GetAccountOK
NewGetAccountOK creates a GetAccountOK with default headers values
func (*GetAccountOK) Error ¶
func (o *GetAccountOK) Error() string
func (*GetAccountOK) GetPayload ¶
func (o *GetAccountOK) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountOK) IsClientError ¶
func (o *GetAccountOK) IsClientError() bool
IsClientError returns true when this get account o k response has a 4xx status code
func (*GetAccountOK) IsCode ¶
func (o *GetAccountOK) IsCode(code int) bool
IsCode returns true when this get account o k response a status code equal to that given
func (*GetAccountOK) IsRedirect ¶
func (o *GetAccountOK) IsRedirect() bool
IsRedirect returns true when this get account o k response has a 3xx status code
func (*GetAccountOK) IsServerError ¶
func (o *GetAccountOK) IsServerError() bool
IsServerError returns true when this get account o k response has a 5xx status code
func (*GetAccountOK) IsSuccess ¶
func (o *GetAccountOK) IsSuccess() bool
IsSuccess returns true when this get account o k response has a 2xx status code
func (*GetAccountOK) String ¶
func (o *GetAccountOK) String() string
type GetAccountParams ¶
type GetAccountParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountParams contains all the parameters to send to the API endpoint
for the get account operation. Typically these are written to a http.Request.
func NewGetAccountParams ¶
func NewGetAccountParams() *GetAccountParams
NewGetAccountParams creates a new GetAccountParams 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 NewGetAccountParamsWithContext ¶
func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams
NewGetAccountParamsWithContext creates a new GetAccountParams object with the ability to set a context for a request.
func NewGetAccountParamsWithHTTPClient ¶
func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams
NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountParamsWithTimeout ¶
func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams
NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the ability to set a timeout on a request.
func (*GetAccountParams) SetContext ¶
func (o *GetAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get account params
func (*GetAccountParams) SetDefaults ¶
func (o *GetAccountParams) SetDefaults()
SetDefaults hydrates default values in the get account params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountParams) SetHTTPClient ¶
func (o *GetAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) SetTimeout ¶
func (o *GetAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account params
func (*GetAccountParams) WithContext ¶
func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
WithContext adds the context to the get account params
func (*GetAccountParams) WithDefaults ¶
func (o *GetAccountParams) WithDefaults() *GetAccountParams
WithDefaults hydrates default values in the get account params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountParams) WithHTTPClient ¶
func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
WithHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) WithTimeout ¶
func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
WithTimeout adds the timeout to the get account params
func (*GetAccountParams) WriteToRequest ¶
func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountReader ¶
type GetAccountReader struct {
// contains filtered or unexported fields
}
GetAccountReader is a Reader for the GetAccount structure.
func (*GetAccountReader) ReadResponse ¶
func (o *GetAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountServiceUnavailable ¶
GetAccountServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetAccountServiceUnavailable ¶
func NewGetAccountServiceUnavailable() *GetAccountServiceUnavailable
NewGetAccountServiceUnavailable creates a GetAccountServiceUnavailable with default headers values
func (*GetAccountServiceUnavailable) Error ¶
func (o *GetAccountServiceUnavailable) Error() string
func (*GetAccountServiceUnavailable) GetPayload ¶
func (o *GetAccountServiceUnavailable) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountServiceUnavailable) IsClientError ¶
func (o *GetAccountServiceUnavailable) IsClientError() bool
IsClientError returns true when this get account service unavailable response has a 4xx status code
func (*GetAccountServiceUnavailable) IsCode ¶
func (o *GetAccountServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get account service unavailable response a status code equal to that given
func (*GetAccountServiceUnavailable) IsRedirect ¶
func (o *GetAccountServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get account service unavailable response has a 3xx status code
func (*GetAccountServiceUnavailable) IsServerError ¶
func (o *GetAccountServiceUnavailable) IsServerError() bool
IsServerError returns true when this get account service unavailable response has a 5xx status code
func (*GetAccountServiceUnavailable) IsSuccess ¶
func (o *GetAccountServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get account service unavailable response has a 2xx status code
func (*GetAccountServiceUnavailable) String ¶
func (o *GetAccountServiceUnavailable) String() string
type GetAccountTooManyRequests ¶
type GetAccountTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetAccountResponse }
GetAccountTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetAccountTooManyRequests ¶
func NewGetAccountTooManyRequests() *GetAccountTooManyRequests
NewGetAccountTooManyRequests creates a GetAccountTooManyRequests with default headers values
func (*GetAccountTooManyRequests) Error ¶
func (o *GetAccountTooManyRequests) Error() string
func (*GetAccountTooManyRequests) GetPayload ¶
func (o *GetAccountTooManyRequests) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountTooManyRequests) IsClientError ¶
func (o *GetAccountTooManyRequests) IsClientError() bool
IsClientError returns true when this get account too many requests response has a 4xx status code
func (*GetAccountTooManyRequests) IsCode ¶
func (o *GetAccountTooManyRequests) IsCode(code int) bool
IsCode returns true when this get account too many requests response a status code equal to that given
func (*GetAccountTooManyRequests) IsRedirect ¶
func (o *GetAccountTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get account too many requests response has a 3xx status code
func (*GetAccountTooManyRequests) IsServerError ¶
func (o *GetAccountTooManyRequests) IsServerError() bool
IsServerError returns true when this get account too many requests response has a 5xx status code
func (*GetAccountTooManyRequests) IsSuccess ¶
func (o *GetAccountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get account too many requests response has a 2xx status code
func (*GetAccountTooManyRequests) String ¶
func (o *GetAccountTooManyRequests) String() string
type GetAccountUnauthorized ¶
GetAccountUnauthorized 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 NewGetAccountUnauthorized ¶
func NewGetAccountUnauthorized() *GetAccountUnauthorized
NewGetAccountUnauthorized creates a GetAccountUnauthorized with default headers values
func (*GetAccountUnauthorized) Error ¶
func (o *GetAccountUnauthorized) Error() string
func (*GetAccountUnauthorized) GetPayload ¶
func (o *GetAccountUnauthorized) GetPayload() *shipping_models.GetAccountResponse
func (*GetAccountUnauthorized) IsClientError ¶
func (o *GetAccountUnauthorized) IsClientError() bool
IsClientError returns true when this get account unauthorized response has a 4xx status code
func (*GetAccountUnauthorized) IsCode ¶
func (o *GetAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this get account unauthorized response a status code equal to that given
func (*GetAccountUnauthorized) IsRedirect ¶
func (o *GetAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this get account unauthorized response has a 3xx status code
func (*GetAccountUnauthorized) IsServerError ¶
func (o *GetAccountUnauthorized) IsServerError() bool
IsServerError returns true when this get account unauthorized response has a 5xx status code
func (*GetAccountUnauthorized) IsSuccess ¶
func (o *GetAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this get account unauthorized response has a 2xx status code
func (*GetAccountUnauthorized) String ¶
func (o *GetAccountUnauthorized) String() string
type GetRatesBadRequest ¶
type GetRatesBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetRatesResponse }
GetRatesBadRequest describes a response with status code 400, with default header values.
Request is missing or has invalid parameters and cannot be parsed.
func NewGetRatesBadRequest ¶
func NewGetRatesBadRequest() *GetRatesBadRequest
NewGetRatesBadRequest creates a GetRatesBadRequest with default headers values
func (*GetRatesBadRequest) Error ¶
func (o *GetRatesBadRequest) Error() string
func (*GetRatesBadRequest) GetPayload ¶
func (o *GetRatesBadRequest) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesBadRequest) IsClientError ¶
func (o *GetRatesBadRequest) IsClientError() bool
IsClientError returns true when this get rates bad request response has a 4xx status code
func (*GetRatesBadRequest) IsCode ¶
func (o *GetRatesBadRequest) IsCode(code int) bool
IsCode returns true when this get rates bad request response a status code equal to that given
func (*GetRatesBadRequest) IsRedirect ¶
func (o *GetRatesBadRequest) IsRedirect() bool
IsRedirect returns true when this get rates bad request response has a 3xx status code
func (*GetRatesBadRequest) IsServerError ¶
func (o *GetRatesBadRequest) IsServerError() bool
IsServerError returns true when this get rates bad request response has a 5xx status code
func (*GetRatesBadRequest) IsSuccess ¶
func (o *GetRatesBadRequest) IsSuccess() bool
IsSuccess returns true when this get rates bad request response has a 2xx status code
func (*GetRatesBadRequest) String ¶
func (o *GetRatesBadRequest) String() string
type GetRatesForbidden ¶
type GetRatesForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetRatesResponse }
GetRatesForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewGetRatesForbidden ¶
func NewGetRatesForbidden() *GetRatesForbidden
NewGetRatesForbidden creates a GetRatesForbidden with default headers values
func (*GetRatesForbidden) Error ¶
func (o *GetRatesForbidden) Error() string
func (*GetRatesForbidden) GetPayload ¶
func (o *GetRatesForbidden) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesForbidden) IsClientError ¶
func (o *GetRatesForbidden) IsClientError() bool
IsClientError returns true when this get rates forbidden response has a 4xx status code
func (*GetRatesForbidden) IsCode ¶
func (o *GetRatesForbidden) IsCode(code int) bool
IsCode returns true when this get rates forbidden response a status code equal to that given
func (*GetRatesForbidden) IsRedirect ¶
func (o *GetRatesForbidden) IsRedirect() bool
IsRedirect returns true when this get rates forbidden response has a 3xx status code
func (*GetRatesForbidden) IsServerError ¶
func (o *GetRatesForbidden) IsServerError() bool
IsServerError returns true when this get rates forbidden response has a 5xx status code
func (*GetRatesForbidden) IsSuccess ¶
func (o *GetRatesForbidden) IsSuccess() bool
IsSuccess returns true when this get rates forbidden response has a 2xx status code
func (*GetRatesForbidden) String ¶
func (o *GetRatesForbidden) String() string
type GetRatesInternalServerError ¶
type GetRatesInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetRatesResponse }
GetRatesInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewGetRatesInternalServerError ¶
func NewGetRatesInternalServerError() *GetRatesInternalServerError
NewGetRatesInternalServerError creates a GetRatesInternalServerError with default headers values
func (*GetRatesInternalServerError) Error ¶
func (o *GetRatesInternalServerError) Error() string
func (*GetRatesInternalServerError) GetPayload ¶
func (o *GetRatesInternalServerError) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesInternalServerError) IsClientError ¶
func (o *GetRatesInternalServerError) IsClientError() bool
IsClientError returns true when this get rates internal server error response has a 4xx status code
func (*GetRatesInternalServerError) IsCode ¶
func (o *GetRatesInternalServerError) IsCode(code int) bool
IsCode returns true when this get rates internal server error response a status code equal to that given
func (*GetRatesInternalServerError) IsRedirect ¶
func (o *GetRatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get rates internal server error response has a 3xx status code
func (*GetRatesInternalServerError) IsServerError ¶
func (o *GetRatesInternalServerError) IsServerError() bool
IsServerError returns true when this get rates internal server error response has a 5xx status code
func (*GetRatesInternalServerError) IsSuccess ¶
func (o *GetRatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get rates internal server error response has a 2xx status code
func (*GetRatesInternalServerError) String ¶
func (o *GetRatesInternalServerError) String() string
type GetRatesNotFound ¶
type GetRatesNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetRatesResponse }
GetRatesNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetRatesNotFound ¶
func NewGetRatesNotFound() *GetRatesNotFound
NewGetRatesNotFound creates a GetRatesNotFound with default headers values
func (*GetRatesNotFound) Error ¶
func (o *GetRatesNotFound) Error() string
func (*GetRatesNotFound) GetPayload ¶
func (o *GetRatesNotFound) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesNotFound) IsClientError ¶
func (o *GetRatesNotFound) IsClientError() bool
IsClientError returns true when this get rates not found response has a 4xx status code
func (*GetRatesNotFound) IsCode ¶
func (o *GetRatesNotFound) IsCode(code int) bool
IsCode returns true when this get rates not found response a status code equal to that given
func (*GetRatesNotFound) IsRedirect ¶
func (o *GetRatesNotFound) IsRedirect() bool
IsRedirect returns true when this get rates not found response has a 3xx status code
func (*GetRatesNotFound) IsServerError ¶
func (o *GetRatesNotFound) IsServerError() bool
IsServerError returns true when this get rates not found response has a 5xx status code
func (*GetRatesNotFound) IsSuccess ¶
func (o *GetRatesNotFound) IsSuccess() bool
IsSuccess returns true when this get rates not found response has a 2xx status code
func (*GetRatesNotFound) String ¶
func (o *GetRatesNotFound) String() string
type GetRatesOK ¶
type GetRatesOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetRatesResponse }
GetRatesOK describes a response with status code 200, with default header values.
Success.
func NewGetRatesOK ¶
func NewGetRatesOK() *GetRatesOK
NewGetRatesOK creates a GetRatesOK with default headers values
func (*GetRatesOK) Error ¶
func (o *GetRatesOK) Error() string
func (*GetRatesOK) GetPayload ¶
func (o *GetRatesOK) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesOK) IsClientError ¶
func (o *GetRatesOK) IsClientError() bool
IsClientError returns true when this get rates o k response has a 4xx status code
func (*GetRatesOK) IsCode ¶
func (o *GetRatesOK) IsCode(code int) bool
IsCode returns true when this get rates o k response a status code equal to that given
func (*GetRatesOK) IsRedirect ¶
func (o *GetRatesOK) IsRedirect() bool
IsRedirect returns true when this get rates o k response has a 3xx status code
func (*GetRatesOK) IsServerError ¶
func (o *GetRatesOK) IsServerError() bool
IsServerError returns true when this get rates o k response has a 5xx status code
func (*GetRatesOK) IsSuccess ¶
func (o *GetRatesOK) IsSuccess() bool
IsSuccess returns true when this get rates o k response has a 2xx status code
func (*GetRatesOK) String ¶
func (o *GetRatesOK) String() string
type GetRatesParams ¶
type GetRatesParams struct { // Body. Body *shipping_models.GetRatesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRatesParams contains all the parameters to send to the API endpoint
for the get rates operation. Typically these are written to a http.Request.
func NewGetRatesParams ¶
func NewGetRatesParams() *GetRatesParams
NewGetRatesParams creates a new GetRatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRatesParamsWithContext ¶
func NewGetRatesParamsWithContext(ctx context.Context) *GetRatesParams
NewGetRatesParamsWithContext creates a new GetRatesParams object with the ability to set a context for a request.
func NewGetRatesParamsWithHTTPClient ¶
func NewGetRatesParamsWithHTTPClient(client *http.Client) *GetRatesParams
NewGetRatesParamsWithHTTPClient creates a new GetRatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetRatesParamsWithTimeout ¶
func NewGetRatesParamsWithTimeout(timeout time.Duration) *GetRatesParams
NewGetRatesParamsWithTimeout creates a new GetRatesParams object with the ability to set a timeout on a request.
func (*GetRatesParams) SetBody ¶
func (o *GetRatesParams) SetBody(body *shipping_models.GetRatesRequest)
SetBody adds the body to the get rates params
func (*GetRatesParams) SetContext ¶
func (o *GetRatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get rates params
func (*GetRatesParams) SetDefaults ¶
func (o *GetRatesParams) SetDefaults()
SetDefaults hydrates default values in the get rates params (not the query body).
All values with no default are reset to their zero value.
func (*GetRatesParams) SetHTTPClient ¶
func (o *GetRatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rates params
func (*GetRatesParams) SetTimeout ¶
func (o *GetRatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rates params
func (*GetRatesParams) WithBody ¶
func (o *GetRatesParams) WithBody(body *shipping_models.GetRatesRequest) *GetRatesParams
WithBody adds the body to the get rates params
func (*GetRatesParams) WithContext ¶
func (o *GetRatesParams) WithContext(ctx context.Context) *GetRatesParams
WithContext adds the context to the get rates params
func (*GetRatesParams) WithDefaults ¶
func (o *GetRatesParams) WithDefaults() *GetRatesParams
WithDefaults hydrates default values in the get rates params (not the query body).
All values with no default are reset to their zero value.
func (*GetRatesParams) WithHTTPClient ¶
func (o *GetRatesParams) WithHTTPClient(client *http.Client) *GetRatesParams
WithHTTPClient adds the HTTPClient to the get rates params
func (*GetRatesParams) WithTimeout ¶
func (o *GetRatesParams) WithTimeout(timeout time.Duration) *GetRatesParams
WithTimeout adds the timeout to the get rates params
func (*GetRatesParams) WriteToRequest ¶
func (o *GetRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRatesReader ¶
type GetRatesReader struct {
// contains filtered or unexported fields
}
GetRatesReader is a Reader for the GetRates structure.
func (*GetRatesReader) ReadResponse ¶
func (o *GetRatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRatesServiceUnavailable ¶
GetRatesServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetRatesServiceUnavailable ¶
func NewGetRatesServiceUnavailable() *GetRatesServiceUnavailable
NewGetRatesServiceUnavailable creates a GetRatesServiceUnavailable with default headers values
func (*GetRatesServiceUnavailable) Error ¶
func (o *GetRatesServiceUnavailable) Error() string
func (*GetRatesServiceUnavailable) GetPayload ¶
func (o *GetRatesServiceUnavailable) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesServiceUnavailable) IsClientError ¶
func (o *GetRatesServiceUnavailable) IsClientError() bool
IsClientError returns true when this get rates service unavailable response has a 4xx status code
func (*GetRatesServiceUnavailable) IsCode ¶
func (o *GetRatesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get rates service unavailable response a status code equal to that given
func (*GetRatesServiceUnavailable) IsRedirect ¶
func (o *GetRatesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get rates service unavailable response has a 3xx status code
func (*GetRatesServiceUnavailable) IsServerError ¶
func (o *GetRatesServiceUnavailable) IsServerError() bool
IsServerError returns true when this get rates service unavailable response has a 5xx status code
func (*GetRatesServiceUnavailable) IsSuccess ¶
func (o *GetRatesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get rates service unavailable response has a 2xx status code
func (*GetRatesServiceUnavailable) String ¶
func (o *GetRatesServiceUnavailable) String() string
type GetRatesTooManyRequests ¶
type GetRatesTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetRatesResponse }
GetRatesTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetRatesTooManyRequests ¶
func NewGetRatesTooManyRequests() *GetRatesTooManyRequests
NewGetRatesTooManyRequests creates a GetRatesTooManyRequests with default headers values
func (*GetRatesTooManyRequests) Error ¶
func (o *GetRatesTooManyRequests) Error() string
func (*GetRatesTooManyRequests) GetPayload ¶
func (o *GetRatesTooManyRequests) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesTooManyRequests) IsClientError ¶
func (o *GetRatesTooManyRequests) IsClientError() bool
IsClientError returns true when this get rates too many requests response has a 4xx status code
func (*GetRatesTooManyRequests) IsCode ¶
func (o *GetRatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get rates too many requests response a status code equal to that given
func (*GetRatesTooManyRequests) IsRedirect ¶
func (o *GetRatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get rates too many requests response has a 3xx status code
func (*GetRatesTooManyRequests) IsServerError ¶
func (o *GetRatesTooManyRequests) IsServerError() bool
IsServerError returns true when this get rates too many requests response has a 5xx status code
func (*GetRatesTooManyRequests) IsSuccess ¶
func (o *GetRatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get rates too many requests response has a 2xx status code
func (*GetRatesTooManyRequests) String ¶
func (o *GetRatesTooManyRequests) String() string
type GetRatesUnauthorized ¶
GetRatesUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetRatesUnauthorized ¶
func NewGetRatesUnauthorized() *GetRatesUnauthorized
NewGetRatesUnauthorized creates a GetRatesUnauthorized with default headers values
func (*GetRatesUnauthorized) Error ¶
func (o *GetRatesUnauthorized) Error() string
func (*GetRatesUnauthorized) GetPayload ¶
func (o *GetRatesUnauthorized) GetPayload() *shipping_models.GetRatesResponse
func (*GetRatesUnauthorized) IsClientError ¶
func (o *GetRatesUnauthorized) IsClientError() bool
IsClientError returns true when this get rates unauthorized response has a 4xx status code
func (*GetRatesUnauthorized) IsCode ¶
func (o *GetRatesUnauthorized) IsCode(code int) bool
IsCode returns true when this get rates unauthorized response a status code equal to that given
func (*GetRatesUnauthorized) IsRedirect ¶
func (o *GetRatesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get rates unauthorized response has a 3xx status code
func (*GetRatesUnauthorized) IsServerError ¶
func (o *GetRatesUnauthorized) IsServerError() bool
IsServerError returns true when this get rates unauthorized response has a 5xx status code
func (*GetRatesUnauthorized) IsSuccess ¶
func (o *GetRatesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get rates unauthorized response has a 2xx status code
func (*GetRatesUnauthorized) String ¶
func (o *GetRatesUnauthorized) String() string
type GetShipmentBadRequest ¶
type GetShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetShipmentResponse }
GetShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetShipmentBadRequest ¶
func NewGetShipmentBadRequest() *GetShipmentBadRequest
NewGetShipmentBadRequest creates a GetShipmentBadRequest with default headers values
func (*GetShipmentBadRequest) Error ¶
func (o *GetShipmentBadRequest) Error() string
func (*GetShipmentBadRequest) GetPayload ¶
func (o *GetShipmentBadRequest) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentBadRequest) IsClientError ¶
func (o *GetShipmentBadRequest) IsClientError() bool
IsClientError returns true when this get shipment bad request response has a 4xx status code
func (*GetShipmentBadRequest) IsCode ¶
func (o *GetShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this get shipment bad request response a status code equal to that given
func (*GetShipmentBadRequest) IsRedirect ¶
func (o *GetShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this get shipment bad request response has a 3xx status code
func (*GetShipmentBadRequest) IsServerError ¶
func (o *GetShipmentBadRequest) IsServerError() bool
IsServerError returns true when this get shipment bad request response has a 5xx status code
func (*GetShipmentBadRequest) IsSuccess ¶
func (o *GetShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this get shipment bad request response has a 2xx status code
func (*GetShipmentBadRequest) String ¶
func (o *GetShipmentBadRequest) String() string
type GetShipmentForbidden ¶
type GetShipmentForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetShipmentResponse }
GetShipmentForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewGetShipmentForbidden ¶
func NewGetShipmentForbidden() *GetShipmentForbidden
NewGetShipmentForbidden creates a GetShipmentForbidden with default headers values
func (*GetShipmentForbidden) Error ¶
func (o *GetShipmentForbidden) Error() string
func (*GetShipmentForbidden) GetPayload ¶
func (o *GetShipmentForbidden) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentForbidden) IsClientError ¶
func (o *GetShipmentForbidden) IsClientError() bool
IsClientError returns true when this get shipment forbidden response has a 4xx status code
func (*GetShipmentForbidden) IsCode ¶
func (o *GetShipmentForbidden) IsCode(code int) bool
IsCode returns true when this get shipment forbidden response a status code equal to that given
func (*GetShipmentForbidden) IsRedirect ¶
func (o *GetShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this get shipment forbidden response has a 3xx status code
func (*GetShipmentForbidden) IsServerError ¶
func (o *GetShipmentForbidden) IsServerError() bool
IsServerError returns true when this get shipment forbidden response has a 5xx status code
func (*GetShipmentForbidden) IsSuccess ¶
func (o *GetShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this get shipment forbidden response has a 2xx status code
func (*GetShipmentForbidden) String ¶
func (o *GetShipmentForbidden) String() string
type GetShipmentInternalServerError ¶
type GetShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetShipmentResponse }
GetShipmentInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewGetShipmentInternalServerError ¶
func NewGetShipmentInternalServerError() *GetShipmentInternalServerError
NewGetShipmentInternalServerError creates a GetShipmentInternalServerError with default headers values
func (*GetShipmentInternalServerError) Error ¶
func (o *GetShipmentInternalServerError) Error() string
func (*GetShipmentInternalServerError) GetPayload ¶
func (o *GetShipmentInternalServerError) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentInternalServerError) IsClientError ¶
func (o *GetShipmentInternalServerError) IsClientError() bool
IsClientError returns true when this get shipment internal server error response has a 4xx status code
func (*GetShipmentInternalServerError) IsCode ¶
func (o *GetShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this get shipment internal server error response a status code equal to that given
func (*GetShipmentInternalServerError) IsRedirect ¶
func (o *GetShipmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this get shipment internal server error response has a 3xx status code
func (*GetShipmentInternalServerError) IsServerError ¶
func (o *GetShipmentInternalServerError) IsServerError() bool
IsServerError returns true when this get shipment internal server error response has a 5xx status code
func (*GetShipmentInternalServerError) IsSuccess ¶
func (o *GetShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this get shipment internal server error response has a 2xx status code
func (*GetShipmentInternalServerError) String ¶
func (o *GetShipmentInternalServerError) String() string
type GetShipmentNotFound ¶
type GetShipmentNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetShipmentResponse }
GetShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetShipmentNotFound ¶
func NewGetShipmentNotFound() *GetShipmentNotFound
NewGetShipmentNotFound creates a GetShipmentNotFound with default headers values
func (*GetShipmentNotFound) Error ¶
func (o *GetShipmentNotFound) Error() string
func (*GetShipmentNotFound) GetPayload ¶
func (o *GetShipmentNotFound) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentNotFound) IsClientError ¶
func (o *GetShipmentNotFound) IsClientError() bool
IsClientError returns true when this get shipment not found response has a 4xx status code
func (*GetShipmentNotFound) IsCode ¶
func (o *GetShipmentNotFound) IsCode(code int) bool
IsCode returns true when this get shipment not found response a status code equal to that given
func (*GetShipmentNotFound) IsRedirect ¶
func (o *GetShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this get shipment not found response has a 3xx status code
func (*GetShipmentNotFound) IsServerError ¶
func (o *GetShipmentNotFound) IsServerError() bool
IsServerError returns true when this get shipment not found response has a 5xx status code
func (*GetShipmentNotFound) IsSuccess ¶
func (o *GetShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this get shipment not found response has a 2xx status code
func (*GetShipmentNotFound) String ¶
func (o *GetShipmentNotFound) String() string
type GetShipmentOK ¶
type GetShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetShipmentResponse }
GetShipmentOK describes a response with status code 200, with default header values.
Success.
func NewGetShipmentOK ¶
func NewGetShipmentOK() *GetShipmentOK
NewGetShipmentOK creates a GetShipmentOK with default headers values
func (*GetShipmentOK) Error ¶
func (o *GetShipmentOK) Error() string
func (*GetShipmentOK) GetPayload ¶
func (o *GetShipmentOK) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentOK) IsClientError ¶
func (o *GetShipmentOK) IsClientError() bool
IsClientError returns true when this get shipment o k response has a 4xx status code
func (*GetShipmentOK) IsCode ¶
func (o *GetShipmentOK) IsCode(code int) bool
IsCode returns true when this get shipment o k response a status code equal to that given
func (*GetShipmentOK) IsRedirect ¶
func (o *GetShipmentOK) IsRedirect() bool
IsRedirect returns true when this get shipment o k response has a 3xx status code
func (*GetShipmentOK) IsServerError ¶
func (o *GetShipmentOK) IsServerError() bool
IsServerError returns true when this get shipment o k response has a 5xx status code
func (*GetShipmentOK) IsSuccess ¶
func (o *GetShipmentOK) IsSuccess() bool
IsSuccess returns true when this get shipment o k response has a 2xx status code
func (*GetShipmentOK) String ¶
func (o *GetShipmentOK) String() string
type GetShipmentParams ¶
type GetShipmentParams struct { // ShipmentID. ShipmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetShipmentParams contains all the parameters to send to the API endpoint
for the get shipment operation. Typically these are written to a http.Request.
func NewGetShipmentParams ¶
func NewGetShipmentParams() *GetShipmentParams
NewGetShipmentParams creates a new GetShipmentParams 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 NewGetShipmentParamsWithContext ¶
func NewGetShipmentParamsWithContext(ctx context.Context) *GetShipmentParams
NewGetShipmentParamsWithContext creates a new GetShipmentParams object with the ability to set a context for a request.
func NewGetShipmentParamsWithHTTPClient ¶
func NewGetShipmentParamsWithHTTPClient(client *http.Client) *GetShipmentParams
NewGetShipmentParamsWithHTTPClient creates a new GetShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewGetShipmentParamsWithTimeout ¶
func NewGetShipmentParamsWithTimeout(timeout time.Duration) *GetShipmentParams
NewGetShipmentParamsWithTimeout creates a new GetShipmentParams object with the ability to set a timeout on a request.
func (*GetShipmentParams) SetContext ¶
func (o *GetShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the get shipment params
func (*GetShipmentParams) SetDefaults ¶
func (o *GetShipmentParams) SetDefaults()
SetDefaults hydrates default values in the get shipment params (not the query body).
All values with no default are reset to their zero value.
func (*GetShipmentParams) SetHTTPClient ¶
func (o *GetShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get shipment params
func (*GetShipmentParams) SetShipmentID ¶
func (o *GetShipmentParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the get shipment params
func (*GetShipmentParams) SetTimeout ¶
func (o *GetShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get shipment params
func (*GetShipmentParams) WithContext ¶
func (o *GetShipmentParams) WithContext(ctx context.Context) *GetShipmentParams
WithContext adds the context to the get shipment params
func (*GetShipmentParams) WithDefaults ¶
func (o *GetShipmentParams) WithDefaults() *GetShipmentParams
WithDefaults hydrates default values in the get shipment params (not the query body).
All values with no default are reset to their zero value.
func (*GetShipmentParams) WithHTTPClient ¶
func (o *GetShipmentParams) WithHTTPClient(client *http.Client) *GetShipmentParams
WithHTTPClient adds the HTTPClient to the get shipment params
func (*GetShipmentParams) WithShipmentID ¶
func (o *GetShipmentParams) WithShipmentID(shipmentID string) *GetShipmentParams
WithShipmentID adds the shipmentID to the get shipment params
func (*GetShipmentParams) WithTimeout ¶
func (o *GetShipmentParams) WithTimeout(timeout time.Duration) *GetShipmentParams
WithTimeout adds the timeout to the get shipment params
func (*GetShipmentParams) WriteToRequest ¶
func (o *GetShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetShipmentReader ¶
type GetShipmentReader struct {
// contains filtered or unexported fields
}
GetShipmentReader is a Reader for the GetShipment structure.
func (*GetShipmentReader) ReadResponse ¶
func (o *GetShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetShipmentServiceUnavailable ¶
GetShipmentServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetShipmentServiceUnavailable ¶
func NewGetShipmentServiceUnavailable() *GetShipmentServiceUnavailable
NewGetShipmentServiceUnavailable creates a GetShipmentServiceUnavailable with default headers values
func (*GetShipmentServiceUnavailable) Error ¶
func (o *GetShipmentServiceUnavailable) Error() string
func (*GetShipmentServiceUnavailable) GetPayload ¶
func (o *GetShipmentServiceUnavailable) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentServiceUnavailable) IsClientError ¶
func (o *GetShipmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this get shipment service unavailable response has a 4xx status code
func (*GetShipmentServiceUnavailable) IsCode ¶
func (o *GetShipmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get shipment service unavailable response a status code equal to that given
func (*GetShipmentServiceUnavailable) IsRedirect ¶
func (o *GetShipmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get shipment service unavailable response has a 3xx status code
func (*GetShipmentServiceUnavailable) IsServerError ¶
func (o *GetShipmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this get shipment service unavailable response has a 5xx status code
func (*GetShipmentServiceUnavailable) IsSuccess ¶
func (o *GetShipmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get shipment service unavailable response has a 2xx status code
func (*GetShipmentServiceUnavailable) String ¶
func (o *GetShipmentServiceUnavailable) String() string
type GetShipmentTooManyRequests ¶
type GetShipmentTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetShipmentResponse }
GetShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetShipmentTooManyRequests ¶
func NewGetShipmentTooManyRequests() *GetShipmentTooManyRequests
NewGetShipmentTooManyRequests creates a GetShipmentTooManyRequests with default headers values
func (*GetShipmentTooManyRequests) Error ¶
func (o *GetShipmentTooManyRequests) Error() string
func (*GetShipmentTooManyRequests) GetPayload ¶
func (o *GetShipmentTooManyRequests) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentTooManyRequests) IsClientError ¶
func (o *GetShipmentTooManyRequests) IsClientError() bool
IsClientError returns true when this get shipment too many requests response has a 4xx status code
func (*GetShipmentTooManyRequests) IsCode ¶
func (o *GetShipmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this get shipment too many requests response a status code equal to that given
func (*GetShipmentTooManyRequests) IsRedirect ¶
func (o *GetShipmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get shipment too many requests response has a 3xx status code
func (*GetShipmentTooManyRequests) IsServerError ¶
func (o *GetShipmentTooManyRequests) IsServerError() bool
IsServerError returns true when this get shipment too many requests response has a 5xx status code
func (*GetShipmentTooManyRequests) IsSuccess ¶
func (o *GetShipmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get shipment too many requests response has a 2xx status code
func (*GetShipmentTooManyRequests) String ¶
func (o *GetShipmentTooManyRequests) String() string
type GetShipmentUnauthorized ¶
GetShipmentUnauthorized 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 NewGetShipmentUnauthorized ¶
func NewGetShipmentUnauthorized() *GetShipmentUnauthorized
NewGetShipmentUnauthorized creates a GetShipmentUnauthorized with default headers values
func (*GetShipmentUnauthorized) Error ¶
func (o *GetShipmentUnauthorized) Error() string
func (*GetShipmentUnauthorized) GetPayload ¶
func (o *GetShipmentUnauthorized) GetPayload() *shipping_models.GetShipmentResponse
func (*GetShipmentUnauthorized) IsClientError ¶
func (o *GetShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this get shipment unauthorized response has a 4xx status code
func (*GetShipmentUnauthorized) IsCode ¶
func (o *GetShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this get shipment unauthorized response a status code equal to that given
func (*GetShipmentUnauthorized) IsRedirect ¶
func (o *GetShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this get shipment unauthorized response has a 3xx status code
func (*GetShipmentUnauthorized) IsServerError ¶
func (o *GetShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this get shipment unauthorized response has a 5xx status code
func (*GetShipmentUnauthorized) IsSuccess ¶
func (o *GetShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this get shipment unauthorized response has a 2xx status code
func (*GetShipmentUnauthorized) String ¶
func (o *GetShipmentUnauthorized) String() string
type GetTrackingInformationBadRequest ¶
type GetTrackingInformationBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetTrackingInformationResponse }
GetTrackingInformationBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetTrackingInformationBadRequest ¶
func NewGetTrackingInformationBadRequest() *GetTrackingInformationBadRequest
NewGetTrackingInformationBadRequest creates a GetTrackingInformationBadRequest with default headers values
func (*GetTrackingInformationBadRequest) Error ¶
func (o *GetTrackingInformationBadRequest) Error() string
func (*GetTrackingInformationBadRequest) GetPayload ¶
func (o *GetTrackingInformationBadRequest) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationBadRequest) IsClientError ¶
func (o *GetTrackingInformationBadRequest) IsClientError() bool
IsClientError returns true when this get tracking information bad request response has a 4xx status code
func (*GetTrackingInformationBadRequest) IsCode ¶
func (o *GetTrackingInformationBadRequest) IsCode(code int) bool
IsCode returns true when this get tracking information bad request response a status code equal to that given
func (*GetTrackingInformationBadRequest) IsRedirect ¶
func (o *GetTrackingInformationBadRequest) IsRedirect() bool
IsRedirect returns true when this get tracking information bad request response has a 3xx status code
func (*GetTrackingInformationBadRequest) IsServerError ¶
func (o *GetTrackingInformationBadRequest) IsServerError() bool
IsServerError returns true when this get tracking information bad request response has a 5xx status code
func (*GetTrackingInformationBadRequest) IsSuccess ¶
func (o *GetTrackingInformationBadRequest) IsSuccess() bool
IsSuccess returns true when this get tracking information bad request response has a 2xx status code
func (*GetTrackingInformationBadRequest) String ¶
func (o *GetTrackingInformationBadRequest) String() string
type GetTrackingInformationForbidden ¶
type GetTrackingInformationForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetTrackingInformationResponse }
GetTrackingInformationForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewGetTrackingInformationForbidden ¶
func NewGetTrackingInformationForbidden() *GetTrackingInformationForbidden
NewGetTrackingInformationForbidden creates a GetTrackingInformationForbidden with default headers values
func (*GetTrackingInformationForbidden) Error ¶
func (o *GetTrackingInformationForbidden) Error() string
func (*GetTrackingInformationForbidden) GetPayload ¶
func (o *GetTrackingInformationForbidden) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationForbidden) IsClientError ¶
func (o *GetTrackingInformationForbidden) IsClientError() bool
IsClientError returns true when this get tracking information forbidden response has a 4xx status code
func (*GetTrackingInformationForbidden) IsCode ¶
func (o *GetTrackingInformationForbidden) IsCode(code int) bool
IsCode returns true when this get tracking information forbidden response a status code equal to that given
func (*GetTrackingInformationForbidden) IsRedirect ¶
func (o *GetTrackingInformationForbidden) IsRedirect() bool
IsRedirect returns true when this get tracking information forbidden response has a 3xx status code
func (*GetTrackingInformationForbidden) IsServerError ¶
func (o *GetTrackingInformationForbidden) IsServerError() bool
IsServerError returns true when this get tracking information forbidden response has a 5xx status code
func (*GetTrackingInformationForbidden) IsSuccess ¶
func (o *GetTrackingInformationForbidden) IsSuccess() bool
IsSuccess returns true when this get tracking information forbidden response has a 2xx status code
func (*GetTrackingInformationForbidden) String ¶
func (o *GetTrackingInformationForbidden) String() string
type GetTrackingInformationInternalServerError ¶
type GetTrackingInformationInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetTrackingInformationResponse }
GetTrackingInformationInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewGetTrackingInformationInternalServerError ¶
func NewGetTrackingInformationInternalServerError() *GetTrackingInformationInternalServerError
NewGetTrackingInformationInternalServerError creates a GetTrackingInformationInternalServerError with default headers values
func (*GetTrackingInformationInternalServerError) Error ¶
func (o *GetTrackingInformationInternalServerError) Error() string
func (*GetTrackingInformationInternalServerError) GetPayload ¶
func (o *GetTrackingInformationInternalServerError) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationInternalServerError) IsClientError ¶
func (o *GetTrackingInformationInternalServerError) IsClientError() bool
IsClientError returns true when this get tracking information internal server error response has a 4xx status code
func (*GetTrackingInformationInternalServerError) IsCode ¶
func (o *GetTrackingInformationInternalServerError) IsCode(code int) bool
IsCode returns true when this get tracking information internal server error response a status code equal to that given
func (*GetTrackingInformationInternalServerError) IsRedirect ¶
func (o *GetTrackingInformationInternalServerError) IsRedirect() bool
IsRedirect returns true when this get tracking information internal server error response has a 3xx status code
func (*GetTrackingInformationInternalServerError) IsServerError ¶
func (o *GetTrackingInformationInternalServerError) IsServerError() bool
IsServerError returns true when this get tracking information internal server error response has a 5xx status code
func (*GetTrackingInformationInternalServerError) IsSuccess ¶
func (o *GetTrackingInformationInternalServerError) IsSuccess() bool
IsSuccess returns true when this get tracking information internal server error response has a 2xx status code
func (*GetTrackingInformationInternalServerError) String ¶
func (o *GetTrackingInformationInternalServerError) String() string
type GetTrackingInformationNotFound ¶
type GetTrackingInformationNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetTrackingInformationResponse }
GetTrackingInformationNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetTrackingInformationNotFound ¶
func NewGetTrackingInformationNotFound() *GetTrackingInformationNotFound
NewGetTrackingInformationNotFound creates a GetTrackingInformationNotFound with default headers values
func (*GetTrackingInformationNotFound) Error ¶
func (o *GetTrackingInformationNotFound) Error() string
func (*GetTrackingInformationNotFound) GetPayload ¶
func (o *GetTrackingInformationNotFound) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationNotFound) IsClientError ¶
func (o *GetTrackingInformationNotFound) IsClientError() bool
IsClientError returns true when this get tracking information not found response has a 4xx status code
func (*GetTrackingInformationNotFound) IsCode ¶
func (o *GetTrackingInformationNotFound) IsCode(code int) bool
IsCode returns true when this get tracking information not found response a status code equal to that given
func (*GetTrackingInformationNotFound) IsRedirect ¶
func (o *GetTrackingInformationNotFound) IsRedirect() bool
IsRedirect returns true when this get tracking information not found response has a 3xx status code
func (*GetTrackingInformationNotFound) IsServerError ¶
func (o *GetTrackingInformationNotFound) IsServerError() bool
IsServerError returns true when this get tracking information not found response has a 5xx status code
func (*GetTrackingInformationNotFound) IsSuccess ¶
func (o *GetTrackingInformationNotFound) IsSuccess() bool
IsSuccess returns true when this get tracking information not found response has a 2xx status code
func (*GetTrackingInformationNotFound) String ¶
func (o *GetTrackingInformationNotFound) String() string
type GetTrackingInformationOK ¶
type GetTrackingInformationOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetTrackingInformationResponse }
GetTrackingInformationOK describes a response with status code 200, with default header values.
Success.
func NewGetTrackingInformationOK ¶
func NewGetTrackingInformationOK() *GetTrackingInformationOK
NewGetTrackingInformationOK creates a GetTrackingInformationOK with default headers values
func (*GetTrackingInformationOK) Error ¶
func (o *GetTrackingInformationOK) Error() string
func (*GetTrackingInformationOK) GetPayload ¶
func (o *GetTrackingInformationOK) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationOK) IsClientError ¶
func (o *GetTrackingInformationOK) IsClientError() bool
IsClientError returns true when this get tracking information o k response has a 4xx status code
func (*GetTrackingInformationOK) IsCode ¶
func (o *GetTrackingInformationOK) IsCode(code int) bool
IsCode returns true when this get tracking information o k response a status code equal to that given
func (*GetTrackingInformationOK) IsRedirect ¶
func (o *GetTrackingInformationOK) IsRedirect() bool
IsRedirect returns true when this get tracking information o k response has a 3xx status code
func (*GetTrackingInformationOK) IsServerError ¶
func (o *GetTrackingInformationOK) IsServerError() bool
IsServerError returns true when this get tracking information o k response has a 5xx status code
func (*GetTrackingInformationOK) IsSuccess ¶
func (o *GetTrackingInformationOK) IsSuccess() bool
IsSuccess returns true when this get tracking information o k response has a 2xx status code
func (*GetTrackingInformationOK) String ¶
func (o *GetTrackingInformationOK) String() string
type GetTrackingInformationParams ¶
type GetTrackingInformationParams struct { // TrackingID. TrackingID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTrackingInformationParams contains all the parameters to send to the API endpoint
for the get tracking information operation. Typically these are written to a http.Request.
func NewGetTrackingInformationParams ¶
func NewGetTrackingInformationParams() *GetTrackingInformationParams
NewGetTrackingInformationParams creates a new GetTrackingInformationParams 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 NewGetTrackingInformationParamsWithContext ¶
func NewGetTrackingInformationParamsWithContext(ctx context.Context) *GetTrackingInformationParams
NewGetTrackingInformationParamsWithContext creates a new GetTrackingInformationParams object with the ability to set a context for a request.
func NewGetTrackingInformationParamsWithHTTPClient ¶
func NewGetTrackingInformationParamsWithHTTPClient(client *http.Client) *GetTrackingInformationParams
NewGetTrackingInformationParamsWithHTTPClient creates a new GetTrackingInformationParams object with the ability to set a custom HTTPClient for a request.
func NewGetTrackingInformationParamsWithTimeout ¶
func NewGetTrackingInformationParamsWithTimeout(timeout time.Duration) *GetTrackingInformationParams
NewGetTrackingInformationParamsWithTimeout creates a new GetTrackingInformationParams object with the ability to set a timeout on a request.
func (*GetTrackingInformationParams) SetContext ¶
func (o *GetTrackingInformationParams) SetContext(ctx context.Context)
SetContext adds the context to the get tracking information params
func (*GetTrackingInformationParams) SetDefaults ¶
func (o *GetTrackingInformationParams) SetDefaults()
SetDefaults hydrates default values in the get tracking information params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrackingInformationParams) SetHTTPClient ¶
func (o *GetTrackingInformationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tracking information params
func (*GetTrackingInformationParams) SetTimeout ¶
func (o *GetTrackingInformationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tracking information params
func (*GetTrackingInformationParams) SetTrackingID ¶
func (o *GetTrackingInformationParams) SetTrackingID(trackingID string)
SetTrackingID adds the trackingId to the get tracking information params
func (*GetTrackingInformationParams) WithContext ¶
func (o *GetTrackingInformationParams) WithContext(ctx context.Context) *GetTrackingInformationParams
WithContext adds the context to the get tracking information params
func (*GetTrackingInformationParams) WithDefaults ¶
func (o *GetTrackingInformationParams) WithDefaults() *GetTrackingInformationParams
WithDefaults hydrates default values in the get tracking information params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrackingInformationParams) WithHTTPClient ¶
func (o *GetTrackingInformationParams) WithHTTPClient(client *http.Client) *GetTrackingInformationParams
WithHTTPClient adds the HTTPClient to the get tracking information params
func (*GetTrackingInformationParams) WithTimeout ¶
func (o *GetTrackingInformationParams) WithTimeout(timeout time.Duration) *GetTrackingInformationParams
WithTimeout adds the timeout to the get tracking information params
func (*GetTrackingInformationParams) WithTrackingID ¶
func (o *GetTrackingInformationParams) WithTrackingID(trackingID string) *GetTrackingInformationParams
WithTrackingID adds the trackingID to the get tracking information params
func (*GetTrackingInformationParams) WriteToRequest ¶
func (o *GetTrackingInformationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrackingInformationReader ¶
type GetTrackingInformationReader struct {
// contains filtered or unexported fields
}
GetTrackingInformationReader is a Reader for the GetTrackingInformation structure.
func (*GetTrackingInformationReader) ReadResponse ¶
func (o *GetTrackingInformationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrackingInformationServiceUnavailable ¶
type GetTrackingInformationServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetTrackingInformationServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetTrackingInformationServiceUnavailable ¶
func NewGetTrackingInformationServiceUnavailable() *GetTrackingInformationServiceUnavailable
NewGetTrackingInformationServiceUnavailable creates a GetTrackingInformationServiceUnavailable with default headers values
func (*GetTrackingInformationServiceUnavailable) Error ¶
func (o *GetTrackingInformationServiceUnavailable) Error() string
func (*GetTrackingInformationServiceUnavailable) GetPayload ¶
func (o *GetTrackingInformationServiceUnavailable) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationServiceUnavailable) IsClientError ¶
func (o *GetTrackingInformationServiceUnavailable) IsClientError() bool
IsClientError returns true when this get tracking information service unavailable response has a 4xx status code
func (*GetTrackingInformationServiceUnavailable) IsCode ¶
func (o *GetTrackingInformationServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get tracking information service unavailable response a status code equal to that given
func (*GetTrackingInformationServiceUnavailable) IsRedirect ¶
func (o *GetTrackingInformationServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get tracking information service unavailable response has a 3xx status code
func (*GetTrackingInformationServiceUnavailable) IsServerError ¶
func (o *GetTrackingInformationServiceUnavailable) IsServerError() bool
IsServerError returns true when this get tracking information service unavailable response has a 5xx status code
func (*GetTrackingInformationServiceUnavailable) IsSuccess ¶
func (o *GetTrackingInformationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get tracking information service unavailable response has a 2xx status code
func (*GetTrackingInformationServiceUnavailable) String ¶
func (o *GetTrackingInformationServiceUnavailable) String() string
type GetTrackingInformationTooManyRequests ¶
type GetTrackingInformationTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.GetTrackingInformationResponse }
GetTrackingInformationTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetTrackingInformationTooManyRequests ¶
func NewGetTrackingInformationTooManyRequests() *GetTrackingInformationTooManyRequests
NewGetTrackingInformationTooManyRequests creates a GetTrackingInformationTooManyRequests with default headers values
func (*GetTrackingInformationTooManyRequests) Error ¶
func (o *GetTrackingInformationTooManyRequests) Error() string
func (*GetTrackingInformationTooManyRequests) GetPayload ¶
func (o *GetTrackingInformationTooManyRequests) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationTooManyRequests) IsClientError ¶
func (o *GetTrackingInformationTooManyRequests) IsClientError() bool
IsClientError returns true when this get tracking information too many requests response has a 4xx status code
func (*GetTrackingInformationTooManyRequests) IsCode ¶
func (o *GetTrackingInformationTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tracking information too many requests response a status code equal to that given
func (*GetTrackingInformationTooManyRequests) IsRedirect ¶
func (o *GetTrackingInformationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tracking information too many requests response has a 3xx status code
func (*GetTrackingInformationTooManyRequests) IsServerError ¶
func (o *GetTrackingInformationTooManyRequests) IsServerError() bool
IsServerError returns true when this get tracking information too many requests response has a 5xx status code
func (*GetTrackingInformationTooManyRequests) IsSuccess ¶
func (o *GetTrackingInformationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tracking information too many requests response has a 2xx status code
func (*GetTrackingInformationTooManyRequests) String ¶
func (o *GetTrackingInformationTooManyRequests) String() string
type GetTrackingInformationUnauthorized ¶
GetTrackingInformationUnauthorized 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 NewGetTrackingInformationUnauthorized ¶
func NewGetTrackingInformationUnauthorized() *GetTrackingInformationUnauthorized
NewGetTrackingInformationUnauthorized creates a GetTrackingInformationUnauthorized with default headers values
func (*GetTrackingInformationUnauthorized) Error ¶
func (o *GetTrackingInformationUnauthorized) Error() string
func (*GetTrackingInformationUnauthorized) GetPayload ¶
func (o *GetTrackingInformationUnauthorized) GetPayload() *shipping_models.GetTrackingInformationResponse
func (*GetTrackingInformationUnauthorized) IsClientError ¶
func (o *GetTrackingInformationUnauthorized) IsClientError() bool
IsClientError returns true when this get tracking information unauthorized response has a 4xx status code
func (*GetTrackingInformationUnauthorized) IsCode ¶
func (o *GetTrackingInformationUnauthorized) IsCode(code int) bool
IsCode returns true when this get tracking information unauthorized response a status code equal to that given
func (*GetTrackingInformationUnauthorized) IsRedirect ¶
func (o *GetTrackingInformationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tracking information unauthorized response has a 3xx status code
func (*GetTrackingInformationUnauthorized) IsServerError ¶
func (o *GetTrackingInformationUnauthorized) IsServerError() bool
IsServerError returns true when this get tracking information unauthorized response has a 5xx status code
func (*GetTrackingInformationUnauthorized) IsSuccess ¶
func (o *GetTrackingInformationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tracking information unauthorized response has a 2xx status code
func (*GetTrackingInformationUnauthorized) String ¶
func (o *GetTrackingInformationUnauthorized) String() string
type PurchaseLabelsBadRequest ¶
type PurchaseLabelsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseLabelsResponse }
PurchaseLabelsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewPurchaseLabelsBadRequest ¶
func NewPurchaseLabelsBadRequest() *PurchaseLabelsBadRequest
NewPurchaseLabelsBadRequest creates a PurchaseLabelsBadRequest with default headers values
func (*PurchaseLabelsBadRequest) Error ¶
func (o *PurchaseLabelsBadRequest) Error() string
func (*PurchaseLabelsBadRequest) GetPayload ¶
func (o *PurchaseLabelsBadRequest) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsBadRequest) IsClientError ¶
func (o *PurchaseLabelsBadRequest) IsClientError() bool
IsClientError returns true when this purchase labels bad request response has a 4xx status code
func (*PurchaseLabelsBadRequest) IsCode ¶
func (o *PurchaseLabelsBadRequest) IsCode(code int) bool
IsCode returns true when this purchase labels bad request response a status code equal to that given
func (*PurchaseLabelsBadRequest) IsRedirect ¶
func (o *PurchaseLabelsBadRequest) IsRedirect() bool
IsRedirect returns true when this purchase labels bad request response has a 3xx status code
func (*PurchaseLabelsBadRequest) IsServerError ¶
func (o *PurchaseLabelsBadRequest) IsServerError() bool
IsServerError returns true when this purchase labels bad request response has a 5xx status code
func (*PurchaseLabelsBadRequest) IsSuccess ¶
func (o *PurchaseLabelsBadRequest) IsSuccess() bool
IsSuccess returns true when this purchase labels bad request response has a 2xx status code
func (*PurchaseLabelsBadRequest) String ¶
func (o *PurchaseLabelsBadRequest) String() string
type PurchaseLabelsForbidden ¶
type PurchaseLabelsForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseLabelsResponse }
PurchaseLabelsForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewPurchaseLabelsForbidden ¶
func NewPurchaseLabelsForbidden() *PurchaseLabelsForbidden
NewPurchaseLabelsForbidden creates a PurchaseLabelsForbidden with default headers values
func (*PurchaseLabelsForbidden) Error ¶
func (o *PurchaseLabelsForbidden) Error() string
func (*PurchaseLabelsForbidden) GetPayload ¶
func (o *PurchaseLabelsForbidden) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsForbidden) IsClientError ¶
func (o *PurchaseLabelsForbidden) IsClientError() bool
IsClientError returns true when this purchase labels forbidden response has a 4xx status code
func (*PurchaseLabelsForbidden) IsCode ¶
func (o *PurchaseLabelsForbidden) IsCode(code int) bool
IsCode returns true when this purchase labels forbidden response a status code equal to that given
func (*PurchaseLabelsForbidden) IsRedirect ¶
func (o *PurchaseLabelsForbidden) IsRedirect() bool
IsRedirect returns true when this purchase labels forbidden response has a 3xx status code
func (*PurchaseLabelsForbidden) IsServerError ¶
func (o *PurchaseLabelsForbidden) IsServerError() bool
IsServerError returns true when this purchase labels forbidden response has a 5xx status code
func (*PurchaseLabelsForbidden) IsSuccess ¶
func (o *PurchaseLabelsForbidden) IsSuccess() bool
IsSuccess returns true when this purchase labels forbidden response has a 2xx status code
func (*PurchaseLabelsForbidden) String ¶
func (o *PurchaseLabelsForbidden) String() string
type PurchaseLabelsInternalServerError ¶
type PurchaseLabelsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseLabelsResponse }
PurchaseLabelsInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewPurchaseLabelsInternalServerError ¶
func NewPurchaseLabelsInternalServerError() *PurchaseLabelsInternalServerError
NewPurchaseLabelsInternalServerError creates a PurchaseLabelsInternalServerError with default headers values
func (*PurchaseLabelsInternalServerError) Error ¶
func (o *PurchaseLabelsInternalServerError) Error() string
func (*PurchaseLabelsInternalServerError) GetPayload ¶
func (o *PurchaseLabelsInternalServerError) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsInternalServerError) IsClientError ¶
func (o *PurchaseLabelsInternalServerError) IsClientError() bool
IsClientError returns true when this purchase labels internal server error response has a 4xx status code
func (*PurchaseLabelsInternalServerError) IsCode ¶
func (o *PurchaseLabelsInternalServerError) IsCode(code int) bool
IsCode returns true when this purchase labels internal server error response a status code equal to that given
func (*PurchaseLabelsInternalServerError) IsRedirect ¶
func (o *PurchaseLabelsInternalServerError) IsRedirect() bool
IsRedirect returns true when this purchase labels internal server error response has a 3xx status code
func (*PurchaseLabelsInternalServerError) IsServerError ¶
func (o *PurchaseLabelsInternalServerError) IsServerError() bool
IsServerError returns true when this purchase labels internal server error response has a 5xx status code
func (*PurchaseLabelsInternalServerError) IsSuccess ¶
func (o *PurchaseLabelsInternalServerError) IsSuccess() bool
IsSuccess returns true when this purchase labels internal server error response has a 2xx status code
func (*PurchaseLabelsInternalServerError) String ¶
func (o *PurchaseLabelsInternalServerError) String() string
type PurchaseLabelsNotFound ¶
type PurchaseLabelsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseLabelsResponse }
PurchaseLabelsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewPurchaseLabelsNotFound ¶
func NewPurchaseLabelsNotFound() *PurchaseLabelsNotFound
NewPurchaseLabelsNotFound creates a PurchaseLabelsNotFound with default headers values
func (*PurchaseLabelsNotFound) Error ¶
func (o *PurchaseLabelsNotFound) Error() string
func (*PurchaseLabelsNotFound) GetPayload ¶
func (o *PurchaseLabelsNotFound) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsNotFound) IsClientError ¶
func (o *PurchaseLabelsNotFound) IsClientError() bool
IsClientError returns true when this purchase labels not found response has a 4xx status code
func (*PurchaseLabelsNotFound) IsCode ¶
func (o *PurchaseLabelsNotFound) IsCode(code int) bool
IsCode returns true when this purchase labels not found response a status code equal to that given
func (*PurchaseLabelsNotFound) IsRedirect ¶
func (o *PurchaseLabelsNotFound) IsRedirect() bool
IsRedirect returns true when this purchase labels not found response has a 3xx status code
func (*PurchaseLabelsNotFound) IsServerError ¶
func (o *PurchaseLabelsNotFound) IsServerError() bool
IsServerError returns true when this purchase labels not found response has a 5xx status code
func (*PurchaseLabelsNotFound) IsSuccess ¶
func (o *PurchaseLabelsNotFound) IsSuccess() bool
IsSuccess returns true when this purchase labels not found response has a 2xx status code
func (*PurchaseLabelsNotFound) String ¶
func (o *PurchaseLabelsNotFound) String() string
type PurchaseLabelsOK ¶
type PurchaseLabelsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseLabelsResponse }
PurchaseLabelsOK describes a response with status code 200, with default header values.
Success.
func NewPurchaseLabelsOK ¶
func NewPurchaseLabelsOK() *PurchaseLabelsOK
NewPurchaseLabelsOK creates a PurchaseLabelsOK with default headers values
func (*PurchaseLabelsOK) Error ¶
func (o *PurchaseLabelsOK) Error() string
func (*PurchaseLabelsOK) GetPayload ¶
func (o *PurchaseLabelsOK) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsOK) IsClientError ¶
func (o *PurchaseLabelsOK) IsClientError() bool
IsClientError returns true when this purchase labels o k response has a 4xx status code
func (*PurchaseLabelsOK) IsCode ¶
func (o *PurchaseLabelsOK) IsCode(code int) bool
IsCode returns true when this purchase labels o k response a status code equal to that given
func (*PurchaseLabelsOK) IsRedirect ¶
func (o *PurchaseLabelsOK) IsRedirect() bool
IsRedirect returns true when this purchase labels o k response has a 3xx status code
func (*PurchaseLabelsOK) IsServerError ¶
func (o *PurchaseLabelsOK) IsServerError() bool
IsServerError returns true when this purchase labels o k response has a 5xx status code
func (*PurchaseLabelsOK) IsSuccess ¶
func (o *PurchaseLabelsOK) IsSuccess() bool
IsSuccess returns true when this purchase labels o k response has a 2xx status code
func (*PurchaseLabelsOK) String ¶
func (o *PurchaseLabelsOK) String() string
type PurchaseLabelsParams ¶
type PurchaseLabelsParams struct { // Body. Body *shipping_models.PurchaseLabelsRequest // ShipmentID. ShipmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseLabelsParams contains all the parameters to send to the API endpoint
for the purchase labels operation. Typically these are written to a http.Request.
func NewPurchaseLabelsParams ¶
func NewPurchaseLabelsParams() *PurchaseLabelsParams
NewPurchaseLabelsParams creates a new PurchaseLabelsParams 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 NewPurchaseLabelsParamsWithContext ¶
func NewPurchaseLabelsParamsWithContext(ctx context.Context) *PurchaseLabelsParams
NewPurchaseLabelsParamsWithContext creates a new PurchaseLabelsParams object with the ability to set a context for a request.
func NewPurchaseLabelsParamsWithHTTPClient ¶
func NewPurchaseLabelsParamsWithHTTPClient(client *http.Client) *PurchaseLabelsParams
NewPurchaseLabelsParamsWithHTTPClient creates a new PurchaseLabelsParams object with the ability to set a custom HTTPClient for a request.
func NewPurchaseLabelsParamsWithTimeout ¶
func NewPurchaseLabelsParamsWithTimeout(timeout time.Duration) *PurchaseLabelsParams
NewPurchaseLabelsParamsWithTimeout creates a new PurchaseLabelsParams object with the ability to set a timeout on a request.
func (*PurchaseLabelsParams) SetBody ¶
func (o *PurchaseLabelsParams) SetBody(body *shipping_models.PurchaseLabelsRequest)
SetBody adds the body to the purchase labels params
func (*PurchaseLabelsParams) SetContext ¶
func (o *PurchaseLabelsParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase labels params
func (*PurchaseLabelsParams) SetDefaults ¶
func (o *PurchaseLabelsParams) SetDefaults()
SetDefaults hydrates default values in the purchase labels params (not the query body).
All values with no default are reset to their zero value.
func (*PurchaseLabelsParams) SetHTTPClient ¶
func (o *PurchaseLabelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase labels params
func (*PurchaseLabelsParams) SetShipmentID ¶
func (o *PurchaseLabelsParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the purchase labels params
func (*PurchaseLabelsParams) SetTimeout ¶
func (o *PurchaseLabelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase labels params
func (*PurchaseLabelsParams) WithBody ¶
func (o *PurchaseLabelsParams) WithBody(body *shipping_models.PurchaseLabelsRequest) *PurchaseLabelsParams
WithBody adds the body to the purchase labels params
func (*PurchaseLabelsParams) WithContext ¶
func (o *PurchaseLabelsParams) WithContext(ctx context.Context) *PurchaseLabelsParams
WithContext adds the context to the purchase labels params
func (*PurchaseLabelsParams) WithDefaults ¶
func (o *PurchaseLabelsParams) WithDefaults() *PurchaseLabelsParams
WithDefaults hydrates default values in the purchase labels params (not the query body).
All values with no default are reset to their zero value.
func (*PurchaseLabelsParams) WithHTTPClient ¶
func (o *PurchaseLabelsParams) WithHTTPClient(client *http.Client) *PurchaseLabelsParams
WithHTTPClient adds the HTTPClient to the purchase labels params
func (*PurchaseLabelsParams) WithShipmentID ¶
func (o *PurchaseLabelsParams) WithShipmentID(shipmentID string) *PurchaseLabelsParams
WithShipmentID adds the shipmentID to the purchase labels params
func (*PurchaseLabelsParams) WithTimeout ¶
func (o *PurchaseLabelsParams) WithTimeout(timeout time.Duration) *PurchaseLabelsParams
WithTimeout adds the timeout to the purchase labels params
func (*PurchaseLabelsParams) WriteToRequest ¶
func (o *PurchaseLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseLabelsReader ¶
type PurchaseLabelsReader struct {
// contains filtered or unexported fields
}
PurchaseLabelsReader is a Reader for the PurchaseLabels structure.
func (*PurchaseLabelsReader) ReadResponse ¶
func (o *PurchaseLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseLabelsServiceUnavailable ¶
PurchaseLabelsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewPurchaseLabelsServiceUnavailable ¶
func NewPurchaseLabelsServiceUnavailable() *PurchaseLabelsServiceUnavailable
NewPurchaseLabelsServiceUnavailable creates a PurchaseLabelsServiceUnavailable with default headers values
func (*PurchaseLabelsServiceUnavailable) Error ¶
func (o *PurchaseLabelsServiceUnavailable) Error() string
func (*PurchaseLabelsServiceUnavailable) GetPayload ¶
func (o *PurchaseLabelsServiceUnavailable) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsServiceUnavailable) IsClientError ¶
func (o *PurchaseLabelsServiceUnavailable) IsClientError() bool
IsClientError returns true when this purchase labels service unavailable response has a 4xx status code
func (*PurchaseLabelsServiceUnavailable) IsCode ¶
func (o *PurchaseLabelsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this purchase labels service unavailable response a status code equal to that given
func (*PurchaseLabelsServiceUnavailable) IsRedirect ¶
func (o *PurchaseLabelsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this purchase labels service unavailable response has a 3xx status code
func (*PurchaseLabelsServiceUnavailable) IsServerError ¶
func (o *PurchaseLabelsServiceUnavailable) IsServerError() bool
IsServerError returns true when this purchase labels service unavailable response has a 5xx status code
func (*PurchaseLabelsServiceUnavailable) IsSuccess ¶
func (o *PurchaseLabelsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this purchase labels service unavailable response has a 2xx status code
func (*PurchaseLabelsServiceUnavailable) String ¶
func (o *PurchaseLabelsServiceUnavailable) String() string
type PurchaseLabelsTooManyRequests ¶
type PurchaseLabelsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseLabelsResponse }
PurchaseLabelsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewPurchaseLabelsTooManyRequests ¶
func NewPurchaseLabelsTooManyRequests() *PurchaseLabelsTooManyRequests
NewPurchaseLabelsTooManyRequests creates a PurchaseLabelsTooManyRequests with default headers values
func (*PurchaseLabelsTooManyRequests) Error ¶
func (o *PurchaseLabelsTooManyRequests) Error() string
func (*PurchaseLabelsTooManyRequests) GetPayload ¶
func (o *PurchaseLabelsTooManyRequests) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsTooManyRequests) IsClientError ¶
func (o *PurchaseLabelsTooManyRequests) IsClientError() bool
IsClientError returns true when this purchase labels too many requests response has a 4xx status code
func (*PurchaseLabelsTooManyRequests) IsCode ¶
func (o *PurchaseLabelsTooManyRequests) IsCode(code int) bool
IsCode returns true when this purchase labels too many requests response a status code equal to that given
func (*PurchaseLabelsTooManyRequests) IsRedirect ¶
func (o *PurchaseLabelsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this purchase labels too many requests response has a 3xx status code
func (*PurchaseLabelsTooManyRequests) IsServerError ¶
func (o *PurchaseLabelsTooManyRequests) IsServerError() bool
IsServerError returns true when this purchase labels too many requests response has a 5xx status code
func (*PurchaseLabelsTooManyRequests) IsSuccess ¶
func (o *PurchaseLabelsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this purchase labels too many requests response has a 2xx status code
func (*PurchaseLabelsTooManyRequests) String ¶
func (o *PurchaseLabelsTooManyRequests) String() string
type PurchaseLabelsUnauthorized ¶
PurchaseLabelsUnauthorized 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 NewPurchaseLabelsUnauthorized ¶
func NewPurchaseLabelsUnauthorized() *PurchaseLabelsUnauthorized
NewPurchaseLabelsUnauthorized creates a PurchaseLabelsUnauthorized with default headers values
func (*PurchaseLabelsUnauthorized) Error ¶
func (o *PurchaseLabelsUnauthorized) Error() string
func (*PurchaseLabelsUnauthorized) GetPayload ¶
func (o *PurchaseLabelsUnauthorized) GetPayload() *shipping_models.PurchaseLabelsResponse
func (*PurchaseLabelsUnauthorized) IsClientError ¶
func (o *PurchaseLabelsUnauthorized) IsClientError() bool
IsClientError returns true when this purchase labels unauthorized response has a 4xx status code
func (*PurchaseLabelsUnauthorized) IsCode ¶
func (o *PurchaseLabelsUnauthorized) IsCode(code int) bool
IsCode returns true when this purchase labels unauthorized response a status code equal to that given
func (*PurchaseLabelsUnauthorized) IsRedirect ¶
func (o *PurchaseLabelsUnauthorized) IsRedirect() bool
IsRedirect returns true when this purchase labels unauthorized response has a 3xx status code
func (*PurchaseLabelsUnauthorized) IsServerError ¶
func (o *PurchaseLabelsUnauthorized) IsServerError() bool
IsServerError returns true when this purchase labels unauthorized response has a 5xx status code
func (*PurchaseLabelsUnauthorized) IsSuccess ¶
func (o *PurchaseLabelsUnauthorized) IsSuccess() bool
IsSuccess returns true when this purchase labels unauthorized response has a 2xx status code
func (*PurchaseLabelsUnauthorized) String ¶
func (o *PurchaseLabelsUnauthorized) String() string
type PurchaseShipmentBadRequest ¶
type PurchaseShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseShipmentResponse }
PurchaseShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewPurchaseShipmentBadRequest ¶
func NewPurchaseShipmentBadRequest() *PurchaseShipmentBadRequest
NewPurchaseShipmentBadRequest creates a PurchaseShipmentBadRequest with default headers values
func (*PurchaseShipmentBadRequest) Error ¶
func (o *PurchaseShipmentBadRequest) Error() string
func (*PurchaseShipmentBadRequest) GetPayload ¶
func (o *PurchaseShipmentBadRequest) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentBadRequest) IsClientError ¶
func (o *PurchaseShipmentBadRequest) IsClientError() bool
IsClientError returns true when this purchase shipment bad request response has a 4xx status code
func (*PurchaseShipmentBadRequest) IsCode ¶
func (o *PurchaseShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this purchase shipment bad request response a status code equal to that given
func (*PurchaseShipmentBadRequest) IsRedirect ¶
func (o *PurchaseShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this purchase shipment bad request response has a 3xx status code
func (*PurchaseShipmentBadRequest) IsServerError ¶
func (o *PurchaseShipmentBadRequest) IsServerError() bool
IsServerError returns true when this purchase shipment bad request response has a 5xx status code
func (*PurchaseShipmentBadRequest) IsSuccess ¶
func (o *PurchaseShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this purchase shipment bad request response has a 2xx status code
func (*PurchaseShipmentBadRequest) String ¶
func (o *PurchaseShipmentBadRequest) String() string
type PurchaseShipmentForbidden ¶
type PurchaseShipmentForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseShipmentResponse }
PurchaseShipmentForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewPurchaseShipmentForbidden ¶
func NewPurchaseShipmentForbidden() *PurchaseShipmentForbidden
NewPurchaseShipmentForbidden creates a PurchaseShipmentForbidden with default headers values
func (*PurchaseShipmentForbidden) Error ¶
func (o *PurchaseShipmentForbidden) Error() string
func (*PurchaseShipmentForbidden) GetPayload ¶
func (o *PurchaseShipmentForbidden) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentForbidden) IsClientError ¶
func (o *PurchaseShipmentForbidden) IsClientError() bool
IsClientError returns true when this purchase shipment forbidden response has a 4xx status code
func (*PurchaseShipmentForbidden) IsCode ¶
func (o *PurchaseShipmentForbidden) IsCode(code int) bool
IsCode returns true when this purchase shipment forbidden response a status code equal to that given
func (*PurchaseShipmentForbidden) IsRedirect ¶
func (o *PurchaseShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this purchase shipment forbidden response has a 3xx status code
func (*PurchaseShipmentForbidden) IsServerError ¶
func (o *PurchaseShipmentForbidden) IsServerError() bool
IsServerError returns true when this purchase shipment forbidden response has a 5xx status code
func (*PurchaseShipmentForbidden) IsSuccess ¶
func (o *PurchaseShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this purchase shipment forbidden response has a 2xx status code
func (*PurchaseShipmentForbidden) String ¶
func (o *PurchaseShipmentForbidden) String() string
type PurchaseShipmentInternalServerError ¶
type PurchaseShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseShipmentResponse }
PurchaseShipmentInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewPurchaseShipmentInternalServerError ¶
func NewPurchaseShipmentInternalServerError() *PurchaseShipmentInternalServerError
NewPurchaseShipmentInternalServerError creates a PurchaseShipmentInternalServerError with default headers values
func (*PurchaseShipmentInternalServerError) Error ¶
func (o *PurchaseShipmentInternalServerError) Error() string
func (*PurchaseShipmentInternalServerError) GetPayload ¶
func (o *PurchaseShipmentInternalServerError) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentInternalServerError) IsClientError ¶
func (o *PurchaseShipmentInternalServerError) IsClientError() bool
IsClientError returns true when this purchase shipment internal server error response has a 4xx status code
func (*PurchaseShipmentInternalServerError) IsCode ¶
func (o *PurchaseShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this purchase shipment internal server error response a status code equal to that given
func (*PurchaseShipmentInternalServerError) IsRedirect ¶
func (o *PurchaseShipmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this purchase shipment internal server error response has a 3xx status code
func (*PurchaseShipmentInternalServerError) IsServerError ¶
func (o *PurchaseShipmentInternalServerError) IsServerError() bool
IsServerError returns true when this purchase shipment internal server error response has a 5xx status code
func (*PurchaseShipmentInternalServerError) IsSuccess ¶
func (o *PurchaseShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this purchase shipment internal server error response has a 2xx status code
func (*PurchaseShipmentInternalServerError) String ¶
func (o *PurchaseShipmentInternalServerError) String() string
type PurchaseShipmentNotFound ¶
type PurchaseShipmentNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseShipmentResponse }
PurchaseShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewPurchaseShipmentNotFound ¶
func NewPurchaseShipmentNotFound() *PurchaseShipmentNotFound
NewPurchaseShipmentNotFound creates a PurchaseShipmentNotFound with default headers values
func (*PurchaseShipmentNotFound) Error ¶
func (o *PurchaseShipmentNotFound) Error() string
func (*PurchaseShipmentNotFound) GetPayload ¶
func (o *PurchaseShipmentNotFound) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentNotFound) IsClientError ¶
func (o *PurchaseShipmentNotFound) IsClientError() bool
IsClientError returns true when this purchase shipment not found response has a 4xx status code
func (*PurchaseShipmentNotFound) IsCode ¶
func (o *PurchaseShipmentNotFound) IsCode(code int) bool
IsCode returns true when this purchase shipment not found response a status code equal to that given
func (*PurchaseShipmentNotFound) IsRedirect ¶
func (o *PurchaseShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this purchase shipment not found response has a 3xx status code
func (*PurchaseShipmentNotFound) IsServerError ¶
func (o *PurchaseShipmentNotFound) IsServerError() bool
IsServerError returns true when this purchase shipment not found response has a 5xx status code
func (*PurchaseShipmentNotFound) IsSuccess ¶
func (o *PurchaseShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this purchase shipment not found response has a 2xx status code
func (*PurchaseShipmentNotFound) String ¶
func (o *PurchaseShipmentNotFound) String() string
type PurchaseShipmentOK ¶
type PurchaseShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseShipmentResponse }
PurchaseShipmentOK describes a response with status code 200, with default header values.
Success.
func NewPurchaseShipmentOK ¶
func NewPurchaseShipmentOK() *PurchaseShipmentOK
NewPurchaseShipmentOK creates a PurchaseShipmentOK with default headers values
func (*PurchaseShipmentOK) Error ¶
func (o *PurchaseShipmentOK) Error() string
func (*PurchaseShipmentOK) GetPayload ¶
func (o *PurchaseShipmentOK) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentOK) IsClientError ¶
func (o *PurchaseShipmentOK) IsClientError() bool
IsClientError returns true when this purchase shipment o k response has a 4xx status code
func (*PurchaseShipmentOK) IsCode ¶
func (o *PurchaseShipmentOK) IsCode(code int) bool
IsCode returns true when this purchase shipment o k response a status code equal to that given
func (*PurchaseShipmentOK) IsRedirect ¶
func (o *PurchaseShipmentOK) IsRedirect() bool
IsRedirect returns true when this purchase shipment o k response has a 3xx status code
func (*PurchaseShipmentOK) IsServerError ¶
func (o *PurchaseShipmentOK) IsServerError() bool
IsServerError returns true when this purchase shipment o k response has a 5xx status code
func (*PurchaseShipmentOK) IsSuccess ¶
func (o *PurchaseShipmentOK) IsSuccess() bool
IsSuccess returns true when this purchase shipment o k response has a 2xx status code
func (*PurchaseShipmentOK) String ¶
func (o *PurchaseShipmentOK) String() string
type PurchaseShipmentParams ¶
type PurchaseShipmentParams struct { // Body. Body *shipping_models.PurchaseShipmentRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseShipmentParams contains all the parameters to send to the API endpoint
for the purchase shipment operation. Typically these are written to a http.Request.
func NewPurchaseShipmentParams ¶
func NewPurchaseShipmentParams() *PurchaseShipmentParams
NewPurchaseShipmentParams creates a new PurchaseShipmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPurchaseShipmentParamsWithContext ¶
func NewPurchaseShipmentParamsWithContext(ctx context.Context) *PurchaseShipmentParams
NewPurchaseShipmentParamsWithContext creates a new PurchaseShipmentParams object with the ability to set a context for a request.
func NewPurchaseShipmentParamsWithHTTPClient ¶
func NewPurchaseShipmentParamsWithHTTPClient(client *http.Client) *PurchaseShipmentParams
NewPurchaseShipmentParamsWithHTTPClient creates a new PurchaseShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewPurchaseShipmentParamsWithTimeout ¶
func NewPurchaseShipmentParamsWithTimeout(timeout time.Duration) *PurchaseShipmentParams
NewPurchaseShipmentParamsWithTimeout creates a new PurchaseShipmentParams object with the ability to set a timeout on a request.
func (*PurchaseShipmentParams) SetBody ¶
func (o *PurchaseShipmentParams) SetBody(body *shipping_models.PurchaseShipmentRequest)
SetBody adds the body to the purchase shipment params
func (*PurchaseShipmentParams) SetContext ¶
func (o *PurchaseShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase shipment params
func (*PurchaseShipmentParams) SetDefaults ¶
func (o *PurchaseShipmentParams) SetDefaults()
SetDefaults hydrates default values in the purchase shipment params (not the query body).
All values with no default are reset to their zero value.
func (*PurchaseShipmentParams) SetHTTPClient ¶
func (o *PurchaseShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase shipment params
func (*PurchaseShipmentParams) SetTimeout ¶
func (o *PurchaseShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase shipment params
func (*PurchaseShipmentParams) WithBody ¶
func (o *PurchaseShipmentParams) WithBody(body *shipping_models.PurchaseShipmentRequest) *PurchaseShipmentParams
WithBody adds the body to the purchase shipment params
func (*PurchaseShipmentParams) WithContext ¶
func (o *PurchaseShipmentParams) WithContext(ctx context.Context) *PurchaseShipmentParams
WithContext adds the context to the purchase shipment params
func (*PurchaseShipmentParams) WithDefaults ¶
func (o *PurchaseShipmentParams) WithDefaults() *PurchaseShipmentParams
WithDefaults hydrates default values in the purchase shipment params (not the query body).
All values with no default are reset to their zero value.
func (*PurchaseShipmentParams) WithHTTPClient ¶
func (o *PurchaseShipmentParams) WithHTTPClient(client *http.Client) *PurchaseShipmentParams
WithHTTPClient adds the HTTPClient to the purchase shipment params
func (*PurchaseShipmentParams) WithTimeout ¶
func (o *PurchaseShipmentParams) WithTimeout(timeout time.Duration) *PurchaseShipmentParams
WithTimeout adds the timeout to the purchase shipment params
func (*PurchaseShipmentParams) WriteToRequest ¶
func (o *PurchaseShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseShipmentReader ¶
type PurchaseShipmentReader struct {
// contains filtered or unexported fields
}
PurchaseShipmentReader is a Reader for the PurchaseShipment structure.
func (*PurchaseShipmentReader) ReadResponse ¶
func (o *PurchaseShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseShipmentServiceUnavailable ¶
PurchaseShipmentServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewPurchaseShipmentServiceUnavailable ¶
func NewPurchaseShipmentServiceUnavailable() *PurchaseShipmentServiceUnavailable
NewPurchaseShipmentServiceUnavailable creates a PurchaseShipmentServiceUnavailable with default headers values
func (*PurchaseShipmentServiceUnavailable) Error ¶
func (o *PurchaseShipmentServiceUnavailable) Error() string
func (*PurchaseShipmentServiceUnavailable) GetPayload ¶
func (o *PurchaseShipmentServiceUnavailable) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentServiceUnavailable) IsClientError ¶
func (o *PurchaseShipmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this purchase shipment service unavailable response has a 4xx status code
func (*PurchaseShipmentServiceUnavailable) IsCode ¶
func (o *PurchaseShipmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this purchase shipment service unavailable response a status code equal to that given
func (*PurchaseShipmentServiceUnavailable) IsRedirect ¶
func (o *PurchaseShipmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this purchase shipment service unavailable response has a 3xx status code
func (*PurchaseShipmentServiceUnavailable) IsServerError ¶
func (o *PurchaseShipmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this purchase shipment service unavailable response has a 5xx status code
func (*PurchaseShipmentServiceUnavailable) IsSuccess ¶
func (o *PurchaseShipmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this purchase shipment service unavailable response has a 2xx status code
func (*PurchaseShipmentServiceUnavailable) String ¶
func (o *PurchaseShipmentServiceUnavailable) String() string
type PurchaseShipmentTooManyRequests ¶
type PurchaseShipmentTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.PurchaseShipmentResponse }
PurchaseShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewPurchaseShipmentTooManyRequests ¶
func NewPurchaseShipmentTooManyRequests() *PurchaseShipmentTooManyRequests
NewPurchaseShipmentTooManyRequests creates a PurchaseShipmentTooManyRequests with default headers values
func (*PurchaseShipmentTooManyRequests) Error ¶
func (o *PurchaseShipmentTooManyRequests) Error() string
func (*PurchaseShipmentTooManyRequests) GetPayload ¶
func (o *PurchaseShipmentTooManyRequests) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentTooManyRequests) IsClientError ¶
func (o *PurchaseShipmentTooManyRequests) IsClientError() bool
IsClientError returns true when this purchase shipment too many requests response has a 4xx status code
func (*PurchaseShipmentTooManyRequests) IsCode ¶
func (o *PurchaseShipmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this purchase shipment too many requests response a status code equal to that given
func (*PurchaseShipmentTooManyRequests) IsRedirect ¶
func (o *PurchaseShipmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this purchase shipment too many requests response has a 3xx status code
func (*PurchaseShipmentTooManyRequests) IsServerError ¶
func (o *PurchaseShipmentTooManyRequests) IsServerError() bool
IsServerError returns true when this purchase shipment too many requests response has a 5xx status code
func (*PurchaseShipmentTooManyRequests) IsSuccess ¶
func (o *PurchaseShipmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this purchase shipment too many requests response has a 2xx status code
func (*PurchaseShipmentTooManyRequests) String ¶
func (o *PurchaseShipmentTooManyRequests) String() string
type PurchaseShipmentUnauthorized ¶
PurchaseShipmentUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewPurchaseShipmentUnauthorized ¶
func NewPurchaseShipmentUnauthorized() *PurchaseShipmentUnauthorized
NewPurchaseShipmentUnauthorized creates a PurchaseShipmentUnauthorized with default headers values
func (*PurchaseShipmentUnauthorized) Error ¶
func (o *PurchaseShipmentUnauthorized) Error() string
func (*PurchaseShipmentUnauthorized) GetPayload ¶
func (o *PurchaseShipmentUnauthorized) GetPayload() *shipping_models.PurchaseShipmentResponse
func (*PurchaseShipmentUnauthorized) IsClientError ¶
func (o *PurchaseShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this purchase shipment unauthorized response has a 4xx status code
func (*PurchaseShipmentUnauthorized) IsCode ¶
func (o *PurchaseShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this purchase shipment unauthorized response a status code equal to that given
func (*PurchaseShipmentUnauthorized) IsRedirect ¶
func (o *PurchaseShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this purchase shipment unauthorized response has a 3xx status code
func (*PurchaseShipmentUnauthorized) IsServerError ¶
func (o *PurchaseShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this purchase shipment unauthorized response has a 5xx status code
func (*PurchaseShipmentUnauthorized) IsSuccess ¶
func (o *PurchaseShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this purchase shipment unauthorized response has a 2xx status code
func (*PurchaseShipmentUnauthorized) String ¶
func (o *PurchaseShipmentUnauthorized) String() string
type RetrieveShippingLabelBadRequest ¶
type RetrieveShippingLabelBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.RetrieveShippingLabelResponse }
RetrieveShippingLabelBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewRetrieveShippingLabelBadRequest ¶
func NewRetrieveShippingLabelBadRequest() *RetrieveShippingLabelBadRequest
NewRetrieveShippingLabelBadRequest creates a RetrieveShippingLabelBadRequest with default headers values
func (*RetrieveShippingLabelBadRequest) Error ¶
func (o *RetrieveShippingLabelBadRequest) Error() string
func (*RetrieveShippingLabelBadRequest) GetPayload ¶
func (o *RetrieveShippingLabelBadRequest) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelBadRequest) IsClientError ¶
func (o *RetrieveShippingLabelBadRequest) IsClientError() bool
IsClientError returns true when this retrieve shipping label bad request response has a 4xx status code
func (*RetrieveShippingLabelBadRequest) IsCode ¶
func (o *RetrieveShippingLabelBadRequest) IsCode(code int) bool
IsCode returns true when this retrieve shipping label bad request response a status code equal to that given
func (*RetrieveShippingLabelBadRequest) IsRedirect ¶
func (o *RetrieveShippingLabelBadRequest) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label bad request response has a 3xx status code
func (*RetrieveShippingLabelBadRequest) IsServerError ¶
func (o *RetrieveShippingLabelBadRequest) IsServerError() bool
IsServerError returns true when this retrieve shipping label bad request response has a 5xx status code
func (*RetrieveShippingLabelBadRequest) IsSuccess ¶
func (o *RetrieveShippingLabelBadRequest) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label bad request response has a 2xx status code
func (*RetrieveShippingLabelBadRequest) String ¶
func (o *RetrieveShippingLabelBadRequest) String() string
type RetrieveShippingLabelForbidden ¶
type RetrieveShippingLabelForbidden struct { /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.RetrieveShippingLabelResponse }
RetrieveShippingLabelForbidden describes a response with status code 403, with default header values.
403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
func NewRetrieveShippingLabelForbidden ¶
func NewRetrieveShippingLabelForbidden() *RetrieveShippingLabelForbidden
NewRetrieveShippingLabelForbidden creates a RetrieveShippingLabelForbidden with default headers values
func (*RetrieveShippingLabelForbidden) Error ¶
func (o *RetrieveShippingLabelForbidden) Error() string
func (*RetrieveShippingLabelForbidden) GetPayload ¶
func (o *RetrieveShippingLabelForbidden) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelForbidden) IsClientError ¶
func (o *RetrieveShippingLabelForbidden) IsClientError() bool
IsClientError returns true when this retrieve shipping label forbidden response has a 4xx status code
func (*RetrieveShippingLabelForbidden) IsCode ¶
func (o *RetrieveShippingLabelForbidden) IsCode(code int) bool
IsCode returns true when this retrieve shipping label forbidden response a status code equal to that given
func (*RetrieveShippingLabelForbidden) IsRedirect ¶
func (o *RetrieveShippingLabelForbidden) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label forbidden response has a 3xx status code
func (*RetrieveShippingLabelForbidden) IsServerError ¶
func (o *RetrieveShippingLabelForbidden) IsServerError() bool
IsServerError returns true when this retrieve shipping label forbidden response has a 5xx status code
func (*RetrieveShippingLabelForbidden) IsSuccess ¶
func (o *RetrieveShippingLabelForbidden) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label forbidden response has a 2xx status code
func (*RetrieveShippingLabelForbidden) String ¶
func (o *RetrieveShippingLabelForbidden) String() string
type RetrieveShippingLabelInternalServerError ¶
type RetrieveShippingLabelInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.RetrieveShippingLabelResponse }
RetrieveShippingLabelInternalServerError describes a response with status code 500, with default header values.
Encountered an unexpected condition which prevented the server from fulfilling the request.
func NewRetrieveShippingLabelInternalServerError ¶
func NewRetrieveShippingLabelInternalServerError() *RetrieveShippingLabelInternalServerError
NewRetrieveShippingLabelInternalServerError creates a RetrieveShippingLabelInternalServerError with default headers values
func (*RetrieveShippingLabelInternalServerError) Error ¶
func (o *RetrieveShippingLabelInternalServerError) Error() string
func (*RetrieveShippingLabelInternalServerError) GetPayload ¶
func (o *RetrieveShippingLabelInternalServerError) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelInternalServerError) IsClientError ¶
func (o *RetrieveShippingLabelInternalServerError) IsClientError() bool
IsClientError returns true when this retrieve shipping label internal server error response has a 4xx status code
func (*RetrieveShippingLabelInternalServerError) IsCode ¶
func (o *RetrieveShippingLabelInternalServerError) IsCode(code int) bool
IsCode returns true when this retrieve shipping label internal server error response a status code equal to that given
func (*RetrieveShippingLabelInternalServerError) IsRedirect ¶
func (o *RetrieveShippingLabelInternalServerError) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label internal server error response has a 3xx status code
func (*RetrieveShippingLabelInternalServerError) IsServerError ¶
func (o *RetrieveShippingLabelInternalServerError) IsServerError() bool
IsServerError returns true when this retrieve shipping label internal server error response has a 5xx status code
func (*RetrieveShippingLabelInternalServerError) IsSuccess ¶
func (o *RetrieveShippingLabelInternalServerError) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label internal server error response has a 2xx status code
func (*RetrieveShippingLabelInternalServerError) String ¶
func (o *RetrieveShippingLabelInternalServerError) String() string
type RetrieveShippingLabelNotFound ¶
type RetrieveShippingLabelNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.RetrieveShippingLabelResponse }
RetrieveShippingLabelNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewRetrieveShippingLabelNotFound ¶
func NewRetrieveShippingLabelNotFound() *RetrieveShippingLabelNotFound
NewRetrieveShippingLabelNotFound creates a RetrieveShippingLabelNotFound with default headers values
func (*RetrieveShippingLabelNotFound) Error ¶
func (o *RetrieveShippingLabelNotFound) Error() string
func (*RetrieveShippingLabelNotFound) GetPayload ¶
func (o *RetrieveShippingLabelNotFound) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelNotFound) IsClientError ¶
func (o *RetrieveShippingLabelNotFound) IsClientError() bool
IsClientError returns true when this retrieve shipping label not found response has a 4xx status code
func (*RetrieveShippingLabelNotFound) IsCode ¶
func (o *RetrieveShippingLabelNotFound) IsCode(code int) bool
IsCode returns true when this retrieve shipping label not found response a status code equal to that given
func (*RetrieveShippingLabelNotFound) IsRedirect ¶
func (o *RetrieveShippingLabelNotFound) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label not found response has a 3xx status code
func (*RetrieveShippingLabelNotFound) IsServerError ¶
func (o *RetrieveShippingLabelNotFound) IsServerError() bool
IsServerError returns true when this retrieve shipping label not found response has a 5xx status code
func (*RetrieveShippingLabelNotFound) IsSuccess ¶
func (o *RetrieveShippingLabelNotFound) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label not found response has a 2xx status code
func (*RetrieveShippingLabelNotFound) String ¶
func (o *RetrieveShippingLabelNotFound) String() string
type RetrieveShippingLabelOK ¶
type RetrieveShippingLabelOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.RetrieveShippingLabelResponse }
RetrieveShippingLabelOK describes a response with status code 200, with default header values.
Success.
func NewRetrieveShippingLabelOK ¶
func NewRetrieveShippingLabelOK() *RetrieveShippingLabelOK
NewRetrieveShippingLabelOK creates a RetrieveShippingLabelOK with default headers values
func (*RetrieveShippingLabelOK) Error ¶
func (o *RetrieveShippingLabelOK) Error() string
func (*RetrieveShippingLabelOK) GetPayload ¶
func (o *RetrieveShippingLabelOK) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelOK) IsClientError ¶
func (o *RetrieveShippingLabelOK) IsClientError() bool
IsClientError returns true when this retrieve shipping label o k response has a 4xx status code
func (*RetrieveShippingLabelOK) IsCode ¶
func (o *RetrieveShippingLabelOK) IsCode(code int) bool
IsCode returns true when this retrieve shipping label o k response a status code equal to that given
func (*RetrieveShippingLabelOK) IsRedirect ¶
func (o *RetrieveShippingLabelOK) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label o k response has a 3xx status code
func (*RetrieveShippingLabelOK) IsServerError ¶
func (o *RetrieveShippingLabelOK) IsServerError() bool
IsServerError returns true when this retrieve shipping label o k response has a 5xx status code
func (*RetrieveShippingLabelOK) IsSuccess ¶
func (o *RetrieveShippingLabelOK) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label o k response has a 2xx status code
func (*RetrieveShippingLabelOK) String ¶
func (o *RetrieveShippingLabelOK) String() string
type RetrieveShippingLabelParams ¶
type RetrieveShippingLabelParams struct { // Body. Body *shipping_models.RetrieveShippingLabelRequest // ShipmentID. ShipmentID string // TrackingID. TrackingID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveShippingLabelParams contains all the parameters to send to the API endpoint
for the retrieve shipping label operation. Typically these are written to a http.Request.
func NewRetrieveShippingLabelParams ¶
func NewRetrieveShippingLabelParams() *RetrieveShippingLabelParams
NewRetrieveShippingLabelParams creates a new RetrieveShippingLabelParams 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 NewRetrieveShippingLabelParamsWithContext ¶
func NewRetrieveShippingLabelParamsWithContext(ctx context.Context) *RetrieveShippingLabelParams
NewRetrieveShippingLabelParamsWithContext creates a new RetrieveShippingLabelParams object with the ability to set a context for a request.
func NewRetrieveShippingLabelParamsWithHTTPClient ¶
func NewRetrieveShippingLabelParamsWithHTTPClient(client *http.Client) *RetrieveShippingLabelParams
NewRetrieveShippingLabelParamsWithHTTPClient creates a new RetrieveShippingLabelParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveShippingLabelParamsWithTimeout ¶
func NewRetrieveShippingLabelParamsWithTimeout(timeout time.Duration) *RetrieveShippingLabelParams
NewRetrieveShippingLabelParamsWithTimeout creates a new RetrieveShippingLabelParams object with the ability to set a timeout on a request.
func (*RetrieveShippingLabelParams) SetBody ¶
func (o *RetrieveShippingLabelParams) SetBody(body *shipping_models.RetrieveShippingLabelRequest)
SetBody adds the body to the retrieve shipping label params
func (*RetrieveShippingLabelParams) SetContext ¶
func (o *RetrieveShippingLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve shipping label params
func (*RetrieveShippingLabelParams) SetDefaults ¶
func (o *RetrieveShippingLabelParams) SetDefaults()
SetDefaults hydrates default values in the retrieve shipping label params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveShippingLabelParams) SetHTTPClient ¶
func (o *RetrieveShippingLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve shipping label params
func (*RetrieveShippingLabelParams) SetShipmentID ¶
func (o *RetrieveShippingLabelParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the retrieve shipping label params
func (*RetrieveShippingLabelParams) SetTimeout ¶
func (o *RetrieveShippingLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve shipping label params
func (*RetrieveShippingLabelParams) SetTrackingID ¶
func (o *RetrieveShippingLabelParams) SetTrackingID(trackingID string)
SetTrackingID adds the trackingId to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WithBody ¶
func (o *RetrieveShippingLabelParams) WithBody(body *shipping_models.RetrieveShippingLabelRequest) *RetrieveShippingLabelParams
WithBody adds the body to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WithContext ¶
func (o *RetrieveShippingLabelParams) WithContext(ctx context.Context) *RetrieveShippingLabelParams
WithContext adds the context to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WithDefaults ¶
func (o *RetrieveShippingLabelParams) WithDefaults() *RetrieveShippingLabelParams
WithDefaults hydrates default values in the retrieve shipping label params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveShippingLabelParams) WithHTTPClient ¶
func (o *RetrieveShippingLabelParams) WithHTTPClient(client *http.Client) *RetrieveShippingLabelParams
WithHTTPClient adds the HTTPClient to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WithShipmentID ¶
func (o *RetrieveShippingLabelParams) WithShipmentID(shipmentID string) *RetrieveShippingLabelParams
WithShipmentID adds the shipmentID to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WithTimeout ¶
func (o *RetrieveShippingLabelParams) WithTimeout(timeout time.Duration) *RetrieveShippingLabelParams
WithTimeout adds the timeout to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WithTrackingID ¶
func (o *RetrieveShippingLabelParams) WithTrackingID(trackingID string) *RetrieveShippingLabelParams
WithTrackingID adds the trackingID to the retrieve shipping label params
func (*RetrieveShippingLabelParams) WriteToRequest ¶
func (o *RetrieveShippingLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveShippingLabelReader ¶
type RetrieveShippingLabelReader struct {
// contains filtered or unexported fields
}
RetrieveShippingLabelReader is a Reader for the RetrieveShippingLabel structure.
func (*RetrieveShippingLabelReader) ReadResponse ¶
func (o *RetrieveShippingLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveShippingLabelServiceUnavailable ¶
type RetrieveShippingLabelServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
RetrieveShippingLabelServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewRetrieveShippingLabelServiceUnavailable ¶
func NewRetrieveShippingLabelServiceUnavailable() *RetrieveShippingLabelServiceUnavailable
NewRetrieveShippingLabelServiceUnavailable creates a RetrieveShippingLabelServiceUnavailable with default headers values
func (*RetrieveShippingLabelServiceUnavailable) Error ¶
func (o *RetrieveShippingLabelServiceUnavailable) Error() string
func (*RetrieveShippingLabelServiceUnavailable) GetPayload ¶
func (o *RetrieveShippingLabelServiceUnavailable) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelServiceUnavailable) IsClientError ¶
func (o *RetrieveShippingLabelServiceUnavailable) IsClientError() bool
IsClientError returns true when this retrieve shipping label service unavailable response has a 4xx status code
func (*RetrieveShippingLabelServiceUnavailable) IsCode ¶
func (o *RetrieveShippingLabelServiceUnavailable) IsCode(code int) bool
IsCode returns true when this retrieve shipping label service unavailable response a status code equal to that given
func (*RetrieveShippingLabelServiceUnavailable) IsRedirect ¶
func (o *RetrieveShippingLabelServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label service unavailable response has a 3xx status code
func (*RetrieveShippingLabelServiceUnavailable) IsServerError ¶
func (o *RetrieveShippingLabelServiceUnavailable) IsServerError() bool
IsServerError returns true when this retrieve shipping label service unavailable response has a 5xx status code
func (*RetrieveShippingLabelServiceUnavailable) IsSuccess ¶
func (o *RetrieveShippingLabelServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label service unavailable response has a 2xx status code
func (*RetrieveShippingLabelServiceUnavailable) String ¶
func (o *RetrieveShippingLabelServiceUnavailable) String() string
type RetrieveShippingLabelTooManyRequests ¶
type RetrieveShippingLabelTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference id. */ XAmznRequestID string Payload *shipping_models.RetrieveShippingLabelResponse }
RetrieveShippingLabelTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewRetrieveShippingLabelTooManyRequests ¶
func NewRetrieveShippingLabelTooManyRequests() *RetrieveShippingLabelTooManyRequests
NewRetrieveShippingLabelTooManyRequests creates a RetrieveShippingLabelTooManyRequests with default headers values
func (*RetrieveShippingLabelTooManyRequests) Error ¶
func (o *RetrieveShippingLabelTooManyRequests) Error() string
func (*RetrieveShippingLabelTooManyRequests) GetPayload ¶
func (o *RetrieveShippingLabelTooManyRequests) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelTooManyRequests) IsClientError ¶
func (o *RetrieveShippingLabelTooManyRequests) IsClientError() bool
IsClientError returns true when this retrieve shipping label too many requests response has a 4xx status code
func (*RetrieveShippingLabelTooManyRequests) IsCode ¶
func (o *RetrieveShippingLabelTooManyRequests) IsCode(code int) bool
IsCode returns true when this retrieve shipping label too many requests response a status code equal to that given
func (*RetrieveShippingLabelTooManyRequests) IsRedirect ¶
func (o *RetrieveShippingLabelTooManyRequests) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label too many requests response has a 3xx status code
func (*RetrieveShippingLabelTooManyRequests) IsServerError ¶
func (o *RetrieveShippingLabelTooManyRequests) IsServerError() bool
IsServerError returns true when this retrieve shipping label too many requests response has a 5xx status code
func (*RetrieveShippingLabelTooManyRequests) IsSuccess ¶
func (o *RetrieveShippingLabelTooManyRequests) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label too many requests response has a 2xx status code
func (*RetrieveShippingLabelTooManyRequests) String ¶
func (o *RetrieveShippingLabelTooManyRequests) String() string
type RetrieveShippingLabelUnauthorized ¶
RetrieveShippingLabelUnauthorized 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 NewRetrieveShippingLabelUnauthorized ¶
func NewRetrieveShippingLabelUnauthorized() *RetrieveShippingLabelUnauthorized
NewRetrieveShippingLabelUnauthorized creates a RetrieveShippingLabelUnauthorized with default headers values
func (*RetrieveShippingLabelUnauthorized) Error ¶
func (o *RetrieveShippingLabelUnauthorized) Error() string
func (*RetrieveShippingLabelUnauthorized) GetPayload ¶
func (o *RetrieveShippingLabelUnauthorized) GetPayload() *shipping_models.RetrieveShippingLabelResponse
func (*RetrieveShippingLabelUnauthorized) IsClientError ¶
func (o *RetrieveShippingLabelUnauthorized) IsClientError() bool
IsClientError returns true when this retrieve shipping label unauthorized response has a 4xx status code
func (*RetrieveShippingLabelUnauthorized) IsCode ¶
func (o *RetrieveShippingLabelUnauthorized) IsCode(code int) bool
IsCode returns true when this retrieve shipping label unauthorized response a status code equal to that given
func (*RetrieveShippingLabelUnauthorized) IsRedirect ¶
func (o *RetrieveShippingLabelUnauthorized) IsRedirect() bool
IsRedirect returns true when this retrieve shipping label unauthorized response has a 3xx status code
func (*RetrieveShippingLabelUnauthorized) IsServerError ¶
func (o *RetrieveShippingLabelUnauthorized) IsServerError() bool
IsServerError returns true when this retrieve shipping label unauthorized response has a 5xx status code
func (*RetrieveShippingLabelUnauthorized) IsSuccess ¶
func (o *RetrieveShippingLabelUnauthorized) IsSuccess() bool
IsSuccess returns true when this retrieve shipping label unauthorized response has a 2xx status code
func (*RetrieveShippingLabelUnauthorized) String ¶
func (o *RetrieveShippingLabelUnauthorized) String() string
Source Files ¶
- cancel_shipment_parameters.go
- cancel_shipment_responses.go
- create_shipment_parameters.go
- create_shipment_responses.go
- get_account_parameters.go
- get_account_responses.go
- get_rates_parameters.go
- get_rates_responses.go
- get_shipment_parameters.go
- get_shipment_responses.go
- get_tracking_information_parameters.go
- get_tracking_information_responses.go
- purchase_labels_parameters.go
- purchase_labels_responses.go
- purchase_shipment_parameters.go
- purchase_shipment_responses.go
- retrieve_shipping_label_parameters.go
- retrieve_shipping_label_responses.go
- shipping_client.go