Documentation ¶
Index ¶
- Constants
- Variables
- type AcknowledgeExcessWeightRisk
- type AcknowledgeExcessWeightRiskForbidden
- func (o *AcknowledgeExcessWeightRiskForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *AcknowledgeExcessWeightRiskForbidden) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskForbidden
- func (o *AcknowledgeExcessWeightRiskForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AcknowledgeExcessWeightRiskHandler
- type AcknowledgeExcessWeightRiskHandlerFunc
- type AcknowledgeExcessWeightRiskInternalServerError
- func (o *AcknowledgeExcessWeightRiskInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *AcknowledgeExcessWeightRiskInternalServerError) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskInternalServerError
- func (o *AcknowledgeExcessWeightRiskInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AcknowledgeExcessWeightRiskNotFound
- func (o *AcknowledgeExcessWeightRiskNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *AcknowledgeExcessWeightRiskNotFound) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskNotFound
- func (o *AcknowledgeExcessWeightRiskNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AcknowledgeExcessWeightRiskOK
- type AcknowledgeExcessWeightRiskParams
- type AcknowledgeExcessWeightRiskPreconditionFailed
- func (o *AcknowledgeExcessWeightRiskPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *AcknowledgeExcessWeightRiskPreconditionFailed) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskPreconditionFailed
- func (o *AcknowledgeExcessWeightRiskPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AcknowledgeExcessWeightRiskURL
- func (o *AcknowledgeExcessWeightRiskURL) Build() (*url.URL, error)
- func (o *AcknowledgeExcessWeightRiskURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AcknowledgeExcessWeightRiskURL) Must(u *url.URL, err error) *url.URL
- func (o *AcknowledgeExcessWeightRiskURL) SetBasePath(bp string)
- func (o *AcknowledgeExcessWeightRiskURL) String() string
- func (o *AcknowledgeExcessWeightRiskURL) StringFull(scheme, host string) string
- func (o *AcknowledgeExcessWeightRiskURL) WithBasePath(bp string) *AcknowledgeExcessWeightRiskURL
- type AcknowledgeExcessWeightRiskUnprocessableEntity
- func (o *AcknowledgeExcessWeightRiskUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *AcknowledgeExcessWeightRiskUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *AcknowledgeExcessWeightRiskUnprocessableEntity
- func (o *AcknowledgeExcessWeightRiskUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateAllowance
- type CounselingUpdateAllowanceForbidden
- func (o *CounselingUpdateAllowanceForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *CounselingUpdateAllowanceForbidden) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowanceForbidden
- func (o *CounselingUpdateAllowanceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateAllowanceHandler
- type CounselingUpdateAllowanceHandlerFunc
- type CounselingUpdateAllowanceInternalServerError
- func (o *CounselingUpdateAllowanceInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *CounselingUpdateAllowanceInternalServerError) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowanceInternalServerError
- func (o *CounselingUpdateAllowanceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateAllowanceNotFound
- func (o *CounselingUpdateAllowanceNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *CounselingUpdateAllowanceNotFound) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowanceNotFound
- func (o *CounselingUpdateAllowanceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateAllowanceOK
- type CounselingUpdateAllowanceParams
- type CounselingUpdateAllowancePreconditionFailed
- func (o *CounselingUpdateAllowancePreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *CounselingUpdateAllowancePreconditionFailed) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowancePreconditionFailed
- func (o *CounselingUpdateAllowancePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateAllowanceURL
- func (o *CounselingUpdateAllowanceURL) Build() (*url.URL, error)
- func (o *CounselingUpdateAllowanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CounselingUpdateAllowanceURL) Must(u *url.URL, err error) *url.URL
- func (o *CounselingUpdateAllowanceURL) SetBasePath(bp string)
- func (o *CounselingUpdateAllowanceURL) String() string
- func (o *CounselingUpdateAllowanceURL) StringFull(scheme, host string) string
- func (o *CounselingUpdateAllowanceURL) WithBasePath(bp string) *CounselingUpdateAllowanceURL
- type CounselingUpdateAllowanceUnprocessableEntity
- func (o *CounselingUpdateAllowanceUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *CounselingUpdateAllowanceUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CounselingUpdateAllowanceUnprocessableEntity
- func (o *CounselingUpdateAllowanceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateOrder
- type CounselingUpdateOrderForbidden
- type CounselingUpdateOrderHandler
- type CounselingUpdateOrderHandlerFunc
- type CounselingUpdateOrderInternalServerError
- func (o *CounselingUpdateOrderInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *CounselingUpdateOrderInternalServerError) WithPayload(payload *ghcmessages.Error) *CounselingUpdateOrderInternalServerError
- func (o *CounselingUpdateOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateOrderNotFound
- type CounselingUpdateOrderOK
- type CounselingUpdateOrderParams
- type CounselingUpdateOrderPreconditionFailed
- func (o *CounselingUpdateOrderPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *CounselingUpdateOrderPreconditionFailed) WithPayload(payload *ghcmessages.Error) *CounselingUpdateOrderPreconditionFailed
- func (o *CounselingUpdateOrderPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CounselingUpdateOrderURL
- func (o *CounselingUpdateOrderURL) Build() (*url.URL, error)
- func (o *CounselingUpdateOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CounselingUpdateOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *CounselingUpdateOrderURL) SetBasePath(bp string)
- func (o *CounselingUpdateOrderURL) String() string
- func (o *CounselingUpdateOrderURL) StringFull(scheme, host string) string
- func (o *CounselingUpdateOrderURL) WithBasePath(bp string) *CounselingUpdateOrderURL
- type CounselingUpdateOrderUnprocessableEntity
- func (o *CounselingUpdateOrderUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *CounselingUpdateOrderUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CounselingUpdateOrderUnprocessableEntity
- func (o *CounselingUpdateOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateOrder
- type CreateOrderBadRequest
- type CreateOrderForbidden
- type CreateOrderHandler
- type CreateOrderHandlerFunc
- type CreateOrderInternalServerError
- type CreateOrderOK
- type CreateOrderParams
- type CreateOrderURL
- func (o *CreateOrderURL) Build() (*url.URL, error)
- func (o *CreateOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateOrderURL) SetBasePath(bp string)
- func (o *CreateOrderURL) String() string
- func (o *CreateOrderURL) StringFull(scheme, host string) string
- func (o *CreateOrderURL) WithBasePath(bp string) *CreateOrderURL
- type CreateOrderUnauthorized
- type CreateOrderUnprocessableEntity
- func (o *CreateOrderUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *CreateOrderUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CreateOrderUnprocessableEntity
- func (o *CreateOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOrder
- type GetOrderBadRequest
- type GetOrderForbidden
- type GetOrderHandler
- type GetOrderHandlerFunc
- type GetOrderInternalServerError
- type GetOrderNotFound
- type GetOrderOK
- type GetOrderParams
- type GetOrderURL
- func (o *GetOrderURL) Build() (*url.URL, error)
- func (o *GetOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOrderURL) SetBasePath(bp string)
- func (o *GetOrderURL) String() string
- func (o *GetOrderURL) StringFull(scheme, host string) string
- func (o *GetOrderURL) WithBasePath(bp string) *GetOrderURL
- type GetOrderUnauthorized
- type UpdateAllowance
- type UpdateAllowanceForbidden
- type UpdateAllowanceHandler
- type UpdateAllowanceHandlerFunc
- type UpdateAllowanceInternalServerError
- func (o *UpdateAllowanceInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateAllowanceInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateAllowanceInternalServerError
- func (o *UpdateAllowanceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAllowanceNotFound
- type UpdateAllowanceOK
- type UpdateAllowanceParams
- type UpdateAllowancePreconditionFailed
- func (o *UpdateAllowancePreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateAllowancePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateAllowancePreconditionFailed
- func (o *UpdateAllowancePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateAllowanceURL
- func (o *UpdateAllowanceURL) Build() (*url.URL, error)
- func (o *UpdateAllowanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateAllowanceURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateAllowanceURL) SetBasePath(bp string)
- func (o *UpdateAllowanceURL) String() string
- func (o *UpdateAllowanceURL) StringFull(scheme, host string) string
- func (o *UpdateAllowanceURL) WithBasePath(bp string) *UpdateAllowanceURL
- type UpdateAllowanceUnprocessableEntity
- func (o *UpdateAllowanceUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateAllowanceUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateAllowanceUnprocessableEntity
- func (o *UpdateAllowanceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateBillableWeight
- type UpdateBillableWeightForbidden
- type UpdateBillableWeightHandler
- type UpdateBillableWeightHandlerFunc
- type UpdateBillableWeightInternalServerError
- func (o *UpdateBillableWeightInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateBillableWeightInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateBillableWeightInternalServerError
- func (o *UpdateBillableWeightInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateBillableWeightNotFound
- type UpdateBillableWeightOK
- type UpdateBillableWeightParams
- type UpdateBillableWeightPreconditionFailed
- func (o *UpdateBillableWeightPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateBillableWeightPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateBillableWeightPreconditionFailed
- func (o *UpdateBillableWeightPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateBillableWeightURL
- func (o *UpdateBillableWeightURL) Build() (*url.URL, error)
- func (o *UpdateBillableWeightURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateBillableWeightURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateBillableWeightURL) SetBasePath(bp string)
- func (o *UpdateBillableWeightURL) String() string
- func (o *UpdateBillableWeightURL) StringFull(scheme, host string) string
- func (o *UpdateBillableWeightURL) WithBasePath(bp string) *UpdateBillableWeightURL
- type UpdateBillableWeightUnprocessableEntity
- func (o *UpdateBillableWeightUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateBillableWeightUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateBillableWeightUnprocessableEntity
- func (o *UpdateBillableWeightUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMaxBillableWeightAsTIO
- type UpdateMaxBillableWeightAsTIOForbidden
- func (o *UpdateMaxBillableWeightAsTIOForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMaxBillableWeightAsTIOForbidden) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIOForbidden
- func (o *UpdateMaxBillableWeightAsTIOForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMaxBillableWeightAsTIOHandler
- type UpdateMaxBillableWeightAsTIOHandlerFunc
- type UpdateMaxBillableWeightAsTIOInternalServerError
- func (o *UpdateMaxBillableWeightAsTIOInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMaxBillableWeightAsTIOInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIOInternalServerError
- func (o *UpdateMaxBillableWeightAsTIOInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMaxBillableWeightAsTIONotFound
- func (o *UpdateMaxBillableWeightAsTIONotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMaxBillableWeightAsTIONotFound) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIONotFound
- func (o *UpdateMaxBillableWeightAsTIONotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMaxBillableWeightAsTIOOK
- type UpdateMaxBillableWeightAsTIOParams
- type UpdateMaxBillableWeightAsTIOPreconditionFailed
- func (o *UpdateMaxBillableWeightAsTIOPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMaxBillableWeightAsTIOPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIOPreconditionFailed
- func (o *UpdateMaxBillableWeightAsTIOPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMaxBillableWeightAsTIOURL
- func (o *UpdateMaxBillableWeightAsTIOURL) Build() (*url.URL, error)
- func (o *UpdateMaxBillableWeightAsTIOURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateMaxBillableWeightAsTIOURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateMaxBillableWeightAsTIOURL) SetBasePath(bp string)
- func (o *UpdateMaxBillableWeightAsTIOURL) String() string
- func (o *UpdateMaxBillableWeightAsTIOURL) StringFull(scheme, host string) string
- func (o *UpdateMaxBillableWeightAsTIOURL) WithBasePath(bp string) *UpdateMaxBillableWeightAsTIOURL
- type UpdateMaxBillableWeightAsTIOUnprocessableEntity
- func (o *UpdateMaxBillableWeightAsTIOUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateMaxBillableWeightAsTIOUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateMaxBillableWeightAsTIOUnprocessableEntity
- func (o *UpdateMaxBillableWeightAsTIOUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateOrder
- type UpdateOrderBadRequest
- type UpdateOrderConflict
- type UpdateOrderForbidden
- type UpdateOrderHandler
- type UpdateOrderHandlerFunc
- type UpdateOrderInternalServerError
- type UpdateOrderNotFound
- type UpdateOrderOK
- type UpdateOrderParams
- type UpdateOrderPreconditionFailed
- type UpdateOrderURL
- func (o *UpdateOrderURL) Build() (*url.URL, error)
- func (o *UpdateOrderURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateOrderURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateOrderURL) SetBasePath(bp string)
- func (o *UpdateOrderURL) String() string
- func (o *UpdateOrderURL) StringFull(scheme, host string) string
- func (o *UpdateOrderURL) WithBasePath(bp string) *UpdateOrderURL
- type UpdateOrderUnprocessableEntity
- func (o *UpdateOrderUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateOrderUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateOrderUnprocessableEntity
- func (o *UpdateOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadAmendedOrders
- type UploadAmendedOrdersBadRequest
- func (o *UploadAmendedOrdersBadRequest) SetPayload(payload *ghcmessages.InvalidRequestResponsePayload)
- func (o *UploadAmendedOrdersBadRequest) WithPayload(payload *ghcmessages.InvalidRequestResponsePayload) *UploadAmendedOrdersBadRequest
- func (o *UploadAmendedOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadAmendedOrdersCreated
- type UploadAmendedOrdersForbidden
- type UploadAmendedOrdersHandler
- type UploadAmendedOrdersHandlerFunc
- type UploadAmendedOrdersInternalServerError
- type UploadAmendedOrdersNotFound
- type UploadAmendedOrdersParams
- type UploadAmendedOrdersRequestEntityTooLarge
- type UploadAmendedOrdersURL
- func (o *UploadAmendedOrdersURL) Build() (*url.URL, error)
- func (o *UploadAmendedOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UploadAmendedOrdersURL) Must(u *url.URL, err error) *url.URL
- func (o *UploadAmendedOrdersURL) SetBasePath(bp string)
- func (o *UploadAmendedOrdersURL) String() string
- func (o *UploadAmendedOrdersURL) StringFull(scheme, host string) string
- func (o *UploadAmendedOrdersURL) WithBasePath(bp string) *UploadAmendedOrdersURL
Constants ¶
const AcknowledgeExcessWeightRiskForbiddenCode int = 403
AcknowledgeExcessWeightRiskForbiddenCode is the HTTP code returned for type AcknowledgeExcessWeightRiskForbidden
const AcknowledgeExcessWeightRiskInternalServerErrorCode int = 500
AcknowledgeExcessWeightRiskInternalServerErrorCode is the HTTP code returned for type AcknowledgeExcessWeightRiskInternalServerError
const AcknowledgeExcessWeightRiskNotFoundCode int = 404
AcknowledgeExcessWeightRiskNotFoundCode is the HTTP code returned for type AcknowledgeExcessWeightRiskNotFound
const AcknowledgeExcessWeightRiskOKCode int = 200
AcknowledgeExcessWeightRiskOKCode is the HTTP code returned for type AcknowledgeExcessWeightRiskOK
const AcknowledgeExcessWeightRiskPreconditionFailedCode int = 412
AcknowledgeExcessWeightRiskPreconditionFailedCode is the HTTP code returned for type AcknowledgeExcessWeightRiskPreconditionFailed
const AcknowledgeExcessWeightRiskUnprocessableEntityCode int = 422
AcknowledgeExcessWeightRiskUnprocessableEntityCode is the HTTP code returned for type AcknowledgeExcessWeightRiskUnprocessableEntity
const CounselingUpdateAllowanceForbiddenCode int = 403
CounselingUpdateAllowanceForbiddenCode is the HTTP code returned for type CounselingUpdateAllowanceForbidden
const CounselingUpdateAllowanceInternalServerErrorCode int = 500
CounselingUpdateAllowanceInternalServerErrorCode is the HTTP code returned for type CounselingUpdateAllowanceInternalServerError
const CounselingUpdateAllowanceNotFoundCode int = 404
CounselingUpdateAllowanceNotFoundCode is the HTTP code returned for type CounselingUpdateAllowanceNotFound
const CounselingUpdateAllowanceOKCode int = 200
CounselingUpdateAllowanceOKCode is the HTTP code returned for type CounselingUpdateAllowanceOK
const CounselingUpdateAllowancePreconditionFailedCode int = 412
CounselingUpdateAllowancePreconditionFailedCode is the HTTP code returned for type CounselingUpdateAllowancePreconditionFailed
const CounselingUpdateAllowanceUnprocessableEntityCode int = 422
CounselingUpdateAllowanceUnprocessableEntityCode is the HTTP code returned for type CounselingUpdateAllowanceUnprocessableEntity
const CounselingUpdateOrderForbiddenCode int = 403
CounselingUpdateOrderForbiddenCode is the HTTP code returned for type CounselingUpdateOrderForbidden
const CounselingUpdateOrderInternalServerErrorCode int = 500
CounselingUpdateOrderInternalServerErrorCode is the HTTP code returned for type CounselingUpdateOrderInternalServerError
const CounselingUpdateOrderNotFoundCode int = 404
CounselingUpdateOrderNotFoundCode is the HTTP code returned for type CounselingUpdateOrderNotFound
const CounselingUpdateOrderOKCode int = 200
CounselingUpdateOrderOKCode is the HTTP code returned for type CounselingUpdateOrderOK
const CounselingUpdateOrderPreconditionFailedCode int = 412
CounselingUpdateOrderPreconditionFailedCode is the HTTP code returned for type CounselingUpdateOrderPreconditionFailed
const CounselingUpdateOrderUnprocessableEntityCode int = 422
CounselingUpdateOrderUnprocessableEntityCode is the HTTP code returned for type CounselingUpdateOrderUnprocessableEntity
const CreateOrderBadRequestCode int = 400
CreateOrderBadRequestCode is the HTTP code returned for type CreateOrderBadRequest
const CreateOrderForbiddenCode int = 403
CreateOrderForbiddenCode is the HTTP code returned for type CreateOrderForbidden
const CreateOrderInternalServerErrorCode int = 500
CreateOrderInternalServerErrorCode is the HTTP code returned for type CreateOrderInternalServerError
const CreateOrderOKCode int = 200
CreateOrderOKCode is the HTTP code returned for type CreateOrderOK
CreateOrderUnauthorizedCode is the HTTP code returned for type CreateOrderUnauthorized
const CreateOrderUnprocessableEntityCode int = 422
CreateOrderUnprocessableEntityCode is the HTTP code returned for type CreateOrderUnprocessableEntity
const GetOrderBadRequestCode int = 400
GetOrderBadRequestCode is the HTTP code returned for type GetOrderBadRequest
const GetOrderForbiddenCode int = 403
GetOrderForbiddenCode is the HTTP code returned for type GetOrderForbidden
const GetOrderInternalServerErrorCode int = 500
GetOrderInternalServerErrorCode is the HTTP code returned for type GetOrderInternalServerError
const GetOrderNotFoundCode int = 404
GetOrderNotFoundCode is the HTTP code returned for type GetOrderNotFound
const GetOrderOKCode int = 200
GetOrderOKCode is the HTTP code returned for type GetOrderOK
GetOrderUnauthorizedCode is the HTTP code returned for type GetOrderUnauthorized
const UpdateAllowanceForbiddenCode int = 403
UpdateAllowanceForbiddenCode is the HTTP code returned for type UpdateAllowanceForbidden
const UpdateAllowanceInternalServerErrorCode int = 500
UpdateAllowanceInternalServerErrorCode is the HTTP code returned for type UpdateAllowanceInternalServerError
const UpdateAllowanceNotFoundCode int = 404
UpdateAllowanceNotFoundCode is the HTTP code returned for type UpdateAllowanceNotFound
const UpdateAllowanceOKCode int = 200
UpdateAllowanceOKCode is the HTTP code returned for type UpdateAllowanceOK
const UpdateAllowancePreconditionFailedCode int = 412
UpdateAllowancePreconditionFailedCode is the HTTP code returned for type UpdateAllowancePreconditionFailed
const UpdateAllowanceUnprocessableEntityCode int = 422
UpdateAllowanceUnprocessableEntityCode is the HTTP code returned for type UpdateAllowanceUnprocessableEntity
const UpdateBillableWeightForbiddenCode int = 403
UpdateBillableWeightForbiddenCode is the HTTP code returned for type UpdateBillableWeightForbidden
const UpdateBillableWeightInternalServerErrorCode int = 500
UpdateBillableWeightInternalServerErrorCode is the HTTP code returned for type UpdateBillableWeightInternalServerError
const UpdateBillableWeightNotFoundCode int = 404
UpdateBillableWeightNotFoundCode is the HTTP code returned for type UpdateBillableWeightNotFound
const UpdateBillableWeightOKCode int = 200
UpdateBillableWeightOKCode is the HTTP code returned for type UpdateBillableWeightOK
const UpdateBillableWeightPreconditionFailedCode int = 412
UpdateBillableWeightPreconditionFailedCode is the HTTP code returned for type UpdateBillableWeightPreconditionFailed
const UpdateBillableWeightUnprocessableEntityCode int = 422
UpdateBillableWeightUnprocessableEntityCode is the HTTP code returned for type UpdateBillableWeightUnprocessableEntity
const UpdateMaxBillableWeightAsTIOForbiddenCode int = 403
UpdateMaxBillableWeightAsTIOForbiddenCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOForbidden
const UpdateMaxBillableWeightAsTIOInternalServerErrorCode int = 500
UpdateMaxBillableWeightAsTIOInternalServerErrorCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOInternalServerError
const UpdateMaxBillableWeightAsTIONotFoundCode int = 404
UpdateMaxBillableWeightAsTIONotFoundCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIONotFound
const UpdateMaxBillableWeightAsTIOOKCode int = 200
UpdateMaxBillableWeightAsTIOOKCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOOK
const UpdateMaxBillableWeightAsTIOPreconditionFailedCode int = 412
UpdateMaxBillableWeightAsTIOPreconditionFailedCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOPreconditionFailed
const UpdateMaxBillableWeightAsTIOUnprocessableEntityCode int = 422
UpdateMaxBillableWeightAsTIOUnprocessableEntityCode is the HTTP code returned for type UpdateMaxBillableWeightAsTIOUnprocessableEntity
const UpdateOrderBadRequestCode int = 400
UpdateOrderBadRequestCode is the HTTP code returned for type UpdateOrderBadRequest
const UpdateOrderConflictCode int = 409
UpdateOrderConflictCode is the HTTP code returned for type UpdateOrderConflict
const UpdateOrderForbiddenCode int = 403
UpdateOrderForbiddenCode is the HTTP code returned for type UpdateOrderForbidden
const UpdateOrderInternalServerErrorCode int = 500
UpdateOrderInternalServerErrorCode is the HTTP code returned for type UpdateOrderInternalServerError
const UpdateOrderNotFoundCode int = 404
UpdateOrderNotFoundCode is the HTTP code returned for type UpdateOrderNotFound
const UpdateOrderOKCode int = 200
UpdateOrderOKCode is the HTTP code returned for type UpdateOrderOK
const UpdateOrderPreconditionFailedCode int = 412
UpdateOrderPreconditionFailedCode is the HTTP code returned for type UpdateOrderPreconditionFailed
const UpdateOrderUnprocessableEntityCode int = 422
UpdateOrderUnprocessableEntityCode is the HTTP code returned for type UpdateOrderUnprocessableEntity
const UploadAmendedOrdersBadRequestCode int = 400
UploadAmendedOrdersBadRequestCode is the HTTP code returned for type UploadAmendedOrdersBadRequest
const UploadAmendedOrdersCreatedCode int = 201
UploadAmendedOrdersCreatedCode is the HTTP code returned for type UploadAmendedOrdersCreated
const UploadAmendedOrdersForbiddenCode int = 403
UploadAmendedOrdersForbiddenCode is the HTTP code returned for type UploadAmendedOrdersForbidden
const UploadAmendedOrdersInternalServerErrorCode int = 500
UploadAmendedOrdersInternalServerErrorCode is the HTTP code returned for type UploadAmendedOrdersInternalServerError
const UploadAmendedOrdersNotFoundCode int = 404
UploadAmendedOrdersNotFoundCode is the HTTP code returned for type UploadAmendedOrdersNotFound
const UploadAmendedOrdersRequestEntityTooLargeCode int = 413
UploadAmendedOrdersRequestEntityTooLargeCode is the HTTP code returned for type UploadAmendedOrdersRequestEntityTooLarge
Variables ¶
var UploadAmendedOrdersMaxParseMemory int64 = 32 << 20
UploadAmendedOrdersMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
The default value is 32 MB. The multipart parser stores up to this + 10MB.
Functions ¶
This section is empty.
Types ¶
type AcknowledgeExcessWeightRisk ¶
type AcknowledgeExcessWeightRisk struct { Context *middleware.Context Handler AcknowledgeExcessWeightRiskHandler }
AcknowledgeExcessWeightRisk swagger:route POST /orders/{orderID}/acknowledge-excess-weight-risk order acknowledgeExcessWeightRisk
Saves the date and time a TOO acknowledged the excess weight risk by dismissing the alert ¶
Saves the date and time a TOO acknowledged the excess weight risk by dismissing the alert
func NewAcknowledgeExcessWeightRisk ¶
func NewAcknowledgeExcessWeightRisk(ctx *middleware.Context, handler AcknowledgeExcessWeightRiskHandler) *AcknowledgeExcessWeightRisk
NewAcknowledgeExcessWeightRisk creates a new http.Handler for the acknowledge excess weight risk operation
func (*AcknowledgeExcessWeightRisk) ServeHTTP ¶
func (o *AcknowledgeExcessWeightRisk) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AcknowledgeExcessWeightRiskForbidden ¶
type AcknowledgeExcessWeightRiskForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
AcknowledgeExcessWeightRiskForbidden The request was denied
swagger:response acknowledgeExcessWeightRiskForbidden
func NewAcknowledgeExcessWeightRiskForbidden ¶
func NewAcknowledgeExcessWeightRiskForbidden() *AcknowledgeExcessWeightRiskForbidden
NewAcknowledgeExcessWeightRiskForbidden creates AcknowledgeExcessWeightRiskForbidden with default headers values
func (*AcknowledgeExcessWeightRiskForbidden) SetPayload ¶
func (o *AcknowledgeExcessWeightRiskForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the acknowledge excess weight risk forbidden response
func (*AcknowledgeExcessWeightRiskForbidden) WithPayload ¶
func (o *AcknowledgeExcessWeightRiskForbidden) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskForbidden
WithPayload adds the payload to the acknowledge excess weight risk forbidden response
func (*AcknowledgeExcessWeightRiskForbidden) WriteResponse ¶
func (o *AcknowledgeExcessWeightRiskForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AcknowledgeExcessWeightRiskHandler ¶
type AcknowledgeExcessWeightRiskHandler interface {
Handle(AcknowledgeExcessWeightRiskParams) middleware.Responder
}
AcknowledgeExcessWeightRiskHandler interface for that can handle valid acknowledge excess weight risk params
type AcknowledgeExcessWeightRiskHandlerFunc ¶
type AcknowledgeExcessWeightRiskHandlerFunc func(AcknowledgeExcessWeightRiskParams) middleware.Responder
AcknowledgeExcessWeightRiskHandlerFunc turns a function with the right signature into a acknowledge excess weight risk handler
func (AcknowledgeExcessWeightRiskHandlerFunc) Handle ¶
func (fn AcknowledgeExcessWeightRiskHandlerFunc) Handle(params AcknowledgeExcessWeightRiskParams) middleware.Responder
Handle executing the request and returning a response
type AcknowledgeExcessWeightRiskInternalServerError ¶
type AcknowledgeExcessWeightRiskInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
AcknowledgeExcessWeightRiskInternalServerError A server error occurred
swagger:response acknowledgeExcessWeightRiskInternalServerError
func NewAcknowledgeExcessWeightRiskInternalServerError ¶
func NewAcknowledgeExcessWeightRiskInternalServerError() *AcknowledgeExcessWeightRiskInternalServerError
NewAcknowledgeExcessWeightRiskInternalServerError creates AcknowledgeExcessWeightRiskInternalServerError with default headers values
func (*AcknowledgeExcessWeightRiskInternalServerError) SetPayload ¶
func (o *AcknowledgeExcessWeightRiskInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the acknowledge excess weight risk internal server error response
func (*AcknowledgeExcessWeightRiskInternalServerError) WithPayload ¶
func (o *AcknowledgeExcessWeightRiskInternalServerError) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskInternalServerError
WithPayload adds the payload to the acknowledge excess weight risk internal server error response
func (*AcknowledgeExcessWeightRiskInternalServerError) WriteResponse ¶
func (o *AcknowledgeExcessWeightRiskInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AcknowledgeExcessWeightRiskNotFound ¶
type AcknowledgeExcessWeightRiskNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
AcknowledgeExcessWeightRiskNotFound The requested resource wasn't found
swagger:response acknowledgeExcessWeightRiskNotFound
func NewAcknowledgeExcessWeightRiskNotFound ¶
func NewAcknowledgeExcessWeightRiskNotFound() *AcknowledgeExcessWeightRiskNotFound
NewAcknowledgeExcessWeightRiskNotFound creates AcknowledgeExcessWeightRiskNotFound with default headers values
func (*AcknowledgeExcessWeightRiskNotFound) SetPayload ¶
func (o *AcknowledgeExcessWeightRiskNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the acknowledge excess weight risk not found response
func (*AcknowledgeExcessWeightRiskNotFound) WithPayload ¶
func (o *AcknowledgeExcessWeightRiskNotFound) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskNotFound
WithPayload adds the payload to the acknowledge excess weight risk not found response
func (*AcknowledgeExcessWeightRiskNotFound) WriteResponse ¶
func (o *AcknowledgeExcessWeightRiskNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AcknowledgeExcessWeightRiskOK ¶
type AcknowledgeExcessWeightRiskOK struct { /* In: Body */ Payload *ghcmessages.Move `json:"body,omitempty"` }
AcknowledgeExcessWeightRiskOK updated Move
swagger:response acknowledgeExcessWeightRiskOK
func NewAcknowledgeExcessWeightRiskOK ¶
func NewAcknowledgeExcessWeightRiskOK() *AcknowledgeExcessWeightRiskOK
NewAcknowledgeExcessWeightRiskOK creates AcknowledgeExcessWeightRiskOK with default headers values
func (*AcknowledgeExcessWeightRiskOK) SetPayload ¶
func (o *AcknowledgeExcessWeightRiskOK) SetPayload(payload *ghcmessages.Move)
SetPayload sets the payload to the acknowledge excess weight risk o k response
func (*AcknowledgeExcessWeightRiskOK) WithPayload ¶
func (o *AcknowledgeExcessWeightRiskOK) WithPayload(payload *ghcmessages.Move) *AcknowledgeExcessWeightRiskOK
WithPayload adds the payload to the acknowledge excess weight risk o k response
func (*AcknowledgeExcessWeightRiskOK) WriteResponse ¶
func (o *AcknowledgeExcessWeightRiskOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AcknowledgeExcessWeightRiskParams ¶
type AcknowledgeExcessWeightRiskParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
AcknowledgeExcessWeightRiskParams contains all the bound params for the acknowledge excess weight risk operation typically these are obtained from a http.Request
swagger:parameters acknowledgeExcessWeightRisk
func NewAcknowledgeExcessWeightRiskParams ¶
func NewAcknowledgeExcessWeightRiskParams() AcknowledgeExcessWeightRiskParams
NewAcknowledgeExcessWeightRiskParams creates a new AcknowledgeExcessWeightRiskParams object
There are no default values defined in the spec.
func (*AcknowledgeExcessWeightRiskParams) BindRequest ¶
func (o *AcknowledgeExcessWeightRiskParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewAcknowledgeExcessWeightRiskParams() beforehand.
type AcknowledgeExcessWeightRiskPreconditionFailed ¶
type AcknowledgeExcessWeightRiskPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
AcknowledgeExcessWeightRiskPreconditionFailed Precondition failed
swagger:response acknowledgeExcessWeightRiskPreconditionFailed
func NewAcknowledgeExcessWeightRiskPreconditionFailed ¶
func NewAcknowledgeExcessWeightRiskPreconditionFailed() *AcknowledgeExcessWeightRiskPreconditionFailed
NewAcknowledgeExcessWeightRiskPreconditionFailed creates AcknowledgeExcessWeightRiskPreconditionFailed with default headers values
func (*AcknowledgeExcessWeightRiskPreconditionFailed) SetPayload ¶
func (o *AcknowledgeExcessWeightRiskPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the acknowledge excess weight risk precondition failed response
func (*AcknowledgeExcessWeightRiskPreconditionFailed) WithPayload ¶
func (o *AcknowledgeExcessWeightRiskPreconditionFailed) WithPayload(payload *ghcmessages.Error) *AcknowledgeExcessWeightRiskPreconditionFailed
WithPayload adds the payload to the acknowledge excess weight risk precondition failed response
func (*AcknowledgeExcessWeightRiskPreconditionFailed) WriteResponse ¶
func (o *AcknowledgeExcessWeightRiskPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AcknowledgeExcessWeightRiskURL ¶
type AcknowledgeExcessWeightRiskURL struct { OrderID strfmt.UUID // contains filtered or unexported fields }
AcknowledgeExcessWeightRiskURL generates an URL for the acknowledge excess weight risk operation
func (*AcknowledgeExcessWeightRiskURL) Build ¶
func (o *AcknowledgeExcessWeightRiskURL) Build() (*url.URL, error)
Build a url path and query string
func (*AcknowledgeExcessWeightRiskURL) BuildFull ¶
func (o *AcknowledgeExcessWeightRiskURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AcknowledgeExcessWeightRiskURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AcknowledgeExcessWeightRiskURL) SetBasePath ¶
func (o *AcknowledgeExcessWeightRiskURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AcknowledgeExcessWeightRiskURL) String ¶
func (o *AcknowledgeExcessWeightRiskURL) String() string
String returns the string representation of the path with query string
func (*AcknowledgeExcessWeightRiskURL) StringFull ¶
func (o *AcknowledgeExcessWeightRiskURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AcknowledgeExcessWeightRiskURL) WithBasePath ¶
func (o *AcknowledgeExcessWeightRiskURL) WithBasePath(bp string) *AcknowledgeExcessWeightRiskURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type AcknowledgeExcessWeightRiskUnprocessableEntity ¶
type AcknowledgeExcessWeightRiskUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
AcknowledgeExcessWeightRiskUnprocessableEntity The payload was unprocessable.
swagger:response acknowledgeExcessWeightRiskUnprocessableEntity
func NewAcknowledgeExcessWeightRiskUnprocessableEntity ¶
func NewAcknowledgeExcessWeightRiskUnprocessableEntity() *AcknowledgeExcessWeightRiskUnprocessableEntity
NewAcknowledgeExcessWeightRiskUnprocessableEntity creates AcknowledgeExcessWeightRiskUnprocessableEntity with default headers values
func (*AcknowledgeExcessWeightRiskUnprocessableEntity) SetPayload ¶
func (o *AcknowledgeExcessWeightRiskUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the acknowledge excess weight risk unprocessable entity response
func (*AcknowledgeExcessWeightRiskUnprocessableEntity) WithPayload ¶
func (o *AcknowledgeExcessWeightRiskUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *AcknowledgeExcessWeightRiskUnprocessableEntity
WithPayload adds the payload to the acknowledge excess weight risk unprocessable entity response
func (*AcknowledgeExcessWeightRiskUnprocessableEntity) WriteResponse ¶
func (o *AcknowledgeExcessWeightRiskUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateAllowance ¶
type CounselingUpdateAllowance struct { Context *middleware.Context Handler CounselingUpdateAllowanceHandler }
CounselingUpdateAllowance swagger:route PATCH /counseling/orders/{orderID}/allowances order counselingUpdateAllowance
Updates an allowance (Orders with Entitlements)
All fields sent in this request will be set on the order referenced
func NewCounselingUpdateAllowance ¶
func NewCounselingUpdateAllowance(ctx *middleware.Context, handler CounselingUpdateAllowanceHandler) *CounselingUpdateAllowance
NewCounselingUpdateAllowance creates a new http.Handler for the counseling update allowance operation
func (*CounselingUpdateAllowance) ServeHTTP ¶
func (o *CounselingUpdateAllowance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CounselingUpdateAllowanceForbidden ¶
type CounselingUpdateAllowanceForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateAllowanceForbidden The request was denied
swagger:response counselingUpdateAllowanceForbidden
func NewCounselingUpdateAllowanceForbidden ¶
func NewCounselingUpdateAllowanceForbidden() *CounselingUpdateAllowanceForbidden
NewCounselingUpdateAllowanceForbidden creates CounselingUpdateAllowanceForbidden with default headers values
func (*CounselingUpdateAllowanceForbidden) SetPayload ¶
func (o *CounselingUpdateAllowanceForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update allowance forbidden response
func (*CounselingUpdateAllowanceForbidden) WithPayload ¶
func (o *CounselingUpdateAllowanceForbidden) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowanceForbidden
WithPayload adds the payload to the counseling update allowance forbidden response
func (*CounselingUpdateAllowanceForbidden) WriteResponse ¶
func (o *CounselingUpdateAllowanceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateAllowanceHandler ¶
type CounselingUpdateAllowanceHandler interface {
Handle(CounselingUpdateAllowanceParams) middleware.Responder
}
CounselingUpdateAllowanceHandler interface for that can handle valid counseling update allowance params
type CounselingUpdateAllowanceHandlerFunc ¶
type CounselingUpdateAllowanceHandlerFunc func(CounselingUpdateAllowanceParams) middleware.Responder
CounselingUpdateAllowanceHandlerFunc turns a function with the right signature into a counseling update allowance handler
func (CounselingUpdateAllowanceHandlerFunc) Handle ¶
func (fn CounselingUpdateAllowanceHandlerFunc) Handle(params CounselingUpdateAllowanceParams) middleware.Responder
Handle executing the request and returning a response
type CounselingUpdateAllowanceInternalServerError ¶
type CounselingUpdateAllowanceInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateAllowanceInternalServerError A server error occurred
swagger:response counselingUpdateAllowanceInternalServerError
func NewCounselingUpdateAllowanceInternalServerError ¶
func NewCounselingUpdateAllowanceInternalServerError() *CounselingUpdateAllowanceInternalServerError
NewCounselingUpdateAllowanceInternalServerError creates CounselingUpdateAllowanceInternalServerError with default headers values
func (*CounselingUpdateAllowanceInternalServerError) SetPayload ¶
func (o *CounselingUpdateAllowanceInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update allowance internal server error response
func (*CounselingUpdateAllowanceInternalServerError) WithPayload ¶
func (o *CounselingUpdateAllowanceInternalServerError) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowanceInternalServerError
WithPayload adds the payload to the counseling update allowance internal server error response
func (*CounselingUpdateAllowanceInternalServerError) WriteResponse ¶
func (o *CounselingUpdateAllowanceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateAllowanceNotFound ¶
type CounselingUpdateAllowanceNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateAllowanceNotFound The requested resource wasn't found
swagger:response counselingUpdateAllowanceNotFound
func NewCounselingUpdateAllowanceNotFound ¶
func NewCounselingUpdateAllowanceNotFound() *CounselingUpdateAllowanceNotFound
NewCounselingUpdateAllowanceNotFound creates CounselingUpdateAllowanceNotFound with default headers values
func (*CounselingUpdateAllowanceNotFound) SetPayload ¶
func (o *CounselingUpdateAllowanceNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update allowance not found response
func (*CounselingUpdateAllowanceNotFound) WithPayload ¶
func (o *CounselingUpdateAllowanceNotFound) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowanceNotFound
WithPayload adds the payload to the counseling update allowance not found response
func (*CounselingUpdateAllowanceNotFound) WriteResponse ¶
func (o *CounselingUpdateAllowanceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateAllowanceOK ¶
type CounselingUpdateAllowanceOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
CounselingUpdateAllowanceOK updated instance of allowance
swagger:response counselingUpdateAllowanceOK
func NewCounselingUpdateAllowanceOK ¶
func NewCounselingUpdateAllowanceOK() *CounselingUpdateAllowanceOK
NewCounselingUpdateAllowanceOK creates CounselingUpdateAllowanceOK with default headers values
func (*CounselingUpdateAllowanceOK) SetPayload ¶
func (o *CounselingUpdateAllowanceOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the counseling update allowance o k response
func (*CounselingUpdateAllowanceOK) WithPayload ¶
func (o *CounselingUpdateAllowanceOK) WithPayload(payload *ghcmessages.Order) *CounselingUpdateAllowanceOK
WithPayload adds the payload to the counseling update allowance o k response
func (*CounselingUpdateAllowanceOK) WriteResponse ¶
func (o *CounselingUpdateAllowanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateAllowanceParams ¶
type CounselingUpdateAllowanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.CounselingUpdateAllowancePayload /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
CounselingUpdateAllowanceParams contains all the bound params for the counseling update allowance operation typically these are obtained from a http.Request
swagger:parameters counselingUpdateAllowance
func NewCounselingUpdateAllowanceParams ¶
func NewCounselingUpdateAllowanceParams() CounselingUpdateAllowanceParams
NewCounselingUpdateAllowanceParams creates a new CounselingUpdateAllowanceParams object
There are no default values defined in the spec.
func (*CounselingUpdateAllowanceParams) BindRequest ¶
func (o *CounselingUpdateAllowanceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCounselingUpdateAllowanceParams() beforehand.
type CounselingUpdateAllowancePreconditionFailed ¶
type CounselingUpdateAllowancePreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateAllowancePreconditionFailed Precondition failed
swagger:response counselingUpdateAllowancePreconditionFailed
func NewCounselingUpdateAllowancePreconditionFailed ¶
func NewCounselingUpdateAllowancePreconditionFailed() *CounselingUpdateAllowancePreconditionFailed
NewCounselingUpdateAllowancePreconditionFailed creates CounselingUpdateAllowancePreconditionFailed with default headers values
func (*CounselingUpdateAllowancePreconditionFailed) SetPayload ¶
func (o *CounselingUpdateAllowancePreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update allowance precondition failed response
func (*CounselingUpdateAllowancePreconditionFailed) WithPayload ¶
func (o *CounselingUpdateAllowancePreconditionFailed) WithPayload(payload *ghcmessages.Error) *CounselingUpdateAllowancePreconditionFailed
WithPayload adds the payload to the counseling update allowance precondition failed response
func (*CounselingUpdateAllowancePreconditionFailed) WriteResponse ¶
func (o *CounselingUpdateAllowancePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateAllowanceURL ¶
type CounselingUpdateAllowanceURL struct { OrderID strfmt.UUID // contains filtered or unexported fields }
CounselingUpdateAllowanceURL generates an URL for the counseling update allowance operation
func (*CounselingUpdateAllowanceURL) Build ¶
func (o *CounselingUpdateAllowanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*CounselingUpdateAllowanceURL) BuildFull ¶
func (o *CounselingUpdateAllowanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CounselingUpdateAllowanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CounselingUpdateAllowanceURL) SetBasePath ¶
func (o *CounselingUpdateAllowanceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CounselingUpdateAllowanceURL) String ¶
func (o *CounselingUpdateAllowanceURL) String() string
String returns the string representation of the path with query string
func (*CounselingUpdateAllowanceURL) StringFull ¶
func (o *CounselingUpdateAllowanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CounselingUpdateAllowanceURL) WithBasePath ¶
func (o *CounselingUpdateAllowanceURL) WithBasePath(bp string) *CounselingUpdateAllowanceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CounselingUpdateAllowanceUnprocessableEntity ¶
type CounselingUpdateAllowanceUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
CounselingUpdateAllowanceUnprocessableEntity The payload was unprocessable.
swagger:response counselingUpdateAllowanceUnprocessableEntity
func NewCounselingUpdateAllowanceUnprocessableEntity ¶
func NewCounselingUpdateAllowanceUnprocessableEntity() *CounselingUpdateAllowanceUnprocessableEntity
NewCounselingUpdateAllowanceUnprocessableEntity creates CounselingUpdateAllowanceUnprocessableEntity with default headers values
func (*CounselingUpdateAllowanceUnprocessableEntity) SetPayload ¶
func (o *CounselingUpdateAllowanceUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the counseling update allowance unprocessable entity response
func (*CounselingUpdateAllowanceUnprocessableEntity) WithPayload ¶
func (o *CounselingUpdateAllowanceUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CounselingUpdateAllowanceUnprocessableEntity
WithPayload adds the payload to the counseling update allowance unprocessable entity response
func (*CounselingUpdateAllowanceUnprocessableEntity) WriteResponse ¶
func (o *CounselingUpdateAllowanceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateOrder ¶
type CounselingUpdateOrder struct { Context *middleware.Context Handler CounselingUpdateOrderHandler }
CounselingUpdateOrder swagger:route PATCH /counseling/orders/{orderID} order counselingUpdateOrder
Updates an order (performed by a services counselor)
All fields sent in this request will be set on the order referenced
func NewCounselingUpdateOrder ¶
func NewCounselingUpdateOrder(ctx *middleware.Context, handler CounselingUpdateOrderHandler) *CounselingUpdateOrder
NewCounselingUpdateOrder creates a new http.Handler for the counseling update order operation
func (*CounselingUpdateOrder) ServeHTTP ¶
func (o *CounselingUpdateOrder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CounselingUpdateOrderForbidden ¶
type CounselingUpdateOrderForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateOrderForbidden The request was denied
swagger:response counselingUpdateOrderForbidden
func NewCounselingUpdateOrderForbidden ¶
func NewCounselingUpdateOrderForbidden() *CounselingUpdateOrderForbidden
NewCounselingUpdateOrderForbidden creates CounselingUpdateOrderForbidden with default headers values
func (*CounselingUpdateOrderForbidden) SetPayload ¶
func (o *CounselingUpdateOrderForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update order forbidden response
func (*CounselingUpdateOrderForbidden) WithPayload ¶
func (o *CounselingUpdateOrderForbidden) WithPayload(payload *ghcmessages.Error) *CounselingUpdateOrderForbidden
WithPayload adds the payload to the counseling update order forbidden response
func (*CounselingUpdateOrderForbidden) WriteResponse ¶
func (o *CounselingUpdateOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateOrderHandler ¶
type CounselingUpdateOrderHandler interface {
Handle(CounselingUpdateOrderParams) middleware.Responder
}
CounselingUpdateOrderHandler interface for that can handle valid counseling update order params
type CounselingUpdateOrderHandlerFunc ¶
type CounselingUpdateOrderHandlerFunc func(CounselingUpdateOrderParams) middleware.Responder
CounselingUpdateOrderHandlerFunc turns a function with the right signature into a counseling update order handler
func (CounselingUpdateOrderHandlerFunc) Handle ¶
func (fn CounselingUpdateOrderHandlerFunc) Handle(params CounselingUpdateOrderParams) middleware.Responder
Handle executing the request and returning a response
type CounselingUpdateOrderInternalServerError ¶
type CounselingUpdateOrderInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateOrderInternalServerError A server error occurred
swagger:response counselingUpdateOrderInternalServerError
func NewCounselingUpdateOrderInternalServerError ¶
func NewCounselingUpdateOrderInternalServerError() *CounselingUpdateOrderInternalServerError
NewCounselingUpdateOrderInternalServerError creates CounselingUpdateOrderInternalServerError with default headers values
func (*CounselingUpdateOrderInternalServerError) SetPayload ¶
func (o *CounselingUpdateOrderInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update order internal server error response
func (*CounselingUpdateOrderInternalServerError) WithPayload ¶
func (o *CounselingUpdateOrderInternalServerError) WithPayload(payload *ghcmessages.Error) *CounselingUpdateOrderInternalServerError
WithPayload adds the payload to the counseling update order internal server error response
func (*CounselingUpdateOrderInternalServerError) WriteResponse ¶
func (o *CounselingUpdateOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateOrderNotFound ¶
type CounselingUpdateOrderNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateOrderNotFound The requested resource wasn't found
swagger:response counselingUpdateOrderNotFound
func NewCounselingUpdateOrderNotFound ¶
func NewCounselingUpdateOrderNotFound() *CounselingUpdateOrderNotFound
NewCounselingUpdateOrderNotFound creates CounselingUpdateOrderNotFound with default headers values
func (*CounselingUpdateOrderNotFound) SetPayload ¶
func (o *CounselingUpdateOrderNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update order not found response
func (*CounselingUpdateOrderNotFound) WithPayload ¶
func (o *CounselingUpdateOrderNotFound) WithPayload(payload *ghcmessages.Error) *CounselingUpdateOrderNotFound
WithPayload adds the payload to the counseling update order not found response
func (*CounselingUpdateOrderNotFound) WriteResponse ¶
func (o *CounselingUpdateOrderNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateOrderOK ¶
type CounselingUpdateOrderOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
CounselingUpdateOrderOK updated instance of orders
swagger:response counselingUpdateOrderOK
func NewCounselingUpdateOrderOK ¶
func NewCounselingUpdateOrderOK() *CounselingUpdateOrderOK
NewCounselingUpdateOrderOK creates CounselingUpdateOrderOK with default headers values
func (*CounselingUpdateOrderOK) SetPayload ¶
func (o *CounselingUpdateOrderOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the counseling update order o k response
func (*CounselingUpdateOrderOK) WithPayload ¶
func (o *CounselingUpdateOrderOK) WithPayload(payload *ghcmessages.Order) *CounselingUpdateOrderOK
WithPayload adds the payload to the counseling update order o k response
func (*CounselingUpdateOrderOK) WriteResponse ¶
func (o *CounselingUpdateOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateOrderParams ¶
type CounselingUpdateOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.CounselingUpdateOrderPayload /*ID of order to update Required: true In: path */ OrderID strfmt.UUID }
CounselingUpdateOrderParams contains all the bound params for the counseling update order operation typically these are obtained from a http.Request
swagger:parameters counselingUpdateOrder
func NewCounselingUpdateOrderParams ¶
func NewCounselingUpdateOrderParams() CounselingUpdateOrderParams
NewCounselingUpdateOrderParams creates a new CounselingUpdateOrderParams object
There are no default values defined in the spec.
func (*CounselingUpdateOrderParams) BindRequest ¶
func (o *CounselingUpdateOrderParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCounselingUpdateOrderParams() beforehand.
type CounselingUpdateOrderPreconditionFailed ¶
type CounselingUpdateOrderPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CounselingUpdateOrderPreconditionFailed Precondition failed
swagger:response counselingUpdateOrderPreconditionFailed
func NewCounselingUpdateOrderPreconditionFailed ¶
func NewCounselingUpdateOrderPreconditionFailed() *CounselingUpdateOrderPreconditionFailed
NewCounselingUpdateOrderPreconditionFailed creates CounselingUpdateOrderPreconditionFailed with default headers values
func (*CounselingUpdateOrderPreconditionFailed) SetPayload ¶
func (o *CounselingUpdateOrderPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the counseling update order precondition failed response
func (*CounselingUpdateOrderPreconditionFailed) WithPayload ¶
func (o *CounselingUpdateOrderPreconditionFailed) WithPayload(payload *ghcmessages.Error) *CounselingUpdateOrderPreconditionFailed
WithPayload adds the payload to the counseling update order precondition failed response
func (*CounselingUpdateOrderPreconditionFailed) WriteResponse ¶
func (o *CounselingUpdateOrderPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CounselingUpdateOrderURL ¶
type CounselingUpdateOrderURL struct { OrderID strfmt.UUID // contains filtered or unexported fields }
CounselingUpdateOrderURL generates an URL for the counseling update order operation
func (*CounselingUpdateOrderURL) Build ¶
func (o *CounselingUpdateOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*CounselingUpdateOrderURL) BuildFull ¶
func (o *CounselingUpdateOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CounselingUpdateOrderURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CounselingUpdateOrderURL) SetBasePath ¶
func (o *CounselingUpdateOrderURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CounselingUpdateOrderURL) String ¶
func (o *CounselingUpdateOrderURL) String() string
String returns the string representation of the path with query string
func (*CounselingUpdateOrderURL) StringFull ¶
func (o *CounselingUpdateOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CounselingUpdateOrderURL) WithBasePath ¶
func (o *CounselingUpdateOrderURL) WithBasePath(bp string) *CounselingUpdateOrderURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CounselingUpdateOrderUnprocessableEntity ¶
type CounselingUpdateOrderUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
CounselingUpdateOrderUnprocessableEntity The payload was unprocessable.
swagger:response counselingUpdateOrderUnprocessableEntity
func NewCounselingUpdateOrderUnprocessableEntity ¶
func NewCounselingUpdateOrderUnprocessableEntity() *CounselingUpdateOrderUnprocessableEntity
NewCounselingUpdateOrderUnprocessableEntity creates CounselingUpdateOrderUnprocessableEntity with default headers values
func (*CounselingUpdateOrderUnprocessableEntity) SetPayload ¶
func (o *CounselingUpdateOrderUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the counseling update order unprocessable entity response
func (*CounselingUpdateOrderUnprocessableEntity) WithPayload ¶
func (o *CounselingUpdateOrderUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CounselingUpdateOrderUnprocessableEntity
WithPayload adds the payload to the counseling update order unprocessable entity response
func (*CounselingUpdateOrderUnprocessableEntity) WriteResponse ¶
func (o *CounselingUpdateOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrder ¶
type CreateOrder struct { Context *middleware.Context Handler CreateOrderHandler }
CreateOrder swagger:route POST /orders order createOrder
Creates an orders model for a logged-in user ¶
Creates an instance of orders tied to a service member, which allow for creation of a move and an entitlement. Orders are required before the creation of a move
func NewCreateOrder ¶
func NewCreateOrder(ctx *middleware.Context, handler CreateOrderHandler) *CreateOrder
NewCreateOrder creates a new http.Handler for the create order operation
func (*CreateOrder) ServeHTTP ¶
func (o *CreateOrder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateOrderBadRequest ¶
type CreateOrderBadRequest struct { }
CreateOrderBadRequest invalid request
swagger:response createOrderBadRequest
func NewCreateOrderBadRequest ¶
func NewCreateOrderBadRequest() *CreateOrderBadRequest
NewCreateOrderBadRequest creates CreateOrderBadRequest with default headers values
func (*CreateOrderBadRequest) WriteResponse ¶
func (o *CreateOrderBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrderForbidden ¶
type CreateOrderForbidden struct { }
CreateOrderForbidden user is not authorized
swagger:response createOrderForbidden
func NewCreateOrderForbidden ¶
func NewCreateOrderForbidden() *CreateOrderForbidden
NewCreateOrderForbidden creates CreateOrderForbidden with default headers values
func (*CreateOrderForbidden) WriteResponse ¶
func (o *CreateOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrderHandler ¶
type CreateOrderHandler interface {
Handle(CreateOrderParams) middleware.Responder
}
CreateOrderHandler interface for that can handle valid create order params
type CreateOrderHandlerFunc ¶
type CreateOrderHandlerFunc func(CreateOrderParams) middleware.Responder
CreateOrderHandlerFunc turns a function with the right signature into a create order handler
func (CreateOrderHandlerFunc) Handle ¶
func (fn CreateOrderHandlerFunc) Handle(params CreateOrderParams) middleware.Responder
Handle executing the request and returning a response
type CreateOrderInternalServerError ¶
type CreateOrderInternalServerError struct { }
CreateOrderInternalServerError internal server error
swagger:response createOrderInternalServerError
func NewCreateOrderInternalServerError ¶
func NewCreateOrderInternalServerError() *CreateOrderInternalServerError
NewCreateOrderInternalServerError creates CreateOrderInternalServerError with default headers values
func (*CreateOrderInternalServerError) WriteResponse ¶
func (o *CreateOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrderOK ¶
type CreateOrderOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
CreateOrderOK created instance of orders
swagger:response createOrderOK
func NewCreateOrderOK ¶
func NewCreateOrderOK() *CreateOrderOK
NewCreateOrderOK creates CreateOrderOK with default headers values
func (*CreateOrderOK) SetPayload ¶
func (o *CreateOrderOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the create order o k response
func (*CreateOrderOK) WithPayload ¶
func (o *CreateOrderOK) WithPayload(payload *ghcmessages.Order) *CreateOrderOK
WithPayload adds the payload to the create order o k response
func (*CreateOrderOK) WriteResponse ¶
func (o *CreateOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrderParams ¶
type CreateOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ CreateOrders *ghcmessages.CreateOrders }
CreateOrderParams contains all the bound params for the create order operation typically these are obtained from a http.Request
swagger:parameters createOrder
func NewCreateOrderParams ¶
func NewCreateOrderParams() CreateOrderParams
NewCreateOrderParams creates a new CreateOrderParams object
There are no default values defined in the spec.
func (*CreateOrderParams) BindRequest ¶
func (o *CreateOrderParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateOrderParams() beforehand.
type CreateOrderURL ¶
type CreateOrderURL struct {
// contains filtered or unexported fields
}
CreateOrderURL generates an URL for the create order operation
func (*CreateOrderURL) Build ¶
func (o *CreateOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateOrderURL) BuildFull ¶
func (o *CreateOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateOrderURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateOrderURL) SetBasePath ¶
func (o *CreateOrderURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateOrderURL) String ¶
func (o *CreateOrderURL) String() string
String returns the string representation of the path with query string
func (*CreateOrderURL) StringFull ¶
func (o *CreateOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateOrderURL) WithBasePath ¶
func (o *CreateOrderURL) WithBasePath(bp string) *CreateOrderURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateOrderUnauthorized ¶
type CreateOrderUnauthorized struct { }
CreateOrderUnauthorized request requires user authentication
swagger:response createOrderUnauthorized
func NewCreateOrderUnauthorized ¶
func NewCreateOrderUnauthorized() *CreateOrderUnauthorized
NewCreateOrderUnauthorized creates CreateOrderUnauthorized with default headers values
func (*CreateOrderUnauthorized) WriteResponse ¶
func (o *CreateOrderUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrderUnprocessableEntity ¶
type CreateOrderUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
CreateOrderUnprocessableEntity The payload was unprocessable.
swagger:response createOrderUnprocessableEntity
func NewCreateOrderUnprocessableEntity ¶
func NewCreateOrderUnprocessableEntity() *CreateOrderUnprocessableEntity
NewCreateOrderUnprocessableEntity creates CreateOrderUnprocessableEntity with default headers values
func (*CreateOrderUnprocessableEntity) SetPayload ¶
func (o *CreateOrderUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the create order unprocessable entity response
func (*CreateOrderUnprocessableEntity) WithPayload ¶
func (o *CreateOrderUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CreateOrderUnprocessableEntity
WithPayload adds the payload to the create order unprocessable entity response
func (*CreateOrderUnprocessableEntity) WriteResponse ¶
func (o *CreateOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrder ¶
type GetOrder struct { Context *middleware.Context Handler GetOrderHandler }
GetOrder swagger:route GET /orders/{orderID} order getOrder
Gets an order by ID ¶
Gets an order
func NewGetOrder ¶
func NewGetOrder(ctx *middleware.Context, handler GetOrderHandler) *GetOrder
NewGetOrder creates a new http.Handler for the get order operation
type GetOrderBadRequest ¶
type GetOrderBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetOrderBadRequest The request payload is invalid
swagger:response getOrderBadRequest
func NewGetOrderBadRequest ¶
func NewGetOrderBadRequest() *GetOrderBadRequest
NewGetOrderBadRequest creates GetOrderBadRequest with default headers values
func (*GetOrderBadRequest) SetPayload ¶
func (o *GetOrderBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get order bad request response
func (*GetOrderBadRequest) WithPayload ¶
func (o *GetOrderBadRequest) WithPayload(payload *ghcmessages.Error) *GetOrderBadRequest
WithPayload adds the payload to the get order bad request response
func (*GetOrderBadRequest) WriteResponse ¶
func (o *GetOrderBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrderForbidden ¶
type GetOrderForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetOrderForbidden The request was denied
swagger:response getOrderForbidden
func NewGetOrderForbidden ¶
func NewGetOrderForbidden() *GetOrderForbidden
NewGetOrderForbidden creates GetOrderForbidden with default headers values
func (*GetOrderForbidden) SetPayload ¶
func (o *GetOrderForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get order forbidden response
func (*GetOrderForbidden) WithPayload ¶
func (o *GetOrderForbidden) WithPayload(payload *ghcmessages.Error) *GetOrderForbidden
WithPayload adds the payload to the get order forbidden response
func (*GetOrderForbidden) WriteResponse ¶
func (o *GetOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrderHandler ¶
type GetOrderHandler interface {
Handle(GetOrderParams) middleware.Responder
}
GetOrderHandler interface for that can handle valid get order params
type GetOrderHandlerFunc ¶
type GetOrderHandlerFunc func(GetOrderParams) middleware.Responder
GetOrderHandlerFunc turns a function with the right signature into a get order handler
func (GetOrderHandlerFunc) Handle ¶
func (fn GetOrderHandlerFunc) Handle(params GetOrderParams) middleware.Responder
Handle executing the request and returning a response
type GetOrderInternalServerError ¶
type GetOrderInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetOrderInternalServerError A server error occurred
swagger:response getOrderInternalServerError
func NewGetOrderInternalServerError ¶
func NewGetOrderInternalServerError() *GetOrderInternalServerError
NewGetOrderInternalServerError creates GetOrderInternalServerError with default headers values
func (*GetOrderInternalServerError) SetPayload ¶
func (o *GetOrderInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get order internal server error response
func (*GetOrderInternalServerError) WithPayload ¶
func (o *GetOrderInternalServerError) WithPayload(payload *ghcmessages.Error) *GetOrderInternalServerError
WithPayload adds the payload to the get order internal server error response
func (*GetOrderInternalServerError) WriteResponse ¶
func (o *GetOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrderNotFound ¶
type GetOrderNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetOrderNotFound The requested resource wasn't found
swagger:response getOrderNotFound
func NewGetOrderNotFound ¶
func NewGetOrderNotFound() *GetOrderNotFound
NewGetOrderNotFound creates GetOrderNotFound with default headers values
func (*GetOrderNotFound) SetPayload ¶
func (o *GetOrderNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get order not found response
func (*GetOrderNotFound) WithPayload ¶
func (o *GetOrderNotFound) WithPayload(payload *ghcmessages.Error) *GetOrderNotFound
WithPayload adds the payload to the get order not found response
func (*GetOrderNotFound) WriteResponse ¶
func (o *GetOrderNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrderOK ¶
type GetOrderOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
GetOrderOK Successfully retrieved order
swagger:response getOrderOK
func NewGetOrderOK ¶
func NewGetOrderOK() *GetOrderOK
NewGetOrderOK creates GetOrderOK with default headers values
func (*GetOrderOK) SetPayload ¶
func (o *GetOrderOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the get order o k response
func (*GetOrderOK) WithPayload ¶
func (o *GetOrderOK) WithPayload(payload *ghcmessages.Order) *GetOrderOK
WithPayload adds the payload to the get order o k response
func (*GetOrderOK) WriteResponse ¶
func (o *GetOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOrderParams ¶
type GetOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
GetOrderParams contains all the bound params for the get order operation typically these are obtained from a http.Request
swagger:parameters getOrder
func NewGetOrderParams ¶
func NewGetOrderParams() GetOrderParams
NewGetOrderParams creates a new GetOrderParams object
There are no default values defined in the spec.
func (*GetOrderParams) BindRequest ¶
func (o *GetOrderParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetOrderParams() beforehand.
type GetOrderURL ¶
GetOrderURL generates an URL for the get order operation
func (*GetOrderURL) Build ¶
func (o *GetOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOrderURL) BuildFull ¶
func (o *GetOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOrderURL) SetBasePath ¶
func (o *GetOrderURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetOrderURL) String ¶
func (o *GetOrderURL) String() string
String returns the string representation of the path with query string
func (*GetOrderURL) StringFull ¶
func (o *GetOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOrderURL) WithBasePath ¶
func (o *GetOrderURL) WithBasePath(bp string) *GetOrderURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetOrderUnauthorized ¶
type GetOrderUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
GetOrderUnauthorized The request was denied
swagger:response getOrderUnauthorized
func NewGetOrderUnauthorized ¶
func NewGetOrderUnauthorized() *GetOrderUnauthorized
NewGetOrderUnauthorized creates GetOrderUnauthorized with default headers values
func (*GetOrderUnauthorized) SetPayload ¶
func (o *GetOrderUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get order unauthorized response
func (*GetOrderUnauthorized) WithPayload ¶
func (o *GetOrderUnauthorized) WithPayload(payload *ghcmessages.Error) *GetOrderUnauthorized
WithPayload adds the payload to the get order unauthorized response
func (*GetOrderUnauthorized) WriteResponse ¶
func (o *GetOrderUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAllowance ¶
type UpdateAllowance struct { Context *middleware.Context Handler UpdateAllowanceHandler }
UpdateAllowance swagger:route PATCH /orders/{orderID}/allowances order updateAllowance
Updates an allowance (Orders with Entitlements)
All fields sent in this request will be set on the order referenced
func NewUpdateAllowance ¶
func NewUpdateAllowance(ctx *middleware.Context, handler UpdateAllowanceHandler) *UpdateAllowance
NewUpdateAllowance creates a new http.Handler for the update allowance operation
func (*UpdateAllowance) ServeHTTP ¶
func (o *UpdateAllowance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateAllowanceForbidden ¶
type UpdateAllowanceForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateAllowanceForbidden The request was denied
swagger:response updateAllowanceForbidden
func NewUpdateAllowanceForbidden ¶
func NewUpdateAllowanceForbidden() *UpdateAllowanceForbidden
NewUpdateAllowanceForbidden creates UpdateAllowanceForbidden with default headers values
func (*UpdateAllowanceForbidden) SetPayload ¶
func (o *UpdateAllowanceForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update allowance forbidden response
func (*UpdateAllowanceForbidden) WithPayload ¶
func (o *UpdateAllowanceForbidden) WithPayload(payload *ghcmessages.Error) *UpdateAllowanceForbidden
WithPayload adds the payload to the update allowance forbidden response
func (*UpdateAllowanceForbidden) WriteResponse ¶
func (o *UpdateAllowanceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAllowanceHandler ¶
type UpdateAllowanceHandler interface {
Handle(UpdateAllowanceParams) middleware.Responder
}
UpdateAllowanceHandler interface for that can handle valid update allowance params
type UpdateAllowanceHandlerFunc ¶
type UpdateAllowanceHandlerFunc func(UpdateAllowanceParams) middleware.Responder
UpdateAllowanceHandlerFunc turns a function with the right signature into a update allowance handler
func (UpdateAllowanceHandlerFunc) Handle ¶
func (fn UpdateAllowanceHandlerFunc) Handle(params UpdateAllowanceParams) middleware.Responder
Handle executing the request and returning a response
type UpdateAllowanceInternalServerError ¶
type UpdateAllowanceInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateAllowanceInternalServerError A server error occurred
swagger:response updateAllowanceInternalServerError
func NewUpdateAllowanceInternalServerError ¶
func NewUpdateAllowanceInternalServerError() *UpdateAllowanceInternalServerError
NewUpdateAllowanceInternalServerError creates UpdateAllowanceInternalServerError with default headers values
func (*UpdateAllowanceInternalServerError) SetPayload ¶
func (o *UpdateAllowanceInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update allowance internal server error response
func (*UpdateAllowanceInternalServerError) WithPayload ¶
func (o *UpdateAllowanceInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateAllowanceInternalServerError
WithPayload adds the payload to the update allowance internal server error response
func (*UpdateAllowanceInternalServerError) WriteResponse ¶
func (o *UpdateAllowanceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAllowanceNotFound ¶
type UpdateAllowanceNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateAllowanceNotFound The requested resource wasn't found
swagger:response updateAllowanceNotFound
func NewUpdateAllowanceNotFound ¶
func NewUpdateAllowanceNotFound() *UpdateAllowanceNotFound
NewUpdateAllowanceNotFound creates UpdateAllowanceNotFound with default headers values
func (*UpdateAllowanceNotFound) SetPayload ¶
func (o *UpdateAllowanceNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update allowance not found response
func (*UpdateAllowanceNotFound) WithPayload ¶
func (o *UpdateAllowanceNotFound) WithPayload(payload *ghcmessages.Error) *UpdateAllowanceNotFound
WithPayload adds the payload to the update allowance not found response
func (*UpdateAllowanceNotFound) WriteResponse ¶
func (o *UpdateAllowanceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAllowanceOK ¶
type UpdateAllowanceOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
UpdateAllowanceOK updated instance of allowance
swagger:response updateAllowanceOK
func NewUpdateAllowanceOK ¶
func NewUpdateAllowanceOK() *UpdateAllowanceOK
NewUpdateAllowanceOK creates UpdateAllowanceOK with default headers values
func (*UpdateAllowanceOK) SetPayload ¶
func (o *UpdateAllowanceOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the update allowance o k response
func (*UpdateAllowanceOK) WithPayload ¶
func (o *UpdateAllowanceOK) WithPayload(payload *ghcmessages.Order) *UpdateAllowanceOK
WithPayload adds the payload to the update allowance o k response
func (*UpdateAllowanceOK) WriteResponse ¶
func (o *UpdateAllowanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAllowanceParams ¶
type UpdateAllowanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.UpdateAllowancePayload /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
UpdateAllowanceParams contains all the bound params for the update allowance operation typically these are obtained from a http.Request
swagger:parameters updateAllowance
func NewUpdateAllowanceParams ¶
func NewUpdateAllowanceParams() UpdateAllowanceParams
NewUpdateAllowanceParams creates a new UpdateAllowanceParams object
There are no default values defined in the spec.
func (*UpdateAllowanceParams) BindRequest ¶
func (o *UpdateAllowanceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateAllowanceParams() beforehand.
type UpdateAllowancePreconditionFailed ¶
type UpdateAllowancePreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateAllowancePreconditionFailed Precondition failed
swagger:response updateAllowancePreconditionFailed
func NewUpdateAllowancePreconditionFailed ¶
func NewUpdateAllowancePreconditionFailed() *UpdateAllowancePreconditionFailed
NewUpdateAllowancePreconditionFailed creates UpdateAllowancePreconditionFailed with default headers values
func (*UpdateAllowancePreconditionFailed) SetPayload ¶
func (o *UpdateAllowancePreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update allowance precondition failed response
func (*UpdateAllowancePreconditionFailed) WithPayload ¶
func (o *UpdateAllowancePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateAllowancePreconditionFailed
WithPayload adds the payload to the update allowance precondition failed response
func (*UpdateAllowancePreconditionFailed) WriteResponse ¶
func (o *UpdateAllowancePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateAllowanceURL ¶
UpdateAllowanceURL generates an URL for the update allowance operation
func (*UpdateAllowanceURL) Build ¶
func (o *UpdateAllowanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateAllowanceURL) BuildFull ¶
func (o *UpdateAllowanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateAllowanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateAllowanceURL) SetBasePath ¶
func (o *UpdateAllowanceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateAllowanceURL) String ¶
func (o *UpdateAllowanceURL) String() string
String returns the string representation of the path with query string
func (*UpdateAllowanceURL) StringFull ¶
func (o *UpdateAllowanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateAllowanceURL) WithBasePath ¶
func (o *UpdateAllowanceURL) WithBasePath(bp string) *UpdateAllowanceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateAllowanceUnprocessableEntity ¶
type UpdateAllowanceUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateAllowanceUnprocessableEntity The payload was unprocessable.
swagger:response updateAllowanceUnprocessableEntity
func NewUpdateAllowanceUnprocessableEntity ¶
func NewUpdateAllowanceUnprocessableEntity() *UpdateAllowanceUnprocessableEntity
NewUpdateAllowanceUnprocessableEntity creates UpdateAllowanceUnprocessableEntity with default headers values
func (*UpdateAllowanceUnprocessableEntity) SetPayload ¶
func (o *UpdateAllowanceUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update allowance unprocessable entity response
func (*UpdateAllowanceUnprocessableEntity) WithPayload ¶
func (o *UpdateAllowanceUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateAllowanceUnprocessableEntity
WithPayload adds the payload to the update allowance unprocessable entity response
func (*UpdateAllowanceUnprocessableEntity) WriteResponse ¶
func (o *UpdateAllowanceUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBillableWeight ¶
type UpdateBillableWeight struct { Context *middleware.Context Handler UpdateBillableWeightHandler }
UpdateBillableWeight swagger:route PATCH /orders/{orderID}/update-billable-weight order updateBillableWeight
Updates the max billable weight ¶
Updates the DBAuthorizedWeight attribute for the Order Entitlements=
func NewUpdateBillableWeight ¶
func NewUpdateBillableWeight(ctx *middleware.Context, handler UpdateBillableWeightHandler) *UpdateBillableWeight
NewUpdateBillableWeight creates a new http.Handler for the update billable weight operation
func (*UpdateBillableWeight) ServeHTTP ¶
func (o *UpdateBillableWeight) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateBillableWeightForbidden ¶
type UpdateBillableWeightForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateBillableWeightForbidden The request was denied
swagger:response updateBillableWeightForbidden
func NewUpdateBillableWeightForbidden ¶
func NewUpdateBillableWeightForbidden() *UpdateBillableWeightForbidden
NewUpdateBillableWeightForbidden creates UpdateBillableWeightForbidden with default headers values
func (*UpdateBillableWeightForbidden) SetPayload ¶
func (o *UpdateBillableWeightForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update billable weight forbidden response
func (*UpdateBillableWeightForbidden) WithPayload ¶
func (o *UpdateBillableWeightForbidden) WithPayload(payload *ghcmessages.Error) *UpdateBillableWeightForbidden
WithPayload adds the payload to the update billable weight forbidden response
func (*UpdateBillableWeightForbidden) WriteResponse ¶
func (o *UpdateBillableWeightForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBillableWeightHandler ¶
type UpdateBillableWeightHandler interface {
Handle(UpdateBillableWeightParams) middleware.Responder
}
UpdateBillableWeightHandler interface for that can handle valid update billable weight params
type UpdateBillableWeightHandlerFunc ¶
type UpdateBillableWeightHandlerFunc func(UpdateBillableWeightParams) middleware.Responder
UpdateBillableWeightHandlerFunc turns a function with the right signature into a update billable weight handler
func (UpdateBillableWeightHandlerFunc) Handle ¶
func (fn UpdateBillableWeightHandlerFunc) Handle(params UpdateBillableWeightParams) middleware.Responder
Handle executing the request and returning a response
type UpdateBillableWeightInternalServerError ¶
type UpdateBillableWeightInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateBillableWeightInternalServerError A server error occurred
swagger:response updateBillableWeightInternalServerError
func NewUpdateBillableWeightInternalServerError ¶
func NewUpdateBillableWeightInternalServerError() *UpdateBillableWeightInternalServerError
NewUpdateBillableWeightInternalServerError creates UpdateBillableWeightInternalServerError with default headers values
func (*UpdateBillableWeightInternalServerError) SetPayload ¶
func (o *UpdateBillableWeightInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update billable weight internal server error response
func (*UpdateBillableWeightInternalServerError) WithPayload ¶
func (o *UpdateBillableWeightInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateBillableWeightInternalServerError
WithPayload adds the payload to the update billable weight internal server error response
func (*UpdateBillableWeightInternalServerError) WriteResponse ¶
func (o *UpdateBillableWeightInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBillableWeightNotFound ¶
type UpdateBillableWeightNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateBillableWeightNotFound The requested resource wasn't found
swagger:response updateBillableWeightNotFound
func NewUpdateBillableWeightNotFound ¶
func NewUpdateBillableWeightNotFound() *UpdateBillableWeightNotFound
NewUpdateBillableWeightNotFound creates UpdateBillableWeightNotFound with default headers values
func (*UpdateBillableWeightNotFound) SetPayload ¶
func (o *UpdateBillableWeightNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update billable weight not found response
func (*UpdateBillableWeightNotFound) WithPayload ¶
func (o *UpdateBillableWeightNotFound) WithPayload(payload *ghcmessages.Error) *UpdateBillableWeightNotFound
WithPayload adds the payload to the update billable weight not found response
func (*UpdateBillableWeightNotFound) WriteResponse ¶
func (o *UpdateBillableWeightNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBillableWeightOK ¶
type UpdateBillableWeightOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
UpdateBillableWeightOK updated Order
swagger:response updateBillableWeightOK
func NewUpdateBillableWeightOK ¶
func NewUpdateBillableWeightOK() *UpdateBillableWeightOK
NewUpdateBillableWeightOK creates UpdateBillableWeightOK with default headers values
func (*UpdateBillableWeightOK) SetPayload ¶
func (o *UpdateBillableWeightOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the update billable weight o k response
func (*UpdateBillableWeightOK) WithPayload ¶
func (o *UpdateBillableWeightOK) WithPayload(payload *ghcmessages.Order) *UpdateBillableWeightOK
WithPayload adds the payload to the update billable weight o k response
func (*UpdateBillableWeightOK) WriteResponse ¶
func (o *UpdateBillableWeightOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBillableWeightParams ¶
type UpdateBillableWeightParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.UpdateBillableWeightPayload /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
UpdateBillableWeightParams contains all the bound params for the update billable weight operation typically these are obtained from a http.Request
swagger:parameters updateBillableWeight
func NewUpdateBillableWeightParams ¶
func NewUpdateBillableWeightParams() UpdateBillableWeightParams
NewUpdateBillableWeightParams creates a new UpdateBillableWeightParams object
There are no default values defined in the spec.
func (*UpdateBillableWeightParams) BindRequest ¶
func (o *UpdateBillableWeightParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateBillableWeightParams() beforehand.
type UpdateBillableWeightPreconditionFailed ¶
type UpdateBillableWeightPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateBillableWeightPreconditionFailed Precondition failed
swagger:response updateBillableWeightPreconditionFailed
func NewUpdateBillableWeightPreconditionFailed ¶
func NewUpdateBillableWeightPreconditionFailed() *UpdateBillableWeightPreconditionFailed
NewUpdateBillableWeightPreconditionFailed creates UpdateBillableWeightPreconditionFailed with default headers values
func (*UpdateBillableWeightPreconditionFailed) SetPayload ¶
func (o *UpdateBillableWeightPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update billable weight precondition failed response
func (*UpdateBillableWeightPreconditionFailed) WithPayload ¶
func (o *UpdateBillableWeightPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateBillableWeightPreconditionFailed
WithPayload adds the payload to the update billable weight precondition failed response
func (*UpdateBillableWeightPreconditionFailed) WriteResponse ¶
func (o *UpdateBillableWeightPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateBillableWeightURL ¶
type UpdateBillableWeightURL struct { OrderID strfmt.UUID // contains filtered or unexported fields }
UpdateBillableWeightURL generates an URL for the update billable weight operation
func (*UpdateBillableWeightURL) Build ¶
func (o *UpdateBillableWeightURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateBillableWeightURL) BuildFull ¶
func (o *UpdateBillableWeightURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateBillableWeightURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateBillableWeightURL) SetBasePath ¶
func (o *UpdateBillableWeightURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateBillableWeightURL) String ¶
func (o *UpdateBillableWeightURL) String() string
String returns the string representation of the path with query string
func (*UpdateBillableWeightURL) StringFull ¶
func (o *UpdateBillableWeightURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateBillableWeightURL) WithBasePath ¶
func (o *UpdateBillableWeightURL) WithBasePath(bp string) *UpdateBillableWeightURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateBillableWeightUnprocessableEntity ¶
type UpdateBillableWeightUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateBillableWeightUnprocessableEntity The payload was unprocessable.
swagger:response updateBillableWeightUnprocessableEntity
func NewUpdateBillableWeightUnprocessableEntity ¶
func NewUpdateBillableWeightUnprocessableEntity() *UpdateBillableWeightUnprocessableEntity
NewUpdateBillableWeightUnprocessableEntity creates UpdateBillableWeightUnprocessableEntity with default headers values
func (*UpdateBillableWeightUnprocessableEntity) SetPayload ¶
func (o *UpdateBillableWeightUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update billable weight unprocessable entity response
func (*UpdateBillableWeightUnprocessableEntity) WithPayload ¶
func (o *UpdateBillableWeightUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateBillableWeightUnprocessableEntity
WithPayload adds the payload to the update billable weight unprocessable entity response
func (*UpdateBillableWeightUnprocessableEntity) WriteResponse ¶
func (o *UpdateBillableWeightUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMaxBillableWeightAsTIO ¶
type UpdateMaxBillableWeightAsTIO struct { Context *middleware.Context Handler UpdateMaxBillableWeightAsTIOHandler }
UpdateMaxBillableWeightAsTIO swagger:route PATCH /orders/{orderID}/update-max-billable-weight/tio order updateMaxBillableWeightAsTIO
Updates the max billable weight with TIO remarks ¶
Updates the DBAuthorizedWeight attribute for the Order Entitlements and move TIO remarks
func NewUpdateMaxBillableWeightAsTIO ¶
func NewUpdateMaxBillableWeightAsTIO(ctx *middleware.Context, handler UpdateMaxBillableWeightAsTIOHandler) *UpdateMaxBillableWeightAsTIO
NewUpdateMaxBillableWeightAsTIO creates a new http.Handler for the update max billable weight as t i o operation
func (*UpdateMaxBillableWeightAsTIO) ServeHTTP ¶
func (o *UpdateMaxBillableWeightAsTIO) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateMaxBillableWeightAsTIOForbidden ¶
type UpdateMaxBillableWeightAsTIOForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMaxBillableWeightAsTIOForbidden The request was denied
swagger:response updateMaxBillableWeightAsTIOForbidden
func NewUpdateMaxBillableWeightAsTIOForbidden ¶
func NewUpdateMaxBillableWeightAsTIOForbidden() *UpdateMaxBillableWeightAsTIOForbidden
NewUpdateMaxBillableWeightAsTIOForbidden creates UpdateMaxBillableWeightAsTIOForbidden with default headers values
func (*UpdateMaxBillableWeightAsTIOForbidden) SetPayload ¶
func (o *UpdateMaxBillableWeightAsTIOForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update max billable weight as t i o forbidden response
func (*UpdateMaxBillableWeightAsTIOForbidden) WithPayload ¶
func (o *UpdateMaxBillableWeightAsTIOForbidden) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIOForbidden
WithPayload adds the payload to the update max billable weight as t i o forbidden response
func (*UpdateMaxBillableWeightAsTIOForbidden) WriteResponse ¶
func (o *UpdateMaxBillableWeightAsTIOForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMaxBillableWeightAsTIOHandler ¶
type UpdateMaxBillableWeightAsTIOHandler interface {
Handle(UpdateMaxBillableWeightAsTIOParams) middleware.Responder
}
UpdateMaxBillableWeightAsTIOHandler interface for that can handle valid update max billable weight as t i o params
type UpdateMaxBillableWeightAsTIOHandlerFunc ¶
type UpdateMaxBillableWeightAsTIOHandlerFunc func(UpdateMaxBillableWeightAsTIOParams) middleware.Responder
UpdateMaxBillableWeightAsTIOHandlerFunc turns a function with the right signature into a update max billable weight as t i o handler
func (UpdateMaxBillableWeightAsTIOHandlerFunc) Handle ¶
func (fn UpdateMaxBillableWeightAsTIOHandlerFunc) Handle(params UpdateMaxBillableWeightAsTIOParams) middleware.Responder
Handle executing the request and returning a response
type UpdateMaxBillableWeightAsTIOInternalServerError ¶
type UpdateMaxBillableWeightAsTIOInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMaxBillableWeightAsTIOInternalServerError A server error occurred
swagger:response updateMaxBillableWeightAsTIOInternalServerError
func NewUpdateMaxBillableWeightAsTIOInternalServerError ¶
func NewUpdateMaxBillableWeightAsTIOInternalServerError() *UpdateMaxBillableWeightAsTIOInternalServerError
NewUpdateMaxBillableWeightAsTIOInternalServerError creates UpdateMaxBillableWeightAsTIOInternalServerError with default headers values
func (*UpdateMaxBillableWeightAsTIOInternalServerError) SetPayload ¶
func (o *UpdateMaxBillableWeightAsTIOInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update max billable weight as t i o internal server error response
func (*UpdateMaxBillableWeightAsTIOInternalServerError) WithPayload ¶
func (o *UpdateMaxBillableWeightAsTIOInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIOInternalServerError
WithPayload adds the payload to the update max billable weight as t i o internal server error response
func (*UpdateMaxBillableWeightAsTIOInternalServerError) WriteResponse ¶
func (o *UpdateMaxBillableWeightAsTIOInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMaxBillableWeightAsTIONotFound ¶
type UpdateMaxBillableWeightAsTIONotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMaxBillableWeightAsTIONotFound The requested resource wasn't found
swagger:response updateMaxBillableWeightAsTIONotFound
func NewUpdateMaxBillableWeightAsTIONotFound ¶
func NewUpdateMaxBillableWeightAsTIONotFound() *UpdateMaxBillableWeightAsTIONotFound
NewUpdateMaxBillableWeightAsTIONotFound creates UpdateMaxBillableWeightAsTIONotFound with default headers values
func (*UpdateMaxBillableWeightAsTIONotFound) SetPayload ¶
func (o *UpdateMaxBillableWeightAsTIONotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update max billable weight as t i o not found response
func (*UpdateMaxBillableWeightAsTIONotFound) WithPayload ¶
func (o *UpdateMaxBillableWeightAsTIONotFound) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIONotFound
WithPayload adds the payload to the update max billable weight as t i o not found response
func (*UpdateMaxBillableWeightAsTIONotFound) WriteResponse ¶
func (o *UpdateMaxBillableWeightAsTIONotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMaxBillableWeightAsTIOOK ¶
type UpdateMaxBillableWeightAsTIOOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
UpdateMaxBillableWeightAsTIOOK updated Order
swagger:response updateMaxBillableWeightAsTIOOK
func NewUpdateMaxBillableWeightAsTIOOK ¶
func NewUpdateMaxBillableWeightAsTIOOK() *UpdateMaxBillableWeightAsTIOOK
NewUpdateMaxBillableWeightAsTIOOK creates UpdateMaxBillableWeightAsTIOOK with default headers values
func (*UpdateMaxBillableWeightAsTIOOK) SetPayload ¶
func (o *UpdateMaxBillableWeightAsTIOOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the update max billable weight as t i o o k response
func (*UpdateMaxBillableWeightAsTIOOK) WithPayload ¶
func (o *UpdateMaxBillableWeightAsTIOOK) WithPayload(payload *ghcmessages.Order) *UpdateMaxBillableWeightAsTIOOK
WithPayload adds the payload to the update max billable weight as t i o o k response
func (*UpdateMaxBillableWeightAsTIOOK) WriteResponse ¶
func (o *UpdateMaxBillableWeightAsTIOOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMaxBillableWeightAsTIOParams ¶
type UpdateMaxBillableWeightAsTIOParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.UpdateMaxBillableWeightAsTIOPayload /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
UpdateMaxBillableWeightAsTIOParams contains all the bound params for the update max billable weight as t i o operation typically these are obtained from a http.Request
swagger:parameters updateMaxBillableWeightAsTIO
func NewUpdateMaxBillableWeightAsTIOParams ¶
func NewUpdateMaxBillableWeightAsTIOParams() UpdateMaxBillableWeightAsTIOParams
NewUpdateMaxBillableWeightAsTIOParams creates a new UpdateMaxBillableWeightAsTIOParams object
There are no default values defined in the spec.
func (*UpdateMaxBillableWeightAsTIOParams) BindRequest ¶
func (o *UpdateMaxBillableWeightAsTIOParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateMaxBillableWeightAsTIOParams() beforehand.
type UpdateMaxBillableWeightAsTIOPreconditionFailed ¶
type UpdateMaxBillableWeightAsTIOPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMaxBillableWeightAsTIOPreconditionFailed Precondition failed
swagger:response updateMaxBillableWeightAsTIOPreconditionFailed
func NewUpdateMaxBillableWeightAsTIOPreconditionFailed ¶
func NewUpdateMaxBillableWeightAsTIOPreconditionFailed() *UpdateMaxBillableWeightAsTIOPreconditionFailed
NewUpdateMaxBillableWeightAsTIOPreconditionFailed creates UpdateMaxBillableWeightAsTIOPreconditionFailed with default headers values
func (*UpdateMaxBillableWeightAsTIOPreconditionFailed) SetPayload ¶
func (o *UpdateMaxBillableWeightAsTIOPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update max billable weight as t i o precondition failed response
func (*UpdateMaxBillableWeightAsTIOPreconditionFailed) WithPayload ¶
func (o *UpdateMaxBillableWeightAsTIOPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateMaxBillableWeightAsTIOPreconditionFailed
WithPayload adds the payload to the update max billable weight as t i o precondition failed response
func (*UpdateMaxBillableWeightAsTIOPreconditionFailed) WriteResponse ¶
func (o *UpdateMaxBillableWeightAsTIOPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMaxBillableWeightAsTIOURL ¶
type UpdateMaxBillableWeightAsTIOURL struct { OrderID strfmt.UUID // contains filtered or unexported fields }
UpdateMaxBillableWeightAsTIOURL generates an URL for the update max billable weight as t i o operation
func (*UpdateMaxBillableWeightAsTIOURL) Build ¶
func (o *UpdateMaxBillableWeightAsTIOURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateMaxBillableWeightAsTIOURL) BuildFull ¶
func (o *UpdateMaxBillableWeightAsTIOURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateMaxBillableWeightAsTIOURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateMaxBillableWeightAsTIOURL) SetBasePath ¶
func (o *UpdateMaxBillableWeightAsTIOURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateMaxBillableWeightAsTIOURL) String ¶
func (o *UpdateMaxBillableWeightAsTIOURL) String() string
String returns the string representation of the path with query string
func (*UpdateMaxBillableWeightAsTIOURL) StringFull ¶
func (o *UpdateMaxBillableWeightAsTIOURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateMaxBillableWeightAsTIOURL) WithBasePath ¶
func (o *UpdateMaxBillableWeightAsTIOURL) WithBasePath(bp string) *UpdateMaxBillableWeightAsTIOURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateMaxBillableWeightAsTIOUnprocessableEntity ¶
type UpdateMaxBillableWeightAsTIOUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateMaxBillableWeightAsTIOUnprocessableEntity The payload was unprocessable.
swagger:response updateMaxBillableWeightAsTIOUnprocessableEntity
func NewUpdateMaxBillableWeightAsTIOUnprocessableEntity ¶
func NewUpdateMaxBillableWeightAsTIOUnprocessableEntity() *UpdateMaxBillableWeightAsTIOUnprocessableEntity
NewUpdateMaxBillableWeightAsTIOUnprocessableEntity creates UpdateMaxBillableWeightAsTIOUnprocessableEntity with default headers values
func (*UpdateMaxBillableWeightAsTIOUnprocessableEntity) SetPayload ¶
func (o *UpdateMaxBillableWeightAsTIOUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update max billable weight as t i o unprocessable entity response
func (*UpdateMaxBillableWeightAsTIOUnprocessableEntity) WithPayload ¶
func (o *UpdateMaxBillableWeightAsTIOUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateMaxBillableWeightAsTIOUnprocessableEntity
WithPayload adds the payload to the update max billable weight as t i o unprocessable entity response
func (*UpdateMaxBillableWeightAsTIOUnprocessableEntity) WriteResponse ¶
func (o *UpdateMaxBillableWeightAsTIOUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrder ¶
type UpdateOrder struct { Context *middleware.Context Handler UpdateOrderHandler }
UpdateOrder swagger:route PATCH /orders/{orderID} order updateOrder
Updates an order ¶
All fields sent in this request will be set on the order referenced
func NewUpdateOrder ¶
func NewUpdateOrder(ctx *middleware.Context, handler UpdateOrderHandler) *UpdateOrder
NewUpdateOrder creates a new http.Handler for the update order operation
func (*UpdateOrder) ServeHTTP ¶
func (o *UpdateOrder) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateOrderBadRequest ¶
type UpdateOrderBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateOrderBadRequest The request payload is invalid
swagger:response updateOrderBadRequest
func NewUpdateOrderBadRequest ¶
func NewUpdateOrderBadRequest() *UpdateOrderBadRequest
NewUpdateOrderBadRequest creates UpdateOrderBadRequest with default headers values
func (*UpdateOrderBadRequest) SetPayload ¶
func (o *UpdateOrderBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update order bad request response
func (*UpdateOrderBadRequest) WithPayload ¶
func (o *UpdateOrderBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateOrderBadRequest
WithPayload adds the payload to the update order bad request response
func (*UpdateOrderBadRequest) WriteResponse ¶
func (o *UpdateOrderBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderConflict ¶
type UpdateOrderConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateOrderConflict Conflict error
swagger:response updateOrderConflict
func NewUpdateOrderConflict ¶
func NewUpdateOrderConflict() *UpdateOrderConflict
NewUpdateOrderConflict creates UpdateOrderConflict with default headers values
func (*UpdateOrderConflict) SetPayload ¶
func (o *UpdateOrderConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update order conflict response
func (*UpdateOrderConflict) WithPayload ¶
func (o *UpdateOrderConflict) WithPayload(payload *ghcmessages.Error) *UpdateOrderConflict
WithPayload adds the payload to the update order conflict response
func (*UpdateOrderConflict) WriteResponse ¶
func (o *UpdateOrderConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderForbidden ¶
type UpdateOrderForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateOrderForbidden The request was denied
swagger:response updateOrderForbidden
func NewUpdateOrderForbidden ¶
func NewUpdateOrderForbidden() *UpdateOrderForbidden
NewUpdateOrderForbidden creates UpdateOrderForbidden with default headers values
func (*UpdateOrderForbidden) SetPayload ¶
func (o *UpdateOrderForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update order forbidden response
func (*UpdateOrderForbidden) WithPayload ¶
func (o *UpdateOrderForbidden) WithPayload(payload *ghcmessages.Error) *UpdateOrderForbidden
WithPayload adds the payload to the update order forbidden response
func (*UpdateOrderForbidden) WriteResponse ¶
func (o *UpdateOrderForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderHandler ¶
type UpdateOrderHandler interface {
Handle(UpdateOrderParams) middleware.Responder
}
UpdateOrderHandler interface for that can handle valid update order params
type UpdateOrderHandlerFunc ¶
type UpdateOrderHandlerFunc func(UpdateOrderParams) middleware.Responder
UpdateOrderHandlerFunc turns a function with the right signature into a update order handler
func (UpdateOrderHandlerFunc) Handle ¶
func (fn UpdateOrderHandlerFunc) Handle(params UpdateOrderParams) middleware.Responder
Handle executing the request and returning a response
type UpdateOrderInternalServerError ¶
type UpdateOrderInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateOrderInternalServerError A server error occurred
swagger:response updateOrderInternalServerError
func NewUpdateOrderInternalServerError ¶
func NewUpdateOrderInternalServerError() *UpdateOrderInternalServerError
NewUpdateOrderInternalServerError creates UpdateOrderInternalServerError with default headers values
func (*UpdateOrderInternalServerError) SetPayload ¶
func (o *UpdateOrderInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update order internal server error response
func (*UpdateOrderInternalServerError) WithPayload ¶
func (o *UpdateOrderInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateOrderInternalServerError
WithPayload adds the payload to the update order internal server error response
func (*UpdateOrderInternalServerError) WriteResponse ¶
func (o *UpdateOrderInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderNotFound ¶
type UpdateOrderNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateOrderNotFound The requested resource wasn't found
swagger:response updateOrderNotFound
func NewUpdateOrderNotFound ¶
func NewUpdateOrderNotFound() *UpdateOrderNotFound
NewUpdateOrderNotFound creates UpdateOrderNotFound with default headers values
func (*UpdateOrderNotFound) SetPayload ¶
func (o *UpdateOrderNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update order not found response
func (*UpdateOrderNotFound) WithPayload ¶
func (o *UpdateOrderNotFound) WithPayload(payload *ghcmessages.Error) *UpdateOrderNotFound
WithPayload adds the payload to the update order not found response
func (*UpdateOrderNotFound) WriteResponse ¶
func (o *UpdateOrderNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderOK ¶
type UpdateOrderOK struct { /* In: Body */ Payload *ghcmessages.Order `json:"body,omitempty"` }
UpdateOrderOK updated instance of orders
swagger:response updateOrderOK
func NewUpdateOrderOK ¶
func NewUpdateOrderOK() *UpdateOrderOK
NewUpdateOrderOK creates UpdateOrderOK with default headers values
func (*UpdateOrderOK) SetPayload ¶
func (o *UpdateOrderOK) SetPayload(payload *ghcmessages.Order)
SetPayload sets the payload to the update order o k response
func (*UpdateOrderOK) WithPayload ¶
func (o *UpdateOrderOK) WithPayload(payload *ghcmessages.Order) *UpdateOrderOK
WithPayload adds the payload to the update order o k response
func (*UpdateOrderOK) WriteResponse ¶
func (o *UpdateOrderOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderParams ¶
type UpdateOrderParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.UpdateOrderPayload /*ID of order to use Required: true In: path */ OrderID strfmt.UUID }
UpdateOrderParams contains all the bound params for the update order operation typically these are obtained from a http.Request
swagger:parameters updateOrder
func NewUpdateOrderParams ¶
func NewUpdateOrderParams() UpdateOrderParams
NewUpdateOrderParams creates a new UpdateOrderParams object
There are no default values defined in the spec.
func (*UpdateOrderParams) BindRequest ¶
func (o *UpdateOrderParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateOrderParams() beforehand.
type UpdateOrderPreconditionFailed ¶
type UpdateOrderPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateOrderPreconditionFailed Precondition failed
swagger:response updateOrderPreconditionFailed
func NewUpdateOrderPreconditionFailed ¶
func NewUpdateOrderPreconditionFailed() *UpdateOrderPreconditionFailed
NewUpdateOrderPreconditionFailed creates UpdateOrderPreconditionFailed with default headers values
func (*UpdateOrderPreconditionFailed) SetPayload ¶
func (o *UpdateOrderPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update order precondition failed response
func (*UpdateOrderPreconditionFailed) WithPayload ¶
func (o *UpdateOrderPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateOrderPreconditionFailed
WithPayload adds the payload to the update order precondition failed response
func (*UpdateOrderPreconditionFailed) WriteResponse ¶
func (o *UpdateOrderPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateOrderURL ¶
UpdateOrderURL generates an URL for the update order operation
func (*UpdateOrderURL) Build ¶
func (o *UpdateOrderURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateOrderURL) BuildFull ¶
func (o *UpdateOrderURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateOrderURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateOrderURL) SetBasePath ¶
func (o *UpdateOrderURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateOrderURL) String ¶
func (o *UpdateOrderURL) String() string
String returns the string representation of the path with query string
func (*UpdateOrderURL) StringFull ¶
func (o *UpdateOrderURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateOrderURL) WithBasePath ¶
func (o *UpdateOrderURL) WithBasePath(bp string) *UpdateOrderURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateOrderUnprocessableEntity ¶
type UpdateOrderUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateOrderUnprocessableEntity The payload was unprocessable.
swagger:response updateOrderUnprocessableEntity
func NewUpdateOrderUnprocessableEntity ¶
func NewUpdateOrderUnprocessableEntity() *UpdateOrderUnprocessableEntity
NewUpdateOrderUnprocessableEntity creates UpdateOrderUnprocessableEntity with default headers values
func (*UpdateOrderUnprocessableEntity) SetPayload ¶
func (o *UpdateOrderUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update order unprocessable entity response
func (*UpdateOrderUnprocessableEntity) WithPayload ¶
func (o *UpdateOrderUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateOrderUnprocessableEntity
WithPayload adds the payload to the update order unprocessable entity response
func (*UpdateOrderUnprocessableEntity) WriteResponse ¶
func (o *UpdateOrderUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrders ¶
type UploadAmendedOrders struct { Context *middleware.Context Handler UploadAmendedOrdersHandler }
UploadAmendedOrders swagger:route POST /orders/{orderID}/upload_amended_orders order uploadAmendedOrders
Create an amended order for a given order ¶
Create an amended order for a given order
func NewUploadAmendedOrders ¶
func NewUploadAmendedOrders(ctx *middleware.Context, handler UploadAmendedOrdersHandler) *UploadAmendedOrders
NewUploadAmendedOrders creates a new http.Handler for the upload amended orders operation
func (*UploadAmendedOrders) ServeHTTP ¶
func (o *UploadAmendedOrders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UploadAmendedOrdersBadRequest ¶
type UploadAmendedOrdersBadRequest struct { /* In: Body */ Payload *ghcmessages.InvalidRequestResponsePayload `json:"body,omitempty"` }
UploadAmendedOrdersBadRequest invalid request
swagger:response uploadAmendedOrdersBadRequest
func NewUploadAmendedOrdersBadRequest ¶
func NewUploadAmendedOrdersBadRequest() *UploadAmendedOrdersBadRequest
NewUploadAmendedOrdersBadRequest creates UploadAmendedOrdersBadRequest with default headers values
func (*UploadAmendedOrdersBadRequest) SetPayload ¶
func (o *UploadAmendedOrdersBadRequest) SetPayload(payload *ghcmessages.InvalidRequestResponsePayload)
SetPayload sets the payload to the upload amended orders bad request response
func (*UploadAmendedOrdersBadRequest) WithPayload ¶
func (o *UploadAmendedOrdersBadRequest) WithPayload(payload *ghcmessages.InvalidRequestResponsePayload) *UploadAmendedOrdersBadRequest
WithPayload adds the payload to the upload amended orders bad request response
func (*UploadAmendedOrdersBadRequest) WriteResponse ¶
func (o *UploadAmendedOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrdersCreated ¶
type UploadAmendedOrdersCreated struct { /* In: Body */ Payload *ghcmessages.Upload `json:"body,omitempty"` }
UploadAmendedOrdersCreated created upload
swagger:response uploadAmendedOrdersCreated
func NewUploadAmendedOrdersCreated ¶
func NewUploadAmendedOrdersCreated() *UploadAmendedOrdersCreated
NewUploadAmendedOrdersCreated creates UploadAmendedOrdersCreated with default headers values
func (*UploadAmendedOrdersCreated) SetPayload ¶
func (o *UploadAmendedOrdersCreated) SetPayload(payload *ghcmessages.Upload)
SetPayload sets the payload to the upload amended orders created response
func (*UploadAmendedOrdersCreated) WithPayload ¶
func (o *UploadAmendedOrdersCreated) WithPayload(payload *ghcmessages.Upload) *UploadAmendedOrdersCreated
WithPayload adds the payload to the upload amended orders created response
func (*UploadAmendedOrdersCreated) WriteResponse ¶
func (o *UploadAmendedOrdersCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrdersForbidden ¶
type UploadAmendedOrdersForbidden struct { }
UploadAmendedOrdersForbidden not authorized
swagger:response uploadAmendedOrdersForbidden
func NewUploadAmendedOrdersForbidden ¶
func NewUploadAmendedOrdersForbidden() *UploadAmendedOrdersForbidden
NewUploadAmendedOrdersForbidden creates UploadAmendedOrdersForbidden with default headers values
func (*UploadAmendedOrdersForbidden) WriteResponse ¶
func (o *UploadAmendedOrdersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrdersHandler ¶
type UploadAmendedOrdersHandler interface {
Handle(UploadAmendedOrdersParams) middleware.Responder
}
UploadAmendedOrdersHandler interface for that can handle valid upload amended orders params
type UploadAmendedOrdersHandlerFunc ¶
type UploadAmendedOrdersHandlerFunc func(UploadAmendedOrdersParams) middleware.Responder
UploadAmendedOrdersHandlerFunc turns a function with the right signature into a upload amended orders handler
func (UploadAmendedOrdersHandlerFunc) Handle ¶
func (fn UploadAmendedOrdersHandlerFunc) Handle(params UploadAmendedOrdersParams) middleware.Responder
Handle executing the request and returning a response
type UploadAmendedOrdersInternalServerError ¶
type UploadAmendedOrdersInternalServerError struct { }
UploadAmendedOrdersInternalServerError server error
swagger:response uploadAmendedOrdersInternalServerError
func NewUploadAmendedOrdersInternalServerError ¶
func NewUploadAmendedOrdersInternalServerError() *UploadAmendedOrdersInternalServerError
NewUploadAmendedOrdersInternalServerError creates UploadAmendedOrdersInternalServerError with default headers values
func (*UploadAmendedOrdersInternalServerError) WriteResponse ¶
func (o *UploadAmendedOrdersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrdersNotFound ¶
type UploadAmendedOrdersNotFound struct { }
UploadAmendedOrdersNotFound not found
swagger:response uploadAmendedOrdersNotFound
func NewUploadAmendedOrdersNotFound ¶
func NewUploadAmendedOrdersNotFound() *UploadAmendedOrdersNotFound
NewUploadAmendedOrdersNotFound creates UploadAmendedOrdersNotFound with default headers values
func (*UploadAmendedOrdersNotFound) WriteResponse ¶
func (o *UploadAmendedOrdersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrdersParams ¶
type UploadAmendedOrdersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The file to upload. Required: true In: formData */ File io.ReadCloser /*UUID of the order Required: true In: path */ OrderID strfmt.UUID }
UploadAmendedOrdersParams contains all the bound params for the upload amended orders operation typically these are obtained from a http.Request
swagger:parameters uploadAmendedOrders
func NewUploadAmendedOrdersParams ¶
func NewUploadAmendedOrdersParams() UploadAmendedOrdersParams
NewUploadAmendedOrdersParams creates a new UploadAmendedOrdersParams object
There are no default values defined in the spec.
func (*UploadAmendedOrdersParams) BindRequest ¶
func (o *UploadAmendedOrdersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUploadAmendedOrdersParams() beforehand.
type UploadAmendedOrdersRequestEntityTooLarge ¶
type UploadAmendedOrdersRequestEntityTooLarge struct { }
UploadAmendedOrdersRequestEntityTooLarge payload is too large
swagger:response uploadAmendedOrdersRequestEntityTooLarge
func NewUploadAmendedOrdersRequestEntityTooLarge ¶
func NewUploadAmendedOrdersRequestEntityTooLarge() *UploadAmendedOrdersRequestEntityTooLarge
NewUploadAmendedOrdersRequestEntityTooLarge creates UploadAmendedOrdersRequestEntityTooLarge with default headers values
func (*UploadAmendedOrdersRequestEntityTooLarge) WriteResponse ¶
func (o *UploadAmendedOrdersRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadAmendedOrdersURL ¶
type UploadAmendedOrdersURL struct { OrderID strfmt.UUID // contains filtered or unexported fields }
UploadAmendedOrdersURL generates an URL for the upload amended orders operation
func (*UploadAmendedOrdersURL) Build ¶
func (o *UploadAmendedOrdersURL) Build() (*url.URL, error)
Build a url path and query string
func (*UploadAmendedOrdersURL) BuildFull ¶
func (o *UploadAmendedOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UploadAmendedOrdersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UploadAmendedOrdersURL) SetBasePath ¶
func (o *UploadAmendedOrdersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UploadAmendedOrdersURL) String ¶
func (o *UploadAmendedOrdersURL) String() string
String returns the string representation of the path with query string
func (*UploadAmendedOrdersURL) StringFull ¶
func (o *UploadAmendedOrdersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UploadAmendedOrdersURL) WithBasePath ¶
func (o *UploadAmendedOrdersURL) WithBasePath(bp string) *UploadAmendedOrdersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- acknowledge_excess_weight_risk.go
- acknowledge_excess_weight_risk_parameters.go
- acknowledge_excess_weight_risk_responses.go
- acknowledge_excess_weight_risk_urlbuilder.go
- counseling_update_allowance.go
- counseling_update_allowance_parameters.go
- counseling_update_allowance_responses.go
- counseling_update_allowance_urlbuilder.go
- counseling_update_order.go
- counseling_update_order_parameters.go
- counseling_update_order_responses.go
- counseling_update_order_urlbuilder.go
- create_order.go
- create_order_parameters.go
- create_order_responses.go
- create_order_urlbuilder.go
- get_order.go
- get_order_parameters.go
- get_order_responses.go
- get_order_urlbuilder.go
- update_allowance.go
- update_allowance_parameters.go
- update_allowance_responses.go
- update_allowance_urlbuilder.go
- update_billable_weight.go
- update_billable_weight_parameters.go
- update_billable_weight_responses.go
- update_billable_weight_urlbuilder.go
- update_max_billable_weight_as_t_i_o.go
- update_max_billable_weight_as_t_i_o_parameters.go
- update_max_billable_weight_as_t_i_o_responses.go
- update_max_billable_weight_as_t_i_o_urlbuilder.go
- update_order.go
- update_order_parameters.go
- update_order_responses.go
- update_order_urlbuilder.go
- upload_amended_orders.go
- upload_amended_orders_parameters.go
- upload_amended_orders_responses.go
- upload_amended_orders_urlbuilder.go