Documentation ¶
Index ¶
- type CancelShipmentBadRequest
- func (o *CancelShipmentBadRequest) Error() string
- func (o *CancelShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_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) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- 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) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *CancelShipmentParams
- func (o *CancelShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelShipmentReader
- type CancelShipmentRequestEntityTooLarge
- func (o *CancelShipmentRequestEntityTooLarge) Error() string
- func (o *CancelShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *CancelShipmentRequestEntityTooLarge) IsClientError() bool
- func (o *CancelShipmentRequestEntityTooLarge) IsCode(code int) bool
- func (o *CancelShipmentRequestEntityTooLarge) IsRedirect() bool
- func (o *CancelShipmentRequestEntityTooLarge) IsServerError() bool
- func (o *CancelShipmentRequestEntityTooLarge) IsSuccess() bool
- func (o *CancelShipmentRequestEntityTooLarge) String() string
- type CancelShipmentServiceUnavailable
- func (o *CancelShipmentServiceUnavailable) Error() string
- func (o *CancelShipmentServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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 CancelShipmentUnsupportedMediaType
- func (o *CancelShipmentUnsupportedMediaType) Error() string
- func (o *CancelShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *CancelShipmentUnsupportedMediaType) IsClientError() bool
- func (o *CancelShipmentUnsupportedMediaType) IsCode(code int) bool
- func (o *CancelShipmentUnsupportedMediaType) IsRedirect() bool
- func (o *CancelShipmentUnsupportedMediaType) IsServerError() bool
- func (o *CancelShipmentUnsupportedMediaType) IsSuccess() bool
- func (o *CancelShipmentUnsupportedMediaType) String() string
- type Client
- func (a *Client) CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error)
- func (a *Client) DirectPurchaseShipment(params *DirectPurchaseShipmentParams, opts ...ClientOption) (*DirectPurchaseShipmentOK, error)
- func (a *Client) GenerateCollectionForm(params *GenerateCollectionFormParams, opts ...ClientOption) (*GenerateCollectionFormOK, error)
- func (a *Client) GetAccessPoints(params *GetAccessPointsParams, opts ...ClientOption) (*GetAccessPointsOK, error)
- func (a *Client) GetAdditionalInputs(params *GetAdditionalInputsParams, opts ...ClientOption) (*GetAdditionalInputsOK, error)
- func (a *Client) GetCarrierAccountFormInputs(params *GetCarrierAccountFormInputsParams, opts ...ClientOption) (*GetCarrierAccountFormInputsOK, error)
- func (a *Client) GetCarrierAccounts(params *GetCarrierAccountsParams, opts ...ClientOption) (*GetCarrierAccountsOK, error)
- func (a *Client) GetCollectionForm(params *GetCollectionFormParams, opts ...ClientOption) (*GetCollectionFormOK, error)
- func (a *Client) GetCollectionFormHistory(params *GetCollectionFormHistoryParams, opts ...ClientOption) (*GetCollectionFormHistoryOK, error)
- func (a *Client) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error)
- func (a *Client) GetShipmentDocuments(params *GetShipmentDocumentsParams, opts ...ClientOption) (*GetShipmentDocumentsOK, error)
- func (a *Client) GetTracking(params *GetTrackingParams, opts ...ClientOption) (*GetTrackingOK, error)
- func (a *Client) GetUnmanifestedShipments(params *GetUnmanifestedShipmentsParams, opts ...ClientOption) (*GetUnmanifestedShipmentsOK, error)
- func (a *Client) LinkCarrierAccount(params *LinkCarrierAccountParams, opts ...ClientOption) (*LinkCarrierAccountOK, error)
- func (a *Client) OneClickShipment(params *OneClickShipmentParams, opts ...ClientOption) (*OneClickShipmentOK, error)
- func (a *Client) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnlinkCarrierAccount(params *UnlinkCarrierAccountParams, opts ...ClientOption) (*UnlinkCarrierAccountOK, error)
- type ClientOption
- type ClientService
- type DirectPurchaseShipmentBadRequest
- func (o *DirectPurchaseShipmentBadRequest) Error() string
- func (o *DirectPurchaseShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentBadRequest) IsClientError() bool
- func (o *DirectPurchaseShipmentBadRequest) IsCode(code int) bool
- func (o *DirectPurchaseShipmentBadRequest) IsRedirect() bool
- func (o *DirectPurchaseShipmentBadRequest) IsServerError() bool
- func (o *DirectPurchaseShipmentBadRequest) IsSuccess() bool
- func (o *DirectPurchaseShipmentBadRequest) String() string
- type DirectPurchaseShipmentForbidden
- func (o *DirectPurchaseShipmentForbidden) Error() string
- func (o *DirectPurchaseShipmentForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentForbidden) IsClientError() bool
- func (o *DirectPurchaseShipmentForbidden) IsCode(code int) bool
- func (o *DirectPurchaseShipmentForbidden) IsRedirect() bool
- func (o *DirectPurchaseShipmentForbidden) IsServerError() bool
- func (o *DirectPurchaseShipmentForbidden) IsSuccess() bool
- func (o *DirectPurchaseShipmentForbidden) String() string
- type DirectPurchaseShipmentInternalServerError
- func (o *DirectPurchaseShipmentInternalServerError) Error() string
- func (o *DirectPurchaseShipmentInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentInternalServerError) IsClientError() bool
- func (o *DirectPurchaseShipmentInternalServerError) IsCode(code int) bool
- func (o *DirectPurchaseShipmentInternalServerError) IsRedirect() bool
- func (o *DirectPurchaseShipmentInternalServerError) IsServerError() bool
- func (o *DirectPurchaseShipmentInternalServerError) IsSuccess() bool
- func (o *DirectPurchaseShipmentInternalServerError) String() string
- type DirectPurchaseShipmentNotFound
- func (o *DirectPurchaseShipmentNotFound) Error() string
- func (o *DirectPurchaseShipmentNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentNotFound) IsClientError() bool
- func (o *DirectPurchaseShipmentNotFound) IsCode(code int) bool
- func (o *DirectPurchaseShipmentNotFound) IsRedirect() bool
- func (o *DirectPurchaseShipmentNotFound) IsServerError() bool
- func (o *DirectPurchaseShipmentNotFound) IsSuccess() bool
- func (o *DirectPurchaseShipmentNotFound) String() string
- type DirectPurchaseShipmentOK
- func (o *DirectPurchaseShipmentOK) Error() string
- func (o *DirectPurchaseShipmentOK) GetPayload() *shipping_v2_models.DirectPurchaseResponse
- func (o *DirectPurchaseShipmentOK) IsClientError() bool
- func (o *DirectPurchaseShipmentOK) IsCode(code int) bool
- func (o *DirectPurchaseShipmentOK) IsRedirect() bool
- func (o *DirectPurchaseShipmentOK) IsServerError() bool
- func (o *DirectPurchaseShipmentOK) IsSuccess() bool
- func (o *DirectPurchaseShipmentOK) String() string
- type DirectPurchaseShipmentParams
- func NewDirectPurchaseShipmentParams() *DirectPurchaseShipmentParams
- func NewDirectPurchaseShipmentParamsWithContext(ctx context.Context) *DirectPurchaseShipmentParams
- func NewDirectPurchaseShipmentParamsWithHTTPClient(client *http.Client) *DirectPurchaseShipmentParams
- func NewDirectPurchaseShipmentParamsWithTimeout(timeout time.Duration) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) SetBody(body *shipping_v2_models.DirectPurchaseRequest)
- func (o *DirectPurchaseShipmentParams) SetContext(ctx context.Context)
- func (o *DirectPurchaseShipmentParams) SetDefaults()
- func (o *DirectPurchaseShipmentParams) SetHTTPClient(client *http.Client)
- func (o *DirectPurchaseShipmentParams) SetLocale(locale *string)
- func (o *DirectPurchaseShipmentParams) SetTimeout(timeout time.Duration)
- func (o *DirectPurchaseShipmentParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)
- func (o *DirectPurchaseShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *DirectPurchaseShipmentParams) WithBody(body *shipping_v2_models.DirectPurchaseRequest) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithContext(ctx context.Context) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithDefaults() *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithHTTPClient(client *http.Client) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithLocale(locale *string) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithTimeout(timeout time.Duration) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *DirectPurchaseShipmentParams
- func (o *DirectPurchaseShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DirectPurchaseShipmentReader
- type DirectPurchaseShipmentRequestEntityTooLarge
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) Error() string
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsClientError() bool
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsCode(code int) bool
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsRedirect() bool
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsServerError() bool
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsSuccess() bool
- func (o *DirectPurchaseShipmentRequestEntityTooLarge) String() string
- type DirectPurchaseShipmentServiceUnavailable
- func (o *DirectPurchaseShipmentServiceUnavailable) Error() string
- func (o *DirectPurchaseShipmentServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentServiceUnavailable) IsClientError() bool
- func (o *DirectPurchaseShipmentServiceUnavailable) IsCode(code int) bool
- func (o *DirectPurchaseShipmentServiceUnavailable) IsRedirect() bool
- func (o *DirectPurchaseShipmentServiceUnavailable) IsServerError() bool
- func (o *DirectPurchaseShipmentServiceUnavailable) IsSuccess() bool
- func (o *DirectPurchaseShipmentServiceUnavailable) String() string
- type DirectPurchaseShipmentTooManyRequests
- func (o *DirectPurchaseShipmentTooManyRequests) Error() string
- func (o *DirectPurchaseShipmentTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentTooManyRequests) IsClientError() bool
- func (o *DirectPurchaseShipmentTooManyRequests) IsCode(code int) bool
- func (o *DirectPurchaseShipmentTooManyRequests) IsRedirect() bool
- func (o *DirectPurchaseShipmentTooManyRequests) IsServerError() bool
- func (o *DirectPurchaseShipmentTooManyRequests) IsSuccess() bool
- func (o *DirectPurchaseShipmentTooManyRequests) String() string
- type DirectPurchaseShipmentUnauthorized
- func (o *DirectPurchaseShipmentUnauthorized) Error() string
- func (o *DirectPurchaseShipmentUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentUnauthorized) IsClientError() bool
- func (o *DirectPurchaseShipmentUnauthorized) IsCode(code int) bool
- func (o *DirectPurchaseShipmentUnauthorized) IsRedirect() bool
- func (o *DirectPurchaseShipmentUnauthorized) IsServerError() bool
- func (o *DirectPurchaseShipmentUnauthorized) IsSuccess() bool
- func (o *DirectPurchaseShipmentUnauthorized) String() string
- type DirectPurchaseShipmentUnsupportedMediaType
- func (o *DirectPurchaseShipmentUnsupportedMediaType) Error() string
- func (o *DirectPurchaseShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *DirectPurchaseShipmentUnsupportedMediaType) IsClientError() bool
- func (o *DirectPurchaseShipmentUnsupportedMediaType) IsCode(code int) bool
- func (o *DirectPurchaseShipmentUnsupportedMediaType) IsRedirect() bool
- func (o *DirectPurchaseShipmentUnsupportedMediaType) IsServerError() bool
- func (o *DirectPurchaseShipmentUnsupportedMediaType) IsSuccess() bool
- func (o *DirectPurchaseShipmentUnsupportedMediaType) String() string
- type GenerateCollectionFormBadRequest
- func (o *GenerateCollectionFormBadRequest) Error() string
- func (o *GenerateCollectionFormBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormBadRequest) IsClientError() bool
- func (o *GenerateCollectionFormBadRequest) IsCode(code int) bool
- func (o *GenerateCollectionFormBadRequest) IsRedirect() bool
- func (o *GenerateCollectionFormBadRequest) IsServerError() bool
- func (o *GenerateCollectionFormBadRequest) IsSuccess() bool
- func (o *GenerateCollectionFormBadRequest) String() string
- type GenerateCollectionFormForbidden
- func (o *GenerateCollectionFormForbidden) Error() string
- func (o *GenerateCollectionFormForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormForbidden) IsClientError() bool
- func (o *GenerateCollectionFormForbidden) IsCode(code int) bool
- func (o *GenerateCollectionFormForbidden) IsRedirect() bool
- func (o *GenerateCollectionFormForbidden) IsServerError() bool
- func (o *GenerateCollectionFormForbidden) IsSuccess() bool
- func (o *GenerateCollectionFormForbidden) String() string
- type GenerateCollectionFormInternalServerError
- func (o *GenerateCollectionFormInternalServerError) Error() string
- func (o *GenerateCollectionFormInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormInternalServerError) IsClientError() bool
- func (o *GenerateCollectionFormInternalServerError) IsCode(code int) bool
- func (o *GenerateCollectionFormInternalServerError) IsRedirect() bool
- func (o *GenerateCollectionFormInternalServerError) IsServerError() bool
- func (o *GenerateCollectionFormInternalServerError) IsSuccess() bool
- func (o *GenerateCollectionFormInternalServerError) String() string
- type GenerateCollectionFormNotFound
- func (o *GenerateCollectionFormNotFound) Error() string
- func (o *GenerateCollectionFormNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormNotFound) IsClientError() bool
- func (o *GenerateCollectionFormNotFound) IsCode(code int) bool
- func (o *GenerateCollectionFormNotFound) IsRedirect() bool
- func (o *GenerateCollectionFormNotFound) IsServerError() bool
- func (o *GenerateCollectionFormNotFound) IsSuccess() bool
- func (o *GenerateCollectionFormNotFound) String() string
- type GenerateCollectionFormOK
- func (o *GenerateCollectionFormOK) Error() string
- func (o *GenerateCollectionFormOK) GetPayload() *shipping_v2_models.GenerateCollectionFormResponse
- func (o *GenerateCollectionFormOK) IsClientError() bool
- func (o *GenerateCollectionFormOK) IsCode(code int) bool
- func (o *GenerateCollectionFormOK) IsRedirect() bool
- func (o *GenerateCollectionFormOK) IsServerError() bool
- func (o *GenerateCollectionFormOK) IsSuccess() bool
- func (o *GenerateCollectionFormOK) String() string
- type GenerateCollectionFormParams
- func NewGenerateCollectionFormParams() *GenerateCollectionFormParams
- func NewGenerateCollectionFormParamsWithContext(ctx context.Context) *GenerateCollectionFormParams
- func NewGenerateCollectionFormParamsWithHTTPClient(client *http.Client) *GenerateCollectionFormParams
- func NewGenerateCollectionFormParamsWithTimeout(timeout time.Duration) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) SetBody(body *shipping_v2_models.GenerateCollectionFormRequest)
- func (o *GenerateCollectionFormParams) SetContext(ctx context.Context)
- func (o *GenerateCollectionFormParams) SetDefaults()
- func (o *GenerateCollectionFormParams) SetHTTPClient(client *http.Client)
- func (o *GenerateCollectionFormParams) SetTimeout(timeout time.Duration)
- func (o *GenerateCollectionFormParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)
- func (o *GenerateCollectionFormParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GenerateCollectionFormParams) WithBody(body *shipping_v2_models.GenerateCollectionFormRequest) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WithContext(ctx context.Context) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WithDefaults() *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WithHTTPClient(client *http.Client) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WithTimeout(timeout time.Duration) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GenerateCollectionFormParams
- func (o *GenerateCollectionFormParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateCollectionFormReader
- type GenerateCollectionFormRequestEntityTooLarge
- func (o *GenerateCollectionFormRequestEntityTooLarge) Error() string
- func (o *GenerateCollectionFormRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormRequestEntityTooLarge) IsClientError() bool
- func (o *GenerateCollectionFormRequestEntityTooLarge) IsCode(code int) bool
- func (o *GenerateCollectionFormRequestEntityTooLarge) IsRedirect() bool
- func (o *GenerateCollectionFormRequestEntityTooLarge) IsServerError() bool
- func (o *GenerateCollectionFormRequestEntityTooLarge) IsSuccess() bool
- func (o *GenerateCollectionFormRequestEntityTooLarge) String() string
- type GenerateCollectionFormServiceUnavailable
- func (o *GenerateCollectionFormServiceUnavailable) Error() string
- func (o *GenerateCollectionFormServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormServiceUnavailable) IsClientError() bool
- func (o *GenerateCollectionFormServiceUnavailable) IsCode(code int) bool
- func (o *GenerateCollectionFormServiceUnavailable) IsRedirect() bool
- func (o *GenerateCollectionFormServiceUnavailable) IsServerError() bool
- func (o *GenerateCollectionFormServiceUnavailable) IsSuccess() bool
- func (o *GenerateCollectionFormServiceUnavailable) String() string
- type GenerateCollectionFormTooManyRequests
- func (o *GenerateCollectionFormTooManyRequests) Error() string
- func (o *GenerateCollectionFormTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormTooManyRequests) IsClientError() bool
- func (o *GenerateCollectionFormTooManyRequests) IsCode(code int) bool
- func (o *GenerateCollectionFormTooManyRequests) IsRedirect() bool
- func (o *GenerateCollectionFormTooManyRequests) IsServerError() bool
- func (o *GenerateCollectionFormTooManyRequests) IsSuccess() bool
- func (o *GenerateCollectionFormTooManyRequests) String() string
- type GenerateCollectionFormUnauthorized
- func (o *GenerateCollectionFormUnauthorized) Error() string
- func (o *GenerateCollectionFormUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormUnauthorized) IsClientError() bool
- func (o *GenerateCollectionFormUnauthorized) IsCode(code int) bool
- func (o *GenerateCollectionFormUnauthorized) IsRedirect() bool
- func (o *GenerateCollectionFormUnauthorized) IsServerError() bool
- func (o *GenerateCollectionFormUnauthorized) IsSuccess() bool
- func (o *GenerateCollectionFormUnauthorized) String() string
- type GenerateCollectionFormUnsupportedMediaType
- func (o *GenerateCollectionFormUnsupportedMediaType) Error() string
- func (o *GenerateCollectionFormUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GenerateCollectionFormUnsupportedMediaType) IsClientError() bool
- func (o *GenerateCollectionFormUnsupportedMediaType) IsCode(code int) bool
- func (o *GenerateCollectionFormUnsupportedMediaType) IsRedirect() bool
- func (o *GenerateCollectionFormUnsupportedMediaType) IsServerError() bool
- func (o *GenerateCollectionFormUnsupportedMediaType) IsSuccess() bool
- func (o *GenerateCollectionFormUnsupportedMediaType) String() string
- type GetAccessPointsBadRequest
- func (o *GetAccessPointsBadRequest) Error() string
- func (o *GetAccessPointsBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsBadRequest) IsClientError() bool
- func (o *GetAccessPointsBadRequest) IsCode(code int) bool
- func (o *GetAccessPointsBadRequest) IsRedirect() bool
- func (o *GetAccessPointsBadRequest) IsServerError() bool
- func (o *GetAccessPointsBadRequest) IsSuccess() bool
- func (o *GetAccessPointsBadRequest) String() string
- type GetAccessPointsForbidden
- func (o *GetAccessPointsForbidden) Error() string
- func (o *GetAccessPointsForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsForbidden) IsClientError() bool
- func (o *GetAccessPointsForbidden) IsCode(code int) bool
- func (o *GetAccessPointsForbidden) IsRedirect() bool
- func (o *GetAccessPointsForbidden) IsServerError() bool
- func (o *GetAccessPointsForbidden) IsSuccess() bool
- func (o *GetAccessPointsForbidden) String() string
- type GetAccessPointsInternalServerError
- func (o *GetAccessPointsInternalServerError) Error() string
- func (o *GetAccessPointsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsInternalServerError) IsClientError() bool
- func (o *GetAccessPointsInternalServerError) IsCode(code int) bool
- func (o *GetAccessPointsInternalServerError) IsRedirect() bool
- func (o *GetAccessPointsInternalServerError) IsServerError() bool
- func (o *GetAccessPointsInternalServerError) IsSuccess() bool
- func (o *GetAccessPointsInternalServerError) String() string
- type GetAccessPointsNotFound
- func (o *GetAccessPointsNotFound) Error() string
- func (o *GetAccessPointsNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsNotFound) IsClientError() bool
- func (o *GetAccessPointsNotFound) IsCode(code int) bool
- func (o *GetAccessPointsNotFound) IsRedirect() bool
- func (o *GetAccessPointsNotFound) IsServerError() bool
- func (o *GetAccessPointsNotFound) IsSuccess() bool
- func (o *GetAccessPointsNotFound) String() string
- type GetAccessPointsOK
- func (o *GetAccessPointsOK) Error() string
- func (o *GetAccessPointsOK) GetPayload() *shipping_v2_models.GetAccessPointsResponse
- func (o *GetAccessPointsOK) IsClientError() bool
- func (o *GetAccessPointsOK) IsCode(code int) bool
- func (o *GetAccessPointsOK) IsRedirect() bool
- func (o *GetAccessPointsOK) IsServerError() bool
- func (o *GetAccessPointsOK) IsSuccess() bool
- func (o *GetAccessPointsOK) String() string
- type GetAccessPointsParams
- func NewGetAccessPointsParams() *GetAccessPointsParams
- func NewGetAccessPointsParamsWithContext(ctx context.Context) *GetAccessPointsParams
- func NewGetAccessPointsParamsWithHTTPClient(client *http.Client) *GetAccessPointsParams
- func NewGetAccessPointsParamsWithTimeout(timeout time.Duration) *GetAccessPointsParams
- func (o *GetAccessPointsParams) SetAccessPointTypes(accessPointTypes []string)
- func (o *GetAccessPointsParams) SetContext(ctx context.Context)
- func (o *GetAccessPointsParams) SetCountryCode(countryCode string)
- func (o *GetAccessPointsParams) SetDefaults()
- func (o *GetAccessPointsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessPointsParams) SetPostalCode(postalCode string)
- func (o *GetAccessPointsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessPointsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetAccessPointsParams) WithAccessPointTypes(accessPointTypes []string) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithContext(ctx context.Context) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithCountryCode(countryCode string) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithDefaults() *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithHTTPClient(client *http.Client) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithPostalCode(postalCode string) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithTimeout(timeout time.Duration) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetAccessPointsParams
- func (o *GetAccessPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessPointsReader
- type GetAccessPointsRequestEntityTooLarge
- func (o *GetAccessPointsRequestEntityTooLarge) Error() string
- func (o *GetAccessPointsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsRequestEntityTooLarge) IsClientError() bool
- func (o *GetAccessPointsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetAccessPointsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetAccessPointsRequestEntityTooLarge) IsServerError() bool
- func (o *GetAccessPointsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetAccessPointsRequestEntityTooLarge) String() string
- type GetAccessPointsServiceUnavailable
- func (o *GetAccessPointsServiceUnavailable) Error() string
- func (o *GetAccessPointsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsServiceUnavailable) IsClientError() bool
- func (o *GetAccessPointsServiceUnavailable) IsCode(code int) bool
- func (o *GetAccessPointsServiceUnavailable) IsRedirect() bool
- func (o *GetAccessPointsServiceUnavailable) IsServerError() bool
- func (o *GetAccessPointsServiceUnavailable) IsSuccess() bool
- func (o *GetAccessPointsServiceUnavailable) String() string
- type GetAccessPointsTooManyRequests
- func (o *GetAccessPointsTooManyRequests) Error() string
- func (o *GetAccessPointsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsTooManyRequests) IsClientError() bool
- func (o *GetAccessPointsTooManyRequests) IsCode(code int) bool
- func (o *GetAccessPointsTooManyRequests) IsRedirect() bool
- func (o *GetAccessPointsTooManyRequests) IsServerError() bool
- func (o *GetAccessPointsTooManyRequests) IsSuccess() bool
- func (o *GetAccessPointsTooManyRequests) String() string
- type GetAccessPointsUnauthorized
- func (o *GetAccessPointsUnauthorized) Error() string
- func (o *GetAccessPointsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsUnauthorized) IsClientError() bool
- func (o *GetAccessPointsUnauthorized) IsCode(code int) bool
- func (o *GetAccessPointsUnauthorized) IsRedirect() bool
- func (o *GetAccessPointsUnauthorized) IsServerError() bool
- func (o *GetAccessPointsUnauthorized) IsSuccess() bool
- func (o *GetAccessPointsUnauthorized) String() string
- type GetAccessPointsUnsupportedMediaType
- func (o *GetAccessPointsUnsupportedMediaType) Error() string
- func (o *GetAccessPointsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAccessPointsUnsupportedMediaType) IsClientError() bool
- func (o *GetAccessPointsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetAccessPointsUnsupportedMediaType) IsRedirect() bool
- func (o *GetAccessPointsUnsupportedMediaType) IsServerError() bool
- func (o *GetAccessPointsUnsupportedMediaType) IsSuccess() bool
- func (o *GetAccessPointsUnsupportedMediaType) String() string
- type GetAdditionalInputsBadRequest
- func (o *GetAdditionalInputsBadRequest) Error() string
- func (o *GetAdditionalInputsBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsBadRequest) IsClientError() bool
- func (o *GetAdditionalInputsBadRequest) IsCode(code int) bool
- func (o *GetAdditionalInputsBadRequest) IsRedirect() bool
- func (o *GetAdditionalInputsBadRequest) IsServerError() bool
- func (o *GetAdditionalInputsBadRequest) IsSuccess() bool
- func (o *GetAdditionalInputsBadRequest) String() string
- type GetAdditionalInputsForbidden
- func (o *GetAdditionalInputsForbidden) Error() string
- func (o *GetAdditionalInputsForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsForbidden) IsClientError() bool
- func (o *GetAdditionalInputsForbidden) IsCode(code int) bool
- func (o *GetAdditionalInputsForbidden) IsRedirect() bool
- func (o *GetAdditionalInputsForbidden) IsServerError() bool
- func (o *GetAdditionalInputsForbidden) IsSuccess() bool
- func (o *GetAdditionalInputsForbidden) String() string
- type GetAdditionalInputsInternalServerError
- func (o *GetAdditionalInputsInternalServerError) Error() string
- func (o *GetAdditionalInputsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsInternalServerError) IsClientError() bool
- func (o *GetAdditionalInputsInternalServerError) IsCode(code int) bool
- func (o *GetAdditionalInputsInternalServerError) IsRedirect() bool
- func (o *GetAdditionalInputsInternalServerError) IsServerError() bool
- func (o *GetAdditionalInputsInternalServerError) IsSuccess() bool
- func (o *GetAdditionalInputsInternalServerError) String() string
- type GetAdditionalInputsNotFound
- func (o *GetAdditionalInputsNotFound) Error() string
- func (o *GetAdditionalInputsNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsNotFound) IsClientError() bool
- func (o *GetAdditionalInputsNotFound) IsCode(code int) bool
- func (o *GetAdditionalInputsNotFound) IsRedirect() bool
- func (o *GetAdditionalInputsNotFound) IsServerError() bool
- func (o *GetAdditionalInputsNotFound) IsSuccess() bool
- func (o *GetAdditionalInputsNotFound) String() string
- type GetAdditionalInputsOK
- func (o *GetAdditionalInputsOK) Error() string
- func (o *GetAdditionalInputsOK) GetPayload() *shipping_v2_models.GetAdditionalInputsResponse
- func (o *GetAdditionalInputsOK) IsClientError() bool
- func (o *GetAdditionalInputsOK) IsCode(code int) bool
- func (o *GetAdditionalInputsOK) IsRedirect() bool
- func (o *GetAdditionalInputsOK) IsServerError() bool
- func (o *GetAdditionalInputsOK) IsSuccess() bool
- func (o *GetAdditionalInputsOK) String() string
- type GetAdditionalInputsParams
- func NewGetAdditionalInputsParams() *GetAdditionalInputsParams
- func NewGetAdditionalInputsParamsWithContext(ctx context.Context) *GetAdditionalInputsParams
- func NewGetAdditionalInputsParamsWithHTTPClient(client *http.Client) *GetAdditionalInputsParams
- func NewGetAdditionalInputsParamsWithTimeout(timeout time.Duration) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) SetContext(ctx context.Context)
- func (o *GetAdditionalInputsParams) SetDefaults()
- func (o *GetAdditionalInputsParams) SetHTTPClient(client *http.Client)
- func (o *GetAdditionalInputsParams) SetRateID(rateID string)
- func (o *GetAdditionalInputsParams) SetRequestToken(requestToken string)
- func (o *GetAdditionalInputsParams) SetTimeout(timeout time.Duration)
- func (o *GetAdditionalInputsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetAdditionalInputsParams) WithContext(ctx context.Context) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WithDefaults() *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WithHTTPClient(client *http.Client) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WithRateID(rateID string) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WithRequestToken(requestToken string) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WithTimeout(timeout time.Duration) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetAdditionalInputsParams
- func (o *GetAdditionalInputsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAdditionalInputsReader
- type GetAdditionalInputsRequestEntityTooLarge
- func (o *GetAdditionalInputsRequestEntityTooLarge) Error() string
- func (o *GetAdditionalInputsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsRequestEntityTooLarge) IsClientError() bool
- func (o *GetAdditionalInputsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetAdditionalInputsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetAdditionalInputsRequestEntityTooLarge) IsServerError() bool
- func (o *GetAdditionalInputsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetAdditionalInputsRequestEntityTooLarge) String() string
- type GetAdditionalInputsServiceUnavailable
- func (o *GetAdditionalInputsServiceUnavailable) Error() string
- func (o *GetAdditionalInputsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsServiceUnavailable) IsClientError() bool
- func (o *GetAdditionalInputsServiceUnavailable) IsCode(code int) bool
- func (o *GetAdditionalInputsServiceUnavailable) IsRedirect() bool
- func (o *GetAdditionalInputsServiceUnavailable) IsServerError() bool
- func (o *GetAdditionalInputsServiceUnavailable) IsSuccess() bool
- func (o *GetAdditionalInputsServiceUnavailable) String() string
- type GetAdditionalInputsTooManyRequests
- func (o *GetAdditionalInputsTooManyRequests) Error() string
- func (o *GetAdditionalInputsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsTooManyRequests) IsClientError() bool
- func (o *GetAdditionalInputsTooManyRequests) IsCode(code int) bool
- func (o *GetAdditionalInputsTooManyRequests) IsRedirect() bool
- func (o *GetAdditionalInputsTooManyRequests) IsServerError() bool
- func (o *GetAdditionalInputsTooManyRequests) IsSuccess() bool
- func (o *GetAdditionalInputsTooManyRequests) String() string
- type GetAdditionalInputsUnauthorized
- func (o *GetAdditionalInputsUnauthorized) Error() string
- func (o *GetAdditionalInputsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsUnauthorized) IsClientError() bool
- func (o *GetAdditionalInputsUnauthorized) IsCode(code int) bool
- func (o *GetAdditionalInputsUnauthorized) IsRedirect() bool
- func (o *GetAdditionalInputsUnauthorized) IsServerError() bool
- func (o *GetAdditionalInputsUnauthorized) IsSuccess() bool
- func (o *GetAdditionalInputsUnauthorized) String() string
- type GetAdditionalInputsUnsupportedMediaType
- func (o *GetAdditionalInputsUnsupportedMediaType) Error() string
- func (o *GetAdditionalInputsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetAdditionalInputsUnsupportedMediaType) IsClientError() bool
- func (o *GetAdditionalInputsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetAdditionalInputsUnsupportedMediaType) IsRedirect() bool
- func (o *GetAdditionalInputsUnsupportedMediaType) IsServerError() bool
- func (o *GetAdditionalInputsUnsupportedMediaType) IsSuccess() bool
- func (o *GetAdditionalInputsUnsupportedMediaType) String() string
- type GetCarrierAccountFormInputsBadRequest
- func (o *GetCarrierAccountFormInputsBadRequest) Error() string
- func (o *GetCarrierAccountFormInputsBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsBadRequest) IsClientError() bool
- func (o *GetCarrierAccountFormInputsBadRequest) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsBadRequest) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsBadRequest) IsServerError() bool
- func (o *GetCarrierAccountFormInputsBadRequest) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsBadRequest) String() string
- type GetCarrierAccountFormInputsForbidden
- func (o *GetCarrierAccountFormInputsForbidden) Error() string
- func (o *GetCarrierAccountFormInputsForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsForbidden) IsClientError() bool
- func (o *GetCarrierAccountFormInputsForbidden) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsForbidden) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsForbidden) IsServerError() bool
- func (o *GetCarrierAccountFormInputsForbidden) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsForbidden) String() string
- type GetCarrierAccountFormInputsInternalServerError
- func (o *GetCarrierAccountFormInputsInternalServerError) Error() string
- func (o *GetCarrierAccountFormInputsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsInternalServerError) IsClientError() bool
- func (o *GetCarrierAccountFormInputsInternalServerError) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsInternalServerError) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsInternalServerError) IsServerError() bool
- func (o *GetCarrierAccountFormInputsInternalServerError) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsInternalServerError) String() string
- type GetCarrierAccountFormInputsNotFound
- func (o *GetCarrierAccountFormInputsNotFound) Error() string
- func (o *GetCarrierAccountFormInputsNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsNotFound) IsClientError() bool
- func (o *GetCarrierAccountFormInputsNotFound) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsNotFound) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsNotFound) IsServerError() bool
- func (o *GetCarrierAccountFormInputsNotFound) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsNotFound) String() string
- type GetCarrierAccountFormInputsOK
- func (o *GetCarrierAccountFormInputsOK) Error() string
- func (o *GetCarrierAccountFormInputsOK) GetPayload() *shipping_v2_models.GetCarrierAccountFormInputsResponse
- func (o *GetCarrierAccountFormInputsOK) IsClientError() bool
- func (o *GetCarrierAccountFormInputsOK) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsOK) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsOK) IsServerError() bool
- func (o *GetCarrierAccountFormInputsOK) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsOK) String() string
- type GetCarrierAccountFormInputsParams
- func NewGetCarrierAccountFormInputsParams() *GetCarrierAccountFormInputsParams
- func NewGetCarrierAccountFormInputsParamsWithContext(ctx context.Context) *GetCarrierAccountFormInputsParams
- func NewGetCarrierAccountFormInputsParamsWithHTTPClient(client *http.Client) *GetCarrierAccountFormInputsParams
- func NewGetCarrierAccountFormInputsParamsWithTimeout(timeout time.Duration) *GetCarrierAccountFormInputsParams
- func (o *GetCarrierAccountFormInputsParams) SetContext(ctx context.Context)
- func (o *GetCarrierAccountFormInputsParams) SetDefaults()
- func (o *GetCarrierAccountFormInputsParams) SetHTTPClient(client *http.Client)
- func (o *GetCarrierAccountFormInputsParams) SetTimeout(timeout time.Duration)
- func (o *GetCarrierAccountFormInputsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetCarrierAccountFormInputsParams) WithContext(ctx context.Context) *GetCarrierAccountFormInputsParams
- func (o *GetCarrierAccountFormInputsParams) WithDefaults() *GetCarrierAccountFormInputsParams
- func (o *GetCarrierAccountFormInputsParams) WithHTTPClient(client *http.Client) *GetCarrierAccountFormInputsParams
- func (o *GetCarrierAccountFormInputsParams) WithTimeout(timeout time.Duration) *GetCarrierAccountFormInputsParams
- func (o *GetCarrierAccountFormInputsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCarrierAccountFormInputsParams
- func (o *GetCarrierAccountFormInputsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCarrierAccountFormInputsReader
- type GetCarrierAccountFormInputsRequestEntityTooLarge
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) Error() string
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsClientError() bool
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsServerError() bool
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) String() string
- type GetCarrierAccountFormInputsServiceUnavailable
- func (o *GetCarrierAccountFormInputsServiceUnavailable) Error() string
- func (o *GetCarrierAccountFormInputsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsServiceUnavailable) IsClientError() bool
- func (o *GetCarrierAccountFormInputsServiceUnavailable) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsServiceUnavailable) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsServiceUnavailable) IsServerError() bool
- func (o *GetCarrierAccountFormInputsServiceUnavailable) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsServiceUnavailable) String() string
- type GetCarrierAccountFormInputsTooManyRequests
- func (o *GetCarrierAccountFormInputsTooManyRequests) Error() string
- func (o *GetCarrierAccountFormInputsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsTooManyRequests) IsClientError() bool
- func (o *GetCarrierAccountFormInputsTooManyRequests) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsTooManyRequests) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsTooManyRequests) IsServerError() bool
- func (o *GetCarrierAccountFormInputsTooManyRequests) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsTooManyRequests) String() string
- type GetCarrierAccountFormInputsUnauthorized
- func (o *GetCarrierAccountFormInputsUnauthorized) Error() string
- func (o *GetCarrierAccountFormInputsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsUnauthorized) IsClientError() bool
- func (o *GetCarrierAccountFormInputsUnauthorized) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsUnauthorized) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsUnauthorized) IsServerError() bool
- func (o *GetCarrierAccountFormInputsUnauthorized) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsUnauthorized) String() string
- type GetCarrierAccountFormInputsUnsupportedMediaType
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) Error() string
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsClientError() bool
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsRedirect() bool
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsServerError() bool
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsSuccess() bool
- func (o *GetCarrierAccountFormInputsUnsupportedMediaType) String() string
- type GetCarrierAccountsBadRequest
- func (o *GetCarrierAccountsBadRequest) Error() string
- func (o *GetCarrierAccountsBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsBadRequest) IsClientError() bool
- func (o *GetCarrierAccountsBadRequest) IsCode(code int) bool
- func (o *GetCarrierAccountsBadRequest) IsRedirect() bool
- func (o *GetCarrierAccountsBadRequest) IsServerError() bool
- func (o *GetCarrierAccountsBadRequest) IsSuccess() bool
- func (o *GetCarrierAccountsBadRequest) String() string
- type GetCarrierAccountsForbidden
- func (o *GetCarrierAccountsForbidden) Error() string
- func (o *GetCarrierAccountsForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsForbidden) IsClientError() bool
- func (o *GetCarrierAccountsForbidden) IsCode(code int) bool
- func (o *GetCarrierAccountsForbidden) IsRedirect() bool
- func (o *GetCarrierAccountsForbidden) IsServerError() bool
- func (o *GetCarrierAccountsForbidden) IsSuccess() bool
- func (o *GetCarrierAccountsForbidden) String() string
- type GetCarrierAccountsInternalServerError
- func (o *GetCarrierAccountsInternalServerError) Error() string
- func (o *GetCarrierAccountsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsInternalServerError) IsClientError() bool
- func (o *GetCarrierAccountsInternalServerError) IsCode(code int) bool
- func (o *GetCarrierAccountsInternalServerError) IsRedirect() bool
- func (o *GetCarrierAccountsInternalServerError) IsServerError() bool
- func (o *GetCarrierAccountsInternalServerError) IsSuccess() bool
- func (o *GetCarrierAccountsInternalServerError) String() string
- type GetCarrierAccountsNotFound
- func (o *GetCarrierAccountsNotFound) Error() string
- func (o *GetCarrierAccountsNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsNotFound) IsClientError() bool
- func (o *GetCarrierAccountsNotFound) IsCode(code int) bool
- func (o *GetCarrierAccountsNotFound) IsRedirect() bool
- func (o *GetCarrierAccountsNotFound) IsServerError() bool
- func (o *GetCarrierAccountsNotFound) IsSuccess() bool
- func (o *GetCarrierAccountsNotFound) String() string
- type GetCarrierAccountsOK
- func (o *GetCarrierAccountsOK) Error() string
- func (o *GetCarrierAccountsOK) GetPayload() *shipping_v2_models.GetCarrierAccountsResponse
- func (o *GetCarrierAccountsOK) IsClientError() bool
- func (o *GetCarrierAccountsOK) IsCode(code int) bool
- func (o *GetCarrierAccountsOK) IsRedirect() bool
- func (o *GetCarrierAccountsOK) IsServerError() bool
- func (o *GetCarrierAccountsOK) IsSuccess() bool
- func (o *GetCarrierAccountsOK) String() string
- type GetCarrierAccountsParams
- func NewGetCarrierAccountsParams() *GetCarrierAccountsParams
- func NewGetCarrierAccountsParamsWithContext(ctx context.Context) *GetCarrierAccountsParams
- func NewGetCarrierAccountsParamsWithHTTPClient(client *http.Client) *GetCarrierAccountsParams
- func NewGetCarrierAccountsParamsWithTimeout(timeout time.Duration) *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) SetBody(body *shipping_v2_models.GetCarrierAccountsRequest)
- func (o *GetCarrierAccountsParams) SetContext(ctx context.Context)
- func (o *GetCarrierAccountsParams) SetDefaults()
- func (o *GetCarrierAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetCarrierAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetCarrierAccountsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetCarrierAccountsParams) WithBody(body *shipping_v2_models.GetCarrierAccountsRequest) *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) WithContext(ctx context.Context) *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) WithDefaults() *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) WithHTTPClient(client *http.Client) *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) WithTimeout(timeout time.Duration) *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCarrierAccountsParams
- func (o *GetCarrierAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCarrierAccountsReader
- type GetCarrierAccountsRequestEntityTooLarge
- func (o *GetCarrierAccountsRequestEntityTooLarge) Error() string
- func (o *GetCarrierAccountsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsRequestEntityTooLarge) IsClientError() bool
- func (o *GetCarrierAccountsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetCarrierAccountsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetCarrierAccountsRequestEntityTooLarge) IsServerError() bool
- func (o *GetCarrierAccountsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetCarrierAccountsRequestEntityTooLarge) String() string
- type GetCarrierAccountsServiceUnavailable
- func (o *GetCarrierAccountsServiceUnavailable) Error() string
- func (o *GetCarrierAccountsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsServiceUnavailable) IsClientError() bool
- func (o *GetCarrierAccountsServiceUnavailable) IsCode(code int) bool
- func (o *GetCarrierAccountsServiceUnavailable) IsRedirect() bool
- func (o *GetCarrierAccountsServiceUnavailable) IsServerError() bool
- func (o *GetCarrierAccountsServiceUnavailable) IsSuccess() bool
- func (o *GetCarrierAccountsServiceUnavailable) String() string
- type GetCarrierAccountsTooManyRequests
- func (o *GetCarrierAccountsTooManyRequests) Error() string
- func (o *GetCarrierAccountsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsTooManyRequests) IsClientError() bool
- func (o *GetCarrierAccountsTooManyRequests) IsCode(code int) bool
- func (o *GetCarrierAccountsTooManyRequests) IsRedirect() bool
- func (o *GetCarrierAccountsTooManyRequests) IsServerError() bool
- func (o *GetCarrierAccountsTooManyRequests) IsSuccess() bool
- func (o *GetCarrierAccountsTooManyRequests) String() string
- type GetCarrierAccountsUnauthorized
- func (o *GetCarrierAccountsUnauthorized) Error() string
- func (o *GetCarrierAccountsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsUnauthorized) IsClientError() bool
- func (o *GetCarrierAccountsUnauthorized) IsCode(code int) bool
- func (o *GetCarrierAccountsUnauthorized) IsRedirect() bool
- func (o *GetCarrierAccountsUnauthorized) IsServerError() bool
- func (o *GetCarrierAccountsUnauthorized) IsSuccess() bool
- func (o *GetCarrierAccountsUnauthorized) String() string
- type GetCarrierAccountsUnsupportedMediaType
- func (o *GetCarrierAccountsUnsupportedMediaType) Error() string
- func (o *GetCarrierAccountsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCarrierAccountsUnsupportedMediaType) IsClientError() bool
- func (o *GetCarrierAccountsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCarrierAccountsUnsupportedMediaType) IsRedirect() bool
- func (o *GetCarrierAccountsUnsupportedMediaType) IsServerError() bool
- func (o *GetCarrierAccountsUnsupportedMediaType) IsSuccess() bool
- func (o *GetCarrierAccountsUnsupportedMediaType) String() string
- type GetCollectionFormBadRequest
- func (o *GetCollectionFormBadRequest) Error() string
- func (o *GetCollectionFormBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormBadRequest) IsClientError() bool
- func (o *GetCollectionFormBadRequest) IsCode(code int) bool
- func (o *GetCollectionFormBadRequest) IsRedirect() bool
- func (o *GetCollectionFormBadRequest) IsServerError() bool
- func (o *GetCollectionFormBadRequest) IsSuccess() bool
- func (o *GetCollectionFormBadRequest) String() string
- type GetCollectionFormForbidden
- func (o *GetCollectionFormForbidden) Error() string
- func (o *GetCollectionFormForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormForbidden) IsClientError() bool
- func (o *GetCollectionFormForbidden) IsCode(code int) bool
- func (o *GetCollectionFormForbidden) IsRedirect() bool
- func (o *GetCollectionFormForbidden) IsServerError() bool
- func (o *GetCollectionFormForbidden) IsSuccess() bool
- func (o *GetCollectionFormForbidden) String() string
- type GetCollectionFormHistoryBadRequest
- func (o *GetCollectionFormHistoryBadRequest) Error() string
- func (o *GetCollectionFormHistoryBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryBadRequest) IsClientError() bool
- func (o *GetCollectionFormHistoryBadRequest) IsCode(code int) bool
- func (o *GetCollectionFormHistoryBadRequest) IsRedirect() bool
- func (o *GetCollectionFormHistoryBadRequest) IsServerError() bool
- func (o *GetCollectionFormHistoryBadRequest) IsSuccess() bool
- func (o *GetCollectionFormHistoryBadRequest) String() string
- type GetCollectionFormHistoryForbidden
- func (o *GetCollectionFormHistoryForbidden) Error() string
- func (o *GetCollectionFormHistoryForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryForbidden) IsClientError() bool
- func (o *GetCollectionFormHistoryForbidden) IsCode(code int) bool
- func (o *GetCollectionFormHistoryForbidden) IsRedirect() bool
- func (o *GetCollectionFormHistoryForbidden) IsServerError() bool
- func (o *GetCollectionFormHistoryForbidden) IsSuccess() bool
- func (o *GetCollectionFormHistoryForbidden) String() string
- type GetCollectionFormHistoryInternalServerError
- func (o *GetCollectionFormHistoryInternalServerError) Error() string
- func (o *GetCollectionFormHistoryInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryInternalServerError) IsClientError() bool
- func (o *GetCollectionFormHistoryInternalServerError) IsCode(code int) bool
- func (o *GetCollectionFormHistoryInternalServerError) IsRedirect() bool
- func (o *GetCollectionFormHistoryInternalServerError) IsServerError() bool
- func (o *GetCollectionFormHistoryInternalServerError) IsSuccess() bool
- func (o *GetCollectionFormHistoryInternalServerError) String() string
- type GetCollectionFormHistoryNotFound
- func (o *GetCollectionFormHistoryNotFound) Error() string
- func (o *GetCollectionFormHistoryNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryNotFound) IsClientError() bool
- func (o *GetCollectionFormHistoryNotFound) IsCode(code int) bool
- func (o *GetCollectionFormHistoryNotFound) IsRedirect() bool
- func (o *GetCollectionFormHistoryNotFound) IsServerError() bool
- func (o *GetCollectionFormHistoryNotFound) IsSuccess() bool
- func (o *GetCollectionFormHistoryNotFound) String() string
- type GetCollectionFormHistoryOK
- func (o *GetCollectionFormHistoryOK) Error() string
- func (o *GetCollectionFormHistoryOK) GetPayload() *shipping_v2_models.GetCollectionFormHistoryResponse
- func (o *GetCollectionFormHistoryOK) IsClientError() bool
- func (o *GetCollectionFormHistoryOK) IsCode(code int) bool
- func (o *GetCollectionFormHistoryOK) IsRedirect() bool
- func (o *GetCollectionFormHistoryOK) IsServerError() bool
- func (o *GetCollectionFormHistoryOK) IsSuccess() bool
- func (o *GetCollectionFormHistoryOK) String() string
- type GetCollectionFormHistoryParams
- func NewGetCollectionFormHistoryParams() *GetCollectionFormHistoryParams
- func NewGetCollectionFormHistoryParamsWithContext(ctx context.Context) *GetCollectionFormHistoryParams
- func NewGetCollectionFormHistoryParamsWithHTTPClient(client *http.Client) *GetCollectionFormHistoryParams
- func NewGetCollectionFormHistoryParamsWithTimeout(timeout time.Duration) *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) SetBody(body *shipping_v2_models.GetCollectionFormHistoryRequest)
- func (o *GetCollectionFormHistoryParams) SetContext(ctx context.Context)
- func (o *GetCollectionFormHistoryParams) SetDefaults()
- func (o *GetCollectionFormHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetCollectionFormHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetCollectionFormHistoryParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetCollectionFormHistoryParams) WithBody(body *shipping_v2_models.GetCollectionFormHistoryRequest) *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) WithContext(ctx context.Context) *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) WithDefaults() *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) WithHTTPClient(client *http.Client) *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) WithTimeout(timeout time.Duration) *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCollectionFormHistoryParams
- func (o *GetCollectionFormHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollectionFormHistoryReader
- type GetCollectionFormHistoryRequestEntityTooLarge
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) Error() string
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsClientError() bool
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsRedirect() bool
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsServerError() bool
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsSuccess() bool
- func (o *GetCollectionFormHistoryRequestEntityTooLarge) String() string
- type GetCollectionFormHistoryServiceUnavailable
- func (o *GetCollectionFormHistoryServiceUnavailable) Error() string
- func (o *GetCollectionFormHistoryServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryServiceUnavailable) IsClientError() bool
- func (o *GetCollectionFormHistoryServiceUnavailable) IsCode(code int) bool
- func (o *GetCollectionFormHistoryServiceUnavailable) IsRedirect() bool
- func (o *GetCollectionFormHistoryServiceUnavailable) IsServerError() bool
- func (o *GetCollectionFormHistoryServiceUnavailable) IsSuccess() bool
- func (o *GetCollectionFormHistoryServiceUnavailable) String() string
- type GetCollectionFormHistoryTooManyRequests
- func (o *GetCollectionFormHistoryTooManyRequests) Error() string
- func (o *GetCollectionFormHistoryTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryTooManyRequests) IsClientError() bool
- func (o *GetCollectionFormHistoryTooManyRequests) IsCode(code int) bool
- func (o *GetCollectionFormHistoryTooManyRequests) IsRedirect() bool
- func (o *GetCollectionFormHistoryTooManyRequests) IsServerError() bool
- func (o *GetCollectionFormHistoryTooManyRequests) IsSuccess() bool
- func (o *GetCollectionFormHistoryTooManyRequests) String() string
- type GetCollectionFormHistoryUnauthorized
- func (o *GetCollectionFormHistoryUnauthorized) Error() string
- func (o *GetCollectionFormHistoryUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryUnauthorized) IsClientError() bool
- func (o *GetCollectionFormHistoryUnauthorized) IsCode(code int) bool
- func (o *GetCollectionFormHistoryUnauthorized) IsRedirect() bool
- func (o *GetCollectionFormHistoryUnauthorized) IsServerError() bool
- func (o *GetCollectionFormHistoryUnauthorized) IsSuccess() bool
- func (o *GetCollectionFormHistoryUnauthorized) String() string
- type GetCollectionFormHistoryUnsupportedMediaType
- func (o *GetCollectionFormHistoryUnsupportedMediaType) Error() string
- func (o *GetCollectionFormHistoryUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormHistoryUnsupportedMediaType) IsClientError() bool
- func (o *GetCollectionFormHistoryUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCollectionFormHistoryUnsupportedMediaType) IsRedirect() bool
- func (o *GetCollectionFormHistoryUnsupportedMediaType) IsServerError() bool
- func (o *GetCollectionFormHistoryUnsupportedMediaType) IsSuccess() bool
- func (o *GetCollectionFormHistoryUnsupportedMediaType) String() string
- type GetCollectionFormInternalServerError
- func (o *GetCollectionFormInternalServerError) Error() string
- func (o *GetCollectionFormInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormInternalServerError) IsClientError() bool
- func (o *GetCollectionFormInternalServerError) IsCode(code int) bool
- func (o *GetCollectionFormInternalServerError) IsRedirect() bool
- func (o *GetCollectionFormInternalServerError) IsServerError() bool
- func (o *GetCollectionFormInternalServerError) IsSuccess() bool
- func (o *GetCollectionFormInternalServerError) String() string
- type GetCollectionFormNotFound
- func (o *GetCollectionFormNotFound) Error() string
- func (o *GetCollectionFormNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormNotFound) IsClientError() bool
- func (o *GetCollectionFormNotFound) IsCode(code int) bool
- func (o *GetCollectionFormNotFound) IsRedirect() bool
- func (o *GetCollectionFormNotFound) IsServerError() bool
- func (o *GetCollectionFormNotFound) IsSuccess() bool
- func (o *GetCollectionFormNotFound) String() string
- type GetCollectionFormOK
- func (o *GetCollectionFormOK) Error() string
- func (o *GetCollectionFormOK) GetPayload() *shipping_v2_models.GetCollectionFormResponse
- func (o *GetCollectionFormOK) IsClientError() bool
- func (o *GetCollectionFormOK) IsCode(code int) bool
- func (o *GetCollectionFormOK) IsRedirect() bool
- func (o *GetCollectionFormOK) IsServerError() bool
- func (o *GetCollectionFormOK) IsSuccess() bool
- func (o *GetCollectionFormOK) String() string
- type GetCollectionFormParams
- func NewGetCollectionFormParams() *GetCollectionFormParams
- func NewGetCollectionFormParamsWithContext(ctx context.Context) *GetCollectionFormParams
- func NewGetCollectionFormParamsWithHTTPClient(client *http.Client) *GetCollectionFormParams
- func NewGetCollectionFormParamsWithTimeout(timeout time.Duration) *GetCollectionFormParams
- func (o *GetCollectionFormParams) SetCollectionFormID(collectionFormID string)
- func (o *GetCollectionFormParams) SetContext(ctx context.Context)
- func (o *GetCollectionFormParams) SetDefaults()
- func (o *GetCollectionFormParams) SetHTTPClient(client *http.Client)
- func (o *GetCollectionFormParams) SetTimeout(timeout time.Duration)
- func (o *GetCollectionFormParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetCollectionFormParams) WithCollectionFormID(collectionFormID string) *GetCollectionFormParams
- func (o *GetCollectionFormParams) WithContext(ctx context.Context) *GetCollectionFormParams
- func (o *GetCollectionFormParams) WithDefaults() *GetCollectionFormParams
- func (o *GetCollectionFormParams) WithHTTPClient(client *http.Client) *GetCollectionFormParams
- func (o *GetCollectionFormParams) WithTimeout(timeout time.Duration) *GetCollectionFormParams
- func (o *GetCollectionFormParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCollectionFormParams
- func (o *GetCollectionFormParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCollectionFormReader
- type GetCollectionFormRequestEntityTooLarge
- func (o *GetCollectionFormRequestEntityTooLarge) Error() string
- func (o *GetCollectionFormRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormRequestEntityTooLarge) IsClientError() bool
- func (o *GetCollectionFormRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetCollectionFormRequestEntityTooLarge) IsRedirect() bool
- func (o *GetCollectionFormRequestEntityTooLarge) IsServerError() bool
- func (o *GetCollectionFormRequestEntityTooLarge) IsSuccess() bool
- func (o *GetCollectionFormRequestEntityTooLarge) String() string
- type GetCollectionFormServiceUnavailable
- func (o *GetCollectionFormServiceUnavailable) Error() string
- func (o *GetCollectionFormServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormServiceUnavailable) IsClientError() bool
- func (o *GetCollectionFormServiceUnavailable) IsCode(code int) bool
- func (o *GetCollectionFormServiceUnavailable) IsRedirect() bool
- func (o *GetCollectionFormServiceUnavailable) IsServerError() bool
- func (o *GetCollectionFormServiceUnavailable) IsSuccess() bool
- func (o *GetCollectionFormServiceUnavailable) String() string
- type GetCollectionFormTooManyRequests
- func (o *GetCollectionFormTooManyRequests) Error() string
- func (o *GetCollectionFormTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormTooManyRequests) IsClientError() bool
- func (o *GetCollectionFormTooManyRequests) IsCode(code int) bool
- func (o *GetCollectionFormTooManyRequests) IsRedirect() bool
- func (o *GetCollectionFormTooManyRequests) IsServerError() bool
- func (o *GetCollectionFormTooManyRequests) IsSuccess() bool
- func (o *GetCollectionFormTooManyRequests) String() string
- type GetCollectionFormUnauthorized
- func (o *GetCollectionFormUnauthorized) Error() string
- func (o *GetCollectionFormUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormUnauthorized) IsClientError() bool
- func (o *GetCollectionFormUnauthorized) IsCode(code int) bool
- func (o *GetCollectionFormUnauthorized) IsRedirect() bool
- func (o *GetCollectionFormUnauthorized) IsServerError() bool
- func (o *GetCollectionFormUnauthorized) IsSuccess() bool
- func (o *GetCollectionFormUnauthorized) String() string
- type GetCollectionFormUnsupportedMediaType
- func (o *GetCollectionFormUnsupportedMediaType) Error() string
- func (o *GetCollectionFormUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetCollectionFormUnsupportedMediaType) IsClientError() bool
- func (o *GetCollectionFormUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCollectionFormUnsupportedMediaType) IsRedirect() bool
- func (o *GetCollectionFormUnsupportedMediaType) IsServerError() bool
- func (o *GetCollectionFormUnsupportedMediaType) IsSuccess() bool
- func (o *GetCollectionFormUnsupportedMediaType) String() string
- type GetRatesBadRequest
- func (o *GetRatesBadRequest) Error() string
- func (o *GetRatesBadRequest) GetPayload() *shipping_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_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_v2_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) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetRatesParams) WithBody(body *shipping_v2_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) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetRatesParams
- func (o *GetRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRatesReader
- type GetRatesRequestEntityTooLarge
- func (o *GetRatesRequestEntityTooLarge) Error() string
- func (o *GetRatesRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetRatesRequestEntityTooLarge) IsClientError() bool
- func (o *GetRatesRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetRatesRequestEntityTooLarge) IsRedirect() bool
- func (o *GetRatesRequestEntityTooLarge) IsServerError() bool
- func (o *GetRatesRequestEntityTooLarge) IsSuccess() bool
- func (o *GetRatesRequestEntityTooLarge) String() string
- type GetRatesServiceUnavailable
- func (o *GetRatesServiceUnavailable) Error() string
- func (o *GetRatesServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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 GetRatesUnsupportedMediaType
- func (o *GetRatesUnsupportedMediaType) Error() string
- func (o *GetRatesUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetRatesUnsupportedMediaType) IsClientError() bool
- func (o *GetRatesUnsupportedMediaType) IsCode(code int) bool
- func (o *GetRatesUnsupportedMediaType) IsRedirect() bool
- func (o *GetRatesUnsupportedMediaType) IsServerError() bool
- func (o *GetRatesUnsupportedMediaType) IsSuccess() bool
- func (o *GetRatesUnsupportedMediaType) String() string
- type GetShipmentDocumentsBadRequest
- func (o *GetShipmentDocumentsBadRequest) Error() string
- func (o *GetShipmentDocumentsBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsBadRequest) IsClientError() bool
- func (o *GetShipmentDocumentsBadRequest) IsCode(code int) bool
- func (o *GetShipmentDocumentsBadRequest) IsRedirect() bool
- func (o *GetShipmentDocumentsBadRequest) IsServerError() bool
- func (o *GetShipmentDocumentsBadRequest) IsSuccess() bool
- func (o *GetShipmentDocumentsBadRequest) String() string
- type GetShipmentDocumentsForbidden
- func (o *GetShipmentDocumentsForbidden) Error() string
- func (o *GetShipmentDocumentsForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsForbidden) IsClientError() bool
- func (o *GetShipmentDocumentsForbidden) IsCode(code int) bool
- func (o *GetShipmentDocumentsForbidden) IsRedirect() bool
- func (o *GetShipmentDocumentsForbidden) IsServerError() bool
- func (o *GetShipmentDocumentsForbidden) IsSuccess() bool
- func (o *GetShipmentDocumentsForbidden) String() string
- type GetShipmentDocumentsInternalServerError
- func (o *GetShipmentDocumentsInternalServerError) Error() string
- func (o *GetShipmentDocumentsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsInternalServerError) IsClientError() bool
- func (o *GetShipmentDocumentsInternalServerError) IsCode(code int) bool
- func (o *GetShipmentDocumentsInternalServerError) IsRedirect() bool
- func (o *GetShipmentDocumentsInternalServerError) IsServerError() bool
- func (o *GetShipmentDocumentsInternalServerError) IsSuccess() bool
- func (o *GetShipmentDocumentsInternalServerError) String() string
- type GetShipmentDocumentsNotFound
- func (o *GetShipmentDocumentsNotFound) Error() string
- func (o *GetShipmentDocumentsNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsNotFound) IsClientError() bool
- func (o *GetShipmentDocumentsNotFound) IsCode(code int) bool
- func (o *GetShipmentDocumentsNotFound) IsRedirect() bool
- func (o *GetShipmentDocumentsNotFound) IsServerError() bool
- func (o *GetShipmentDocumentsNotFound) IsSuccess() bool
- func (o *GetShipmentDocumentsNotFound) String() string
- type GetShipmentDocumentsOK
- func (o *GetShipmentDocumentsOK) Error() string
- func (o *GetShipmentDocumentsOK) GetPayload() *shipping_v2_models.GetShipmentDocumentsResponse
- func (o *GetShipmentDocumentsOK) IsClientError() bool
- func (o *GetShipmentDocumentsOK) IsCode(code int) bool
- func (o *GetShipmentDocumentsOK) IsRedirect() bool
- func (o *GetShipmentDocumentsOK) IsServerError() bool
- func (o *GetShipmentDocumentsOK) IsSuccess() bool
- func (o *GetShipmentDocumentsOK) String() string
- type GetShipmentDocumentsParams
- func NewGetShipmentDocumentsParams() *GetShipmentDocumentsParams
- func NewGetShipmentDocumentsParamsWithContext(ctx context.Context) *GetShipmentDocumentsParams
- func NewGetShipmentDocumentsParamsWithHTTPClient(client *http.Client) *GetShipmentDocumentsParams
- func NewGetShipmentDocumentsParamsWithTimeout(timeout time.Duration) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) SetContext(ctx context.Context)
- func (o *GetShipmentDocumentsParams) SetDefaults()
- func (o *GetShipmentDocumentsParams) SetDpi(dpi *float64)
- func (o *GetShipmentDocumentsParams) SetFormat(format *string)
- func (o *GetShipmentDocumentsParams) SetHTTPClient(client *http.Client)
- func (o *GetShipmentDocumentsParams) SetPackageClientReferenceID(packageClientReferenceID string)
- func (o *GetShipmentDocumentsParams) SetShipmentID(shipmentID string)
- func (o *GetShipmentDocumentsParams) SetTimeout(timeout time.Duration)
- func (o *GetShipmentDocumentsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetShipmentDocumentsParams) WithContext(ctx context.Context) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithDefaults() *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithDpi(dpi *float64) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithFormat(format *string) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithHTTPClient(client *http.Client) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithPackageClientReferenceID(packageClientReferenceID string) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithShipmentID(shipmentID string) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithTimeout(timeout time.Duration) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetShipmentDocumentsParams
- func (o *GetShipmentDocumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShipmentDocumentsReader
- type GetShipmentDocumentsRequestEntityTooLarge
- func (o *GetShipmentDocumentsRequestEntityTooLarge) Error() string
- func (o *GetShipmentDocumentsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsRequestEntityTooLarge) IsClientError() bool
- func (o *GetShipmentDocumentsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetShipmentDocumentsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetShipmentDocumentsRequestEntityTooLarge) IsServerError() bool
- func (o *GetShipmentDocumentsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetShipmentDocumentsRequestEntityTooLarge) String() string
- type GetShipmentDocumentsServiceUnavailable
- func (o *GetShipmentDocumentsServiceUnavailable) Error() string
- func (o *GetShipmentDocumentsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsServiceUnavailable) IsClientError() bool
- func (o *GetShipmentDocumentsServiceUnavailable) IsCode(code int) bool
- func (o *GetShipmentDocumentsServiceUnavailable) IsRedirect() bool
- func (o *GetShipmentDocumentsServiceUnavailable) IsServerError() bool
- func (o *GetShipmentDocumentsServiceUnavailable) IsSuccess() bool
- func (o *GetShipmentDocumentsServiceUnavailable) String() string
- type GetShipmentDocumentsTooManyRequests
- func (o *GetShipmentDocumentsTooManyRequests) Error() string
- func (o *GetShipmentDocumentsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsTooManyRequests) IsClientError() bool
- func (o *GetShipmentDocumentsTooManyRequests) IsCode(code int) bool
- func (o *GetShipmentDocumentsTooManyRequests) IsRedirect() bool
- func (o *GetShipmentDocumentsTooManyRequests) IsServerError() bool
- func (o *GetShipmentDocumentsTooManyRequests) IsSuccess() bool
- func (o *GetShipmentDocumentsTooManyRequests) String() string
- type GetShipmentDocumentsUnauthorized
- func (o *GetShipmentDocumentsUnauthorized) Error() string
- func (o *GetShipmentDocumentsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsUnauthorized) IsClientError() bool
- func (o *GetShipmentDocumentsUnauthorized) IsCode(code int) bool
- func (o *GetShipmentDocumentsUnauthorized) IsRedirect() bool
- func (o *GetShipmentDocumentsUnauthorized) IsServerError() bool
- func (o *GetShipmentDocumentsUnauthorized) IsSuccess() bool
- func (o *GetShipmentDocumentsUnauthorized) String() string
- type GetShipmentDocumentsUnsupportedMediaType
- func (o *GetShipmentDocumentsUnsupportedMediaType) Error() string
- func (o *GetShipmentDocumentsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetShipmentDocumentsUnsupportedMediaType) IsClientError() bool
- func (o *GetShipmentDocumentsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetShipmentDocumentsUnsupportedMediaType) IsRedirect() bool
- func (o *GetShipmentDocumentsUnsupportedMediaType) IsServerError() bool
- func (o *GetShipmentDocumentsUnsupportedMediaType) IsSuccess() bool
- func (o *GetShipmentDocumentsUnsupportedMediaType) String() string
- type GetTrackingBadRequest
- func (o *GetTrackingBadRequest) Error() string
- func (o *GetTrackingBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingBadRequest) IsClientError() bool
- func (o *GetTrackingBadRequest) IsCode(code int) bool
- func (o *GetTrackingBadRequest) IsRedirect() bool
- func (o *GetTrackingBadRequest) IsServerError() bool
- func (o *GetTrackingBadRequest) IsSuccess() bool
- func (o *GetTrackingBadRequest) String() string
- type GetTrackingForbidden
- func (o *GetTrackingForbidden) Error() string
- func (o *GetTrackingForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingForbidden) IsClientError() bool
- func (o *GetTrackingForbidden) IsCode(code int) bool
- func (o *GetTrackingForbidden) IsRedirect() bool
- func (o *GetTrackingForbidden) IsServerError() bool
- func (o *GetTrackingForbidden) IsSuccess() bool
- func (o *GetTrackingForbidden) String() string
- type GetTrackingInternalServerError
- func (o *GetTrackingInternalServerError) Error() string
- func (o *GetTrackingInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingInternalServerError) IsClientError() bool
- func (o *GetTrackingInternalServerError) IsCode(code int) bool
- func (o *GetTrackingInternalServerError) IsRedirect() bool
- func (o *GetTrackingInternalServerError) IsServerError() bool
- func (o *GetTrackingInternalServerError) IsSuccess() bool
- func (o *GetTrackingInternalServerError) String() string
- type GetTrackingNotFound
- func (o *GetTrackingNotFound) Error() string
- func (o *GetTrackingNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingNotFound) IsClientError() bool
- func (o *GetTrackingNotFound) IsCode(code int) bool
- func (o *GetTrackingNotFound) IsRedirect() bool
- func (o *GetTrackingNotFound) IsServerError() bool
- func (o *GetTrackingNotFound) IsSuccess() bool
- func (o *GetTrackingNotFound) String() string
- type GetTrackingOK
- func (o *GetTrackingOK) Error() string
- func (o *GetTrackingOK) GetPayload() *shipping_v2_models.GetTrackingResponse
- func (o *GetTrackingOK) IsClientError() bool
- func (o *GetTrackingOK) IsCode(code int) bool
- func (o *GetTrackingOK) IsRedirect() bool
- func (o *GetTrackingOK) IsServerError() bool
- func (o *GetTrackingOK) IsSuccess() bool
- func (o *GetTrackingOK) String() string
- type GetTrackingParams
- func (o *GetTrackingParams) SetCarrierID(carrierID string)
- func (o *GetTrackingParams) SetContext(ctx context.Context)
- func (o *GetTrackingParams) SetDefaults()
- func (o *GetTrackingParams) SetHTTPClient(client *http.Client)
- func (o *GetTrackingParams) SetTimeout(timeout time.Duration)
- func (o *GetTrackingParams) SetTrackingID(trackingID string)
- func (o *GetTrackingParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetTrackingParams) WithCarrierID(carrierID string) *GetTrackingParams
- func (o *GetTrackingParams) WithContext(ctx context.Context) *GetTrackingParams
- func (o *GetTrackingParams) WithDefaults() *GetTrackingParams
- func (o *GetTrackingParams) WithHTTPClient(client *http.Client) *GetTrackingParams
- func (o *GetTrackingParams) WithTimeout(timeout time.Duration) *GetTrackingParams
- func (o *GetTrackingParams) WithTrackingID(trackingID string) *GetTrackingParams
- func (o *GetTrackingParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetTrackingParams
- func (o *GetTrackingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrackingReader
- type GetTrackingRequestEntityTooLarge
- func (o *GetTrackingRequestEntityTooLarge) Error() string
- func (o *GetTrackingRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingRequestEntityTooLarge) IsClientError() bool
- func (o *GetTrackingRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetTrackingRequestEntityTooLarge) IsRedirect() bool
- func (o *GetTrackingRequestEntityTooLarge) IsServerError() bool
- func (o *GetTrackingRequestEntityTooLarge) IsSuccess() bool
- func (o *GetTrackingRequestEntityTooLarge) String() string
- type GetTrackingServiceUnavailable
- func (o *GetTrackingServiceUnavailable) Error() string
- func (o *GetTrackingServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingServiceUnavailable) IsClientError() bool
- func (o *GetTrackingServiceUnavailable) IsCode(code int) bool
- func (o *GetTrackingServiceUnavailable) IsRedirect() bool
- func (o *GetTrackingServiceUnavailable) IsServerError() bool
- func (o *GetTrackingServiceUnavailable) IsSuccess() bool
- func (o *GetTrackingServiceUnavailable) String() string
- type GetTrackingTooManyRequests
- func (o *GetTrackingTooManyRequests) Error() string
- func (o *GetTrackingTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingTooManyRequests) IsClientError() bool
- func (o *GetTrackingTooManyRequests) IsCode(code int) bool
- func (o *GetTrackingTooManyRequests) IsRedirect() bool
- func (o *GetTrackingTooManyRequests) IsServerError() bool
- func (o *GetTrackingTooManyRequests) IsSuccess() bool
- func (o *GetTrackingTooManyRequests) String() string
- type GetTrackingUnauthorized
- func (o *GetTrackingUnauthorized) Error() string
- func (o *GetTrackingUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingUnauthorized) IsClientError() bool
- func (o *GetTrackingUnauthorized) IsCode(code int) bool
- func (o *GetTrackingUnauthorized) IsRedirect() bool
- func (o *GetTrackingUnauthorized) IsServerError() bool
- func (o *GetTrackingUnauthorized) IsSuccess() bool
- func (o *GetTrackingUnauthorized) String() string
- type GetTrackingUnsupportedMediaType
- func (o *GetTrackingUnsupportedMediaType) Error() string
- func (o *GetTrackingUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetTrackingUnsupportedMediaType) IsClientError() bool
- func (o *GetTrackingUnsupportedMediaType) IsCode(code int) bool
- func (o *GetTrackingUnsupportedMediaType) IsRedirect() bool
- func (o *GetTrackingUnsupportedMediaType) IsServerError() bool
- func (o *GetTrackingUnsupportedMediaType) IsSuccess() bool
- func (o *GetTrackingUnsupportedMediaType) String() string
- type GetUnmanifestedShipmentsBadRequest
- func (o *GetUnmanifestedShipmentsBadRequest) Error() string
- func (o *GetUnmanifestedShipmentsBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsBadRequest) IsClientError() bool
- func (o *GetUnmanifestedShipmentsBadRequest) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsBadRequest) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsBadRequest) IsServerError() bool
- func (o *GetUnmanifestedShipmentsBadRequest) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsBadRequest) String() string
- type GetUnmanifestedShipmentsForbidden
- func (o *GetUnmanifestedShipmentsForbidden) Error() string
- func (o *GetUnmanifestedShipmentsForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsForbidden) IsClientError() bool
- func (o *GetUnmanifestedShipmentsForbidden) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsForbidden) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsForbidden) IsServerError() bool
- func (o *GetUnmanifestedShipmentsForbidden) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsForbidden) String() string
- type GetUnmanifestedShipmentsInternalServerError
- func (o *GetUnmanifestedShipmentsInternalServerError) Error() string
- func (o *GetUnmanifestedShipmentsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsInternalServerError) IsClientError() bool
- func (o *GetUnmanifestedShipmentsInternalServerError) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsInternalServerError) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsInternalServerError) IsServerError() bool
- func (o *GetUnmanifestedShipmentsInternalServerError) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsInternalServerError) String() string
- type GetUnmanifestedShipmentsNotFound
- func (o *GetUnmanifestedShipmentsNotFound) Error() string
- func (o *GetUnmanifestedShipmentsNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsNotFound) IsClientError() bool
- func (o *GetUnmanifestedShipmentsNotFound) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsNotFound) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsNotFound) IsServerError() bool
- func (o *GetUnmanifestedShipmentsNotFound) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsNotFound) String() string
- type GetUnmanifestedShipmentsOK
- func (o *GetUnmanifestedShipmentsOK) Error() string
- func (o *GetUnmanifestedShipmentsOK) GetPayload() *shipping_v2_models.GetUnmanifestedShipmentsResponse
- func (o *GetUnmanifestedShipmentsOK) IsClientError() bool
- func (o *GetUnmanifestedShipmentsOK) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsOK) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsOK) IsServerError() bool
- func (o *GetUnmanifestedShipmentsOK) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsOK) String() string
- type GetUnmanifestedShipmentsParams
- func NewGetUnmanifestedShipmentsParams() *GetUnmanifestedShipmentsParams
- func NewGetUnmanifestedShipmentsParamsWithContext(ctx context.Context) *GetUnmanifestedShipmentsParams
- func NewGetUnmanifestedShipmentsParamsWithHTTPClient(client *http.Client) *GetUnmanifestedShipmentsParams
- func NewGetUnmanifestedShipmentsParamsWithTimeout(timeout time.Duration) *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) SetBody(body *shipping_v2_models.GetUnmanifestedShipmentsRequest)
- func (o *GetUnmanifestedShipmentsParams) SetContext(ctx context.Context)
- func (o *GetUnmanifestedShipmentsParams) SetDefaults()
- func (o *GetUnmanifestedShipmentsParams) SetHTTPClient(client *http.Client)
- func (o *GetUnmanifestedShipmentsParams) SetTimeout(timeout time.Duration)
- func (o *GetUnmanifestedShipmentsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *GetUnmanifestedShipmentsParams) WithBody(body *shipping_v2_models.GetUnmanifestedShipmentsRequest) *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) WithContext(ctx context.Context) *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) WithDefaults() *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) WithHTTPClient(client *http.Client) *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) WithTimeout(timeout time.Duration) *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetUnmanifestedShipmentsParams
- func (o *GetUnmanifestedShipmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUnmanifestedShipmentsReader
- type GetUnmanifestedShipmentsRequestEntityTooLarge
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) Error() string
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsClientError() bool
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsServerError() bool
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) String() string
- type GetUnmanifestedShipmentsServiceUnavailable
- func (o *GetUnmanifestedShipmentsServiceUnavailable) Error() string
- func (o *GetUnmanifestedShipmentsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsServiceUnavailable) IsClientError() bool
- func (o *GetUnmanifestedShipmentsServiceUnavailable) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsServiceUnavailable) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsServiceUnavailable) IsServerError() bool
- func (o *GetUnmanifestedShipmentsServiceUnavailable) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsServiceUnavailable) String() string
- type GetUnmanifestedShipmentsTooManyRequests
- func (o *GetUnmanifestedShipmentsTooManyRequests) Error() string
- func (o *GetUnmanifestedShipmentsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsTooManyRequests) IsClientError() bool
- func (o *GetUnmanifestedShipmentsTooManyRequests) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsTooManyRequests) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsTooManyRequests) IsServerError() bool
- func (o *GetUnmanifestedShipmentsTooManyRequests) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsTooManyRequests) String() string
- type GetUnmanifestedShipmentsUnauthorized
- func (o *GetUnmanifestedShipmentsUnauthorized) Error() string
- func (o *GetUnmanifestedShipmentsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsUnauthorized) IsClientError() bool
- func (o *GetUnmanifestedShipmentsUnauthorized) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsUnauthorized) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsUnauthorized) IsServerError() bool
- func (o *GetUnmanifestedShipmentsUnauthorized) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsUnauthorized) String() string
- type GetUnmanifestedShipmentsUnsupportedMediaType
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) Error() string
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsClientError() bool
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsRedirect() bool
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsServerError() bool
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsSuccess() bool
- func (o *GetUnmanifestedShipmentsUnsupportedMediaType) String() string
- type LinkCarrierAccountBadRequest
- func (o *LinkCarrierAccountBadRequest) Error() string
- func (o *LinkCarrierAccountBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountBadRequest) IsClientError() bool
- func (o *LinkCarrierAccountBadRequest) IsCode(code int) bool
- func (o *LinkCarrierAccountBadRequest) IsRedirect() bool
- func (o *LinkCarrierAccountBadRequest) IsServerError() bool
- func (o *LinkCarrierAccountBadRequest) IsSuccess() bool
- func (o *LinkCarrierAccountBadRequest) String() string
- type LinkCarrierAccountForbidden
- func (o *LinkCarrierAccountForbidden) Error() string
- func (o *LinkCarrierAccountForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountForbidden) IsClientError() bool
- func (o *LinkCarrierAccountForbidden) IsCode(code int) bool
- func (o *LinkCarrierAccountForbidden) IsRedirect() bool
- func (o *LinkCarrierAccountForbidden) IsServerError() bool
- func (o *LinkCarrierAccountForbidden) IsSuccess() bool
- func (o *LinkCarrierAccountForbidden) String() string
- type LinkCarrierAccountInternalServerError
- func (o *LinkCarrierAccountInternalServerError) Error() string
- func (o *LinkCarrierAccountInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountInternalServerError) IsClientError() bool
- func (o *LinkCarrierAccountInternalServerError) IsCode(code int) bool
- func (o *LinkCarrierAccountInternalServerError) IsRedirect() bool
- func (o *LinkCarrierAccountInternalServerError) IsServerError() bool
- func (o *LinkCarrierAccountInternalServerError) IsSuccess() bool
- func (o *LinkCarrierAccountInternalServerError) String() string
- type LinkCarrierAccountNotFound
- func (o *LinkCarrierAccountNotFound) Error() string
- func (o *LinkCarrierAccountNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountNotFound) IsClientError() bool
- func (o *LinkCarrierAccountNotFound) IsCode(code int) bool
- func (o *LinkCarrierAccountNotFound) IsRedirect() bool
- func (o *LinkCarrierAccountNotFound) IsServerError() bool
- func (o *LinkCarrierAccountNotFound) IsSuccess() bool
- func (o *LinkCarrierAccountNotFound) String() string
- type LinkCarrierAccountOK
- func (o *LinkCarrierAccountOK) Error() string
- func (o *LinkCarrierAccountOK) GetPayload() *shipping_v2_models.LinkCarrierAccountResponse
- func (o *LinkCarrierAccountOK) IsClientError() bool
- func (o *LinkCarrierAccountOK) IsCode(code int) bool
- func (o *LinkCarrierAccountOK) IsRedirect() bool
- func (o *LinkCarrierAccountOK) IsServerError() bool
- func (o *LinkCarrierAccountOK) IsSuccess() bool
- func (o *LinkCarrierAccountOK) String() string
- type LinkCarrierAccountParams
- func NewLinkCarrierAccountParams() *LinkCarrierAccountParams
- func NewLinkCarrierAccountParamsWithContext(ctx context.Context) *LinkCarrierAccountParams
- func NewLinkCarrierAccountParamsWithHTTPClient(client *http.Client) *LinkCarrierAccountParams
- func NewLinkCarrierAccountParamsWithTimeout(timeout time.Duration) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) SetBody(body *shipping_v2_models.LinkCarrierAccountRequest)
- func (o *LinkCarrierAccountParams) SetCarrierID(carrierID string)
- func (o *LinkCarrierAccountParams) SetContext(ctx context.Context)
- func (o *LinkCarrierAccountParams) SetDefaults()
- func (o *LinkCarrierAccountParams) SetHTTPClient(client *http.Client)
- func (o *LinkCarrierAccountParams) SetTimeout(timeout time.Duration)
- func (o *LinkCarrierAccountParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *LinkCarrierAccountParams) WithBody(body *shipping_v2_models.LinkCarrierAccountRequest) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WithCarrierID(carrierID string) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WithContext(ctx context.Context) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WithDefaults() *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WithHTTPClient(client *http.Client) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WithTimeout(timeout time.Duration) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *LinkCarrierAccountParams
- func (o *LinkCarrierAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkCarrierAccountReader
- type LinkCarrierAccountRequestEntityTooLarge
- func (o *LinkCarrierAccountRequestEntityTooLarge) Error() string
- func (o *LinkCarrierAccountRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountRequestEntityTooLarge) IsClientError() bool
- func (o *LinkCarrierAccountRequestEntityTooLarge) IsCode(code int) bool
- func (o *LinkCarrierAccountRequestEntityTooLarge) IsRedirect() bool
- func (o *LinkCarrierAccountRequestEntityTooLarge) IsServerError() bool
- func (o *LinkCarrierAccountRequestEntityTooLarge) IsSuccess() bool
- func (o *LinkCarrierAccountRequestEntityTooLarge) String() string
- type LinkCarrierAccountServiceUnavailable
- func (o *LinkCarrierAccountServiceUnavailable) Error() string
- func (o *LinkCarrierAccountServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountServiceUnavailable) IsClientError() bool
- func (o *LinkCarrierAccountServiceUnavailable) IsCode(code int) bool
- func (o *LinkCarrierAccountServiceUnavailable) IsRedirect() bool
- func (o *LinkCarrierAccountServiceUnavailable) IsServerError() bool
- func (o *LinkCarrierAccountServiceUnavailable) IsSuccess() bool
- func (o *LinkCarrierAccountServiceUnavailable) String() string
- type LinkCarrierAccountTooManyRequests
- func (o *LinkCarrierAccountTooManyRequests) Error() string
- func (o *LinkCarrierAccountTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountTooManyRequests) IsClientError() bool
- func (o *LinkCarrierAccountTooManyRequests) IsCode(code int) bool
- func (o *LinkCarrierAccountTooManyRequests) IsRedirect() bool
- func (o *LinkCarrierAccountTooManyRequests) IsServerError() bool
- func (o *LinkCarrierAccountTooManyRequests) IsSuccess() bool
- func (o *LinkCarrierAccountTooManyRequests) String() string
- type LinkCarrierAccountUnauthorized
- func (o *LinkCarrierAccountUnauthorized) Error() string
- func (o *LinkCarrierAccountUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountUnauthorized) IsClientError() bool
- func (o *LinkCarrierAccountUnauthorized) IsCode(code int) bool
- func (o *LinkCarrierAccountUnauthorized) IsRedirect() bool
- func (o *LinkCarrierAccountUnauthorized) IsServerError() bool
- func (o *LinkCarrierAccountUnauthorized) IsSuccess() bool
- func (o *LinkCarrierAccountUnauthorized) String() string
- type LinkCarrierAccountUnsupportedMediaType
- func (o *LinkCarrierAccountUnsupportedMediaType) Error() string
- func (o *LinkCarrierAccountUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *LinkCarrierAccountUnsupportedMediaType) IsClientError() bool
- func (o *LinkCarrierAccountUnsupportedMediaType) IsCode(code int) bool
- func (o *LinkCarrierAccountUnsupportedMediaType) IsRedirect() bool
- func (o *LinkCarrierAccountUnsupportedMediaType) IsServerError() bool
- func (o *LinkCarrierAccountUnsupportedMediaType) IsSuccess() bool
- func (o *LinkCarrierAccountUnsupportedMediaType) String() string
- type OneClickShipmentBadRequest
- func (o *OneClickShipmentBadRequest) Error() string
- func (o *OneClickShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentBadRequest) IsClientError() bool
- func (o *OneClickShipmentBadRequest) IsCode(code int) bool
- func (o *OneClickShipmentBadRequest) IsRedirect() bool
- func (o *OneClickShipmentBadRequest) IsServerError() bool
- func (o *OneClickShipmentBadRequest) IsSuccess() bool
- func (o *OneClickShipmentBadRequest) String() string
- type OneClickShipmentForbidden
- func (o *OneClickShipmentForbidden) Error() string
- func (o *OneClickShipmentForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentForbidden) IsClientError() bool
- func (o *OneClickShipmentForbidden) IsCode(code int) bool
- func (o *OneClickShipmentForbidden) IsRedirect() bool
- func (o *OneClickShipmentForbidden) IsServerError() bool
- func (o *OneClickShipmentForbidden) IsSuccess() bool
- func (o *OneClickShipmentForbidden) String() string
- type OneClickShipmentInternalServerError
- func (o *OneClickShipmentInternalServerError) Error() string
- func (o *OneClickShipmentInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentInternalServerError) IsClientError() bool
- func (o *OneClickShipmentInternalServerError) IsCode(code int) bool
- func (o *OneClickShipmentInternalServerError) IsRedirect() bool
- func (o *OneClickShipmentInternalServerError) IsServerError() bool
- func (o *OneClickShipmentInternalServerError) IsSuccess() bool
- func (o *OneClickShipmentInternalServerError) String() string
- type OneClickShipmentNotFound
- func (o *OneClickShipmentNotFound) Error() string
- func (o *OneClickShipmentNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentNotFound) IsClientError() bool
- func (o *OneClickShipmentNotFound) IsCode(code int) bool
- func (o *OneClickShipmentNotFound) IsRedirect() bool
- func (o *OneClickShipmentNotFound) IsServerError() bool
- func (o *OneClickShipmentNotFound) IsSuccess() bool
- func (o *OneClickShipmentNotFound) String() string
- type OneClickShipmentOK
- func (o *OneClickShipmentOK) Error() string
- func (o *OneClickShipmentOK) GetPayload() *shipping_v2_models.OneClickShipmentResponse
- func (o *OneClickShipmentOK) IsClientError() bool
- func (o *OneClickShipmentOK) IsCode(code int) bool
- func (o *OneClickShipmentOK) IsRedirect() bool
- func (o *OneClickShipmentOK) IsServerError() bool
- func (o *OneClickShipmentOK) IsSuccess() bool
- func (o *OneClickShipmentOK) String() string
- type OneClickShipmentParams
- func NewOneClickShipmentParams() *OneClickShipmentParams
- func NewOneClickShipmentParamsWithContext(ctx context.Context) *OneClickShipmentParams
- func NewOneClickShipmentParamsWithHTTPClient(client *http.Client) *OneClickShipmentParams
- func NewOneClickShipmentParamsWithTimeout(timeout time.Duration) *OneClickShipmentParams
- func (o *OneClickShipmentParams) SetBody(body *shipping_v2_models.OneClickShipmentRequest)
- func (o *OneClickShipmentParams) SetContext(ctx context.Context)
- func (o *OneClickShipmentParams) SetDefaults()
- func (o *OneClickShipmentParams) SetHTTPClient(client *http.Client)
- func (o *OneClickShipmentParams) SetTimeout(timeout time.Duration)
- func (o *OneClickShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *OneClickShipmentParams) WithBody(body *shipping_v2_models.OneClickShipmentRequest) *OneClickShipmentParams
- func (o *OneClickShipmentParams) WithContext(ctx context.Context) *OneClickShipmentParams
- func (o *OneClickShipmentParams) WithDefaults() *OneClickShipmentParams
- func (o *OneClickShipmentParams) WithHTTPClient(client *http.Client) *OneClickShipmentParams
- func (o *OneClickShipmentParams) WithTimeout(timeout time.Duration) *OneClickShipmentParams
- func (o *OneClickShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *OneClickShipmentParams
- func (o *OneClickShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OneClickShipmentReader
- type OneClickShipmentRequestEntityTooLarge
- func (o *OneClickShipmentRequestEntityTooLarge) Error() string
- func (o *OneClickShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentRequestEntityTooLarge) IsClientError() bool
- func (o *OneClickShipmentRequestEntityTooLarge) IsCode(code int) bool
- func (o *OneClickShipmentRequestEntityTooLarge) IsRedirect() bool
- func (o *OneClickShipmentRequestEntityTooLarge) IsServerError() bool
- func (o *OneClickShipmentRequestEntityTooLarge) IsSuccess() bool
- func (o *OneClickShipmentRequestEntityTooLarge) String() string
- type OneClickShipmentServiceUnavailable
- func (o *OneClickShipmentServiceUnavailable) Error() string
- func (o *OneClickShipmentServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentServiceUnavailable) IsClientError() bool
- func (o *OneClickShipmentServiceUnavailable) IsCode(code int) bool
- func (o *OneClickShipmentServiceUnavailable) IsRedirect() bool
- func (o *OneClickShipmentServiceUnavailable) IsServerError() bool
- func (o *OneClickShipmentServiceUnavailable) IsSuccess() bool
- func (o *OneClickShipmentServiceUnavailable) String() string
- type OneClickShipmentTooManyRequests
- func (o *OneClickShipmentTooManyRequests) Error() string
- func (o *OneClickShipmentTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentTooManyRequests) IsClientError() bool
- func (o *OneClickShipmentTooManyRequests) IsCode(code int) bool
- func (o *OneClickShipmentTooManyRequests) IsRedirect() bool
- func (o *OneClickShipmentTooManyRequests) IsServerError() bool
- func (o *OneClickShipmentTooManyRequests) IsSuccess() bool
- func (o *OneClickShipmentTooManyRequests) String() string
- type OneClickShipmentUnauthorized
- func (o *OneClickShipmentUnauthorized) Error() string
- func (o *OneClickShipmentUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentUnauthorized) IsClientError() bool
- func (o *OneClickShipmentUnauthorized) IsCode(code int) bool
- func (o *OneClickShipmentUnauthorized) IsRedirect() bool
- func (o *OneClickShipmentUnauthorized) IsServerError() bool
- func (o *OneClickShipmentUnauthorized) IsSuccess() bool
- func (o *OneClickShipmentUnauthorized) String() string
- type OneClickShipmentUnsupportedMediaType
- func (o *OneClickShipmentUnsupportedMediaType) Error() string
- func (o *OneClickShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *OneClickShipmentUnsupportedMediaType) IsClientError() bool
- func (o *OneClickShipmentUnsupportedMediaType) IsCode(code int) bool
- func (o *OneClickShipmentUnsupportedMediaType) IsRedirect() bool
- func (o *OneClickShipmentUnsupportedMediaType) IsServerError() bool
- func (o *OneClickShipmentUnsupportedMediaType) IsSuccess() bool
- func (o *OneClickShipmentUnsupportedMediaType) String() string
- type PurchaseShipmentBadRequest
- func (o *PurchaseShipmentBadRequest) Error() string
- func (o *PurchaseShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_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_v2_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) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)
- func (o *PurchaseShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *PurchaseShipmentParams) WithBody(body *shipping_v2_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) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *PurchaseShipmentParams
- func (o *PurchaseShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseShipmentReader
- type PurchaseShipmentRequestEntityTooLarge
- func (o *PurchaseShipmentRequestEntityTooLarge) Error() string
- func (o *PurchaseShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *PurchaseShipmentRequestEntityTooLarge) IsClientError() bool
- func (o *PurchaseShipmentRequestEntityTooLarge) IsCode(code int) bool
- func (o *PurchaseShipmentRequestEntityTooLarge) IsRedirect() bool
- func (o *PurchaseShipmentRequestEntityTooLarge) IsServerError() bool
- func (o *PurchaseShipmentRequestEntityTooLarge) IsSuccess() bool
- func (o *PurchaseShipmentRequestEntityTooLarge) String() string
- type PurchaseShipmentServiceUnavailable
- func (o *PurchaseShipmentServiceUnavailable) Error() string
- func (o *PurchaseShipmentServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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_v2_models.ErrorList
- 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 PurchaseShipmentUnsupportedMediaType
- func (o *PurchaseShipmentUnsupportedMediaType) Error() string
- func (o *PurchaseShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *PurchaseShipmentUnsupportedMediaType) IsClientError() bool
- func (o *PurchaseShipmentUnsupportedMediaType) IsCode(code int) bool
- func (o *PurchaseShipmentUnsupportedMediaType) IsRedirect() bool
- func (o *PurchaseShipmentUnsupportedMediaType) IsServerError() bool
- func (o *PurchaseShipmentUnsupportedMediaType) IsSuccess() bool
- func (o *PurchaseShipmentUnsupportedMediaType) String() string
- type UnlinkCarrierAccountBadRequest
- func (o *UnlinkCarrierAccountBadRequest) Error() string
- func (o *UnlinkCarrierAccountBadRequest) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountBadRequest) IsClientError() bool
- func (o *UnlinkCarrierAccountBadRequest) IsCode(code int) bool
- func (o *UnlinkCarrierAccountBadRequest) IsRedirect() bool
- func (o *UnlinkCarrierAccountBadRequest) IsServerError() bool
- func (o *UnlinkCarrierAccountBadRequest) IsSuccess() bool
- func (o *UnlinkCarrierAccountBadRequest) String() string
- type UnlinkCarrierAccountForbidden
- func (o *UnlinkCarrierAccountForbidden) Error() string
- func (o *UnlinkCarrierAccountForbidden) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountForbidden) IsClientError() bool
- func (o *UnlinkCarrierAccountForbidden) IsCode(code int) bool
- func (o *UnlinkCarrierAccountForbidden) IsRedirect() bool
- func (o *UnlinkCarrierAccountForbidden) IsServerError() bool
- func (o *UnlinkCarrierAccountForbidden) IsSuccess() bool
- func (o *UnlinkCarrierAccountForbidden) String() string
- type UnlinkCarrierAccountInternalServerError
- func (o *UnlinkCarrierAccountInternalServerError) Error() string
- func (o *UnlinkCarrierAccountInternalServerError) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountInternalServerError) IsClientError() bool
- func (o *UnlinkCarrierAccountInternalServerError) IsCode(code int) bool
- func (o *UnlinkCarrierAccountInternalServerError) IsRedirect() bool
- func (o *UnlinkCarrierAccountInternalServerError) IsServerError() bool
- func (o *UnlinkCarrierAccountInternalServerError) IsSuccess() bool
- func (o *UnlinkCarrierAccountInternalServerError) String() string
- type UnlinkCarrierAccountNotFound
- func (o *UnlinkCarrierAccountNotFound) Error() string
- func (o *UnlinkCarrierAccountNotFound) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountNotFound) IsClientError() bool
- func (o *UnlinkCarrierAccountNotFound) IsCode(code int) bool
- func (o *UnlinkCarrierAccountNotFound) IsRedirect() bool
- func (o *UnlinkCarrierAccountNotFound) IsServerError() bool
- func (o *UnlinkCarrierAccountNotFound) IsSuccess() bool
- func (o *UnlinkCarrierAccountNotFound) String() string
- type UnlinkCarrierAccountOK
- func (o *UnlinkCarrierAccountOK) Error() string
- func (o *UnlinkCarrierAccountOK) GetPayload() *shipping_v2_models.UnlinkCarrierAccountResponse
- func (o *UnlinkCarrierAccountOK) IsClientError() bool
- func (o *UnlinkCarrierAccountOK) IsCode(code int) bool
- func (o *UnlinkCarrierAccountOK) IsRedirect() bool
- func (o *UnlinkCarrierAccountOK) IsServerError() bool
- func (o *UnlinkCarrierAccountOK) IsSuccess() bool
- func (o *UnlinkCarrierAccountOK) String() string
- type UnlinkCarrierAccountParams
- func NewUnlinkCarrierAccountParams() *UnlinkCarrierAccountParams
- func NewUnlinkCarrierAccountParamsWithContext(ctx context.Context) *UnlinkCarrierAccountParams
- func NewUnlinkCarrierAccountParamsWithHTTPClient(client *http.Client) *UnlinkCarrierAccountParams
- func NewUnlinkCarrierAccountParamsWithTimeout(timeout time.Duration) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) SetBody(body *shipping_v2_models.UnlinkCarrierAccountRequest)
- func (o *UnlinkCarrierAccountParams) SetCarrierID(carrierID string)
- func (o *UnlinkCarrierAccountParams) SetContext(ctx context.Context)
- func (o *UnlinkCarrierAccountParams) SetDefaults()
- func (o *UnlinkCarrierAccountParams) SetHTTPClient(client *http.Client)
- func (o *UnlinkCarrierAccountParams) SetTimeout(timeout time.Duration)
- func (o *UnlinkCarrierAccountParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
- func (o *UnlinkCarrierAccountParams) WithBody(body *shipping_v2_models.UnlinkCarrierAccountRequest) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WithCarrierID(carrierID string) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WithContext(ctx context.Context) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WithDefaults() *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WithHTTPClient(client *http.Client) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WithTimeout(timeout time.Duration) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *UnlinkCarrierAccountParams
- func (o *UnlinkCarrierAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlinkCarrierAccountReader
- type UnlinkCarrierAccountRequestEntityTooLarge
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) Error() string
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsClientError() bool
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsCode(code int) bool
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsRedirect() bool
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsServerError() bool
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsSuccess() bool
- func (o *UnlinkCarrierAccountRequestEntityTooLarge) String() string
- type UnlinkCarrierAccountServiceUnavailable
- func (o *UnlinkCarrierAccountServiceUnavailable) Error() string
- func (o *UnlinkCarrierAccountServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountServiceUnavailable) IsClientError() bool
- func (o *UnlinkCarrierAccountServiceUnavailable) IsCode(code int) bool
- func (o *UnlinkCarrierAccountServiceUnavailable) IsRedirect() bool
- func (o *UnlinkCarrierAccountServiceUnavailable) IsServerError() bool
- func (o *UnlinkCarrierAccountServiceUnavailable) IsSuccess() bool
- func (o *UnlinkCarrierAccountServiceUnavailable) String() string
- type UnlinkCarrierAccountTooManyRequests
- func (o *UnlinkCarrierAccountTooManyRequests) Error() string
- func (o *UnlinkCarrierAccountTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountTooManyRequests) IsClientError() bool
- func (o *UnlinkCarrierAccountTooManyRequests) IsCode(code int) bool
- func (o *UnlinkCarrierAccountTooManyRequests) IsRedirect() bool
- func (o *UnlinkCarrierAccountTooManyRequests) IsServerError() bool
- func (o *UnlinkCarrierAccountTooManyRequests) IsSuccess() bool
- func (o *UnlinkCarrierAccountTooManyRequests) String() string
- type UnlinkCarrierAccountUnauthorized
- func (o *UnlinkCarrierAccountUnauthorized) Error() string
- func (o *UnlinkCarrierAccountUnauthorized) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountUnauthorized) IsClientError() bool
- func (o *UnlinkCarrierAccountUnauthorized) IsCode(code int) bool
- func (o *UnlinkCarrierAccountUnauthorized) IsRedirect() bool
- func (o *UnlinkCarrierAccountUnauthorized) IsServerError() bool
- func (o *UnlinkCarrierAccountUnauthorized) IsSuccess() bool
- func (o *UnlinkCarrierAccountUnauthorized) String() string
- type UnlinkCarrierAccountUnsupportedMediaType
- func (o *UnlinkCarrierAccountUnsupportedMediaType) Error() string
- func (o *UnlinkCarrierAccountUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
- func (o *UnlinkCarrierAccountUnsupportedMediaType) IsClientError() bool
- func (o *UnlinkCarrierAccountUnsupportedMediaType) IsCode(code int) bool
- func (o *UnlinkCarrierAccountUnsupportedMediaType) IsRedirect() bool
- func (o *UnlinkCarrierAccountUnsupportedMediaType) IsServerError() bool
- func (o *UnlinkCarrierAccountUnsupportedMediaType) IsSuccess() bool
- func (o *UnlinkCarrierAccountUnsupportedMediaType) 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 identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewCancelShipmentBadRequest ¶
func NewCancelShipmentBadRequest() *CancelShipmentBadRequest
NewCancelShipmentBadRequest creates a CancelShipmentBadRequest with default headers values
func (*CancelShipmentBadRequest) Error ¶
func (o *CancelShipmentBadRequest) Error() string
func (*CancelShipmentBadRequest) GetPayload ¶
func (o *CancelShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*CancelShipmentBadRequest) IsClientError ¶
func (o *CancelShipmentBadRequest) IsClientError() bool
IsClientError returns true when this cancel shipment bad request response has a 4xx status code
func (*CancelShipmentBadRequest) IsCode ¶
func (o *CancelShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this cancel shipment bad request response a status code equal to that given
func (*CancelShipmentBadRequest) IsRedirect ¶
func (o *CancelShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this cancel shipment bad request response has a 3xx status code
func (*CancelShipmentBadRequest) IsServerError ¶
func (o *CancelShipmentBadRequest) IsServerError() bool
IsServerError returns true when this cancel shipment bad request response has a 5xx status code
func (*CancelShipmentBadRequest) IsSuccess ¶
func (o *CancelShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this cancel shipment bad request response has a 2xx status code
func (*CancelShipmentBadRequest) String ¶
func (o *CancelShipmentBadRequest) String() string
type CancelShipmentForbidden ¶
type CancelShipmentForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewCancelShipmentForbidden ¶
func NewCancelShipmentForbidden() *CancelShipmentForbidden
NewCancelShipmentForbidden creates a CancelShipmentForbidden with default headers values
func (*CancelShipmentForbidden) Error ¶
func (o *CancelShipmentForbidden) Error() string
func (*CancelShipmentForbidden) GetPayload ¶
func (o *CancelShipmentForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*CancelShipmentForbidden) IsClientError ¶
func (o *CancelShipmentForbidden) IsClientError() bool
IsClientError returns true when this cancel shipment forbidden response has a 4xx status code
func (*CancelShipmentForbidden) IsCode ¶
func (o *CancelShipmentForbidden) IsCode(code int) bool
IsCode returns true when this cancel shipment forbidden response a status code equal to that given
func (*CancelShipmentForbidden) IsRedirect ¶
func (o *CancelShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this cancel shipment forbidden response has a 3xx status code
func (*CancelShipmentForbidden) IsServerError ¶
func (o *CancelShipmentForbidden) IsServerError() bool
IsServerError returns true when this cancel shipment forbidden response has a 5xx status code
func (*CancelShipmentForbidden) IsSuccess ¶
func (o *CancelShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this cancel shipment forbidden response has a 2xx status code
func (*CancelShipmentForbidden) String ¶
func (o *CancelShipmentForbidden) String() string
type CancelShipmentInternalServerError ¶
type CancelShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewCancelShipmentInternalServerError ¶
func NewCancelShipmentInternalServerError() *CancelShipmentInternalServerError
NewCancelShipmentInternalServerError creates a CancelShipmentInternalServerError with default headers values
func (*CancelShipmentInternalServerError) Error ¶
func (o *CancelShipmentInternalServerError) Error() string
func (*CancelShipmentInternalServerError) GetPayload ¶
func (o *CancelShipmentInternalServerError) GetPayload() *shipping_v2_models.ErrorList
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 identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewCancelShipmentNotFound ¶
func NewCancelShipmentNotFound() *CancelShipmentNotFound
NewCancelShipmentNotFound creates a CancelShipmentNotFound with default headers values
func (*CancelShipmentNotFound) Error ¶
func (o *CancelShipmentNotFound) Error() string
func (*CancelShipmentNotFound) GetPayload ¶
func (o *CancelShipmentNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*CancelShipmentNotFound) IsClientError ¶
func (o *CancelShipmentNotFound) IsClientError() bool
IsClientError returns true when this cancel shipment not found response has a 4xx status code
func (*CancelShipmentNotFound) IsCode ¶
func (o *CancelShipmentNotFound) IsCode(code int) bool
IsCode returns true when this cancel shipment not found response a status code equal to that given
func (*CancelShipmentNotFound) IsRedirect ¶
func (o *CancelShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this cancel shipment not found response has a 3xx status code
func (*CancelShipmentNotFound) IsServerError ¶
func (o *CancelShipmentNotFound) IsServerError() bool
IsServerError returns true when this cancel shipment not found response has a 5xx status code
func (*CancelShipmentNotFound) IsSuccess ¶
func (o *CancelShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this cancel shipment not found response has a 2xx status code
func (*CancelShipmentNotFound) String ¶
func (o *CancelShipmentNotFound) String() string
type CancelShipmentOK ¶
type CancelShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.CancelShipmentResponse }
CancelShipmentOK describes a response with status code 200, with default header values.
Success.
func NewCancelShipmentOK ¶
func NewCancelShipmentOK() *CancelShipmentOK
NewCancelShipmentOK creates a CancelShipmentOK with default headers values
func (*CancelShipmentOK) Error ¶
func (o *CancelShipmentOK) Error() string
func (*CancelShipmentOK) GetPayload ¶
func (o *CancelShipmentOK) GetPayload() *shipping_v2_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. The shipment identifier originally returned by the purchaseShipment operation. */ ShipmentID string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelShipmentParams contains all the parameters to send to the API endpoint
for the cancel shipment operation. Typically these are written to a http.Request.
func NewCancelShipmentParams ¶
func NewCancelShipmentParams() *CancelShipmentParams
NewCancelShipmentParams creates a new CancelShipmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCancelShipmentParamsWithContext ¶
func NewCancelShipmentParamsWithContext(ctx context.Context) *CancelShipmentParams
NewCancelShipmentParamsWithContext creates a new CancelShipmentParams object with the ability to set a context for a request.
func NewCancelShipmentParamsWithHTTPClient ¶
func NewCancelShipmentParamsWithHTTPClient(client *http.Client) *CancelShipmentParams
NewCancelShipmentParamsWithHTTPClient creates a new CancelShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewCancelShipmentParamsWithTimeout ¶
func NewCancelShipmentParamsWithTimeout(timeout time.Duration) *CancelShipmentParams
NewCancelShipmentParamsWithTimeout creates a new CancelShipmentParams object with the ability to set a timeout on a request.
func (*CancelShipmentParams) SetContext ¶
func (o *CancelShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel shipment params
func (*CancelShipmentParams) SetDefaults ¶
func (o *CancelShipmentParams) SetDefaults()
SetDefaults hydrates default values in the cancel shipment params (not the query body).
All values with no default are reset to their zero value.
func (*CancelShipmentParams) SetHTTPClient ¶
func (o *CancelShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel shipment params
func (*CancelShipmentParams) SetShipmentID ¶
func (o *CancelShipmentParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the cancel shipment params
func (*CancelShipmentParams) SetTimeout ¶
func (o *CancelShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel shipment params
func (*CancelShipmentParams) SetXAmznShippingBusinessID ¶
func (o *CancelShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the cancel shipment params
func (*CancelShipmentParams) WithContext ¶
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) WithXAmznShippingBusinessID ¶
func (o *CancelShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *CancelShipmentParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the cancel shipment params
func (*CancelShipmentParams) WriteToRequest ¶
func (o *CancelShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelShipmentReader ¶
type CancelShipmentReader struct {
// contains filtered or unexported fields
}
CancelShipmentReader is a Reader for the CancelShipment structure.
func (*CancelShipmentReader) ReadResponse ¶
func (o *CancelShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelShipmentRequestEntityTooLarge ¶
type CancelShipmentRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewCancelShipmentRequestEntityTooLarge ¶
func NewCancelShipmentRequestEntityTooLarge() *CancelShipmentRequestEntityTooLarge
NewCancelShipmentRequestEntityTooLarge creates a CancelShipmentRequestEntityTooLarge with default headers values
func (*CancelShipmentRequestEntityTooLarge) Error ¶
func (o *CancelShipmentRequestEntityTooLarge) Error() string
func (*CancelShipmentRequestEntityTooLarge) GetPayload ¶
func (o *CancelShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*CancelShipmentRequestEntityTooLarge) IsClientError ¶
func (o *CancelShipmentRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this cancel shipment request entity too large response has a 4xx status code
func (*CancelShipmentRequestEntityTooLarge) IsCode ¶
func (o *CancelShipmentRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this cancel shipment request entity too large response a status code equal to that given
func (*CancelShipmentRequestEntityTooLarge) IsRedirect ¶
func (o *CancelShipmentRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this cancel shipment request entity too large response has a 3xx status code
func (*CancelShipmentRequestEntityTooLarge) IsServerError ¶
func (o *CancelShipmentRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this cancel shipment request entity too large response has a 5xx status code
func (*CancelShipmentRequestEntityTooLarge) IsSuccess ¶
func (o *CancelShipmentRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this cancel shipment request entity too large response has a 2xx status code
func (*CancelShipmentRequestEntityTooLarge) String ¶
func (o *CancelShipmentRequestEntityTooLarge) String() string
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_v2_models.ErrorList
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 identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewCancelShipmentTooManyRequests ¶
func NewCancelShipmentTooManyRequests() *CancelShipmentTooManyRequests
NewCancelShipmentTooManyRequests creates a CancelShipmentTooManyRequests with default headers values
func (*CancelShipmentTooManyRequests) Error ¶
func (o *CancelShipmentTooManyRequests) Error() string
func (*CancelShipmentTooManyRequests) GetPayload ¶
func (o *CancelShipmentTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
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_v2_models.ErrorList
func (*CancelShipmentUnauthorized) IsClientError ¶
func (o *CancelShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this cancel shipment unauthorized response has a 4xx status code
func (*CancelShipmentUnauthorized) IsCode ¶
func (o *CancelShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this cancel shipment unauthorized response a status code equal to that given
func (*CancelShipmentUnauthorized) IsRedirect ¶
func (o *CancelShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this cancel shipment unauthorized response has a 3xx status code
func (*CancelShipmentUnauthorized) IsServerError ¶
func (o *CancelShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this cancel shipment unauthorized response has a 5xx status code
func (*CancelShipmentUnauthorized) IsSuccess ¶
func (o *CancelShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this cancel shipment unauthorized response has a 2xx status code
func (*CancelShipmentUnauthorized) String ¶
func (o *CancelShipmentUnauthorized) String() string
type CancelShipmentUnsupportedMediaType ¶
type CancelShipmentUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
CancelShipmentUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewCancelShipmentUnsupportedMediaType ¶
func NewCancelShipmentUnsupportedMediaType() *CancelShipmentUnsupportedMediaType
NewCancelShipmentUnsupportedMediaType creates a CancelShipmentUnsupportedMediaType with default headers values
func (*CancelShipmentUnsupportedMediaType) Error ¶
func (o *CancelShipmentUnsupportedMediaType) Error() string
func (*CancelShipmentUnsupportedMediaType) GetPayload ¶
func (o *CancelShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*CancelShipmentUnsupportedMediaType) IsClientError ¶
func (o *CancelShipmentUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this cancel shipment unsupported media type response has a 4xx status code
func (*CancelShipmentUnsupportedMediaType) IsCode ¶
func (o *CancelShipmentUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this cancel shipment unsupported media type response a status code equal to that given
func (*CancelShipmentUnsupportedMediaType) IsRedirect ¶
func (o *CancelShipmentUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this cancel shipment unsupported media type response has a 3xx status code
func (*CancelShipmentUnsupportedMediaType) IsServerError ¶
func (o *CancelShipmentUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this cancel shipment unsupported media type response has a 5xx status code
func (*CancelShipmentUnsupportedMediaType) IsSuccess ¶
func (o *CancelShipmentUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this cancel shipment unsupported media type response has a 2xx status code
func (*CancelShipmentUnsupportedMediaType) String ¶
func (o *CancelShipmentUnsupportedMediaType) 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 Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) DirectPurchaseShipment ¶
func (a *Client) DirectPurchaseShipment(params *DirectPurchaseShipmentParams, opts ...ClientOption) (*DirectPurchaseShipmentOK, error)
DirectPurchaseShipment Purchases the shipping service for a shipment using the best fit service offering. Returns purchase related details and documents.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GenerateCollectionForm ¶
func (a *Client) GenerateCollectionForm(params *GenerateCollectionFormParams, opts ...ClientOption) (*GenerateCollectionFormOK, error)
GenerateCollectionForm This API Call to generate the collection form.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetAccessPoints ¶
func (a *Client) GetAccessPoints(params *GetAccessPointsParams, opts ...ClientOption) (*GetAccessPointsOK, error)
GetAccessPoints Returns a list of access points in proximity of input postal code.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetAdditionalInputs ¶
func (a *Client) GetAdditionalInputs(params *GetAdditionalInputsParams, opts ...ClientOption) (*GetAdditionalInputsOK, error)
GetAdditionalInputs Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetCarrierAccountFormInputs ¶
func (a *Client) GetCarrierAccountFormInputs(params *GetCarrierAccountFormInputsParams, opts ...ClientOption) (*GetCarrierAccountFormInputsOK, error)
GetCarrierAccountFormInputs This API will return a list of input schema required to register a shipper account with the carrier.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetCarrierAccounts ¶
func (a *Client) GetCarrierAccounts(params *GetCarrierAccountsParams, opts ...ClientOption) (*GetCarrierAccountsOK, error)
GetCarrierAccounts This API will return Get all carrier accounts for a merchant.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetCollectionForm ¶
func (a *Client) GetCollectionForm(params *GetCollectionFormParams, opts ...ClientOption) (*GetCollectionFormOK, error)
GetCollectionForm This API reprint a collection form.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetCollectionFormHistory ¶
func (a *Client) GetCollectionFormHistory(params *GetCollectionFormHistoryParams, opts ...ClientOption) (*GetCollectionFormHistoryOK, error)
GetCollectionFormHistory This API Call to get the history of the previously generated collection forms.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetRates ¶
func (a *Client) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error)
GetRates Returns the available shipping service offerings.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetShipmentDocuments ¶
func (a *Client) GetShipmentDocuments(params *GetShipmentDocumentsParams, opts ...ClientOption) (*GetShipmentDocumentsOK, error)
GetShipmentDocuments Returns the shipping documents associated with a package in a shipment.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetTracking ¶
func (a *Client) GetTracking(params *GetTrackingParams, opts ...ClientOption) (*GetTrackingOK, error)
GetTracking Returns tracking information for a purchased shipment.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetUnmanifestedShipments ¶
func (a *Client) GetUnmanifestedShipments(params *GetUnmanifestedShipmentsParams, opts ...ClientOption) (*GetUnmanifestedShipmentsOK, error)
GetUnmanifestedShipments This API Get all unmanifested carriers with shipment locations. Any locations which has unmanifested shipments with an eligible carrier for manifesting shall be returned.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) LinkCarrierAccount ¶
func (a *Client) LinkCarrierAccount(params *LinkCarrierAccountParams, opts ...ClientOption) (*LinkCarrierAccountOK, error)
LinkCarrierAccount This API associates/links the specified carrier account with the merchant.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) OneClickShipment ¶
func (a *Client) OneClickShipment(params *OneClickShipmentParams, opts ...ClientOption) (*OneClickShipmentOK, error)
OneClickShipment Purchases a shipping service identifier and returns purchase-related details and documents.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) PurchaseShipment ¶
func (a *Client) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error)
PurchaseShipment Purchases a shipping service and returns purchase related details and documents.
Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to "TOKEN_EXPIRED". If you receive this error response, you must get the rates for the shipment again.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnlinkCarrierAccount ¶
func (a *Client) UnlinkCarrierAccount(params *UnlinkCarrierAccountParams, opts ...ClientOption) (*UnlinkCarrierAccountOK, error)
UnlinkCarrierAccount This API Unlink the specified carrier account with the merchant.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CancelShipment(params *CancelShipmentParams, opts ...ClientOption) (*CancelShipmentOK, error) DirectPurchaseShipment(params *DirectPurchaseShipmentParams, opts ...ClientOption) (*DirectPurchaseShipmentOK, error) GenerateCollectionForm(params *GenerateCollectionFormParams, opts ...ClientOption) (*GenerateCollectionFormOK, error) GetAccessPoints(params *GetAccessPointsParams, opts ...ClientOption) (*GetAccessPointsOK, error) GetAdditionalInputs(params *GetAdditionalInputsParams, opts ...ClientOption) (*GetAdditionalInputsOK, error) GetCarrierAccountFormInputs(params *GetCarrierAccountFormInputsParams, opts ...ClientOption) (*GetCarrierAccountFormInputsOK, error) GetCarrierAccounts(params *GetCarrierAccountsParams, opts ...ClientOption) (*GetCarrierAccountsOK, error) GetCollectionForm(params *GetCollectionFormParams, opts ...ClientOption) (*GetCollectionFormOK, error) GetCollectionFormHistory(params *GetCollectionFormHistoryParams, opts ...ClientOption) (*GetCollectionFormHistoryOK, error) GetRates(params *GetRatesParams, opts ...ClientOption) (*GetRatesOK, error) GetShipmentDocuments(params *GetShipmentDocumentsParams, opts ...ClientOption) (*GetShipmentDocumentsOK, error) GetTracking(params *GetTrackingParams, opts ...ClientOption) (*GetTrackingOK, error) GetUnmanifestedShipments(params *GetUnmanifestedShipmentsParams, opts ...ClientOption) (*GetUnmanifestedShipmentsOK, error) LinkCarrierAccount(params *LinkCarrierAccountParams, opts ...ClientOption) (*LinkCarrierAccountOK, error) OneClickShipment(params *OneClickShipmentParams, opts ...ClientOption) (*OneClickShipmentOK, error) PurchaseShipment(params *PurchaseShipmentParams, opts ...ClientOption) (*PurchaseShipmentOK, error) UnlinkCarrierAccount(params *UnlinkCarrierAccountParams, opts ...ClientOption) (*UnlinkCarrierAccountOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new shipping API client.
type DirectPurchaseShipmentBadRequest ¶
type DirectPurchaseShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewDirectPurchaseShipmentBadRequest ¶
func NewDirectPurchaseShipmentBadRequest() *DirectPurchaseShipmentBadRequest
NewDirectPurchaseShipmentBadRequest creates a DirectPurchaseShipmentBadRequest with default headers values
func (*DirectPurchaseShipmentBadRequest) Error ¶
func (o *DirectPurchaseShipmentBadRequest) Error() string
func (*DirectPurchaseShipmentBadRequest) GetPayload ¶
func (o *DirectPurchaseShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentBadRequest) IsClientError ¶
func (o *DirectPurchaseShipmentBadRequest) IsClientError() bool
IsClientError returns true when this direct purchase shipment bad request response has a 4xx status code
func (*DirectPurchaseShipmentBadRequest) IsCode ¶
func (o *DirectPurchaseShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this direct purchase shipment bad request response a status code equal to that given
func (*DirectPurchaseShipmentBadRequest) IsRedirect ¶
func (o *DirectPurchaseShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment bad request response has a 3xx status code
func (*DirectPurchaseShipmentBadRequest) IsServerError ¶
func (o *DirectPurchaseShipmentBadRequest) IsServerError() bool
IsServerError returns true when this direct purchase shipment bad request response has a 5xx status code
func (*DirectPurchaseShipmentBadRequest) IsSuccess ¶
func (o *DirectPurchaseShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment bad request response has a 2xx status code
func (*DirectPurchaseShipmentBadRequest) String ¶
func (o *DirectPurchaseShipmentBadRequest) String() string
type DirectPurchaseShipmentForbidden ¶
type DirectPurchaseShipmentForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewDirectPurchaseShipmentForbidden ¶
func NewDirectPurchaseShipmentForbidden() *DirectPurchaseShipmentForbidden
NewDirectPurchaseShipmentForbidden creates a DirectPurchaseShipmentForbidden with default headers values
func (*DirectPurchaseShipmentForbidden) Error ¶
func (o *DirectPurchaseShipmentForbidden) Error() string
func (*DirectPurchaseShipmentForbidden) GetPayload ¶
func (o *DirectPurchaseShipmentForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentForbidden) IsClientError ¶
func (o *DirectPurchaseShipmentForbidden) IsClientError() bool
IsClientError returns true when this direct purchase shipment forbidden response has a 4xx status code
func (*DirectPurchaseShipmentForbidden) IsCode ¶
func (o *DirectPurchaseShipmentForbidden) IsCode(code int) bool
IsCode returns true when this direct purchase shipment forbidden response a status code equal to that given
func (*DirectPurchaseShipmentForbidden) IsRedirect ¶
func (o *DirectPurchaseShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment forbidden response has a 3xx status code
func (*DirectPurchaseShipmentForbidden) IsServerError ¶
func (o *DirectPurchaseShipmentForbidden) IsServerError() bool
IsServerError returns true when this direct purchase shipment forbidden response has a 5xx status code
func (*DirectPurchaseShipmentForbidden) IsSuccess ¶
func (o *DirectPurchaseShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment forbidden response has a 2xx status code
func (*DirectPurchaseShipmentForbidden) String ¶
func (o *DirectPurchaseShipmentForbidden) String() string
type DirectPurchaseShipmentInternalServerError ¶
type DirectPurchaseShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewDirectPurchaseShipmentInternalServerError ¶
func NewDirectPurchaseShipmentInternalServerError() *DirectPurchaseShipmentInternalServerError
NewDirectPurchaseShipmentInternalServerError creates a DirectPurchaseShipmentInternalServerError with default headers values
func (*DirectPurchaseShipmentInternalServerError) Error ¶
func (o *DirectPurchaseShipmentInternalServerError) Error() string
func (*DirectPurchaseShipmentInternalServerError) GetPayload ¶
func (o *DirectPurchaseShipmentInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentInternalServerError) IsClientError ¶
func (o *DirectPurchaseShipmentInternalServerError) IsClientError() bool
IsClientError returns true when this direct purchase shipment internal server error response has a 4xx status code
func (*DirectPurchaseShipmentInternalServerError) IsCode ¶
func (o *DirectPurchaseShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this direct purchase shipment internal server error response a status code equal to that given
func (*DirectPurchaseShipmentInternalServerError) IsRedirect ¶
func (o *DirectPurchaseShipmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment internal server error response has a 3xx status code
func (*DirectPurchaseShipmentInternalServerError) IsServerError ¶
func (o *DirectPurchaseShipmentInternalServerError) IsServerError() bool
IsServerError returns true when this direct purchase shipment internal server error response has a 5xx status code
func (*DirectPurchaseShipmentInternalServerError) IsSuccess ¶
func (o *DirectPurchaseShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment internal server error response has a 2xx status code
func (*DirectPurchaseShipmentInternalServerError) String ¶
func (o *DirectPurchaseShipmentInternalServerError) String() string
type DirectPurchaseShipmentNotFound ¶
type DirectPurchaseShipmentNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewDirectPurchaseShipmentNotFound ¶
func NewDirectPurchaseShipmentNotFound() *DirectPurchaseShipmentNotFound
NewDirectPurchaseShipmentNotFound creates a DirectPurchaseShipmentNotFound with default headers values
func (*DirectPurchaseShipmentNotFound) Error ¶
func (o *DirectPurchaseShipmentNotFound) Error() string
func (*DirectPurchaseShipmentNotFound) GetPayload ¶
func (o *DirectPurchaseShipmentNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentNotFound) IsClientError ¶
func (o *DirectPurchaseShipmentNotFound) IsClientError() bool
IsClientError returns true when this direct purchase shipment not found response has a 4xx status code
func (*DirectPurchaseShipmentNotFound) IsCode ¶
func (o *DirectPurchaseShipmentNotFound) IsCode(code int) bool
IsCode returns true when this direct purchase shipment not found response a status code equal to that given
func (*DirectPurchaseShipmentNotFound) IsRedirect ¶
func (o *DirectPurchaseShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment not found response has a 3xx status code
func (*DirectPurchaseShipmentNotFound) IsServerError ¶
func (o *DirectPurchaseShipmentNotFound) IsServerError() bool
IsServerError returns true when this direct purchase shipment not found response has a 5xx status code
func (*DirectPurchaseShipmentNotFound) IsSuccess ¶
func (o *DirectPurchaseShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment not found response has a 2xx status code
func (*DirectPurchaseShipmentNotFound) String ¶
func (o *DirectPurchaseShipmentNotFound) String() string
type DirectPurchaseShipmentOK ¶
type DirectPurchaseShipmentOK struct { /* A unique value which the server uses to recognize subsequent retries of the same request. */ XAmznIdempotencyKey string /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.DirectPurchaseResponse }
DirectPurchaseShipmentOK describes a response with status code 200, with default header values.
Success
func NewDirectPurchaseShipmentOK ¶
func NewDirectPurchaseShipmentOK() *DirectPurchaseShipmentOK
NewDirectPurchaseShipmentOK creates a DirectPurchaseShipmentOK with default headers values
func (*DirectPurchaseShipmentOK) Error ¶
func (o *DirectPurchaseShipmentOK) Error() string
func (*DirectPurchaseShipmentOK) GetPayload ¶
func (o *DirectPurchaseShipmentOK) GetPayload() *shipping_v2_models.DirectPurchaseResponse
func (*DirectPurchaseShipmentOK) IsClientError ¶
func (o *DirectPurchaseShipmentOK) IsClientError() bool
IsClientError returns true when this direct purchase shipment o k response has a 4xx status code
func (*DirectPurchaseShipmentOK) IsCode ¶
func (o *DirectPurchaseShipmentOK) IsCode(code int) bool
IsCode returns true when this direct purchase shipment o k response a status code equal to that given
func (*DirectPurchaseShipmentOK) IsRedirect ¶
func (o *DirectPurchaseShipmentOK) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment o k response has a 3xx status code
func (*DirectPurchaseShipmentOK) IsServerError ¶
func (o *DirectPurchaseShipmentOK) IsServerError() bool
IsServerError returns true when this direct purchase shipment o k response has a 5xx status code
func (*DirectPurchaseShipmentOK) IsSuccess ¶
func (o *DirectPurchaseShipmentOK) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment o k response has a 2xx status code
func (*DirectPurchaseShipmentOK) String ¶
func (o *DirectPurchaseShipmentOK) String() string
type DirectPurchaseShipmentParams ¶
type DirectPurchaseShipmentParams struct { // Body. Body *shipping_v2_models.DirectPurchaseRequest /* Locale. The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags. */ Locale *string /* XAmznIdempotencyKey. A unique value which the server uses to recognize subsequent retries of the same request. */ XAmznIdempotencyKey *string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DirectPurchaseShipmentParams contains all the parameters to send to the API endpoint
for the direct purchase shipment operation. Typically these are written to a http.Request.
func NewDirectPurchaseShipmentParams ¶
func NewDirectPurchaseShipmentParams() *DirectPurchaseShipmentParams
NewDirectPurchaseShipmentParams creates a new DirectPurchaseShipmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDirectPurchaseShipmentParamsWithContext ¶
func NewDirectPurchaseShipmentParamsWithContext(ctx context.Context) *DirectPurchaseShipmentParams
NewDirectPurchaseShipmentParamsWithContext creates a new DirectPurchaseShipmentParams object with the ability to set a context for a request.
func NewDirectPurchaseShipmentParamsWithHTTPClient ¶
func NewDirectPurchaseShipmentParamsWithHTTPClient(client *http.Client) *DirectPurchaseShipmentParams
NewDirectPurchaseShipmentParamsWithHTTPClient creates a new DirectPurchaseShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewDirectPurchaseShipmentParamsWithTimeout ¶
func NewDirectPurchaseShipmentParamsWithTimeout(timeout time.Duration) *DirectPurchaseShipmentParams
NewDirectPurchaseShipmentParamsWithTimeout creates a new DirectPurchaseShipmentParams object with the ability to set a timeout on a request.
func (*DirectPurchaseShipmentParams) SetBody ¶
func (o *DirectPurchaseShipmentParams) SetBody(body *shipping_v2_models.DirectPurchaseRequest)
SetBody adds the body to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) SetContext ¶
func (o *DirectPurchaseShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) SetDefaults ¶
func (o *DirectPurchaseShipmentParams) SetDefaults()
SetDefaults hydrates default values in the direct purchase shipment params (not the query body).
All values with no default are reset to their zero value.
func (*DirectPurchaseShipmentParams) SetHTTPClient ¶
func (o *DirectPurchaseShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) SetLocale ¶
func (o *DirectPurchaseShipmentParams) SetLocale(locale *string)
SetLocale adds the locale to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) SetTimeout ¶
func (o *DirectPurchaseShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) SetXAmznIdempotencyKey ¶
func (o *DirectPurchaseShipmentParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)
SetXAmznIdempotencyKey adds the xAmznIdempotencyKey to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) SetXAmznShippingBusinessID ¶
func (o *DirectPurchaseShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithBody ¶
func (o *DirectPurchaseShipmentParams) WithBody(body *shipping_v2_models.DirectPurchaseRequest) *DirectPurchaseShipmentParams
WithBody adds the body to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithContext ¶
func (o *DirectPurchaseShipmentParams) WithContext(ctx context.Context) *DirectPurchaseShipmentParams
WithContext adds the context to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithDefaults ¶
func (o *DirectPurchaseShipmentParams) WithDefaults() *DirectPurchaseShipmentParams
WithDefaults hydrates default values in the direct purchase shipment params (not the query body).
All values with no default are reset to their zero value.
func (*DirectPurchaseShipmentParams) WithHTTPClient ¶
func (o *DirectPurchaseShipmentParams) WithHTTPClient(client *http.Client) *DirectPurchaseShipmentParams
WithHTTPClient adds the HTTPClient to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithLocale ¶
func (o *DirectPurchaseShipmentParams) WithLocale(locale *string) *DirectPurchaseShipmentParams
WithLocale adds the locale to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithTimeout ¶
func (o *DirectPurchaseShipmentParams) WithTimeout(timeout time.Duration) *DirectPurchaseShipmentParams
WithTimeout adds the timeout to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithXAmznIdempotencyKey ¶
func (o *DirectPurchaseShipmentParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *DirectPurchaseShipmentParams
WithXAmznIdempotencyKey adds the xAmznIdempotencyKey to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WithXAmznShippingBusinessID ¶
func (o *DirectPurchaseShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *DirectPurchaseShipmentParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the direct purchase shipment params
func (*DirectPurchaseShipmentParams) WriteToRequest ¶
func (o *DirectPurchaseShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DirectPurchaseShipmentReader ¶
type DirectPurchaseShipmentReader struct {
// contains filtered or unexported fields
}
DirectPurchaseShipmentReader is a Reader for the DirectPurchaseShipment structure.
func (*DirectPurchaseShipmentReader) ReadResponse ¶
func (o *DirectPurchaseShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DirectPurchaseShipmentRequestEntityTooLarge ¶
type DirectPurchaseShipmentRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewDirectPurchaseShipmentRequestEntityTooLarge ¶
func NewDirectPurchaseShipmentRequestEntityTooLarge() *DirectPurchaseShipmentRequestEntityTooLarge
NewDirectPurchaseShipmentRequestEntityTooLarge creates a DirectPurchaseShipmentRequestEntityTooLarge with default headers values
func (*DirectPurchaseShipmentRequestEntityTooLarge) Error ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) Error() string
func (*DirectPurchaseShipmentRequestEntityTooLarge) GetPayload ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentRequestEntityTooLarge) IsClientError ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this direct purchase shipment request entity too large response has a 4xx status code
func (*DirectPurchaseShipmentRequestEntityTooLarge) IsCode ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this direct purchase shipment request entity too large response a status code equal to that given
func (*DirectPurchaseShipmentRequestEntityTooLarge) IsRedirect ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment request entity too large response has a 3xx status code
func (*DirectPurchaseShipmentRequestEntityTooLarge) IsServerError ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this direct purchase shipment request entity too large response has a 5xx status code
func (*DirectPurchaseShipmentRequestEntityTooLarge) IsSuccess ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment request entity too large response has a 2xx status code
func (*DirectPurchaseShipmentRequestEntityTooLarge) String ¶
func (o *DirectPurchaseShipmentRequestEntityTooLarge) String() string
type DirectPurchaseShipmentServiceUnavailable ¶
type DirectPurchaseShipmentServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
DirectPurchaseShipmentServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewDirectPurchaseShipmentServiceUnavailable ¶
func NewDirectPurchaseShipmentServiceUnavailable() *DirectPurchaseShipmentServiceUnavailable
NewDirectPurchaseShipmentServiceUnavailable creates a DirectPurchaseShipmentServiceUnavailable with default headers values
func (*DirectPurchaseShipmentServiceUnavailable) Error ¶
func (o *DirectPurchaseShipmentServiceUnavailable) Error() string
func (*DirectPurchaseShipmentServiceUnavailable) GetPayload ¶
func (o *DirectPurchaseShipmentServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentServiceUnavailable) IsClientError ¶
func (o *DirectPurchaseShipmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this direct purchase shipment service unavailable response has a 4xx status code
func (*DirectPurchaseShipmentServiceUnavailable) IsCode ¶
func (o *DirectPurchaseShipmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this direct purchase shipment service unavailable response a status code equal to that given
func (*DirectPurchaseShipmentServiceUnavailable) IsRedirect ¶
func (o *DirectPurchaseShipmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment service unavailable response has a 3xx status code
func (*DirectPurchaseShipmentServiceUnavailable) IsServerError ¶
func (o *DirectPurchaseShipmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this direct purchase shipment service unavailable response has a 5xx status code
func (*DirectPurchaseShipmentServiceUnavailable) IsSuccess ¶
func (o *DirectPurchaseShipmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment service unavailable response has a 2xx status code
func (*DirectPurchaseShipmentServiceUnavailable) String ¶
func (o *DirectPurchaseShipmentServiceUnavailable) String() string
type DirectPurchaseShipmentTooManyRequests ¶
type DirectPurchaseShipmentTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewDirectPurchaseShipmentTooManyRequests ¶
func NewDirectPurchaseShipmentTooManyRequests() *DirectPurchaseShipmentTooManyRequests
NewDirectPurchaseShipmentTooManyRequests creates a DirectPurchaseShipmentTooManyRequests with default headers values
func (*DirectPurchaseShipmentTooManyRequests) Error ¶
func (o *DirectPurchaseShipmentTooManyRequests) Error() string
func (*DirectPurchaseShipmentTooManyRequests) GetPayload ¶
func (o *DirectPurchaseShipmentTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentTooManyRequests) IsClientError ¶
func (o *DirectPurchaseShipmentTooManyRequests) IsClientError() bool
IsClientError returns true when this direct purchase shipment too many requests response has a 4xx status code
func (*DirectPurchaseShipmentTooManyRequests) IsCode ¶
func (o *DirectPurchaseShipmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this direct purchase shipment too many requests response a status code equal to that given
func (*DirectPurchaseShipmentTooManyRequests) IsRedirect ¶
func (o *DirectPurchaseShipmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment too many requests response has a 3xx status code
func (*DirectPurchaseShipmentTooManyRequests) IsServerError ¶
func (o *DirectPurchaseShipmentTooManyRequests) IsServerError() bool
IsServerError returns true when this direct purchase shipment too many requests response has a 5xx status code
func (*DirectPurchaseShipmentTooManyRequests) IsSuccess ¶
func (o *DirectPurchaseShipmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment too many requests response has a 2xx status code
func (*DirectPurchaseShipmentTooManyRequests) String ¶
func (o *DirectPurchaseShipmentTooManyRequests) String() string
type DirectPurchaseShipmentUnauthorized ¶
DirectPurchaseShipmentUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewDirectPurchaseShipmentUnauthorized ¶
func NewDirectPurchaseShipmentUnauthorized() *DirectPurchaseShipmentUnauthorized
NewDirectPurchaseShipmentUnauthorized creates a DirectPurchaseShipmentUnauthorized with default headers values
func (*DirectPurchaseShipmentUnauthorized) Error ¶
func (o *DirectPurchaseShipmentUnauthorized) Error() string
func (*DirectPurchaseShipmentUnauthorized) GetPayload ¶
func (o *DirectPurchaseShipmentUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentUnauthorized) IsClientError ¶
func (o *DirectPurchaseShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this direct purchase shipment unauthorized response has a 4xx status code
func (*DirectPurchaseShipmentUnauthorized) IsCode ¶
func (o *DirectPurchaseShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this direct purchase shipment unauthorized response a status code equal to that given
func (*DirectPurchaseShipmentUnauthorized) IsRedirect ¶
func (o *DirectPurchaseShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment unauthorized response has a 3xx status code
func (*DirectPurchaseShipmentUnauthorized) IsServerError ¶
func (o *DirectPurchaseShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this direct purchase shipment unauthorized response has a 5xx status code
func (*DirectPurchaseShipmentUnauthorized) IsSuccess ¶
func (o *DirectPurchaseShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment unauthorized response has a 2xx status code
func (*DirectPurchaseShipmentUnauthorized) String ¶
func (o *DirectPurchaseShipmentUnauthorized) String() string
type DirectPurchaseShipmentUnsupportedMediaType ¶
type DirectPurchaseShipmentUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
DirectPurchaseShipmentUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewDirectPurchaseShipmentUnsupportedMediaType ¶
func NewDirectPurchaseShipmentUnsupportedMediaType() *DirectPurchaseShipmentUnsupportedMediaType
NewDirectPurchaseShipmentUnsupportedMediaType creates a DirectPurchaseShipmentUnsupportedMediaType with default headers values
func (*DirectPurchaseShipmentUnsupportedMediaType) Error ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) Error() string
func (*DirectPurchaseShipmentUnsupportedMediaType) GetPayload ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*DirectPurchaseShipmentUnsupportedMediaType) IsClientError ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this direct purchase shipment unsupported media type response has a 4xx status code
func (*DirectPurchaseShipmentUnsupportedMediaType) IsCode ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this direct purchase shipment unsupported media type response a status code equal to that given
func (*DirectPurchaseShipmentUnsupportedMediaType) IsRedirect ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this direct purchase shipment unsupported media type response has a 3xx status code
func (*DirectPurchaseShipmentUnsupportedMediaType) IsServerError ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this direct purchase shipment unsupported media type response has a 5xx status code
func (*DirectPurchaseShipmentUnsupportedMediaType) IsSuccess ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this direct purchase shipment unsupported media type response has a 2xx status code
func (*DirectPurchaseShipmentUnsupportedMediaType) String ¶
func (o *DirectPurchaseShipmentUnsupportedMediaType) String() string
type GenerateCollectionFormBadRequest ¶
type GenerateCollectionFormBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGenerateCollectionFormBadRequest ¶
func NewGenerateCollectionFormBadRequest() *GenerateCollectionFormBadRequest
NewGenerateCollectionFormBadRequest creates a GenerateCollectionFormBadRequest with default headers values
func (*GenerateCollectionFormBadRequest) Error ¶
func (o *GenerateCollectionFormBadRequest) Error() string
func (*GenerateCollectionFormBadRequest) GetPayload ¶
func (o *GenerateCollectionFormBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormBadRequest) IsClientError ¶
func (o *GenerateCollectionFormBadRequest) IsClientError() bool
IsClientError returns true when this generate collection form bad request response has a 4xx status code
func (*GenerateCollectionFormBadRequest) IsCode ¶
func (o *GenerateCollectionFormBadRequest) IsCode(code int) bool
IsCode returns true when this generate collection form bad request response a status code equal to that given
func (*GenerateCollectionFormBadRequest) IsRedirect ¶
func (o *GenerateCollectionFormBadRequest) IsRedirect() bool
IsRedirect returns true when this generate collection form bad request response has a 3xx status code
func (*GenerateCollectionFormBadRequest) IsServerError ¶
func (o *GenerateCollectionFormBadRequest) IsServerError() bool
IsServerError returns true when this generate collection form bad request response has a 5xx status code
func (*GenerateCollectionFormBadRequest) IsSuccess ¶
func (o *GenerateCollectionFormBadRequest) IsSuccess() bool
IsSuccess returns true when this generate collection form bad request response has a 2xx status code
func (*GenerateCollectionFormBadRequest) String ¶
func (o *GenerateCollectionFormBadRequest) String() string
type GenerateCollectionFormForbidden ¶
type GenerateCollectionFormForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGenerateCollectionFormForbidden ¶
func NewGenerateCollectionFormForbidden() *GenerateCollectionFormForbidden
NewGenerateCollectionFormForbidden creates a GenerateCollectionFormForbidden with default headers values
func (*GenerateCollectionFormForbidden) Error ¶
func (o *GenerateCollectionFormForbidden) Error() string
func (*GenerateCollectionFormForbidden) GetPayload ¶
func (o *GenerateCollectionFormForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormForbidden) IsClientError ¶
func (o *GenerateCollectionFormForbidden) IsClientError() bool
IsClientError returns true when this generate collection form forbidden response has a 4xx status code
func (*GenerateCollectionFormForbidden) IsCode ¶
func (o *GenerateCollectionFormForbidden) IsCode(code int) bool
IsCode returns true when this generate collection form forbidden response a status code equal to that given
func (*GenerateCollectionFormForbidden) IsRedirect ¶
func (o *GenerateCollectionFormForbidden) IsRedirect() bool
IsRedirect returns true when this generate collection form forbidden response has a 3xx status code
func (*GenerateCollectionFormForbidden) IsServerError ¶
func (o *GenerateCollectionFormForbidden) IsServerError() bool
IsServerError returns true when this generate collection form forbidden response has a 5xx status code
func (*GenerateCollectionFormForbidden) IsSuccess ¶
func (o *GenerateCollectionFormForbidden) IsSuccess() bool
IsSuccess returns true when this generate collection form forbidden response has a 2xx status code
func (*GenerateCollectionFormForbidden) String ¶
func (o *GenerateCollectionFormForbidden) String() string
type GenerateCollectionFormInternalServerError ¶
type GenerateCollectionFormInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGenerateCollectionFormInternalServerError ¶
func NewGenerateCollectionFormInternalServerError() *GenerateCollectionFormInternalServerError
NewGenerateCollectionFormInternalServerError creates a GenerateCollectionFormInternalServerError with default headers values
func (*GenerateCollectionFormInternalServerError) Error ¶
func (o *GenerateCollectionFormInternalServerError) Error() string
func (*GenerateCollectionFormInternalServerError) GetPayload ¶
func (o *GenerateCollectionFormInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormInternalServerError) IsClientError ¶
func (o *GenerateCollectionFormInternalServerError) IsClientError() bool
IsClientError returns true when this generate collection form internal server error response has a 4xx status code
func (*GenerateCollectionFormInternalServerError) IsCode ¶
func (o *GenerateCollectionFormInternalServerError) IsCode(code int) bool
IsCode returns true when this generate collection form internal server error response a status code equal to that given
func (*GenerateCollectionFormInternalServerError) IsRedirect ¶
func (o *GenerateCollectionFormInternalServerError) IsRedirect() bool
IsRedirect returns true when this generate collection form internal server error response has a 3xx status code
func (*GenerateCollectionFormInternalServerError) IsServerError ¶
func (o *GenerateCollectionFormInternalServerError) IsServerError() bool
IsServerError returns true when this generate collection form internal server error response has a 5xx status code
func (*GenerateCollectionFormInternalServerError) IsSuccess ¶
func (o *GenerateCollectionFormInternalServerError) IsSuccess() bool
IsSuccess returns true when this generate collection form internal server error response has a 2xx status code
func (*GenerateCollectionFormInternalServerError) String ¶
func (o *GenerateCollectionFormInternalServerError) String() string
type GenerateCollectionFormNotFound ¶
type GenerateCollectionFormNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGenerateCollectionFormNotFound ¶
func NewGenerateCollectionFormNotFound() *GenerateCollectionFormNotFound
NewGenerateCollectionFormNotFound creates a GenerateCollectionFormNotFound with default headers values
func (*GenerateCollectionFormNotFound) Error ¶
func (o *GenerateCollectionFormNotFound) Error() string
func (*GenerateCollectionFormNotFound) GetPayload ¶
func (o *GenerateCollectionFormNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormNotFound) IsClientError ¶
func (o *GenerateCollectionFormNotFound) IsClientError() bool
IsClientError returns true when this generate collection form not found response has a 4xx status code
func (*GenerateCollectionFormNotFound) IsCode ¶
func (o *GenerateCollectionFormNotFound) IsCode(code int) bool
IsCode returns true when this generate collection form not found response a status code equal to that given
func (*GenerateCollectionFormNotFound) IsRedirect ¶
func (o *GenerateCollectionFormNotFound) IsRedirect() bool
IsRedirect returns true when this generate collection form not found response has a 3xx status code
func (*GenerateCollectionFormNotFound) IsServerError ¶
func (o *GenerateCollectionFormNotFound) IsServerError() bool
IsServerError returns true when this generate collection form not found response has a 5xx status code
func (*GenerateCollectionFormNotFound) IsSuccess ¶
func (o *GenerateCollectionFormNotFound) IsSuccess() bool
IsSuccess returns true when this generate collection form not found response has a 2xx status code
func (*GenerateCollectionFormNotFound) String ¶
func (o *GenerateCollectionFormNotFound) String() string
type GenerateCollectionFormOK ¶
type GenerateCollectionFormOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GenerateCollectionFormResponse }
GenerateCollectionFormOK describes a response with status code 200, with default header values.
Success.
func NewGenerateCollectionFormOK ¶
func NewGenerateCollectionFormOK() *GenerateCollectionFormOK
NewGenerateCollectionFormOK creates a GenerateCollectionFormOK with default headers values
func (*GenerateCollectionFormOK) Error ¶
func (o *GenerateCollectionFormOK) Error() string
func (*GenerateCollectionFormOK) GetPayload ¶
func (o *GenerateCollectionFormOK) GetPayload() *shipping_v2_models.GenerateCollectionFormResponse
func (*GenerateCollectionFormOK) IsClientError ¶
func (o *GenerateCollectionFormOK) IsClientError() bool
IsClientError returns true when this generate collection form o k response has a 4xx status code
func (*GenerateCollectionFormOK) IsCode ¶
func (o *GenerateCollectionFormOK) IsCode(code int) bool
IsCode returns true when this generate collection form o k response a status code equal to that given
func (*GenerateCollectionFormOK) IsRedirect ¶
func (o *GenerateCollectionFormOK) IsRedirect() bool
IsRedirect returns true when this generate collection form o k response has a 3xx status code
func (*GenerateCollectionFormOK) IsServerError ¶
func (o *GenerateCollectionFormOK) IsServerError() bool
IsServerError returns true when this generate collection form o k response has a 5xx status code
func (*GenerateCollectionFormOK) IsSuccess ¶
func (o *GenerateCollectionFormOK) IsSuccess() bool
IsSuccess returns true when this generate collection form o k response has a 2xx status code
func (*GenerateCollectionFormOK) String ¶
func (o *GenerateCollectionFormOK) String() string
type GenerateCollectionFormParams ¶
type GenerateCollectionFormParams struct { // Body. Body *shipping_v2_models.GenerateCollectionFormRequest /* XAmznIdempotencyKey. A unique value which the server uses to recognize subsequent retries of the same request. */ XAmznIdempotencyKey *string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateCollectionFormParams contains all the parameters to send to the API endpoint
for the generate collection form operation. Typically these are written to a http.Request.
func NewGenerateCollectionFormParams ¶
func NewGenerateCollectionFormParams() *GenerateCollectionFormParams
NewGenerateCollectionFormParams creates a new GenerateCollectionFormParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGenerateCollectionFormParamsWithContext ¶
func NewGenerateCollectionFormParamsWithContext(ctx context.Context) *GenerateCollectionFormParams
NewGenerateCollectionFormParamsWithContext creates a new GenerateCollectionFormParams object with the ability to set a context for a request.
func NewGenerateCollectionFormParamsWithHTTPClient ¶
func NewGenerateCollectionFormParamsWithHTTPClient(client *http.Client) *GenerateCollectionFormParams
NewGenerateCollectionFormParamsWithHTTPClient creates a new GenerateCollectionFormParams object with the ability to set a custom HTTPClient for a request.
func NewGenerateCollectionFormParamsWithTimeout ¶
func NewGenerateCollectionFormParamsWithTimeout(timeout time.Duration) *GenerateCollectionFormParams
NewGenerateCollectionFormParamsWithTimeout creates a new GenerateCollectionFormParams object with the ability to set a timeout on a request.
func (*GenerateCollectionFormParams) SetBody ¶
func (o *GenerateCollectionFormParams) SetBody(body *shipping_v2_models.GenerateCollectionFormRequest)
SetBody adds the body to the generate collection form params
func (*GenerateCollectionFormParams) SetContext ¶
func (o *GenerateCollectionFormParams) SetContext(ctx context.Context)
SetContext adds the context to the generate collection form params
func (*GenerateCollectionFormParams) SetDefaults ¶
func (o *GenerateCollectionFormParams) SetDefaults()
SetDefaults hydrates default values in the generate collection form params (not the query body).
All values with no default are reset to their zero value.
func (*GenerateCollectionFormParams) SetHTTPClient ¶
func (o *GenerateCollectionFormParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate collection form params
func (*GenerateCollectionFormParams) SetTimeout ¶
func (o *GenerateCollectionFormParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate collection form params
func (*GenerateCollectionFormParams) SetXAmznIdempotencyKey ¶
func (o *GenerateCollectionFormParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)
SetXAmznIdempotencyKey adds the xAmznIdempotencyKey to the generate collection form params
func (*GenerateCollectionFormParams) SetXAmznShippingBusinessID ¶
func (o *GenerateCollectionFormParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the generate collection form params
func (*GenerateCollectionFormParams) WithBody ¶
func (o *GenerateCollectionFormParams) WithBody(body *shipping_v2_models.GenerateCollectionFormRequest) *GenerateCollectionFormParams
WithBody adds the body to the generate collection form params
func (*GenerateCollectionFormParams) WithContext ¶
func (o *GenerateCollectionFormParams) WithContext(ctx context.Context) *GenerateCollectionFormParams
WithContext adds the context to the generate collection form params
func (*GenerateCollectionFormParams) WithDefaults ¶
func (o *GenerateCollectionFormParams) WithDefaults() *GenerateCollectionFormParams
WithDefaults hydrates default values in the generate collection form params (not the query body).
All values with no default are reset to their zero value.
func (*GenerateCollectionFormParams) WithHTTPClient ¶
func (o *GenerateCollectionFormParams) WithHTTPClient(client *http.Client) *GenerateCollectionFormParams
WithHTTPClient adds the HTTPClient to the generate collection form params
func (*GenerateCollectionFormParams) WithTimeout ¶
func (o *GenerateCollectionFormParams) WithTimeout(timeout time.Duration) *GenerateCollectionFormParams
WithTimeout adds the timeout to the generate collection form params
func (*GenerateCollectionFormParams) WithXAmznIdempotencyKey ¶
func (o *GenerateCollectionFormParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *GenerateCollectionFormParams
WithXAmznIdempotencyKey adds the xAmznIdempotencyKey to the generate collection form params
func (*GenerateCollectionFormParams) WithXAmznShippingBusinessID ¶
func (o *GenerateCollectionFormParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GenerateCollectionFormParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the generate collection form params
func (*GenerateCollectionFormParams) WriteToRequest ¶
func (o *GenerateCollectionFormParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateCollectionFormReader ¶
type GenerateCollectionFormReader struct {
// contains filtered or unexported fields
}
GenerateCollectionFormReader is a Reader for the GenerateCollectionForm structure.
func (*GenerateCollectionFormReader) ReadResponse ¶
func (o *GenerateCollectionFormReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateCollectionFormRequestEntityTooLarge ¶
type GenerateCollectionFormRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGenerateCollectionFormRequestEntityTooLarge ¶
func NewGenerateCollectionFormRequestEntityTooLarge() *GenerateCollectionFormRequestEntityTooLarge
NewGenerateCollectionFormRequestEntityTooLarge creates a GenerateCollectionFormRequestEntityTooLarge with default headers values
func (*GenerateCollectionFormRequestEntityTooLarge) Error ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) Error() string
func (*GenerateCollectionFormRequestEntityTooLarge) GetPayload ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormRequestEntityTooLarge) IsClientError ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this generate collection form request entity too large response has a 4xx status code
func (*GenerateCollectionFormRequestEntityTooLarge) IsCode ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this generate collection form request entity too large response a status code equal to that given
func (*GenerateCollectionFormRequestEntityTooLarge) IsRedirect ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this generate collection form request entity too large response has a 3xx status code
func (*GenerateCollectionFormRequestEntityTooLarge) IsServerError ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this generate collection form request entity too large response has a 5xx status code
func (*GenerateCollectionFormRequestEntityTooLarge) IsSuccess ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this generate collection form request entity too large response has a 2xx status code
func (*GenerateCollectionFormRequestEntityTooLarge) String ¶
func (o *GenerateCollectionFormRequestEntityTooLarge) String() string
type GenerateCollectionFormServiceUnavailable ¶
type GenerateCollectionFormServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GenerateCollectionFormServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGenerateCollectionFormServiceUnavailable ¶
func NewGenerateCollectionFormServiceUnavailable() *GenerateCollectionFormServiceUnavailable
NewGenerateCollectionFormServiceUnavailable creates a GenerateCollectionFormServiceUnavailable with default headers values
func (*GenerateCollectionFormServiceUnavailable) Error ¶
func (o *GenerateCollectionFormServiceUnavailable) Error() string
func (*GenerateCollectionFormServiceUnavailable) GetPayload ¶
func (o *GenerateCollectionFormServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormServiceUnavailable) IsClientError ¶
func (o *GenerateCollectionFormServiceUnavailable) IsClientError() bool
IsClientError returns true when this generate collection form service unavailable response has a 4xx status code
func (*GenerateCollectionFormServiceUnavailable) IsCode ¶
func (o *GenerateCollectionFormServiceUnavailable) IsCode(code int) bool
IsCode returns true when this generate collection form service unavailable response a status code equal to that given
func (*GenerateCollectionFormServiceUnavailable) IsRedirect ¶
func (o *GenerateCollectionFormServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this generate collection form service unavailable response has a 3xx status code
func (*GenerateCollectionFormServiceUnavailable) IsServerError ¶
func (o *GenerateCollectionFormServiceUnavailable) IsServerError() bool
IsServerError returns true when this generate collection form service unavailable response has a 5xx status code
func (*GenerateCollectionFormServiceUnavailable) IsSuccess ¶
func (o *GenerateCollectionFormServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this generate collection form service unavailable response has a 2xx status code
func (*GenerateCollectionFormServiceUnavailable) String ¶
func (o *GenerateCollectionFormServiceUnavailable) String() string
type GenerateCollectionFormTooManyRequests ¶
type GenerateCollectionFormTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGenerateCollectionFormTooManyRequests ¶
func NewGenerateCollectionFormTooManyRequests() *GenerateCollectionFormTooManyRequests
NewGenerateCollectionFormTooManyRequests creates a GenerateCollectionFormTooManyRequests with default headers values
func (*GenerateCollectionFormTooManyRequests) Error ¶
func (o *GenerateCollectionFormTooManyRequests) Error() string
func (*GenerateCollectionFormTooManyRequests) GetPayload ¶
func (o *GenerateCollectionFormTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormTooManyRequests) IsClientError ¶
func (o *GenerateCollectionFormTooManyRequests) IsClientError() bool
IsClientError returns true when this generate collection form too many requests response has a 4xx status code
func (*GenerateCollectionFormTooManyRequests) IsCode ¶
func (o *GenerateCollectionFormTooManyRequests) IsCode(code int) bool
IsCode returns true when this generate collection form too many requests response a status code equal to that given
func (*GenerateCollectionFormTooManyRequests) IsRedirect ¶
func (o *GenerateCollectionFormTooManyRequests) IsRedirect() bool
IsRedirect returns true when this generate collection form too many requests response has a 3xx status code
func (*GenerateCollectionFormTooManyRequests) IsServerError ¶
func (o *GenerateCollectionFormTooManyRequests) IsServerError() bool
IsServerError returns true when this generate collection form too many requests response has a 5xx status code
func (*GenerateCollectionFormTooManyRequests) IsSuccess ¶
func (o *GenerateCollectionFormTooManyRequests) IsSuccess() bool
IsSuccess returns true when this generate collection form too many requests response has a 2xx status code
func (*GenerateCollectionFormTooManyRequests) String ¶
func (o *GenerateCollectionFormTooManyRequests) String() string
type GenerateCollectionFormUnauthorized ¶
GenerateCollectionFormUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGenerateCollectionFormUnauthorized ¶
func NewGenerateCollectionFormUnauthorized() *GenerateCollectionFormUnauthorized
NewGenerateCollectionFormUnauthorized creates a GenerateCollectionFormUnauthorized with default headers values
func (*GenerateCollectionFormUnauthorized) Error ¶
func (o *GenerateCollectionFormUnauthorized) Error() string
func (*GenerateCollectionFormUnauthorized) GetPayload ¶
func (o *GenerateCollectionFormUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormUnauthorized) IsClientError ¶
func (o *GenerateCollectionFormUnauthorized) IsClientError() bool
IsClientError returns true when this generate collection form unauthorized response has a 4xx status code
func (*GenerateCollectionFormUnauthorized) IsCode ¶
func (o *GenerateCollectionFormUnauthorized) IsCode(code int) bool
IsCode returns true when this generate collection form unauthorized response a status code equal to that given
func (*GenerateCollectionFormUnauthorized) IsRedirect ¶
func (o *GenerateCollectionFormUnauthorized) IsRedirect() bool
IsRedirect returns true when this generate collection form unauthorized response has a 3xx status code
func (*GenerateCollectionFormUnauthorized) IsServerError ¶
func (o *GenerateCollectionFormUnauthorized) IsServerError() bool
IsServerError returns true when this generate collection form unauthorized response has a 5xx status code
func (*GenerateCollectionFormUnauthorized) IsSuccess ¶
func (o *GenerateCollectionFormUnauthorized) IsSuccess() bool
IsSuccess returns true when this generate collection form unauthorized response has a 2xx status code
func (*GenerateCollectionFormUnauthorized) String ¶
func (o *GenerateCollectionFormUnauthorized) String() string
type GenerateCollectionFormUnsupportedMediaType ¶
type GenerateCollectionFormUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GenerateCollectionFormUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGenerateCollectionFormUnsupportedMediaType ¶
func NewGenerateCollectionFormUnsupportedMediaType() *GenerateCollectionFormUnsupportedMediaType
NewGenerateCollectionFormUnsupportedMediaType creates a GenerateCollectionFormUnsupportedMediaType with default headers values
func (*GenerateCollectionFormUnsupportedMediaType) Error ¶
func (o *GenerateCollectionFormUnsupportedMediaType) Error() string
func (*GenerateCollectionFormUnsupportedMediaType) GetPayload ¶
func (o *GenerateCollectionFormUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GenerateCollectionFormUnsupportedMediaType) IsClientError ¶
func (o *GenerateCollectionFormUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this generate collection form unsupported media type response has a 4xx status code
func (*GenerateCollectionFormUnsupportedMediaType) IsCode ¶
func (o *GenerateCollectionFormUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this generate collection form unsupported media type response a status code equal to that given
func (*GenerateCollectionFormUnsupportedMediaType) IsRedirect ¶
func (o *GenerateCollectionFormUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this generate collection form unsupported media type response has a 3xx status code
func (*GenerateCollectionFormUnsupportedMediaType) IsServerError ¶
func (o *GenerateCollectionFormUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this generate collection form unsupported media type response has a 5xx status code
func (*GenerateCollectionFormUnsupportedMediaType) IsSuccess ¶
func (o *GenerateCollectionFormUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this generate collection form unsupported media type response has a 2xx status code
func (*GenerateCollectionFormUnsupportedMediaType) String ¶
func (o *GenerateCollectionFormUnsupportedMediaType) String() string
type GetAccessPointsBadRequest ¶
type GetAccessPointsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetAccessPointsBadRequest ¶
func NewGetAccessPointsBadRequest() *GetAccessPointsBadRequest
NewGetAccessPointsBadRequest creates a GetAccessPointsBadRequest with default headers values
func (*GetAccessPointsBadRequest) Error ¶
func (o *GetAccessPointsBadRequest) Error() string
func (*GetAccessPointsBadRequest) GetPayload ¶
func (o *GetAccessPointsBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsBadRequest) IsClientError ¶
func (o *GetAccessPointsBadRequest) IsClientError() bool
IsClientError returns true when this get access points bad request response has a 4xx status code
func (*GetAccessPointsBadRequest) IsCode ¶
func (o *GetAccessPointsBadRequest) IsCode(code int) bool
IsCode returns true when this get access points bad request response a status code equal to that given
func (*GetAccessPointsBadRequest) IsRedirect ¶
func (o *GetAccessPointsBadRequest) IsRedirect() bool
IsRedirect returns true when this get access points bad request response has a 3xx status code
func (*GetAccessPointsBadRequest) IsServerError ¶
func (o *GetAccessPointsBadRequest) IsServerError() bool
IsServerError returns true when this get access points bad request response has a 5xx status code
func (*GetAccessPointsBadRequest) IsSuccess ¶
func (o *GetAccessPointsBadRequest) IsSuccess() bool
IsSuccess returns true when this get access points bad request response has a 2xx status code
func (*GetAccessPointsBadRequest) String ¶
func (o *GetAccessPointsBadRequest) String() string
type GetAccessPointsForbidden ¶
type GetAccessPointsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetAccessPointsForbidden ¶
func NewGetAccessPointsForbidden() *GetAccessPointsForbidden
NewGetAccessPointsForbidden creates a GetAccessPointsForbidden with default headers values
func (*GetAccessPointsForbidden) Error ¶
func (o *GetAccessPointsForbidden) Error() string
func (*GetAccessPointsForbidden) GetPayload ¶
func (o *GetAccessPointsForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsForbidden) IsClientError ¶
func (o *GetAccessPointsForbidden) IsClientError() bool
IsClientError returns true when this get access points forbidden response has a 4xx status code
func (*GetAccessPointsForbidden) IsCode ¶
func (o *GetAccessPointsForbidden) IsCode(code int) bool
IsCode returns true when this get access points forbidden response a status code equal to that given
func (*GetAccessPointsForbidden) IsRedirect ¶
func (o *GetAccessPointsForbidden) IsRedirect() bool
IsRedirect returns true when this get access points forbidden response has a 3xx status code
func (*GetAccessPointsForbidden) IsServerError ¶
func (o *GetAccessPointsForbidden) IsServerError() bool
IsServerError returns true when this get access points forbidden response has a 5xx status code
func (*GetAccessPointsForbidden) IsSuccess ¶
func (o *GetAccessPointsForbidden) IsSuccess() bool
IsSuccess returns true when this get access points forbidden response has a 2xx status code
func (*GetAccessPointsForbidden) String ¶
func (o *GetAccessPointsForbidden) String() string
type GetAccessPointsInternalServerError ¶
type GetAccessPointsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetAccessPointsInternalServerError ¶
func NewGetAccessPointsInternalServerError() *GetAccessPointsInternalServerError
NewGetAccessPointsInternalServerError creates a GetAccessPointsInternalServerError with default headers values
func (*GetAccessPointsInternalServerError) Error ¶
func (o *GetAccessPointsInternalServerError) Error() string
func (*GetAccessPointsInternalServerError) GetPayload ¶
func (o *GetAccessPointsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsInternalServerError) IsClientError ¶
func (o *GetAccessPointsInternalServerError) IsClientError() bool
IsClientError returns true when this get access points internal server error response has a 4xx status code
func (*GetAccessPointsInternalServerError) IsCode ¶
func (o *GetAccessPointsInternalServerError) IsCode(code int) bool
IsCode returns true when this get access points internal server error response a status code equal to that given
func (*GetAccessPointsInternalServerError) IsRedirect ¶
func (o *GetAccessPointsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get access points internal server error response has a 3xx status code
func (*GetAccessPointsInternalServerError) IsServerError ¶
func (o *GetAccessPointsInternalServerError) IsServerError() bool
IsServerError returns true when this get access points internal server error response has a 5xx status code
func (*GetAccessPointsInternalServerError) IsSuccess ¶
func (o *GetAccessPointsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get access points internal server error response has a 2xx status code
func (*GetAccessPointsInternalServerError) String ¶
func (o *GetAccessPointsInternalServerError) String() string
type GetAccessPointsNotFound ¶
type GetAccessPointsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetAccessPointsNotFound ¶
func NewGetAccessPointsNotFound() *GetAccessPointsNotFound
NewGetAccessPointsNotFound creates a GetAccessPointsNotFound with default headers values
func (*GetAccessPointsNotFound) Error ¶
func (o *GetAccessPointsNotFound) Error() string
func (*GetAccessPointsNotFound) GetPayload ¶
func (o *GetAccessPointsNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsNotFound) IsClientError ¶
func (o *GetAccessPointsNotFound) IsClientError() bool
IsClientError returns true when this get access points not found response has a 4xx status code
func (*GetAccessPointsNotFound) IsCode ¶
func (o *GetAccessPointsNotFound) IsCode(code int) bool
IsCode returns true when this get access points not found response a status code equal to that given
func (*GetAccessPointsNotFound) IsRedirect ¶
func (o *GetAccessPointsNotFound) IsRedirect() bool
IsRedirect returns true when this get access points not found response has a 3xx status code
func (*GetAccessPointsNotFound) IsServerError ¶
func (o *GetAccessPointsNotFound) IsServerError() bool
IsServerError returns true when this get access points not found response has a 5xx status code
func (*GetAccessPointsNotFound) IsSuccess ¶
func (o *GetAccessPointsNotFound) IsSuccess() bool
IsSuccess returns true when this get access points not found response has a 2xx status code
func (*GetAccessPointsNotFound) String ¶
func (o *GetAccessPointsNotFound) String() string
type GetAccessPointsOK ¶
type GetAccessPointsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetAccessPointsResponse }
GetAccessPointsOK describes a response with status code 200, with default header values.
Success.
func NewGetAccessPointsOK ¶
func NewGetAccessPointsOK() *GetAccessPointsOK
NewGetAccessPointsOK creates a GetAccessPointsOK with default headers values
func (*GetAccessPointsOK) Error ¶
func (o *GetAccessPointsOK) Error() string
func (*GetAccessPointsOK) GetPayload ¶
func (o *GetAccessPointsOK) GetPayload() *shipping_v2_models.GetAccessPointsResponse
func (*GetAccessPointsOK) IsClientError ¶
func (o *GetAccessPointsOK) IsClientError() bool
IsClientError returns true when this get access points o k response has a 4xx status code
func (*GetAccessPointsOK) IsCode ¶
func (o *GetAccessPointsOK) IsCode(code int) bool
IsCode returns true when this get access points o k response a status code equal to that given
func (*GetAccessPointsOK) IsRedirect ¶
func (o *GetAccessPointsOK) IsRedirect() bool
IsRedirect returns true when this get access points o k response has a 3xx status code
func (*GetAccessPointsOK) IsServerError ¶
func (o *GetAccessPointsOK) IsServerError() bool
IsServerError returns true when this get access points o k response has a 5xx status code
func (*GetAccessPointsOK) IsSuccess ¶
func (o *GetAccessPointsOK) IsSuccess() bool
IsSuccess returns true when this get access points o k response has a 2xx status code
func (*GetAccessPointsOK) String ¶
func (o *GetAccessPointsOK) String() string
type GetAccessPointsParams ¶
type GetAccessPointsParams struct { // AccessPointTypes. AccessPointTypes []string // CountryCode. CountryCode string // PostalCode. PostalCode string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessPointsParams contains all the parameters to send to the API endpoint
for the get access points operation. Typically these are written to a http.Request.
func NewGetAccessPointsParams ¶
func NewGetAccessPointsParams() *GetAccessPointsParams
NewGetAccessPointsParams creates a new GetAccessPointsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAccessPointsParamsWithContext ¶
func NewGetAccessPointsParamsWithContext(ctx context.Context) *GetAccessPointsParams
NewGetAccessPointsParamsWithContext creates a new GetAccessPointsParams object with the ability to set a context for a request.
func NewGetAccessPointsParamsWithHTTPClient ¶
func NewGetAccessPointsParamsWithHTTPClient(client *http.Client) *GetAccessPointsParams
NewGetAccessPointsParamsWithHTTPClient creates a new GetAccessPointsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccessPointsParamsWithTimeout ¶
func NewGetAccessPointsParamsWithTimeout(timeout time.Duration) *GetAccessPointsParams
NewGetAccessPointsParamsWithTimeout creates a new GetAccessPointsParams object with the ability to set a timeout on a request.
func (*GetAccessPointsParams) SetAccessPointTypes ¶
func (o *GetAccessPointsParams) SetAccessPointTypes(accessPointTypes []string)
SetAccessPointTypes adds the accessPointTypes to the get access points params
func (*GetAccessPointsParams) SetContext ¶
func (o *GetAccessPointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get access points params
func (*GetAccessPointsParams) SetCountryCode ¶
func (o *GetAccessPointsParams) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the get access points params
func (*GetAccessPointsParams) SetDefaults ¶
func (o *GetAccessPointsParams) SetDefaults()
SetDefaults hydrates default values in the get access points params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPointsParams) SetHTTPClient ¶
func (o *GetAccessPointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access points params
func (*GetAccessPointsParams) SetPostalCode ¶
func (o *GetAccessPointsParams) SetPostalCode(postalCode string)
SetPostalCode adds the postalCode to the get access points params
func (*GetAccessPointsParams) SetTimeout ¶
func (o *GetAccessPointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access points params
func (*GetAccessPointsParams) SetXAmznShippingBusinessID ¶
func (o *GetAccessPointsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get access points params
func (*GetAccessPointsParams) WithAccessPointTypes ¶
func (o *GetAccessPointsParams) WithAccessPointTypes(accessPointTypes []string) *GetAccessPointsParams
WithAccessPointTypes adds the accessPointTypes to the get access points params
func (*GetAccessPointsParams) WithContext ¶
func (o *GetAccessPointsParams) WithContext(ctx context.Context) *GetAccessPointsParams
WithContext adds the context to the get access points params
func (*GetAccessPointsParams) WithCountryCode ¶
func (o *GetAccessPointsParams) WithCountryCode(countryCode string) *GetAccessPointsParams
WithCountryCode adds the countryCode to the get access points params
func (*GetAccessPointsParams) WithDefaults ¶
func (o *GetAccessPointsParams) WithDefaults() *GetAccessPointsParams
WithDefaults hydrates default values in the get access points params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccessPointsParams) WithHTTPClient ¶
func (o *GetAccessPointsParams) WithHTTPClient(client *http.Client) *GetAccessPointsParams
WithHTTPClient adds the HTTPClient to the get access points params
func (*GetAccessPointsParams) WithPostalCode ¶
func (o *GetAccessPointsParams) WithPostalCode(postalCode string) *GetAccessPointsParams
WithPostalCode adds the postalCode to the get access points params
func (*GetAccessPointsParams) WithTimeout ¶
func (o *GetAccessPointsParams) WithTimeout(timeout time.Duration) *GetAccessPointsParams
WithTimeout adds the timeout to the get access points params
func (*GetAccessPointsParams) WithXAmznShippingBusinessID ¶
func (o *GetAccessPointsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetAccessPointsParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get access points params
func (*GetAccessPointsParams) WriteToRequest ¶
func (o *GetAccessPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessPointsReader ¶
type GetAccessPointsReader struct {
// contains filtered or unexported fields
}
GetAccessPointsReader is a Reader for the GetAccessPoints structure.
func (*GetAccessPointsReader) ReadResponse ¶
func (o *GetAccessPointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessPointsRequestEntityTooLarge ¶
type GetAccessPointsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetAccessPointsRequestEntityTooLarge ¶
func NewGetAccessPointsRequestEntityTooLarge() *GetAccessPointsRequestEntityTooLarge
NewGetAccessPointsRequestEntityTooLarge creates a GetAccessPointsRequestEntityTooLarge with default headers values
func (*GetAccessPointsRequestEntityTooLarge) Error ¶
func (o *GetAccessPointsRequestEntityTooLarge) Error() string
func (*GetAccessPointsRequestEntityTooLarge) GetPayload ¶
func (o *GetAccessPointsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsRequestEntityTooLarge) IsClientError ¶
func (o *GetAccessPointsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get access points request entity too large response has a 4xx status code
func (*GetAccessPointsRequestEntityTooLarge) IsCode ¶
func (o *GetAccessPointsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get access points request entity too large response a status code equal to that given
func (*GetAccessPointsRequestEntityTooLarge) IsRedirect ¶
func (o *GetAccessPointsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get access points request entity too large response has a 3xx status code
func (*GetAccessPointsRequestEntityTooLarge) IsServerError ¶
func (o *GetAccessPointsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get access points request entity too large response has a 5xx status code
func (*GetAccessPointsRequestEntityTooLarge) IsSuccess ¶
func (o *GetAccessPointsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get access points request entity too large response has a 2xx status code
func (*GetAccessPointsRequestEntityTooLarge) String ¶
func (o *GetAccessPointsRequestEntityTooLarge) String() string
type GetAccessPointsServiceUnavailable ¶
GetAccessPointsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetAccessPointsServiceUnavailable ¶
func NewGetAccessPointsServiceUnavailable() *GetAccessPointsServiceUnavailable
NewGetAccessPointsServiceUnavailable creates a GetAccessPointsServiceUnavailable with default headers values
func (*GetAccessPointsServiceUnavailable) Error ¶
func (o *GetAccessPointsServiceUnavailable) Error() string
func (*GetAccessPointsServiceUnavailable) GetPayload ¶
func (o *GetAccessPointsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsServiceUnavailable) IsClientError ¶
func (o *GetAccessPointsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get access points service unavailable response has a 4xx status code
func (*GetAccessPointsServiceUnavailable) IsCode ¶
func (o *GetAccessPointsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get access points service unavailable response a status code equal to that given
func (*GetAccessPointsServiceUnavailable) IsRedirect ¶
func (o *GetAccessPointsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get access points service unavailable response has a 3xx status code
func (*GetAccessPointsServiceUnavailable) IsServerError ¶
func (o *GetAccessPointsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get access points service unavailable response has a 5xx status code
func (*GetAccessPointsServiceUnavailable) IsSuccess ¶
func (o *GetAccessPointsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get access points service unavailable response has a 2xx status code
func (*GetAccessPointsServiceUnavailable) String ¶
func (o *GetAccessPointsServiceUnavailable) String() string
type GetAccessPointsTooManyRequests ¶
type GetAccessPointsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetAccessPointsTooManyRequests ¶
func NewGetAccessPointsTooManyRequests() *GetAccessPointsTooManyRequests
NewGetAccessPointsTooManyRequests creates a GetAccessPointsTooManyRequests with default headers values
func (*GetAccessPointsTooManyRequests) Error ¶
func (o *GetAccessPointsTooManyRequests) Error() string
func (*GetAccessPointsTooManyRequests) GetPayload ¶
func (o *GetAccessPointsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsTooManyRequests) IsClientError ¶
func (o *GetAccessPointsTooManyRequests) IsClientError() bool
IsClientError returns true when this get access points too many requests response has a 4xx status code
func (*GetAccessPointsTooManyRequests) IsCode ¶
func (o *GetAccessPointsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get access points too many requests response a status code equal to that given
func (*GetAccessPointsTooManyRequests) IsRedirect ¶
func (o *GetAccessPointsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get access points too many requests response has a 3xx status code
func (*GetAccessPointsTooManyRequests) IsServerError ¶
func (o *GetAccessPointsTooManyRequests) IsServerError() bool
IsServerError returns true when this get access points too many requests response has a 5xx status code
func (*GetAccessPointsTooManyRequests) IsSuccess ¶
func (o *GetAccessPointsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get access points too many requests response has a 2xx status code
func (*GetAccessPointsTooManyRequests) String ¶
func (o *GetAccessPointsTooManyRequests) String() string
type GetAccessPointsUnauthorized ¶
GetAccessPointsUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetAccessPointsUnauthorized ¶
func NewGetAccessPointsUnauthorized() *GetAccessPointsUnauthorized
NewGetAccessPointsUnauthorized creates a GetAccessPointsUnauthorized with default headers values
func (*GetAccessPointsUnauthorized) Error ¶
func (o *GetAccessPointsUnauthorized) Error() string
func (*GetAccessPointsUnauthorized) GetPayload ¶
func (o *GetAccessPointsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsUnauthorized) IsClientError ¶
func (o *GetAccessPointsUnauthorized) IsClientError() bool
IsClientError returns true when this get access points unauthorized response has a 4xx status code
func (*GetAccessPointsUnauthorized) IsCode ¶
func (o *GetAccessPointsUnauthorized) IsCode(code int) bool
IsCode returns true when this get access points unauthorized response a status code equal to that given
func (*GetAccessPointsUnauthorized) IsRedirect ¶
func (o *GetAccessPointsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get access points unauthorized response has a 3xx status code
func (*GetAccessPointsUnauthorized) IsServerError ¶
func (o *GetAccessPointsUnauthorized) IsServerError() bool
IsServerError returns true when this get access points unauthorized response has a 5xx status code
func (*GetAccessPointsUnauthorized) IsSuccess ¶
func (o *GetAccessPointsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get access points unauthorized response has a 2xx status code
func (*GetAccessPointsUnauthorized) String ¶
func (o *GetAccessPointsUnauthorized) String() string
type GetAccessPointsUnsupportedMediaType ¶
type GetAccessPointsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAccessPointsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetAccessPointsUnsupportedMediaType ¶
func NewGetAccessPointsUnsupportedMediaType() *GetAccessPointsUnsupportedMediaType
NewGetAccessPointsUnsupportedMediaType creates a GetAccessPointsUnsupportedMediaType with default headers values
func (*GetAccessPointsUnsupportedMediaType) Error ¶
func (o *GetAccessPointsUnsupportedMediaType) Error() string
func (*GetAccessPointsUnsupportedMediaType) GetPayload ¶
func (o *GetAccessPointsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetAccessPointsUnsupportedMediaType) IsClientError ¶
func (o *GetAccessPointsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get access points unsupported media type response has a 4xx status code
func (*GetAccessPointsUnsupportedMediaType) IsCode ¶
func (o *GetAccessPointsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get access points unsupported media type response a status code equal to that given
func (*GetAccessPointsUnsupportedMediaType) IsRedirect ¶
func (o *GetAccessPointsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get access points unsupported media type response has a 3xx status code
func (*GetAccessPointsUnsupportedMediaType) IsServerError ¶
func (o *GetAccessPointsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get access points unsupported media type response has a 5xx status code
func (*GetAccessPointsUnsupportedMediaType) IsSuccess ¶
func (o *GetAccessPointsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get access points unsupported media type response has a 2xx status code
func (*GetAccessPointsUnsupportedMediaType) String ¶
func (o *GetAccessPointsUnsupportedMediaType) String() string
type GetAdditionalInputsBadRequest ¶
type GetAdditionalInputsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetAdditionalInputsBadRequest ¶
func NewGetAdditionalInputsBadRequest() *GetAdditionalInputsBadRequest
NewGetAdditionalInputsBadRequest creates a GetAdditionalInputsBadRequest with default headers values
func (*GetAdditionalInputsBadRequest) Error ¶
func (o *GetAdditionalInputsBadRequest) Error() string
func (*GetAdditionalInputsBadRequest) GetPayload ¶
func (o *GetAdditionalInputsBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsBadRequest) IsClientError ¶
func (o *GetAdditionalInputsBadRequest) IsClientError() bool
IsClientError returns true when this get additional inputs bad request response has a 4xx status code
func (*GetAdditionalInputsBadRequest) IsCode ¶
func (o *GetAdditionalInputsBadRequest) IsCode(code int) bool
IsCode returns true when this get additional inputs bad request response a status code equal to that given
func (*GetAdditionalInputsBadRequest) IsRedirect ¶
func (o *GetAdditionalInputsBadRequest) IsRedirect() bool
IsRedirect returns true when this get additional inputs bad request response has a 3xx status code
func (*GetAdditionalInputsBadRequest) IsServerError ¶
func (o *GetAdditionalInputsBadRequest) IsServerError() bool
IsServerError returns true when this get additional inputs bad request response has a 5xx status code
func (*GetAdditionalInputsBadRequest) IsSuccess ¶
func (o *GetAdditionalInputsBadRequest) IsSuccess() bool
IsSuccess returns true when this get additional inputs bad request response has a 2xx status code
func (*GetAdditionalInputsBadRequest) String ¶
func (o *GetAdditionalInputsBadRequest) String() string
type GetAdditionalInputsForbidden ¶
type GetAdditionalInputsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetAdditionalInputsForbidden ¶
func NewGetAdditionalInputsForbidden() *GetAdditionalInputsForbidden
NewGetAdditionalInputsForbidden creates a GetAdditionalInputsForbidden with default headers values
func (*GetAdditionalInputsForbidden) Error ¶
func (o *GetAdditionalInputsForbidden) Error() string
func (*GetAdditionalInputsForbidden) GetPayload ¶
func (o *GetAdditionalInputsForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsForbidden) IsClientError ¶
func (o *GetAdditionalInputsForbidden) IsClientError() bool
IsClientError returns true when this get additional inputs forbidden response has a 4xx status code
func (*GetAdditionalInputsForbidden) IsCode ¶
func (o *GetAdditionalInputsForbidden) IsCode(code int) bool
IsCode returns true when this get additional inputs forbidden response a status code equal to that given
func (*GetAdditionalInputsForbidden) IsRedirect ¶
func (o *GetAdditionalInputsForbidden) IsRedirect() bool
IsRedirect returns true when this get additional inputs forbidden response has a 3xx status code
func (*GetAdditionalInputsForbidden) IsServerError ¶
func (o *GetAdditionalInputsForbidden) IsServerError() bool
IsServerError returns true when this get additional inputs forbidden response has a 5xx status code
func (*GetAdditionalInputsForbidden) IsSuccess ¶
func (o *GetAdditionalInputsForbidden) IsSuccess() bool
IsSuccess returns true when this get additional inputs forbidden response has a 2xx status code
func (*GetAdditionalInputsForbidden) String ¶
func (o *GetAdditionalInputsForbidden) String() string
type GetAdditionalInputsInternalServerError ¶
type GetAdditionalInputsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetAdditionalInputsInternalServerError ¶
func NewGetAdditionalInputsInternalServerError() *GetAdditionalInputsInternalServerError
NewGetAdditionalInputsInternalServerError creates a GetAdditionalInputsInternalServerError with default headers values
func (*GetAdditionalInputsInternalServerError) Error ¶
func (o *GetAdditionalInputsInternalServerError) Error() string
func (*GetAdditionalInputsInternalServerError) GetPayload ¶
func (o *GetAdditionalInputsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsInternalServerError) IsClientError ¶
func (o *GetAdditionalInputsInternalServerError) IsClientError() bool
IsClientError returns true when this get additional inputs internal server error response has a 4xx status code
func (*GetAdditionalInputsInternalServerError) IsCode ¶
func (o *GetAdditionalInputsInternalServerError) IsCode(code int) bool
IsCode returns true when this get additional inputs internal server error response a status code equal to that given
func (*GetAdditionalInputsInternalServerError) IsRedirect ¶
func (o *GetAdditionalInputsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get additional inputs internal server error response has a 3xx status code
func (*GetAdditionalInputsInternalServerError) IsServerError ¶
func (o *GetAdditionalInputsInternalServerError) IsServerError() bool
IsServerError returns true when this get additional inputs internal server error response has a 5xx status code
func (*GetAdditionalInputsInternalServerError) IsSuccess ¶
func (o *GetAdditionalInputsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get additional inputs internal server error response has a 2xx status code
func (*GetAdditionalInputsInternalServerError) String ¶
func (o *GetAdditionalInputsInternalServerError) String() string
type GetAdditionalInputsNotFound ¶
type GetAdditionalInputsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetAdditionalInputsNotFound ¶
func NewGetAdditionalInputsNotFound() *GetAdditionalInputsNotFound
NewGetAdditionalInputsNotFound creates a GetAdditionalInputsNotFound with default headers values
func (*GetAdditionalInputsNotFound) Error ¶
func (o *GetAdditionalInputsNotFound) Error() string
func (*GetAdditionalInputsNotFound) GetPayload ¶
func (o *GetAdditionalInputsNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsNotFound) IsClientError ¶
func (o *GetAdditionalInputsNotFound) IsClientError() bool
IsClientError returns true when this get additional inputs not found response has a 4xx status code
func (*GetAdditionalInputsNotFound) IsCode ¶
func (o *GetAdditionalInputsNotFound) IsCode(code int) bool
IsCode returns true when this get additional inputs not found response a status code equal to that given
func (*GetAdditionalInputsNotFound) IsRedirect ¶
func (o *GetAdditionalInputsNotFound) IsRedirect() bool
IsRedirect returns true when this get additional inputs not found response has a 3xx status code
func (*GetAdditionalInputsNotFound) IsServerError ¶
func (o *GetAdditionalInputsNotFound) IsServerError() bool
IsServerError returns true when this get additional inputs not found response has a 5xx status code
func (*GetAdditionalInputsNotFound) IsSuccess ¶
func (o *GetAdditionalInputsNotFound) IsSuccess() bool
IsSuccess returns true when this get additional inputs not found response has a 2xx status code
func (*GetAdditionalInputsNotFound) String ¶
func (o *GetAdditionalInputsNotFound) String() string
type GetAdditionalInputsOK ¶
type GetAdditionalInputsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetAdditionalInputsResponse }
GetAdditionalInputsOK describes a response with status code 200, with default header values.
Success.
func NewGetAdditionalInputsOK ¶
func NewGetAdditionalInputsOK() *GetAdditionalInputsOK
NewGetAdditionalInputsOK creates a GetAdditionalInputsOK with default headers values
func (*GetAdditionalInputsOK) Error ¶
func (o *GetAdditionalInputsOK) Error() string
func (*GetAdditionalInputsOK) GetPayload ¶
func (o *GetAdditionalInputsOK) GetPayload() *shipping_v2_models.GetAdditionalInputsResponse
func (*GetAdditionalInputsOK) IsClientError ¶
func (o *GetAdditionalInputsOK) IsClientError() bool
IsClientError returns true when this get additional inputs o k response has a 4xx status code
func (*GetAdditionalInputsOK) IsCode ¶
func (o *GetAdditionalInputsOK) IsCode(code int) bool
IsCode returns true when this get additional inputs o k response a status code equal to that given
func (*GetAdditionalInputsOK) IsRedirect ¶
func (o *GetAdditionalInputsOK) IsRedirect() bool
IsRedirect returns true when this get additional inputs o k response has a 3xx status code
func (*GetAdditionalInputsOK) IsServerError ¶
func (o *GetAdditionalInputsOK) IsServerError() bool
IsServerError returns true when this get additional inputs o k response has a 5xx status code
func (*GetAdditionalInputsOK) IsSuccess ¶
func (o *GetAdditionalInputsOK) IsSuccess() bool
IsSuccess returns true when this get additional inputs o k response has a 2xx status code
func (*GetAdditionalInputsOK) String ¶
func (o *GetAdditionalInputsOK) String() string
type GetAdditionalInputsParams ¶
type GetAdditionalInputsParams struct { /* RateID. The rate identifier for the shipping offering (rate) returned in the response to the getRates operation. */ RateID string /* RequestToken. The request token returned in the response to the getRates operation. */ RequestToken string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAdditionalInputsParams contains all the parameters to send to the API endpoint
for the get additional inputs operation. Typically these are written to a http.Request.
func NewGetAdditionalInputsParams ¶
func NewGetAdditionalInputsParams() *GetAdditionalInputsParams
NewGetAdditionalInputsParams creates a new GetAdditionalInputsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAdditionalInputsParamsWithContext ¶
func NewGetAdditionalInputsParamsWithContext(ctx context.Context) *GetAdditionalInputsParams
NewGetAdditionalInputsParamsWithContext creates a new GetAdditionalInputsParams object with the ability to set a context for a request.
func NewGetAdditionalInputsParamsWithHTTPClient ¶
func NewGetAdditionalInputsParamsWithHTTPClient(client *http.Client) *GetAdditionalInputsParams
NewGetAdditionalInputsParamsWithHTTPClient creates a new GetAdditionalInputsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAdditionalInputsParamsWithTimeout ¶
func NewGetAdditionalInputsParamsWithTimeout(timeout time.Duration) *GetAdditionalInputsParams
NewGetAdditionalInputsParamsWithTimeout creates a new GetAdditionalInputsParams object with the ability to set a timeout on a request.
func (*GetAdditionalInputsParams) SetContext ¶
func (o *GetAdditionalInputsParams) SetContext(ctx context.Context)
SetContext adds the context to the get additional inputs params
func (*GetAdditionalInputsParams) SetDefaults ¶
func (o *GetAdditionalInputsParams) SetDefaults()
SetDefaults hydrates default values in the get additional inputs params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdditionalInputsParams) SetHTTPClient ¶
func (o *GetAdditionalInputsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get additional inputs params
func (*GetAdditionalInputsParams) SetRateID ¶
func (o *GetAdditionalInputsParams) SetRateID(rateID string)
SetRateID adds the rateId to the get additional inputs params
func (*GetAdditionalInputsParams) SetRequestToken ¶
func (o *GetAdditionalInputsParams) SetRequestToken(requestToken string)
SetRequestToken adds the requestToken to the get additional inputs params
func (*GetAdditionalInputsParams) SetTimeout ¶
func (o *GetAdditionalInputsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get additional inputs params
func (*GetAdditionalInputsParams) SetXAmznShippingBusinessID ¶
func (o *GetAdditionalInputsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get additional inputs params
func (*GetAdditionalInputsParams) WithContext ¶
func (o *GetAdditionalInputsParams) WithContext(ctx context.Context) *GetAdditionalInputsParams
WithContext adds the context to the get additional inputs params
func (*GetAdditionalInputsParams) WithDefaults ¶
func (o *GetAdditionalInputsParams) WithDefaults() *GetAdditionalInputsParams
WithDefaults hydrates default values in the get additional inputs params (not the query body).
All values with no default are reset to their zero value.
func (*GetAdditionalInputsParams) WithHTTPClient ¶
func (o *GetAdditionalInputsParams) WithHTTPClient(client *http.Client) *GetAdditionalInputsParams
WithHTTPClient adds the HTTPClient to the get additional inputs params
func (*GetAdditionalInputsParams) WithRateID ¶
func (o *GetAdditionalInputsParams) WithRateID(rateID string) *GetAdditionalInputsParams
WithRateID adds the rateID to the get additional inputs params
func (*GetAdditionalInputsParams) WithRequestToken ¶
func (o *GetAdditionalInputsParams) WithRequestToken(requestToken string) *GetAdditionalInputsParams
WithRequestToken adds the requestToken to the get additional inputs params
func (*GetAdditionalInputsParams) WithTimeout ¶
func (o *GetAdditionalInputsParams) WithTimeout(timeout time.Duration) *GetAdditionalInputsParams
WithTimeout adds the timeout to the get additional inputs params
func (*GetAdditionalInputsParams) WithXAmznShippingBusinessID ¶
func (o *GetAdditionalInputsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetAdditionalInputsParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get additional inputs params
func (*GetAdditionalInputsParams) WriteToRequest ¶
func (o *GetAdditionalInputsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAdditionalInputsReader ¶
type GetAdditionalInputsReader struct {
// contains filtered or unexported fields
}
GetAdditionalInputsReader is a Reader for the GetAdditionalInputs structure.
func (*GetAdditionalInputsReader) ReadResponse ¶
func (o *GetAdditionalInputsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAdditionalInputsRequestEntityTooLarge ¶
type GetAdditionalInputsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetAdditionalInputsRequestEntityTooLarge ¶
func NewGetAdditionalInputsRequestEntityTooLarge() *GetAdditionalInputsRequestEntityTooLarge
NewGetAdditionalInputsRequestEntityTooLarge creates a GetAdditionalInputsRequestEntityTooLarge with default headers values
func (*GetAdditionalInputsRequestEntityTooLarge) Error ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) Error() string
func (*GetAdditionalInputsRequestEntityTooLarge) GetPayload ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsRequestEntityTooLarge) IsClientError ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get additional inputs request entity too large response has a 4xx status code
func (*GetAdditionalInputsRequestEntityTooLarge) IsCode ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get additional inputs request entity too large response a status code equal to that given
func (*GetAdditionalInputsRequestEntityTooLarge) IsRedirect ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get additional inputs request entity too large response has a 3xx status code
func (*GetAdditionalInputsRequestEntityTooLarge) IsServerError ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get additional inputs request entity too large response has a 5xx status code
func (*GetAdditionalInputsRequestEntityTooLarge) IsSuccess ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get additional inputs request entity too large response has a 2xx status code
func (*GetAdditionalInputsRequestEntityTooLarge) String ¶
func (o *GetAdditionalInputsRequestEntityTooLarge) String() string
type GetAdditionalInputsServiceUnavailable ¶
type GetAdditionalInputsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetAdditionalInputsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetAdditionalInputsServiceUnavailable ¶
func NewGetAdditionalInputsServiceUnavailable() *GetAdditionalInputsServiceUnavailable
NewGetAdditionalInputsServiceUnavailable creates a GetAdditionalInputsServiceUnavailable with default headers values
func (*GetAdditionalInputsServiceUnavailable) Error ¶
func (o *GetAdditionalInputsServiceUnavailable) Error() string
func (*GetAdditionalInputsServiceUnavailable) GetPayload ¶
func (o *GetAdditionalInputsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsServiceUnavailable) IsClientError ¶
func (o *GetAdditionalInputsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get additional inputs service unavailable response has a 4xx status code
func (*GetAdditionalInputsServiceUnavailable) IsCode ¶
func (o *GetAdditionalInputsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get additional inputs service unavailable response a status code equal to that given
func (*GetAdditionalInputsServiceUnavailable) IsRedirect ¶
func (o *GetAdditionalInputsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get additional inputs service unavailable response has a 3xx status code
func (*GetAdditionalInputsServiceUnavailable) IsServerError ¶
func (o *GetAdditionalInputsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get additional inputs service unavailable response has a 5xx status code
func (*GetAdditionalInputsServiceUnavailable) IsSuccess ¶
func (o *GetAdditionalInputsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get additional inputs service unavailable response has a 2xx status code
func (*GetAdditionalInputsServiceUnavailable) String ¶
func (o *GetAdditionalInputsServiceUnavailable) String() string
type GetAdditionalInputsTooManyRequests ¶
type GetAdditionalInputsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetAdditionalInputsTooManyRequests ¶
func NewGetAdditionalInputsTooManyRequests() *GetAdditionalInputsTooManyRequests
NewGetAdditionalInputsTooManyRequests creates a GetAdditionalInputsTooManyRequests with default headers values
func (*GetAdditionalInputsTooManyRequests) Error ¶
func (o *GetAdditionalInputsTooManyRequests) Error() string
func (*GetAdditionalInputsTooManyRequests) GetPayload ¶
func (o *GetAdditionalInputsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsTooManyRequests) IsClientError ¶
func (o *GetAdditionalInputsTooManyRequests) IsClientError() bool
IsClientError returns true when this get additional inputs too many requests response has a 4xx status code
func (*GetAdditionalInputsTooManyRequests) IsCode ¶
func (o *GetAdditionalInputsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get additional inputs too many requests response a status code equal to that given
func (*GetAdditionalInputsTooManyRequests) IsRedirect ¶
func (o *GetAdditionalInputsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get additional inputs too many requests response has a 3xx status code
func (*GetAdditionalInputsTooManyRequests) IsServerError ¶
func (o *GetAdditionalInputsTooManyRequests) IsServerError() bool
IsServerError returns true when this get additional inputs too many requests response has a 5xx status code
func (*GetAdditionalInputsTooManyRequests) IsSuccess ¶
func (o *GetAdditionalInputsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get additional inputs too many requests response has a 2xx status code
func (*GetAdditionalInputsTooManyRequests) String ¶
func (o *GetAdditionalInputsTooManyRequests) String() string
type GetAdditionalInputsUnauthorized ¶
GetAdditionalInputsUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetAdditionalInputsUnauthorized ¶
func NewGetAdditionalInputsUnauthorized() *GetAdditionalInputsUnauthorized
NewGetAdditionalInputsUnauthorized creates a GetAdditionalInputsUnauthorized with default headers values
func (*GetAdditionalInputsUnauthorized) Error ¶
func (o *GetAdditionalInputsUnauthorized) Error() string
func (*GetAdditionalInputsUnauthorized) GetPayload ¶
func (o *GetAdditionalInputsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsUnauthorized) IsClientError ¶
func (o *GetAdditionalInputsUnauthorized) IsClientError() bool
IsClientError returns true when this get additional inputs unauthorized response has a 4xx status code
func (*GetAdditionalInputsUnauthorized) IsCode ¶
func (o *GetAdditionalInputsUnauthorized) IsCode(code int) bool
IsCode returns true when this get additional inputs unauthorized response a status code equal to that given
func (*GetAdditionalInputsUnauthorized) IsRedirect ¶
func (o *GetAdditionalInputsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get additional inputs unauthorized response has a 3xx status code
func (*GetAdditionalInputsUnauthorized) IsServerError ¶
func (o *GetAdditionalInputsUnauthorized) IsServerError() bool
IsServerError returns true when this get additional inputs unauthorized response has a 5xx status code
func (*GetAdditionalInputsUnauthorized) IsSuccess ¶
func (o *GetAdditionalInputsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get additional inputs unauthorized response has a 2xx status code
func (*GetAdditionalInputsUnauthorized) String ¶
func (o *GetAdditionalInputsUnauthorized) String() string
type GetAdditionalInputsUnsupportedMediaType ¶
type GetAdditionalInputsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetAdditionalInputsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetAdditionalInputsUnsupportedMediaType ¶
func NewGetAdditionalInputsUnsupportedMediaType() *GetAdditionalInputsUnsupportedMediaType
NewGetAdditionalInputsUnsupportedMediaType creates a GetAdditionalInputsUnsupportedMediaType with default headers values
func (*GetAdditionalInputsUnsupportedMediaType) Error ¶
func (o *GetAdditionalInputsUnsupportedMediaType) Error() string
func (*GetAdditionalInputsUnsupportedMediaType) GetPayload ¶
func (o *GetAdditionalInputsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetAdditionalInputsUnsupportedMediaType) IsClientError ¶
func (o *GetAdditionalInputsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get additional inputs unsupported media type response has a 4xx status code
func (*GetAdditionalInputsUnsupportedMediaType) IsCode ¶
func (o *GetAdditionalInputsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get additional inputs unsupported media type response a status code equal to that given
func (*GetAdditionalInputsUnsupportedMediaType) IsRedirect ¶
func (o *GetAdditionalInputsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get additional inputs unsupported media type response has a 3xx status code
func (*GetAdditionalInputsUnsupportedMediaType) IsServerError ¶
func (o *GetAdditionalInputsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get additional inputs unsupported media type response has a 5xx status code
func (*GetAdditionalInputsUnsupportedMediaType) IsSuccess ¶
func (o *GetAdditionalInputsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get additional inputs unsupported media type response has a 2xx status code
func (*GetAdditionalInputsUnsupportedMediaType) String ¶
func (o *GetAdditionalInputsUnsupportedMediaType) String() string
type GetCarrierAccountFormInputsBadRequest ¶
type GetCarrierAccountFormInputsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCarrierAccountFormInputsBadRequest ¶
func NewGetCarrierAccountFormInputsBadRequest() *GetCarrierAccountFormInputsBadRequest
NewGetCarrierAccountFormInputsBadRequest creates a GetCarrierAccountFormInputsBadRequest with default headers values
func (*GetCarrierAccountFormInputsBadRequest) Error ¶
func (o *GetCarrierAccountFormInputsBadRequest) Error() string
func (*GetCarrierAccountFormInputsBadRequest) GetPayload ¶
func (o *GetCarrierAccountFormInputsBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsBadRequest) IsClientError ¶
func (o *GetCarrierAccountFormInputsBadRequest) IsClientError() bool
IsClientError returns true when this get carrier account form inputs bad request response has a 4xx status code
func (*GetCarrierAccountFormInputsBadRequest) IsCode ¶
func (o *GetCarrierAccountFormInputsBadRequest) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs bad request response a status code equal to that given
func (*GetCarrierAccountFormInputsBadRequest) IsRedirect ¶
func (o *GetCarrierAccountFormInputsBadRequest) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs bad request response has a 3xx status code
func (*GetCarrierAccountFormInputsBadRequest) IsServerError ¶
func (o *GetCarrierAccountFormInputsBadRequest) IsServerError() bool
IsServerError returns true when this get carrier account form inputs bad request response has a 5xx status code
func (*GetCarrierAccountFormInputsBadRequest) IsSuccess ¶
func (o *GetCarrierAccountFormInputsBadRequest) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs bad request response has a 2xx status code
func (*GetCarrierAccountFormInputsBadRequest) String ¶
func (o *GetCarrierAccountFormInputsBadRequest) String() string
type GetCarrierAccountFormInputsForbidden ¶
type GetCarrierAccountFormInputsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCarrierAccountFormInputsForbidden ¶
func NewGetCarrierAccountFormInputsForbidden() *GetCarrierAccountFormInputsForbidden
NewGetCarrierAccountFormInputsForbidden creates a GetCarrierAccountFormInputsForbidden with default headers values
func (*GetCarrierAccountFormInputsForbidden) Error ¶
func (o *GetCarrierAccountFormInputsForbidden) Error() string
func (*GetCarrierAccountFormInputsForbidden) GetPayload ¶
func (o *GetCarrierAccountFormInputsForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsForbidden) IsClientError ¶
func (o *GetCarrierAccountFormInputsForbidden) IsClientError() bool
IsClientError returns true when this get carrier account form inputs forbidden response has a 4xx status code
func (*GetCarrierAccountFormInputsForbidden) IsCode ¶
func (o *GetCarrierAccountFormInputsForbidden) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs forbidden response a status code equal to that given
func (*GetCarrierAccountFormInputsForbidden) IsRedirect ¶
func (o *GetCarrierAccountFormInputsForbidden) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs forbidden response has a 3xx status code
func (*GetCarrierAccountFormInputsForbidden) IsServerError ¶
func (o *GetCarrierAccountFormInputsForbidden) IsServerError() bool
IsServerError returns true when this get carrier account form inputs forbidden response has a 5xx status code
func (*GetCarrierAccountFormInputsForbidden) IsSuccess ¶
func (o *GetCarrierAccountFormInputsForbidden) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs forbidden response has a 2xx status code
func (*GetCarrierAccountFormInputsForbidden) String ¶
func (o *GetCarrierAccountFormInputsForbidden) String() string
type GetCarrierAccountFormInputsInternalServerError ¶
type GetCarrierAccountFormInputsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCarrierAccountFormInputsInternalServerError ¶
func NewGetCarrierAccountFormInputsInternalServerError() *GetCarrierAccountFormInputsInternalServerError
NewGetCarrierAccountFormInputsInternalServerError creates a GetCarrierAccountFormInputsInternalServerError with default headers values
func (*GetCarrierAccountFormInputsInternalServerError) Error ¶
func (o *GetCarrierAccountFormInputsInternalServerError) Error() string
func (*GetCarrierAccountFormInputsInternalServerError) GetPayload ¶
func (o *GetCarrierAccountFormInputsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsInternalServerError) IsClientError ¶
func (o *GetCarrierAccountFormInputsInternalServerError) IsClientError() bool
IsClientError returns true when this get carrier account form inputs internal server error response has a 4xx status code
func (*GetCarrierAccountFormInputsInternalServerError) IsCode ¶
func (o *GetCarrierAccountFormInputsInternalServerError) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs internal server error response a status code equal to that given
func (*GetCarrierAccountFormInputsInternalServerError) IsRedirect ¶
func (o *GetCarrierAccountFormInputsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs internal server error response has a 3xx status code
func (*GetCarrierAccountFormInputsInternalServerError) IsServerError ¶
func (o *GetCarrierAccountFormInputsInternalServerError) IsServerError() bool
IsServerError returns true when this get carrier account form inputs internal server error response has a 5xx status code
func (*GetCarrierAccountFormInputsInternalServerError) IsSuccess ¶
func (o *GetCarrierAccountFormInputsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs internal server error response has a 2xx status code
func (*GetCarrierAccountFormInputsInternalServerError) String ¶
func (o *GetCarrierAccountFormInputsInternalServerError) String() string
type GetCarrierAccountFormInputsNotFound ¶
type GetCarrierAccountFormInputsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCarrierAccountFormInputsNotFound ¶
func NewGetCarrierAccountFormInputsNotFound() *GetCarrierAccountFormInputsNotFound
NewGetCarrierAccountFormInputsNotFound creates a GetCarrierAccountFormInputsNotFound with default headers values
func (*GetCarrierAccountFormInputsNotFound) Error ¶
func (o *GetCarrierAccountFormInputsNotFound) Error() string
func (*GetCarrierAccountFormInputsNotFound) GetPayload ¶
func (o *GetCarrierAccountFormInputsNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsNotFound) IsClientError ¶
func (o *GetCarrierAccountFormInputsNotFound) IsClientError() bool
IsClientError returns true when this get carrier account form inputs not found response has a 4xx status code
func (*GetCarrierAccountFormInputsNotFound) IsCode ¶
func (o *GetCarrierAccountFormInputsNotFound) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs not found response a status code equal to that given
func (*GetCarrierAccountFormInputsNotFound) IsRedirect ¶
func (o *GetCarrierAccountFormInputsNotFound) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs not found response has a 3xx status code
func (*GetCarrierAccountFormInputsNotFound) IsServerError ¶
func (o *GetCarrierAccountFormInputsNotFound) IsServerError() bool
IsServerError returns true when this get carrier account form inputs not found response has a 5xx status code
func (*GetCarrierAccountFormInputsNotFound) IsSuccess ¶
func (o *GetCarrierAccountFormInputsNotFound) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs not found response has a 2xx status code
func (*GetCarrierAccountFormInputsNotFound) String ¶
func (o *GetCarrierAccountFormInputsNotFound) String() string
type GetCarrierAccountFormInputsOK ¶
type GetCarrierAccountFormInputsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetCarrierAccountFormInputsResponse }
GetCarrierAccountFormInputsOK describes a response with status code 200, with default header values.
Success.
func NewGetCarrierAccountFormInputsOK ¶
func NewGetCarrierAccountFormInputsOK() *GetCarrierAccountFormInputsOK
NewGetCarrierAccountFormInputsOK creates a GetCarrierAccountFormInputsOK with default headers values
func (*GetCarrierAccountFormInputsOK) Error ¶
func (o *GetCarrierAccountFormInputsOK) Error() string
func (*GetCarrierAccountFormInputsOK) GetPayload ¶
func (o *GetCarrierAccountFormInputsOK) GetPayload() *shipping_v2_models.GetCarrierAccountFormInputsResponse
func (*GetCarrierAccountFormInputsOK) IsClientError ¶
func (o *GetCarrierAccountFormInputsOK) IsClientError() bool
IsClientError returns true when this get carrier account form inputs o k response has a 4xx status code
func (*GetCarrierAccountFormInputsOK) IsCode ¶
func (o *GetCarrierAccountFormInputsOK) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs o k response a status code equal to that given
func (*GetCarrierAccountFormInputsOK) IsRedirect ¶
func (o *GetCarrierAccountFormInputsOK) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs o k response has a 3xx status code
func (*GetCarrierAccountFormInputsOK) IsServerError ¶
func (o *GetCarrierAccountFormInputsOK) IsServerError() bool
IsServerError returns true when this get carrier account form inputs o k response has a 5xx status code
func (*GetCarrierAccountFormInputsOK) IsSuccess ¶
func (o *GetCarrierAccountFormInputsOK) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs o k response has a 2xx status code
func (*GetCarrierAccountFormInputsOK) String ¶
func (o *GetCarrierAccountFormInputsOK) String() string
type GetCarrierAccountFormInputsParams ¶
type GetCarrierAccountFormInputsParams struct { /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCarrierAccountFormInputsParams contains all the parameters to send to the API endpoint
for the get carrier account form inputs operation. Typically these are written to a http.Request.
func NewGetCarrierAccountFormInputsParams ¶
func NewGetCarrierAccountFormInputsParams() *GetCarrierAccountFormInputsParams
NewGetCarrierAccountFormInputsParams creates a new GetCarrierAccountFormInputsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCarrierAccountFormInputsParamsWithContext ¶
func NewGetCarrierAccountFormInputsParamsWithContext(ctx context.Context) *GetCarrierAccountFormInputsParams
NewGetCarrierAccountFormInputsParamsWithContext creates a new GetCarrierAccountFormInputsParams object with the ability to set a context for a request.
func NewGetCarrierAccountFormInputsParamsWithHTTPClient ¶
func NewGetCarrierAccountFormInputsParamsWithHTTPClient(client *http.Client) *GetCarrierAccountFormInputsParams
NewGetCarrierAccountFormInputsParamsWithHTTPClient creates a new GetCarrierAccountFormInputsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCarrierAccountFormInputsParamsWithTimeout ¶
func NewGetCarrierAccountFormInputsParamsWithTimeout(timeout time.Duration) *GetCarrierAccountFormInputsParams
NewGetCarrierAccountFormInputsParamsWithTimeout creates a new GetCarrierAccountFormInputsParams object with the ability to set a timeout on a request.
func (*GetCarrierAccountFormInputsParams) SetContext ¶
func (o *GetCarrierAccountFormInputsParams) SetContext(ctx context.Context)
SetContext adds the context to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) SetDefaults ¶
func (o *GetCarrierAccountFormInputsParams) SetDefaults()
SetDefaults hydrates default values in the get carrier account form inputs params (not the query body).
All values with no default are reset to their zero value.
func (*GetCarrierAccountFormInputsParams) SetHTTPClient ¶
func (o *GetCarrierAccountFormInputsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) SetTimeout ¶
func (o *GetCarrierAccountFormInputsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) SetXAmznShippingBusinessID ¶
func (o *GetCarrierAccountFormInputsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) WithContext ¶
func (o *GetCarrierAccountFormInputsParams) WithContext(ctx context.Context) *GetCarrierAccountFormInputsParams
WithContext adds the context to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) WithDefaults ¶
func (o *GetCarrierAccountFormInputsParams) WithDefaults() *GetCarrierAccountFormInputsParams
WithDefaults hydrates default values in the get carrier account form inputs params (not the query body).
All values with no default are reset to their zero value.
func (*GetCarrierAccountFormInputsParams) WithHTTPClient ¶
func (o *GetCarrierAccountFormInputsParams) WithHTTPClient(client *http.Client) *GetCarrierAccountFormInputsParams
WithHTTPClient adds the HTTPClient to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) WithTimeout ¶
func (o *GetCarrierAccountFormInputsParams) WithTimeout(timeout time.Duration) *GetCarrierAccountFormInputsParams
WithTimeout adds the timeout to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) WithXAmznShippingBusinessID ¶
func (o *GetCarrierAccountFormInputsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCarrierAccountFormInputsParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get carrier account form inputs params
func (*GetCarrierAccountFormInputsParams) WriteToRequest ¶
func (o *GetCarrierAccountFormInputsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCarrierAccountFormInputsReader ¶
type GetCarrierAccountFormInputsReader struct {
// contains filtered or unexported fields
}
GetCarrierAccountFormInputsReader is a Reader for the GetCarrierAccountFormInputs structure.
func (*GetCarrierAccountFormInputsReader) ReadResponse ¶
func (o *GetCarrierAccountFormInputsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCarrierAccountFormInputsRequestEntityTooLarge ¶
type GetCarrierAccountFormInputsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetCarrierAccountFormInputsRequestEntityTooLarge ¶
func NewGetCarrierAccountFormInputsRequestEntityTooLarge() *GetCarrierAccountFormInputsRequestEntityTooLarge
NewGetCarrierAccountFormInputsRequestEntityTooLarge creates a GetCarrierAccountFormInputsRequestEntityTooLarge with default headers values
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) Error ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) Error() string
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) GetPayload ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsClientError ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get carrier account form inputs request entity too large response has a 4xx status code
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsCode ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs request entity too large response a status code equal to that given
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsRedirect ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs request entity too large response has a 3xx status code
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsServerError ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get carrier account form inputs request entity too large response has a 5xx status code
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) IsSuccess ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs request entity too large response has a 2xx status code
func (*GetCarrierAccountFormInputsRequestEntityTooLarge) String ¶
func (o *GetCarrierAccountFormInputsRequestEntityTooLarge) String() string
type GetCarrierAccountFormInputsServiceUnavailable ¶
type GetCarrierAccountFormInputsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCarrierAccountFormInputsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCarrierAccountFormInputsServiceUnavailable ¶
func NewGetCarrierAccountFormInputsServiceUnavailable() *GetCarrierAccountFormInputsServiceUnavailable
NewGetCarrierAccountFormInputsServiceUnavailable creates a GetCarrierAccountFormInputsServiceUnavailable with default headers values
func (*GetCarrierAccountFormInputsServiceUnavailable) Error ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) Error() string
func (*GetCarrierAccountFormInputsServiceUnavailable) GetPayload ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsServiceUnavailable) IsClientError ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get carrier account form inputs service unavailable response has a 4xx status code
func (*GetCarrierAccountFormInputsServiceUnavailable) IsCode ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs service unavailable response a status code equal to that given
func (*GetCarrierAccountFormInputsServiceUnavailable) IsRedirect ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs service unavailable response has a 3xx status code
func (*GetCarrierAccountFormInputsServiceUnavailable) IsServerError ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get carrier account form inputs service unavailable response has a 5xx status code
func (*GetCarrierAccountFormInputsServiceUnavailable) IsSuccess ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs service unavailable response has a 2xx status code
func (*GetCarrierAccountFormInputsServiceUnavailable) String ¶
func (o *GetCarrierAccountFormInputsServiceUnavailable) String() string
type GetCarrierAccountFormInputsTooManyRequests ¶
type GetCarrierAccountFormInputsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCarrierAccountFormInputsTooManyRequests ¶
func NewGetCarrierAccountFormInputsTooManyRequests() *GetCarrierAccountFormInputsTooManyRequests
NewGetCarrierAccountFormInputsTooManyRequests creates a GetCarrierAccountFormInputsTooManyRequests with default headers values
func (*GetCarrierAccountFormInputsTooManyRequests) Error ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) Error() string
func (*GetCarrierAccountFormInputsTooManyRequests) GetPayload ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsTooManyRequests) IsClientError ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) IsClientError() bool
IsClientError returns true when this get carrier account form inputs too many requests response has a 4xx status code
func (*GetCarrierAccountFormInputsTooManyRequests) IsCode ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs too many requests response a status code equal to that given
func (*GetCarrierAccountFormInputsTooManyRequests) IsRedirect ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs too many requests response has a 3xx status code
func (*GetCarrierAccountFormInputsTooManyRequests) IsServerError ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) IsServerError() bool
IsServerError returns true when this get carrier account form inputs too many requests response has a 5xx status code
func (*GetCarrierAccountFormInputsTooManyRequests) IsSuccess ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs too many requests response has a 2xx status code
func (*GetCarrierAccountFormInputsTooManyRequests) String ¶
func (o *GetCarrierAccountFormInputsTooManyRequests) String() string
type GetCarrierAccountFormInputsUnauthorized ¶
type GetCarrierAccountFormInputsUnauthorized struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCarrierAccountFormInputsUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetCarrierAccountFormInputsUnauthorized ¶
func NewGetCarrierAccountFormInputsUnauthorized() *GetCarrierAccountFormInputsUnauthorized
NewGetCarrierAccountFormInputsUnauthorized creates a GetCarrierAccountFormInputsUnauthorized with default headers values
func (*GetCarrierAccountFormInputsUnauthorized) Error ¶
func (o *GetCarrierAccountFormInputsUnauthorized) Error() string
func (*GetCarrierAccountFormInputsUnauthorized) GetPayload ¶
func (o *GetCarrierAccountFormInputsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsUnauthorized) IsClientError ¶
func (o *GetCarrierAccountFormInputsUnauthorized) IsClientError() bool
IsClientError returns true when this get carrier account form inputs unauthorized response has a 4xx status code
func (*GetCarrierAccountFormInputsUnauthorized) IsCode ¶
func (o *GetCarrierAccountFormInputsUnauthorized) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs unauthorized response a status code equal to that given
func (*GetCarrierAccountFormInputsUnauthorized) IsRedirect ¶
func (o *GetCarrierAccountFormInputsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs unauthorized response has a 3xx status code
func (*GetCarrierAccountFormInputsUnauthorized) IsServerError ¶
func (o *GetCarrierAccountFormInputsUnauthorized) IsServerError() bool
IsServerError returns true when this get carrier account form inputs unauthorized response has a 5xx status code
func (*GetCarrierAccountFormInputsUnauthorized) IsSuccess ¶
func (o *GetCarrierAccountFormInputsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs unauthorized response has a 2xx status code
func (*GetCarrierAccountFormInputsUnauthorized) String ¶
func (o *GetCarrierAccountFormInputsUnauthorized) String() string
type GetCarrierAccountFormInputsUnsupportedMediaType ¶
type GetCarrierAccountFormInputsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountFormInputsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCarrierAccountFormInputsUnsupportedMediaType ¶
func NewGetCarrierAccountFormInputsUnsupportedMediaType() *GetCarrierAccountFormInputsUnsupportedMediaType
NewGetCarrierAccountFormInputsUnsupportedMediaType creates a GetCarrierAccountFormInputsUnsupportedMediaType with default headers values
func (*GetCarrierAccountFormInputsUnsupportedMediaType) Error ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) Error() string
func (*GetCarrierAccountFormInputsUnsupportedMediaType) GetPayload ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsClientError ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get carrier account form inputs unsupported media type response has a 4xx status code
func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsCode ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get carrier account form inputs unsupported media type response a status code equal to that given
func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsRedirect ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get carrier account form inputs unsupported media type response has a 3xx status code
func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsServerError ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get carrier account form inputs unsupported media type response has a 5xx status code
func (*GetCarrierAccountFormInputsUnsupportedMediaType) IsSuccess ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get carrier account form inputs unsupported media type response has a 2xx status code
func (*GetCarrierAccountFormInputsUnsupportedMediaType) String ¶
func (o *GetCarrierAccountFormInputsUnsupportedMediaType) String() string
type GetCarrierAccountsBadRequest ¶
type GetCarrierAccountsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCarrierAccountsBadRequest ¶
func NewGetCarrierAccountsBadRequest() *GetCarrierAccountsBadRequest
NewGetCarrierAccountsBadRequest creates a GetCarrierAccountsBadRequest with default headers values
func (*GetCarrierAccountsBadRequest) Error ¶
func (o *GetCarrierAccountsBadRequest) Error() string
func (*GetCarrierAccountsBadRequest) GetPayload ¶
func (o *GetCarrierAccountsBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsBadRequest) IsClientError ¶
func (o *GetCarrierAccountsBadRequest) IsClientError() bool
IsClientError returns true when this get carrier accounts bad request response has a 4xx status code
func (*GetCarrierAccountsBadRequest) IsCode ¶
func (o *GetCarrierAccountsBadRequest) IsCode(code int) bool
IsCode returns true when this get carrier accounts bad request response a status code equal to that given
func (*GetCarrierAccountsBadRequest) IsRedirect ¶
func (o *GetCarrierAccountsBadRequest) IsRedirect() bool
IsRedirect returns true when this get carrier accounts bad request response has a 3xx status code
func (*GetCarrierAccountsBadRequest) IsServerError ¶
func (o *GetCarrierAccountsBadRequest) IsServerError() bool
IsServerError returns true when this get carrier accounts bad request response has a 5xx status code
func (*GetCarrierAccountsBadRequest) IsSuccess ¶
func (o *GetCarrierAccountsBadRequest) IsSuccess() bool
IsSuccess returns true when this get carrier accounts bad request response has a 2xx status code
func (*GetCarrierAccountsBadRequest) String ¶
func (o *GetCarrierAccountsBadRequest) String() string
type GetCarrierAccountsForbidden ¶
type GetCarrierAccountsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCarrierAccountsForbidden ¶
func NewGetCarrierAccountsForbidden() *GetCarrierAccountsForbidden
NewGetCarrierAccountsForbidden creates a GetCarrierAccountsForbidden with default headers values
func (*GetCarrierAccountsForbidden) Error ¶
func (o *GetCarrierAccountsForbidden) Error() string
func (*GetCarrierAccountsForbidden) GetPayload ¶
func (o *GetCarrierAccountsForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsForbidden) IsClientError ¶
func (o *GetCarrierAccountsForbidden) IsClientError() bool
IsClientError returns true when this get carrier accounts forbidden response has a 4xx status code
func (*GetCarrierAccountsForbidden) IsCode ¶
func (o *GetCarrierAccountsForbidden) IsCode(code int) bool
IsCode returns true when this get carrier accounts forbidden response a status code equal to that given
func (*GetCarrierAccountsForbidden) IsRedirect ¶
func (o *GetCarrierAccountsForbidden) IsRedirect() bool
IsRedirect returns true when this get carrier accounts forbidden response has a 3xx status code
func (*GetCarrierAccountsForbidden) IsServerError ¶
func (o *GetCarrierAccountsForbidden) IsServerError() bool
IsServerError returns true when this get carrier accounts forbidden response has a 5xx status code
func (*GetCarrierAccountsForbidden) IsSuccess ¶
func (o *GetCarrierAccountsForbidden) IsSuccess() bool
IsSuccess returns true when this get carrier accounts forbidden response has a 2xx status code
func (*GetCarrierAccountsForbidden) String ¶
func (o *GetCarrierAccountsForbidden) String() string
type GetCarrierAccountsInternalServerError ¶
type GetCarrierAccountsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCarrierAccountsInternalServerError ¶
func NewGetCarrierAccountsInternalServerError() *GetCarrierAccountsInternalServerError
NewGetCarrierAccountsInternalServerError creates a GetCarrierAccountsInternalServerError with default headers values
func (*GetCarrierAccountsInternalServerError) Error ¶
func (o *GetCarrierAccountsInternalServerError) Error() string
func (*GetCarrierAccountsInternalServerError) GetPayload ¶
func (o *GetCarrierAccountsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsInternalServerError) IsClientError ¶
func (o *GetCarrierAccountsInternalServerError) IsClientError() bool
IsClientError returns true when this get carrier accounts internal server error response has a 4xx status code
func (*GetCarrierAccountsInternalServerError) IsCode ¶
func (o *GetCarrierAccountsInternalServerError) IsCode(code int) bool
IsCode returns true when this get carrier accounts internal server error response a status code equal to that given
func (*GetCarrierAccountsInternalServerError) IsRedirect ¶
func (o *GetCarrierAccountsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get carrier accounts internal server error response has a 3xx status code
func (*GetCarrierAccountsInternalServerError) IsServerError ¶
func (o *GetCarrierAccountsInternalServerError) IsServerError() bool
IsServerError returns true when this get carrier accounts internal server error response has a 5xx status code
func (*GetCarrierAccountsInternalServerError) IsSuccess ¶
func (o *GetCarrierAccountsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get carrier accounts internal server error response has a 2xx status code
func (*GetCarrierAccountsInternalServerError) String ¶
func (o *GetCarrierAccountsInternalServerError) String() string
type GetCarrierAccountsNotFound ¶
type GetCarrierAccountsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCarrierAccountsNotFound ¶
func NewGetCarrierAccountsNotFound() *GetCarrierAccountsNotFound
NewGetCarrierAccountsNotFound creates a GetCarrierAccountsNotFound with default headers values
func (*GetCarrierAccountsNotFound) Error ¶
func (o *GetCarrierAccountsNotFound) Error() string
func (*GetCarrierAccountsNotFound) GetPayload ¶
func (o *GetCarrierAccountsNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsNotFound) IsClientError ¶
func (o *GetCarrierAccountsNotFound) IsClientError() bool
IsClientError returns true when this get carrier accounts not found response has a 4xx status code
func (*GetCarrierAccountsNotFound) IsCode ¶
func (o *GetCarrierAccountsNotFound) IsCode(code int) bool
IsCode returns true when this get carrier accounts not found response a status code equal to that given
func (*GetCarrierAccountsNotFound) IsRedirect ¶
func (o *GetCarrierAccountsNotFound) IsRedirect() bool
IsRedirect returns true when this get carrier accounts not found response has a 3xx status code
func (*GetCarrierAccountsNotFound) IsServerError ¶
func (o *GetCarrierAccountsNotFound) IsServerError() bool
IsServerError returns true when this get carrier accounts not found response has a 5xx status code
func (*GetCarrierAccountsNotFound) IsSuccess ¶
func (o *GetCarrierAccountsNotFound) IsSuccess() bool
IsSuccess returns true when this get carrier accounts not found response has a 2xx status code
func (*GetCarrierAccountsNotFound) String ¶
func (o *GetCarrierAccountsNotFound) String() string
type GetCarrierAccountsOK ¶
type GetCarrierAccountsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetCarrierAccountsResponse }
GetCarrierAccountsOK describes a response with status code 200, with default header values.
Success.
func NewGetCarrierAccountsOK ¶
func NewGetCarrierAccountsOK() *GetCarrierAccountsOK
NewGetCarrierAccountsOK creates a GetCarrierAccountsOK with default headers values
func (*GetCarrierAccountsOK) Error ¶
func (o *GetCarrierAccountsOK) Error() string
func (*GetCarrierAccountsOK) GetPayload ¶
func (o *GetCarrierAccountsOK) GetPayload() *shipping_v2_models.GetCarrierAccountsResponse
func (*GetCarrierAccountsOK) IsClientError ¶
func (o *GetCarrierAccountsOK) IsClientError() bool
IsClientError returns true when this get carrier accounts o k response has a 4xx status code
func (*GetCarrierAccountsOK) IsCode ¶
func (o *GetCarrierAccountsOK) IsCode(code int) bool
IsCode returns true when this get carrier accounts o k response a status code equal to that given
func (*GetCarrierAccountsOK) IsRedirect ¶
func (o *GetCarrierAccountsOK) IsRedirect() bool
IsRedirect returns true when this get carrier accounts o k response has a 3xx status code
func (*GetCarrierAccountsOK) IsServerError ¶
func (o *GetCarrierAccountsOK) IsServerError() bool
IsServerError returns true when this get carrier accounts o k response has a 5xx status code
func (*GetCarrierAccountsOK) IsSuccess ¶
func (o *GetCarrierAccountsOK) IsSuccess() bool
IsSuccess returns true when this get carrier accounts o k response has a 2xx status code
func (*GetCarrierAccountsOK) String ¶
func (o *GetCarrierAccountsOK) String() string
type GetCarrierAccountsParams ¶
type GetCarrierAccountsParams struct { // Body. Body *shipping_v2_models.GetCarrierAccountsRequest /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCarrierAccountsParams contains all the parameters to send to the API endpoint
for the get carrier accounts operation. Typically these are written to a http.Request.
func NewGetCarrierAccountsParams ¶
func NewGetCarrierAccountsParams() *GetCarrierAccountsParams
NewGetCarrierAccountsParams creates a new GetCarrierAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCarrierAccountsParamsWithContext ¶
func NewGetCarrierAccountsParamsWithContext(ctx context.Context) *GetCarrierAccountsParams
NewGetCarrierAccountsParamsWithContext creates a new GetCarrierAccountsParams object with the ability to set a context for a request.
func NewGetCarrierAccountsParamsWithHTTPClient ¶
func NewGetCarrierAccountsParamsWithHTTPClient(client *http.Client) *GetCarrierAccountsParams
NewGetCarrierAccountsParamsWithHTTPClient creates a new GetCarrierAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCarrierAccountsParamsWithTimeout ¶
func NewGetCarrierAccountsParamsWithTimeout(timeout time.Duration) *GetCarrierAccountsParams
NewGetCarrierAccountsParamsWithTimeout creates a new GetCarrierAccountsParams object with the ability to set a timeout on a request.
func (*GetCarrierAccountsParams) SetBody ¶
func (o *GetCarrierAccountsParams) SetBody(body *shipping_v2_models.GetCarrierAccountsRequest)
SetBody adds the body to the get carrier accounts params
func (*GetCarrierAccountsParams) SetContext ¶
func (o *GetCarrierAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get carrier accounts params
func (*GetCarrierAccountsParams) SetDefaults ¶
func (o *GetCarrierAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get carrier accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetCarrierAccountsParams) SetHTTPClient ¶
func (o *GetCarrierAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get carrier accounts params
func (*GetCarrierAccountsParams) SetTimeout ¶
func (o *GetCarrierAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get carrier accounts params
func (*GetCarrierAccountsParams) SetXAmznShippingBusinessID ¶
func (o *GetCarrierAccountsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get carrier accounts params
func (*GetCarrierAccountsParams) WithBody ¶
func (o *GetCarrierAccountsParams) WithBody(body *shipping_v2_models.GetCarrierAccountsRequest) *GetCarrierAccountsParams
WithBody adds the body to the get carrier accounts params
func (*GetCarrierAccountsParams) WithContext ¶
func (o *GetCarrierAccountsParams) WithContext(ctx context.Context) *GetCarrierAccountsParams
WithContext adds the context to the get carrier accounts params
func (*GetCarrierAccountsParams) WithDefaults ¶
func (o *GetCarrierAccountsParams) WithDefaults() *GetCarrierAccountsParams
WithDefaults hydrates default values in the get carrier accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetCarrierAccountsParams) WithHTTPClient ¶
func (o *GetCarrierAccountsParams) WithHTTPClient(client *http.Client) *GetCarrierAccountsParams
WithHTTPClient adds the HTTPClient to the get carrier accounts params
func (*GetCarrierAccountsParams) WithTimeout ¶
func (o *GetCarrierAccountsParams) WithTimeout(timeout time.Duration) *GetCarrierAccountsParams
WithTimeout adds the timeout to the get carrier accounts params
func (*GetCarrierAccountsParams) WithXAmznShippingBusinessID ¶
func (o *GetCarrierAccountsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCarrierAccountsParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get carrier accounts params
func (*GetCarrierAccountsParams) WriteToRequest ¶
func (o *GetCarrierAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCarrierAccountsReader ¶
type GetCarrierAccountsReader struct {
// contains filtered or unexported fields
}
GetCarrierAccountsReader is a Reader for the GetCarrierAccounts structure.
func (*GetCarrierAccountsReader) ReadResponse ¶
func (o *GetCarrierAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCarrierAccountsRequestEntityTooLarge ¶
type GetCarrierAccountsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetCarrierAccountsRequestEntityTooLarge ¶
func NewGetCarrierAccountsRequestEntityTooLarge() *GetCarrierAccountsRequestEntityTooLarge
NewGetCarrierAccountsRequestEntityTooLarge creates a GetCarrierAccountsRequestEntityTooLarge with default headers values
func (*GetCarrierAccountsRequestEntityTooLarge) Error ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) Error() string
func (*GetCarrierAccountsRequestEntityTooLarge) GetPayload ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsRequestEntityTooLarge) IsClientError ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get carrier accounts request entity too large response has a 4xx status code
func (*GetCarrierAccountsRequestEntityTooLarge) IsCode ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get carrier accounts request entity too large response a status code equal to that given
func (*GetCarrierAccountsRequestEntityTooLarge) IsRedirect ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get carrier accounts request entity too large response has a 3xx status code
func (*GetCarrierAccountsRequestEntityTooLarge) IsServerError ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get carrier accounts request entity too large response has a 5xx status code
func (*GetCarrierAccountsRequestEntityTooLarge) IsSuccess ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get carrier accounts request entity too large response has a 2xx status code
func (*GetCarrierAccountsRequestEntityTooLarge) String ¶
func (o *GetCarrierAccountsRequestEntityTooLarge) String() string
type GetCarrierAccountsServiceUnavailable ¶
type GetCarrierAccountsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCarrierAccountsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCarrierAccountsServiceUnavailable ¶
func NewGetCarrierAccountsServiceUnavailable() *GetCarrierAccountsServiceUnavailable
NewGetCarrierAccountsServiceUnavailable creates a GetCarrierAccountsServiceUnavailable with default headers values
func (*GetCarrierAccountsServiceUnavailable) Error ¶
func (o *GetCarrierAccountsServiceUnavailable) Error() string
func (*GetCarrierAccountsServiceUnavailable) GetPayload ¶
func (o *GetCarrierAccountsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsServiceUnavailable) IsClientError ¶
func (o *GetCarrierAccountsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get carrier accounts service unavailable response has a 4xx status code
func (*GetCarrierAccountsServiceUnavailable) IsCode ¶
func (o *GetCarrierAccountsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get carrier accounts service unavailable response a status code equal to that given
func (*GetCarrierAccountsServiceUnavailable) IsRedirect ¶
func (o *GetCarrierAccountsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get carrier accounts service unavailable response has a 3xx status code
func (*GetCarrierAccountsServiceUnavailable) IsServerError ¶
func (o *GetCarrierAccountsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get carrier accounts service unavailable response has a 5xx status code
func (*GetCarrierAccountsServiceUnavailable) IsSuccess ¶
func (o *GetCarrierAccountsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get carrier accounts service unavailable response has a 2xx status code
func (*GetCarrierAccountsServiceUnavailable) String ¶
func (o *GetCarrierAccountsServiceUnavailable) String() string
type GetCarrierAccountsTooManyRequests ¶
type GetCarrierAccountsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCarrierAccountsTooManyRequests ¶
func NewGetCarrierAccountsTooManyRequests() *GetCarrierAccountsTooManyRequests
NewGetCarrierAccountsTooManyRequests creates a GetCarrierAccountsTooManyRequests with default headers values
func (*GetCarrierAccountsTooManyRequests) Error ¶
func (o *GetCarrierAccountsTooManyRequests) Error() string
func (*GetCarrierAccountsTooManyRequests) GetPayload ¶
func (o *GetCarrierAccountsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsTooManyRequests) IsClientError ¶
func (o *GetCarrierAccountsTooManyRequests) IsClientError() bool
IsClientError returns true when this get carrier accounts too many requests response has a 4xx status code
func (*GetCarrierAccountsTooManyRequests) IsCode ¶
func (o *GetCarrierAccountsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get carrier accounts too many requests response a status code equal to that given
func (*GetCarrierAccountsTooManyRequests) IsRedirect ¶
func (o *GetCarrierAccountsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get carrier accounts too many requests response has a 3xx status code
func (*GetCarrierAccountsTooManyRequests) IsServerError ¶
func (o *GetCarrierAccountsTooManyRequests) IsServerError() bool
IsServerError returns true when this get carrier accounts too many requests response has a 5xx status code
func (*GetCarrierAccountsTooManyRequests) IsSuccess ¶
func (o *GetCarrierAccountsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get carrier accounts too many requests response has a 2xx status code
func (*GetCarrierAccountsTooManyRequests) String ¶
func (o *GetCarrierAccountsTooManyRequests) String() string
type GetCarrierAccountsUnauthorized ¶
GetCarrierAccountsUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetCarrierAccountsUnauthorized ¶
func NewGetCarrierAccountsUnauthorized() *GetCarrierAccountsUnauthorized
NewGetCarrierAccountsUnauthorized creates a GetCarrierAccountsUnauthorized with default headers values
func (*GetCarrierAccountsUnauthorized) Error ¶
func (o *GetCarrierAccountsUnauthorized) Error() string
func (*GetCarrierAccountsUnauthorized) GetPayload ¶
func (o *GetCarrierAccountsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsUnauthorized) IsClientError ¶
func (o *GetCarrierAccountsUnauthorized) IsClientError() bool
IsClientError returns true when this get carrier accounts unauthorized response has a 4xx status code
func (*GetCarrierAccountsUnauthorized) IsCode ¶
func (o *GetCarrierAccountsUnauthorized) IsCode(code int) bool
IsCode returns true when this get carrier accounts unauthorized response a status code equal to that given
func (*GetCarrierAccountsUnauthorized) IsRedirect ¶
func (o *GetCarrierAccountsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get carrier accounts unauthorized response has a 3xx status code
func (*GetCarrierAccountsUnauthorized) IsServerError ¶
func (o *GetCarrierAccountsUnauthorized) IsServerError() bool
IsServerError returns true when this get carrier accounts unauthorized response has a 5xx status code
func (*GetCarrierAccountsUnauthorized) IsSuccess ¶
func (o *GetCarrierAccountsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get carrier accounts unauthorized response has a 2xx status code
func (*GetCarrierAccountsUnauthorized) String ¶
func (o *GetCarrierAccountsUnauthorized) String() string
type GetCarrierAccountsUnsupportedMediaType ¶
type GetCarrierAccountsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCarrierAccountsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCarrierAccountsUnsupportedMediaType ¶
func NewGetCarrierAccountsUnsupportedMediaType() *GetCarrierAccountsUnsupportedMediaType
NewGetCarrierAccountsUnsupportedMediaType creates a GetCarrierAccountsUnsupportedMediaType with default headers values
func (*GetCarrierAccountsUnsupportedMediaType) Error ¶
func (o *GetCarrierAccountsUnsupportedMediaType) Error() string
func (*GetCarrierAccountsUnsupportedMediaType) GetPayload ¶
func (o *GetCarrierAccountsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetCarrierAccountsUnsupportedMediaType) IsClientError ¶
func (o *GetCarrierAccountsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get carrier accounts unsupported media type response has a 4xx status code
func (*GetCarrierAccountsUnsupportedMediaType) IsCode ¶
func (o *GetCarrierAccountsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get carrier accounts unsupported media type response a status code equal to that given
func (*GetCarrierAccountsUnsupportedMediaType) IsRedirect ¶
func (o *GetCarrierAccountsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get carrier accounts unsupported media type response has a 3xx status code
func (*GetCarrierAccountsUnsupportedMediaType) IsServerError ¶
func (o *GetCarrierAccountsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get carrier accounts unsupported media type response has a 5xx status code
func (*GetCarrierAccountsUnsupportedMediaType) IsSuccess ¶
func (o *GetCarrierAccountsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get carrier accounts unsupported media type response has a 2xx status code
func (*GetCarrierAccountsUnsupportedMediaType) String ¶
func (o *GetCarrierAccountsUnsupportedMediaType) String() string
type GetCollectionFormBadRequest ¶
type GetCollectionFormBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCollectionFormBadRequest ¶
func NewGetCollectionFormBadRequest() *GetCollectionFormBadRequest
NewGetCollectionFormBadRequest creates a GetCollectionFormBadRequest with default headers values
func (*GetCollectionFormBadRequest) Error ¶
func (o *GetCollectionFormBadRequest) Error() string
func (*GetCollectionFormBadRequest) GetPayload ¶
func (o *GetCollectionFormBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormBadRequest) IsClientError ¶
func (o *GetCollectionFormBadRequest) IsClientError() bool
IsClientError returns true when this get collection form bad request response has a 4xx status code
func (*GetCollectionFormBadRequest) IsCode ¶
func (o *GetCollectionFormBadRequest) IsCode(code int) bool
IsCode returns true when this get collection form bad request response a status code equal to that given
func (*GetCollectionFormBadRequest) IsRedirect ¶
func (o *GetCollectionFormBadRequest) IsRedirect() bool
IsRedirect returns true when this get collection form bad request response has a 3xx status code
func (*GetCollectionFormBadRequest) IsServerError ¶
func (o *GetCollectionFormBadRequest) IsServerError() bool
IsServerError returns true when this get collection form bad request response has a 5xx status code
func (*GetCollectionFormBadRequest) IsSuccess ¶
func (o *GetCollectionFormBadRequest) IsSuccess() bool
IsSuccess returns true when this get collection form bad request response has a 2xx status code
func (*GetCollectionFormBadRequest) String ¶
func (o *GetCollectionFormBadRequest) String() string
type GetCollectionFormForbidden ¶
type GetCollectionFormForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCollectionFormForbidden ¶
func NewGetCollectionFormForbidden() *GetCollectionFormForbidden
NewGetCollectionFormForbidden creates a GetCollectionFormForbidden with default headers values
func (*GetCollectionFormForbidden) Error ¶
func (o *GetCollectionFormForbidden) Error() string
func (*GetCollectionFormForbidden) GetPayload ¶
func (o *GetCollectionFormForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormForbidden) IsClientError ¶
func (o *GetCollectionFormForbidden) IsClientError() bool
IsClientError returns true when this get collection form forbidden response has a 4xx status code
func (*GetCollectionFormForbidden) IsCode ¶
func (o *GetCollectionFormForbidden) IsCode(code int) bool
IsCode returns true when this get collection form forbidden response a status code equal to that given
func (*GetCollectionFormForbidden) IsRedirect ¶
func (o *GetCollectionFormForbidden) IsRedirect() bool
IsRedirect returns true when this get collection form forbidden response has a 3xx status code
func (*GetCollectionFormForbidden) IsServerError ¶
func (o *GetCollectionFormForbidden) IsServerError() bool
IsServerError returns true when this get collection form forbidden response has a 5xx status code
func (*GetCollectionFormForbidden) IsSuccess ¶
func (o *GetCollectionFormForbidden) IsSuccess() bool
IsSuccess returns true when this get collection form forbidden response has a 2xx status code
func (*GetCollectionFormForbidden) String ¶
func (o *GetCollectionFormForbidden) String() string
type GetCollectionFormHistoryBadRequest ¶
type GetCollectionFormHistoryBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCollectionFormHistoryBadRequest ¶
func NewGetCollectionFormHistoryBadRequest() *GetCollectionFormHistoryBadRequest
NewGetCollectionFormHistoryBadRequest creates a GetCollectionFormHistoryBadRequest with default headers values
func (*GetCollectionFormHistoryBadRequest) Error ¶
func (o *GetCollectionFormHistoryBadRequest) Error() string
func (*GetCollectionFormHistoryBadRequest) GetPayload ¶
func (o *GetCollectionFormHistoryBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryBadRequest) IsClientError ¶
func (o *GetCollectionFormHistoryBadRequest) IsClientError() bool
IsClientError returns true when this get collection form history bad request response has a 4xx status code
func (*GetCollectionFormHistoryBadRequest) IsCode ¶
func (o *GetCollectionFormHistoryBadRequest) IsCode(code int) bool
IsCode returns true when this get collection form history bad request response a status code equal to that given
func (*GetCollectionFormHistoryBadRequest) IsRedirect ¶
func (o *GetCollectionFormHistoryBadRequest) IsRedirect() bool
IsRedirect returns true when this get collection form history bad request response has a 3xx status code
func (*GetCollectionFormHistoryBadRequest) IsServerError ¶
func (o *GetCollectionFormHistoryBadRequest) IsServerError() bool
IsServerError returns true when this get collection form history bad request response has a 5xx status code
func (*GetCollectionFormHistoryBadRequest) IsSuccess ¶
func (o *GetCollectionFormHistoryBadRequest) IsSuccess() bool
IsSuccess returns true when this get collection form history bad request response has a 2xx status code
func (*GetCollectionFormHistoryBadRequest) String ¶
func (o *GetCollectionFormHistoryBadRequest) String() string
type GetCollectionFormHistoryForbidden ¶
type GetCollectionFormHistoryForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCollectionFormHistoryForbidden ¶
func NewGetCollectionFormHistoryForbidden() *GetCollectionFormHistoryForbidden
NewGetCollectionFormHistoryForbidden creates a GetCollectionFormHistoryForbidden with default headers values
func (*GetCollectionFormHistoryForbidden) Error ¶
func (o *GetCollectionFormHistoryForbidden) Error() string
func (*GetCollectionFormHistoryForbidden) GetPayload ¶
func (o *GetCollectionFormHistoryForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryForbidden) IsClientError ¶
func (o *GetCollectionFormHistoryForbidden) IsClientError() bool
IsClientError returns true when this get collection form history forbidden response has a 4xx status code
func (*GetCollectionFormHistoryForbidden) IsCode ¶
func (o *GetCollectionFormHistoryForbidden) IsCode(code int) bool
IsCode returns true when this get collection form history forbidden response a status code equal to that given
func (*GetCollectionFormHistoryForbidden) IsRedirect ¶
func (o *GetCollectionFormHistoryForbidden) IsRedirect() bool
IsRedirect returns true when this get collection form history forbidden response has a 3xx status code
func (*GetCollectionFormHistoryForbidden) IsServerError ¶
func (o *GetCollectionFormHistoryForbidden) IsServerError() bool
IsServerError returns true when this get collection form history forbidden response has a 5xx status code
func (*GetCollectionFormHistoryForbidden) IsSuccess ¶
func (o *GetCollectionFormHistoryForbidden) IsSuccess() bool
IsSuccess returns true when this get collection form history forbidden response has a 2xx status code
func (*GetCollectionFormHistoryForbidden) String ¶
func (o *GetCollectionFormHistoryForbidden) String() string
type GetCollectionFormHistoryInternalServerError ¶
type GetCollectionFormHistoryInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCollectionFormHistoryInternalServerError ¶
func NewGetCollectionFormHistoryInternalServerError() *GetCollectionFormHistoryInternalServerError
NewGetCollectionFormHistoryInternalServerError creates a GetCollectionFormHistoryInternalServerError with default headers values
func (*GetCollectionFormHistoryInternalServerError) Error ¶
func (o *GetCollectionFormHistoryInternalServerError) Error() string
func (*GetCollectionFormHistoryInternalServerError) GetPayload ¶
func (o *GetCollectionFormHistoryInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryInternalServerError) IsClientError ¶
func (o *GetCollectionFormHistoryInternalServerError) IsClientError() bool
IsClientError returns true when this get collection form history internal server error response has a 4xx status code
func (*GetCollectionFormHistoryInternalServerError) IsCode ¶
func (o *GetCollectionFormHistoryInternalServerError) IsCode(code int) bool
IsCode returns true when this get collection form history internal server error response a status code equal to that given
func (*GetCollectionFormHistoryInternalServerError) IsRedirect ¶
func (o *GetCollectionFormHistoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this get collection form history internal server error response has a 3xx status code
func (*GetCollectionFormHistoryInternalServerError) IsServerError ¶
func (o *GetCollectionFormHistoryInternalServerError) IsServerError() bool
IsServerError returns true when this get collection form history internal server error response has a 5xx status code
func (*GetCollectionFormHistoryInternalServerError) IsSuccess ¶
func (o *GetCollectionFormHistoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get collection form history internal server error response has a 2xx status code
func (*GetCollectionFormHistoryInternalServerError) String ¶
func (o *GetCollectionFormHistoryInternalServerError) String() string
type GetCollectionFormHistoryNotFound ¶
type GetCollectionFormHistoryNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCollectionFormHistoryNotFound ¶
func NewGetCollectionFormHistoryNotFound() *GetCollectionFormHistoryNotFound
NewGetCollectionFormHistoryNotFound creates a GetCollectionFormHistoryNotFound with default headers values
func (*GetCollectionFormHistoryNotFound) Error ¶
func (o *GetCollectionFormHistoryNotFound) Error() string
func (*GetCollectionFormHistoryNotFound) GetPayload ¶
func (o *GetCollectionFormHistoryNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryNotFound) IsClientError ¶
func (o *GetCollectionFormHistoryNotFound) IsClientError() bool
IsClientError returns true when this get collection form history not found response has a 4xx status code
func (*GetCollectionFormHistoryNotFound) IsCode ¶
func (o *GetCollectionFormHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get collection form history not found response a status code equal to that given
func (*GetCollectionFormHistoryNotFound) IsRedirect ¶
func (o *GetCollectionFormHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get collection form history not found response has a 3xx status code
func (*GetCollectionFormHistoryNotFound) IsServerError ¶
func (o *GetCollectionFormHistoryNotFound) IsServerError() bool
IsServerError returns true when this get collection form history not found response has a 5xx status code
func (*GetCollectionFormHistoryNotFound) IsSuccess ¶
func (o *GetCollectionFormHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get collection form history not found response has a 2xx status code
func (*GetCollectionFormHistoryNotFound) String ¶
func (o *GetCollectionFormHistoryNotFound) String() string
type GetCollectionFormHistoryOK ¶
type GetCollectionFormHistoryOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetCollectionFormHistoryResponse }
GetCollectionFormHistoryOK describes a response with status code 200, with default header values.
Success.
func NewGetCollectionFormHistoryOK ¶
func NewGetCollectionFormHistoryOK() *GetCollectionFormHistoryOK
NewGetCollectionFormHistoryOK creates a GetCollectionFormHistoryOK with default headers values
func (*GetCollectionFormHistoryOK) Error ¶
func (o *GetCollectionFormHistoryOK) Error() string
func (*GetCollectionFormHistoryOK) GetPayload ¶
func (o *GetCollectionFormHistoryOK) GetPayload() *shipping_v2_models.GetCollectionFormHistoryResponse
func (*GetCollectionFormHistoryOK) IsClientError ¶
func (o *GetCollectionFormHistoryOK) IsClientError() bool
IsClientError returns true when this get collection form history o k response has a 4xx status code
func (*GetCollectionFormHistoryOK) IsCode ¶
func (o *GetCollectionFormHistoryOK) IsCode(code int) bool
IsCode returns true when this get collection form history o k response a status code equal to that given
func (*GetCollectionFormHistoryOK) IsRedirect ¶
func (o *GetCollectionFormHistoryOK) IsRedirect() bool
IsRedirect returns true when this get collection form history o k response has a 3xx status code
func (*GetCollectionFormHistoryOK) IsServerError ¶
func (o *GetCollectionFormHistoryOK) IsServerError() bool
IsServerError returns true when this get collection form history o k response has a 5xx status code
func (*GetCollectionFormHistoryOK) IsSuccess ¶
func (o *GetCollectionFormHistoryOK) IsSuccess() bool
IsSuccess returns true when this get collection form history o k response has a 2xx status code
func (*GetCollectionFormHistoryOK) String ¶
func (o *GetCollectionFormHistoryOK) String() string
type GetCollectionFormHistoryParams ¶
type GetCollectionFormHistoryParams struct { // Body. Body *shipping_v2_models.GetCollectionFormHistoryRequest /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCollectionFormHistoryParams contains all the parameters to send to the API endpoint
for the get collection form history operation. Typically these are written to a http.Request.
func NewGetCollectionFormHistoryParams ¶
func NewGetCollectionFormHistoryParams() *GetCollectionFormHistoryParams
NewGetCollectionFormHistoryParams creates a new GetCollectionFormHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCollectionFormHistoryParamsWithContext ¶
func NewGetCollectionFormHistoryParamsWithContext(ctx context.Context) *GetCollectionFormHistoryParams
NewGetCollectionFormHistoryParamsWithContext creates a new GetCollectionFormHistoryParams object with the ability to set a context for a request.
func NewGetCollectionFormHistoryParamsWithHTTPClient ¶
func NewGetCollectionFormHistoryParamsWithHTTPClient(client *http.Client) *GetCollectionFormHistoryParams
NewGetCollectionFormHistoryParamsWithHTTPClient creates a new GetCollectionFormHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollectionFormHistoryParamsWithTimeout ¶
func NewGetCollectionFormHistoryParamsWithTimeout(timeout time.Duration) *GetCollectionFormHistoryParams
NewGetCollectionFormHistoryParamsWithTimeout creates a new GetCollectionFormHistoryParams object with the ability to set a timeout on a request.
func (*GetCollectionFormHistoryParams) SetBody ¶
func (o *GetCollectionFormHistoryParams) SetBody(body *shipping_v2_models.GetCollectionFormHistoryRequest)
SetBody adds the body to the get collection form history params
func (*GetCollectionFormHistoryParams) SetContext ¶
func (o *GetCollectionFormHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get collection form history params
func (*GetCollectionFormHistoryParams) SetDefaults ¶
func (o *GetCollectionFormHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get collection form history params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionFormHistoryParams) SetHTTPClient ¶
func (o *GetCollectionFormHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get collection form history params
func (*GetCollectionFormHistoryParams) SetTimeout ¶
func (o *GetCollectionFormHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get collection form history params
func (*GetCollectionFormHistoryParams) SetXAmznShippingBusinessID ¶
func (o *GetCollectionFormHistoryParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get collection form history params
func (*GetCollectionFormHistoryParams) WithBody ¶
func (o *GetCollectionFormHistoryParams) WithBody(body *shipping_v2_models.GetCollectionFormHistoryRequest) *GetCollectionFormHistoryParams
WithBody adds the body to the get collection form history params
func (*GetCollectionFormHistoryParams) WithContext ¶
func (o *GetCollectionFormHistoryParams) WithContext(ctx context.Context) *GetCollectionFormHistoryParams
WithContext adds the context to the get collection form history params
func (*GetCollectionFormHistoryParams) WithDefaults ¶
func (o *GetCollectionFormHistoryParams) WithDefaults() *GetCollectionFormHistoryParams
WithDefaults hydrates default values in the get collection form history params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionFormHistoryParams) WithHTTPClient ¶
func (o *GetCollectionFormHistoryParams) WithHTTPClient(client *http.Client) *GetCollectionFormHistoryParams
WithHTTPClient adds the HTTPClient to the get collection form history params
func (*GetCollectionFormHistoryParams) WithTimeout ¶
func (o *GetCollectionFormHistoryParams) WithTimeout(timeout time.Duration) *GetCollectionFormHistoryParams
WithTimeout adds the timeout to the get collection form history params
func (*GetCollectionFormHistoryParams) WithXAmznShippingBusinessID ¶
func (o *GetCollectionFormHistoryParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCollectionFormHistoryParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get collection form history params
func (*GetCollectionFormHistoryParams) WriteToRequest ¶
func (o *GetCollectionFormHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCollectionFormHistoryReader ¶
type GetCollectionFormHistoryReader struct {
// contains filtered or unexported fields
}
GetCollectionFormHistoryReader is a Reader for the GetCollectionFormHistory structure.
func (*GetCollectionFormHistoryReader) ReadResponse ¶
func (o *GetCollectionFormHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCollectionFormHistoryRequestEntityTooLarge ¶
type GetCollectionFormHistoryRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetCollectionFormHistoryRequestEntityTooLarge ¶
func NewGetCollectionFormHistoryRequestEntityTooLarge() *GetCollectionFormHistoryRequestEntityTooLarge
NewGetCollectionFormHistoryRequestEntityTooLarge creates a GetCollectionFormHistoryRequestEntityTooLarge with default headers values
func (*GetCollectionFormHistoryRequestEntityTooLarge) Error ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) Error() string
func (*GetCollectionFormHistoryRequestEntityTooLarge) GetPayload ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryRequestEntityTooLarge) IsClientError ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get collection form history request entity too large response has a 4xx status code
func (*GetCollectionFormHistoryRequestEntityTooLarge) IsCode ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get collection form history request entity too large response a status code equal to that given
func (*GetCollectionFormHistoryRequestEntityTooLarge) IsRedirect ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get collection form history request entity too large response has a 3xx status code
func (*GetCollectionFormHistoryRequestEntityTooLarge) IsServerError ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get collection form history request entity too large response has a 5xx status code
func (*GetCollectionFormHistoryRequestEntityTooLarge) IsSuccess ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get collection form history request entity too large response has a 2xx status code
func (*GetCollectionFormHistoryRequestEntityTooLarge) String ¶
func (o *GetCollectionFormHistoryRequestEntityTooLarge) String() string
type GetCollectionFormHistoryServiceUnavailable ¶
type GetCollectionFormHistoryServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCollectionFormHistoryServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCollectionFormHistoryServiceUnavailable ¶
func NewGetCollectionFormHistoryServiceUnavailable() *GetCollectionFormHistoryServiceUnavailable
NewGetCollectionFormHistoryServiceUnavailable creates a GetCollectionFormHistoryServiceUnavailable with default headers values
func (*GetCollectionFormHistoryServiceUnavailable) Error ¶
func (o *GetCollectionFormHistoryServiceUnavailable) Error() string
func (*GetCollectionFormHistoryServiceUnavailable) GetPayload ¶
func (o *GetCollectionFormHistoryServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryServiceUnavailable) IsClientError ¶
func (o *GetCollectionFormHistoryServiceUnavailable) IsClientError() bool
IsClientError returns true when this get collection form history service unavailable response has a 4xx status code
func (*GetCollectionFormHistoryServiceUnavailable) IsCode ¶
func (o *GetCollectionFormHistoryServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get collection form history service unavailable response a status code equal to that given
func (*GetCollectionFormHistoryServiceUnavailable) IsRedirect ¶
func (o *GetCollectionFormHistoryServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get collection form history service unavailable response has a 3xx status code
func (*GetCollectionFormHistoryServiceUnavailable) IsServerError ¶
func (o *GetCollectionFormHistoryServiceUnavailable) IsServerError() bool
IsServerError returns true when this get collection form history service unavailable response has a 5xx status code
func (*GetCollectionFormHistoryServiceUnavailable) IsSuccess ¶
func (o *GetCollectionFormHistoryServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get collection form history service unavailable response has a 2xx status code
func (*GetCollectionFormHistoryServiceUnavailable) String ¶
func (o *GetCollectionFormHistoryServiceUnavailable) String() string
type GetCollectionFormHistoryTooManyRequests ¶
type GetCollectionFormHistoryTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCollectionFormHistoryTooManyRequests ¶
func NewGetCollectionFormHistoryTooManyRequests() *GetCollectionFormHistoryTooManyRequests
NewGetCollectionFormHistoryTooManyRequests creates a GetCollectionFormHistoryTooManyRequests with default headers values
func (*GetCollectionFormHistoryTooManyRequests) Error ¶
func (o *GetCollectionFormHistoryTooManyRequests) Error() string
func (*GetCollectionFormHistoryTooManyRequests) GetPayload ¶
func (o *GetCollectionFormHistoryTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryTooManyRequests) IsClientError ¶
func (o *GetCollectionFormHistoryTooManyRequests) IsClientError() bool
IsClientError returns true when this get collection form history too many requests response has a 4xx status code
func (*GetCollectionFormHistoryTooManyRequests) IsCode ¶
func (o *GetCollectionFormHistoryTooManyRequests) IsCode(code int) bool
IsCode returns true when this get collection form history too many requests response a status code equal to that given
func (*GetCollectionFormHistoryTooManyRequests) IsRedirect ¶
func (o *GetCollectionFormHistoryTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get collection form history too many requests response has a 3xx status code
func (*GetCollectionFormHistoryTooManyRequests) IsServerError ¶
func (o *GetCollectionFormHistoryTooManyRequests) IsServerError() bool
IsServerError returns true when this get collection form history too many requests response has a 5xx status code
func (*GetCollectionFormHistoryTooManyRequests) IsSuccess ¶
func (o *GetCollectionFormHistoryTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get collection form history too many requests response has a 2xx status code
func (*GetCollectionFormHistoryTooManyRequests) String ¶
func (o *GetCollectionFormHistoryTooManyRequests) String() string
type GetCollectionFormHistoryUnauthorized ¶
type GetCollectionFormHistoryUnauthorized struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCollectionFormHistoryUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetCollectionFormHistoryUnauthorized ¶
func NewGetCollectionFormHistoryUnauthorized() *GetCollectionFormHistoryUnauthorized
NewGetCollectionFormHistoryUnauthorized creates a GetCollectionFormHistoryUnauthorized with default headers values
func (*GetCollectionFormHistoryUnauthorized) Error ¶
func (o *GetCollectionFormHistoryUnauthorized) Error() string
func (*GetCollectionFormHistoryUnauthorized) GetPayload ¶
func (o *GetCollectionFormHistoryUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryUnauthorized) IsClientError ¶
func (o *GetCollectionFormHistoryUnauthorized) IsClientError() bool
IsClientError returns true when this get collection form history unauthorized response has a 4xx status code
func (*GetCollectionFormHistoryUnauthorized) IsCode ¶
func (o *GetCollectionFormHistoryUnauthorized) IsCode(code int) bool
IsCode returns true when this get collection form history unauthorized response a status code equal to that given
func (*GetCollectionFormHistoryUnauthorized) IsRedirect ¶
func (o *GetCollectionFormHistoryUnauthorized) IsRedirect() bool
IsRedirect returns true when this get collection form history unauthorized response has a 3xx status code
func (*GetCollectionFormHistoryUnauthorized) IsServerError ¶
func (o *GetCollectionFormHistoryUnauthorized) IsServerError() bool
IsServerError returns true when this get collection form history unauthorized response has a 5xx status code
func (*GetCollectionFormHistoryUnauthorized) IsSuccess ¶
func (o *GetCollectionFormHistoryUnauthorized) IsSuccess() bool
IsSuccess returns true when this get collection form history unauthorized response has a 2xx status code
func (*GetCollectionFormHistoryUnauthorized) String ¶
func (o *GetCollectionFormHistoryUnauthorized) String() string
type GetCollectionFormHistoryUnsupportedMediaType ¶
type GetCollectionFormHistoryUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormHistoryUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCollectionFormHistoryUnsupportedMediaType ¶
func NewGetCollectionFormHistoryUnsupportedMediaType() *GetCollectionFormHistoryUnsupportedMediaType
NewGetCollectionFormHistoryUnsupportedMediaType creates a GetCollectionFormHistoryUnsupportedMediaType with default headers values
func (*GetCollectionFormHistoryUnsupportedMediaType) Error ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) Error() string
func (*GetCollectionFormHistoryUnsupportedMediaType) GetPayload ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormHistoryUnsupportedMediaType) IsClientError ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get collection form history unsupported media type response has a 4xx status code
func (*GetCollectionFormHistoryUnsupportedMediaType) IsCode ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get collection form history unsupported media type response a status code equal to that given
func (*GetCollectionFormHistoryUnsupportedMediaType) IsRedirect ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get collection form history unsupported media type response has a 3xx status code
func (*GetCollectionFormHistoryUnsupportedMediaType) IsServerError ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get collection form history unsupported media type response has a 5xx status code
func (*GetCollectionFormHistoryUnsupportedMediaType) IsSuccess ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get collection form history unsupported media type response has a 2xx status code
func (*GetCollectionFormHistoryUnsupportedMediaType) String ¶
func (o *GetCollectionFormHistoryUnsupportedMediaType) String() string
type GetCollectionFormInternalServerError ¶
type GetCollectionFormInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCollectionFormInternalServerError ¶
func NewGetCollectionFormInternalServerError() *GetCollectionFormInternalServerError
NewGetCollectionFormInternalServerError creates a GetCollectionFormInternalServerError with default headers values
func (*GetCollectionFormInternalServerError) Error ¶
func (o *GetCollectionFormInternalServerError) Error() string
func (*GetCollectionFormInternalServerError) GetPayload ¶
func (o *GetCollectionFormInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormInternalServerError) IsClientError ¶
func (o *GetCollectionFormInternalServerError) IsClientError() bool
IsClientError returns true when this get collection form internal server error response has a 4xx status code
func (*GetCollectionFormInternalServerError) IsCode ¶
func (o *GetCollectionFormInternalServerError) IsCode(code int) bool
IsCode returns true when this get collection form internal server error response a status code equal to that given
func (*GetCollectionFormInternalServerError) IsRedirect ¶
func (o *GetCollectionFormInternalServerError) IsRedirect() bool
IsRedirect returns true when this get collection form internal server error response has a 3xx status code
func (*GetCollectionFormInternalServerError) IsServerError ¶
func (o *GetCollectionFormInternalServerError) IsServerError() bool
IsServerError returns true when this get collection form internal server error response has a 5xx status code
func (*GetCollectionFormInternalServerError) IsSuccess ¶
func (o *GetCollectionFormInternalServerError) IsSuccess() bool
IsSuccess returns true when this get collection form internal server error response has a 2xx status code
func (*GetCollectionFormInternalServerError) String ¶
func (o *GetCollectionFormInternalServerError) String() string
type GetCollectionFormNotFound ¶
type GetCollectionFormNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCollectionFormNotFound ¶
func NewGetCollectionFormNotFound() *GetCollectionFormNotFound
NewGetCollectionFormNotFound creates a GetCollectionFormNotFound with default headers values
func (*GetCollectionFormNotFound) Error ¶
func (o *GetCollectionFormNotFound) Error() string
func (*GetCollectionFormNotFound) GetPayload ¶
func (o *GetCollectionFormNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormNotFound) IsClientError ¶
func (o *GetCollectionFormNotFound) IsClientError() bool
IsClientError returns true when this get collection form not found response has a 4xx status code
func (*GetCollectionFormNotFound) IsCode ¶
func (o *GetCollectionFormNotFound) IsCode(code int) bool
IsCode returns true when this get collection form not found response a status code equal to that given
func (*GetCollectionFormNotFound) IsRedirect ¶
func (o *GetCollectionFormNotFound) IsRedirect() bool
IsRedirect returns true when this get collection form not found response has a 3xx status code
func (*GetCollectionFormNotFound) IsServerError ¶
func (o *GetCollectionFormNotFound) IsServerError() bool
IsServerError returns true when this get collection form not found response has a 5xx status code
func (*GetCollectionFormNotFound) IsSuccess ¶
func (o *GetCollectionFormNotFound) IsSuccess() bool
IsSuccess returns true when this get collection form not found response has a 2xx status code
func (*GetCollectionFormNotFound) String ¶
func (o *GetCollectionFormNotFound) String() string
type GetCollectionFormOK ¶
type GetCollectionFormOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetCollectionFormResponse }
GetCollectionFormOK describes a response with status code 200, with default header values.
Success.
func NewGetCollectionFormOK ¶
func NewGetCollectionFormOK() *GetCollectionFormOK
NewGetCollectionFormOK creates a GetCollectionFormOK with default headers values
func (*GetCollectionFormOK) Error ¶
func (o *GetCollectionFormOK) Error() string
func (*GetCollectionFormOK) GetPayload ¶
func (o *GetCollectionFormOK) GetPayload() *shipping_v2_models.GetCollectionFormResponse
func (*GetCollectionFormOK) IsClientError ¶
func (o *GetCollectionFormOK) IsClientError() bool
IsClientError returns true when this get collection form o k response has a 4xx status code
func (*GetCollectionFormOK) IsCode ¶
func (o *GetCollectionFormOK) IsCode(code int) bool
IsCode returns true when this get collection form o k response a status code equal to that given
func (*GetCollectionFormOK) IsRedirect ¶
func (o *GetCollectionFormOK) IsRedirect() bool
IsRedirect returns true when this get collection form o k response has a 3xx status code
func (*GetCollectionFormOK) IsServerError ¶
func (o *GetCollectionFormOK) IsServerError() bool
IsServerError returns true when this get collection form o k response has a 5xx status code
func (*GetCollectionFormOK) IsSuccess ¶
func (o *GetCollectionFormOK) IsSuccess() bool
IsSuccess returns true when this get collection form o k response has a 2xx status code
func (*GetCollectionFormOK) String ¶
func (o *GetCollectionFormOK) String() string
type GetCollectionFormParams ¶
type GetCollectionFormParams struct { /* CollectionFormID. collection form Id to reprint a collection. */ CollectionFormID string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCollectionFormParams contains all the parameters to send to the API endpoint
for the get collection form operation. Typically these are written to a http.Request.
func NewGetCollectionFormParams ¶
func NewGetCollectionFormParams() *GetCollectionFormParams
NewGetCollectionFormParams creates a new GetCollectionFormParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCollectionFormParamsWithContext ¶
func NewGetCollectionFormParamsWithContext(ctx context.Context) *GetCollectionFormParams
NewGetCollectionFormParamsWithContext creates a new GetCollectionFormParams object with the ability to set a context for a request.
func NewGetCollectionFormParamsWithHTTPClient ¶
func NewGetCollectionFormParamsWithHTTPClient(client *http.Client) *GetCollectionFormParams
NewGetCollectionFormParamsWithHTTPClient creates a new GetCollectionFormParams object with the ability to set a custom HTTPClient for a request.
func NewGetCollectionFormParamsWithTimeout ¶
func NewGetCollectionFormParamsWithTimeout(timeout time.Duration) *GetCollectionFormParams
NewGetCollectionFormParamsWithTimeout creates a new GetCollectionFormParams object with the ability to set a timeout on a request.
func (*GetCollectionFormParams) SetCollectionFormID ¶
func (o *GetCollectionFormParams) SetCollectionFormID(collectionFormID string)
SetCollectionFormID adds the collectionFormId to the get collection form params
func (*GetCollectionFormParams) SetContext ¶
func (o *GetCollectionFormParams) SetContext(ctx context.Context)
SetContext adds the context to the get collection form params
func (*GetCollectionFormParams) SetDefaults ¶
func (o *GetCollectionFormParams) SetDefaults()
SetDefaults hydrates default values in the get collection form params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionFormParams) SetHTTPClient ¶
func (o *GetCollectionFormParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get collection form params
func (*GetCollectionFormParams) SetTimeout ¶
func (o *GetCollectionFormParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get collection form params
func (*GetCollectionFormParams) SetXAmznShippingBusinessID ¶
func (o *GetCollectionFormParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get collection form params
func (*GetCollectionFormParams) WithCollectionFormID ¶
func (o *GetCollectionFormParams) WithCollectionFormID(collectionFormID string) *GetCollectionFormParams
WithCollectionFormID adds the collectionFormID to the get collection form params
func (*GetCollectionFormParams) WithContext ¶
func (o *GetCollectionFormParams) WithContext(ctx context.Context) *GetCollectionFormParams
WithContext adds the context to the get collection form params
func (*GetCollectionFormParams) WithDefaults ¶
func (o *GetCollectionFormParams) WithDefaults() *GetCollectionFormParams
WithDefaults hydrates default values in the get collection form params (not the query body).
All values with no default are reset to their zero value.
func (*GetCollectionFormParams) WithHTTPClient ¶
func (o *GetCollectionFormParams) WithHTTPClient(client *http.Client) *GetCollectionFormParams
WithHTTPClient adds the HTTPClient to the get collection form params
func (*GetCollectionFormParams) WithTimeout ¶
func (o *GetCollectionFormParams) WithTimeout(timeout time.Duration) *GetCollectionFormParams
WithTimeout adds the timeout to the get collection form params
func (*GetCollectionFormParams) WithXAmznShippingBusinessID ¶
func (o *GetCollectionFormParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetCollectionFormParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get collection form params
func (*GetCollectionFormParams) WriteToRequest ¶
func (o *GetCollectionFormParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCollectionFormReader ¶
type GetCollectionFormReader struct {
// contains filtered or unexported fields
}
GetCollectionFormReader is a Reader for the GetCollectionForm structure.
func (*GetCollectionFormReader) ReadResponse ¶
func (o *GetCollectionFormReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCollectionFormRequestEntityTooLarge ¶
type GetCollectionFormRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetCollectionFormRequestEntityTooLarge ¶
func NewGetCollectionFormRequestEntityTooLarge() *GetCollectionFormRequestEntityTooLarge
NewGetCollectionFormRequestEntityTooLarge creates a GetCollectionFormRequestEntityTooLarge with default headers values
func (*GetCollectionFormRequestEntityTooLarge) Error ¶
func (o *GetCollectionFormRequestEntityTooLarge) Error() string
func (*GetCollectionFormRequestEntityTooLarge) GetPayload ¶
func (o *GetCollectionFormRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormRequestEntityTooLarge) IsClientError ¶
func (o *GetCollectionFormRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get collection form request entity too large response has a 4xx status code
func (*GetCollectionFormRequestEntityTooLarge) IsCode ¶
func (o *GetCollectionFormRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get collection form request entity too large response a status code equal to that given
func (*GetCollectionFormRequestEntityTooLarge) IsRedirect ¶
func (o *GetCollectionFormRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get collection form request entity too large response has a 3xx status code
func (*GetCollectionFormRequestEntityTooLarge) IsServerError ¶
func (o *GetCollectionFormRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get collection form request entity too large response has a 5xx status code
func (*GetCollectionFormRequestEntityTooLarge) IsSuccess ¶
func (o *GetCollectionFormRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get collection form request entity too large response has a 2xx status code
func (*GetCollectionFormRequestEntityTooLarge) String ¶
func (o *GetCollectionFormRequestEntityTooLarge) String() string
type GetCollectionFormServiceUnavailable ¶
type GetCollectionFormServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCollectionFormServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCollectionFormServiceUnavailable ¶
func NewGetCollectionFormServiceUnavailable() *GetCollectionFormServiceUnavailable
NewGetCollectionFormServiceUnavailable creates a GetCollectionFormServiceUnavailable with default headers values
func (*GetCollectionFormServiceUnavailable) Error ¶
func (o *GetCollectionFormServiceUnavailable) Error() string
func (*GetCollectionFormServiceUnavailable) GetPayload ¶
func (o *GetCollectionFormServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormServiceUnavailable) IsClientError ¶
func (o *GetCollectionFormServiceUnavailable) IsClientError() bool
IsClientError returns true when this get collection form service unavailable response has a 4xx status code
func (*GetCollectionFormServiceUnavailable) IsCode ¶
func (o *GetCollectionFormServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get collection form service unavailable response a status code equal to that given
func (*GetCollectionFormServiceUnavailable) IsRedirect ¶
func (o *GetCollectionFormServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get collection form service unavailable response has a 3xx status code
func (*GetCollectionFormServiceUnavailable) IsServerError ¶
func (o *GetCollectionFormServiceUnavailable) IsServerError() bool
IsServerError returns true when this get collection form service unavailable response has a 5xx status code
func (*GetCollectionFormServiceUnavailable) IsSuccess ¶
func (o *GetCollectionFormServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get collection form service unavailable response has a 2xx status code
func (*GetCollectionFormServiceUnavailable) String ¶
func (o *GetCollectionFormServiceUnavailable) String() string
type GetCollectionFormTooManyRequests ¶
type GetCollectionFormTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCollectionFormTooManyRequests ¶
func NewGetCollectionFormTooManyRequests() *GetCollectionFormTooManyRequests
NewGetCollectionFormTooManyRequests creates a GetCollectionFormTooManyRequests with default headers values
func (*GetCollectionFormTooManyRequests) Error ¶
func (o *GetCollectionFormTooManyRequests) Error() string
func (*GetCollectionFormTooManyRequests) GetPayload ¶
func (o *GetCollectionFormTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormTooManyRequests) IsClientError ¶
func (o *GetCollectionFormTooManyRequests) IsClientError() bool
IsClientError returns true when this get collection form too many requests response has a 4xx status code
func (*GetCollectionFormTooManyRequests) IsCode ¶
func (o *GetCollectionFormTooManyRequests) IsCode(code int) bool
IsCode returns true when this get collection form too many requests response a status code equal to that given
func (*GetCollectionFormTooManyRequests) IsRedirect ¶
func (o *GetCollectionFormTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get collection form too many requests response has a 3xx status code
func (*GetCollectionFormTooManyRequests) IsServerError ¶
func (o *GetCollectionFormTooManyRequests) IsServerError() bool
IsServerError returns true when this get collection form too many requests response has a 5xx status code
func (*GetCollectionFormTooManyRequests) IsSuccess ¶
func (o *GetCollectionFormTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get collection form too many requests response has a 2xx status code
func (*GetCollectionFormTooManyRequests) String ¶
func (o *GetCollectionFormTooManyRequests) String() string
type GetCollectionFormUnauthorized ¶
GetCollectionFormUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetCollectionFormUnauthorized ¶
func NewGetCollectionFormUnauthorized() *GetCollectionFormUnauthorized
NewGetCollectionFormUnauthorized creates a GetCollectionFormUnauthorized with default headers values
func (*GetCollectionFormUnauthorized) Error ¶
func (o *GetCollectionFormUnauthorized) Error() string
func (*GetCollectionFormUnauthorized) GetPayload ¶
func (o *GetCollectionFormUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormUnauthorized) IsClientError ¶
func (o *GetCollectionFormUnauthorized) IsClientError() bool
IsClientError returns true when this get collection form unauthorized response has a 4xx status code
func (*GetCollectionFormUnauthorized) IsCode ¶
func (o *GetCollectionFormUnauthorized) IsCode(code int) bool
IsCode returns true when this get collection form unauthorized response a status code equal to that given
func (*GetCollectionFormUnauthorized) IsRedirect ¶
func (o *GetCollectionFormUnauthorized) IsRedirect() bool
IsRedirect returns true when this get collection form unauthorized response has a 3xx status code
func (*GetCollectionFormUnauthorized) IsServerError ¶
func (o *GetCollectionFormUnauthorized) IsServerError() bool
IsServerError returns true when this get collection form unauthorized response has a 5xx status code
func (*GetCollectionFormUnauthorized) IsSuccess ¶
func (o *GetCollectionFormUnauthorized) IsSuccess() bool
IsSuccess returns true when this get collection form unauthorized response has a 2xx status code
func (*GetCollectionFormUnauthorized) String ¶
func (o *GetCollectionFormUnauthorized) String() string
type GetCollectionFormUnsupportedMediaType ¶
type GetCollectionFormUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetCollectionFormUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCollectionFormUnsupportedMediaType ¶
func NewGetCollectionFormUnsupportedMediaType() *GetCollectionFormUnsupportedMediaType
NewGetCollectionFormUnsupportedMediaType creates a GetCollectionFormUnsupportedMediaType with default headers values
func (*GetCollectionFormUnsupportedMediaType) Error ¶
func (o *GetCollectionFormUnsupportedMediaType) Error() string
func (*GetCollectionFormUnsupportedMediaType) GetPayload ¶
func (o *GetCollectionFormUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetCollectionFormUnsupportedMediaType) IsClientError ¶
func (o *GetCollectionFormUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get collection form unsupported media type response has a 4xx status code
func (*GetCollectionFormUnsupportedMediaType) IsCode ¶
func (o *GetCollectionFormUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get collection form unsupported media type response a status code equal to that given
func (*GetCollectionFormUnsupportedMediaType) IsRedirect ¶
func (o *GetCollectionFormUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get collection form unsupported media type response has a 3xx status code
func (*GetCollectionFormUnsupportedMediaType) IsServerError ¶
func (o *GetCollectionFormUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get collection form unsupported media type response has a 5xx status code
func (*GetCollectionFormUnsupportedMediaType) IsSuccess ¶
func (o *GetCollectionFormUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get collection form unsupported media type response has a 2xx status code
func (*GetCollectionFormUnsupportedMediaType) String ¶
func (o *GetCollectionFormUnsupportedMediaType) String() string
type GetRatesBadRequest ¶
type GetRatesBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetRatesBadRequest ¶
func NewGetRatesBadRequest() *GetRatesBadRequest
NewGetRatesBadRequest creates a GetRatesBadRequest with default headers values
func (*GetRatesBadRequest) Error ¶
func (o *GetRatesBadRequest) Error() string
func (*GetRatesBadRequest) GetPayload ¶
func (o *GetRatesBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetRatesBadRequest) IsClientError ¶
func (o *GetRatesBadRequest) IsClientError() bool
IsClientError returns true when this get rates bad request response has a 4xx status code
func (*GetRatesBadRequest) IsCode ¶
func (o *GetRatesBadRequest) IsCode(code int) bool
IsCode returns true when this get rates bad request response a status code equal to that given
func (*GetRatesBadRequest) IsRedirect ¶
func (o *GetRatesBadRequest) IsRedirect() bool
IsRedirect returns true when this get rates bad request response has a 3xx status code
func (*GetRatesBadRequest) IsServerError ¶
func (o *GetRatesBadRequest) IsServerError() bool
IsServerError returns true when this get rates bad request response has a 5xx status code
func (*GetRatesBadRequest) IsSuccess ¶
func (o *GetRatesBadRequest) IsSuccess() bool
IsSuccess returns true when this get rates bad request response has a 2xx status code
func (*GetRatesBadRequest) String ¶
func (o *GetRatesBadRequest) String() string
type GetRatesForbidden ¶
type GetRatesForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetRatesForbidden ¶
func NewGetRatesForbidden() *GetRatesForbidden
NewGetRatesForbidden creates a GetRatesForbidden with default headers values
func (*GetRatesForbidden) Error ¶
func (o *GetRatesForbidden) Error() string
func (*GetRatesForbidden) GetPayload ¶
func (o *GetRatesForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetRatesForbidden) IsClientError ¶
func (o *GetRatesForbidden) IsClientError() bool
IsClientError returns true when this get rates forbidden response has a 4xx status code
func (*GetRatesForbidden) IsCode ¶
func (o *GetRatesForbidden) IsCode(code int) bool
IsCode returns true when this get rates forbidden response a status code equal to that given
func (*GetRatesForbidden) IsRedirect ¶
func (o *GetRatesForbidden) IsRedirect() bool
IsRedirect returns true when this get rates forbidden response has a 3xx status code
func (*GetRatesForbidden) IsServerError ¶
func (o *GetRatesForbidden) IsServerError() bool
IsServerError returns true when this get rates forbidden response has a 5xx status code
func (*GetRatesForbidden) IsSuccess ¶
func (o *GetRatesForbidden) IsSuccess() bool
IsSuccess returns true when this get rates forbidden response has a 2xx status code
func (*GetRatesForbidden) String ¶
func (o *GetRatesForbidden) String() string
type GetRatesInternalServerError ¶
type GetRatesInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetRatesInternalServerError ¶
func NewGetRatesInternalServerError() *GetRatesInternalServerError
NewGetRatesInternalServerError creates a GetRatesInternalServerError with default headers values
func (*GetRatesInternalServerError) Error ¶
func (o *GetRatesInternalServerError) Error() string
func (*GetRatesInternalServerError) GetPayload ¶
func (o *GetRatesInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetRatesInternalServerError) IsClientError ¶
func (o *GetRatesInternalServerError) IsClientError() bool
IsClientError returns true when this get rates internal server error response has a 4xx status code
func (*GetRatesInternalServerError) IsCode ¶
func (o *GetRatesInternalServerError) IsCode(code int) bool
IsCode returns true when this get rates internal server error response a status code equal to that given
func (*GetRatesInternalServerError) IsRedirect ¶
func (o *GetRatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get rates internal server error response has a 3xx status code
func (*GetRatesInternalServerError) IsServerError ¶
func (o *GetRatesInternalServerError) IsServerError() bool
IsServerError returns true when this get rates internal server error response has a 5xx status code
func (*GetRatesInternalServerError) IsSuccess ¶
func (o *GetRatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get rates internal server error response has a 2xx status code
func (*GetRatesInternalServerError) String ¶
func (o *GetRatesInternalServerError) String() string
type GetRatesNotFound ¶
type GetRatesNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetRatesNotFound ¶
func NewGetRatesNotFound() *GetRatesNotFound
NewGetRatesNotFound creates a GetRatesNotFound with default headers values
func (*GetRatesNotFound) Error ¶
func (o *GetRatesNotFound) Error() string
func (*GetRatesNotFound) GetPayload ¶
func (o *GetRatesNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetRatesNotFound) IsClientError ¶
func (o *GetRatesNotFound) IsClientError() bool
IsClientError returns true when this get rates not found response has a 4xx status code
func (*GetRatesNotFound) IsCode ¶
func (o *GetRatesNotFound) IsCode(code int) bool
IsCode returns true when this get rates not found response a status code equal to that given
func (*GetRatesNotFound) IsRedirect ¶
func (o *GetRatesNotFound) IsRedirect() bool
IsRedirect returns true when this get rates not found response has a 3xx status code
func (*GetRatesNotFound) IsServerError ¶
func (o *GetRatesNotFound) IsServerError() bool
IsServerError returns true when this get rates not found response has a 5xx status code
func (*GetRatesNotFound) IsSuccess ¶
func (o *GetRatesNotFound) IsSuccess() bool
IsSuccess returns true when this get rates not found response has a 2xx status code
func (*GetRatesNotFound) String ¶
func (o *GetRatesNotFound) String() string
type GetRatesOK ¶
type GetRatesOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetRatesResponse }
GetRatesOK describes a response with status code 200, with default header values.
Success.
func NewGetRatesOK ¶
func NewGetRatesOK() *GetRatesOK
NewGetRatesOK creates a GetRatesOK with default headers values
func (*GetRatesOK) Error ¶
func (o *GetRatesOK) Error() string
func (*GetRatesOK) GetPayload ¶
func (o *GetRatesOK) GetPayload() *shipping_v2_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_v2_models.GetRatesRequest /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRatesParams contains all the parameters to send to the API endpoint
for the get rates operation. Typically these are written to a http.Request.
func NewGetRatesParams ¶
func NewGetRatesParams() *GetRatesParams
NewGetRatesParams creates a new GetRatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRatesParamsWithContext ¶
func NewGetRatesParamsWithContext(ctx context.Context) *GetRatesParams
NewGetRatesParamsWithContext creates a new GetRatesParams object with the ability to set a context for a request.
func NewGetRatesParamsWithHTTPClient ¶
func NewGetRatesParamsWithHTTPClient(client *http.Client) *GetRatesParams
NewGetRatesParamsWithHTTPClient creates a new GetRatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetRatesParamsWithTimeout ¶
func NewGetRatesParamsWithTimeout(timeout time.Duration) *GetRatesParams
NewGetRatesParamsWithTimeout creates a new GetRatesParams object with the ability to set a timeout on a request.
func (*GetRatesParams) SetBody ¶
func (o *GetRatesParams) SetBody(body *shipping_v2_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) SetXAmznShippingBusinessID ¶
func (o *GetRatesParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get rates params
func (*GetRatesParams) WithBody ¶
func (o *GetRatesParams) WithBody(body *shipping_v2_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) WithXAmznShippingBusinessID ¶
func (o *GetRatesParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetRatesParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get rates params
func (*GetRatesParams) WriteToRequest ¶
func (o *GetRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRatesReader ¶
type GetRatesReader struct {
// contains filtered or unexported fields
}
GetRatesReader is a Reader for the GetRates structure.
func (*GetRatesReader) ReadResponse ¶
func (o *GetRatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRatesRequestEntityTooLarge ¶
type GetRatesRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetRatesRequestEntityTooLarge ¶
func NewGetRatesRequestEntityTooLarge() *GetRatesRequestEntityTooLarge
NewGetRatesRequestEntityTooLarge creates a GetRatesRequestEntityTooLarge with default headers values
func (*GetRatesRequestEntityTooLarge) Error ¶
func (o *GetRatesRequestEntityTooLarge) Error() string
func (*GetRatesRequestEntityTooLarge) GetPayload ¶
func (o *GetRatesRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetRatesRequestEntityTooLarge) IsClientError ¶
func (o *GetRatesRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get rates request entity too large response has a 4xx status code
func (*GetRatesRequestEntityTooLarge) IsCode ¶
func (o *GetRatesRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get rates request entity too large response a status code equal to that given
func (*GetRatesRequestEntityTooLarge) IsRedirect ¶
func (o *GetRatesRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get rates request entity too large response has a 3xx status code
func (*GetRatesRequestEntityTooLarge) IsServerError ¶
func (o *GetRatesRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get rates request entity too large response has a 5xx status code
func (*GetRatesRequestEntityTooLarge) IsSuccess ¶
func (o *GetRatesRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get rates request entity too large response has a 2xx status code
func (*GetRatesRequestEntityTooLarge) String ¶
func (o *GetRatesRequestEntityTooLarge) String() string
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_v2_models.ErrorList
func (*GetRatesServiceUnavailable) IsClientError ¶
func (o *GetRatesServiceUnavailable) IsClientError() bool
IsClientError returns true when this get rates service unavailable response has a 4xx status code
func (*GetRatesServiceUnavailable) IsCode ¶
func (o *GetRatesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get rates service unavailable response a status code equal to that given
func (*GetRatesServiceUnavailable) IsRedirect ¶
func (o *GetRatesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get rates service unavailable response has a 3xx status code
func (*GetRatesServiceUnavailable) IsServerError ¶
func (o *GetRatesServiceUnavailable) IsServerError() bool
IsServerError returns true when this get rates service unavailable response has a 5xx status code
func (*GetRatesServiceUnavailable) IsSuccess ¶
func (o *GetRatesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get rates service unavailable response has a 2xx status code
func (*GetRatesServiceUnavailable) String ¶
func (o *GetRatesServiceUnavailable) String() string
type GetRatesTooManyRequests ¶
type GetRatesTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetRatesTooManyRequests ¶
func NewGetRatesTooManyRequests() *GetRatesTooManyRequests
NewGetRatesTooManyRequests creates a GetRatesTooManyRequests with default headers values
func (*GetRatesTooManyRequests) Error ¶
func (o *GetRatesTooManyRequests) Error() string
func (*GetRatesTooManyRequests) GetPayload ¶
func (o *GetRatesTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
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_v2_models.ErrorList
func (*GetRatesUnauthorized) IsClientError ¶
func (o *GetRatesUnauthorized) IsClientError() bool
IsClientError returns true when this get rates unauthorized response has a 4xx status code
func (*GetRatesUnauthorized) IsCode ¶
func (o *GetRatesUnauthorized) IsCode(code int) bool
IsCode returns true when this get rates unauthorized response a status code equal to that given
func (*GetRatesUnauthorized) IsRedirect ¶
func (o *GetRatesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get rates unauthorized response has a 3xx status code
func (*GetRatesUnauthorized) IsServerError ¶
func (o *GetRatesUnauthorized) IsServerError() bool
IsServerError returns true when this get rates unauthorized response has a 5xx status code
func (*GetRatesUnauthorized) IsSuccess ¶
func (o *GetRatesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get rates unauthorized response has a 2xx status code
func (*GetRatesUnauthorized) String ¶
func (o *GetRatesUnauthorized) String() string
type GetRatesUnsupportedMediaType ¶
type GetRatesUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetRatesUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetRatesUnsupportedMediaType ¶
func NewGetRatesUnsupportedMediaType() *GetRatesUnsupportedMediaType
NewGetRatesUnsupportedMediaType creates a GetRatesUnsupportedMediaType with default headers values
func (*GetRatesUnsupportedMediaType) Error ¶
func (o *GetRatesUnsupportedMediaType) Error() string
func (*GetRatesUnsupportedMediaType) GetPayload ¶
func (o *GetRatesUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetRatesUnsupportedMediaType) IsClientError ¶
func (o *GetRatesUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get rates unsupported media type response has a 4xx status code
func (*GetRatesUnsupportedMediaType) IsCode ¶
func (o *GetRatesUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get rates unsupported media type response a status code equal to that given
func (*GetRatesUnsupportedMediaType) IsRedirect ¶
func (o *GetRatesUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get rates unsupported media type response has a 3xx status code
func (*GetRatesUnsupportedMediaType) IsServerError ¶
func (o *GetRatesUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get rates unsupported media type response has a 5xx status code
func (*GetRatesUnsupportedMediaType) IsSuccess ¶
func (o *GetRatesUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get rates unsupported media type response has a 2xx status code
func (*GetRatesUnsupportedMediaType) String ¶
func (o *GetRatesUnsupportedMediaType) String() string
type GetShipmentDocumentsBadRequest ¶
type GetShipmentDocumentsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetShipmentDocumentsBadRequest ¶
func NewGetShipmentDocumentsBadRequest() *GetShipmentDocumentsBadRequest
NewGetShipmentDocumentsBadRequest creates a GetShipmentDocumentsBadRequest with default headers values
func (*GetShipmentDocumentsBadRequest) Error ¶
func (o *GetShipmentDocumentsBadRequest) Error() string
func (*GetShipmentDocumentsBadRequest) GetPayload ¶
func (o *GetShipmentDocumentsBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsBadRequest) IsClientError ¶
func (o *GetShipmentDocumentsBadRequest) IsClientError() bool
IsClientError returns true when this get shipment documents bad request response has a 4xx status code
func (*GetShipmentDocumentsBadRequest) IsCode ¶
func (o *GetShipmentDocumentsBadRequest) IsCode(code int) bool
IsCode returns true when this get shipment documents bad request response a status code equal to that given
func (*GetShipmentDocumentsBadRequest) IsRedirect ¶
func (o *GetShipmentDocumentsBadRequest) IsRedirect() bool
IsRedirect returns true when this get shipment documents bad request response has a 3xx status code
func (*GetShipmentDocumentsBadRequest) IsServerError ¶
func (o *GetShipmentDocumentsBadRequest) IsServerError() bool
IsServerError returns true when this get shipment documents bad request response has a 5xx status code
func (*GetShipmentDocumentsBadRequest) IsSuccess ¶
func (o *GetShipmentDocumentsBadRequest) IsSuccess() bool
IsSuccess returns true when this get shipment documents bad request response has a 2xx status code
func (*GetShipmentDocumentsBadRequest) String ¶
func (o *GetShipmentDocumentsBadRequest) String() string
type GetShipmentDocumentsForbidden ¶
type GetShipmentDocumentsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetShipmentDocumentsForbidden ¶
func NewGetShipmentDocumentsForbidden() *GetShipmentDocumentsForbidden
NewGetShipmentDocumentsForbidden creates a GetShipmentDocumentsForbidden with default headers values
func (*GetShipmentDocumentsForbidden) Error ¶
func (o *GetShipmentDocumentsForbidden) Error() string
func (*GetShipmentDocumentsForbidden) GetPayload ¶
func (o *GetShipmentDocumentsForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsForbidden) IsClientError ¶
func (o *GetShipmentDocumentsForbidden) IsClientError() bool
IsClientError returns true when this get shipment documents forbidden response has a 4xx status code
func (*GetShipmentDocumentsForbidden) IsCode ¶
func (o *GetShipmentDocumentsForbidden) IsCode(code int) bool
IsCode returns true when this get shipment documents forbidden response a status code equal to that given
func (*GetShipmentDocumentsForbidden) IsRedirect ¶
func (o *GetShipmentDocumentsForbidden) IsRedirect() bool
IsRedirect returns true when this get shipment documents forbidden response has a 3xx status code
func (*GetShipmentDocumentsForbidden) IsServerError ¶
func (o *GetShipmentDocumentsForbidden) IsServerError() bool
IsServerError returns true when this get shipment documents forbidden response has a 5xx status code
func (*GetShipmentDocumentsForbidden) IsSuccess ¶
func (o *GetShipmentDocumentsForbidden) IsSuccess() bool
IsSuccess returns true when this get shipment documents forbidden response has a 2xx status code
func (*GetShipmentDocumentsForbidden) String ¶
func (o *GetShipmentDocumentsForbidden) String() string
type GetShipmentDocumentsInternalServerError ¶
type GetShipmentDocumentsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetShipmentDocumentsInternalServerError ¶
func NewGetShipmentDocumentsInternalServerError() *GetShipmentDocumentsInternalServerError
NewGetShipmentDocumentsInternalServerError creates a GetShipmentDocumentsInternalServerError with default headers values
func (*GetShipmentDocumentsInternalServerError) Error ¶
func (o *GetShipmentDocumentsInternalServerError) Error() string
func (*GetShipmentDocumentsInternalServerError) GetPayload ¶
func (o *GetShipmentDocumentsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsInternalServerError) IsClientError ¶
func (o *GetShipmentDocumentsInternalServerError) IsClientError() bool
IsClientError returns true when this get shipment documents internal server error response has a 4xx status code
func (*GetShipmentDocumentsInternalServerError) IsCode ¶
func (o *GetShipmentDocumentsInternalServerError) IsCode(code int) bool
IsCode returns true when this get shipment documents internal server error response a status code equal to that given
func (*GetShipmentDocumentsInternalServerError) IsRedirect ¶
func (o *GetShipmentDocumentsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get shipment documents internal server error response has a 3xx status code
func (*GetShipmentDocumentsInternalServerError) IsServerError ¶
func (o *GetShipmentDocumentsInternalServerError) IsServerError() bool
IsServerError returns true when this get shipment documents internal server error response has a 5xx status code
func (*GetShipmentDocumentsInternalServerError) IsSuccess ¶
func (o *GetShipmentDocumentsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get shipment documents internal server error response has a 2xx status code
func (*GetShipmentDocumentsInternalServerError) String ¶
func (o *GetShipmentDocumentsInternalServerError) String() string
type GetShipmentDocumentsNotFound ¶
type GetShipmentDocumentsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetShipmentDocumentsNotFound ¶
func NewGetShipmentDocumentsNotFound() *GetShipmentDocumentsNotFound
NewGetShipmentDocumentsNotFound creates a GetShipmentDocumentsNotFound with default headers values
func (*GetShipmentDocumentsNotFound) Error ¶
func (o *GetShipmentDocumentsNotFound) Error() string
func (*GetShipmentDocumentsNotFound) GetPayload ¶
func (o *GetShipmentDocumentsNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsNotFound) IsClientError ¶
func (o *GetShipmentDocumentsNotFound) IsClientError() bool
IsClientError returns true when this get shipment documents not found response has a 4xx status code
func (*GetShipmentDocumentsNotFound) IsCode ¶
func (o *GetShipmentDocumentsNotFound) IsCode(code int) bool
IsCode returns true when this get shipment documents not found response a status code equal to that given
func (*GetShipmentDocumentsNotFound) IsRedirect ¶
func (o *GetShipmentDocumentsNotFound) IsRedirect() bool
IsRedirect returns true when this get shipment documents not found response has a 3xx status code
func (*GetShipmentDocumentsNotFound) IsServerError ¶
func (o *GetShipmentDocumentsNotFound) IsServerError() bool
IsServerError returns true when this get shipment documents not found response has a 5xx status code
func (*GetShipmentDocumentsNotFound) IsSuccess ¶
func (o *GetShipmentDocumentsNotFound) IsSuccess() bool
IsSuccess returns true when this get shipment documents not found response has a 2xx status code
func (*GetShipmentDocumentsNotFound) String ¶
func (o *GetShipmentDocumentsNotFound) String() string
type GetShipmentDocumentsOK ¶
type GetShipmentDocumentsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetShipmentDocumentsResponse }
GetShipmentDocumentsOK describes a response with status code 200, with default header values.
Success.
func NewGetShipmentDocumentsOK ¶
func NewGetShipmentDocumentsOK() *GetShipmentDocumentsOK
NewGetShipmentDocumentsOK creates a GetShipmentDocumentsOK with default headers values
func (*GetShipmentDocumentsOK) Error ¶
func (o *GetShipmentDocumentsOK) Error() string
func (*GetShipmentDocumentsOK) GetPayload ¶
func (o *GetShipmentDocumentsOK) GetPayload() *shipping_v2_models.GetShipmentDocumentsResponse
func (*GetShipmentDocumentsOK) IsClientError ¶
func (o *GetShipmentDocumentsOK) IsClientError() bool
IsClientError returns true when this get shipment documents o k response has a 4xx status code
func (*GetShipmentDocumentsOK) IsCode ¶
func (o *GetShipmentDocumentsOK) IsCode(code int) bool
IsCode returns true when this get shipment documents o k response a status code equal to that given
func (*GetShipmentDocumentsOK) IsRedirect ¶
func (o *GetShipmentDocumentsOK) IsRedirect() bool
IsRedirect returns true when this get shipment documents o k response has a 3xx status code
func (*GetShipmentDocumentsOK) IsServerError ¶
func (o *GetShipmentDocumentsOK) IsServerError() bool
IsServerError returns true when this get shipment documents o k response has a 5xx status code
func (*GetShipmentDocumentsOK) IsSuccess ¶
func (o *GetShipmentDocumentsOK) IsSuccess() bool
IsSuccess returns true when this get shipment documents o k response has a 2xx status code
func (*GetShipmentDocumentsOK) String ¶
func (o *GetShipmentDocumentsOK) String() string
type GetShipmentDocumentsParams ¶
type GetShipmentDocumentsParams struct { /* Dpi. The resolution of the document (for example, 300 means 300 dots per inch). Must be one of the supported resolutions returned in the response to the getRates operation. */ Dpi *float64 /* Format. The file format of the document. Must be one of the supported formats returned by the getRates operation. */ Format *string /* PackageClientReferenceID. The package client reference identifier originally provided in the request body parameter for the getRates operation. */ PackageClientReferenceID string /* ShipmentID. The shipment identifier originally returned by the purchaseShipment operation. */ ShipmentID string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetShipmentDocumentsParams contains all the parameters to send to the API endpoint
for the get shipment documents operation. Typically these are written to a http.Request.
func NewGetShipmentDocumentsParams ¶
func NewGetShipmentDocumentsParams() *GetShipmentDocumentsParams
NewGetShipmentDocumentsParams creates a new GetShipmentDocumentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetShipmentDocumentsParamsWithContext ¶
func NewGetShipmentDocumentsParamsWithContext(ctx context.Context) *GetShipmentDocumentsParams
NewGetShipmentDocumentsParamsWithContext creates a new GetShipmentDocumentsParams object with the ability to set a context for a request.
func NewGetShipmentDocumentsParamsWithHTTPClient ¶
func NewGetShipmentDocumentsParamsWithHTTPClient(client *http.Client) *GetShipmentDocumentsParams
NewGetShipmentDocumentsParamsWithHTTPClient creates a new GetShipmentDocumentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetShipmentDocumentsParamsWithTimeout ¶
func NewGetShipmentDocumentsParamsWithTimeout(timeout time.Duration) *GetShipmentDocumentsParams
NewGetShipmentDocumentsParamsWithTimeout creates a new GetShipmentDocumentsParams object with the ability to set a timeout on a request.
func (*GetShipmentDocumentsParams) SetContext ¶
func (o *GetShipmentDocumentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get shipment documents params
func (*GetShipmentDocumentsParams) SetDefaults ¶
func (o *GetShipmentDocumentsParams) SetDefaults()
SetDefaults hydrates default values in the get shipment documents params (not the query body).
All values with no default are reset to their zero value.
func (*GetShipmentDocumentsParams) SetDpi ¶
func (o *GetShipmentDocumentsParams) SetDpi(dpi *float64)
SetDpi adds the dpi to the get shipment documents params
func (*GetShipmentDocumentsParams) SetFormat ¶
func (o *GetShipmentDocumentsParams) SetFormat(format *string)
SetFormat adds the format to the get shipment documents params
func (*GetShipmentDocumentsParams) SetHTTPClient ¶
func (o *GetShipmentDocumentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get shipment documents params
func (*GetShipmentDocumentsParams) SetPackageClientReferenceID ¶
func (o *GetShipmentDocumentsParams) SetPackageClientReferenceID(packageClientReferenceID string)
SetPackageClientReferenceID adds the packageClientReferenceId to the get shipment documents params
func (*GetShipmentDocumentsParams) SetShipmentID ¶
func (o *GetShipmentDocumentsParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the get shipment documents params
func (*GetShipmentDocumentsParams) SetTimeout ¶
func (o *GetShipmentDocumentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get shipment documents params
func (*GetShipmentDocumentsParams) SetXAmznShippingBusinessID ¶
func (o *GetShipmentDocumentsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get shipment documents params
func (*GetShipmentDocumentsParams) WithContext ¶
func (o *GetShipmentDocumentsParams) WithContext(ctx context.Context) *GetShipmentDocumentsParams
WithContext adds the context to the get shipment documents params
func (*GetShipmentDocumentsParams) WithDefaults ¶
func (o *GetShipmentDocumentsParams) WithDefaults() *GetShipmentDocumentsParams
WithDefaults hydrates default values in the get shipment documents params (not the query body).
All values with no default are reset to their zero value.
func (*GetShipmentDocumentsParams) WithDpi ¶
func (o *GetShipmentDocumentsParams) WithDpi(dpi *float64) *GetShipmentDocumentsParams
WithDpi adds the dpi to the get shipment documents params
func (*GetShipmentDocumentsParams) WithFormat ¶
func (o *GetShipmentDocumentsParams) WithFormat(format *string) *GetShipmentDocumentsParams
WithFormat adds the format to the get shipment documents params
func (*GetShipmentDocumentsParams) WithHTTPClient ¶
func (o *GetShipmentDocumentsParams) WithHTTPClient(client *http.Client) *GetShipmentDocumentsParams
WithHTTPClient adds the HTTPClient to the get shipment documents params
func (*GetShipmentDocumentsParams) WithPackageClientReferenceID ¶
func (o *GetShipmentDocumentsParams) WithPackageClientReferenceID(packageClientReferenceID string) *GetShipmentDocumentsParams
WithPackageClientReferenceID adds the packageClientReferenceID to the get shipment documents params
func (*GetShipmentDocumentsParams) WithShipmentID ¶
func (o *GetShipmentDocumentsParams) WithShipmentID(shipmentID string) *GetShipmentDocumentsParams
WithShipmentID adds the shipmentID to the get shipment documents params
func (*GetShipmentDocumentsParams) WithTimeout ¶
func (o *GetShipmentDocumentsParams) WithTimeout(timeout time.Duration) *GetShipmentDocumentsParams
WithTimeout adds the timeout to the get shipment documents params
func (*GetShipmentDocumentsParams) WithXAmznShippingBusinessID ¶
func (o *GetShipmentDocumentsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetShipmentDocumentsParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get shipment documents params
func (*GetShipmentDocumentsParams) WriteToRequest ¶
func (o *GetShipmentDocumentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetShipmentDocumentsReader ¶
type GetShipmentDocumentsReader struct {
// contains filtered or unexported fields
}
GetShipmentDocumentsReader is a Reader for the GetShipmentDocuments structure.
func (*GetShipmentDocumentsReader) ReadResponse ¶
func (o *GetShipmentDocumentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetShipmentDocumentsRequestEntityTooLarge ¶
type GetShipmentDocumentsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetShipmentDocumentsRequestEntityTooLarge ¶
func NewGetShipmentDocumentsRequestEntityTooLarge() *GetShipmentDocumentsRequestEntityTooLarge
NewGetShipmentDocumentsRequestEntityTooLarge creates a GetShipmentDocumentsRequestEntityTooLarge with default headers values
func (*GetShipmentDocumentsRequestEntityTooLarge) Error ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) Error() string
func (*GetShipmentDocumentsRequestEntityTooLarge) GetPayload ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsRequestEntityTooLarge) IsClientError ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get shipment documents request entity too large response has a 4xx status code
func (*GetShipmentDocumentsRequestEntityTooLarge) IsCode ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get shipment documents request entity too large response a status code equal to that given
func (*GetShipmentDocumentsRequestEntityTooLarge) IsRedirect ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get shipment documents request entity too large response has a 3xx status code
func (*GetShipmentDocumentsRequestEntityTooLarge) IsServerError ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get shipment documents request entity too large response has a 5xx status code
func (*GetShipmentDocumentsRequestEntityTooLarge) IsSuccess ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get shipment documents request entity too large response has a 2xx status code
func (*GetShipmentDocumentsRequestEntityTooLarge) String ¶
func (o *GetShipmentDocumentsRequestEntityTooLarge) String() string
type GetShipmentDocumentsServiceUnavailable ¶
type GetShipmentDocumentsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetShipmentDocumentsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetShipmentDocumentsServiceUnavailable ¶
func NewGetShipmentDocumentsServiceUnavailable() *GetShipmentDocumentsServiceUnavailable
NewGetShipmentDocumentsServiceUnavailable creates a GetShipmentDocumentsServiceUnavailable with default headers values
func (*GetShipmentDocumentsServiceUnavailable) Error ¶
func (o *GetShipmentDocumentsServiceUnavailable) Error() string
func (*GetShipmentDocumentsServiceUnavailable) GetPayload ¶
func (o *GetShipmentDocumentsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsServiceUnavailable) IsClientError ¶
func (o *GetShipmentDocumentsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get shipment documents service unavailable response has a 4xx status code
func (*GetShipmentDocumentsServiceUnavailable) IsCode ¶
func (o *GetShipmentDocumentsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get shipment documents service unavailable response a status code equal to that given
func (*GetShipmentDocumentsServiceUnavailable) IsRedirect ¶
func (o *GetShipmentDocumentsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get shipment documents service unavailable response has a 3xx status code
func (*GetShipmentDocumentsServiceUnavailable) IsServerError ¶
func (o *GetShipmentDocumentsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get shipment documents service unavailable response has a 5xx status code
func (*GetShipmentDocumentsServiceUnavailable) IsSuccess ¶
func (o *GetShipmentDocumentsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get shipment documents service unavailable response has a 2xx status code
func (*GetShipmentDocumentsServiceUnavailable) String ¶
func (o *GetShipmentDocumentsServiceUnavailable) String() string
type GetShipmentDocumentsTooManyRequests ¶
type GetShipmentDocumentsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetShipmentDocumentsTooManyRequests ¶
func NewGetShipmentDocumentsTooManyRequests() *GetShipmentDocumentsTooManyRequests
NewGetShipmentDocumentsTooManyRequests creates a GetShipmentDocumentsTooManyRequests with default headers values
func (*GetShipmentDocumentsTooManyRequests) Error ¶
func (o *GetShipmentDocumentsTooManyRequests) Error() string
func (*GetShipmentDocumentsTooManyRequests) GetPayload ¶
func (o *GetShipmentDocumentsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsTooManyRequests) IsClientError ¶
func (o *GetShipmentDocumentsTooManyRequests) IsClientError() bool
IsClientError returns true when this get shipment documents too many requests response has a 4xx status code
func (*GetShipmentDocumentsTooManyRequests) IsCode ¶
func (o *GetShipmentDocumentsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get shipment documents too many requests response a status code equal to that given
func (*GetShipmentDocumentsTooManyRequests) IsRedirect ¶
func (o *GetShipmentDocumentsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get shipment documents too many requests response has a 3xx status code
func (*GetShipmentDocumentsTooManyRequests) IsServerError ¶
func (o *GetShipmentDocumentsTooManyRequests) IsServerError() bool
IsServerError returns true when this get shipment documents too many requests response has a 5xx status code
func (*GetShipmentDocumentsTooManyRequests) IsSuccess ¶
func (o *GetShipmentDocumentsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get shipment documents too many requests response has a 2xx status code
func (*GetShipmentDocumentsTooManyRequests) String ¶
func (o *GetShipmentDocumentsTooManyRequests) String() string
type GetShipmentDocumentsUnauthorized ¶
GetShipmentDocumentsUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetShipmentDocumentsUnauthorized ¶
func NewGetShipmentDocumentsUnauthorized() *GetShipmentDocumentsUnauthorized
NewGetShipmentDocumentsUnauthorized creates a GetShipmentDocumentsUnauthorized with default headers values
func (*GetShipmentDocumentsUnauthorized) Error ¶
func (o *GetShipmentDocumentsUnauthorized) Error() string
func (*GetShipmentDocumentsUnauthorized) GetPayload ¶
func (o *GetShipmentDocumentsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsUnauthorized) IsClientError ¶
func (o *GetShipmentDocumentsUnauthorized) IsClientError() bool
IsClientError returns true when this get shipment documents unauthorized response has a 4xx status code
func (*GetShipmentDocumentsUnauthorized) IsCode ¶
func (o *GetShipmentDocumentsUnauthorized) IsCode(code int) bool
IsCode returns true when this get shipment documents unauthorized response a status code equal to that given
func (*GetShipmentDocumentsUnauthorized) IsRedirect ¶
func (o *GetShipmentDocumentsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get shipment documents unauthorized response has a 3xx status code
func (*GetShipmentDocumentsUnauthorized) IsServerError ¶
func (o *GetShipmentDocumentsUnauthorized) IsServerError() bool
IsServerError returns true when this get shipment documents unauthorized response has a 5xx status code
func (*GetShipmentDocumentsUnauthorized) IsSuccess ¶
func (o *GetShipmentDocumentsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get shipment documents unauthorized response has a 2xx status code
func (*GetShipmentDocumentsUnauthorized) String ¶
func (o *GetShipmentDocumentsUnauthorized) String() string
type GetShipmentDocumentsUnsupportedMediaType ¶
type GetShipmentDocumentsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetShipmentDocumentsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetShipmentDocumentsUnsupportedMediaType ¶
func NewGetShipmentDocumentsUnsupportedMediaType() *GetShipmentDocumentsUnsupportedMediaType
NewGetShipmentDocumentsUnsupportedMediaType creates a GetShipmentDocumentsUnsupportedMediaType with default headers values
func (*GetShipmentDocumentsUnsupportedMediaType) Error ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) Error() string
func (*GetShipmentDocumentsUnsupportedMediaType) GetPayload ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetShipmentDocumentsUnsupportedMediaType) IsClientError ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get shipment documents unsupported media type response has a 4xx status code
func (*GetShipmentDocumentsUnsupportedMediaType) IsCode ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get shipment documents unsupported media type response a status code equal to that given
func (*GetShipmentDocumentsUnsupportedMediaType) IsRedirect ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get shipment documents unsupported media type response has a 3xx status code
func (*GetShipmentDocumentsUnsupportedMediaType) IsServerError ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get shipment documents unsupported media type response has a 5xx status code
func (*GetShipmentDocumentsUnsupportedMediaType) IsSuccess ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get shipment documents unsupported media type response has a 2xx status code
func (*GetShipmentDocumentsUnsupportedMediaType) String ¶
func (o *GetShipmentDocumentsUnsupportedMediaType) String() string
type GetTrackingBadRequest ¶
type GetTrackingBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetTrackingBadRequest ¶
func NewGetTrackingBadRequest() *GetTrackingBadRequest
NewGetTrackingBadRequest creates a GetTrackingBadRequest with default headers values
func (*GetTrackingBadRequest) Error ¶
func (o *GetTrackingBadRequest) Error() string
func (*GetTrackingBadRequest) GetPayload ¶
func (o *GetTrackingBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingBadRequest) IsClientError ¶
func (o *GetTrackingBadRequest) IsClientError() bool
IsClientError returns true when this get tracking bad request response has a 4xx status code
func (*GetTrackingBadRequest) IsCode ¶
func (o *GetTrackingBadRequest) IsCode(code int) bool
IsCode returns true when this get tracking bad request response a status code equal to that given
func (*GetTrackingBadRequest) IsRedirect ¶
func (o *GetTrackingBadRequest) IsRedirect() bool
IsRedirect returns true when this get tracking bad request response has a 3xx status code
func (*GetTrackingBadRequest) IsServerError ¶
func (o *GetTrackingBadRequest) IsServerError() bool
IsServerError returns true when this get tracking bad request response has a 5xx status code
func (*GetTrackingBadRequest) IsSuccess ¶
func (o *GetTrackingBadRequest) IsSuccess() bool
IsSuccess returns true when this get tracking bad request response has a 2xx status code
func (*GetTrackingBadRequest) String ¶
func (o *GetTrackingBadRequest) String() string
type GetTrackingForbidden ¶
type GetTrackingForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetTrackingForbidden ¶
func NewGetTrackingForbidden() *GetTrackingForbidden
NewGetTrackingForbidden creates a GetTrackingForbidden with default headers values
func (*GetTrackingForbidden) Error ¶
func (o *GetTrackingForbidden) Error() string
func (*GetTrackingForbidden) GetPayload ¶
func (o *GetTrackingForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingForbidden) IsClientError ¶
func (o *GetTrackingForbidden) IsClientError() bool
IsClientError returns true when this get tracking forbidden response has a 4xx status code
func (*GetTrackingForbidden) IsCode ¶
func (o *GetTrackingForbidden) IsCode(code int) bool
IsCode returns true when this get tracking forbidden response a status code equal to that given
func (*GetTrackingForbidden) IsRedirect ¶
func (o *GetTrackingForbidden) IsRedirect() bool
IsRedirect returns true when this get tracking forbidden response has a 3xx status code
func (*GetTrackingForbidden) IsServerError ¶
func (o *GetTrackingForbidden) IsServerError() bool
IsServerError returns true when this get tracking forbidden response has a 5xx status code
func (*GetTrackingForbidden) IsSuccess ¶
func (o *GetTrackingForbidden) IsSuccess() bool
IsSuccess returns true when this get tracking forbidden response has a 2xx status code
func (*GetTrackingForbidden) String ¶
func (o *GetTrackingForbidden) String() string
type GetTrackingInternalServerError ¶
type GetTrackingInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetTrackingInternalServerError ¶
func NewGetTrackingInternalServerError() *GetTrackingInternalServerError
NewGetTrackingInternalServerError creates a GetTrackingInternalServerError with default headers values
func (*GetTrackingInternalServerError) Error ¶
func (o *GetTrackingInternalServerError) Error() string
func (*GetTrackingInternalServerError) GetPayload ¶
func (o *GetTrackingInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingInternalServerError) IsClientError ¶
func (o *GetTrackingInternalServerError) IsClientError() bool
IsClientError returns true when this get tracking internal server error response has a 4xx status code
func (*GetTrackingInternalServerError) IsCode ¶
func (o *GetTrackingInternalServerError) IsCode(code int) bool
IsCode returns true when this get tracking internal server error response a status code equal to that given
func (*GetTrackingInternalServerError) IsRedirect ¶
func (o *GetTrackingInternalServerError) IsRedirect() bool
IsRedirect returns true when this get tracking internal server error response has a 3xx status code
func (*GetTrackingInternalServerError) IsServerError ¶
func (o *GetTrackingInternalServerError) IsServerError() bool
IsServerError returns true when this get tracking internal server error response has a 5xx status code
func (*GetTrackingInternalServerError) IsSuccess ¶
func (o *GetTrackingInternalServerError) IsSuccess() bool
IsSuccess returns true when this get tracking internal server error response has a 2xx status code
func (*GetTrackingInternalServerError) String ¶
func (o *GetTrackingInternalServerError) String() string
type GetTrackingNotFound ¶
type GetTrackingNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetTrackingNotFound ¶
func NewGetTrackingNotFound() *GetTrackingNotFound
NewGetTrackingNotFound creates a GetTrackingNotFound with default headers values
func (*GetTrackingNotFound) Error ¶
func (o *GetTrackingNotFound) Error() string
func (*GetTrackingNotFound) GetPayload ¶
func (o *GetTrackingNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingNotFound) IsClientError ¶
func (o *GetTrackingNotFound) IsClientError() bool
IsClientError returns true when this get tracking not found response has a 4xx status code
func (*GetTrackingNotFound) IsCode ¶
func (o *GetTrackingNotFound) IsCode(code int) bool
IsCode returns true when this get tracking not found response a status code equal to that given
func (*GetTrackingNotFound) IsRedirect ¶
func (o *GetTrackingNotFound) IsRedirect() bool
IsRedirect returns true when this get tracking not found response has a 3xx status code
func (*GetTrackingNotFound) IsServerError ¶
func (o *GetTrackingNotFound) IsServerError() bool
IsServerError returns true when this get tracking not found response has a 5xx status code
func (*GetTrackingNotFound) IsSuccess ¶
func (o *GetTrackingNotFound) IsSuccess() bool
IsSuccess returns true when this get tracking not found response has a 2xx status code
func (*GetTrackingNotFound) String ¶
func (o *GetTrackingNotFound) String() string
type GetTrackingOK ¶
type GetTrackingOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetTrackingResponse }
GetTrackingOK describes a response with status code 200, with default header values.
Success.
func NewGetTrackingOK ¶
func NewGetTrackingOK() *GetTrackingOK
NewGetTrackingOK creates a GetTrackingOK with default headers values
func (*GetTrackingOK) Error ¶
func (o *GetTrackingOK) Error() string
func (*GetTrackingOK) GetPayload ¶
func (o *GetTrackingOK) GetPayload() *shipping_v2_models.GetTrackingResponse
func (*GetTrackingOK) IsClientError ¶
func (o *GetTrackingOK) IsClientError() bool
IsClientError returns true when this get tracking o k response has a 4xx status code
func (*GetTrackingOK) IsCode ¶
func (o *GetTrackingOK) IsCode(code int) bool
IsCode returns true when this get tracking o k response a status code equal to that given
func (*GetTrackingOK) IsRedirect ¶
func (o *GetTrackingOK) IsRedirect() bool
IsRedirect returns true when this get tracking o k response has a 3xx status code
func (*GetTrackingOK) IsServerError ¶
func (o *GetTrackingOK) IsServerError() bool
IsServerError returns true when this get tracking o k response has a 5xx status code
func (*GetTrackingOK) IsSuccess ¶
func (o *GetTrackingOK) IsSuccess() bool
IsSuccess returns true when this get tracking o k response has a 2xx status code
func (*GetTrackingOK) String ¶
func (o *GetTrackingOK) String() string
type GetTrackingParams ¶
type GetTrackingParams struct { /* CarrierID. A carrier identifier originally returned by the getRates operation for the selected rate. */ CarrierID string /* TrackingID. A carrier-generated tracking identifier originally returned by the purchaseShipment operation. */ TrackingID string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTrackingParams contains all the parameters to send to the API endpoint
for the get tracking operation. Typically these are written to a http.Request.
func NewGetTrackingParams ¶
func NewGetTrackingParams() *GetTrackingParams
NewGetTrackingParams creates a new GetTrackingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetTrackingParamsWithContext ¶
func NewGetTrackingParamsWithContext(ctx context.Context) *GetTrackingParams
NewGetTrackingParamsWithContext creates a new GetTrackingParams object with the ability to set a context for a request.
func NewGetTrackingParamsWithHTTPClient ¶
func NewGetTrackingParamsWithHTTPClient(client *http.Client) *GetTrackingParams
NewGetTrackingParamsWithHTTPClient creates a new GetTrackingParams object with the ability to set a custom HTTPClient for a request.
func NewGetTrackingParamsWithTimeout ¶
func NewGetTrackingParamsWithTimeout(timeout time.Duration) *GetTrackingParams
NewGetTrackingParamsWithTimeout creates a new GetTrackingParams object with the ability to set a timeout on a request.
func (*GetTrackingParams) SetCarrierID ¶
func (o *GetTrackingParams) SetCarrierID(carrierID string)
SetCarrierID adds the carrierId to the get tracking params
func (*GetTrackingParams) SetContext ¶
func (o *GetTrackingParams) SetContext(ctx context.Context)
SetContext adds the context to the get tracking params
func (*GetTrackingParams) SetDefaults ¶
func (o *GetTrackingParams) SetDefaults()
SetDefaults hydrates default values in the get tracking params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrackingParams) SetHTTPClient ¶
func (o *GetTrackingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tracking params
func (*GetTrackingParams) SetTimeout ¶
func (o *GetTrackingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tracking params
func (*GetTrackingParams) SetTrackingID ¶
func (o *GetTrackingParams) SetTrackingID(trackingID string)
SetTrackingID adds the trackingId to the get tracking params
func (*GetTrackingParams) SetXAmznShippingBusinessID ¶
func (o *GetTrackingParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get tracking params
func (*GetTrackingParams) WithCarrierID ¶
func (o *GetTrackingParams) WithCarrierID(carrierID string) *GetTrackingParams
WithCarrierID adds the carrierID to the get tracking params
func (*GetTrackingParams) WithContext ¶
func (o *GetTrackingParams) WithContext(ctx context.Context) *GetTrackingParams
WithContext adds the context to the get tracking params
func (*GetTrackingParams) WithDefaults ¶
func (o *GetTrackingParams) WithDefaults() *GetTrackingParams
WithDefaults hydrates default values in the get tracking params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrackingParams) WithHTTPClient ¶
func (o *GetTrackingParams) WithHTTPClient(client *http.Client) *GetTrackingParams
WithHTTPClient adds the HTTPClient to the get tracking params
func (*GetTrackingParams) WithTimeout ¶
func (o *GetTrackingParams) WithTimeout(timeout time.Duration) *GetTrackingParams
WithTimeout adds the timeout to the get tracking params
func (*GetTrackingParams) WithTrackingID ¶
func (o *GetTrackingParams) WithTrackingID(trackingID string) *GetTrackingParams
WithTrackingID adds the trackingID to the get tracking params
func (*GetTrackingParams) WithXAmznShippingBusinessID ¶
func (o *GetTrackingParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetTrackingParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get tracking params
func (*GetTrackingParams) WriteToRequest ¶
func (o *GetTrackingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrackingReader ¶
type GetTrackingReader struct {
// contains filtered or unexported fields
}
GetTrackingReader is a Reader for the GetTracking structure.
func (*GetTrackingReader) ReadResponse ¶
func (o *GetTrackingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrackingRequestEntityTooLarge ¶
type GetTrackingRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetTrackingRequestEntityTooLarge ¶
func NewGetTrackingRequestEntityTooLarge() *GetTrackingRequestEntityTooLarge
NewGetTrackingRequestEntityTooLarge creates a GetTrackingRequestEntityTooLarge with default headers values
func (*GetTrackingRequestEntityTooLarge) Error ¶
func (o *GetTrackingRequestEntityTooLarge) Error() string
func (*GetTrackingRequestEntityTooLarge) GetPayload ¶
func (o *GetTrackingRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingRequestEntityTooLarge) IsClientError ¶
func (o *GetTrackingRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get tracking request entity too large response has a 4xx status code
func (*GetTrackingRequestEntityTooLarge) IsCode ¶
func (o *GetTrackingRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get tracking request entity too large response a status code equal to that given
func (*GetTrackingRequestEntityTooLarge) IsRedirect ¶
func (o *GetTrackingRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get tracking request entity too large response has a 3xx status code
func (*GetTrackingRequestEntityTooLarge) IsServerError ¶
func (o *GetTrackingRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get tracking request entity too large response has a 5xx status code
func (*GetTrackingRequestEntityTooLarge) IsSuccess ¶
func (o *GetTrackingRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get tracking request entity too large response has a 2xx status code
func (*GetTrackingRequestEntityTooLarge) String ¶
func (o *GetTrackingRequestEntityTooLarge) String() string
type GetTrackingServiceUnavailable ¶
GetTrackingServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetTrackingServiceUnavailable ¶
func NewGetTrackingServiceUnavailable() *GetTrackingServiceUnavailable
NewGetTrackingServiceUnavailable creates a GetTrackingServiceUnavailable with default headers values
func (*GetTrackingServiceUnavailable) Error ¶
func (o *GetTrackingServiceUnavailable) Error() string
func (*GetTrackingServiceUnavailable) GetPayload ¶
func (o *GetTrackingServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingServiceUnavailable) IsClientError ¶
func (o *GetTrackingServiceUnavailable) IsClientError() bool
IsClientError returns true when this get tracking service unavailable response has a 4xx status code
func (*GetTrackingServiceUnavailable) IsCode ¶
func (o *GetTrackingServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get tracking service unavailable response a status code equal to that given
func (*GetTrackingServiceUnavailable) IsRedirect ¶
func (o *GetTrackingServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get tracking service unavailable response has a 3xx status code
func (*GetTrackingServiceUnavailable) IsServerError ¶
func (o *GetTrackingServiceUnavailable) IsServerError() bool
IsServerError returns true when this get tracking service unavailable response has a 5xx status code
func (*GetTrackingServiceUnavailable) IsSuccess ¶
func (o *GetTrackingServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get tracking service unavailable response has a 2xx status code
func (*GetTrackingServiceUnavailable) String ¶
func (o *GetTrackingServiceUnavailable) String() string
type GetTrackingTooManyRequests ¶
type GetTrackingTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetTrackingTooManyRequests ¶
func NewGetTrackingTooManyRequests() *GetTrackingTooManyRequests
NewGetTrackingTooManyRequests creates a GetTrackingTooManyRequests with default headers values
func (*GetTrackingTooManyRequests) Error ¶
func (o *GetTrackingTooManyRequests) Error() string
func (*GetTrackingTooManyRequests) GetPayload ¶
func (o *GetTrackingTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingTooManyRequests) IsClientError ¶
func (o *GetTrackingTooManyRequests) IsClientError() bool
IsClientError returns true when this get tracking too many requests response has a 4xx status code
func (*GetTrackingTooManyRequests) IsCode ¶
func (o *GetTrackingTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tracking too many requests response a status code equal to that given
func (*GetTrackingTooManyRequests) IsRedirect ¶
func (o *GetTrackingTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tracking too many requests response has a 3xx status code
func (*GetTrackingTooManyRequests) IsServerError ¶
func (o *GetTrackingTooManyRequests) IsServerError() bool
IsServerError returns true when this get tracking too many requests response has a 5xx status code
func (*GetTrackingTooManyRequests) IsSuccess ¶
func (o *GetTrackingTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tracking too many requests response has a 2xx status code
func (*GetTrackingTooManyRequests) String ¶
func (o *GetTrackingTooManyRequests) String() string
type GetTrackingUnauthorized ¶
GetTrackingUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetTrackingUnauthorized ¶
func NewGetTrackingUnauthorized() *GetTrackingUnauthorized
NewGetTrackingUnauthorized creates a GetTrackingUnauthorized with default headers values
func (*GetTrackingUnauthorized) Error ¶
func (o *GetTrackingUnauthorized) Error() string
func (*GetTrackingUnauthorized) GetPayload ¶
func (o *GetTrackingUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingUnauthorized) IsClientError ¶
func (o *GetTrackingUnauthorized) IsClientError() bool
IsClientError returns true when this get tracking unauthorized response has a 4xx status code
func (*GetTrackingUnauthorized) IsCode ¶
func (o *GetTrackingUnauthorized) IsCode(code int) bool
IsCode returns true when this get tracking unauthorized response a status code equal to that given
func (*GetTrackingUnauthorized) IsRedirect ¶
func (o *GetTrackingUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tracking unauthorized response has a 3xx status code
func (*GetTrackingUnauthorized) IsServerError ¶
func (o *GetTrackingUnauthorized) IsServerError() bool
IsServerError returns true when this get tracking unauthorized response has a 5xx status code
func (*GetTrackingUnauthorized) IsSuccess ¶
func (o *GetTrackingUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tracking unauthorized response has a 2xx status code
func (*GetTrackingUnauthorized) String ¶
func (o *GetTrackingUnauthorized) String() string
type GetTrackingUnsupportedMediaType ¶
type GetTrackingUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetTrackingUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetTrackingUnsupportedMediaType ¶
func NewGetTrackingUnsupportedMediaType() *GetTrackingUnsupportedMediaType
NewGetTrackingUnsupportedMediaType creates a GetTrackingUnsupportedMediaType with default headers values
func (*GetTrackingUnsupportedMediaType) Error ¶
func (o *GetTrackingUnsupportedMediaType) Error() string
func (*GetTrackingUnsupportedMediaType) GetPayload ¶
func (o *GetTrackingUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetTrackingUnsupportedMediaType) IsClientError ¶
func (o *GetTrackingUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get tracking unsupported media type response has a 4xx status code
func (*GetTrackingUnsupportedMediaType) IsCode ¶
func (o *GetTrackingUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get tracking unsupported media type response a status code equal to that given
func (*GetTrackingUnsupportedMediaType) IsRedirect ¶
func (o *GetTrackingUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get tracking unsupported media type response has a 3xx status code
func (*GetTrackingUnsupportedMediaType) IsServerError ¶
func (o *GetTrackingUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get tracking unsupported media type response has a 5xx status code
func (*GetTrackingUnsupportedMediaType) IsSuccess ¶
func (o *GetTrackingUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get tracking unsupported media type response has a 2xx status code
func (*GetTrackingUnsupportedMediaType) String ¶
func (o *GetTrackingUnsupportedMediaType) String() string
type GetUnmanifestedShipmentsBadRequest ¶
type GetUnmanifestedShipmentsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetUnmanifestedShipmentsBadRequest ¶
func NewGetUnmanifestedShipmentsBadRequest() *GetUnmanifestedShipmentsBadRequest
NewGetUnmanifestedShipmentsBadRequest creates a GetUnmanifestedShipmentsBadRequest with default headers values
func (*GetUnmanifestedShipmentsBadRequest) Error ¶
func (o *GetUnmanifestedShipmentsBadRequest) Error() string
func (*GetUnmanifestedShipmentsBadRequest) GetPayload ¶
func (o *GetUnmanifestedShipmentsBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsBadRequest) IsClientError ¶
func (o *GetUnmanifestedShipmentsBadRequest) IsClientError() bool
IsClientError returns true when this get unmanifested shipments bad request response has a 4xx status code
func (*GetUnmanifestedShipmentsBadRequest) IsCode ¶
func (o *GetUnmanifestedShipmentsBadRequest) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments bad request response a status code equal to that given
func (*GetUnmanifestedShipmentsBadRequest) IsRedirect ¶
func (o *GetUnmanifestedShipmentsBadRequest) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments bad request response has a 3xx status code
func (*GetUnmanifestedShipmentsBadRequest) IsServerError ¶
func (o *GetUnmanifestedShipmentsBadRequest) IsServerError() bool
IsServerError returns true when this get unmanifested shipments bad request response has a 5xx status code
func (*GetUnmanifestedShipmentsBadRequest) IsSuccess ¶
func (o *GetUnmanifestedShipmentsBadRequest) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments bad request response has a 2xx status code
func (*GetUnmanifestedShipmentsBadRequest) String ¶
func (o *GetUnmanifestedShipmentsBadRequest) String() string
type GetUnmanifestedShipmentsForbidden ¶
type GetUnmanifestedShipmentsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetUnmanifestedShipmentsForbidden ¶
func NewGetUnmanifestedShipmentsForbidden() *GetUnmanifestedShipmentsForbidden
NewGetUnmanifestedShipmentsForbidden creates a GetUnmanifestedShipmentsForbidden with default headers values
func (*GetUnmanifestedShipmentsForbidden) Error ¶
func (o *GetUnmanifestedShipmentsForbidden) Error() string
func (*GetUnmanifestedShipmentsForbidden) GetPayload ¶
func (o *GetUnmanifestedShipmentsForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsForbidden) IsClientError ¶
func (o *GetUnmanifestedShipmentsForbidden) IsClientError() bool
IsClientError returns true when this get unmanifested shipments forbidden response has a 4xx status code
func (*GetUnmanifestedShipmentsForbidden) IsCode ¶
func (o *GetUnmanifestedShipmentsForbidden) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments forbidden response a status code equal to that given
func (*GetUnmanifestedShipmentsForbidden) IsRedirect ¶
func (o *GetUnmanifestedShipmentsForbidden) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments forbidden response has a 3xx status code
func (*GetUnmanifestedShipmentsForbidden) IsServerError ¶
func (o *GetUnmanifestedShipmentsForbidden) IsServerError() bool
IsServerError returns true when this get unmanifested shipments forbidden response has a 5xx status code
func (*GetUnmanifestedShipmentsForbidden) IsSuccess ¶
func (o *GetUnmanifestedShipmentsForbidden) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments forbidden response has a 2xx status code
func (*GetUnmanifestedShipmentsForbidden) String ¶
func (o *GetUnmanifestedShipmentsForbidden) String() string
type GetUnmanifestedShipmentsInternalServerError ¶
type GetUnmanifestedShipmentsInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetUnmanifestedShipmentsInternalServerError ¶
func NewGetUnmanifestedShipmentsInternalServerError() *GetUnmanifestedShipmentsInternalServerError
NewGetUnmanifestedShipmentsInternalServerError creates a GetUnmanifestedShipmentsInternalServerError with default headers values
func (*GetUnmanifestedShipmentsInternalServerError) Error ¶
func (o *GetUnmanifestedShipmentsInternalServerError) Error() string
func (*GetUnmanifestedShipmentsInternalServerError) GetPayload ¶
func (o *GetUnmanifestedShipmentsInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsInternalServerError) IsClientError ¶
func (o *GetUnmanifestedShipmentsInternalServerError) IsClientError() bool
IsClientError returns true when this get unmanifested shipments internal server error response has a 4xx status code
func (*GetUnmanifestedShipmentsInternalServerError) IsCode ¶
func (o *GetUnmanifestedShipmentsInternalServerError) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments internal server error response a status code equal to that given
func (*GetUnmanifestedShipmentsInternalServerError) IsRedirect ¶
func (o *GetUnmanifestedShipmentsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments internal server error response has a 3xx status code
func (*GetUnmanifestedShipmentsInternalServerError) IsServerError ¶
func (o *GetUnmanifestedShipmentsInternalServerError) IsServerError() bool
IsServerError returns true when this get unmanifested shipments internal server error response has a 5xx status code
func (*GetUnmanifestedShipmentsInternalServerError) IsSuccess ¶
func (o *GetUnmanifestedShipmentsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments internal server error response has a 2xx status code
func (*GetUnmanifestedShipmentsInternalServerError) String ¶
func (o *GetUnmanifestedShipmentsInternalServerError) String() string
type GetUnmanifestedShipmentsNotFound ¶
type GetUnmanifestedShipmentsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetUnmanifestedShipmentsNotFound ¶
func NewGetUnmanifestedShipmentsNotFound() *GetUnmanifestedShipmentsNotFound
NewGetUnmanifestedShipmentsNotFound creates a GetUnmanifestedShipmentsNotFound with default headers values
func (*GetUnmanifestedShipmentsNotFound) Error ¶
func (o *GetUnmanifestedShipmentsNotFound) Error() string
func (*GetUnmanifestedShipmentsNotFound) GetPayload ¶
func (o *GetUnmanifestedShipmentsNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsNotFound) IsClientError ¶
func (o *GetUnmanifestedShipmentsNotFound) IsClientError() bool
IsClientError returns true when this get unmanifested shipments not found response has a 4xx status code
func (*GetUnmanifestedShipmentsNotFound) IsCode ¶
func (o *GetUnmanifestedShipmentsNotFound) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments not found response a status code equal to that given
func (*GetUnmanifestedShipmentsNotFound) IsRedirect ¶
func (o *GetUnmanifestedShipmentsNotFound) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments not found response has a 3xx status code
func (*GetUnmanifestedShipmentsNotFound) IsServerError ¶
func (o *GetUnmanifestedShipmentsNotFound) IsServerError() bool
IsServerError returns true when this get unmanifested shipments not found response has a 5xx status code
func (*GetUnmanifestedShipmentsNotFound) IsSuccess ¶
func (o *GetUnmanifestedShipmentsNotFound) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments not found response has a 2xx status code
func (*GetUnmanifestedShipmentsNotFound) String ¶
func (o *GetUnmanifestedShipmentsNotFound) String() string
type GetUnmanifestedShipmentsOK ¶
type GetUnmanifestedShipmentsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.GetUnmanifestedShipmentsResponse }
GetUnmanifestedShipmentsOK describes a response with status code 200, with default header values.
Success.
func NewGetUnmanifestedShipmentsOK ¶
func NewGetUnmanifestedShipmentsOK() *GetUnmanifestedShipmentsOK
NewGetUnmanifestedShipmentsOK creates a GetUnmanifestedShipmentsOK with default headers values
func (*GetUnmanifestedShipmentsOK) Error ¶
func (o *GetUnmanifestedShipmentsOK) Error() string
func (*GetUnmanifestedShipmentsOK) GetPayload ¶
func (o *GetUnmanifestedShipmentsOK) GetPayload() *shipping_v2_models.GetUnmanifestedShipmentsResponse
func (*GetUnmanifestedShipmentsOK) IsClientError ¶
func (o *GetUnmanifestedShipmentsOK) IsClientError() bool
IsClientError returns true when this get unmanifested shipments o k response has a 4xx status code
func (*GetUnmanifestedShipmentsOK) IsCode ¶
func (o *GetUnmanifestedShipmentsOK) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments o k response a status code equal to that given
func (*GetUnmanifestedShipmentsOK) IsRedirect ¶
func (o *GetUnmanifestedShipmentsOK) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments o k response has a 3xx status code
func (*GetUnmanifestedShipmentsOK) IsServerError ¶
func (o *GetUnmanifestedShipmentsOK) IsServerError() bool
IsServerError returns true when this get unmanifested shipments o k response has a 5xx status code
func (*GetUnmanifestedShipmentsOK) IsSuccess ¶
func (o *GetUnmanifestedShipmentsOK) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments o k response has a 2xx status code
func (*GetUnmanifestedShipmentsOK) String ¶
func (o *GetUnmanifestedShipmentsOK) String() string
type GetUnmanifestedShipmentsParams ¶
type GetUnmanifestedShipmentsParams struct { // Body. Body *shipping_v2_models.GetUnmanifestedShipmentsRequest /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUnmanifestedShipmentsParams contains all the parameters to send to the API endpoint
for the get unmanifested shipments operation. Typically these are written to a http.Request.
func NewGetUnmanifestedShipmentsParams ¶
func NewGetUnmanifestedShipmentsParams() *GetUnmanifestedShipmentsParams
NewGetUnmanifestedShipmentsParams creates a new GetUnmanifestedShipmentsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUnmanifestedShipmentsParamsWithContext ¶
func NewGetUnmanifestedShipmentsParamsWithContext(ctx context.Context) *GetUnmanifestedShipmentsParams
NewGetUnmanifestedShipmentsParamsWithContext creates a new GetUnmanifestedShipmentsParams object with the ability to set a context for a request.
func NewGetUnmanifestedShipmentsParamsWithHTTPClient ¶
func NewGetUnmanifestedShipmentsParamsWithHTTPClient(client *http.Client) *GetUnmanifestedShipmentsParams
NewGetUnmanifestedShipmentsParamsWithHTTPClient creates a new GetUnmanifestedShipmentsParams object with the ability to set a custom HTTPClient for a request.
func NewGetUnmanifestedShipmentsParamsWithTimeout ¶
func NewGetUnmanifestedShipmentsParamsWithTimeout(timeout time.Duration) *GetUnmanifestedShipmentsParams
NewGetUnmanifestedShipmentsParamsWithTimeout creates a new GetUnmanifestedShipmentsParams object with the ability to set a timeout on a request.
func (*GetUnmanifestedShipmentsParams) SetBody ¶
func (o *GetUnmanifestedShipmentsParams) SetBody(body *shipping_v2_models.GetUnmanifestedShipmentsRequest)
SetBody adds the body to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) SetContext ¶
func (o *GetUnmanifestedShipmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) SetDefaults ¶
func (o *GetUnmanifestedShipmentsParams) SetDefaults()
SetDefaults hydrates default values in the get unmanifested shipments params (not the query body).
All values with no default are reset to their zero value.
func (*GetUnmanifestedShipmentsParams) SetHTTPClient ¶
func (o *GetUnmanifestedShipmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) SetTimeout ¶
func (o *GetUnmanifestedShipmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) SetXAmznShippingBusinessID ¶
func (o *GetUnmanifestedShipmentsParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) WithBody ¶
func (o *GetUnmanifestedShipmentsParams) WithBody(body *shipping_v2_models.GetUnmanifestedShipmentsRequest) *GetUnmanifestedShipmentsParams
WithBody adds the body to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) WithContext ¶
func (o *GetUnmanifestedShipmentsParams) WithContext(ctx context.Context) *GetUnmanifestedShipmentsParams
WithContext adds the context to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) WithDefaults ¶
func (o *GetUnmanifestedShipmentsParams) WithDefaults() *GetUnmanifestedShipmentsParams
WithDefaults hydrates default values in the get unmanifested shipments params (not the query body).
All values with no default are reset to their zero value.
func (*GetUnmanifestedShipmentsParams) WithHTTPClient ¶
func (o *GetUnmanifestedShipmentsParams) WithHTTPClient(client *http.Client) *GetUnmanifestedShipmentsParams
WithHTTPClient adds the HTTPClient to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) WithTimeout ¶
func (o *GetUnmanifestedShipmentsParams) WithTimeout(timeout time.Duration) *GetUnmanifestedShipmentsParams
WithTimeout adds the timeout to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) WithXAmznShippingBusinessID ¶
func (o *GetUnmanifestedShipmentsParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *GetUnmanifestedShipmentsParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the get unmanifested shipments params
func (*GetUnmanifestedShipmentsParams) WriteToRequest ¶
func (o *GetUnmanifestedShipmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUnmanifestedShipmentsReader ¶
type GetUnmanifestedShipmentsReader struct {
// contains filtered or unexported fields
}
GetUnmanifestedShipmentsReader is a Reader for the GetUnmanifestedShipments structure.
func (*GetUnmanifestedShipmentsReader) ReadResponse ¶
func (o *GetUnmanifestedShipmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUnmanifestedShipmentsRequestEntityTooLarge ¶
type GetUnmanifestedShipmentsRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetUnmanifestedShipmentsRequestEntityTooLarge ¶
func NewGetUnmanifestedShipmentsRequestEntityTooLarge() *GetUnmanifestedShipmentsRequestEntityTooLarge
NewGetUnmanifestedShipmentsRequestEntityTooLarge creates a GetUnmanifestedShipmentsRequestEntityTooLarge with default headers values
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) Error ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) Error() string
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) GetPayload ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsClientError ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get unmanifested shipments request entity too large response has a 4xx status code
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsCode ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments request entity too large response a status code equal to that given
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsRedirect ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments request entity too large response has a 3xx status code
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsServerError ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get unmanifested shipments request entity too large response has a 5xx status code
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) IsSuccess ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments request entity too large response has a 2xx status code
func (*GetUnmanifestedShipmentsRequestEntityTooLarge) String ¶
func (o *GetUnmanifestedShipmentsRequestEntityTooLarge) String() string
type GetUnmanifestedShipmentsServiceUnavailable ¶
type GetUnmanifestedShipmentsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetUnmanifestedShipmentsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetUnmanifestedShipmentsServiceUnavailable ¶
func NewGetUnmanifestedShipmentsServiceUnavailable() *GetUnmanifestedShipmentsServiceUnavailable
NewGetUnmanifestedShipmentsServiceUnavailable creates a GetUnmanifestedShipmentsServiceUnavailable with default headers values
func (*GetUnmanifestedShipmentsServiceUnavailable) Error ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) Error() string
func (*GetUnmanifestedShipmentsServiceUnavailable) GetPayload ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsServiceUnavailable) IsClientError ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get unmanifested shipments service unavailable response has a 4xx status code
func (*GetUnmanifestedShipmentsServiceUnavailable) IsCode ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments service unavailable response a status code equal to that given
func (*GetUnmanifestedShipmentsServiceUnavailable) IsRedirect ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments service unavailable response has a 3xx status code
func (*GetUnmanifestedShipmentsServiceUnavailable) IsServerError ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get unmanifested shipments service unavailable response has a 5xx status code
func (*GetUnmanifestedShipmentsServiceUnavailable) IsSuccess ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments service unavailable response has a 2xx status code
func (*GetUnmanifestedShipmentsServiceUnavailable) String ¶
func (o *GetUnmanifestedShipmentsServiceUnavailable) String() string
type GetUnmanifestedShipmentsTooManyRequests ¶
type GetUnmanifestedShipmentsTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetUnmanifestedShipmentsTooManyRequests ¶
func NewGetUnmanifestedShipmentsTooManyRequests() *GetUnmanifestedShipmentsTooManyRequests
NewGetUnmanifestedShipmentsTooManyRequests creates a GetUnmanifestedShipmentsTooManyRequests with default headers values
func (*GetUnmanifestedShipmentsTooManyRequests) Error ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) Error() string
func (*GetUnmanifestedShipmentsTooManyRequests) GetPayload ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsTooManyRequests) IsClientError ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) IsClientError() bool
IsClientError returns true when this get unmanifested shipments too many requests response has a 4xx status code
func (*GetUnmanifestedShipmentsTooManyRequests) IsCode ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments too many requests response a status code equal to that given
func (*GetUnmanifestedShipmentsTooManyRequests) IsRedirect ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments too many requests response has a 3xx status code
func (*GetUnmanifestedShipmentsTooManyRequests) IsServerError ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) IsServerError() bool
IsServerError returns true when this get unmanifested shipments too many requests response has a 5xx status code
func (*GetUnmanifestedShipmentsTooManyRequests) IsSuccess ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments too many requests response has a 2xx status code
func (*GetUnmanifestedShipmentsTooManyRequests) String ¶
func (o *GetUnmanifestedShipmentsTooManyRequests) String() string
type GetUnmanifestedShipmentsUnauthorized ¶
type GetUnmanifestedShipmentsUnauthorized struct { string XAmznRequestID string }XAmznRateLimitLimit
GetUnmanifestedShipmentsUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetUnmanifestedShipmentsUnauthorized ¶
func NewGetUnmanifestedShipmentsUnauthorized() *GetUnmanifestedShipmentsUnauthorized
NewGetUnmanifestedShipmentsUnauthorized creates a GetUnmanifestedShipmentsUnauthorized with default headers values
func (*GetUnmanifestedShipmentsUnauthorized) Error ¶
func (o *GetUnmanifestedShipmentsUnauthorized) Error() string
func (*GetUnmanifestedShipmentsUnauthorized) GetPayload ¶
func (o *GetUnmanifestedShipmentsUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsUnauthorized) IsClientError ¶
func (o *GetUnmanifestedShipmentsUnauthorized) IsClientError() bool
IsClientError returns true when this get unmanifested shipments unauthorized response has a 4xx status code
func (*GetUnmanifestedShipmentsUnauthorized) IsCode ¶
func (o *GetUnmanifestedShipmentsUnauthorized) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments unauthorized response a status code equal to that given
func (*GetUnmanifestedShipmentsUnauthorized) IsRedirect ¶
func (o *GetUnmanifestedShipmentsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments unauthorized response has a 3xx status code
func (*GetUnmanifestedShipmentsUnauthorized) IsServerError ¶
func (o *GetUnmanifestedShipmentsUnauthorized) IsServerError() bool
IsServerError returns true when this get unmanifested shipments unauthorized response has a 5xx status code
func (*GetUnmanifestedShipmentsUnauthorized) IsSuccess ¶
func (o *GetUnmanifestedShipmentsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments unauthorized response has a 2xx status code
func (*GetUnmanifestedShipmentsUnauthorized) String ¶
func (o *GetUnmanifestedShipmentsUnauthorized) String() string
type GetUnmanifestedShipmentsUnsupportedMediaType ¶
type GetUnmanifestedShipmentsUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
GetUnmanifestedShipmentsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetUnmanifestedShipmentsUnsupportedMediaType ¶
func NewGetUnmanifestedShipmentsUnsupportedMediaType() *GetUnmanifestedShipmentsUnsupportedMediaType
NewGetUnmanifestedShipmentsUnsupportedMediaType creates a GetUnmanifestedShipmentsUnsupportedMediaType with default headers values
func (*GetUnmanifestedShipmentsUnsupportedMediaType) Error ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) Error() string
func (*GetUnmanifestedShipmentsUnsupportedMediaType) GetPayload ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsClientError ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get unmanifested shipments unsupported media type response has a 4xx status code
func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsCode ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get unmanifested shipments unsupported media type response a status code equal to that given
func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsRedirect ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get unmanifested shipments unsupported media type response has a 3xx status code
func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsServerError ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get unmanifested shipments unsupported media type response has a 5xx status code
func (*GetUnmanifestedShipmentsUnsupportedMediaType) IsSuccess ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get unmanifested shipments unsupported media type response has a 2xx status code
func (*GetUnmanifestedShipmentsUnsupportedMediaType) String ¶
func (o *GetUnmanifestedShipmentsUnsupportedMediaType) String() string
type LinkCarrierAccountBadRequest ¶
type LinkCarrierAccountBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewLinkCarrierAccountBadRequest ¶
func NewLinkCarrierAccountBadRequest() *LinkCarrierAccountBadRequest
NewLinkCarrierAccountBadRequest creates a LinkCarrierAccountBadRequest with default headers values
func (*LinkCarrierAccountBadRequest) Error ¶
func (o *LinkCarrierAccountBadRequest) Error() string
func (*LinkCarrierAccountBadRequest) GetPayload ¶
func (o *LinkCarrierAccountBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountBadRequest) IsClientError ¶
func (o *LinkCarrierAccountBadRequest) IsClientError() bool
IsClientError returns true when this link carrier account bad request response has a 4xx status code
func (*LinkCarrierAccountBadRequest) IsCode ¶
func (o *LinkCarrierAccountBadRequest) IsCode(code int) bool
IsCode returns true when this link carrier account bad request response a status code equal to that given
func (*LinkCarrierAccountBadRequest) IsRedirect ¶
func (o *LinkCarrierAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this link carrier account bad request response has a 3xx status code
func (*LinkCarrierAccountBadRequest) IsServerError ¶
func (o *LinkCarrierAccountBadRequest) IsServerError() bool
IsServerError returns true when this link carrier account bad request response has a 5xx status code
func (*LinkCarrierAccountBadRequest) IsSuccess ¶
func (o *LinkCarrierAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this link carrier account bad request response has a 2xx status code
func (*LinkCarrierAccountBadRequest) String ¶
func (o *LinkCarrierAccountBadRequest) String() string
type LinkCarrierAccountForbidden ¶
type LinkCarrierAccountForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewLinkCarrierAccountForbidden ¶
func NewLinkCarrierAccountForbidden() *LinkCarrierAccountForbidden
NewLinkCarrierAccountForbidden creates a LinkCarrierAccountForbidden with default headers values
func (*LinkCarrierAccountForbidden) Error ¶
func (o *LinkCarrierAccountForbidden) Error() string
func (*LinkCarrierAccountForbidden) GetPayload ¶
func (o *LinkCarrierAccountForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountForbidden) IsClientError ¶
func (o *LinkCarrierAccountForbidden) IsClientError() bool
IsClientError returns true when this link carrier account forbidden response has a 4xx status code
func (*LinkCarrierAccountForbidden) IsCode ¶
func (o *LinkCarrierAccountForbidden) IsCode(code int) bool
IsCode returns true when this link carrier account forbidden response a status code equal to that given
func (*LinkCarrierAccountForbidden) IsRedirect ¶
func (o *LinkCarrierAccountForbidden) IsRedirect() bool
IsRedirect returns true when this link carrier account forbidden response has a 3xx status code
func (*LinkCarrierAccountForbidden) IsServerError ¶
func (o *LinkCarrierAccountForbidden) IsServerError() bool
IsServerError returns true when this link carrier account forbidden response has a 5xx status code
func (*LinkCarrierAccountForbidden) IsSuccess ¶
func (o *LinkCarrierAccountForbidden) IsSuccess() bool
IsSuccess returns true when this link carrier account forbidden response has a 2xx status code
func (*LinkCarrierAccountForbidden) String ¶
func (o *LinkCarrierAccountForbidden) String() string
type LinkCarrierAccountInternalServerError ¶
type LinkCarrierAccountInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewLinkCarrierAccountInternalServerError ¶
func NewLinkCarrierAccountInternalServerError() *LinkCarrierAccountInternalServerError
NewLinkCarrierAccountInternalServerError creates a LinkCarrierAccountInternalServerError with default headers values
func (*LinkCarrierAccountInternalServerError) Error ¶
func (o *LinkCarrierAccountInternalServerError) Error() string
func (*LinkCarrierAccountInternalServerError) GetPayload ¶
func (o *LinkCarrierAccountInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountInternalServerError) IsClientError ¶
func (o *LinkCarrierAccountInternalServerError) IsClientError() bool
IsClientError returns true when this link carrier account internal server error response has a 4xx status code
func (*LinkCarrierAccountInternalServerError) IsCode ¶
func (o *LinkCarrierAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this link carrier account internal server error response a status code equal to that given
func (*LinkCarrierAccountInternalServerError) IsRedirect ¶
func (o *LinkCarrierAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this link carrier account internal server error response has a 3xx status code
func (*LinkCarrierAccountInternalServerError) IsServerError ¶
func (o *LinkCarrierAccountInternalServerError) IsServerError() bool
IsServerError returns true when this link carrier account internal server error response has a 5xx status code
func (*LinkCarrierAccountInternalServerError) IsSuccess ¶
func (o *LinkCarrierAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this link carrier account internal server error response has a 2xx status code
func (*LinkCarrierAccountInternalServerError) String ¶
func (o *LinkCarrierAccountInternalServerError) String() string
type LinkCarrierAccountNotFound ¶
type LinkCarrierAccountNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewLinkCarrierAccountNotFound ¶
func NewLinkCarrierAccountNotFound() *LinkCarrierAccountNotFound
NewLinkCarrierAccountNotFound creates a LinkCarrierAccountNotFound with default headers values
func (*LinkCarrierAccountNotFound) Error ¶
func (o *LinkCarrierAccountNotFound) Error() string
func (*LinkCarrierAccountNotFound) GetPayload ¶
func (o *LinkCarrierAccountNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountNotFound) IsClientError ¶
func (o *LinkCarrierAccountNotFound) IsClientError() bool
IsClientError returns true when this link carrier account not found response has a 4xx status code
func (*LinkCarrierAccountNotFound) IsCode ¶
func (o *LinkCarrierAccountNotFound) IsCode(code int) bool
IsCode returns true when this link carrier account not found response a status code equal to that given
func (*LinkCarrierAccountNotFound) IsRedirect ¶
func (o *LinkCarrierAccountNotFound) IsRedirect() bool
IsRedirect returns true when this link carrier account not found response has a 3xx status code
func (*LinkCarrierAccountNotFound) IsServerError ¶
func (o *LinkCarrierAccountNotFound) IsServerError() bool
IsServerError returns true when this link carrier account not found response has a 5xx status code
func (*LinkCarrierAccountNotFound) IsSuccess ¶
func (o *LinkCarrierAccountNotFound) IsSuccess() bool
IsSuccess returns true when this link carrier account not found response has a 2xx status code
func (*LinkCarrierAccountNotFound) String ¶
func (o *LinkCarrierAccountNotFound) String() string
type LinkCarrierAccountOK ¶
type LinkCarrierAccountOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.LinkCarrierAccountResponse }
LinkCarrierAccountOK describes a response with status code 200, with default header values.
Success.
func NewLinkCarrierAccountOK ¶
func NewLinkCarrierAccountOK() *LinkCarrierAccountOK
NewLinkCarrierAccountOK creates a LinkCarrierAccountOK with default headers values
func (*LinkCarrierAccountOK) Error ¶
func (o *LinkCarrierAccountOK) Error() string
func (*LinkCarrierAccountOK) GetPayload ¶
func (o *LinkCarrierAccountOK) GetPayload() *shipping_v2_models.LinkCarrierAccountResponse
func (*LinkCarrierAccountOK) IsClientError ¶
func (o *LinkCarrierAccountOK) IsClientError() bool
IsClientError returns true when this link carrier account o k response has a 4xx status code
func (*LinkCarrierAccountOK) IsCode ¶
func (o *LinkCarrierAccountOK) IsCode(code int) bool
IsCode returns true when this link carrier account o k response a status code equal to that given
func (*LinkCarrierAccountOK) IsRedirect ¶
func (o *LinkCarrierAccountOK) IsRedirect() bool
IsRedirect returns true when this link carrier account o k response has a 3xx status code
func (*LinkCarrierAccountOK) IsServerError ¶
func (o *LinkCarrierAccountOK) IsServerError() bool
IsServerError returns true when this link carrier account o k response has a 5xx status code
func (*LinkCarrierAccountOK) IsSuccess ¶
func (o *LinkCarrierAccountOK) IsSuccess() bool
IsSuccess returns true when this link carrier account o k response has a 2xx status code
func (*LinkCarrierAccountOK) String ¶
func (o *LinkCarrierAccountOK) String() string
type LinkCarrierAccountParams ¶
type LinkCarrierAccountParams struct { // Body. Body *shipping_v2_models.LinkCarrierAccountRequest /* CarrierID. The unique identifier associated with the carrier account. */ CarrierID string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LinkCarrierAccountParams contains all the parameters to send to the API endpoint
for the link carrier account operation. Typically these are written to a http.Request.
func NewLinkCarrierAccountParams ¶
func NewLinkCarrierAccountParams() *LinkCarrierAccountParams
NewLinkCarrierAccountParams creates a new LinkCarrierAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewLinkCarrierAccountParamsWithContext ¶
func NewLinkCarrierAccountParamsWithContext(ctx context.Context) *LinkCarrierAccountParams
NewLinkCarrierAccountParamsWithContext creates a new LinkCarrierAccountParams object with the ability to set a context for a request.
func NewLinkCarrierAccountParamsWithHTTPClient ¶
func NewLinkCarrierAccountParamsWithHTTPClient(client *http.Client) *LinkCarrierAccountParams
NewLinkCarrierAccountParamsWithHTTPClient creates a new LinkCarrierAccountParams object with the ability to set a custom HTTPClient for a request.
func NewLinkCarrierAccountParamsWithTimeout ¶
func NewLinkCarrierAccountParamsWithTimeout(timeout time.Duration) *LinkCarrierAccountParams
NewLinkCarrierAccountParamsWithTimeout creates a new LinkCarrierAccountParams object with the ability to set a timeout on a request.
func (*LinkCarrierAccountParams) SetBody ¶
func (o *LinkCarrierAccountParams) SetBody(body *shipping_v2_models.LinkCarrierAccountRequest)
SetBody adds the body to the link carrier account params
func (*LinkCarrierAccountParams) SetCarrierID ¶
func (o *LinkCarrierAccountParams) SetCarrierID(carrierID string)
SetCarrierID adds the carrierId to the link carrier account params
func (*LinkCarrierAccountParams) SetContext ¶
func (o *LinkCarrierAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the link carrier account params
func (*LinkCarrierAccountParams) SetDefaults ¶
func (o *LinkCarrierAccountParams) SetDefaults()
SetDefaults hydrates default values in the link carrier account params (not the query body).
All values with no default are reset to their zero value.
func (*LinkCarrierAccountParams) SetHTTPClient ¶
func (o *LinkCarrierAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the link carrier account params
func (*LinkCarrierAccountParams) SetTimeout ¶
func (o *LinkCarrierAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the link carrier account params
func (*LinkCarrierAccountParams) SetXAmznShippingBusinessID ¶
func (o *LinkCarrierAccountParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the link carrier account params
func (*LinkCarrierAccountParams) WithBody ¶
func (o *LinkCarrierAccountParams) WithBody(body *shipping_v2_models.LinkCarrierAccountRequest) *LinkCarrierAccountParams
WithBody adds the body to the link carrier account params
func (*LinkCarrierAccountParams) WithCarrierID ¶
func (o *LinkCarrierAccountParams) WithCarrierID(carrierID string) *LinkCarrierAccountParams
WithCarrierID adds the carrierID to the link carrier account params
func (*LinkCarrierAccountParams) WithContext ¶
func (o *LinkCarrierAccountParams) WithContext(ctx context.Context) *LinkCarrierAccountParams
WithContext adds the context to the link carrier account params
func (*LinkCarrierAccountParams) WithDefaults ¶
func (o *LinkCarrierAccountParams) WithDefaults() *LinkCarrierAccountParams
WithDefaults hydrates default values in the link carrier account params (not the query body).
All values with no default are reset to their zero value.
func (*LinkCarrierAccountParams) WithHTTPClient ¶
func (o *LinkCarrierAccountParams) WithHTTPClient(client *http.Client) *LinkCarrierAccountParams
WithHTTPClient adds the HTTPClient to the link carrier account params
func (*LinkCarrierAccountParams) WithTimeout ¶
func (o *LinkCarrierAccountParams) WithTimeout(timeout time.Duration) *LinkCarrierAccountParams
WithTimeout adds the timeout to the link carrier account params
func (*LinkCarrierAccountParams) WithXAmznShippingBusinessID ¶
func (o *LinkCarrierAccountParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *LinkCarrierAccountParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the link carrier account params
func (*LinkCarrierAccountParams) WriteToRequest ¶
func (o *LinkCarrierAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LinkCarrierAccountReader ¶
type LinkCarrierAccountReader struct {
// contains filtered or unexported fields
}
LinkCarrierAccountReader is a Reader for the LinkCarrierAccount structure.
func (*LinkCarrierAccountReader) ReadResponse ¶
func (o *LinkCarrierAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LinkCarrierAccountRequestEntityTooLarge ¶
type LinkCarrierAccountRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewLinkCarrierAccountRequestEntityTooLarge ¶
func NewLinkCarrierAccountRequestEntityTooLarge() *LinkCarrierAccountRequestEntityTooLarge
NewLinkCarrierAccountRequestEntityTooLarge creates a LinkCarrierAccountRequestEntityTooLarge with default headers values
func (*LinkCarrierAccountRequestEntityTooLarge) Error ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) Error() string
func (*LinkCarrierAccountRequestEntityTooLarge) GetPayload ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountRequestEntityTooLarge) IsClientError ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this link carrier account request entity too large response has a 4xx status code
func (*LinkCarrierAccountRequestEntityTooLarge) IsCode ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this link carrier account request entity too large response a status code equal to that given
func (*LinkCarrierAccountRequestEntityTooLarge) IsRedirect ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this link carrier account request entity too large response has a 3xx status code
func (*LinkCarrierAccountRequestEntityTooLarge) IsServerError ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this link carrier account request entity too large response has a 5xx status code
func (*LinkCarrierAccountRequestEntityTooLarge) IsSuccess ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this link carrier account request entity too large response has a 2xx status code
func (*LinkCarrierAccountRequestEntityTooLarge) String ¶
func (o *LinkCarrierAccountRequestEntityTooLarge) String() string
type LinkCarrierAccountServiceUnavailable ¶
type LinkCarrierAccountServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
LinkCarrierAccountServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewLinkCarrierAccountServiceUnavailable ¶
func NewLinkCarrierAccountServiceUnavailable() *LinkCarrierAccountServiceUnavailable
NewLinkCarrierAccountServiceUnavailable creates a LinkCarrierAccountServiceUnavailable with default headers values
func (*LinkCarrierAccountServiceUnavailable) Error ¶
func (o *LinkCarrierAccountServiceUnavailable) Error() string
func (*LinkCarrierAccountServiceUnavailable) GetPayload ¶
func (o *LinkCarrierAccountServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountServiceUnavailable) IsClientError ¶
func (o *LinkCarrierAccountServiceUnavailable) IsClientError() bool
IsClientError returns true when this link carrier account service unavailable response has a 4xx status code
func (*LinkCarrierAccountServiceUnavailable) IsCode ¶
func (o *LinkCarrierAccountServiceUnavailable) IsCode(code int) bool
IsCode returns true when this link carrier account service unavailable response a status code equal to that given
func (*LinkCarrierAccountServiceUnavailable) IsRedirect ¶
func (o *LinkCarrierAccountServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this link carrier account service unavailable response has a 3xx status code
func (*LinkCarrierAccountServiceUnavailable) IsServerError ¶
func (o *LinkCarrierAccountServiceUnavailable) IsServerError() bool
IsServerError returns true when this link carrier account service unavailable response has a 5xx status code
func (*LinkCarrierAccountServiceUnavailable) IsSuccess ¶
func (o *LinkCarrierAccountServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this link carrier account service unavailable response has a 2xx status code
func (*LinkCarrierAccountServiceUnavailable) String ¶
func (o *LinkCarrierAccountServiceUnavailable) String() string
type LinkCarrierAccountTooManyRequests ¶
type LinkCarrierAccountTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewLinkCarrierAccountTooManyRequests ¶
func NewLinkCarrierAccountTooManyRequests() *LinkCarrierAccountTooManyRequests
NewLinkCarrierAccountTooManyRequests creates a LinkCarrierAccountTooManyRequests with default headers values
func (*LinkCarrierAccountTooManyRequests) Error ¶
func (o *LinkCarrierAccountTooManyRequests) Error() string
func (*LinkCarrierAccountTooManyRequests) GetPayload ¶
func (o *LinkCarrierAccountTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountTooManyRequests) IsClientError ¶
func (o *LinkCarrierAccountTooManyRequests) IsClientError() bool
IsClientError returns true when this link carrier account too many requests response has a 4xx status code
func (*LinkCarrierAccountTooManyRequests) IsCode ¶
func (o *LinkCarrierAccountTooManyRequests) IsCode(code int) bool
IsCode returns true when this link carrier account too many requests response a status code equal to that given
func (*LinkCarrierAccountTooManyRequests) IsRedirect ¶
func (o *LinkCarrierAccountTooManyRequests) IsRedirect() bool
IsRedirect returns true when this link carrier account too many requests response has a 3xx status code
func (*LinkCarrierAccountTooManyRequests) IsServerError ¶
func (o *LinkCarrierAccountTooManyRequests) IsServerError() bool
IsServerError returns true when this link carrier account too many requests response has a 5xx status code
func (*LinkCarrierAccountTooManyRequests) IsSuccess ¶
func (o *LinkCarrierAccountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this link carrier account too many requests response has a 2xx status code
func (*LinkCarrierAccountTooManyRequests) String ¶
func (o *LinkCarrierAccountTooManyRequests) String() string
type LinkCarrierAccountUnauthorized ¶
LinkCarrierAccountUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewLinkCarrierAccountUnauthorized ¶
func NewLinkCarrierAccountUnauthorized() *LinkCarrierAccountUnauthorized
NewLinkCarrierAccountUnauthorized creates a LinkCarrierAccountUnauthorized with default headers values
func (*LinkCarrierAccountUnauthorized) Error ¶
func (o *LinkCarrierAccountUnauthorized) Error() string
func (*LinkCarrierAccountUnauthorized) GetPayload ¶
func (o *LinkCarrierAccountUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountUnauthorized) IsClientError ¶
func (o *LinkCarrierAccountUnauthorized) IsClientError() bool
IsClientError returns true when this link carrier account unauthorized response has a 4xx status code
func (*LinkCarrierAccountUnauthorized) IsCode ¶
func (o *LinkCarrierAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this link carrier account unauthorized response a status code equal to that given
func (*LinkCarrierAccountUnauthorized) IsRedirect ¶
func (o *LinkCarrierAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this link carrier account unauthorized response has a 3xx status code
func (*LinkCarrierAccountUnauthorized) IsServerError ¶
func (o *LinkCarrierAccountUnauthorized) IsServerError() bool
IsServerError returns true when this link carrier account unauthorized response has a 5xx status code
func (*LinkCarrierAccountUnauthorized) IsSuccess ¶
func (o *LinkCarrierAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this link carrier account unauthorized response has a 2xx status code
func (*LinkCarrierAccountUnauthorized) String ¶
func (o *LinkCarrierAccountUnauthorized) String() string
type LinkCarrierAccountUnsupportedMediaType ¶
type LinkCarrierAccountUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
LinkCarrierAccountUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewLinkCarrierAccountUnsupportedMediaType ¶
func NewLinkCarrierAccountUnsupportedMediaType() *LinkCarrierAccountUnsupportedMediaType
NewLinkCarrierAccountUnsupportedMediaType creates a LinkCarrierAccountUnsupportedMediaType with default headers values
func (*LinkCarrierAccountUnsupportedMediaType) Error ¶
func (o *LinkCarrierAccountUnsupportedMediaType) Error() string
func (*LinkCarrierAccountUnsupportedMediaType) GetPayload ¶
func (o *LinkCarrierAccountUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*LinkCarrierAccountUnsupportedMediaType) IsClientError ¶
func (o *LinkCarrierAccountUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this link carrier account unsupported media type response has a 4xx status code
func (*LinkCarrierAccountUnsupportedMediaType) IsCode ¶
func (o *LinkCarrierAccountUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this link carrier account unsupported media type response a status code equal to that given
func (*LinkCarrierAccountUnsupportedMediaType) IsRedirect ¶
func (o *LinkCarrierAccountUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this link carrier account unsupported media type response has a 3xx status code
func (*LinkCarrierAccountUnsupportedMediaType) IsServerError ¶
func (o *LinkCarrierAccountUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this link carrier account unsupported media type response has a 5xx status code
func (*LinkCarrierAccountUnsupportedMediaType) IsSuccess ¶
func (o *LinkCarrierAccountUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this link carrier account unsupported media type response has a 2xx status code
func (*LinkCarrierAccountUnsupportedMediaType) String ¶
func (o *LinkCarrierAccountUnsupportedMediaType) String() string
type OneClickShipmentBadRequest ¶
type OneClickShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewOneClickShipmentBadRequest ¶
func NewOneClickShipmentBadRequest() *OneClickShipmentBadRequest
NewOneClickShipmentBadRequest creates a OneClickShipmentBadRequest with default headers values
func (*OneClickShipmentBadRequest) Error ¶
func (o *OneClickShipmentBadRequest) Error() string
func (*OneClickShipmentBadRequest) GetPayload ¶
func (o *OneClickShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentBadRequest) IsClientError ¶
func (o *OneClickShipmentBadRequest) IsClientError() bool
IsClientError returns true when this one click shipment bad request response has a 4xx status code
func (*OneClickShipmentBadRequest) IsCode ¶
func (o *OneClickShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this one click shipment bad request response a status code equal to that given
func (*OneClickShipmentBadRequest) IsRedirect ¶
func (o *OneClickShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this one click shipment bad request response has a 3xx status code
func (*OneClickShipmentBadRequest) IsServerError ¶
func (o *OneClickShipmentBadRequest) IsServerError() bool
IsServerError returns true when this one click shipment bad request response has a 5xx status code
func (*OneClickShipmentBadRequest) IsSuccess ¶
func (o *OneClickShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this one click shipment bad request response has a 2xx status code
func (*OneClickShipmentBadRequest) String ¶
func (o *OneClickShipmentBadRequest) String() string
type OneClickShipmentForbidden ¶
type OneClickShipmentForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewOneClickShipmentForbidden ¶
func NewOneClickShipmentForbidden() *OneClickShipmentForbidden
NewOneClickShipmentForbidden creates a OneClickShipmentForbidden with default headers values
func (*OneClickShipmentForbidden) Error ¶
func (o *OneClickShipmentForbidden) Error() string
func (*OneClickShipmentForbidden) GetPayload ¶
func (o *OneClickShipmentForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentForbidden) IsClientError ¶
func (o *OneClickShipmentForbidden) IsClientError() bool
IsClientError returns true when this one click shipment forbidden response has a 4xx status code
func (*OneClickShipmentForbidden) IsCode ¶
func (o *OneClickShipmentForbidden) IsCode(code int) bool
IsCode returns true when this one click shipment forbidden response a status code equal to that given
func (*OneClickShipmentForbidden) IsRedirect ¶
func (o *OneClickShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this one click shipment forbidden response has a 3xx status code
func (*OneClickShipmentForbidden) IsServerError ¶
func (o *OneClickShipmentForbidden) IsServerError() bool
IsServerError returns true when this one click shipment forbidden response has a 5xx status code
func (*OneClickShipmentForbidden) IsSuccess ¶
func (o *OneClickShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this one click shipment forbidden response has a 2xx status code
func (*OneClickShipmentForbidden) String ¶
func (o *OneClickShipmentForbidden) String() string
type OneClickShipmentInternalServerError ¶
type OneClickShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewOneClickShipmentInternalServerError ¶
func NewOneClickShipmentInternalServerError() *OneClickShipmentInternalServerError
NewOneClickShipmentInternalServerError creates a OneClickShipmentInternalServerError with default headers values
func (*OneClickShipmentInternalServerError) Error ¶
func (o *OneClickShipmentInternalServerError) Error() string
func (*OneClickShipmentInternalServerError) GetPayload ¶
func (o *OneClickShipmentInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentInternalServerError) IsClientError ¶
func (o *OneClickShipmentInternalServerError) IsClientError() bool
IsClientError returns true when this one click shipment internal server error response has a 4xx status code
func (*OneClickShipmentInternalServerError) IsCode ¶
func (o *OneClickShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this one click shipment internal server error response a status code equal to that given
func (*OneClickShipmentInternalServerError) IsRedirect ¶
func (o *OneClickShipmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this one click shipment internal server error response has a 3xx status code
func (*OneClickShipmentInternalServerError) IsServerError ¶
func (o *OneClickShipmentInternalServerError) IsServerError() bool
IsServerError returns true when this one click shipment internal server error response has a 5xx status code
func (*OneClickShipmentInternalServerError) IsSuccess ¶
func (o *OneClickShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this one click shipment internal server error response has a 2xx status code
func (*OneClickShipmentInternalServerError) String ¶
func (o *OneClickShipmentInternalServerError) String() string
type OneClickShipmentNotFound ¶
type OneClickShipmentNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewOneClickShipmentNotFound ¶
func NewOneClickShipmentNotFound() *OneClickShipmentNotFound
NewOneClickShipmentNotFound creates a OneClickShipmentNotFound with default headers values
func (*OneClickShipmentNotFound) Error ¶
func (o *OneClickShipmentNotFound) Error() string
func (*OneClickShipmentNotFound) GetPayload ¶
func (o *OneClickShipmentNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentNotFound) IsClientError ¶
func (o *OneClickShipmentNotFound) IsClientError() bool
IsClientError returns true when this one click shipment not found response has a 4xx status code
func (*OneClickShipmentNotFound) IsCode ¶
func (o *OneClickShipmentNotFound) IsCode(code int) bool
IsCode returns true when this one click shipment not found response a status code equal to that given
func (*OneClickShipmentNotFound) IsRedirect ¶
func (o *OneClickShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this one click shipment not found response has a 3xx status code
func (*OneClickShipmentNotFound) IsServerError ¶
func (o *OneClickShipmentNotFound) IsServerError() bool
IsServerError returns true when this one click shipment not found response has a 5xx status code
func (*OneClickShipmentNotFound) IsSuccess ¶
func (o *OneClickShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this one click shipment not found response has a 2xx status code
func (*OneClickShipmentNotFound) String ¶
func (o *OneClickShipmentNotFound) String() string
type OneClickShipmentOK ¶
type OneClickShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.OneClickShipmentResponse }
OneClickShipmentOK describes a response with status code 200, with default header values.
Success.
func NewOneClickShipmentOK ¶
func NewOneClickShipmentOK() *OneClickShipmentOK
NewOneClickShipmentOK creates a OneClickShipmentOK with default headers values
func (*OneClickShipmentOK) Error ¶
func (o *OneClickShipmentOK) Error() string
func (*OneClickShipmentOK) GetPayload ¶
func (o *OneClickShipmentOK) GetPayload() *shipping_v2_models.OneClickShipmentResponse
func (*OneClickShipmentOK) IsClientError ¶
func (o *OneClickShipmentOK) IsClientError() bool
IsClientError returns true when this one click shipment o k response has a 4xx status code
func (*OneClickShipmentOK) IsCode ¶
func (o *OneClickShipmentOK) IsCode(code int) bool
IsCode returns true when this one click shipment o k response a status code equal to that given
func (*OneClickShipmentOK) IsRedirect ¶
func (o *OneClickShipmentOK) IsRedirect() bool
IsRedirect returns true when this one click shipment o k response has a 3xx status code
func (*OneClickShipmentOK) IsServerError ¶
func (o *OneClickShipmentOK) IsServerError() bool
IsServerError returns true when this one click shipment o k response has a 5xx status code
func (*OneClickShipmentOK) IsSuccess ¶
func (o *OneClickShipmentOK) IsSuccess() bool
IsSuccess returns true when this one click shipment o k response has a 2xx status code
func (*OneClickShipmentOK) String ¶
func (o *OneClickShipmentOK) String() string
type OneClickShipmentParams ¶
type OneClickShipmentParams struct { // Body. Body *shipping_v2_models.OneClickShipmentRequest /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OneClickShipmentParams contains all the parameters to send to the API endpoint
for the one click shipment operation. Typically these are written to a http.Request.
func NewOneClickShipmentParams ¶
func NewOneClickShipmentParams() *OneClickShipmentParams
NewOneClickShipmentParams creates a new OneClickShipmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewOneClickShipmentParamsWithContext ¶
func NewOneClickShipmentParamsWithContext(ctx context.Context) *OneClickShipmentParams
NewOneClickShipmentParamsWithContext creates a new OneClickShipmentParams object with the ability to set a context for a request.
func NewOneClickShipmentParamsWithHTTPClient ¶
func NewOneClickShipmentParamsWithHTTPClient(client *http.Client) *OneClickShipmentParams
NewOneClickShipmentParamsWithHTTPClient creates a new OneClickShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewOneClickShipmentParamsWithTimeout ¶
func NewOneClickShipmentParamsWithTimeout(timeout time.Duration) *OneClickShipmentParams
NewOneClickShipmentParamsWithTimeout creates a new OneClickShipmentParams object with the ability to set a timeout on a request.
func (*OneClickShipmentParams) SetBody ¶
func (o *OneClickShipmentParams) SetBody(body *shipping_v2_models.OneClickShipmentRequest)
SetBody adds the body to the one click shipment params
func (*OneClickShipmentParams) SetContext ¶
func (o *OneClickShipmentParams) SetContext(ctx context.Context)
SetContext adds the context to the one click shipment params
func (*OneClickShipmentParams) SetDefaults ¶
func (o *OneClickShipmentParams) SetDefaults()
SetDefaults hydrates default values in the one click shipment params (not the query body).
All values with no default are reset to their zero value.
func (*OneClickShipmentParams) SetHTTPClient ¶
func (o *OneClickShipmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the one click shipment params
func (*OneClickShipmentParams) SetTimeout ¶
func (o *OneClickShipmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the one click shipment params
func (*OneClickShipmentParams) SetXAmznShippingBusinessID ¶
func (o *OneClickShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the one click shipment params
func (*OneClickShipmentParams) WithBody ¶
func (o *OneClickShipmentParams) WithBody(body *shipping_v2_models.OneClickShipmentRequest) *OneClickShipmentParams
WithBody adds the body to the one click shipment params
func (*OneClickShipmentParams) WithContext ¶
func (o *OneClickShipmentParams) WithContext(ctx context.Context) *OneClickShipmentParams
WithContext adds the context to the one click shipment params
func (*OneClickShipmentParams) WithDefaults ¶
func (o *OneClickShipmentParams) WithDefaults() *OneClickShipmentParams
WithDefaults hydrates default values in the one click shipment params (not the query body).
All values with no default are reset to their zero value.
func (*OneClickShipmentParams) WithHTTPClient ¶
func (o *OneClickShipmentParams) WithHTTPClient(client *http.Client) *OneClickShipmentParams
WithHTTPClient adds the HTTPClient to the one click shipment params
func (*OneClickShipmentParams) WithTimeout ¶
func (o *OneClickShipmentParams) WithTimeout(timeout time.Duration) *OneClickShipmentParams
WithTimeout adds the timeout to the one click shipment params
func (*OneClickShipmentParams) WithXAmznShippingBusinessID ¶
func (o *OneClickShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *OneClickShipmentParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the one click shipment params
func (*OneClickShipmentParams) WriteToRequest ¶
func (o *OneClickShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OneClickShipmentReader ¶
type OneClickShipmentReader struct {
// contains filtered or unexported fields
}
OneClickShipmentReader is a Reader for the OneClickShipment structure.
func (*OneClickShipmentReader) ReadResponse ¶
func (o *OneClickShipmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OneClickShipmentRequestEntityTooLarge ¶
type OneClickShipmentRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewOneClickShipmentRequestEntityTooLarge ¶
func NewOneClickShipmentRequestEntityTooLarge() *OneClickShipmentRequestEntityTooLarge
NewOneClickShipmentRequestEntityTooLarge creates a OneClickShipmentRequestEntityTooLarge with default headers values
func (*OneClickShipmentRequestEntityTooLarge) Error ¶
func (o *OneClickShipmentRequestEntityTooLarge) Error() string
func (*OneClickShipmentRequestEntityTooLarge) GetPayload ¶
func (o *OneClickShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentRequestEntityTooLarge) IsClientError ¶
func (o *OneClickShipmentRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this one click shipment request entity too large response has a 4xx status code
func (*OneClickShipmentRequestEntityTooLarge) IsCode ¶
func (o *OneClickShipmentRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this one click shipment request entity too large response a status code equal to that given
func (*OneClickShipmentRequestEntityTooLarge) IsRedirect ¶
func (o *OneClickShipmentRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this one click shipment request entity too large response has a 3xx status code
func (*OneClickShipmentRequestEntityTooLarge) IsServerError ¶
func (o *OneClickShipmentRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this one click shipment request entity too large response has a 5xx status code
func (*OneClickShipmentRequestEntityTooLarge) IsSuccess ¶
func (o *OneClickShipmentRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this one click shipment request entity too large response has a 2xx status code
func (*OneClickShipmentRequestEntityTooLarge) String ¶
func (o *OneClickShipmentRequestEntityTooLarge) String() string
type OneClickShipmentServiceUnavailable ¶
OneClickShipmentServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewOneClickShipmentServiceUnavailable ¶
func NewOneClickShipmentServiceUnavailable() *OneClickShipmentServiceUnavailable
NewOneClickShipmentServiceUnavailable creates a OneClickShipmentServiceUnavailable with default headers values
func (*OneClickShipmentServiceUnavailable) Error ¶
func (o *OneClickShipmentServiceUnavailable) Error() string
func (*OneClickShipmentServiceUnavailable) GetPayload ¶
func (o *OneClickShipmentServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentServiceUnavailable) IsClientError ¶
func (o *OneClickShipmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this one click shipment service unavailable response has a 4xx status code
func (*OneClickShipmentServiceUnavailable) IsCode ¶
func (o *OneClickShipmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this one click shipment service unavailable response a status code equal to that given
func (*OneClickShipmentServiceUnavailable) IsRedirect ¶
func (o *OneClickShipmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this one click shipment service unavailable response has a 3xx status code
func (*OneClickShipmentServiceUnavailable) IsServerError ¶
func (o *OneClickShipmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this one click shipment service unavailable response has a 5xx status code
func (*OneClickShipmentServiceUnavailable) IsSuccess ¶
func (o *OneClickShipmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this one click shipment service unavailable response has a 2xx status code
func (*OneClickShipmentServiceUnavailable) String ¶
func (o *OneClickShipmentServiceUnavailable) String() string
type OneClickShipmentTooManyRequests ¶
type OneClickShipmentTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewOneClickShipmentTooManyRequests ¶
func NewOneClickShipmentTooManyRequests() *OneClickShipmentTooManyRequests
NewOneClickShipmentTooManyRequests creates a OneClickShipmentTooManyRequests with default headers values
func (*OneClickShipmentTooManyRequests) Error ¶
func (o *OneClickShipmentTooManyRequests) Error() string
func (*OneClickShipmentTooManyRequests) GetPayload ¶
func (o *OneClickShipmentTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentTooManyRequests) IsClientError ¶
func (o *OneClickShipmentTooManyRequests) IsClientError() bool
IsClientError returns true when this one click shipment too many requests response has a 4xx status code
func (*OneClickShipmentTooManyRequests) IsCode ¶
func (o *OneClickShipmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this one click shipment too many requests response a status code equal to that given
func (*OneClickShipmentTooManyRequests) IsRedirect ¶
func (o *OneClickShipmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this one click shipment too many requests response has a 3xx status code
func (*OneClickShipmentTooManyRequests) IsServerError ¶
func (o *OneClickShipmentTooManyRequests) IsServerError() bool
IsServerError returns true when this one click shipment too many requests response has a 5xx status code
func (*OneClickShipmentTooManyRequests) IsSuccess ¶
func (o *OneClickShipmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this one click shipment too many requests response has a 2xx status code
func (*OneClickShipmentTooManyRequests) String ¶
func (o *OneClickShipmentTooManyRequests) String() string
type OneClickShipmentUnauthorized ¶
OneClickShipmentUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewOneClickShipmentUnauthorized ¶
func NewOneClickShipmentUnauthorized() *OneClickShipmentUnauthorized
NewOneClickShipmentUnauthorized creates a OneClickShipmentUnauthorized with default headers values
func (*OneClickShipmentUnauthorized) Error ¶
func (o *OneClickShipmentUnauthorized) Error() string
func (*OneClickShipmentUnauthorized) GetPayload ¶
func (o *OneClickShipmentUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentUnauthorized) IsClientError ¶
func (o *OneClickShipmentUnauthorized) IsClientError() bool
IsClientError returns true when this one click shipment unauthorized response has a 4xx status code
func (*OneClickShipmentUnauthorized) IsCode ¶
func (o *OneClickShipmentUnauthorized) IsCode(code int) bool
IsCode returns true when this one click shipment unauthorized response a status code equal to that given
func (*OneClickShipmentUnauthorized) IsRedirect ¶
func (o *OneClickShipmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this one click shipment unauthorized response has a 3xx status code
func (*OneClickShipmentUnauthorized) IsServerError ¶
func (o *OneClickShipmentUnauthorized) IsServerError() bool
IsServerError returns true when this one click shipment unauthorized response has a 5xx status code
func (*OneClickShipmentUnauthorized) IsSuccess ¶
func (o *OneClickShipmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this one click shipment unauthorized response has a 2xx status code
func (*OneClickShipmentUnauthorized) String ¶
func (o *OneClickShipmentUnauthorized) String() string
type OneClickShipmentUnsupportedMediaType ¶
type OneClickShipmentUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
OneClickShipmentUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewOneClickShipmentUnsupportedMediaType ¶
func NewOneClickShipmentUnsupportedMediaType() *OneClickShipmentUnsupportedMediaType
NewOneClickShipmentUnsupportedMediaType creates a OneClickShipmentUnsupportedMediaType with default headers values
func (*OneClickShipmentUnsupportedMediaType) Error ¶
func (o *OneClickShipmentUnsupportedMediaType) Error() string
func (*OneClickShipmentUnsupportedMediaType) GetPayload ¶
func (o *OneClickShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*OneClickShipmentUnsupportedMediaType) IsClientError ¶
func (o *OneClickShipmentUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this one click shipment unsupported media type response has a 4xx status code
func (*OneClickShipmentUnsupportedMediaType) IsCode ¶
func (o *OneClickShipmentUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this one click shipment unsupported media type response a status code equal to that given
func (*OneClickShipmentUnsupportedMediaType) IsRedirect ¶
func (o *OneClickShipmentUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this one click shipment unsupported media type response has a 3xx status code
func (*OneClickShipmentUnsupportedMediaType) IsServerError ¶
func (o *OneClickShipmentUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this one click shipment unsupported media type response has a 5xx status code
func (*OneClickShipmentUnsupportedMediaType) IsSuccess ¶
func (o *OneClickShipmentUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this one click shipment unsupported media type response has a 2xx status code
func (*OneClickShipmentUnsupportedMediaType) String ¶
func (o *OneClickShipmentUnsupportedMediaType) String() string
type PurchaseShipmentBadRequest ¶
type PurchaseShipmentBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewPurchaseShipmentBadRequest ¶
func NewPurchaseShipmentBadRequest() *PurchaseShipmentBadRequest
NewPurchaseShipmentBadRequest creates a PurchaseShipmentBadRequest with default headers values
func (*PurchaseShipmentBadRequest) Error ¶
func (o *PurchaseShipmentBadRequest) Error() string
func (*PurchaseShipmentBadRequest) GetPayload ¶
func (o *PurchaseShipmentBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*PurchaseShipmentBadRequest) IsClientError ¶
func (o *PurchaseShipmentBadRequest) IsClientError() bool
IsClientError returns true when this purchase shipment bad request response has a 4xx status code
func (*PurchaseShipmentBadRequest) IsCode ¶
func (o *PurchaseShipmentBadRequest) IsCode(code int) bool
IsCode returns true when this purchase shipment bad request response a status code equal to that given
func (*PurchaseShipmentBadRequest) IsRedirect ¶
func (o *PurchaseShipmentBadRequest) IsRedirect() bool
IsRedirect returns true when this purchase shipment bad request response has a 3xx status code
func (*PurchaseShipmentBadRequest) IsServerError ¶
func (o *PurchaseShipmentBadRequest) IsServerError() bool
IsServerError returns true when this purchase shipment bad request response has a 5xx status code
func (*PurchaseShipmentBadRequest) IsSuccess ¶
func (o *PurchaseShipmentBadRequest) IsSuccess() bool
IsSuccess returns true when this purchase shipment bad request response has a 2xx status code
func (*PurchaseShipmentBadRequest) String ¶
func (o *PurchaseShipmentBadRequest) String() string
type PurchaseShipmentForbidden ¶
type PurchaseShipmentForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewPurchaseShipmentForbidden ¶
func NewPurchaseShipmentForbidden() *PurchaseShipmentForbidden
NewPurchaseShipmentForbidden creates a PurchaseShipmentForbidden with default headers values
func (*PurchaseShipmentForbidden) Error ¶
func (o *PurchaseShipmentForbidden) Error() string
func (*PurchaseShipmentForbidden) GetPayload ¶
func (o *PurchaseShipmentForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*PurchaseShipmentForbidden) IsClientError ¶
func (o *PurchaseShipmentForbidden) IsClientError() bool
IsClientError returns true when this purchase shipment forbidden response has a 4xx status code
func (*PurchaseShipmentForbidden) IsCode ¶
func (o *PurchaseShipmentForbidden) IsCode(code int) bool
IsCode returns true when this purchase shipment forbidden response a status code equal to that given
func (*PurchaseShipmentForbidden) IsRedirect ¶
func (o *PurchaseShipmentForbidden) IsRedirect() bool
IsRedirect returns true when this purchase shipment forbidden response has a 3xx status code
func (*PurchaseShipmentForbidden) IsServerError ¶
func (o *PurchaseShipmentForbidden) IsServerError() bool
IsServerError returns true when this purchase shipment forbidden response has a 5xx status code
func (*PurchaseShipmentForbidden) IsSuccess ¶
func (o *PurchaseShipmentForbidden) IsSuccess() bool
IsSuccess returns true when this purchase shipment forbidden response has a 2xx status code
func (*PurchaseShipmentForbidden) String ¶
func (o *PurchaseShipmentForbidden) String() string
type PurchaseShipmentInternalServerError ¶
type PurchaseShipmentInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewPurchaseShipmentInternalServerError ¶
func NewPurchaseShipmentInternalServerError() *PurchaseShipmentInternalServerError
NewPurchaseShipmentInternalServerError creates a PurchaseShipmentInternalServerError with default headers values
func (*PurchaseShipmentInternalServerError) Error ¶
func (o *PurchaseShipmentInternalServerError) Error() string
func (*PurchaseShipmentInternalServerError) GetPayload ¶
func (o *PurchaseShipmentInternalServerError) GetPayload() *shipping_v2_models.ErrorList
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 identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewPurchaseShipmentNotFound ¶
func NewPurchaseShipmentNotFound() *PurchaseShipmentNotFound
NewPurchaseShipmentNotFound creates a PurchaseShipmentNotFound with default headers values
func (*PurchaseShipmentNotFound) Error ¶
func (o *PurchaseShipmentNotFound) Error() string
func (*PurchaseShipmentNotFound) GetPayload ¶
func (o *PurchaseShipmentNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*PurchaseShipmentNotFound) IsClientError ¶
func (o *PurchaseShipmentNotFound) IsClientError() bool
IsClientError returns true when this purchase shipment not found response has a 4xx status code
func (*PurchaseShipmentNotFound) IsCode ¶
func (o *PurchaseShipmentNotFound) IsCode(code int) bool
IsCode returns true when this purchase shipment not found response a status code equal to that given
func (*PurchaseShipmentNotFound) IsRedirect ¶
func (o *PurchaseShipmentNotFound) IsRedirect() bool
IsRedirect returns true when this purchase shipment not found response has a 3xx status code
func (*PurchaseShipmentNotFound) IsServerError ¶
func (o *PurchaseShipmentNotFound) IsServerError() bool
IsServerError returns true when this purchase shipment not found response has a 5xx status code
func (*PurchaseShipmentNotFound) IsSuccess ¶
func (o *PurchaseShipmentNotFound) IsSuccess() bool
IsSuccess returns true when this purchase shipment not found response has a 2xx status code
func (*PurchaseShipmentNotFound) String ¶
func (o *PurchaseShipmentNotFound) String() string
type PurchaseShipmentOK ¶
type PurchaseShipmentOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.PurchaseShipmentResponse }
PurchaseShipmentOK describes a response with status code 200, with default header values.
Success.
func NewPurchaseShipmentOK ¶
func NewPurchaseShipmentOK() *PurchaseShipmentOK
NewPurchaseShipmentOK creates a PurchaseShipmentOK with default headers values
func (*PurchaseShipmentOK) Error ¶
func (o *PurchaseShipmentOK) Error() string
func (*PurchaseShipmentOK) GetPayload ¶
func (o *PurchaseShipmentOK) GetPayload() *shipping_v2_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_v2_models.PurchaseShipmentRequest /* XAmznIdempotencyKey. A unique value which the server uses to recognize subsequent retries of the same request. */ XAmznIdempotencyKey *string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseShipmentParams contains all the parameters to send to the API endpoint
for the purchase shipment operation. Typically these are written to a http.Request.
func NewPurchaseShipmentParams ¶
func NewPurchaseShipmentParams() *PurchaseShipmentParams
NewPurchaseShipmentParams creates a new PurchaseShipmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPurchaseShipmentParamsWithContext ¶
func NewPurchaseShipmentParamsWithContext(ctx context.Context) *PurchaseShipmentParams
NewPurchaseShipmentParamsWithContext creates a new PurchaseShipmentParams object with the ability to set a context for a request.
func NewPurchaseShipmentParamsWithHTTPClient ¶
func NewPurchaseShipmentParamsWithHTTPClient(client *http.Client) *PurchaseShipmentParams
NewPurchaseShipmentParamsWithHTTPClient creates a new PurchaseShipmentParams object with the ability to set a custom HTTPClient for a request.
func NewPurchaseShipmentParamsWithTimeout ¶
func NewPurchaseShipmentParamsWithTimeout(timeout time.Duration) *PurchaseShipmentParams
NewPurchaseShipmentParamsWithTimeout creates a new PurchaseShipmentParams object with the ability to set a timeout on a request.
func (*PurchaseShipmentParams) SetBody ¶
func (o *PurchaseShipmentParams) SetBody(body *shipping_v2_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) SetXAmznIdempotencyKey ¶
func (o *PurchaseShipmentParams) SetXAmznIdempotencyKey(xAmznIdempotencyKey *string)
SetXAmznIdempotencyKey adds the xAmznIdempotencyKey to the purchase shipment params
func (*PurchaseShipmentParams) SetXAmznShippingBusinessID ¶
func (o *PurchaseShipmentParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the purchase shipment params
func (*PurchaseShipmentParams) WithBody ¶
func (o *PurchaseShipmentParams) WithBody(body *shipping_v2_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) WithXAmznIdempotencyKey ¶
func (o *PurchaseShipmentParams) WithXAmznIdempotencyKey(xAmznIdempotencyKey *string) *PurchaseShipmentParams
WithXAmznIdempotencyKey adds the xAmznIdempotencyKey to the purchase shipment params
func (*PurchaseShipmentParams) WithXAmznShippingBusinessID ¶
func (o *PurchaseShipmentParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *PurchaseShipmentParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the purchase shipment params
func (*PurchaseShipmentParams) WriteToRequest ¶
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 PurchaseShipmentRequestEntityTooLarge ¶
type PurchaseShipmentRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewPurchaseShipmentRequestEntityTooLarge ¶
func NewPurchaseShipmentRequestEntityTooLarge() *PurchaseShipmentRequestEntityTooLarge
NewPurchaseShipmentRequestEntityTooLarge creates a PurchaseShipmentRequestEntityTooLarge with default headers values
func (*PurchaseShipmentRequestEntityTooLarge) Error ¶
func (o *PurchaseShipmentRequestEntityTooLarge) Error() string
func (*PurchaseShipmentRequestEntityTooLarge) GetPayload ¶
func (o *PurchaseShipmentRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*PurchaseShipmentRequestEntityTooLarge) IsClientError ¶
func (o *PurchaseShipmentRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this purchase shipment request entity too large response has a 4xx status code
func (*PurchaseShipmentRequestEntityTooLarge) IsCode ¶
func (o *PurchaseShipmentRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this purchase shipment request entity too large response a status code equal to that given
func (*PurchaseShipmentRequestEntityTooLarge) IsRedirect ¶
func (o *PurchaseShipmentRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this purchase shipment request entity too large response has a 3xx status code
func (*PurchaseShipmentRequestEntityTooLarge) IsServerError ¶
func (o *PurchaseShipmentRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this purchase shipment request entity too large response has a 5xx status code
func (*PurchaseShipmentRequestEntityTooLarge) IsSuccess ¶
func (o *PurchaseShipmentRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this purchase shipment request entity too large response has a 2xx status code
func (*PurchaseShipmentRequestEntityTooLarge) String ¶
func (o *PurchaseShipmentRequestEntityTooLarge) String() string
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_v2_models.ErrorList
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 identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewPurchaseShipmentTooManyRequests ¶
func NewPurchaseShipmentTooManyRequests() *PurchaseShipmentTooManyRequests
NewPurchaseShipmentTooManyRequests creates a PurchaseShipmentTooManyRequests with default headers values
func (*PurchaseShipmentTooManyRequests) Error ¶
func (o *PurchaseShipmentTooManyRequests) Error() string
func (*PurchaseShipmentTooManyRequests) GetPayload ¶
func (o *PurchaseShipmentTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
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_v2_models.ErrorList
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 PurchaseShipmentUnsupportedMediaType ¶
type PurchaseShipmentUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
PurchaseShipmentUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewPurchaseShipmentUnsupportedMediaType ¶
func NewPurchaseShipmentUnsupportedMediaType() *PurchaseShipmentUnsupportedMediaType
NewPurchaseShipmentUnsupportedMediaType creates a PurchaseShipmentUnsupportedMediaType with default headers values
func (*PurchaseShipmentUnsupportedMediaType) Error ¶
func (o *PurchaseShipmentUnsupportedMediaType) Error() string
func (*PurchaseShipmentUnsupportedMediaType) GetPayload ¶
func (o *PurchaseShipmentUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*PurchaseShipmentUnsupportedMediaType) IsClientError ¶
func (o *PurchaseShipmentUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this purchase shipment unsupported media type response has a 4xx status code
func (*PurchaseShipmentUnsupportedMediaType) IsCode ¶
func (o *PurchaseShipmentUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this purchase shipment unsupported media type response a status code equal to that given
func (*PurchaseShipmentUnsupportedMediaType) IsRedirect ¶
func (o *PurchaseShipmentUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this purchase shipment unsupported media type response has a 3xx status code
func (*PurchaseShipmentUnsupportedMediaType) IsServerError ¶
func (o *PurchaseShipmentUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this purchase shipment unsupported media type response has a 5xx status code
func (*PurchaseShipmentUnsupportedMediaType) IsSuccess ¶
func (o *PurchaseShipmentUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this purchase shipment unsupported media type response has a 2xx status code
func (*PurchaseShipmentUnsupportedMediaType) String ¶
func (o *PurchaseShipmentUnsupportedMediaType) String() string
type UnlinkCarrierAccountBadRequest ¶
type UnlinkCarrierAccountBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewUnlinkCarrierAccountBadRequest ¶
func NewUnlinkCarrierAccountBadRequest() *UnlinkCarrierAccountBadRequest
NewUnlinkCarrierAccountBadRequest creates a UnlinkCarrierAccountBadRequest with default headers values
func (*UnlinkCarrierAccountBadRequest) Error ¶
func (o *UnlinkCarrierAccountBadRequest) Error() string
func (*UnlinkCarrierAccountBadRequest) GetPayload ¶
func (o *UnlinkCarrierAccountBadRequest) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountBadRequest) IsClientError ¶
func (o *UnlinkCarrierAccountBadRequest) IsClientError() bool
IsClientError returns true when this unlink carrier account bad request response has a 4xx status code
func (*UnlinkCarrierAccountBadRequest) IsCode ¶
func (o *UnlinkCarrierAccountBadRequest) IsCode(code int) bool
IsCode returns true when this unlink carrier account bad request response a status code equal to that given
func (*UnlinkCarrierAccountBadRequest) IsRedirect ¶
func (o *UnlinkCarrierAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this unlink carrier account bad request response has a 3xx status code
func (*UnlinkCarrierAccountBadRequest) IsServerError ¶
func (o *UnlinkCarrierAccountBadRequest) IsServerError() bool
IsServerError returns true when this unlink carrier account bad request response has a 5xx status code
func (*UnlinkCarrierAccountBadRequest) IsSuccess ¶
func (o *UnlinkCarrierAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this unlink carrier account bad request response has a 2xx status code
func (*UnlinkCarrierAccountBadRequest) String ¶
func (o *UnlinkCarrierAccountBadRequest) String() string
type UnlinkCarrierAccountForbidden ¶
type UnlinkCarrierAccountForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewUnlinkCarrierAccountForbidden ¶
func NewUnlinkCarrierAccountForbidden() *UnlinkCarrierAccountForbidden
NewUnlinkCarrierAccountForbidden creates a UnlinkCarrierAccountForbidden with default headers values
func (*UnlinkCarrierAccountForbidden) Error ¶
func (o *UnlinkCarrierAccountForbidden) Error() string
func (*UnlinkCarrierAccountForbidden) GetPayload ¶
func (o *UnlinkCarrierAccountForbidden) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountForbidden) IsClientError ¶
func (o *UnlinkCarrierAccountForbidden) IsClientError() bool
IsClientError returns true when this unlink carrier account forbidden response has a 4xx status code
func (*UnlinkCarrierAccountForbidden) IsCode ¶
func (o *UnlinkCarrierAccountForbidden) IsCode(code int) bool
IsCode returns true when this unlink carrier account forbidden response a status code equal to that given
func (*UnlinkCarrierAccountForbidden) IsRedirect ¶
func (o *UnlinkCarrierAccountForbidden) IsRedirect() bool
IsRedirect returns true when this unlink carrier account forbidden response has a 3xx status code
func (*UnlinkCarrierAccountForbidden) IsServerError ¶
func (o *UnlinkCarrierAccountForbidden) IsServerError() bool
IsServerError returns true when this unlink carrier account forbidden response has a 5xx status code
func (*UnlinkCarrierAccountForbidden) IsSuccess ¶
func (o *UnlinkCarrierAccountForbidden) IsSuccess() bool
IsSuccess returns true when this unlink carrier account forbidden response has a 2xx status code
func (*UnlinkCarrierAccountForbidden) String ¶
func (o *UnlinkCarrierAccountForbidden) String() string
type UnlinkCarrierAccountInternalServerError ¶
type UnlinkCarrierAccountInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewUnlinkCarrierAccountInternalServerError ¶
func NewUnlinkCarrierAccountInternalServerError() *UnlinkCarrierAccountInternalServerError
NewUnlinkCarrierAccountInternalServerError creates a UnlinkCarrierAccountInternalServerError with default headers values
func (*UnlinkCarrierAccountInternalServerError) Error ¶
func (o *UnlinkCarrierAccountInternalServerError) Error() string
func (*UnlinkCarrierAccountInternalServerError) GetPayload ¶
func (o *UnlinkCarrierAccountInternalServerError) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountInternalServerError) IsClientError ¶
func (o *UnlinkCarrierAccountInternalServerError) IsClientError() bool
IsClientError returns true when this unlink carrier account internal server error response has a 4xx status code
func (*UnlinkCarrierAccountInternalServerError) IsCode ¶
func (o *UnlinkCarrierAccountInternalServerError) IsCode(code int) bool
IsCode returns true when this unlink carrier account internal server error response a status code equal to that given
func (*UnlinkCarrierAccountInternalServerError) IsRedirect ¶
func (o *UnlinkCarrierAccountInternalServerError) IsRedirect() bool
IsRedirect returns true when this unlink carrier account internal server error response has a 3xx status code
func (*UnlinkCarrierAccountInternalServerError) IsServerError ¶
func (o *UnlinkCarrierAccountInternalServerError) IsServerError() bool
IsServerError returns true when this unlink carrier account internal server error response has a 5xx status code
func (*UnlinkCarrierAccountInternalServerError) IsSuccess ¶
func (o *UnlinkCarrierAccountInternalServerError) IsSuccess() bool
IsSuccess returns true when this unlink carrier account internal server error response has a 2xx status code
func (*UnlinkCarrierAccountInternalServerError) String ¶
func (o *UnlinkCarrierAccountInternalServerError) String() string
type UnlinkCarrierAccountNotFound ¶
type UnlinkCarrierAccountNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewUnlinkCarrierAccountNotFound ¶
func NewUnlinkCarrierAccountNotFound() *UnlinkCarrierAccountNotFound
NewUnlinkCarrierAccountNotFound creates a UnlinkCarrierAccountNotFound with default headers values
func (*UnlinkCarrierAccountNotFound) Error ¶
func (o *UnlinkCarrierAccountNotFound) Error() string
func (*UnlinkCarrierAccountNotFound) GetPayload ¶
func (o *UnlinkCarrierAccountNotFound) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountNotFound) IsClientError ¶
func (o *UnlinkCarrierAccountNotFound) IsClientError() bool
IsClientError returns true when this unlink carrier account not found response has a 4xx status code
func (*UnlinkCarrierAccountNotFound) IsCode ¶
func (o *UnlinkCarrierAccountNotFound) IsCode(code int) bool
IsCode returns true when this unlink carrier account not found response a status code equal to that given
func (*UnlinkCarrierAccountNotFound) IsRedirect ¶
func (o *UnlinkCarrierAccountNotFound) IsRedirect() bool
IsRedirect returns true when this unlink carrier account not found response has a 3xx status code
func (*UnlinkCarrierAccountNotFound) IsServerError ¶
func (o *UnlinkCarrierAccountNotFound) IsServerError() bool
IsServerError returns true when this unlink carrier account not found response has a 5xx status code
func (*UnlinkCarrierAccountNotFound) IsSuccess ¶
func (o *UnlinkCarrierAccountNotFound) IsSuccess() bool
IsSuccess returns true when this unlink carrier account not found response has a 2xx status code
func (*UnlinkCarrierAccountNotFound) String ¶
func (o *UnlinkCarrierAccountNotFound) String() string
type UnlinkCarrierAccountOK ¶
type UnlinkCarrierAccountOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.UnlinkCarrierAccountResponse }
UnlinkCarrierAccountOK describes a response with status code 200, with default header values.
Success.
func NewUnlinkCarrierAccountOK ¶
func NewUnlinkCarrierAccountOK() *UnlinkCarrierAccountOK
NewUnlinkCarrierAccountOK creates a UnlinkCarrierAccountOK with default headers values
func (*UnlinkCarrierAccountOK) Error ¶
func (o *UnlinkCarrierAccountOK) Error() string
func (*UnlinkCarrierAccountOK) GetPayload ¶
func (o *UnlinkCarrierAccountOK) GetPayload() *shipping_v2_models.UnlinkCarrierAccountResponse
func (*UnlinkCarrierAccountOK) IsClientError ¶
func (o *UnlinkCarrierAccountOK) IsClientError() bool
IsClientError returns true when this unlink carrier account o k response has a 4xx status code
func (*UnlinkCarrierAccountOK) IsCode ¶
func (o *UnlinkCarrierAccountOK) IsCode(code int) bool
IsCode returns true when this unlink carrier account o k response a status code equal to that given
func (*UnlinkCarrierAccountOK) IsRedirect ¶
func (o *UnlinkCarrierAccountOK) IsRedirect() bool
IsRedirect returns true when this unlink carrier account o k response has a 3xx status code
func (*UnlinkCarrierAccountOK) IsServerError ¶
func (o *UnlinkCarrierAccountOK) IsServerError() bool
IsServerError returns true when this unlink carrier account o k response has a 5xx status code
func (*UnlinkCarrierAccountOK) IsSuccess ¶
func (o *UnlinkCarrierAccountOK) IsSuccess() bool
IsSuccess returns true when this unlink carrier account o k response has a 2xx status code
func (*UnlinkCarrierAccountOK) String ¶
func (o *UnlinkCarrierAccountOK) String() string
type UnlinkCarrierAccountParams ¶
type UnlinkCarrierAccountParams struct { // Body. Body *shipping_v2_models.UnlinkCarrierAccountRequest /* CarrierID. carrier Id to unlink with merchant. */ CarrierID string /* XAmznShippingBusinessID. Amazon shipping business to assume for this request. The default is AmazonShipping_UK. */ XAmznShippingBusinessID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnlinkCarrierAccountParams contains all the parameters to send to the API endpoint
for the unlink carrier account operation. Typically these are written to a http.Request.
func NewUnlinkCarrierAccountParams ¶
func NewUnlinkCarrierAccountParams() *UnlinkCarrierAccountParams
NewUnlinkCarrierAccountParams creates a new UnlinkCarrierAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUnlinkCarrierAccountParamsWithContext ¶
func NewUnlinkCarrierAccountParamsWithContext(ctx context.Context) *UnlinkCarrierAccountParams
NewUnlinkCarrierAccountParamsWithContext creates a new UnlinkCarrierAccountParams object with the ability to set a context for a request.
func NewUnlinkCarrierAccountParamsWithHTTPClient ¶
func NewUnlinkCarrierAccountParamsWithHTTPClient(client *http.Client) *UnlinkCarrierAccountParams
NewUnlinkCarrierAccountParamsWithHTTPClient creates a new UnlinkCarrierAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUnlinkCarrierAccountParamsWithTimeout ¶
func NewUnlinkCarrierAccountParamsWithTimeout(timeout time.Duration) *UnlinkCarrierAccountParams
NewUnlinkCarrierAccountParamsWithTimeout creates a new UnlinkCarrierAccountParams object with the ability to set a timeout on a request.
func (*UnlinkCarrierAccountParams) SetBody ¶
func (o *UnlinkCarrierAccountParams) SetBody(body *shipping_v2_models.UnlinkCarrierAccountRequest)
SetBody adds the body to the unlink carrier account params
func (*UnlinkCarrierAccountParams) SetCarrierID ¶
func (o *UnlinkCarrierAccountParams) SetCarrierID(carrierID string)
SetCarrierID adds the carrierId to the unlink carrier account params
func (*UnlinkCarrierAccountParams) SetContext ¶
func (o *UnlinkCarrierAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the unlink carrier account params
func (*UnlinkCarrierAccountParams) SetDefaults ¶
func (o *UnlinkCarrierAccountParams) SetDefaults()
SetDefaults hydrates default values in the unlink carrier account params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkCarrierAccountParams) SetHTTPClient ¶
func (o *UnlinkCarrierAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unlink carrier account params
func (*UnlinkCarrierAccountParams) SetTimeout ¶
func (o *UnlinkCarrierAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unlink carrier account params
func (*UnlinkCarrierAccountParams) SetXAmznShippingBusinessID ¶
func (o *UnlinkCarrierAccountParams) SetXAmznShippingBusinessID(xAmznShippingBusinessID *string)
SetXAmznShippingBusinessID adds the xAmznShippingBusinessId to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WithBody ¶
func (o *UnlinkCarrierAccountParams) WithBody(body *shipping_v2_models.UnlinkCarrierAccountRequest) *UnlinkCarrierAccountParams
WithBody adds the body to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WithCarrierID ¶
func (o *UnlinkCarrierAccountParams) WithCarrierID(carrierID string) *UnlinkCarrierAccountParams
WithCarrierID adds the carrierID to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WithContext ¶
func (o *UnlinkCarrierAccountParams) WithContext(ctx context.Context) *UnlinkCarrierAccountParams
WithContext adds the context to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WithDefaults ¶
func (o *UnlinkCarrierAccountParams) WithDefaults() *UnlinkCarrierAccountParams
WithDefaults hydrates default values in the unlink carrier account params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkCarrierAccountParams) WithHTTPClient ¶
func (o *UnlinkCarrierAccountParams) WithHTTPClient(client *http.Client) *UnlinkCarrierAccountParams
WithHTTPClient adds the HTTPClient to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WithTimeout ¶
func (o *UnlinkCarrierAccountParams) WithTimeout(timeout time.Duration) *UnlinkCarrierAccountParams
WithTimeout adds the timeout to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WithXAmznShippingBusinessID ¶
func (o *UnlinkCarrierAccountParams) WithXAmznShippingBusinessID(xAmznShippingBusinessID *string) *UnlinkCarrierAccountParams
WithXAmznShippingBusinessID adds the xAmznShippingBusinessID to the unlink carrier account params
func (*UnlinkCarrierAccountParams) WriteToRequest ¶
func (o *UnlinkCarrierAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnlinkCarrierAccountReader ¶
type UnlinkCarrierAccountReader struct {
// contains filtered or unexported fields
}
UnlinkCarrierAccountReader is a Reader for the UnlinkCarrierAccount structure.
func (*UnlinkCarrierAccountReader) ReadResponse ¶
func (o *UnlinkCarrierAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnlinkCarrierAccountRequestEntityTooLarge ¶
type UnlinkCarrierAccountRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewUnlinkCarrierAccountRequestEntityTooLarge ¶
func NewUnlinkCarrierAccountRequestEntityTooLarge() *UnlinkCarrierAccountRequestEntityTooLarge
NewUnlinkCarrierAccountRequestEntityTooLarge creates a UnlinkCarrierAccountRequestEntityTooLarge with default headers values
func (*UnlinkCarrierAccountRequestEntityTooLarge) Error ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) Error() string
func (*UnlinkCarrierAccountRequestEntityTooLarge) GetPayload ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountRequestEntityTooLarge) IsClientError ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this unlink carrier account request entity too large response has a 4xx status code
func (*UnlinkCarrierAccountRequestEntityTooLarge) IsCode ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this unlink carrier account request entity too large response a status code equal to that given
func (*UnlinkCarrierAccountRequestEntityTooLarge) IsRedirect ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this unlink carrier account request entity too large response has a 3xx status code
func (*UnlinkCarrierAccountRequestEntityTooLarge) IsServerError ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this unlink carrier account request entity too large response has a 5xx status code
func (*UnlinkCarrierAccountRequestEntityTooLarge) IsSuccess ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this unlink carrier account request entity too large response has a 2xx status code
func (*UnlinkCarrierAccountRequestEntityTooLarge) String ¶
func (o *UnlinkCarrierAccountRequestEntityTooLarge) String() string
type UnlinkCarrierAccountServiceUnavailable ¶
type UnlinkCarrierAccountServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
UnlinkCarrierAccountServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewUnlinkCarrierAccountServiceUnavailable ¶
func NewUnlinkCarrierAccountServiceUnavailable() *UnlinkCarrierAccountServiceUnavailable
NewUnlinkCarrierAccountServiceUnavailable creates a UnlinkCarrierAccountServiceUnavailable with default headers values
func (*UnlinkCarrierAccountServiceUnavailable) Error ¶
func (o *UnlinkCarrierAccountServiceUnavailable) Error() string
func (*UnlinkCarrierAccountServiceUnavailable) GetPayload ¶
func (o *UnlinkCarrierAccountServiceUnavailable) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountServiceUnavailable) IsClientError ¶
func (o *UnlinkCarrierAccountServiceUnavailable) IsClientError() bool
IsClientError returns true when this unlink carrier account service unavailable response has a 4xx status code
func (*UnlinkCarrierAccountServiceUnavailable) IsCode ¶
func (o *UnlinkCarrierAccountServiceUnavailable) IsCode(code int) bool
IsCode returns true when this unlink carrier account service unavailable response a status code equal to that given
func (*UnlinkCarrierAccountServiceUnavailable) IsRedirect ¶
func (o *UnlinkCarrierAccountServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this unlink carrier account service unavailable response has a 3xx status code
func (*UnlinkCarrierAccountServiceUnavailable) IsServerError ¶
func (o *UnlinkCarrierAccountServiceUnavailable) IsServerError() bool
IsServerError returns true when this unlink carrier account service unavailable response has a 5xx status code
func (*UnlinkCarrierAccountServiceUnavailable) IsSuccess ¶
func (o *UnlinkCarrierAccountServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this unlink carrier account service unavailable response has a 2xx status code
func (*UnlinkCarrierAccountServiceUnavailable) String ¶
func (o *UnlinkCarrierAccountServiceUnavailable) String() string
type UnlinkCarrierAccountTooManyRequests ¶
type UnlinkCarrierAccountTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewUnlinkCarrierAccountTooManyRequests ¶
func NewUnlinkCarrierAccountTooManyRequests() *UnlinkCarrierAccountTooManyRequests
NewUnlinkCarrierAccountTooManyRequests creates a UnlinkCarrierAccountTooManyRequests with default headers values
func (*UnlinkCarrierAccountTooManyRequests) Error ¶
func (o *UnlinkCarrierAccountTooManyRequests) Error() string
func (*UnlinkCarrierAccountTooManyRequests) GetPayload ¶
func (o *UnlinkCarrierAccountTooManyRequests) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountTooManyRequests) IsClientError ¶
func (o *UnlinkCarrierAccountTooManyRequests) IsClientError() bool
IsClientError returns true when this unlink carrier account too many requests response has a 4xx status code
func (*UnlinkCarrierAccountTooManyRequests) IsCode ¶
func (o *UnlinkCarrierAccountTooManyRequests) IsCode(code int) bool
IsCode returns true when this unlink carrier account too many requests response a status code equal to that given
func (*UnlinkCarrierAccountTooManyRequests) IsRedirect ¶
func (o *UnlinkCarrierAccountTooManyRequests) IsRedirect() bool
IsRedirect returns true when this unlink carrier account too many requests response has a 3xx status code
func (*UnlinkCarrierAccountTooManyRequests) IsServerError ¶
func (o *UnlinkCarrierAccountTooManyRequests) IsServerError() bool
IsServerError returns true when this unlink carrier account too many requests response has a 5xx status code
func (*UnlinkCarrierAccountTooManyRequests) IsSuccess ¶
func (o *UnlinkCarrierAccountTooManyRequests) IsSuccess() bool
IsSuccess returns true when this unlink carrier account too many requests response has a 2xx status code
func (*UnlinkCarrierAccountTooManyRequests) String ¶
func (o *UnlinkCarrierAccountTooManyRequests) String() string
type UnlinkCarrierAccountUnauthorized ¶
UnlinkCarrierAccountUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewUnlinkCarrierAccountUnauthorized ¶
func NewUnlinkCarrierAccountUnauthorized() *UnlinkCarrierAccountUnauthorized
NewUnlinkCarrierAccountUnauthorized creates a UnlinkCarrierAccountUnauthorized with default headers values
func (*UnlinkCarrierAccountUnauthorized) Error ¶
func (o *UnlinkCarrierAccountUnauthorized) Error() string
func (*UnlinkCarrierAccountUnauthorized) GetPayload ¶
func (o *UnlinkCarrierAccountUnauthorized) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountUnauthorized) IsClientError ¶
func (o *UnlinkCarrierAccountUnauthorized) IsClientError() bool
IsClientError returns true when this unlink carrier account unauthorized response has a 4xx status code
func (*UnlinkCarrierAccountUnauthorized) IsCode ¶
func (o *UnlinkCarrierAccountUnauthorized) IsCode(code int) bool
IsCode returns true when this unlink carrier account unauthorized response a status code equal to that given
func (*UnlinkCarrierAccountUnauthorized) IsRedirect ¶
func (o *UnlinkCarrierAccountUnauthorized) IsRedirect() bool
IsRedirect returns true when this unlink carrier account unauthorized response has a 3xx status code
func (*UnlinkCarrierAccountUnauthorized) IsServerError ¶
func (o *UnlinkCarrierAccountUnauthorized) IsServerError() bool
IsServerError returns true when this unlink carrier account unauthorized response has a 5xx status code
func (*UnlinkCarrierAccountUnauthorized) IsSuccess ¶
func (o *UnlinkCarrierAccountUnauthorized) IsSuccess() bool
IsSuccess returns true when this unlink carrier account unauthorized response has a 2xx status code
func (*UnlinkCarrierAccountUnauthorized) String ¶
func (o *UnlinkCarrierAccountUnauthorized) String() string
type UnlinkCarrierAccountUnsupportedMediaType ¶
type UnlinkCarrierAccountUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipping_v2_models.ErrorList }
UnlinkCarrierAccountUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewUnlinkCarrierAccountUnsupportedMediaType ¶
func NewUnlinkCarrierAccountUnsupportedMediaType() *UnlinkCarrierAccountUnsupportedMediaType
NewUnlinkCarrierAccountUnsupportedMediaType creates a UnlinkCarrierAccountUnsupportedMediaType with default headers values
func (*UnlinkCarrierAccountUnsupportedMediaType) Error ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) Error() string
func (*UnlinkCarrierAccountUnsupportedMediaType) GetPayload ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) GetPayload() *shipping_v2_models.ErrorList
func (*UnlinkCarrierAccountUnsupportedMediaType) IsClientError ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this unlink carrier account unsupported media type response has a 4xx status code
func (*UnlinkCarrierAccountUnsupportedMediaType) IsCode ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this unlink carrier account unsupported media type response a status code equal to that given
func (*UnlinkCarrierAccountUnsupportedMediaType) IsRedirect ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this unlink carrier account unsupported media type response has a 3xx status code
func (*UnlinkCarrierAccountUnsupportedMediaType) IsServerError ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this unlink carrier account unsupported media type response has a 5xx status code
func (*UnlinkCarrierAccountUnsupportedMediaType) IsSuccess ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this unlink carrier account unsupported media type response has a 2xx status code
func (*UnlinkCarrierAccountUnsupportedMediaType) String ¶
func (o *UnlinkCarrierAccountUnsupportedMediaType) String() string
Source Files ¶
- cancel_shipment_parameters.go
- cancel_shipment_responses.go
- direct_purchase_shipment_parameters.go
- direct_purchase_shipment_responses.go
- generate_collection_form_parameters.go
- generate_collection_form_responses.go
- get_access_points_parameters.go
- get_access_points_responses.go
- get_additional_inputs_parameters.go
- get_additional_inputs_responses.go
- get_carrier_account_form_inputs_parameters.go
- get_carrier_account_form_inputs_responses.go
- get_carrier_accounts_parameters.go
- get_carrier_accounts_responses.go
- get_collection_form_history_parameters.go
- get_collection_form_history_responses.go
- get_collection_form_parameters.go
- get_collection_form_responses.go
- get_rates_parameters.go
- get_rates_responses.go
- get_shipment_documents_parameters.go
- get_shipment_documents_responses.go
- get_tracking_parameters.go
- get_tracking_responses.go
- get_unmanifested_shipments_parameters.go
- get_unmanifested_shipments_responses.go
- link_carrier_account_parameters.go
- link_carrier_account_responses.go
- one_click_shipment_parameters.go
- one_click_shipment_responses.go
- purchase_shipment_parameters.go
- purchase_shipment_responses.go
- shipping_client.go
- unlink_carrier_account_parameters.go
- unlink_carrier_account_responses.go