Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPurchaseOrder(params *GetPurchaseOrderParams, opts ...ClientOption) (*GetPurchaseOrderOK, error)
- func (a *Client) GetPurchaseOrders(params *GetPurchaseOrdersParams, opts ...ClientOption) (*GetPurchaseOrdersOK, error)
- func (a *Client) GetPurchaseOrdersStatus(params *GetPurchaseOrdersStatusParams, opts ...ClientOption) (*GetPurchaseOrdersStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubmitAcknowledgement(params *SubmitAcknowledgementParams, opts ...ClientOption) (*SubmitAcknowledgementAccepted, error)
- type ClientOption
- type ClientService
- type GetPurchaseOrderBadRequest
- func (o *GetPurchaseOrderBadRequest) Error() string
- func (o *GetPurchaseOrderBadRequest) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderBadRequest) IsClientError() bool
- func (o *GetPurchaseOrderBadRequest) IsCode(code int) bool
- func (o *GetPurchaseOrderBadRequest) IsRedirect() bool
- func (o *GetPurchaseOrderBadRequest) IsServerError() bool
- func (o *GetPurchaseOrderBadRequest) IsSuccess() bool
- func (o *GetPurchaseOrderBadRequest) String() string
- type GetPurchaseOrderForbidden
- func (o *GetPurchaseOrderForbidden) Error() string
- func (o *GetPurchaseOrderForbidden) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderForbidden) IsClientError() bool
- func (o *GetPurchaseOrderForbidden) IsCode(code int) bool
- func (o *GetPurchaseOrderForbidden) IsRedirect() bool
- func (o *GetPurchaseOrderForbidden) IsServerError() bool
- func (o *GetPurchaseOrderForbidden) IsSuccess() bool
- func (o *GetPurchaseOrderForbidden) String() string
- type GetPurchaseOrderInternalServerError
- func (o *GetPurchaseOrderInternalServerError) Error() string
- func (o *GetPurchaseOrderInternalServerError) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderInternalServerError) IsClientError() bool
- func (o *GetPurchaseOrderInternalServerError) IsCode(code int) bool
- func (o *GetPurchaseOrderInternalServerError) IsRedirect() bool
- func (o *GetPurchaseOrderInternalServerError) IsServerError() bool
- func (o *GetPurchaseOrderInternalServerError) IsSuccess() bool
- func (o *GetPurchaseOrderInternalServerError) String() string
- type GetPurchaseOrderNotFound
- func (o *GetPurchaseOrderNotFound) Error() string
- func (o *GetPurchaseOrderNotFound) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderNotFound) IsClientError() bool
- func (o *GetPurchaseOrderNotFound) IsCode(code int) bool
- func (o *GetPurchaseOrderNotFound) IsRedirect() bool
- func (o *GetPurchaseOrderNotFound) IsServerError() bool
- func (o *GetPurchaseOrderNotFound) IsSuccess() bool
- func (o *GetPurchaseOrderNotFound) String() string
- type GetPurchaseOrderOK
- func (o *GetPurchaseOrderOK) Error() string
- func (o *GetPurchaseOrderOK) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderOK) IsClientError() bool
- func (o *GetPurchaseOrderOK) IsCode(code int) bool
- func (o *GetPurchaseOrderOK) IsRedirect() bool
- func (o *GetPurchaseOrderOK) IsServerError() bool
- func (o *GetPurchaseOrderOK) IsSuccess() bool
- func (o *GetPurchaseOrderOK) String() string
- type GetPurchaseOrderParams
- func NewGetPurchaseOrderParams() *GetPurchaseOrderParams
- func NewGetPurchaseOrderParamsWithContext(ctx context.Context) *GetPurchaseOrderParams
- func NewGetPurchaseOrderParamsWithHTTPClient(client *http.Client) *GetPurchaseOrderParams
- func NewGetPurchaseOrderParamsWithTimeout(timeout time.Duration) *GetPurchaseOrderParams
- func (o *GetPurchaseOrderParams) SetContext(ctx context.Context)
- func (o *GetPurchaseOrderParams) SetDefaults()
- func (o *GetPurchaseOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetPurchaseOrderParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
- func (o *GetPurchaseOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetPurchaseOrderParams) WithContext(ctx context.Context) *GetPurchaseOrderParams
- func (o *GetPurchaseOrderParams) WithDefaults() *GetPurchaseOrderParams
- func (o *GetPurchaseOrderParams) WithHTTPClient(client *http.Client) *GetPurchaseOrderParams
- func (o *GetPurchaseOrderParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetPurchaseOrderParams
- func (o *GetPurchaseOrderParams) WithTimeout(timeout time.Duration) *GetPurchaseOrderParams
- func (o *GetPurchaseOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurchaseOrderReader
- type GetPurchaseOrderServiceUnavailable
- func (o *GetPurchaseOrderServiceUnavailable) Error() string
- func (o *GetPurchaseOrderServiceUnavailable) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderServiceUnavailable) IsClientError() bool
- func (o *GetPurchaseOrderServiceUnavailable) IsCode(code int) bool
- func (o *GetPurchaseOrderServiceUnavailable) IsRedirect() bool
- func (o *GetPurchaseOrderServiceUnavailable) IsServerError() bool
- func (o *GetPurchaseOrderServiceUnavailable) IsSuccess() bool
- func (o *GetPurchaseOrderServiceUnavailable) String() string
- type GetPurchaseOrderTooManyRequests
- func (o *GetPurchaseOrderTooManyRequests) Error() string
- func (o *GetPurchaseOrderTooManyRequests) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderTooManyRequests) IsClientError() bool
- func (o *GetPurchaseOrderTooManyRequests) IsCode(code int) bool
- func (o *GetPurchaseOrderTooManyRequests) IsRedirect() bool
- func (o *GetPurchaseOrderTooManyRequests) IsServerError() bool
- func (o *GetPurchaseOrderTooManyRequests) IsSuccess() bool
- func (o *GetPurchaseOrderTooManyRequests) String() string
- type GetPurchaseOrderUnauthorized
- func (o *GetPurchaseOrderUnauthorized) Error() string
- func (o *GetPurchaseOrderUnauthorized) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderUnauthorized) IsClientError() bool
- func (o *GetPurchaseOrderUnauthorized) IsCode(code int) bool
- func (o *GetPurchaseOrderUnauthorized) IsRedirect() bool
- func (o *GetPurchaseOrderUnauthorized) IsServerError() bool
- func (o *GetPurchaseOrderUnauthorized) IsSuccess() bool
- func (o *GetPurchaseOrderUnauthorized) String() string
- type GetPurchaseOrderUnsupportedMediaType
- func (o *GetPurchaseOrderUnsupportedMediaType) Error() string
- func (o *GetPurchaseOrderUnsupportedMediaType) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
- func (o *GetPurchaseOrderUnsupportedMediaType) IsClientError() bool
- func (o *GetPurchaseOrderUnsupportedMediaType) IsCode(code int) bool
- func (o *GetPurchaseOrderUnsupportedMediaType) IsRedirect() bool
- func (o *GetPurchaseOrderUnsupportedMediaType) IsServerError() bool
- func (o *GetPurchaseOrderUnsupportedMediaType) IsSuccess() bool
- func (o *GetPurchaseOrderUnsupportedMediaType) String() string
- type GetPurchaseOrdersBadRequest
- func (o *GetPurchaseOrdersBadRequest) Error() string
- func (o *GetPurchaseOrdersBadRequest) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersBadRequest) IsClientError() bool
- func (o *GetPurchaseOrdersBadRequest) IsCode(code int) bool
- func (o *GetPurchaseOrdersBadRequest) IsRedirect() bool
- func (o *GetPurchaseOrdersBadRequest) IsServerError() bool
- func (o *GetPurchaseOrdersBadRequest) IsSuccess() bool
- func (o *GetPurchaseOrdersBadRequest) String() string
- type GetPurchaseOrdersForbidden
- func (o *GetPurchaseOrdersForbidden) Error() string
- func (o *GetPurchaseOrdersForbidden) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersForbidden) IsClientError() bool
- func (o *GetPurchaseOrdersForbidden) IsCode(code int) bool
- func (o *GetPurchaseOrdersForbidden) IsRedirect() bool
- func (o *GetPurchaseOrdersForbidden) IsServerError() bool
- func (o *GetPurchaseOrdersForbidden) IsSuccess() bool
- func (o *GetPurchaseOrdersForbidden) String() string
- type GetPurchaseOrdersInternalServerError
- func (o *GetPurchaseOrdersInternalServerError) Error() string
- func (o *GetPurchaseOrdersInternalServerError) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersInternalServerError) IsClientError() bool
- func (o *GetPurchaseOrdersInternalServerError) IsCode(code int) bool
- func (o *GetPurchaseOrdersInternalServerError) IsRedirect() bool
- func (o *GetPurchaseOrdersInternalServerError) IsServerError() bool
- func (o *GetPurchaseOrdersInternalServerError) IsSuccess() bool
- func (o *GetPurchaseOrdersInternalServerError) String() string
- type GetPurchaseOrdersNotFound
- func (o *GetPurchaseOrdersNotFound) Error() string
- func (o *GetPurchaseOrdersNotFound) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersNotFound) IsClientError() bool
- func (o *GetPurchaseOrdersNotFound) IsCode(code int) bool
- func (o *GetPurchaseOrdersNotFound) IsRedirect() bool
- func (o *GetPurchaseOrdersNotFound) IsServerError() bool
- func (o *GetPurchaseOrdersNotFound) IsSuccess() bool
- func (o *GetPurchaseOrdersNotFound) String() string
- type GetPurchaseOrdersOK
- func (o *GetPurchaseOrdersOK) Error() string
- func (o *GetPurchaseOrdersOK) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersOK) IsClientError() bool
- func (o *GetPurchaseOrdersOK) IsCode(code int) bool
- func (o *GetPurchaseOrdersOK) IsRedirect() bool
- func (o *GetPurchaseOrdersOK) IsServerError() bool
- func (o *GetPurchaseOrdersOK) IsSuccess() bool
- func (o *GetPurchaseOrdersOK) String() string
- type GetPurchaseOrdersParams
- func NewGetPurchaseOrdersParams() *GetPurchaseOrdersParams
- func NewGetPurchaseOrdersParamsWithContext(ctx context.Context) *GetPurchaseOrdersParams
- func NewGetPurchaseOrdersParamsWithHTTPClient(client *http.Client) *GetPurchaseOrdersParams
- func NewGetPurchaseOrdersParamsWithTimeout(timeout time.Duration) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) SetChangedAfter(changedAfter *strfmt.DateTime)
- func (o *GetPurchaseOrdersParams) SetChangedBefore(changedBefore *strfmt.DateTime)
- func (o *GetPurchaseOrdersParams) SetContext(ctx context.Context)
- func (o *GetPurchaseOrdersParams) SetCreatedAfter(createdAfter *strfmt.DateTime)
- func (o *GetPurchaseOrdersParams) SetCreatedBefore(createdBefore *strfmt.DateTime)
- func (o *GetPurchaseOrdersParams) SetDefaults()
- func (o *GetPurchaseOrdersParams) SetHTTPClient(client *http.Client)
- func (o *GetPurchaseOrdersParams) SetIncludeDetails(includeDetails *string)
- func (o *GetPurchaseOrdersParams) SetIsPOChanged(isPOChanged *string)
- func (o *GetPurchaseOrdersParams) SetLimit(limit *int64)
- func (o *GetPurchaseOrdersParams) SetNextToken(nextToken *string)
- func (o *GetPurchaseOrdersParams) SetOrderingVendorCode(orderingVendorCode *string)
- func (o *GetPurchaseOrdersParams) SetPoItemState(poItemState *string)
- func (o *GetPurchaseOrdersParams) SetPurchaseOrderState(purchaseOrderState *string)
- func (o *GetPurchaseOrdersParams) SetSortOrder(sortOrder *string)
- func (o *GetPurchaseOrdersParams) SetTimeout(timeout time.Duration)
- func (o *GetPurchaseOrdersParams) WithChangedAfter(changedAfter *strfmt.DateTime) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithChangedBefore(changedBefore *strfmt.DateTime) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithContext(ctx context.Context) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithDefaults() *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithHTTPClient(client *http.Client) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithIncludeDetails(includeDetails *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithIsPOChanged(isPOChanged *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithLimit(limit *int64) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithNextToken(nextToken *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithOrderingVendorCode(orderingVendorCode *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithPoItemState(poItemState *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithPurchaseOrderState(purchaseOrderState *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithSortOrder(sortOrder *string) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WithTimeout(timeout time.Duration) *GetPurchaseOrdersParams
- func (o *GetPurchaseOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurchaseOrdersReader
- type GetPurchaseOrdersServiceUnavailable
- func (o *GetPurchaseOrdersServiceUnavailable) Error() string
- func (o *GetPurchaseOrdersServiceUnavailable) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersServiceUnavailable) IsClientError() bool
- func (o *GetPurchaseOrdersServiceUnavailable) IsCode(code int) bool
- func (o *GetPurchaseOrdersServiceUnavailable) IsRedirect() bool
- func (o *GetPurchaseOrdersServiceUnavailable) IsServerError() bool
- func (o *GetPurchaseOrdersServiceUnavailable) IsSuccess() bool
- func (o *GetPurchaseOrdersServiceUnavailable) String() string
- type GetPurchaseOrdersStatusBadRequest
- func (o *GetPurchaseOrdersStatusBadRequest) Error() string
- func (o *GetPurchaseOrdersStatusBadRequest) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusBadRequest) IsClientError() bool
- func (o *GetPurchaseOrdersStatusBadRequest) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusBadRequest) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusBadRequest) IsServerError() bool
- func (o *GetPurchaseOrdersStatusBadRequest) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusBadRequest) String() string
- type GetPurchaseOrdersStatusForbidden
- func (o *GetPurchaseOrdersStatusForbidden) Error() string
- func (o *GetPurchaseOrdersStatusForbidden) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusForbidden) IsClientError() bool
- func (o *GetPurchaseOrdersStatusForbidden) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusForbidden) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusForbidden) IsServerError() bool
- func (o *GetPurchaseOrdersStatusForbidden) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusForbidden) String() string
- type GetPurchaseOrdersStatusInternalServerError
- func (o *GetPurchaseOrdersStatusInternalServerError) Error() string
- func (o *GetPurchaseOrdersStatusInternalServerError) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusInternalServerError) IsClientError() bool
- func (o *GetPurchaseOrdersStatusInternalServerError) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusInternalServerError) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusInternalServerError) IsServerError() bool
- func (o *GetPurchaseOrdersStatusInternalServerError) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusInternalServerError) String() string
- type GetPurchaseOrdersStatusNotFound
- func (o *GetPurchaseOrdersStatusNotFound) Error() string
- func (o *GetPurchaseOrdersStatusNotFound) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusNotFound) IsClientError() bool
- func (o *GetPurchaseOrdersStatusNotFound) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusNotFound) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusNotFound) IsServerError() bool
- func (o *GetPurchaseOrdersStatusNotFound) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusNotFound) String() string
- type GetPurchaseOrdersStatusOK
- func (o *GetPurchaseOrdersStatusOK) Error() string
- func (o *GetPurchaseOrdersStatusOK) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusOK) IsClientError() bool
- func (o *GetPurchaseOrdersStatusOK) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusOK) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusOK) IsServerError() bool
- func (o *GetPurchaseOrdersStatusOK) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusOK) String() string
- type GetPurchaseOrdersStatusParams
- func NewGetPurchaseOrdersStatusParams() *GetPurchaseOrdersStatusParams
- func NewGetPurchaseOrdersStatusParamsWithContext(ctx context.Context) *GetPurchaseOrdersStatusParams
- func NewGetPurchaseOrdersStatusParamsWithHTTPClient(client *http.Client) *GetPurchaseOrdersStatusParams
- func NewGetPurchaseOrdersStatusParamsWithTimeout(timeout time.Duration) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) SetContext(ctx context.Context)
- func (o *GetPurchaseOrdersStatusParams) SetCreatedAfter(createdAfter *strfmt.DateTime)
- func (o *GetPurchaseOrdersStatusParams) SetCreatedBefore(createdBefore *strfmt.DateTime)
- func (o *GetPurchaseOrdersStatusParams) SetDefaults()
- func (o *GetPurchaseOrdersStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetPurchaseOrdersStatusParams) SetItemConfirmationStatus(itemConfirmationStatus *string)
- func (o *GetPurchaseOrdersStatusParams) SetItemReceiveStatus(itemReceiveStatus *string)
- func (o *GetPurchaseOrdersStatusParams) SetLimit(limit *int64)
- func (o *GetPurchaseOrdersStatusParams) SetNextToken(nextToken *string)
- func (o *GetPurchaseOrdersStatusParams) SetOrderingVendorCode(orderingVendorCode *string)
- func (o *GetPurchaseOrdersStatusParams) SetPurchaseOrderNumber(purchaseOrderNumber *string)
- func (o *GetPurchaseOrdersStatusParams) SetPurchaseOrderStatus(purchaseOrderStatus *string)
- func (o *GetPurchaseOrdersStatusParams) SetShipToPartyID(shipToPartyID *string)
- func (o *GetPurchaseOrdersStatusParams) SetSortOrder(sortOrder *string)
- func (o *GetPurchaseOrdersStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetPurchaseOrdersStatusParams) SetUpdatedAfter(updatedAfter *strfmt.DateTime)
- func (o *GetPurchaseOrdersStatusParams) SetUpdatedBefore(updatedBefore *strfmt.DateTime)
- func (o *GetPurchaseOrdersStatusParams) WithContext(ctx context.Context) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithDefaults() *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithHTTPClient(client *http.Client) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithItemConfirmationStatus(itemConfirmationStatus *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithItemReceiveStatus(itemReceiveStatus *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithLimit(limit *int64) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithNextToken(nextToken *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithOrderingVendorCode(orderingVendorCode *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithPurchaseOrderNumber(purchaseOrderNumber *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithPurchaseOrderStatus(purchaseOrderStatus *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithShipToPartyID(shipToPartyID *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithSortOrder(sortOrder *string) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithTimeout(timeout time.Duration) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithUpdatedAfter(updatedAfter *strfmt.DateTime) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WithUpdatedBefore(updatedBefore *strfmt.DateTime) *GetPurchaseOrdersStatusParams
- func (o *GetPurchaseOrdersStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurchaseOrdersStatusReader
- type GetPurchaseOrdersStatusServiceUnavailable
- func (o *GetPurchaseOrdersStatusServiceUnavailable) Error() string
- func (o *GetPurchaseOrdersStatusServiceUnavailable) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusServiceUnavailable) IsClientError() bool
- func (o *GetPurchaseOrdersStatusServiceUnavailable) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusServiceUnavailable) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusServiceUnavailable) IsServerError() bool
- func (o *GetPurchaseOrdersStatusServiceUnavailable) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusServiceUnavailable) String() string
- type GetPurchaseOrdersStatusTooManyRequests
- func (o *GetPurchaseOrdersStatusTooManyRequests) Error() string
- func (o *GetPurchaseOrdersStatusTooManyRequests) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusTooManyRequests) IsClientError() bool
- func (o *GetPurchaseOrdersStatusTooManyRequests) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusTooManyRequests) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusTooManyRequests) IsServerError() bool
- func (o *GetPurchaseOrdersStatusTooManyRequests) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusTooManyRequests) String() string
- type GetPurchaseOrdersStatusUnsupportedMediaType
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) Error() string
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsClientError() bool
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsCode(code int) bool
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsRedirect() bool
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsServerError() bool
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsSuccess() bool
- func (o *GetPurchaseOrdersStatusUnsupportedMediaType) String() string
- type GetPurchaseOrdersTooManyRequests
- func (o *GetPurchaseOrdersTooManyRequests) Error() string
- func (o *GetPurchaseOrdersTooManyRequests) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersTooManyRequests) IsClientError() bool
- func (o *GetPurchaseOrdersTooManyRequests) IsCode(code int) bool
- func (o *GetPurchaseOrdersTooManyRequests) IsRedirect() bool
- func (o *GetPurchaseOrdersTooManyRequests) IsServerError() bool
- func (o *GetPurchaseOrdersTooManyRequests) IsSuccess() bool
- func (o *GetPurchaseOrdersTooManyRequests) String() string
- type GetPurchaseOrdersUnsupportedMediaType
- func (o *GetPurchaseOrdersUnsupportedMediaType) Error() string
- func (o *GetPurchaseOrdersUnsupportedMediaType) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
- func (o *GetPurchaseOrdersUnsupportedMediaType) IsClientError() bool
- func (o *GetPurchaseOrdersUnsupportedMediaType) IsCode(code int) bool
- func (o *GetPurchaseOrdersUnsupportedMediaType) IsRedirect() bool
- func (o *GetPurchaseOrdersUnsupportedMediaType) IsServerError() bool
- func (o *GetPurchaseOrdersUnsupportedMediaType) IsSuccess() bool
- func (o *GetPurchaseOrdersUnsupportedMediaType) String() string
- type SubmitAcknowledgementAccepted
- func (o *SubmitAcknowledgementAccepted) Error() string
- func (o *SubmitAcknowledgementAccepted) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementAccepted) IsClientError() bool
- func (o *SubmitAcknowledgementAccepted) IsCode(code int) bool
- func (o *SubmitAcknowledgementAccepted) IsRedirect() bool
- func (o *SubmitAcknowledgementAccepted) IsServerError() bool
- func (o *SubmitAcknowledgementAccepted) IsSuccess() bool
- func (o *SubmitAcknowledgementAccepted) String() string
- type SubmitAcknowledgementBadRequest
- func (o *SubmitAcknowledgementBadRequest) Error() string
- func (o *SubmitAcknowledgementBadRequest) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementBadRequest) IsClientError() bool
- func (o *SubmitAcknowledgementBadRequest) IsCode(code int) bool
- func (o *SubmitAcknowledgementBadRequest) IsRedirect() bool
- func (o *SubmitAcknowledgementBadRequest) IsServerError() bool
- func (o *SubmitAcknowledgementBadRequest) IsSuccess() bool
- func (o *SubmitAcknowledgementBadRequest) String() string
- type SubmitAcknowledgementForbidden
- func (o *SubmitAcknowledgementForbidden) Error() string
- func (o *SubmitAcknowledgementForbidden) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementForbidden) IsClientError() bool
- func (o *SubmitAcknowledgementForbidden) IsCode(code int) bool
- func (o *SubmitAcknowledgementForbidden) IsRedirect() bool
- func (o *SubmitAcknowledgementForbidden) IsServerError() bool
- func (o *SubmitAcknowledgementForbidden) IsSuccess() bool
- func (o *SubmitAcknowledgementForbidden) String() string
- type SubmitAcknowledgementInternalServerError
- func (o *SubmitAcknowledgementInternalServerError) Error() string
- func (o *SubmitAcknowledgementInternalServerError) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementInternalServerError) IsClientError() bool
- func (o *SubmitAcknowledgementInternalServerError) IsCode(code int) bool
- func (o *SubmitAcknowledgementInternalServerError) IsRedirect() bool
- func (o *SubmitAcknowledgementInternalServerError) IsServerError() bool
- func (o *SubmitAcknowledgementInternalServerError) IsSuccess() bool
- func (o *SubmitAcknowledgementInternalServerError) String() string
- type SubmitAcknowledgementNotFound
- func (o *SubmitAcknowledgementNotFound) Error() string
- func (o *SubmitAcknowledgementNotFound) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementNotFound) IsClientError() bool
- func (o *SubmitAcknowledgementNotFound) IsCode(code int) bool
- func (o *SubmitAcknowledgementNotFound) IsRedirect() bool
- func (o *SubmitAcknowledgementNotFound) IsServerError() bool
- func (o *SubmitAcknowledgementNotFound) IsSuccess() bool
- func (o *SubmitAcknowledgementNotFound) String() string
- type SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParams() *SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParamsWithContext(ctx context.Context) *SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParamsWithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParamsWithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) SetBody(body *vendor_orders_models.SubmitAcknowledgementRequest)
- func (o *SubmitAcknowledgementParams) SetContext(ctx context.Context)
- func (o *SubmitAcknowledgementParams) SetDefaults()
- func (o *SubmitAcknowledgementParams) SetHTTPClient(client *http.Client)
- func (o *SubmitAcknowledgementParams) SetTimeout(timeout time.Duration)
- func (o *SubmitAcknowledgementParams) WithBody(body *vendor_orders_models.SubmitAcknowledgementRequest) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithContext(ctx context.Context) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithDefaults() *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitAcknowledgementReader
- type SubmitAcknowledgementRequestEntityTooLarge
- func (o *SubmitAcknowledgementRequestEntityTooLarge) Error() string
- func (o *SubmitAcknowledgementRequestEntityTooLarge) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsClientError() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsCode(code int) bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsRedirect() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsServerError() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsSuccess() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) String() string
- type SubmitAcknowledgementServiceUnavailable
- func (o *SubmitAcknowledgementServiceUnavailable) Error() string
- func (o *SubmitAcknowledgementServiceUnavailable) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementServiceUnavailable) IsClientError() bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsCode(code int) bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsRedirect() bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsServerError() bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsSuccess() bool
- func (o *SubmitAcknowledgementServiceUnavailable) String() string
- type SubmitAcknowledgementTooManyRequests
- func (o *SubmitAcknowledgementTooManyRequests) Error() string
- func (o *SubmitAcknowledgementTooManyRequests) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementTooManyRequests) IsClientError() bool
- func (o *SubmitAcknowledgementTooManyRequests) IsCode(code int) bool
- func (o *SubmitAcknowledgementTooManyRequests) IsRedirect() bool
- func (o *SubmitAcknowledgementTooManyRequests) IsServerError() bool
- func (o *SubmitAcknowledgementTooManyRequests) IsSuccess() bool
- func (o *SubmitAcknowledgementTooManyRequests) String() string
- type SubmitAcknowledgementUnsupportedMediaType
- func (o *SubmitAcknowledgementUnsupportedMediaType) Error() string
- func (o *SubmitAcknowledgementUnsupportedMediaType) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsClientError() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsCode(code int) bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsRedirect() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsServerError() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsSuccess() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vendor orders API
func (*Client) GetPurchaseOrder ¶
func (a *Client) GetPurchaseOrder(params *GetPurchaseOrderParams, opts ...ClientOption) (*GetPurchaseOrderOK, error)
GetPurchaseOrder Returns a purchase order based on the purchaseOrderNumber value that you specify.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetPurchaseOrders ¶
func (a *Client) GetPurchaseOrders(params *GetPurchaseOrdersParams, opts ...ClientOption) (*GetPurchaseOrdersOK, error)
GetPurchaseOrders Returns a list of purchase orders created or changed during the time frame that you specify. You define the time frame using the createdAfter, createdBefore, changedAfter and changedBefore parameters. The date range to search must not be more than 7 days. You can choose to get only the purchase order numbers by setting includeDetails to false. You can then use the getPurchaseOrder operation to receive details for a specific purchase order.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetPurchaseOrdersStatus ¶
func (a *Client) GetPurchaseOrdersStatus(params *GetPurchaseOrdersStatusParams, opts ...ClientOption) (*GetPurchaseOrdersStatusOK, error)
GetPurchaseOrdersStatus Returns purchase order statuses based on the filters that you specify. Date range to search must not be more than 7 days. You can return a list of purchase order statuses using the available filters, or a single purchase order status by providing the purchase order number.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](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) SubmitAcknowledgement ¶
func (a *Client) SubmitAcknowledgement(params *SubmitAcknowledgementParams, opts ...ClientOption) (*SubmitAcknowledgementAccepted, error)
SubmitAcknowledgement Submits acknowledgements for one or more purchase orders.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](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 { GetPurchaseOrder(params *GetPurchaseOrderParams, opts ...ClientOption) (*GetPurchaseOrderOK, error) GetPurchaseOrders(params *GetPurchaseOrdersParams, opts ...ClientOption) (*GetPurchaseOrdersOK, error) GetPurchaseOrdersStatus(params *GetPurchaseOrdersStatusParams, opts ...ClientOption) (*GetPurchaseOrdersStatusOK, error) SubmitAcknowledgement(params *SubmitAcknowledgementParams, opts ...ClientOption) (*SubmitAcknowledgementAccepted, 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 vendor orders API client.
type GetPurchaseOrderBadRequest ¶
type GetPurchaseOrderBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetPurchaseOrderBadRequest ¶
func NewGetPurchaseOrderBadRequest() *GetPurchaseOrderBadRequest
NewGetPurchaseOrderBadRequest creates a GetPurchaseOrderBadRequest with default headers values
func (*GetPurchaseOrderBadRequest) Error ¶
func (o *GetPurchaseOrderBadRequest) Error() string
func (*GetPurchaseOrderBadRequest) GetPayload ¶
func (o *GetPurchaseOrderBadRequest) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderBadRequest) IsClientError ¶
func (o *GetPurchaseOrderBadRequest) IsClientError() bool
IsClientError returns true when this get purchase order bad request response has a 4xx status code
func (*GetPurchaseOrderBadRequest) IsCode ¶
func (o *GetPurchaseOrderBadRequest) IsCode(code int) bool
IsCode returns true when this get purchase order bad request response a status code equal to that given
func (*GetPurchaseOrderBadRequest) IsRedirect ¶
func (o *GetPurchaseOrderBadRequest) IsRedirect() bool
IsRedirect returns true when this get purchase order bad request response has a 3xx status code
func (*GetPurchaseOrderBadRequest) IsServerError ¶
func (o *GetPurchaseOrderBadRequest) IsServerError() bool
IsServerError returns true when this get purchase order bad request response has a 5xx status code
func (*GetPurchaseOrderBadRequest) IsSuccess ¶
func (o *GetPurchaseOrderBadRequest) IsSuccess() bool
IsSuccess returns true when this get purchase order bad request response has a 2xx status code
func (*GetPurchaseOrderBadRequest) String ¶
func (o *GetPurchaseOrderBadRequest) String() string
type GetPurchaseOrderForbidden ¶
type GetPurchaseOrderForbidden 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 *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderForbidden 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 NewGetPurchaseOrderForbidden ¶
func NewGetPurchaseOrderForbidden() *GetPurchaseOrderForbidden
NewGetPurchaseOrderForbidden creates a GetPurchaseOrderForbidden with default headers values
func (*GetPurchaseOrderForbidden) Error ¶
func (o *GetPurchaseOrderForbidden) Error() string
func (*GetPurchaseOrderForbidden) GetPayload ¶
func (o *GetPurchaseOrderForbidden) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderForbidden) IsClientError ¶
func (o *GetPurchaseOrderForbidden) IsClientError() bool
IsClientError returns true when this get purchase order forbidden response has a 4xx status code
func (*GetPurchaseOrderForbidden) IsCode ¶
func (o *GetPurchaseOrderForbidden) IsCode(code int) bool
IsCode returns true when this get purchase order forbidden response a status code equal to that given
func (*GetPurchaseOrderForbidden) IsRedirect ¶
func (o *GetPurchaseOrderForbidden) IsRedirect() bool
IsRedirect returns true when this get purchase order forbidden response has a 3xx status code
func (*GetPurchaseOrderForbidden) IsServerError ¶
func (o *GetPurchaseOrderForbidden) IsServerError() bool
IsServerError returns true when this get purchase order forbidden response has a 5xx status code
func (*GetPurchaseOrderForbidden) IsSuccess ¶
func (o *GetPurchaseOrderForbidden) IsSuccess() bool
IsSuccess returns true when this get purchase order forbidden response has a 2xx status code
func (*GetPurchaseOrderForbidden) String ¶
func (o *GetPurchaseOrderForbidden) String() string
type GetPurchaseOrderInternalServerError ¶
type GetPurchaseOrderInternalServerError 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 *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetPurchaseOrderInternalServerError ¶
func NewGetPurchaseOrderInternalServerError() *GetPurchaseOrderInternalServerError
NewGetPurchaseOrderInternalServerError creates a GetPurchaseOrderInternalServerError with default headers values
func (*GetPurchaseOrderInternalServerError) Error ¶
func (o *GetPurchaseOrderInternalServerError) Error() string
func (*GetPurchaseOrderInternalServerError) GetPayload ¶
func (o *GetPurchaseOrderInternalServerError) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderInternalServerError) IsClientError ¶
func (o *GetPurchaseOrderInternalServerError) IsClientError() bool
IsClientError returns true when this get purchase order internal server error response has a 4xx status code
func (*GetPurchaseOrderInternalServerError) IsCode ¶
func (o *GetPurchaseOrderInternalServerError) IsCode(code int) bool
IsCode returns true when this get purchase order internal server error response a status code equal to that given
func (*GetPurchaseOrderInternalServerError) IsRedirect ¶
func (o *GetPurchaseOrderInternalServerError) IsRedirect() bool
IsRedirect returns true when this get purchase order internal server error response has a 3xx status code
func (*GetPurchaseOrderInternalServerError) IsServerError ¶
func (o *GetPurchaseOrderInternalServerError) IsServerError() bool
IsServerError returns true when this get purchase order internal server error response has a 5xx status code
func (*GetPurchaseOrderInternalServerError) IsSuccess ¶
func (o *GetPurchaseOrderInternalServerError) IsSuccess() bool
IsSuccess returns true when this get purchase order internal server error response has a 2xx status code
func (*GetPurchaseOrderInternalServerError) String ¶
func (o *GetPurchaseOrderInternalServerError) String() string
type GetPurchaseOrderNotFound ¶
type GetPurchaseOrderNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetPurchaseOrderNotFound ¶
func NewGetPurchaseOrderNotFound() *GetPurchaseOrderNotFound
NewGetPurchaseOrderNotFound creates a GetPurchaseOrderNotFound with default headers values
func (*GetPurchaseOrderNotFound) Error ¶
func (o *GetPurchaseOrderNotFound) Error() string
func (*GetPurchaseOrderNotFound) GetPayload ¶
func (o *GetPurchaseOrderNotFound) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderNotFound) IsClientError ¶
func (o *GetPurchaseOrderNotFound) IsClientError() bool
IsClientError returns true when this get purchase order not found response has a 4xx status code
func (*GetPurchaseOrderNotFound) IsCode ¶
func (o *GetPurchaseOrderNotFound) IsCode(code int) bool
IsCode returns true when this get purchase order not found response a status code equal to that given
func (*GetPurchaseOrderNotFound) IsRedirect ¶
func (o *GetPurchaseOrderNotFound) IsRedirect() bool
IsRedirect returns true when this get purchase order not found response has a 3xx status code
func (*GetPurchaseOrderNotFound) IsServerError ¶
func (o *GetPurchaseOrderNotFound) IsServerError() bool
IsServerError returns true when this get purchase order not found response has a 5xx status code
func (*GetPurchaseOrderNotFound) IsSuccess ¶
func (o *GetPurchaseOrderNotFound) IsSuccess() bool
IsSuccess returns true when this get purchase order not found response has a 2xx status code
func (*GetPurchaseOrderNotFound) String ¶
func (o *GetPurchaseOrderNotFound) String() string
type GetPurchaseOrderOK ¶
type GetPurchaseOrderOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderOK describes a response with status code 200, with default header values.
Success.
func NewGetPurchaseOrderOK ¶
func NewGetPurchaseOrderOK() *GetPurchaseOrderOK
NewGetPurchaseOrderOK creates a GetPurchaseOrderOK with default headers values
func (*GetPurchaseOrderOK) Error ¶
func (o *GetPurchaseOrderOK) Error() string
func (*GetPurchaseOrderOK) GetPayload ¶
func (o *GetPurchaseOrderOK) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderOK) IsClientError ¶
func (o *GetPurchaseOrderOK) IsClientError() bool
IsClientError returns true when this get purchase order o k response has a 4xx status code
func (*GetPurchaseOrderOK) IsCode ¶
func (o *GetPurchaseOrderOK) IsCode(code int) bool
IsCode returns true when this get purchase order o k response a status code equal to that given
func (*GetPurchaseOrderOK) IsRedirect ¶
func (o *GetPurchaseOrderOK) IsRedirect() bool
IsRedirect returns true when this get purchase order o k response has a 3xx status code
func (*GetPurchaseOrderOK) IsServerError ¶
func (o *GetPurchaseOrderOK) IsServerError() bool
IsServerError returns true when this get purchase order o k response has a 5xx status code
func (*GetPurchaseOrderOK) IsSuccess ¶
func (o *GetPurchaseOrderOK) IsSuccess() bool
IsSuccess returns true when this get purchase order o k response has a 2xx status code
func (*GetPurchaseOrderOK) String ¶
func (o *GetPurchaseOrderOK) String() string
type GetPurchaseOrderParams ¶
type GetPurchaseOrderParams struct { /* PurchaseOrderNumber. The purchase order identifier for the order that you want. Formatting Notes: 8-character alpha-numeric code. */ PurchaseOrderNumber string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurchaseOrderParams contains all the parameters to send to the API endpoint
for the get purchase order operation. Typically these are written to a http.Request.
func NewGetPurchaseOrderParams ¶
func NewGetPurchaseOrderParams() *GetPurchaseOrderParams
NewGetPurchaseOrderParams creates a new GetPurchaseOrderParams 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 NewGetPurchaseOrderParamsWithContext ¶
func NewGetPurchaseOrderParamsWithContext(ctx context.Context) *GetPurchaseOrderParams
NewGetPurchaseOrderParamsWithContext creates a new GetPurchaseOrderParams object with the ability to set a context for a request.
func NewGetPurchaseOrderParamsWithHTTPClient ¶
func NewGetPurchaseOrderParamsWithHTTPClient(client *http.Client) *GetPurchaseOrderParams
NewGetPurchaseOrderParamsWithHTTPClient creates a new GetPurchaseOrderParams object with the ability to set a custom HTTPClient for a request.
func NewGetPurchaseOrderParamsWithTimeout ¶
func NewGetPurchaseOrderParamsWithTimeout(timeout time.Duration) *GetPurchaseOrderParams
NewGetPurchaseOrderParamsWithTimeout creates a new GetPurchaseOrderParams object with the ability to set a timeout on a request.
func (*GetPurchaseOrderParams) SetContext ¶
func (o *GetPurchaseOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the get purchase order params
func (*GetPurchaseOrderParams) SetDefaults ¶
func (o *GetPurchaseOrderParams) SetDefaults()
SetDefaults hydrates default values in the get purchase order params (not the query body).
All values with no default are reset to their zero value.
func (*GetPurchaseOrderParams) SetHTTPClient ¶
func (o *GetPurchaseOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purchase order params
func (*GetPurchaseOrderParams) SetPurchaseOrderNumber ¶
func (o *GetPurchaseOrderParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
SetPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase order params
func (*GetPurchaseOrderParams) SetTimeout ¶
func (o *GetPurchaseOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purchase order params
func (*GetPurchaseOrderParams) WithContext ¶
func (o *GetPurchaseOrderParams) WithContext(ctx context.Context) *GetPurchaseOrderParams
WithContext adds the context to the get purchase order params
func (*GetPurchaseOrderParams) WithDefaults ¶
func (o *GetPurchaseOrderParams) WithDefaults() *GetPurchaseOrderParams
WithDefaults hydrates default values in the get purchase order params (not the query body).
All values with no default are reset to their zero value.
func (*GetPurchaseOrderParams) WithHTTPClient ¶
func (o *GetPurchaseOrderParams) WithHTTPClient(client *http.Client) *GetPurchaseOrderParams
WithHTTPClient adds the HTTPClient to the get purchase order params
func (*GetPurchaseOrderParams) WithPurchaseOrderNumber ¶
func (o *GetPurchaseOrderParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetPurchaseOrderParams
WithPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase order params
func (*GetPurchaseOrderParams) WithTimeout ¶
func (o *GetPurchaseOrderParams) WithTimeout(timeout time.Duration) *GetPurchaseOrderParams
WithTimeout adds the timeout to the get purchase order params
func (*GetPurchaseOrderParams) WriteToRequest ¶
func (o *GetPurchaseOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurchaseOrderReader ¶
type GetPurchaseOrderReader struct {
// contains filtered or unexported fields
}
GetPurchaseOrderReader is a Reader for the GetPurchaseOrder structure.
func (*GetPurchaseOrderReader) ReadResponse ¶
func (o *GetPurchaseOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurchaseOrderServiceUnavailable ¶
GetPurchaseOrderServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetPurchaseOrderServiceUnavailable ¶
func NewGetPurchaseOrderServiceUnavailable() *GetPurchaseOrderServiceUnavailable
NewGetPurchaseOrderServiceUnavailable creates a GetPurchaseOrderServiceUnavailable with default headers values
func (*GetPurchaseOrderServiceUnavailable) Error ¶
func (o *GetPurchaseOrderServiceUnavailable) Error() string
func (*GetPurchaseOrderServiceUnavailable) GetPayload ¶
func (o *GetPurchaseOrderServiceUnavailable) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderServiceUnavailable) IsClientError ¶
func (o *GetPurchaseOrderServiceUnavailable) IsClientError() bool
IsClientError returns true when this get purchase order service unavailable response has a 4xx status code
func (*GetPurchaseOrderServiceUnavailable) IsCode ¶
func (o *GetPurchaseOrderServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get purchase order service unavailable response a status code equal to that given
func (*GetPurchaseOrderServiceUnavailable) IsRedirect ¶
func (o *GetPurchaseOrderServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get purchase order service unavailable response has a 3xx status code
func (*GetPurchaseOrderServiceUnavailable) IsServerError ¶
func (o *GetPurchaseOrderServiceUnavailable) IsServerError() bool
IsServerError returns true when this get purchase order service unavailable response has a 5xx status code
func (*GetPurchaseOrderServiceUnavailable) IsSuccess ¶
func (o *GetPurchaseOrderServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get purchase order service unavailable response has a 2xx status code
func (*GetPurchaseOrderServiceUnavailable) String ¶
func (o *GetPurchaseOrderServiceUnavailable) String() string
type GetPurchaseOrderTooManyRequests ¶
type GetPurchaseOrderTooManyRequests 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 *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetPurchaseOrderTooManyRequests ¶
func NewGetPurchaseOrderTooManyRequests() *GetPurchaseOrderTooManyRequests
NewGetPurchaseOrderTooManyRequests creates a GetPurchaseOrderTooManyRequests with default headers values
func (*GetPurchaseOrderTooManyRequests) Error ¶
func (o *GetPurchaseOrderTooManyRequests) Error() string
func (*GetPurchaseOrderTooManyRequests) GetPayload ¶
func (o *GetPurchaseOrderTooManyRequests) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderTooManyRequests) IsClientError ¶
func (o *GetPurchaseOrderTooManyRequests) IsClientError() bool
IsClientError returns true when this get purchase order too many requests response has a 4xx status code
func (*GetPurchaseOrderTooManyRequests) IsCode ¶
func (o *GetPurchaseOrderTooManyRequests) IsCode(code int) bool
IsCode returns true when this get purchase order too many requests response a status code equal to that given
func (*GetPurchaseOrderTooManyRequests) IsRedirect ¶
func (o *GetPurchaseOrderTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get purchase order too many requests response has a 3xx status code
func (*GetPurchaseOrderTooManyRequests) IsServerError ¶
func (o *GetPurchaseOrderTooManyRequests) IsServerError() bool
IsServerError returns true when this get purchase order too many requests response has a 5xx status code
func (*GetPurchaseOrderTooManyRequests) IsSuccess ¶
func (o *GetPurchaseOrderTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get purchase order too many requests response has a 2xx status code
func (*GetPurchaseOrderTooManyRequests) String ¶
func (o *GetPurchaseOrderTooManyRequests) String() string
type GetPurchaseOrderUnauthorized ¶
GetPurchaseOrderUnauthorized 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 NewGetPurchaseOrderUnauthorized ¶
func NewGetPurchaseOrderUnauthorized() *GetPurchaseOrderUnauthorized
NewGetPurchaseOrderUnauthorized creates a GetPurchaseOrderUnauthorized with default headers values
func (*GetPurchaseOrderUnauthorized) Error ¶
func (o *GetPurchaseOrderUnauthorized) Error() string
func (*GetPurchaseOrderUnauthorized) GetPayload ¶
func (o *GetPurchaseOrderUnauthorized) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderUnauthorized) IsClientError ¶
func (o *GetPurchaseOrderUnauthorized) IsClientError() bool
IsClientError returns true when this get purchase order unauthorized response has a 4xx status code
func (*GetPurchaseOrderUnauthorized) IsCode ¶
func (o *GetPurchaseOrderUnauthorized) IsCode(code int) bool
IsCode returns true when this get purchase order unauthorized response a status code equal to that given
func (*GetPurchaseOrderUnauthorized) IsRedirect ¶
func (o *GetPurchaseOrderUnauthorized) IsRedirect() bool
IsRedirect returns true when this get purchase order unauthorized response has a 3xx status code
func (*GetPurchaseOrderUnauthorized) IsServerError ¶
func (o *GetPurchaseOrderUnauthorized) IsServerError() bool
IsServerError returns true when this get purchase order unauthorized response has a 5xx status code
func (*GetPurchaseOrderUnauthorized) IsSuccess ¶
func (o *GetPurchaseOrderUnauthorized) IsSuccess() bool
IsSuccess returns true when this get purchase order unauthorized response has a 2xx status code
func (*GetPurchaseOrderUnauthorized) String ¶
func (o *GetPurchaseOrderUnauthorized) String() string
type GetPurchaseOrderUnsupportedMediaType ¶
type GetPurchaseOrderUnsupportedMediaType 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 *vendor_orders_models.GetPurchaseOrderResponse }
GetPurchaseOrderUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetPurchaseOrderUnsupportedMediaType ¶
func NewGetPurchaseOrderUnsupportedMediaType() *GetPurchaseOrderUnsupportedMediaType
NewGetPurchaseOrderUnsupportedMediaType creates a GetPurchaseOrderUnsupportedMediaType with default headers values
func (*GetPurchaseOrderUnsupportedMediaType) Error ¶
func (o *GetPurchaseOrderUnsupportedMediaType) Error() string
func (*GetPurchaseOrderUnsupportedMediaType) GetPayload ¶
func (o *GetPurchaseOrderUnsupportedMediaType) GetPayload() *vendor_orders_models.GetPurchaseOrderResponse
func (*GetPurchaseOrderUnsupportedMediaType) IsClientError ¶
func (o *GetPurchaseOrderUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get purchase order unsupported media type response has a 4xx status code
func (*GetPurchaseOrderUnsupportedMediaType) IsCode ¶
func (o *GetPurchaseOrderUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get purchase order unsupported media type response a status code equal to that given
func (*GetPurchaseOrderUnsupportedMediaType) IsRedirect ¶
func (o *GetPurchaseOrderUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get purchase order unsupported media type response has a 3xx status code
func (*GetPurchaseOrderUnsupportedMediaType) IsServerError ¶
func (o *GetPurchaseOrderUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get purchase order unsupported media type response has a 5xx status code
func (*GetPurchaseOrderUnsupportedMediaType) IsSuccess ¶
func (o *GetPurchaseOrderUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get purchase order unsupported media type response has a 2xx status code
func (*GetPurchaseOrderUnsupportedMediaType) String ¶
func (o *GetPurchaseOrderUnsupportedMediaType) String() string
type GetPurchaseOrdersBadRequest ¶
type GetPurchaseOrdersBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetPurchaseOrdersBadRequest ¶
func NewGetPurchaseOrdersBadRequest() *GetPurchaseOrdersBadRequest
NewGetPurchaseOrdersBadRequest creates a GetPurchaseOrdersBadRequest with default headers values
func (*GetPurchaseOrdersBadRequest) Error ¶
func (o *GetPurchaseOrdersBadRequest) Error() string
func (*GetPurchaseOrdersBadRequest) GetPayload ¶
func (o *GetPurchaseOrdersBadRequest) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersBadRequest) IsClientError ¶
func (o *GetPurchaseOrdersBadRequest) IsClientError() bool
IsClientError returns true when this get purchase orders bad request response has a 4xx status code
func (*GetPurchaseOrdersBadRequest) IsCode ¶
func (o *GetPurchaseOrdersBadRequest) IsCode(code int) bool
IsCode returns true when this get purchase orders bad request response a status code equal to that given
func (*GetPurchaseOrdersBadRequest) IsRedirect ¶
func (o *GetPurchaseOrdersBadRequest) IsRedirect() bool
IsRedirect returns true when this get purchase orders bad request response has a 3xx status code
func (*GetPurchaseOrdersBadRequest) IsServerError ¶
func (o *GetPurchaseOrdersBadRequest) IsServerError() bool
IsServerError returns true when this get purchase orders bad request response has a 5xx status code
func (*GetPurchaseOrdersBadRequest) IsSuccess ¶
func (o *GetPurchaseOrdersBadRequest) IsSuccess() bool
IsSuccess returns true when this get purchase orders bad request response has a 2xx status code
func (*GetPurchaseOrdersBadRequest) String ¶
func (o *GetPurchaseOrdersBadRequest) String() string
type GetPurchaseOrdersForbidden ¶
type GetPurchaseOrdersForbidden 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 *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersForbidden 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 NewGetPurchaseOrdersForbidden ¶
func NewGetPurchaseOrdersForbidden() *GetPurchaseOrdersForbidden
NewGetPurchaseOrdersForbidden creates a GetPurchaseOrdersForbidden with default headers values
func (*GetPurchaseOrdersForbidden) Error ¶
func (o *GetPurchaseOrdersForbidden) Error() string
func (*GetPurchaseOrdersForbidden) GetPayload ¶
func (o *GetPurchaseOrdersForbidden) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersForbidden) IsClientError ¶
func (o *GetPurchaseOrdersForbidden) IsClientError() bool
IsClientError returns true when this get purchase orders forbidden response has a 4xx status code
func (*GetPurchaseOrdersForbidden) IsCode ¶
func (o *GetPurchaseOrdersForbidden) IsCode(code int) bool
IsCode returns true when this get purchase orders forbidden response a status code equal to that given
func (*GetPurchaseOrdersForbidden) IsRedirect ¶
func (o *GetPurchaseOrdersForbidden) IsRedirect() bool
IsRedirect returns true when this get purchase orders forbidden response has a 3xx status code
func (*GetPurchaseOrdersForbidden) IsServerError ¶
func (o *GetPurchaseOrdersForbidden) IsServerError() bool
IsServerError returns true when this get purchase orders forbidden response has a 5xx status code
func (*GetPurchaseOrdersForbidden) IsSuccess ¶
func (o *GetPurchaseOrdersForbidden) IsSuccess() bool
IsSuccess returns true when this get purchase orders forbidden response has a 2xx status code
func (*GetPurchaseOrdersForbidden) String ¶
func (o *GetPurchaseOrdersForbidden) String() string
type GetPurchaseOrdersInternalServerError ¶
type GetPurchaseOrdersInternalServerError 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 *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetPurchaseOrdersInternalServerError ¶
func NewGetPurchaseOrdersInternalServerError() *GetPurchaseOrdersInternalServerError
NewGetPurchaseOrdersInternalServerError creates a GetPurchaseOrdersInternalServerError with default headers values
func (*GetPurchaseOrdersInternalServerError) Error ¶
func (o *GetPurchaseOrdersInternalServerError) Error() string
func (*GetPurchaseOrdersInternalServerError) GetPayload ¶
func (o *GetPurchaseOrdersInternalServerError) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersInternalServerError) IsClientError ¶
func (o *GetPurchaseOrdersInternalServerError) IsClientError() bool
IsClientError returns true when this get purchase orders internal server error response has a 4xx status code
func (*GetPurchaseOrdersInternalServerError) IsCode ¶
func (o *GetPurchaseOrdersInternalServerError) IsCode(code int) bool
IsCode returns true when this get purchase orders internal server error response a status code equal to that given
func (*GetPurchaseOrdersInternalServerError) IsRedirect ¶
func (o *GetPurchaseOrdersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get purchase orders internal server error response has a 3xx status code
func (*GetPurchaseOrdersInternalServerError) IsServerError ¶
func (o *GetPurchaseOrdersInternalServerError) IsServerError() bool
IsServerError returns true when this get purchase orders internal server error response has a 5xx status code
func (*GetPurchaseOrdersInternalServerError) IsSuccess ¶
func (o *GetPurchaseOrdersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get purchase orders internal server error response has a 2xx status code
func (*GetPurchaseOrdersInternalServerError) String ¶
func (o *GetPurchaseOrdersInternalServerError) String() string
type GetPurchaseOrdersNotFound ¶
type GetPurchaseOrdersNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetPurchaseOrdersNotFound ¶
func NewGetPurchaseOrdersNotFound() *GetPurchaseOrdersNotFound
NewGetPurchaseOrdersNotFound creates a GetPurchaseOrdersNotFound with default headers values
func (*GetPurchaseOrdersNotFound) Error ¶
func (o *GetPurchaseOrdersNotFound) Error() string
func (*GetPurchaseOrdersNotFound) GetPayload ¶
func (o *GetPurchaseOrdersNotFound) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersNotFound) IsClientError ¶
func (o *GetPurchaseOrdersNotFound) IsClientError() bool
IsClientError returns true when this get purchase orders not found response has a 4xx status code
func (*GetPurchaseOrdersNotFound) IsCode ¶
func (o *GetPurchaseOrdersNotFound) IsCode(code int) bool
IsCode returns true when this get purchase orders not found response a status code equal to that given
func (*GetPurchaseOrdersNotFound) IsRedirect ¶
func (o *GetPurchaseOrdersNotFound) IsRedirect() bool
IsRedirect returns true when this get purchase orders not found response has a 3xx status code
func (*GetPurchaseOrdersNotFound) IsServerError ¶
func (o *GetPurchaseOrdersNotFound) IsServerError() bool
IsServerError returns true when this get purchase orders not found response has a 5xx status code
func (*GetPurchaseOrdersNotFound) IsSuccess ¶
func (o *GetPurchaseOrdersNotFound) IsSuccess() bool
IsSuccess returns true when this get purchase orders not found response has a 2xx status code
func (*GetPurchaseOrdersNotFound) String ¶
func (o *GetPurchaseOrdersNotFound) String() string
type GetPurchaseOrdersOK ¶
type GetPurchaseOrdersOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersOK describes a response with status code 200, with default header values.
Success.
func NewGetPurchaseOrdersOK ¶
func NewGetPurchaseOrdersOK() *GetPurchaseOrdersOK
NewGetPurchaseOrdersOK creates a GetPurchaseOrdersOK with default headers values
func (*GetPurchaseOrdersOK) Error ¶
func (o *GetPurchaseOrdersOK) Error() string
func (*GetPurchaseOrdersOK) GetPayload ¶
func (o *GetPurchaseOrdersOK) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersOK) IsClientError ¶
func (o *GetPurchaseOrdersOK) IsClientError() bool
IsClientError returns true when this get purchase orders o k response has a 4xx status code
func (*GetPurchaseOrdersOK) IsCode ¶
func (o *GetPurchaseOrdersOK) IsCode(code int) bool
IsCode returns true when this get purchase orders o k response a status code equal to that given
func (*GetPurchaseOrdersOK) IsRedirect ¶
func (o *GetPurchaseOrdersOK) IsRedirect() bool
IsRedirect returns true when this get purchase orders o k response has a 3xx status code
func (*GetPurchaseOrdersOK) IsServerError ¶
func (o *GetPurchaseOrdersOK) IsServerError() bool
IsServerError returns true when this get purchase orders o k response has a 5xx status code
func (*GetPurchaseOrdersOK) IsSuccess ¶
func (o *GetPurchaseOrdersOK) IsSuccess() bool
IsSuccess returns true when this get purchase orders o k response has a 2xx status code
func (*GetPurchaseOrdersOK) String ¶
func (o *GetPurchaseOrdersOK) String() string
type GetPurchaseOrdersParams ¶
type GetPurchaseOrdersParams struct { /* ChangedAfter. Purchase orders that changed after this timestamp will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ ChangedAfter *strfmt.DateTime /* ChangedBefore. Purchase orders that changed before this timestamp will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ ChangedBefore *strfmt.DateTime /* CreatedAfter. Purchase orders that became available after this time will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedAfter *strfmt.DateTime /* CreatedBefore. Purchase orders that became available before this time will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedBefore *strfmt.DateTime /* IncludeDetails. When true, returns purchase orders with complete details. Otherwise, only purchase order numbers are returned. Default value is true. Format: boolean */ IncludeDetails *string /* IsPOChanged. When true, returns purchase orders which were modified after the order was placed. Vendors are required to pull the changed purchase order and fulfill the updated purchase order and not the original one. Default value is false. Format: boolean */ IsPOChanged *string /* Limit. The limit to the number of records returned. Default value is 100 records. Format: int64 */ Limit *int64 /* NextToken. Used for pagination when there is more purchase orders than the specified result size limit. The token value is returned in the previous API call */ NextToken *string /* OrderingVendorCode. Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in the filter, all purchase orders for all of the vendor codes that exist in the vendor group used to authorize the API client application are returned. */ OrderingVendorCode *string /* PoItemState. Current state of the purchase order item. If this value is Cancelled, this API will return purchase orders which have one or more items cancelled by Amazon with updated item quantity as zero. */ PoItemState *string /* PurchaseOrderState. Filters purchase orders based on the purchase order state. */ PurchaseOrderState *string /* SortOrder. Sort in ascending or descending order by purchase order creation date. */ SortOrder *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurchaseOrdersParams contains all the parameters to send to the API endpoint
for the get purchase orders operation. Typically these are written to a http.Request.
func NewGetPurchaseOrdersParams ¶
func NewGetPurchaseOrdersParams() *GetPurchaseOrdersParams
NewGetPurchaseOrdersParams creates a new GetPurchaseOrdersParams 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 NewGetPurchaseOrdersParamsWithContext ¶
func NewGetPurchaseOrdersParamsWithContext(ctx context.Context) *GetPurchaseOrdersParams
NewGetPurchaseOrdersParamsWithContext creates a new GetPurchaseOrdersParams object with the ability to set a context for a request.
func NewGetPurchaseOrdersParamsWithHTTPClient ¶
func NewGetPurchaseOrdersParamsWithHTTPClient(client *http.Client) *GetPurchaseOrdersParams
NewGetPurchaseOrdersParamsWithHTTPClient creates a new GetPurchaseOrdersParams object with the ability to set a custom HTTPClient for a request.
func NewGetPurchaseOrdersParamsWithTimeout ¶
func NewGetPurchaseOrdersParamsWithTimeout(timeout time.Duration) *GetPurchaseOrdersParams
NewGetPurchaseOrdersParamsWithTimeout creates a new GetPurchaseOrdersParams object with the ability to set a timeout on a request.
func (*GetPurchaseOrdersParams) SetChangedAfter ¶
func (o *GetPurchaseOrdersParams) SetChangedAfter(changedAfter *strfmt.DateTime)
SetChangedAfter adds the changedAfter to the get purchase orders params
func (*GetPurchaseOrdersParams) SetChangedBefore ¶
func (o *GetPurchaseOrdersParams) SetChangedBefore(changedBefore *strfmt.DateTime)
SetChangedBefore adds the changedBefore to the get purchase orders params
func (*GetPurchaseOrdersParams) SetContext ¶
func (o *GetPurchaseOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the get purchase orders params
func (*GetPurchaseOrdersParams) SetCreatedAfter ¶
func (o *GetPurchaseOrdersParams) SetCreatedAfter(createdAfter *strfmt.DateTime)
SetCreatedAfter adds the createdAfter to the get purchase orders params
func (*GetPurchaseOrdersParams) SetCreatedBefore ¶
func (o *GetPurchaseOrdersParams) SetCreatedBefore(createdBefore *strfmt.DateTime)
SetCreatedBefore adds the createdBefore to the get purchase orders params
func (*GetPurchaseOrdersParams) SetDefaults ¶
func (o *GetPurchaseOrdersParams) SetDefaults()
SetDefaults hydrates default values in the get purchase orders params (not the query body).
All values with no default are reset to their zero value.
func (*GetPurchaseOrdersParams) SetHTTPClient ¶
func (o *GetPurchaseOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purchase orders params
func (*GetPurchaseOrdersParams) SetIncludeDetails ¶
func (o *GetPurchaseOrdersParams) SetIncludeDetails(includeDetails *string)
SetIncludeDetails adds the includeDetails to the get purchase orders params
func (*GetPurchaseOrdersParams) SetIsPOChanged ¶
func (o *GetPurchaseOrdersParams) SetIsPOChanged(isPOChanged *string)
SetIsPOChanged adds the isPOChanged to the get purchase orders params
func (*GetPurchaseOrdersParams) SetLimit ¶
func (o *GetPurchaseOrdersParams) SetLimit(limit *int64)
SetLimit adds the limit to the get purchase orders params
func (*GetPurchaseOrdersParams) SetNextToken ¶
func (o *GetPurchaseOrdersParams) SetNextToken(nextToken *string)
SetNextToken adds the nextToken to the get purchase orders params
func (*GetPurchaseOrdersParams) SetOrderingVendorCode ¶
func (o *GetPurchaseOrdersParams) SetOrderingVendorCode(orderingVendorCode *string)
SetOrderingVendorCode adds the orderingVendorCode to the get purchase orders params
func (*GetPurchaseOrdersParams) SetPoItemState ¶
func (o *GetPurchaseOrdersParams) SetPoItemState(poItemState *string)
SetPoItemState adds the poItemState to the get purchase orders params
func (*GetPurchaseOrdersParams) SetPurchaseOrderState ¶
func (o *GetPurchaseOrdersParams) SetPurchaseOrderState(purchaseOrderState *string)
SetPurchaseOrderState adds the purchaseOrderState to the get purchase orders params
func (*GetPurchaseOrdersParams) SetSortOrder ¶
func (o *GetPurchaseOrdersParams) SetSortOrder(sortOrder *string)
SetSortOrder adds the sortOrder to the get purchase orders params
func (*GetPurchaseOrdersParams) SetTimeout ¶
func (o *GetPurchaseOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purchase orders params
func (*GetPurchaseOrdersParams) WithChangedAfter ¶
func (o *GetPurchaseOrdersParams) WithChangedAfter(changedAfter *strfmt.DateTime) *GetPurchaseOrdersParams
WithChangedAfter adds the changedAfter to the get purchase orders params
func (*GetPurchaseOrdersParams) WithChangedBefore ¶
func (o *GetPurchaseOrdersParams) WithChangedBefore(changedBefore *strfmt.DateTime) *GetPurchaseOrdersParams
WithChangedBefore adds the changedBefore to the get purchase orders params
func (*GetPurchaseOrdersParams) WithContext ¶
func (o *GetPurchaseOrdersParams) WithContext(ctx context.Context) *GetPurchaseOrdersParams
WithContext adds the context to the get purchase orders params
func (*GetPurchaseOrdersParams) WithCreatedAfter ¶
func (o *GetPurchaseOrdersParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetPurchaseOrdersParams
WithCreatedAfter adds the createdAfter to the get purchase orders params
func (*GetPurchaseOrdersParams) WithCreatedBefore ¶
func (o *GetPurchaseOrdersParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetPurchaseOrdersParams
WithCreatedBefore adds the createdBefore to the get purchase orders params
func (*GetPurchaseOrdersParams) WithDefaults ¶
func (o *GetPurchaseOrdersParams) WithDefaults() *GetPurchaseOrdersParams
WithDefaults hydrates default values in the get purchase orders params (not the query body).
All values with no default are reset to their zero value.
func (*GetPurchaseOrdersParams) WithHTTPClient ¶
func (o *GetPurchaseOrdersParams) WithHTTPClient(client *http.Client) *GetPurchaseOrdersParams
WithHTTPClient adds the HTTPClient to the get purchase orders params
func (*GetPurchaseOrdersParams) WithIncludeDetails ¶
func (o *GetPurchaseOrdersParams) WithIncludeDetails(includeDetails *string) *GetPurchaseOrdersParams
WithIncludeDetails adds the includeDetails to the get purchase orders params
func (*GetPurchaseOrdersParams) WithIsPOChanged ¶
func (o *GetPurchaseOrdersParams) WithIsPOChanged(isPOChanged *string) *GetPurchaseOrdersParams
WithIsPOChanged adds the isPOChanged to the get purchase orders params
func (*GetPurchaseOrdersParams) WithLimit ¶
func (o *GetPurchaseOrdersParams) WithLimit(limit *int64) *GetPurchaseOrdersParams
WithLimit adds the limit to the get purchase orders params
func (*GetPurchaseOrdersParams) WithNextToken ¶
func (o *GetPurchaseOrdersParams) WithNextToken(nextToken *string) *GetPurchaseOrdersParams
WithNextToken adds the nextToken to the get purchase orders params
func (*GetPurchaseOrdersParams) WithOrderingVendorCode ¶
func (o *GetPurchaseOrdersParams) WithOrderingVendorCode(orderingVendorCode *string) *GetPurchaseOrdersParams
WithOrderingVendorCode adds the orderingVendorCode to the get purchase orders params
func (*GetPurchaseOrdersParams) WithPoItemState ¶
func (o *GetPurchaseOrdersParams) WithPoItemState(poItemState *string) *GetPurchaseOrdersParams
WithPoItemState adds the poItemState to the get purchase orders params
func (*GetPurchaseOrdersParams) WithPurchaseOrderState ¶
func (o *GetPurchaseOrdersParams) WithPurchaseOrderState(purchaseOrderState *string) *GetPurchaseOrdersParams
WithPurchaseOrderState adds the purchaseOrderState to the get purchase orders params
func (*GetPurchaseOrdersParams) WithSortOrder ¶
func (o *GetPurchaseOrdersParams) WithSortOrder(sortOrder *string) *GetPurchaseOrdersParams
WithSortOrder adds the sortOrder to the get purchase orders params
func (*GetPurchaseOrdersParams) WithTimeout ¶
func (o *GetPurchaseOrdersParams) WithTimeout(timeout time.Duration) *GetPurchaseOrdersParams
WithTimeout adds the timeout to the get purchase orders params
func (*GetPurchaseOrdersParams) WriteToRequest ¶
func (o *GetPurchaseOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurchaseOrdersReader ¶
type GetPurchaseOrdersReader struct {
// contains filtered or unexported fields
}
GetPurchaseOrdersReader is a Reader for the GetPurchaseOrders structure.
func (*GetPurchaseOrdersReader) ReadResponse ¶
func (o *GetPurchaseOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurchaseOrdersServiceUnavailable ¶
type GetPurchaseOrdersServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetPurchaseOrdersServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetPurchaseOrdersServiceUnavailable ¶
func NewGetPurchaseOrdersServiceUnavailable() *GetPurchaseOrdersServiceUnavailable
NewGetPurchaseOrdersServiceUnavailable creates a GetPurchaseOrdersServiceUnavailable with default headers values
func (*GetPurchaseOrdersServiceUnavailable) Error ¶
func (o *GetPurchaseOrdersServiceUnavailable) Error() string
func (*GetPurchaseOrdersServiceUnavailable) GetPayload ¶
func (o *GetPurchaseOrdersServiceUnavailable) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersServiceUnavailable) IsClientError ¶
func (o *GetPurchaseOrdersServiceUnavailable) IsClientError() bool
IsClientError returns true when this get purchase orders service unavailable response has a 4xx status code
func (*GetPurchaseOrdersServiceUnavailable) IsCode ¶
func (o *GetPurchaseOrdersServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get purchase orders service unavailable response a status code equal to that given
func (*GetPurchaseOrdersServiceUnavailable) IsRedirect ¶
func (o *GetPurchaseOrdersServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get purchase orders service unavailable response has a 3xx status code
func (*GetPurchaseOrdersServiceUnavailable) IsServerError ¶
func (o *GetPurchaseOrdersServiceUnavailable) IsServerError() bool
IsServerError returns true when this get purchase orders service unavailable response has a 5xx status code
func (*GetPurchaseOrdersServiceUnavailable) IsSuccess ¶
func (o *GetPurchaseOrdersServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get purchase orders service unavailable response has a 2xx status code
func (*GetPurchaseOrdersServiceUnavailable) String ¶
func (o *GetPurchaseOrdersServiceUnavailable) String() string
type GetPurchaseOrdersStatusBadRequest ¶
type GetPurchaseOrdersStatusBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetPurchaseOrdersStatusBadRequest ¶
func NewGetPurchaseOrdersStatusBadRequest() *GetPurchaseOrdersStatusBadRequest
NewGetPurchaseOrdersStatusBadRequest creates a GetPurchaseOrdersStatusBadRequest with default headers values
func (*GetPurchaseOrdersStatusBadRequest) Error ¶
func (o *GetPurchaseOrdersStatusBadRequest) Error() string
func (*GetPurchaseOrdersStatusBadRequest) GetPayload ¶
func (o *GetPurchaseOrdersStatusBadRequest) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusBadRequest) IsClientError ¶
func (o *GetPurchaseOrdersStatusBadRequest) IsClientError() bool
IsClientError returns true when this get purchase orders status bad request response has a 4xx status code
func (*GetPurchaseOrdersStatusBadRequest) IsCode ¶
func (o *GetPurchaseOrdersStatusBadRequest) IsCode(code int) bool
IsCode returns true when this get purchase orders status bad request response a status code equal to that given
func (*GetPurchaseOrdersStatusBadRequest) IsRedirect ¶
func (o *GetPurchaseOrdersStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this get purchase orders status bad request response has a 3xx status code
func (*GetPurchaseOrdersStatusBadRequest) IsServerError ¶
func (o *GetPurchaseOrdersStatusBadRequest) IsServerError() bool
IsServerError returns true when this get purchase orders status bad request response has a 5xx status code
func (*GetPurchaseOrdersStatusBadRequest) IsSuccess ¶
func (o *GetPurchaseOrdersStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this get purchase orders status bad request response has a 2xx status code
func (*GetPurchaseOrdersStatusBadRequest) String ¶
func (o *GetPurchaseOrdersStatusBadRequest) String() string
type GetPurchaseOrdersStatusForbidden ¶
type GetPurchaseOrdersStatusForbidden 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 *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusForbidden 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 NewGetPurchaseOrdersStatusForbidden ¶
func NewGetPurchaseOrdersStatusForbidden() *GetPurchaseOrdersStatusForbidden
NewGetPurchaseOrdersStatusForbidden creates a GetPurchaseOrdersStatusForbidden with default headers values
func (*GetPurchaseOrdersStatusForbidden) Error ¶
func (o *GetPurchaseOrdersStatusForbidden) Error() string
func (*GetPurchaseOrdersStatusForbidden) GetPayload ¶
func (o *GetPurchaseOrdersStatusForbidden) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusForbidden) IsClientError ¶
func (o *GetPurchaseOrdersStatusForbidden) IsClientError() bool
IsClientError returns true when this get purchase orders status forbidden response has a 4xx status code
func (*GetPurchaseOrdersStatusForbidden) IsCode ¶
func (o *GetPurchaseOrdersStatusForbidden) IsCode(code int) bool
IsCode returns true when this get purchase orders status forbidden response a status code equal to that given
func (*GetPurchaseOrdersStatusForbidden) IsRedirect ¶
func (o *GetPurchaseOrdersStatusForbidden) IsRedirect() bool
IsRedirect returns true when this get purchase orders status forbidden response has a 3xx status code
func (*GetPurchaseOrdersStatusForbidden) IsServerError ¶
func (o *GetPurchaseOrdersStatusForbidden) IsServerError() bool
IsServerError returns true when this get purchase orders status forbidden response has a 5xx status code
func (*GetPurchaseOrdersStatusForbidden) IsSuccess ¶
func (o *GetPurchaseOrdersStatusForbidden) IsSuccess() bool
IsSuccess returns true when this get purchase orders status forbidden response has a 2xx status code
func (*GetPurchaseOrdersStatusForbidden) String ¶
func (o *GetPurchaseOrdersStatusForbidden) String() string
type GetPurchaseOrdersStatusInternalServerError ¶
type GetPurchaseOrdersStatusInternalServerError 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 *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetPurchaseOrdersStatusInternalServerError ¶
func NewGetPurchaseOrdersStatusInternalServerError() *GetPurchaseOrdersStatusInternalServerError
NewGetPurchaseOrdersStatusInternalServerError creates a GetPurchaseOrdersStatusInternalServerError with default headers values
func (*GetPurchaseOrdersStatusInternalServerError) Error ¶
func (o *GetPurchaseOrdersStatusInternalServerError) Error() string
func (*GetPurchaseOrdersStatusInternalServerError) GetPayload ¶
func (o *GetPurchaseOrdersStatusInternalServerError) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusInternalServerError) IsClientError ¶
func (o *GetPurchaseOrdersStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get purchase orders status internal server error response has a 4xx status code
func (*GetPurchaseOrdersStatusInternalServerError) IsCode ¶
func (o *GetPurchaseOrdersStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get purchase orders status internal server error response a status code equal to that given
func (*GetPurchaseOrdersStatusInternalServerError) IsRedirect ¶
func (o *GetPurchaseOrdersStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get purchase orders status internal server error response has a 3xx status code
func (*GetPurchaseOrdersStatusInternalServerError) IsServerError ¶
func (o *GetPurchaseOrdersStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get purchase orders status internal server error response has a 5xx status code
func (*GetPurchaseOrdersStatusInternalServerError) IsSuccess ¶
func (o *GetPurchaseOrdersStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get purchase orders status internal server error response has a 2xx status code
func (*GetPurchaseOrdersStatusInternalServerError) String ¶
func (o *GetPurchaseOrdersStatusInternalServerError) String() string
type GetPurchaseOrdersStatusNotFound ¶
type GetPurchaseOrdersStatusNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetPurchaseOrdersStatusNotFound ¶
func NewGetPurchaseOrdersStatusNotFound() *GetPurchaseOrdersStatusNotFound
NewGetPurchaseOrdersStatusNotFound creates a GetPurchaseOrdersStatusNotFound with default headers values
func (*GetPurchaseOrdersStatusNotFound) Error ¶
func (o *GetPurchaseOrdersStatusNotFound) Error() string
func (*GetPurchaseOrdersStatusNotFound) GetPayload ¶
func (o *GetPurchaseOrdersStatusNotFound) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusNotFound) IsClientError ¶
func (o *GetPurchaseOrdersStatusNotFound) IsClientError() bool
IsClientError returns true when this get purchase orders status not found response has a 4xx status code
func (*GetPurchaseOrdersStatusNotFound) IsCode ¶
func (o *GetPurchaseOrdersStatusNotFound) IsCode(code int) bool
IsCode returns true when this get purchase orders status not found response a status code equal to that given
func (*GetPurchaseOrdersStatusNotFound) IsRedirect ¶
func (o *GetPurchaseOrdersStatusNotFound) IsRedirect() bool
IsRedirect returns true when this get purchase orders status not found response has a 3xx status code
func (*GetPurchaseOrdersStatusNotFound) IsServerError ¶
func (o *GetPurchaseOrdersStatusNotFound) IsServerError() bool
IsServerError returns true when this get purchase orders status not found response has a 5xx status code
func (*GetPurchaseOrdersStatusNotFound) IsSuccess ¶
func (o *GetPurchaseOrdersStatusNotFound) IsSuccess() bool
IsSuccess returns true when this get purchase orders status not found response has a 2xx status code
func (*GetPurchaseOrdersStatusNotFound) String ¶
func (o *GetPurchaseOrdersStatusNotFound) String() string
type GetPurchaseOrdersStatusOK ¶
type GetPurchaseOrdersStatusOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusOK describes a response with status code 200, with default header values.
Success.
func NewGetPurchaseOrdersStatusOK ¶
func NewGetPurchaseOrdersStatusOK() *GetPurchaseOrdersStatusOK
NewGetPurchaseOrdersStatusOK creates a GetPurchaseOrdersStatusOK with default headers values
func (*GetPurchaseOrdersStatusOK) Error ¶
func (o *GetPurchaseOrdersStatusOK) Error() string
func (*GetPurchaseOrdersStatusOK) GetPayload ¶
func (o *GetPurchaseOrdersStatusOK) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusOK) IsClientError ¶
func (o *GetPurchaseOrdersStatusOK) IsClientError() bool
IsClientError returns true when this get purchase orders status o k response has a 4xx status code
func (*GetPurchaseOrdersStatusOK) IsCode ¶
func (o *GetPurchaseOrdersStatusOK) IsCode(code int) bool
IsCode returns true when this get purchase orders status o k response a status code equal to that given
func (*GetPurchaseOrdersStatusOK) IsRedirect ¶
func (o *GetPurchaseOrdersStatusOK) IsRedirect() bool
IsRedirect returns true when this get purchase orders status o k response has a 3xx status code
func (*GetPurchaseOrdersStatusOK) IsServerError ¶
func (o *GetPurchaseOrdersStatusOK) IsServerError() bool
IsServerError returns true when this get purchase orders status o k response has a 5xx status code
func (*GetPurchaseOrdersStatusOK) IsSuccess ¶
func (o *GetPurchaseOrdersStatusOK) IsSuccess() bool
IsSuccess returns true when this get purchase orders status o k response has a 2xx status code
func (*GetPurchaseOrdersStatusOK) String ¶
func (o *GetPurchaseOrdersStatusOK) String() string
type GetPurchaseOrdersStatusParams ¶
type GetPurchaseOrdersStatusParams struct { /* CreatedAfter. Purchase orders that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedAfter *strfmt.DateTime /* CreatedBefore. Purchase orders that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedBefore *strfmt.DateTime /* ItemConfirmationStatus. Filters purchase orders based on their item confirmation status. If the item confirmation status is not included in the filter, purchase orders for all confirmation statuses are included. */ ItemConfirmationStatus *string /* ItemReceiveStatus. Filters purchase orders based on the purchase order's item receive status. If the item receive status is not included in the filter, purchase orders for all receive statuses are included. */ ItemReceiveStatus *string /* Limit. The limit to the number of records returned. Default value is 100 records. Format: int64 */ Limit *int64 /* NextToken. Used for pagination when there are more purchase orders than the specified result size limit. */ NextToken *string /* OrderingVendorCode. Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in filter, all purchase orders for all the vendor codes that exist in the vendor group used to authorize API client application are returned. */ OrderingVendorCode *string /* PurchaseOrderNumber. Provides purchase order status for the specified purchase order number. */ PurchaseOrderNumber *string /* PurchaseOrderStatus. Filters purchase orders based on the specified purchase order status. If not included in filter, this will return purchase orders for all statuses. */ PurchaseOrderStatus *string /* ShipToPartyID. Filters purchase orders for a specific buyer's Fulfillment Center/warehouse by providing ship to location id here. This value should be same as 'shipToParty.partyId' in the purchase order. If not included in filter, this will return purchase orders for all the buyer's warehouses used for vendor group purchase orders. */ ShipToPartyID *string /* SortOrder. Sort in ascending or descending order by purchase order creation date. */ SortOrder *string /* UpdatedAfter. Purchase orders for which the last purchase order update happened after this timestamp will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ UpdatedAfter *strfmt.DateTime /* UpdatedBefore. Purchase orders for which the last purchase order update happened before this timestamp will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ UpdatedBefore *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPurchaseOrdersStatusParams contains all the parameters to send to the API endpoint
for the get purchase orders status operation. Typically these are written to a http.Request.
func NewGetPurchaseOrdersStatusParams ¶
func NewGetPurchaseOrdersStatusParams() *GetPurchaseOrdersStatusParams
NewGetPurchaseOrdersStatusParams creates a new GetPurchaseOrdersStatusParams 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 NewGetPurchaseOrdersStatusParamsWithContext ¶
func NewGetPurchaseOrdersStatusParamsWithContext(ctx context.Context) *GetPurchaseOrdersStatusParams
NewGetPurchaseOrdersStatusParamsWithContext creates a new GetPurchaseOrdersStatusParams object with the ability to set a context for a request.
func NewGetPurchaseOrdersStatusParamsWithHTTPClient ¶
func NewGetPurchaseOrdersStatusParamsWithHTTPClient(client *http.Client) *GetPurchaseOrdersStatusParams
NewGetPurchaseOrdersStatusParamsWithHTTPClient creates a new GetPurchaseOrdersStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetPurchaseOrdersStatusParamsWithTimeout ¶
func NewGetPurchaseOrdersStatusParamsWithTimeout(timeout time.Duration) *GetPurchaseOrdersStatusParams
NewGetPurchaseOrdersStatusParamsWithTimeout creates a new GetPurchaseOrdersStatusParams object with the ability to set a timeout on a request.
func (*GetPurchaseOrdersStatusParams) SetContext ¶
func (o *GetPurchaseOrdersStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetCreatedAfter ¶
func (o *GetPurchaseOrdersStatusParams) SetCreatedAfter(createdAfter *strfmt.DateTime)
SetCreatedAfter adds the createdAfter to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetCreatedBefore ¶
func (o *GetPurchaseOrdersStatusParams) SetCreatedBefore(createdBefore *strfmt.DateTime)
SetCreatedBefore adds the createdBefore to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetDefaults ¶
func (o *GetPurchaseOrdersStatusParams) SetDefaults()
SetDefaults hydrates default values in the get purchase orders status params (not the query body).
All values with no default are reset to their zero value.
func (*GetPurchaseOrdersStatusParams) SetHTTPClient ¶
func (o *GetPurchaseOrdersStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetItemConfirmationStatus ¶
func (o *GetPurchaseOrdersStatusParams) SetItemConfirmationStatus(itemConfirmationStatus *string)
SetItemConfirmationStatus adds the itemConfirmationStatus to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetItemReceiveStatus ¶
func (o *GetPurchaseOrdersStatusParams) SetItemReceiveStatus(itemReceiveStatus *string)
SetItemReceiveStatus adds the itemReceiveStatus to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetLimit ¶
func (o *GetPurchaseOrdersStatusParams) SetLimit(limit *int64)
SetLimit adds the limit to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetNextToken ¶
func (o *GetPurchaseOrdersStatusParams) SetNextToken(nextToken *string)
SetNextToken adds the nextToken to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetOrderingVendorCode ¶
func (o *GetPurchaseOrdersStatusParams) SetOrderingVendorCode(orderingVendorCode *string)
SetOrderingVendorCode adds the orderingVendorCode to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetPurchaseOrderNumber ¶
func (o *GetPurchaseOrdersStatusParams) SetPurchaseOrderNumber(purchaseOrderNumber *string)
SetPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetPurchaseOrderStatus ¶
func (o *GetPurchaseOrdersStatusParams) SetPurchaseOrderStatus(purchaseOrderStatus *string)
SetPurchaseOrderStatus adds the purchaseOrderStatus to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetShipToPartyID ¶
func (o *GetPurchaseOrdersStatusParams) SetShipToPartyID(shipToPartyID *string)
SetShipToPartyID adds the shipToPartyId to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetSortOrder ¶
func (o *GetPurchaseOrdersStatusParams) SetSortOrder(sortOrder *string)
SetSortOrder adds the sortOrder to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetTimeout ¶
func (o *GetPurchaseOrdersStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetUpdatedAfter ¶
func (o *GetPurchaseOrdersStatusParams) SetUpdatedAfter(updatedAfter *strfmt.DateTime)
SetUpdatedAfter adds the updatedAfter to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) SetUpdatedBefore ¶
func (o *GetPurchaseOrdersStatusParams) SetUpdatedBefore(updatedBefore *strfmt.DateTime)
SetUpdatedBefore adds the updatedBefore to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithContext ¶
func (o *GetPurchaseOrdersStatusParams) WithContext(ctx context.Context) *GetPurchaseOrdersStatusParams
WithContext adds the context to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithCreatedAfter ¶
func (o *GetPurchaseOrdersStatusParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetPurchaseOrdersStatusParams
WithCreatedAfter adds the createdAfter to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithCreatedBefore ¶
func (o *GetPurchaseOrdersStatusParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetPurchaseOrdersStatusParams
WithCreatedBefore adds the createdBefore to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithDefaults ¶
func (o *GetPurchaseOrdersStatusParams) WithDefaults() *GetPurchaseOrdersStatusParams
WithDefaults hydrates default values in the get purchase orders status params (not the query body).
All values with no default are reset to their zero value.
func (*GetPurchaseOrdersStatusParams) WithHTTPClient ¶
func (o *GetPurchaseOrdersStatusParams) WithHTTPClient(client *http.Client) *GetPurchaseOrdersStatusParams
WithHTTPClient adds the HTTPClient to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithItemConfirmationStatus ¶
func (o *GetPurchaseOrdersStatusParams) WithItemConfirmationStatus(itemConfirmationStatus *string) *GetPurchaseOrdersStatusParams
WithItemConfirmationStatus adds the itemConfirmationStatus to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithItemReceiveStatus ¶
func (o *GetPurchaseOrdersStatusParams) WithItemReceiveStatus(itemReceiveStatus *string) *GetPurchaseOrdersStatusParams
WithItemReceiveStatus adds the itemReceiveStatus to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithLimit ¶
func (o *GetPurchaseOrdersStatusParams) WithLimit(limit *int64) *GetPurchaseOrdersStatusParams
WithLimit adds the limit to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithNextToken ¶
func (o *GetPurchaseOrdersStatusParams) WithNextToken(nextToken *string) *GetPurchaseOrdersStatusParams
WithNextToken adds the nextToken to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithOrderingVendorCode ¶
func (o *GetPurchaseOrdersStatusParams) WithOrderingVendorCode(orderingVendorCode *string) *GetPurchaseOrdersStatusParams
WithOrderingVendorCode adds the orderingVendorCode to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithPurchaseOrderNumber ¶
func (o *GetPurchaseOrdersStatusParams) WithPurchaseOrderNumber(purchaseOrderNumber *string) *GetPurchaseOrdersStatusParams
WithPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithPurchaseOrderStatus ¶
func (o *GetPurchaseOrdersStatusParams) WithPurchaseOrderStatus(purchaseOrderStatus *string) *GetPurchaseOrdersStatusParams
WithPurchaseOrderStatus adds the purchaseOrderStatus to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithShipToPartyID ¶
func (o *GetPurchaseOrdersStatusParams) WithShipToPartyID(shipToPartyID *string) *GetPurchaseOrdersStatusParams
WithShipToPartyID adds the shipToPartyID to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithSortOrder ¶
func (o *GetPurchaseOrdersStatusParams) WithSortOrder(sortOrder *string) *GetPurchaseOrdersStatusParams
WithSortOrder adds the sortOrder to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithTimeout ¶
func (o *GetPurchaseOrdersStatusParams) WithTimeout(timeout time.Duration) *GetPurchaseOrdersStatusParams
WithTimeout adds the timeout to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithUpdatedAfter ¶
func (o *GetPurchaseOrdersStatusParams) WithUpdatedAfter(updatedAfter *strfmt.DateTime) *GetPurchaseOrdersStatusParams
WithUpdatedAfter adds the updatedAfter to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WithUpdatedBefore ¶
func (o *GetPurchaseOrdersStatusParams) WithUpdatedBefore(updatedBefore *strfmt.DateTime) *GetPurchaseOrdersStatusParams
WithUpdatedBefore adds the updatedBefore to the get purchase orders status params
func (*GetPurchaseOrdersStatusParams) WriteToRequest ¶
func (o *GetPurchaseOrdersStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPurchaseOrdersStatusReader ¶
type GetPurchaseOrdersStatusReader struct {
// contains filtered or unexported fields
}
GetPurchaseOrdersStatusReader is a Reader for the GetPurchaseOrdersStatus structure.
func (*GetPurchaseOrdersStatusReader) ReadResponse ¶
func (o *GetPurchaseOrdersStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPurchaseOrdersStatusServiceUnavailable ¶
type GetPurchaseOrdersStatusServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetPurchaseOrdersStatusServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetPurchaseOrdersStatusServiceUnavailable ¶
func NewGetPurchaseOrdersStatusServiceUnavailable() *GetPurchaseOrdersStatusServiceUnavailable
NewGetPurchaseOrdersStatusServiceUnavailable creates a GetPurchaseOrdersStatusServiceUnavailable with default headers values
func (*GetPurchaseOrdersStatusServiceUnavailable) Error ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) Error() string
func (*GetPurchaseOrdersStatusServiceUnavailable) GetPayload ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusServiceUnavailable) IsClientError ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) IsClientError() bool
IsClientError returns true when this get purchase orders status service unavailable response has a 4xx status code
func (*GetPurchaseOrdersStatusServiceUnavailable) IsCode ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get purchase orders status service unavailable response a status code equal to that given
func (*GetPurchaseOrdersStatusServiceUnavailable) IsRedirect ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get purchase orders status service unavailable response has a 3xx status code
func (*GetPurchaseOrdersStatusServiceUnavailable) IsServerError ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) IsServerError() bool
IsServerError returns true when this get purchase orders status service unavailable response has a 5xx status code
func (*GetPurchaseOrdersStatusServiceUnavailable) IsSuccess ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get purchase orders status service unavailable response has a 2xx status code
func (*GetPurchaseOrdersStatusServiceUnavailable) String ¶
func (o *GetPurchaseOrdersStatusServiceUnavailable) String() string
type GetPurchaseOrdersStatusTooManyRequests ¶
type GetPurchaseOrdersStatusTooManyRequests 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 *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetPurchaseOrdersStatusTooManyRequests ¶
func NewGetPurchaseOrdersStatusTooManyRequests() *GetPurchaseOrdersStatusTooManyRequests
NewGetPurchaseOrdersStatusTooManyRequests creates a GetPurchaseOrdersStatusTooManyRequests with default headers values
func (*GetPurchaseOrdersStatusTooManyRequests) Error ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) Error() string
func (*GetPurchaseOrdersStatusTooManyRequests) GetPayload ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusTooManyRequests) IsClientError ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) IsClientError() bool
IsClientError returns true when this get purchase orders status too many requests response has a 4xx status code
func (*GetPurchaseOrdersStatusTooManyRequests) IsCode ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) IsCode(code int) bool
IsCode returns true when this get purchase orders status too many requests response a status code equal to that given
func (*GetPurchaseOrdersStatusTooManyRequests) IsRedirect ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get purchase orders status too many requests response has a 3xx status code
func (*GetPurchaseOrdersStatusTooManyRequests) IsServerError ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) IsServerError() bool
IsServerError returns true when this get purchase orders status too many requests response has a 5xx status code
func (*GetPurchaseOrdersStatusTooManyRequests) IsSuccess ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get purchase orders status too many requests response has a 2xx status code
func (*GetPurchaseOrdersStatusTooManyRequests) String ¶
func (o *GetPurchaseOrdersStatusTooManyRequests) String() string
type GetPurchaseOrdersStatusUnsupportedMediaType ¶
type GetPurchaseOrdersStatusUnsupportedMediaType 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 *vendor_orders_models.GetPurchaseOrdersStatusResponse }
GetPurchaseOrdersStatusUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetPurchaseOrdersStatusUnsupportedMediaType ¶
func NewGetPurchaseOrdersStatusUnsupportedMediaType() *GetPurchaseOrdersStatusUnsupportedMediaType
NewGetPurchaseOrdersStatusUnsupportedMediaType creates a GetPurchaseOrdersStatusUnsupportedMediaType with default headers values
func (*GetPurchaseOrdersStatusUnsupportedMediaType) Error ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) Error() string
func (*GetPurchaseOrdersStatusUnsupportedMediaType) GetPayload ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) GetPayload() *vendor_orders_models.GetPurchaseOrdersStatusResponse
func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsClientError ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get purchase orders status unsupported media type response has a 4xx status code
func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsCode ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get purchase orders status unsupported media type response a status code equal to that given
func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsRedirect ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get purchase orders status unsupported media type response has a 3xx status code
func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsServerError ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get purchase orders status unsupported media type response has a 5xx status code
func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsSuccess ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get purchase orders status unsupported media type response has a 2xx status code
func (*GetPurchaseOrdersStatusUnsupportedMediaType) String ¶
func (o *GetPurchaseOrdersStatusUnsupportedMediaType) String() string
type GetPurchaseOrdersTooManyRequests ¶
type GetPurchaseOrdersTooManyRequests 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 *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetPurchaseOrdersTooManyRequests ¶
func NewGetPurchaseOrdersTooManyRequests() *GetPurchaseOrdersTooManyRequests
NewGetPurchaseOrdersTooManyRequests creates a GetPurchaseOrdersTooManyRequests with default headers values
func (*GetPurchaseOrdersTooManyRequests) Error ¶
func (o *GetPurchaseOrdersTooManyRequests) Error() string
func (*GetPurchaseOrdersTooManyRequests) GetPayload ¶
func (o *GetPurchaseOrdersTooManyRequests) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersTooManyRequests) IsClientError ¶
func (o *GetPurchaseOrdersTooManyRequests) IsClientError() bool
IsClientError returns true when this get purchase orders too many requests response has a 4xx status code
func (*GetPurchaseOrdersTooManyRequests) IsCode ¶
func (o *GetPurchaseOrdersTooManyRequests) IsCode(code int) bool
IsCode returns true when this get purchase orders too many requests response a status code equal to that given
func (*GetPurchaseOrdersTooManyRequests) IsRedirect ¶
func (o *GetPurchaseOrdersTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get purchase orders too many requests response has a 3xx status code
func (*GetPurchaseOrdersTooManyRequests) IsServerError ¶
func (o *GetPurchaseOrdersTooManyRequests) IsServerError() bool
IsServerError returns true when this get purchase orders too many requests response has a 5xx status code
func (*GetPurchaseOrdersTooManyRequests) IsSuccess ¶
func (o *GetPurchaseOrdersTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get purchase orders too many requests response has a 2xx status code
func (*GetPurchaseOrdersTooManyRequests) String ¶
func (o *GetPurchaseOrdersTooManyRequests) String() string
type GetPurchaseOrdersUnsupportedMediaType ¶
type GetPurchaseOrdersUnsupportedMediaType 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 *vendor_orders_models.GetPurchaseOrdersResponse }
GetPurchaseOrdersUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetPurchaseOrdersUnsupportedMediaType ¶
func NewGetPurchaseOrdersUnsupportedMediaType() *GetPurchaseOrdersUnsupportedMediaType
NewGetPurchaseOrdersUnsupportedMediaType creates a GetPurchaseOrdersUnsupportedMediaType with default headers values
func (*GetPurchaseOrdersUnsupportedMediaType) Error ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) Error() string
func (*GetPurchaseOrdersUnsupportedMediaType) GetPayload ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) GetPayload() *vendor_orders_models.GetPurchaseOrdersResponse
func (*GetPurchaseOrdersUnsupportedMediaType) IsClientError ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get purchase orders unsupported media type response has a 4xx status code
func (*GetPurchaseOrdersUnsupportedMediaType) IsCode ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get purchase orders unsupported media type response a status code equal to that given
func (*GetPurchaseOrdersUnsupportedMediaType) IsRedirect ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get purchase orders unsupported media type response has a 3xx status code
func (*GetPurchaseOrdersUnsupportedMediaType) IsServerError ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get purchase orders unsupported media type response has a 5xx status code
func (*GetPurchaseOrdersUnsupportedMediaType) IsSuccess ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get purchase orders unsupported media type response has a 2xx status code
func (*GetPurchaseOrdersUnsupportedMediaType) String ¶
func (o *GetPurchaseOrdersUnsupportedMediaType) String() string
type SubmitAcknowledgementAccepted ¶
type SubmitAcknowledgementAccepted struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementAccepted describes a response with status code 202, with default header values.
Success.
func NewSubmitAcknowledgementAccepted ¶
func NewSubmitAcknowledgementAccepted() *SubmitAcknowledgementAccepted
NewSubmitAcknowledgementAccepted creates a SubmitAcknowledgementAccepted with default headers values
func (*SubmitAcknowledgementAccepted) Error ¶
func (o *SubmitAcknowledgementAccepted) Error() string
func (*SubmitAcknowledgementAccepted) GetPayload ¶
func (o *SubmitAcknowledgementAccepted) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementAccepted) IsClientError ¶
func (o *SubmitAcknowledgementAccepted) IsClientError() bool
IsClientError returns true when this submit acknowledgement accepted response has a 4xx status code
func (*SubmitAcknowledgementAccepted) IsCode ¶
func (o *SubmitAcknowledgementAccepted) IsCode(code int) bool
IsCode returns true when this submit acknowledgement accepted response a status code equal to that given
func (*SubmitAcknowledgementAccepted) IsRedirect ¶
func (o *SubmitAcknowledgementAccepted) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement accepted response has a 3xx status code
func (*SubmitAcknowledgementAccepted) IsServerError ¶
func (o *SubmitAcknowledgementAccepted) IsServerError() bool
IsServerError returns true when this submit acknowledgement accepted response has a 5xx status code
func (*SubmitAcknowledgementAccepted) IsSuccess ¶
func (o *SubmitAcknowledgementAccepted) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement accepted response has a 2xx status code
func (*SubmitAcknowledgementAccepted) String ¶
func (o *SubmitAcknowledgementAccepted) String() string
type SubmitAcknowledgementBadRequest ¶
type SubmitAcknowledgementBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewSubmitAcknowledgementBadRequest ¶
func NewSubmitAcknowledgementBadRequest() *SubmitAcknowledgementBadRequest
NewSubmitAcknowledgementBadRequest creates a SubmitAcknowledgementBadRequest with default headers values
func (*SubmitAcknowledgementBadRequest) Error ¶
func (o *SubmitAcknowledgementBadRequest) Error() string
func (*SubmitAcknowledgementBadRequest) GetPayload ¶
func (o *SubmitAcknowledgementBadRequest) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementBadRequest) IsClientError ¶
func (o *SubmitAcknowledgementBadRequest) IsClientError() bool
IsClientError returns true when this submit acknowledgement bad request response has a 4xx status code
func (*SubmitAcknowledgementBadRequest) IsCode ¶
func (o *SubmitAcknowledgementBadRequest) IsCode(code int) bool
IsCode returns true when this submit acknowledgement bad request response a status code equal to that given
func (*SubmitAcknowledgementBadRequest) IsRedirect ¶
func (o *SubmitAcknowledgementBadRequest) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement bad request response has a 3xx status code
func (*SubmitAcknowledgementBadRequest) IsServerError ¶
func (o *SubmitAcknowledgementBadRequest) IsServerError() bool
IsServerError returns true when this submit acknowledgement bad request response has a 5xx status code
func (*SubmitAcknowledgementBadRequest) IsSuccess ¶
func (o *SubmitAcknowledgementBadRequest) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement bad request response has a 2xx status code
func (*SubmitAcknowledgementBadRequest) String ¶
func (o *SubmitAcknowledgementBadRequest) String() string
type SubmitAcknowledgementForbidden ¶
type SubmitAcknowledgementForbidden 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 *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementForbidden 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 NewSubmitAcknowledgementForbidden ¶
func NewSubmitAcknowledgementForbidden() *SubmitAcknowledgementForbidden
NewSubmitAcknowledgementForbidden creates a SubmitAcknowledgementForbidden with default headers values
func (*SubmitAcknowledgementForbidden) Error ¶
func (o *SubmitAcknowledgementForbidden) Error() string
func (*SubmitAcknowledgementForbidden) GetPayload ¶
func (o *SubmitAcknowledgementForbidden) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementForbidden) IsClientError ¶
func (o *SubmitAcknowledgementForbidden) IsClientError() bool
IsClientError returns true when this submit acknowledgement forbidden response has a 4xx status code
func (*SubmitAcknowledgementForbidden) IsCode ¶
func (o *SubmitAcknowledgementForbidden) IsCode(code int) bool
IsCode returns true when this submit acknowledgement forbidden response a status code equal to that given
func (*SubmitAcknowledgementForbidden) IsRedirect ¶
func (o *SubmitAcknowledgementForbidden) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement forbidden response has a 3xx status code
func (*SubmitAcknowledgementForbidden) IsServerError ¶
func (o *SubmitAcknowledgementForbidden) IsServerError() bool
IsServerError returns true when this submit acknowledgement forbidden response has a 5xx status code
func (*SubmitAcknowledgementForbidden) IsSuccess ¶
func (o *SubmitAcknowledgementForbidden) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement forbidden response has a 2xx status code
func (*SubmitAcknowledgementForbidden) String ¶
func (o *SubmitAcknowledgementForbidden) String() string
type SubmitAcknowledgementInternalServerError ¶
type SubmitAcknowledgementInternalServerError 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 *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewSubmitAcknowledgementInternalServerError ¶
func NewSubmitAcknowledgementInternalServerError() *SubmitAcknowledgementInternalServerError
NewSubmitAcknowledgementInternalServerError creates a SubmitAcknowledgementInternalServerError with default headers values
func (*SubmitAcknowledgementInternalServerError) Error ¶
func (o *SubmitAcknowledgementInternalServerError) Error() string
func (*SubmitAcknowledgementInternalServerError) GetPayload ¶
func (o *SubmitAcknowledgementInternalServerError) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementInternalServerError) IsClientError ¶
func (o *SubmitAcknowledgementInternalServerError) IsClientError() bool
IsClientError returns true when this submit acknowledgement internal server error response has a 4xx status code
func (*SubmitAcknowledgementInternalServerError) IsCode ¶
func (o *SubmitAcknowledgementInternalServerError) IsCode(code int) bool
IsCode returns true when this submit acknowledgement internal server error response a status code equal to that given
func (*SubmitAcknowledgementInternalServerError) IsRedirect ¶
func (o *SubmitAcknowledgementInternalServerError) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement internal server error response has a 3xx status code
func (*SubmitAcknowledgementInternalServerError) IsServerError ¶
func (o *SubmitAcknowledgementInternalServerError) IsServerError() bool
IsServerError returns true when this submit acknowledgement internal server error response has a 5xx status code
func (*SubmitAcknowledgementInternalServerError) IsSuccess ¶
func (o *SubmitAcknowledgementInternalServerError) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement internal server error response has a 2xx status code
func (*SubmitAcknowledgementInternalServerError) String ¶
func (o *SubmitAcknowledgementInternalServerError) String() string
type SubmitAcknowledgementNotFound ¶
type SubmitAcknowledgementNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewSubmitAcknowledgementNotFound ¶
func NewSubmitAcknowledgementNotFound() *SubmitAcknowledgementNotFound
NewSubmitAcknowledgementNotFound creates a SubmitAcknowledgementNotFound with default headers values
func (*SubmitAcknowledgementNotFound) Error ¶
func (o *SubmitAcknowledgementNotFound) Error() string
func (*SubmitAcknowledgementNotFound) GetPayload ¶
func (o *SubmitAcknowledgementNotFound) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementNotFound) IsClientError ¶
func (o *SubmitAcknowledgementNotFound) IsClientError() bool
IsClientError returns true when this submit acknowledgement not found response has a 4xx status code
func (*SubmitAcknowledgementNotFound) IsCode ¶
func (o *SubmitAcknowledgementNotFound) IsCode(code int) bool
IsCode returns true when this submit acknowledgement not found response a status code equal to that given
func (*SubmitAcknowledgementNotFound) IsRedirect ¶
func (o *SubmitAcknowledgementNotFound) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement not found response has a 3xx status code
func (*SubmitAcknowledgementNotFound) IsServerError ¶
func (o *SubmitAcknowledgementNotFound) IsServerError() bool
IsServerError returns true when this submit acknowledgement not found response has a 5xx status code
func (*SubmitAcknowledgementNotFound) IsSuccess ¶
func (o *SubmitAcknowledgementNotFound) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement not found response has a 2xx status code
func (*SubmitAcknowledgementNotFound) String ¶
func (o *SubmitAcknowledgementNotFound) String() string
type SubmitAcknowledgementParams ¶
type SubmitAcknowledgementParams struct { // Body. Body *vendor_orders_models.SubmitAcknowledgementRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubmitAcknowledgementParams contains all the parameters to send to the API endpoint
for the submit acknowledgement operation. Typically these are written to a http.Request.
func NewSubmitAcknowledgementParams ¶
func NewSubmitAcknowledgementParams() *SubmitAcknowledgementParams
NewSubmitAcknowledgementParams creates a new SubmitAcknowledgementParams 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 NewSubmitAcknowledgementParamsWithContext ¶
func NewSubmitAcknowledgementParamsWithContext(ctx context.Context) *SubmitAcknowledgementParams
NewSubmitAcknowledgementParamsWithContext creates a new SubmitAcknowledgementParams object with the ability to set a context for a request.
func NewSubmitAcknowledgementParamsWithHTTPClient ¶
func NewSubmitAcknowledgementParamsWithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
NewSubmitAcknowledgementParamsWithHTTPClient creates a new SubmitAcknowledgementParams object with the ability to set a custom HTTPClient for a request.
func NewSubmitAcknowledgementParamsWithTimeout ¶
func NewSubmitAcknowledgementParamsWithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
NewSubmitAcknowledgementParamsWithTimeout creates a new SubmitAcknowledgementParams object with the ability to set a timeout on a request.
func (*SubmitAcknowledgementParams) SetBody ¶
func (o *SubmitAcknowledgementParams) SetBody(body *vendor_orders_models.SubmitAcknowledgementRequest)
SetBody adds the body to the submit acknowledgement params
func (*SubmitAcknowledgementParams) SetContext ¶
func (o *SubmitAcknowledgementParams) SetContext(ctx context.Context)
SetContext adds the context to the submit acknowledgement params
func (*SubmitAcknowledgementParams) SetDefaults ¶
func (o *SubmitAcknowledgementParams) SetDefaults()
SetDefaults hydrates default values in the submit acknowledgement params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitAcknowledgementParams) SetHTTPClient ¶
func (o *SubmitAcknowledgementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the submit acknowledgement params
func (*SubmitAcknowledgementParams) SetTimeout ¶
func (o *SubmitAcknowledgementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithBody ¶
func (o *SubmitAcknowledgementParams) WithBody(body *vendor_orders_models.SubmitAcknowledgementRequest) *SubmitAcknowledgementParams
WithBody adds the body to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithContext ¶
func (o *SubmitAcknowledgementParams) WithContext(ctx context.Context) *SubmitAcknowledgementParams
WithContext adds the context to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithDefaults ¶
func (o *SubmitAcknowledgementParams) WithDefaults() *SubmitAcknowledgementParams
WithDefaults hydrates default values in the submit acknowledgement params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitAcknowledgementParams) WithHTTPClient ¶
func (o *SubmitAcknowledgementParams) WithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
WithHTTPClient adds the HTTPClient to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithTimeout ¶
func (o *SubmitAcknowledgementParams) WithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
WithTimeout adds the timeout to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WriteToRequest ¶
func (o *SubmitAcknowledgementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubmitAcknowledgementReader ¶
type SubmitAcknowledgementReader struct {
// contains filtered or unexported fields
}
SubmitAcknowledgementReader is a Reader for the SubmitAcknowledgement structure.
func (*SubmitAcknowledgementReader) ReadResponse ¶
func (o *SubmitAcknowledgementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubmitAcknowledgementRequestEntityTooLarge ¶
type SubmitAcknowledgementRequestEntityTooLarge 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 *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewSubmitAcknowledgementRequestEntityTooLarge ¶
func NewSubmitAcknowledgementRequestEntityTooLarge() *SubmitAcknowledgementRequestEntityTooLarge
NewSubmitAcknowledgementRequestEntityTooLarge creates a SubmitAcknowledgementRequestEntityTooLarge with default headers values
func (*SubmitAcknowledgementRequestEntityTooLarge) Error ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) Error() string
func (*SubmitAcknowledgementRequestEntityTooLarge) GetPayload ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementRequestEntityTooLarge) IsClientError ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this submit acknowledgement request entity too large response has a 4xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) IsCode ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this submit acknowledgement request entity too large response a status code equal to that given
func (*SubmitAcknowledgementRequestEntityTooLarge) IsRedirect ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement request entity too large response has a 3xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) IsServerError ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this submit acknowledgement request entity too large response has a 5xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) IsSuccess ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement request entity too large response has a 2xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) String ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) String() string
type SubmitAcknowledgementServiceUnavailable ¶
type SubmitAcknowledgementServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
SubmitAcknowledgementServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewSubmitAcknowledgementServiceUnavailable ¶
func NewSubmitAcknowledgementServiceUnavailable() *SubmitAcknowledgementServiceUnavailable
NewSubmitAcknowledgementServiceUnavailable creates a SubmitAcknowledgementServiceUnavailable with default headers values
func (*SubmitAcknowledgementServiceUnavailable) Error ¶
func (o *SubmitAcknowledgementServiceUnavailable) Error() string
func (*SubmitAcknowledgementServiceUnavailable) GetPayload ¶
func (o *SubmitAcknowledgementServiceUnavailable) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementServiceUnavailable) IsClientError ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsClientError() bool
IsClientError returns true when this submit acknowledgement service unavailable response has a 4xx status code
func (*SubmitAcknowledgementServiceUnavailable) IsCode ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsCode(code int) bool
IsCode returns true when this submit acknowledgement service unavailable response a status code equal to that given
func (*SubmitAcknowledgementServiceUnavailable) IsRedirect ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement service unavailable response has a 3xx status code
func (*SubmitAcknowledgementServiceUnavailable) IsServerError ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsServerError() bool
IsServerError returns true when this submit acknowledgement service unavailable response has a 5xx status code
func (*SubmitAcknowledgementServiceUnavailable) IsSuccess ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement service unavailable response has a 2xx status code
func (*SubmitAcknowledgementServiceUnavailable) String ¶
func (o *SubmitAcknowledgementServiceUnavailable) String() string
type SubmitAcknowledgementTooManyRequests ¶
type SubmitAcknowledgementTooManyRequests 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 *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewSubmitAcknowledgementTooManyRequests ¶
func NewSubmitAcknowledgementTooManyRequests() *SubmitAcknowledgementTooManyRequests
NewSubmitAcknowledgementTooManyRequests creates a SubmitAcknowledgementTooManyRequests with default headers values
func (*SubmitAcknowledgementTooManyRequests) Error ¶
func (o *SubmitAcknowledgementTooManyRequests) Error() string
func (*SubmitAcknowledgementTooManyRequests) GetPayload ¶
func (o *SubmitAcknowledgementTooManyRequests) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementTooManyRequests) IsClientError ¶
func (o *SubmitAcknowledgementTooManyRequests) IsClientError() bool
IsClientError returns true when this submit acknowledgement too many requests response has a 4xx status code
func (*SubmitAcknowledgementTooManyRequests) IsCode ¶
func (o *SubmitAcknowledgementTooManyRequests) IsCode(code int) bool
IsCode returns true when this submit acknowledgement too many requests response a status code equal to that given
func (*SubmitAcknowledgementTooManyRequests) IsRedirect ¶
func (o *SubmitAcknowledgementTooManyRequests) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement too many requests response has a 3xx status code
func (*SubmitAcknowledgementTooManyRequests) IsServerError ¶
func (o *SubmitAcknowledgementTooManyRequests) IsServerError() bool
IsServerError returns true when this submit acknowledgement too many requests response has a 5xx status code
func (*SubmitAcknowledgementTooManyRequests) IsSuccess ¶
func (o *SubmitAcknowledgementTooManyRequests) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement too many requests response has a 2xx status code
func (*SubmitAcknowledgementTooManyRequests) String ¶
func (o *SubmitAcknowledgementTooManyRequests) String() string
type SubmitAcknowledgementUnsupportedMediaType ¶
type SubmitAcknowledgementUnsupportedMediaType 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 *vendor_orders_models.SubmitAcknowledgementResponse }
SubmitAcknowledgementUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewSubmitAcknowledgementUnsupportedMediaType ¶
func NewSubmitAcknowledgementUnsupportedMediaType() *SubmitAcknowledgementUnsupportedMediaType
NewSubmitAcknowledgementUnsupportedMediaType creates a SubmitAcknowledgementUnsupportedMediaType with default headers values
func (*SubmitAcknowledgementUnsupportedMediaType) Error ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) Error() string
func (*SubmitAcknowledgementUnsupportedMediaType) GetPayload ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) GetPayload() *vendor_orders_models.SubmitAcknowledgementResponse
func (*SubmitAcknowledgementUnsupportedMediaType) IsClientError ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this submit acknowledgement unsupported media type response has a 4xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) IsCode ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this submit acknowledgement unsupported media type response a status code equal to that given
func (*SubmitAcknowledgementUnsupportedMediaType) IsRedirect ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement unsupported media type response has a 3xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) IsServerError ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this submit acknowledgement unsupported media type response has a 5xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) IsSuccess ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement unsupported media type response has a 2xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) String ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) String() string
Source Files ¶
- get_purchase_order_parameters.go
- get_purchase_order_responses.go
- get_purchase_orders_parameters.go
- get_purchase_orders_responses.go
- get_purchase_orders_status_parameters.go
- get_purchase_orders_status_responses.go
- submit_acknowledgement_parameters.go
- submit_acknowledgement_responses.go
- vendor_orders_client.go