Documentation ¶
Index ¶
- Constants
- type FinishDocumentReview
- type FinishDocumentReviewBadRequest
- type FinishDocumentReviewConflict
- type FinishDocumentReviewForbidden
- type FinishDocumentReviewHandler
- type FinishDocumentReviewHandlerFunc
- type FinishDocumentReviewInternalServerError
- func (o *FinishDocumentReviewInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *FinishDocumentReviewInternalServerError) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewInternalServerError
- func (o *FinishDocumentReviewInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FinishDocumentReviewNotFound
- type FinishDocumentReviewOK
- type FinishDocumentReviewParams
- type FinishDocumentReviewPreconditionFailed
- func (o *FinishDocumentReviewPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *FinishDocumentReviewPreconditionFailed) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewPreconditionFailed
- func (o *FinishDocumentReviewPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FinishDocumentReviewURL
- func (o *FinishDocumentReviewURL) Build() (*url.URL, error)
- func (o *FinishDocumentReviewURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *FinishDocumentReviewURL) Must(u *url.URL, err error) *url.URL
- func (o *FinishDocumentReviewURL) SetBasePath(bp string)
- func (o *FinishDocumentReviewURL) String() string
- func (o *FinishDocumentReviewURL) StringFull(scheme, host string) string
- func (o *FinishDocumentReviewURL) WithBasePath(bp string) *FinishDocumentReviewURL
- type FinishDocumentReviewUnauthorized
- func (o *FinishDocumentReviewUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *FinishDocumentReviewUnauthorized) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewUnauthorized
- func (o *FinishDocumentReviewUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type FinishDocumentReviewUnprocessableEntity
- func (o *FinishDocumentReviewUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *FinishDocumentReviewUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *FinishDocumentReviewUnprocessableEntity
- func (o *FinishDocumentReviewUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMActualWeight
- type GetPPMActualWeightBadRequest
- type GetPPMActualWeightForbidden
- type GetPPMActualWeightHandler
- type GetPPMActualWeightHandlerFunc
- type GetPPMActualWeightInternalServerError
- func (o *GetPPMActualWeightInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPPMActualWeightInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMActualWeightInternalServerError
- func (o *GetPPMActualWeightInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMActualWeightNotFound
- type GetPPMActualWeightOK
- type GetPPMActualWeightParams
- type GetPPMActualWeightURL
- func (o *GetPPMActualWeightURL) Build() (*url.URL, error)
- func (o *GetPPMActualWeightURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPPMActualWeightURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPPMActualWeightURL) SetBasePath(bp string)
- func (o *GetPPMActualWeightURL) String() string
- func (o *GetPPMActualWeightURL) StringFull(scheme, host string) string
- func (o *GetPPMActualWeightURL) WithBasePath(bp string) *GetPPMActualWeightURL
- type GetPPMActualWeightUnprocessableEntity
- func (o *GetPPMActualWeightUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *GetPPMActualWeightUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMActualWeightUnprocessableEntity
- func (o *GetPPMActualWeightUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMCloseout
- type GetPPMCloseoutBadRequest
- type GetPPMCloseoutForbidden
- type GetPPMCloseoutHandler
- type GetPPMCloseoutHandlerFunc
- type GetPPMCloseoutInternalServerError
- func (o *GetPPMCloseoutInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPPMCloseoutInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMCloseoutInternalServerError
- func (o *GetPPMCloseoutInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMCloseoutNotFound
- type GetPPMCloseoutOK
- type GetPPMCloseoutParams
- type GetPPMCloseoutURL
- func (o *GetPPMCloseoutURL) Build() (*url.URL, error)
- func (o *GetPPMCloseoutURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPPMCloseoutURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPPMCloseoutURL) SetBasePath(bp string)
- func (o *GetPPMCloseoutURL) String() string
- func (o *GetPPMCloseoutURL) StringFull(scheme, host string) string
- func (o *GetPPMCloseoutURL) WithBasePath(bp string) *GetPPMCloseoutURL
- type GetPPMCloseoutUnprocessableEntity
- func (o *GetPPMCloseoutUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *GetPPMCloseoutUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMCloseoutUnprocessableEntity
- func (o *GetPPMCloseoutUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMDocuments
- type GetPPMDocumentsForbidden
- type GetPPMDocumentsHandler
- type GetPPMDocumentsHandlerFunc
- type GetPPMDocumentsInternalServerError
- func (o *GetPPMDocumentsInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPPMDocumentsInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMDocumentsInternalServerError
- func (o *GetPPMDocumentsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMDocumentsOK
- type GetPPMDocumentsParams
- type GetPPMDocumentsURL
- func (o *GetPPMDocumentsURL) Build() (*url.URL, error)
- func (o *GetPPMDocumentsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPPMDocumentsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPPMDocumentsURL) SetBasePath(bp string)
- func (o *GetPPMDocumentsURL) String() string
- func (o *GetPPMDocumentsURL) StringFull(scheme, host string) string
- func (o *GetPPMDocumentsURL) WithBasePath(bp string) *GetPPMDocumentsURL
- type GetPPMDocumentsUnauthorized
- type GetPPMDocumentsUnprocessableEntity
- func (o *GetPPMDocumentsUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *GetPPMDocumentsUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMDocumentsUnprocessableEntity
- func (o *GetPPMDocumentsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMSITEstimatedCost
- type GetPPMSITEstimatedCostBadRequest
- func (o *GetPPMSITEstimatedCostBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *GetPPMSITEstimatedCostBadRequest) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostBadRequest
- func (o *GetPPMSITEstimatedCostBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMSITEstimatedCostForbidden
- func (o *GetPPMSITEstimatedCostForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *GetPPMSITEstimatedCostForbidden) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostForbidden
- func (o *GetPPMSITEstimatedCostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMSITEstimatedCostHandler
- type GetPPMSITEstimatedCostHandlerFunc
- type GetPPMSITEstimatedCostInternalServerError
- func (o *GetPPMSITEstimatedCostInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *GetPPMSITEstimatedCostInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostInternalServerError
- func (o *GetPPMSITEstimatedCostInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMSITEstimatedCostNotFound
- type GetPPMSITEstimatedCostOK
- func (o *GetPPMSITEstimatedCostOK) SetPayload(payload *ghcmessages.PPMSITEstimatedCost)
- func (o *GetPPMSITEstimatedCostOK) WithPayload(payload *ghcmessages.PPMSITEstimatedCost) *GetPPMSITEstimatedCostOK
- func (o *GetPPMSITEstimatedCostOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPPMSITEstimatedCostParams
- type GetPPMSITEstimatedCostURL
- func (o *GetPPMSITEstimatedCostURL) Build() (*url.URL, error)
- func (o *GetPPMSITEstimatedCostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPPMSITEstimatedCostURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPPMSITEstimatedCostURL) SetBasePath(bp string)
- func (o *GetPPMSITEstimatedCostURL) String() string
- func (o *GetPPMSITEstimatedCostURL) StringFull(scheme, host string) string
- func (o *GetPPMSITEstimatedCostURL) WithBasePath(bp string) *GetPPMSITEstimatedCostURL
- type GetPPMSITEstimatedCostUnprocessableEntity
- func (o *GetPPMSITEstimatedCostUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *GetPPMSITEstimatedCostUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMSITEstimatedCostUnprocessableEntity
- func (o *GetPPMSITEstimatedCostUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowAOAPacket
- type ShowAOAPacketBadRequest
- type ShowAOAPacketForbidden
- type ShowAOAPacketHandler
- type ShowAOAPacketHandlerFunc
- type ShowAOAPacketInternalServerError
- func (o *ShowAOAPacketInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ShowAOAPacketInternalServerError) WithPayload(payload *ghcmessages.Error) *ShowAOAPacketInternalServerError
- func (o *ShowAOAPacketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowAOAPacketNotFound
- type ShowAOAPacketOK
- func (o *ShowAOAPacketOK) SetContentDisposition(contentDisposition string)
- func (o *ShowAOAPacketOK) SetPayload(payload io.ReadCloser)
- func (o *ShowAOAPacketOK) WithContentDisposition(contentDisposition string) *ShowAOAPacketOK
- func (o *ShowAOAPacketOK) WithPayload(payload io.ReadCloser) *ShowAOAPacketOK
- func (o *ShowAOAPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowAOAPacketParams
- type ShowAOAPacketURL
- func (o *ShowAOAPacketURL) Build() (*url.URL, error)
- func (o *ShowAOAPacketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowAOAPacketURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowAOAPacketURL) SetBasePath(bp string)
- func (o *ShowAOAPacketURL) String() string
- func (o *ShowAOAPacketURL) StringFull(scheme, host string) string
- func (o *ShowAOAPacketURL) WithBasePath(bp string) *ShowAOAPacketURL
- type ShowAOAPacketUnprocessableEntity
- func (o *ShowAOAPacketUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *ShowAOAPacketUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ShowAOAPacketUnprocessableEntity
- func (o *ShowAOAPacketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowPaymentPacket
- type ShowPaymentPacketBadRequest
- type ShowPaymentPacketForbidden
- type ShowPaymentPacketHandler
- type ShowPaymentPacketHandlerFunc
- type ShowPaymentPacketInternalServerError
- type ShowPaymentPacketNotFound
- type ShowPaymentPacketOK
- func (o *ShowPaymentPacketOK) SetContentDisposition(contentDisposition string)
- func (o *ShowPaymentPacketOK) SetPayload(payload io.ReadCloser)
- func (o *ShowPaymentPacketOK) WithContentDisposition(contentDisposition string) *ShowPaymentPacketOK
- func (o *ShowPaymentPacketOK) WithPayload(payload io.ReadCloser) *ShowPaymentPacketOK
- func (o *ShowPaymentPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowPaymentPacketParams
- type ShowPaymentPacketURL
- func (o *ShowPaymentPacketURL) Build() (*url.URL, error)
- func (o *ShowPaymentPacketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowPaymentPacketURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowPaymentPacketURL) SetBasePath(bp string)
- func (o *ShowPaymentPacketURL) String() string
- func (o *ShowPaymentPacketURL) StringFull(scheme, host string) string
- func (o *ShowPaymentPacketURL) WithBasePath(bp string) *ShowPaymentPacketURL
- type ShowPaymentPacketUnauthorized
- type UpdateMovingExpense
- type UpdateMovingExpenseBadRequest
- type UpdateMovingExpenseForbidden
- type UpdateMovingExpenseHandler
- type UpdateMovingExpenseHandlerFunc
- type UpdateMovingExpenseInternalServerError
- func (o *UpdateMovingExpenseInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMovingExpenseInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseInternalServerError
- func (o *UpdateMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseNotFound
- type UpdateMovingExpenseOK
- type UpdateMovingExpenseParams
- type UpdateMovingExpensePreconditionFailed
- func (o *UpdateMovingExpensePreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMovingExpensePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpensePreconditionFailed
- func (o *UpdateMovingExpensePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseURL
- func (o *UpdateMovingExpenseURL) Build() (*url.URL, error)
- func (o *UpdateMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateMovingExpenseURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateMovingExpenseURL) SetBasePath(bp string)
- func (o *UpdateMovingExpenseURL) String() string
- func (o *UpdateMovingExpenseURL) StringFull(scheme, host string) string
- func (o *UpdateMovingExpenseURL) WithBasePath(bp string) *UpdateMovingExpenseURL
- type UpdateMovingExpenseUnauthorized
- func (o *UpdateMovingExpenseUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateMovingExpenseUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseUnauthorized
- func (o *UpdateMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseUnprocessableEntity
- func (o *UpdateMovingExpenseUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateMovingExpenseUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateMovingExpenseUnprocessableEntity
- func (o *UpdateMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePPMSIT
- type UpdatePPMSITBadRequest
- type UpdatePPMSITForbidden
- type UpdatePPMSITHandler
- type UpdatePPMSITHandlerFunc
- type UpdatePPMSITInternalServerError
- func (o *UpdatePPMSITInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdatePPMSITInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdatePPMSITInternalServerError
- func (o *UpdatePPMSITInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePPMSITNotFound
- type UpdatePPMSITOK
- type UpdatePPMSITParams
- type UpdatePPMSITPreconditionFailed
- type UpdatePPMSITURL
- func (o *UpdatePPMSITURL) Build() (*url.URL, error)
- func (o *UpdatePPMSITURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdatePPMSITURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdatePPMSITURL) SetBasePath(bp string)
- func (o *UpdatePPMSITURL) String() string
- func (o *UpdatePPMSITURL) StringFull(scheme, host string) string
- func (o *UpdatePPMSITURL) WithBasePath(bp string) *UpdatePPMSITURL
- type UpdatePPMSITUnprocessableEntity
- func (o *UpdatePPMSITUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdatePPMSITUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdatePPMSITUnprocessableEntity
- func (o *UpdatePPMSITUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicket
- type UpdateProGearWeightTicketBadRequest
- func (o *UpdateProGearWeightTicketBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateProGearWeightTicketBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketBadRequest
- func (o *UpdateProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketForbidden
- func (o *UpdateProGearWeightTicketForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateProGearWeightTicketForbidden) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketForbidden
- func (o *UpdateProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketHandler
- type UpdateProGearWeightTicketHandlerFunc
- type UpdateProGearWeightTicketInternalServerError
- func (o *UpdateProGearWeightTicketInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateProGearWeightTicketInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketInternalServerError
- func (o *UpdateProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketNotFound
- func (o *UpdateProGearWeightTicketNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateProGearWeightTicketNotFound) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketNotFound
- func (o *UpdateProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketOK
- func (o *UpdateProGearWeightTicketOK) SetPayload(payload *ghcmessages.ProGearWeightTicket)
- func (o *UpdateProGearWeightTicketOK) WithPayload(payload *ghcmessages.ProGearWeightTicket) *UpdateProGearWeightTicketOK
- func (o *UpdateProGearWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketParams
- type UpdateProGearWeightTicketPreconditionFailed
- func (o *UpdateProGearWeightTicketPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateProGearWeightTicketPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketPreconditionFailed
- func (o *UpdateProGearWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketURL
- func (o *UpdateProGearWeightTicketURL) Build() (*url.URL, error)
- func (o *UpdateProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateProGearWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateProGearWeightTicketURL) SetBasePath(bp string)
- func (o *UpdateProGearWeightTicketURL) String() string
- func (o *UpdateProGearWeightTicketURL) StringFull(scheme, host string) string
- func (o *UpdateProGearWeightTicketURL) WithBasePath(bp string) *UpdateProGearWeightTicketURL
- type UpdateProGearWeightTicketUnauthorized
- func (o *UpdateProGearWeightTicketUnauthorized) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateProGearWeightTicketUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketUnauthorized
- func (o *UpdateProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketUnprocessableEntity
- func (o *UpdateProGearWeightTicketUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateProGearWeightTicketUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateProGearWeightTicketUnprocessableEntity
- func (o *UpdateProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicket
- type UpdateWeightTicketBadRequest
- type UpdateWeightTicketForbidden
- type UpdateWeightTicketHandler
- type UpdateWeightTicketHandlerFunc
- type UpdateWeightTicketInternalServerError
- func (o *UpdateWeightTicketInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateWeightTicketInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketInternalServerError
- func (o *UpdateWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketNotFound
- type UpdateWeightTicketOK
- type UpdateWeightTicketParams
- type UpdateWeightTicketPreconditionFailed
- func (o *UpdateWeightTicketPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateWeightTicketPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketPreconditionFailed
- func (o *UpdateWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketURL
- func (o *UpdateWeightTicketURL) Build() (*url.URL, error)
- func (o *UpdateWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateWeightTicketURL) SetBasePath(bp string)
- func (o *UpdateWeightTicketURL) String() string
- func (o *UpdateWeightTicketURL) StringFull(scheme, host string) string
- func (o *UpdateWeightTicketURL) WithBasePath(bp string) *UpdateWeightTicketURL
- type UpdateWeightTicketUnauthorized
- type UpdateWeightTicketUnprocessableEntity
- func (o *UpdateWeightTicketUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateWeightTicketUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateWeightTicketUnprocessableEntity
- func (o *UpdateWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const FinishDocumentReviewBadRequestCode int = 400
FinishDocumentReviewBadRequestCode is the HTTP code returned for type FinishDocumentReviewBadRequest
const FinishDocumentReviewConflictCode int = 409
FinishDocumentReviewConflictCode is the HTTP code returned for type FinishDocumentReviewConflict
const FinishDocumentReviewForbiddenCode int = 403
FinishDocumentReviewForbiddenCode is the HTTP code returned for type FinishDocumentReviewForbidden
const FinishDocumentReviewInternalServerErrorCode int = 500
FinishDocumentReviewInternalServerErrorCode is the HTTP code returned for type FinishDocumentReviewInternalServerError
const FinishDocumentReviewNotFoundCode int = 404
FinishDocumentReviewNotFoundCode is the HTTP code returned for type FinishDocumentReviewNotFound
const FinishDocumentReviewOKCode int = 200
FinishDocumentReviewOKCode is the HTTP code returned for type FinishDocumentReviewOK
const FinishDocumentReviewPreconditionFailedCode int = 412
FinishDocumentReviewPreconditionFailedCode is the HTTP code returned for type FinishDocumentReviewPreconditionFailed
FinishDocumentReviewUnauthorizedCode is the HTTP code returned for type FinishDocumentReviewUnauthorized
const FinishDocumentReviewUnprocessableEntityCode int = 422
FinishDocumentReviewUnprocessableEntityCode is the HTTP code returned for type FinishDocumentReviewUnprocessableEntity
const GetPPMActualWeightBadRequestCode int = 400
GetPPMActualWeightBadRequestCode is the HTTP code returned for type GetPPMActualWeightBadRequest
const GetPPMActualWeightForbiddenCode int = 403
GetPPMActualWeightForbiddenCode is the HTTP code returned for type GetPPMActualWeightForbidden
const GetPPMActualWeightInternalServerErrorCode int = 500
GetPPMActualWeightInternalServerErrorCode is the HTTP code returned for type GetPPMActualWeightInternalServerError
const GetPPMActualWeightNotFoundCode int = 404
GetPPMActualWeightNotFoundCode is the HTTP code returned for type GetPPMActualWeightNotFound
const GetPPMActualWeightOKCode int = 200
GetPPMActualWeightOKCode is the HTTP code returned for type GetPPMActualWeightOK
const GetPPMActualWeightUnprocessableEntityCode int = 422
GetPPMActualWeightUnprocessableEntityCode is the HTTP code returned for type GetPPMActualWeightUnprocessableEntity
const GetPPMCloseoutBadRequestCode int = 400
GetPPMCloseoutBadRequestCode is the HTTP code returned for type GetPPMCloseoutBadRequest
const GetPPMCloseoutForbiddenCode int = 403
GetPPMCloseoutForbiddenCode is the HTTP code returned for type GetPPMCloseoutForbidden
const GetPPMCloseoutInternalServerErrorCode int = 500
GetPPMCloseoutInternalServerErrorCode is the HTTP code returned for type GetPPMCloseoutInternalServerError
const GetPPMCloseoutNotFoundCode int = 404
GetPPMCloseoutNotFoundCode is the HTTP code returned for type GetPPMCloseoutNotFound
const GetPPMCloseoutOKCode int = 200
GetPPMCloseoutOKCode is the HTTP code returned for type GetPPMCloseoutOK
const GetPPMCloseoutUnprocessableEntityCode int = 422
GetPPMCloseoutUnprocessableEntityCode is the HTTP code returned for type GetPPMCloseoutUnprocessableEntity
const GetPPMDocumentsForbiddenCode int = 403
GetPPMDocumentsForbiddenCode is the HTTP code returned for type GetPPMDocumentsForbidden
const GetPPMDocumentsInternalServerErrorCode int = 500
GetPPMDocumentsInternalServerErrorCode is the HTTP code returned for type GetPPMDocumentsInternalServerError
const GetPPMDocumentsOKCode int = 200
GetPPMDocumentsOKCode is the HTTP code returned for type GetPPMDocumentsOK
GetPPMDocumentsUnauthorizedCode is the HTTP code returned for type GetPPMDocumentsUnauthorized
const GetPPMDocumentsUnprocessableEntityCode int = 422
GetPPMDocumentsUnprocessableEntityCode is the HTTP code returned for type GetPPMDocumentsUnprocessableEntity
const GetPPMSITEstimatedCostBadRequestCode int = 400
GetPPMSITEstimatedCostBadRequestCode is the HTTP code returned for type GetPPMSITEstimatedCostBadRequest
const GetPPMSITEstimatedCostForbiddenCode int = 403
GetPPMSITEstimatedCostForbiddenCode is the HTTP code returned for type GetPPMSITEstimatedCostForbidden
const GetPPMSITEstimatedCostInternalServerErrorCode int = 500
GetPPMSITEstimatedCostInternalServerErrorCode is the HTTP code returned for type GetPPMSITEstimatedCostInternalServerError
const GetPPMSITEstimatedCostNotFoundCode int = 404
GetPPMSITEstimatedCostNotFoundCode is the HTTP code returned for type GetPPMSITEstimatedCostNotFound
const GetPPMSITEstimatedCostOKCode int = 200
GetPPMSITEstimatedCostOKCode is the HTTP code returned for type GetPPMSITEstimatedCostOK
const GetPPMSITEstimatedCostUnprocessableEntityCode int = 422
GetPPMSITEstimatedCostUnprocessableEntityCode is the HTTP code returned for type GetPPMSITEstimatedCostUnprocessableEntity
const ShowAOAPacketBadRequestCode int = 400
ShowAOAPacketBadRequestCode is the HTTP code returned for type ShowAOAPacketBadRequest
const ShowAOAPacketForbiddenCode int = 403
ShowAOAPacketForbiddenCode is the HTTP code returned for type ShowAOAPacketForbidden
const ShowAOAPacketInternalServerErrorCode int = 500
ShowAOAPacketInternalServerErrorCode is the HTTP code returned for type ShowAOAPacketInternalServerError
const ShowAOAPacketNotFoundCode int = 404
ShowAOAPacketNotFoundCode is the HTTP code returned for type ShowAOAPacketNotFound
const ShowAOAPacketOKCode int = 200
ShowAOAPacketOKCode is the HTTP code returned for type ShowAOAPacketOK
const ShowAOAPacketUnprocessableEntityCode int = 422
ShowAOAPacketUnprocessableEntityCode is the HTTP code returned for type ShowAOAPacketUnprocessableEntity
const ShowPaymentPacketBadRequestCode int = 400
ShowPaymentPacketBadRequestCode is the HTTP code returned for type ShowPaymentPacketBadRequest
const ShowPaymentPacketForbiddenCode int = 403
ShowPaymentPacketForbiddenCode is the HTTP code returned for type ShowPaymentPacketForbidden
const ShowPaymentPacketInternalServerErrorCode int = 500
ShowPaymentPacketInternalServerErrorCode is the HTTP code returned for type ShowPaymentPacketInternalServerError
const ShowPaymentPacketNotFoundCode int = 404
ShowPaymentPacketNotFoundCode is the HTTP code returned for type ShowPaymentPacketNotFound
const ShowPaymentPacketOKCode int = 200
ShowPaymentPacketOKCode is the HTTP code returned for type ShowPaymentPacketOK
ShowPaymentPacketUnauthorizedCode is the HTTP code returned for type ShowPaymentPacketUnauthorized
const UpdateMovingExpenseBadRequestCode int = 400
UpdateMovingExpenseBadRequestCode is the HTTP code returned for type UpdateMovingExpenseBadRequest
const UpdateMovingExpenseForbiddenCode int = 403
UpdateMovingExpenseForbiddenCode is the HTTP code returned for type UpdateMovingExpenseForbidden
const UpdateMovingExpenseInternalServerErrorCode int = 500
UpdateMovingExpenseInternalServerErrorCode is the HTTP code returned for type UpdateMovingExpenseInternalServerError
const UpdateMovingExpenseNotFoundCode int = 404
UpdateMovingExpenseNotFoundCode is the HTTP code returned for type UpdateMovingExpenseNotFound
const UpdateMovingExpenseOKCode int = 200
UpdateMovingExpenseOKCode is the HTTP code returned for type UpdateMovingExpenseOK
const UpdateMovingExpensePreconditionFailedCode int = 412
UpdateMovingExpensePreconditionFailedCode is the HTTP code returned for type UpdateMovingExpensePreconditionFailed
UpdateMovingExpenseUnauthorizedCode is the HTTP code returned for type UpdateMovingExpenseUnauthorized
const UpdateMovingExpenseUnprocessableEntityCode int = 422
UpdateMovingExpenseUnprocessableEntityCode is the HTTP code returned for type UpdateMovingExpenseUnprocessableEntity
const UpdatePPMSITBadRequestCode int = 400
UpdatePPMSITBadRequestCode is the HTTP code returned for type UpdatePPMSITBadRequest
const UpdatePPMSITForbiddenCode int = 403
UpdatePPMSITForbiddenCode is the HTTP code returned for type UpdatePPMSITForbidden
const UpdatePPMSITInternalServerErrorCode int = 500
UpdatePPMSITInternalServerErrorCode is the HTTP code returned for type UpdatePPMSITInternalServerError
const UpdatePPMSITNotFoundCode int = 404
UpdatePPMSITNotFoundCode is the HTTP code returned for type UpdatePPMSITNotFound
const UpdatePPMSITOKCode int = 200
UpdatePPMSITOKCode is the HTTP code returned for type UpdatePPMSITOK
const UpdatePPMSITPreconditionFailedCode int = 412
UpdatePPMSITPreconditionFailedCode is the HTTP code returned for type UpdatePPMSITPreconditionFailed
const UpdatePPMSITUnprocessableEntityCode int = 422
UpdatePPMSITUnprocessableEntityCode is the HTTP code returned for type UpdatePPMSITUnprocessableEntity
const UpdateProGearWeightTicketBadRequestCode int = 400
UpdateProGearWeightTicketBadRequestCode is the HTTP code returned for type UpdateProGearWeightTicketBadRequest
const UpdateProGearWeightTicketForbiddenCode int = 403
UpdateProGearWeightTicketForbiddenCode is the HTTP code returned for type UpdateProGearWeightTicketForbidden
const UpdateProGearWeightTicketInternalServerErrorCode int = 500
UpdateProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type UpdateProGearWeightTicketInternalServerError
const UpdateProGearWeightTicketNotFoundCode int = 404
UpdateProGearWeightTicketNotFoundCode is the HTTP code returned for type UpdateProGearWeightTicketNotFound
const UpdateProGearWeightTicketOKCode int = 200
UpdateProGearWeightTicketOKCode is the HTTP code returned for type UpdateProGearWeightTicketOK
const UpdateProGearWeightTicketPreconditionFailedCode int = 412
UpdateProGearWeightTicketPreconditionFailedCode is the HTTP code returned for type UpdateProGearWeightTicketPreconditionFailed
UpdateProGearWeightTicketUnauthorizedCode is the HTTP code returned for type UpdateProGearWeightTicketUnauthorized
const UpdateProGearWeightTicketUnprocessableEntityCode int = 422
UpdateProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type UpdateProGearWeightTicketUnprocessableEntity
const UpdateWeightTicketBadRequestCode int = 400
UpdateWeightTicketBadRequestCode is the HTTP code returned for type UpdateWeightTicketBadRequest
const UpdateWeightTicketForbiddenCode int = 403
UpdateWeightTicketForbiddenCode is the HTTP code returned for type UpdateWeightTicketForbidden
const UpdateWeightTicketInternalServerErrorCode int = 500
UpdateWeightTicketInternalServerErrorCode is the HTTP code returned for type UpdateWeightTicketInternalServerError
const UpdateWeightTicketNotFoundCode int = 404
UpdateWeightTicketNotFoundCode is the HTTP code returned for type UpdateWeightTicketNotFound
const UpdateWeightTicketOKCode int = 200
UpdateWeightTicketOKCode is the HTTP code returned for type UpdateWeightTicketOK
const UpdateWeightTicketPreconditionFailedCode int = 412
UpdateWeightTicketPreconditionFailedCode is the HTTP code returned for type UpdateWeightTicketPreconditionFailed
UpdateWeightTicketUnauthorizedCode is the HTTP code returned for type UpdateWeightTicketUnauthorized
const UpdateWeightTicketUnprocessableEntityCode int = 422
UpdateWeightTicketUnprocessableEntityCode is the HTTP code returned for type UpdateWeightTicketUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinishDocumentReview ¶
type FinishDocumentReview struct { Context *middleware.Context Handler FinishDocumentReviewHandler }
FinishDocumentReview swagger:route PATCH /ppm-shipments/{ppmShipmentId}/finish-document-review ppm finishDocumentReview
Updates a PPM shipment's status after document review ¶
Updates a PPM shipment's status once documents have been reviewed. Status is updated depending on whether any documents have been rejected.
func NewFinishDocumentReview ¶
func NewFinishDocumentReview(ctx *middleware.Context, handler FinishDocumentReviewHandler) *FinishDocumentReview
NewFinishDocumentReview creates a new http.Handler for the finish document review operation
func (*FinishDocumentReview) ServeHTTP ¶
func (o *FinishDocumentReview) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type FinishDocumentReviewBadRequest ¶
type FinishDocumentReviewBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FinishDocumentReviewBadRequest The request payload is invalid
swagger:response finishDocumentReviewBadRequest
func NewFinishDocumentReviewBadRequest ¶
func NewFinishDocumentReviewBadRequest() *FinishDocumentReviewBadRequest
NewFinishDocumentReviewBadRequest creates FinishDocumentReviewBadRequest with default headers values
func (*FinishDocumentReviewBadRequest) SetPayload ¶
func (o *FinishDocumentReviewBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review bad request response
func (*FinishDocumentReviewBadRequest) WithPayload ¶
func (o *FinishDocumentReviewBadRequest) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewBadRequest
WithPayload adds the payload to the finish document review bad request response
func (*FinishDocumentReviewBadRequest) WriteResponse ¶
func (o *FinishDocumentReviewBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewConflict ¶
type FinishDocumentReviewConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FinishDocumentReviewConflict Conflict error
swagger:response finishDocumentReviewConflict
func NewFinishDocumentReviewConflict ¶
func NewFinishDocumentReviewConflict() *FinishDocumentReviewConflict
NewFinishDocumentReviewConflict creates FinishDocumentReviewConflict with default headers values
func (*FinishDocumentReviewConflict) SetPayload ¶
func (o *FinishDocumentReviewConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review conflict response
func (*FinishDocumentReviewConflict) WithPayload ¶
func (o *FinishDocumentReviewConflict) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewConflict
WithPayload adds the payload to the finish document review conflict response
func (*FinishDocumentReviewConflict) WriteResponse ¶
func (o *FinishDocumentReviewConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewForbidden ¶
type FinishDocumentReviewForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FinishDocumentReviewForbidden The request was denied
swagger:response finishDocumentReviewForbidden
func NewFinishDocumentReviewForbidden ¶
func NewFinishDocumentReviewForbidden() *FinishDocumentReviewForbidden
NewFinishDocumentReviewForbidden creates FinishDocumentReviewForbidden with default headers values
func (*FinishDocumentReviewForbidden) SetPayload ¶
func (o *FinishDocumentReviewForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review forbidden response
func (*FinishDocumentReviewForbidden) WithPayload ¶
func (o *FinishDocumentReviewForbidden) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewForbidden
WithPayload adds the payload to the finish document review forbidden response
func (*FinishDocumentReviewForbidden) WriteResponse ¶
func (o *FinishDocumentReviewForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewHandler ¶
type FinishDocumentReviewHandler interface {
Handle(FinishDocumentReviewParams) middleware.Responder
}
FinishDocumentReviewHandler interface for that can handle valid finish document review params
type FinishDocumentReviewHandlerFunc ¶
type FinishDocumentReviewHandlerFunc func(FinishDocumentReviewParams) middleware.Responder
FinishDocumentReviewHandlerFunc turns a function with the right signature into a finish document review handler
func (FinishDocumentReviewHandlerFunc) Handle ¶
func (fn FinishDocumentReviewHandlerFunc) Handle(params FinishDocumentReviewParams) middleware.Responder
Handle executing the request and returning a response
type FinishDocumentReviewInternalServerError ¶
type FinishDocumentReviewInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FinishDocumentReviewInternalServerError A server error occurred
swagger:response finishDocumentReviewInternalServerError
func NewFinishDocumentReviewInternalServerError ¶
func NewFinishDocumentReviewInternalServerError() *FinishDocumentReviewInternalServerError
NewFinishDocumentReviewInternalServerError creates FinishDocumentReviewInternalServerError with default headers values
func (*FinishDocumentReviewInternalServerError) SetPayload ¶
func (o *FinishDocumentReviewInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review internal server error response
func (*FinishDocumentReviewInternalServerError) WithPayload ¶
func (o *FinishDocumentReviewInternalServerError) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewInternalServerError
WithPayload adds the payload to the finish document review internal server error response
func (*FinishDocumentReviewInternalServerError) WriteResponse ¶
func (o *FinishDocumentReviewInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewNotFound ¶
type FinishDocumentReviewNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FinishDocumentReviewNotFound The requested resource wasn't found
swagger:response finishDocumentReviewNotFound
func NewFinishDocumentReviewNotFound ¶
func NewFinishDocumentReviewNotFound() *FinishDocumentReviewNotFound
NewFinishDocumentReviewNotFound creates FinishDocumentReviewNotFound with default headers values
func (*FinishDocumentReviewNotFound) SetPayload ¶
func (o *FinishDocumentReviewNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review not found response
func (*FinishDocumentReviewNotFound) WithPayload ¶
func (o *FinishDocumentReviewNotFound) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewNotFound
WithPayload adds the payload to the finish document review not found response
func (*FinishDocumentReviewNotFound) WriteResponse ¶
func (o *FinishDocumentReviewNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewOK ¶
type FinishDocumentReviewOK struct { /* In: Body */ Payload *ghcmessages.PPMShipment `json:"body,omitempty"` }
FinishDocumentReviewOK Successfully finished document review
swagger:response finishDocumentReviewOK
func NewFinishDocumentReviewOK ¶
func NewFinishDocumentReviewOK() *FinishDocumentReviewOK
NewFinishDocumentReviewOK creates FinishDocumentReviewOK with default headers values
func (*FinishDocumentReviewOK) SetPayload ¶
func (o *FinishDocumentReviewOK) SetPayload(payload *ghcmessages.PPMShipment)
SetPayload sets the payload to the finish document review o k response
func (*FinishDocumentReviewOK) WithPayload ¶
func (o *FinishDocumentReviewOK) WithPayload(payload *ghcmessages.PPMShipment) *FinishDocumentReviewOK
WithPayload adds the payload to the finish document review o k response
func (*FinishDocumentReviewOK) WriteResponse ¶
func (o *FinishDocumentReviewOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewParams ¶
type FinishDocumentReviewParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
FinishDocumentReviewParams contains all the bound params for the finish document review operation typically these are obtained from a http.Request
swagger:parameters finishDocumentReview
func NewFinishDocumentReviewParams ¶
func NewFinishDocumentReviewParams() FinishDocumentReviewParams
NewFinishDocumentReviewParams creates a new FinishDocumentReviewParams object
There are no default values defined in the spec.
func (*FinishDocumentReviewParams) BindRequest ¶
func (o *FinishDocumentReviewParams) 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 NewFinishDocumentReviewParams() beforehand.
type FinishDocumentReviewPreconditionFailed ¶
type FinishDocumentReviewPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
FinishDocumentReviewPreconditionFailed Precondition failed
swagger:response finishDocumentReviewPreconditionFailed
func NewFinishDocumentReviewPreconditionFailed ¶
func NewFinishDocumentReviewPreconditionFailed() *FinishDocumentReviewPreconditionFailed
NewFinishDocumentReviewPreconditionFailed creates FinishDocumentReviewPreconditionFailed with default headers values
func (*FinishDocumentReviewPreconditionFailed) SetPayload ¶
func (o *FinishDocumentReviewPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review precondition failed response
func (*FinishDocumentReviewPreconditionFailed) WithPayload ¶
func (o *FinishDocumentReviewPreconditionFailed) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewPreconditionFailed
WithPayload adds the payload to the finish document review precondition failed response
func (*FinishDocumentReviewPreconditionFailed) WriteResponse ¶
func (o *FinishDocumentReviewPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewURL ¶
type FinishDocumentReviewURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
FinishDocumentReviewURL generates an URL for the finish document review operation
func (*FinishDocumentReviewURL) Build ¶
func (o *FinishDocumentReviewURL) Build() (*url.URL, error)
Build a url path and query string
func (*FinishDocumentReviewURL) BuildFull ¶
func (o *FinishDocumentReviewURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*FinishDocumentReviewURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*FinishDocumentReviewURL) SetBasePath ¶
func (o *FinishDocumentReviewURL) 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 (*FinishDocumentReviewURL) String ¶
func (o *FinishDocumentReviewURL) String() string
String returns the string representation of the path with query string
func (*FinishDocumentReviewURL) StringFull ¶
func (o *FinishDocumentReviewURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*FinishDocumentReviewURL) WithBasePath ¶
func (o *FinishDocumentReviewURL) WithBasePath(bp string) *FinishDocumentReviewURL
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 FinishDocumentReviewUnauthorized ¶
type FinishDocumentReviewUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
FinishDocumentReviewUnauthorized The request was denied
swagger:response finishDocumentReviewUnauthorized
func NewFinishDocumentReviewUnauthorized ¶
func NewFinishDocumentReviewUnauthorized() *FinishDocumentReviewUnauthorized
NewFinishDocumentReviewUnauthorized creates FinishDocumentReviewUnauthorized with default headers values
func (*FinishDocumentReviewUnauthorized) SetPayload ¶
func (o *FinishDocumentReviewUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the finish document review unauthorized response
func (*FinishDocumentReviewUnauthorized) WithPayload ¶
func (o *FinishDocumentReviewUnauthorized) WithPayload(payload *ghcmessages.Error) *FinishDocumentReviewUnauthorized
WithPayload adds the payload to the finish document review unauthorized response
func (*FinishDocumentReviewUnauthorized) WriteResponse ¶
func (o *FinishDocumentReviewUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type FinishDocumentReviewUnprocessableEntity ¶
type FinishDocumentReviewUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
FinishDocumentReviewUnprocessableEntity The payload was unprocessable.
swagger:response finishDocumentReviewUnprocessableEntity
func NewFinishDocumentReviewUnprocessableEntity ¶
func NewFinishDocumentReviewUnprocessableEntity() *FinishDocumentReviewUnprocessableEntity
NewFinishDocumentReviewUnprocessableEntity creates FinishDocumentReviewUnprocessableEntity with default headers values
func (*FinishDocumentReviewUnprocessableEntity) SetPayload ¶
func (o *FinishDocumentReviewUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the finish document review unprocessable entity response
func (*FinishDocumentReviewUnprocessableEntity) WithPayload ¶
func (o *FinishDocumentReviewUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *FinishDocumentReviewUnprocessableEntity
WithPayload adds the payload to the finish document review unprocessable entity response
func (*FinishDocumentReviewUnprocessableEntity) WriteResponse ¶
func (o *FinishDocumentReviewUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMActualWeight ¶
type GetPPMActualWeight struct { Context *middleware.Context Handler GetPPMActualWeightHandler }
GetPPMActualWeight swagger:route GET /ppm-shipments/{ppmShipmentId}/actual-weight ppm getPPMActualWeight
Get the actual weight for a PPM shipment ¶
Retrieves the actual weight for the specified PPM shipment.
func NewGetPPMActualWeight ¶
func NewGetPPMActualWeight(ctx *middleware.Context, handler GetPPMActualWeightHandler) *GetPPMActualWeight
NewGetPPMActualWeight creates a new http.Handler for the get p p m actual weight operation
func (*GetPPMActualWeight) ServeHTTP ¶
func (o *GetPPMActualWeight) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPPMActualWeightBadRequest ¶
type GetPPMActualWeightBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMActualWeightBadRequest The request payload is invalid
swagger:response getPPMActualWeightBadRequest
func NewGetPPMActualWeightBadRequest ¶
func NewGetPPMActualWeightBadRequest() *GetPPMActualWeightBadRequest
NewGetPPMActualWeightBadRequest creates GetPPMActualWeightBadRequest with default headers values
func (*GetPPMActualWeightBadRequest) SetPayload ¶
func (o *GetPPMActualWeightBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m actual weight bad request response
func (*GetPPMActualWeightBadRequest) WithPayload ¶
func (o *GetPPMActualWeightBadRequest) WithPayload(payload *ghcmessages.Error) *GetPPMActualWeightBadRequest
WithPayload adds the payload to the get p p m actual weight bad request response
func (*GetPPMActualWeightBadRequest) WriteResponse ¶
func (o *GetPPMActualWeightBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMActualWeightForbidden ¶
type GetPPMActualWeightForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMActualWeightForbidden The request was denied
swagger:response getPPMActualWeightForbidden
func NewGetPPMActualWeightForbidden ¶
func NewGetPPMActualWeightForbidden() *GetPPMActualWeightForbidden
NewGetPPMActualWeightForbidden creates GetPPMActualWeightForbidden with default headers values
func (*GetPPMActualWeightForbidden) SetPayload ¶
func (o *GetPPMActualWeightForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m actual weight forbidden response
func (*GetPPMActualWeightForbidden) WithPayload ¶
func (o *GetPPMActualWeightForbidden) WithPayload(payload *ghcmessages.Error) *GetPPMActualWeightForbidden
WithPayload adds the payload to the get p p m actual weight forbidden response
func (*GetPPMActualWeightForbidden) WriteResponse ¶
func (o *GetPPMActualWeightForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMActualWeightHandler ¶
type GetPPMActualWeightHandler interface {
Handle(GetPPMActualWeightParams) middleware.Responder
}
GetPPMActualWeightHandler interface for that can handle valid get p p m actual weight params
type GetPPMActualWeightHandlerFunc ¶
type GetPPMActualWeightHandlerFunc func(GetPPMActualWeightParams) middleware.Responder
GetPPMActualWeightHandlerFunc turns a function with the right signature into a get p p m actual weight handler
func (GetPPMActualWeightHandlerFunc) Handle ¶
func (fn GetPPMActualWeightHandlerFunc) Handle(params GetPPMActualWeightParams) middleware.Responder
Handle executing the request and returning a response
type GetPPMActualWeightInternalServerError ¶
type GetPPMActualWeightInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMActualWeightInternalServerError A server error occurred
swagger:response getPPMActualWeightInternalServerError
func NewGetPPMActualWeightInternalServerError ¶
func NewGetPPMActualWeightInternalServerError() *GetPPMActualWeightInternalServerError
NewGetPPMActualWeightInternalServerError creates GetPPMActualWeightInternalServerError with default headers values
func (*GetPPMActualWeightInternalServerError) SetPayload ¶
func (o *GetPPMActualWeightInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m actual weight internal server error response
func (*GetPPMActualWeightInternalServerError) WithPayload ¶
func (o *GetPPMActualWeightInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMActualWeightInternalServerError
WithPayload adds the payload to the get p p m actual weight internal server error response
func (*GetPPMActualWeightInternalServerError) WriteResponse ¶
func (o *GetPPMActualWeightInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMActualWeightNotFound ¶
type GetPPMActualWeightNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMActualWeightNotFound The requested resource wasn't found
swagger:response getPPMActualWeightNotFound
func NewGetPPMActualWeightNotFound ¶
func NewGetPPMActualWeightNotFound() *GetPPMActualWeightNotFound
NewGetPPMActualWeightNotFound creates GetPPMActualWeightNotFound with default headers values
func (*GetPPMActualWeightNotFound) SetPayload ¶
func (o *GetPPMActualWeightNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m actual weight not found response
func (*GetPPMActualWeightNotFound) WithPayload ¶
func (o *GetPPMActualWeightNotFound) WithPayload(payload *ghcmessages.Error) *GetPPMActualWeightNotFound
WithPayload adds the payload to the get p p m actual weight not found response
func (*GetPPMActualWeightNotFound) WriteResponse ¶
func (o *GetPPMActualWeightNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMActualWeightOK ¶
type GetPPMActualWeightOK struct { /* In: Body */ Payload *ghcmessages.PPMActualWeight `json:"body,omitempty"` }
GetPPMActualWeightOK Returns actual weight for the specified PPM shipment.
swagger:response getPPMActualWeightOK
func NewGetPPMActualWeightOK ¶
func NewGetPPMActualWeightOK() *GetPPMActualWeightOK
NewGetPPMActualWeightOK creates GetPPMActualWeightOK with default headers values
func (*GetPPMActualWeightOK) SetPayload ¶
func (o *GetPPMActualWeightOK) SetPayload(payload *ghcmessages.PPMActualWeight)
SetPayload sets the payload to the get p p m actual weight o k response
func (*GetPPMActualWeightOK) WithPayload ¶
func (o *GetPPMActualWeightOK) WithPayload(payload *ghcmessages.PPMActualWeight) *GetPPMActualWeightOK
WithPayload adds the payload to the get p p m actual weight o k response
func (*GetPPMActualWeightOK) WriteResponse ¶
func (o *GetPPMActualWeightOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMActualWeightParams ¶
type GetPPMActualWeightParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
GetPPMActualWeightParams contains all the bound params for the get p p m actual weight operation typically these are obtained from a http.Request
swagger:parameters getPPMActualWeight
func NewGetPPMActualWeightParams ¶
func NewGetPPMActualWeightParams() GetPPMActualWeightParams
NewGetPPMActualWeightParams creates a new GetPPMActualWeightParams object
There are no default values defined in the spec.
func (*GetPPMActualWeightParams) BindRequest ¶
func (o *GetPPMActualWeightParams) 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 NewGetPPMActualWeightParams() beforehand.
type GetPPMActualWeightURL ¶
type GetPPMActualWeightURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
GetPPMActualWeightURL generates an URL for the get p p m actual weight operation
func (*GetPPMActualWeightURL) Build ¶
func (o *GetPPMActualWeightURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPPMActualWeightURL) BuildFull ¶
func (o *GetPPMActualWeightURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPPMActualWeightURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPPMActualWeightURL) SetBasePath ¶
func (o *GetPPMActualWeightURL) 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 (*GetPPMActualWeightURL) String ¶
func (o *GetPPMActualWeightURL) String() string
String returns the string representation of the path with query string
func (*GetPPMActualWeightURL) StringFull ¶
func (o *GetPPMActualWeightURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPPMActualWeightURL) WithBasePath ¶
func (o *GetPPMActualWeightURL) WithBasePath(bp string) *GetPPMActualWeightURL
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 GetPPMActualWeightUnprocessableEntity ¶
type GetPPMActualWeightUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
GetPPMActualWeightUnprocessableEntity The payload was unprocessable.
swagger:response getPPMActualWeightUnprocessableEntity
func NewGetPPMActualWeightUnprocessableEntity ¶
func NewGetPPMActualWeightUnprocessableEntity() *GetPPMActualWeightUnprocessableEntity
NewGetPPMActualWeightUnprocessableEntity creates GetPPMActualWeightUnprocessableEntity with default headers values
func (*GetPPMActualWeightUnprocessableEntity) SetPayload ¶
func (o *GetPPMActualWeightUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the get p p m actual weight unprocessable entity response
func (*GetPPMActualWeightUnprocessableEntity) WithPayload ¶
func (o *GetPPMActualWeightUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMActualWeightUnprocessableEntity
WithPayload adds the payload to the get p p m actual weight unprocessable entity response
func (*GetPPMActualWeightUnprocessableEntity) WriteResponse ¶
func (o *GetPPMActualWeightUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMCloseout ¶
type GetPPMCloseout struct { Context *middleware.Context Handler GetPPMCloseoutHandler }
GetPPMCloseout swagger:route GET /ppm-shipments/{ppmShipmentId}/closeout ppm getPPMCloseout
Get the closeout calcuations for the specified PPM shipment ¶
Retrieves the closeout calculations for the specified PPM shipment.
func NewGetPPMCloseout ¶
func NewGetPPMCloseout(ctx *middleware.Context, handler GetPPMCloseoutHandler) *GetPPMCloseout
NewGetPPMCloseout creates a new http.Handler for the get p p m closeout operation
func (*GetPPMCloseout) ServeHTTP ¶
func (o *GetPPMCloseout) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPPMCloseoutBadRequest ¶
type GetPPMCloseoutBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMCloseoutBadRequest The request payload is invalid
swagger:response getPPMCloseoutBadRequest
func NewGetPPMCloseoutBadRequest ¶
func NewGetPPMCloseoutBadRequest() *GetPPMCloseoutBadRequest
NewGetPPMCloseoutBadRequest creates GetPPMCloseoutBadRequest with default headers values
func (*GetPPMCloseoutBadRequest) SetPayload ¶
func (o *GetPPMCloseoutBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m closeout bad request response
func (*GetPPMCloseoutBadRequest) WithPayload ¶
func (o *GetPPMCloseoutBadRequest) WithPayload(payload *ghcmessages.Error) *GetPPMCloseoutBadRequest
WithPayload adds the payload to the get p p m closeout bad request response
func (*GetPPMCloseoutBadRequest) WriteResponse ¶
func (o *GetPPMCloseoutBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMCloseoutForbidden ¶
type GetPPMCloseoutForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMCloseoutForbidden The request was denied
swagger:response getPPMCloseoutForbidden
func NewGetPPMCloseoutForbidden ¶
func NewGetPPMCloseoutForbidden() *GetPPMCloseoutForbidden
NewGetPPMCloseoutForbidden creates GetPPMCloseoutForbidden with default headers values
func (*GetPPMCloseoutForbidden) SetPayload ¶
func (o *GetPPMCloseoutForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m closeout forbidden response
func (*GetPPMCloseoutForbidden) WithPayload ¶
func (o *GetPPMCloseoutForbidden) WithPayload(payload *ghcmessages.Error) *GetPPMCloseoutForbidden
WithPayload adds the payload to the get p p m closeout forbidden response
func (*GetPPMCloseoutForbidden) WriteResponse ¶
func (o *GetPPMCloseoutForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMCloseoutHandler ¶
type GetPPMCloseoutHandler interface {
Handle(GetPPMCloseoutParams) middleware.Responder
}
GetPPMCloseoutHandler interface for that can handle valid get p p m closeout params
type GetPPMCloseoutHandlerFunc ¶
type GetPPMCloseoutHandlerFunc func(GetPPMCloseoutParams) middleware.Responder
GetPPMCloseoutHandlerFunc turns a function with the right signature into a get p p m closeout handler
func (GetPPMCloseoutHandlerFunc) Handle ¶
func (fn GetPPMCloseoutHandlerFunc) Handle(params GetPPMCloseoutParams) middleware.Responder
Handle executing the request and returning a response
type GetPPMCloseoutInternalServerError ¶
type GetPPMCloseoutInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMCloseoutInternalServerError A server error occurred
swagger:response getPPMCloseoutInternalServerError
func NewGetPPMCloseoutInternalServerError ¶
func NewGetPPMCloseoutInternalServerError() *GetPPMCloseoutInternalServerError
NewGetPPMCloseoutInternalServerError creates GetPPMCloseoutInternalServerError with default headers values
func (*GetPPMCloseoutInternalServerError) SetPayload ¶
func (o *GetPPMCloseoutInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m closeout internal server error response
func (*GetPPMCloseoutInternalServerError) WithPayload ¶
func (o *GetPPMCloseoutInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMCloseoutInternalServerError
WithPayload adds the payload to the get p p m closeout internal server error response
func (*GetPPMCloseoutInternalServerError) WriteResponse ¶
func (o *GetPPMCloseoutInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMCloseoutNotFound ¶
type GetPPMCloseoutNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMCloseoutNotFound The requested resource wasn't found
swagger:response getPPMCloseoutNotFound
func NewGetPPMCloseoutNotFound ¶
func NewGetPPMCloseoutNotFound() *GetPPMCloseoutNotFound
NewGetPPMCloseoutNotFound creates GetPPMCloseoutNotFound with default headers values
func (*GetPPMCloseoutNotFound) SetPayload ¶
func (o *GetPPMCloseoutNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m closeout not found response
func (*GetPPMCloseoutNotFound) WithPayload ¶
func (o *GetPPMCloseoutNotFound) WithPayload(payload *ghcmessages.Error) *GetPPMCloseoutNotFound
WithPayload adds the payload to the get p p m closeout not found response
func (*GetPPMCloseoutNotFound) WriteResponse ¶
func (o *GetPPMCloseoutNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMCloseoutOK ¶
type GetPPMCloseoutOK struct { /* In: Body */ Payload *ghcmessages.PPMCloseout `json:"body,omitempty"` }
GetPPMCloseoutOK Returns closeout for the specified PPM shipment.
swagger:response getPPMCloseoutOK
func NewGetPPMCloseoutOK ¶
func NewGetPPMCloseoutOK() *GetPPMCloseoutOK
NewGetPPMCloseoutOK creates GetPPMCloseoutOK with default headers values
func (*GetPPMCloseoutOK) SetPayload ¶
func (o *GetPPMCloseoutOK) SetPayload(payload *ghcmessages.PPMCloseout)
SetPayload sets the payload to the get p p m closeout o k response
func (*GetPPMCloseoutOK) WithPayload ¶
func (o *GetPPMCloseoutOK) WithPayload(payload *ghcmessages.PPMCloseout) *GetPPMCloseoutOK
WithPayload adds the payload to the get p p m closeout o k response
func (*GetPPMCloseoutOK) WriteResponse ¶
func (o *GetPPMCloseoutOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMCloseoutParams ¶
type GetPPMCloseoutParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
GetPPMCloseoutParams contains all the bound params for the get p p m closeout operation typically these are obtained from a http.Request
swagger:parameters getPPMCloseout
func NewGetPPMCloseoutParams ¶
func NewGetPPMCloseoutParams() GetPPMCloseoutParams
NewGetPPMCloseoutParams creates a new GetPPMCloseoutParams object
There are no default values defined in the spec.
func (*GetPPMCloseoutParams) BindRequest ¶
func (o *GetPPMCloseoutParams) 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 NewGetPPMCloseoutParams() beforehand.
type GetPPMCloseoutURL ¶
type GetPPMCloseoutURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
GetPPMCloseoutURL generates an URL for the get p p m closeout operation
func (*GetPPMCloseoutURL) Build ¶
func (o *GetPPMCloseoutURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPPMCloseoutURL) BuildFull ¶
func (o *GetPPMCloseoutURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPPMCloseoutURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPPMCloseoutURL) SetBasePath ¶
func (o *GetPPMCloseoutURL) 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 (*GetPPMCloseoutURL) String ¶
func (o *GetPPMCloseoutURL) String() string
String returns the string representation of the path with query string
func (*GetPPMCloseoutURL) StringFull ¶
func (o *GetPPMCloseoutURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPPMCloseoutURL) WithBasePath ¶
func (o *GetPPMCloseoutURL) WithBasePath(bp string) *GetPPMCloseoutURL
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 GetPPMCloseoutUnprocessableEntity ¶
type GetPPMCloseoutUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
GetPPMCloseoutUnprocessableEntity The payload was unprocessable.
swagger:response getPPMCloseoutUnprocessableEntity
func NewGetPPMCloseoutUnprocessableEntity ¶
func NewGetPPMCloseoutUnprocessableEntity() *GetPPMCloseoutUnprocessableEntity
NewGetPPMCloseoutUnprocessableEntity creates GetPPMCloseoutUnprocessableEntity with default headers values
func (*GetPPMCloseoutUnprocessableEntity) SetPayload ¶
func (o *GetPPMCloseoutUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the get p p m closeout unprocessable entity response
func (*GetPPMCloseoutUnprocessableEntity) WithPayload ¶
func (o *GetPPMCloseoutUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMCloseoutUnprocessableEntity
WithPayload adds the payload to the get p p m closeout unprocessable entity response
func (*GetPPMCloseoutUnprocessableEntity) WriteResponse ¶
func (o *GetPPMCloseoutUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMDocuments ¶
type GetPPMDocuments struct { Context *middleware.Context Handler GetPPMDocumentsHandler }
GetPPMDocuments swagger:route GET /shipments/{shipmentID}/ppm-documents ppm getPPMDocuments
Gets all the PPM documents for a PPM shipment ¶
Retrieves all of the documents and associated uploads for each ppm document type connected to a PPM shipment. This excludes any deleted PPM documents.
func NewGetPPMDocuments ¶
func NewGetPPMDocuments(ctx *middleware.Context, handler GetPPMDocumentsHandler) *GetPPMDocuments
NewGetPPMDocuments creates a new http.Handler for the get p p m documents operation
func (*GetPPMDocuments) ServeHTTP ¶
func (o *GetPPMDocuments) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPPMDocumentsForbidden ¶
type GetPPMDocumentsForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMDocumentsForbidden The request was denied
swagger:response getPPMDocumentsForbidden
func NewGetPPMDocumentsForbidden ¶
func NewGetPPMDocumentsForbidden() *GetPPMDocumentsForbidden
NewGetPPMDocumentsForbidden creates GetPPMDocumentsForbidden with default headers values
func (*GetPPMDocumentsForbidden) SetPayload ¶
func (o *GetPPMDocumentsForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m documents forbidden response
func (*GetPPMDocumentsForbidden) WithPayload ¶
func (o *GetPPMDocumentsForbidden) WithPayload(payload *ghcmessages.Error) *GetPPMDocumentsForbidden
WithPayload adds the payload to the get p p m documents forbidden response
func (*GetPPMDocumentsForbidden) WriteResponse ¶
func (o *GetPPMDocumentsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMDocumentsHandler ¶
type GetPPMDocumentsHandler interface {
Handle(GetPPMDocumentsParams) middleware.Responder
}
GetPPMDocumentsHandler interface for that can handle valid get p p m documents params
type GetPPMDocumentsHandlerFunc ¶
type GetPPMDocumentsHandlerFunc func(GetPPMDocumentsParams) middleware.Responder
GetPPMDocumentsHandlerFunc turns a function with the right signature into a get p p m documents handler
func (GetPPMDocumentsHandlerFunc) Handle ¶
func (fn GetPPMDocumentsHandlerFunc) Handle(params GetPPMDocumentsParams) middleware.Responder
Handle executing the request and returning a response
type GetPPMDocumentsInternalServerError ¶
type GetPPMDocumentsInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMDocumentsInternalServerError A server error occurred
swagger:response getPPMDocumentsInternalServerError
func NewGetPPMDocumentsInternalServerError ¶
func NewGetPPMDocumentsInternalServerError() *GetPPMDocumentsInternalServerError
NewGetPPMDocumentsInternalServerError creates GetPPMDocumentsInternalServerError with default headers values
func (*GetPPMDocumentsInternalServerError) SetPayload ¶
func (o *GetPPMDocumentsInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m documents internal server error response
func (*GetPPMDocumentsInternalServerError) WithPayload ¶
func (o *GetPPMDocumentsInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMDocumentsInternalServerError
WithPayload adds the payload to the get p p m documents internal server error response
func (*GetPPMDocumentsInternalServerError) WriteResponse ¶
func (o *GetPPMDocumentsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMDocumentsOK ¶
type GetPPMDocumentsOK struct { /* In: Body */ Payload *ghcmessages.PPMDocuments `json:"body,omitempty"` }
GetPPMDocumentsOK All PPM documents and associated uploads for the specified PPM shipment.
swagger:response getPPMDocumentsOK
func NewGetPPMDocumentsOK ¶
func NewGetPPMDocumentsOK() *GetPPMDocumentsOK
NewGetPPMDocumentsOK creates GetPPMDocumentsOK with default headers values
func (*GetPPMDocumentsOK) SetPayload ¶
func (o *GetPPMDocumentsOK) SetPayload(payload *ghcmessages.PPMDocuments)
SetPayload sets the payload to the get p p m documents o k response
func (*GetPPMDocumentsOK) WithPayload ¶
func (o *GetPPMDocumentsOK) WithPayload(payload *ghcmessages.PPMDocuments) *GetPPMDocumentsOK
WithPayload adds the payload to the get p p m documents o k response
func (*GetPPMDocumentsOK) WriteResponse ¶
func (o *GetPPMDocumentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMDocumentsParams ¶
type GetPPMDocumentsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
GetPPMDocumentsParams contains all the bound params for the get p p m documents operation typically these are obtained from a http.Request
swagger:parameters getPPMDocuments
func NewGetPPMDocumentsParams ¶
func NewGetPPMDocumentsParams() GetPPMDocumentsParams
NewGetPPMDocumentsParams creates a new GetPPMDocumentsParams object
There are no default values defined in the spec.
func (*GetPPMDocumentsParams) BindRequest ¶
func (o *GetPPMDocumentsParams) 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 NewGetPPMDocumentsParams() beforehand.
type GetPPMDocumentsURL ¶
GetPPMDocumentsURL generates an URL for the get p p m documents operation
func (*GetPPMDocumentsURL) Build ¶
func (o *GetPPMDocumentsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPPMDocumentsURL) BuildFull ¶
func (o *GetPPMDocumentsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPPMDocumentsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPPMDocumentsURL) SetBasePath ¶
func (o *GetPPMDocumentsURL) 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 (*GetPPMDocumentsURL) String ¶
func (o *GetPPMDocumentsURL) String() string
String returns the string representation of the path with query string
func (*GetPPMDocumentsURL) StringFull ¶
func (o *GetPPMDocumentsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPPMDocumentsURL) WithBasePath ¶
func (o *GetPPMDocumentsURL) WithBasePath(bp string) *GetPPMDocumentsURL
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 GetPPMDocumentsUnauthorized ¶
type GetPPMDocumentsUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
GetPPMDocumentsUnauthorized The request was denied
swagger:response getPPMDocumentsUnauthorized
func NewGetPPMDocumentsUnauthorized ¶
func NewGetPPMDocumentsUnauthorized() *GetPPMDocumentsUnauthorized
NewGetPPMDocumentsUnauthorized creates GetPPMDocumentsUnauthorized with default headers values
func (*GetPPMDocumentsUnauthorized) SetPayload ¶
func (o *GetPPMDocumentsUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m documents unauthorized response
func (*GetPPMDocumentsUnauthorized) WithPayload ¶
func (o *GetPPMDocumentsUnauthorized) WithPayload(payload *ghcmessages.Error) *GetPPMDocumentsUnauthorized
WithPayload adds the payload to the get p p m documents unauthorized response
func (*GetPPMDocumentsUnauthorized) WriteResponse ¶
func (o *GetPPMDocumentsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMDocumentsUnprocessableEntity ¶
type GetPPMDocumentsUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
GetPPMDocumentsUnprocessableEntity The payload was unprocessable.
swagger:response getPPMDocumentsUnprocessableEntity
func NewGetPPMDocumentsUnprocessableEntity ¶
func NewGetPPMDocumentsUnprocessableEntity() *GetPPMDocumentsUnprocessableEntity
NewGetPPMDocumentsUnprocessableEntity creates GetPPMDocumentsUnprocessableEntity with default headers values
func (*GetPPMDocumentsUnprocessableEntity) SetPayload ¶
func (o *GetPPMDocumentsUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the get p p m documents unprocessable entity response
func (*GetPPMDocumentsUnprocessableEntity) WithPayload ¶
func (o *GetPPMDocumentsUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMDocumentsUnprocessableEntity
WithPayload adds the payload to the get p p m documents unprocessable entity response
func (*GetPPMDocumentsUnprocessableEntity) WriteResponse ¶
func (o *GetPPMDocumentsUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMSITEstimatedCost ¶
type GetPPMSITEstimatedCost struct { Context *middleware.Context Handler GetPPMSITEstimatedCostHandler }
GetPPMSITEstimatedCost swagger:route GET /ppm-shipments/{ppmShipmentId}/sit_location/{sitLocation}/sit-estimated-cost ppm getPPMSITEstimatedCost
Get the SIT estimated cost for a PPM shipment ¶
Calculates and returns the SIT estimated cost for the specified PPM shipment.
func NewGetPPMSITEstimatedCost ¶
func NewGetPPMSITEstimatedCost(ctx *middleware.Context, handler GetPPMSITEstimatedCostHandler) *GetPPMSITEstimatedCost
NewGetPPMSITEstimatedCost creates a new http.Handler for the get p p m s i t estimated cost operation
func (*GetPPMSITEstimatedCost) ServeHTTP ¶
func (o *GetPPMSITEstimatedCost) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPPMSITEstimatedCostBadRequest ¶
type GetPPMSITEstimatedCostBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMSITEstimatedCostBadRequest The request payload is invalid
swagger:response getPPMSITEstimatedCostBadRequest
func NewGetPPMSITEstimatedCostBadRequest ¶
func NewGetPPMSITEstimatedCostBadRequest() *GetPPMSITEstimatedCostBadRequest
NewGetPPMSITEstimatedCostBadRequest creates GetPPMSITEstimatedCostBadRequest with default headers values
func (*GetPPMSITEstimatedCostBadRequest) SetPayload ¶
func (o *GetPPMSITEstimatedCostBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m s i t estimated cost bad request response
func (*GetPPMSITEstimatedCostBadRequest) WithPayload ¶
func (o *GetPPMSITEstimatedCostBadRequest) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostBadRequest
WithPayload adds the payload to the get p p m s i t estimated cost bad request response
func (*GetPPMSITEstimatedCostBadRequest) WriteResponse ¶
func (o *GetPPMSITEstimatedCostBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMSITEstimatedCostForbidden ¶
type GetPPMSITEstimatedCostForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMSITEstimatedCostForbidden The request was denied
swagger:response getPPMSITEstimatedCostForbidden
func NewGetPPMSITEstimatedCostForbidden ¶
func NewGetPPMSITEstimatedCostForbidden() *GetPPMSITEstimatedCostForbidden
NewGetPPMSITEstimatedCostForbidden creates GetPPMSITEstimatedCostForbidden with default headers values
func (*GetPPMSITEstimatedCostForbidden) SetPayload ¶
func (o *GetPPMSITEstimatedCostForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m s i t estimated cost forbidden response
func (*GetPPMSITEstimatedCostForbidden) WithPayload ¶
func (o *GetPPMSITEstimatedCostForbidden) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostForbidden
WithPayload adds the payload to the get p p m s i t estimated cost forbidden response
func (*GetPPMSITEstimatedCostForbidden) WriteResponse ¶
func (o *GetPPMSITEstimatedCostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMSITEstimatedCostHandler ¶
type GetPPMSITEstimatedCostHandler interface {
Handle(GetPPMSITEstimatedCostParams) middleware.Responder
}
GetPPMSITEstimatedCostHandler interface for that can handle valid get p p m s i t estimated cost params
type GetPPMSITEstimatedCostHandlerFunc ¶
type GetPPMSITEstimatedCostHandlerFunc func(GetPPMSITEstimatedCostParams) middleware.Responder
GetPPMSITEstimatedCostHandlerFunc turns a function with the right signature into a get p p m s i t estimated cost handler
func (GetPPMSITEstimatedCostHandlerFunc) Handle ¶
func (fn GetPPMSITEstimatedCostHandlerFunc) Handle(params GetPPMSITEstimatedCostParams) middleware.Responder
Handle executing the request and returning a response
type GetPPMSITEstimatedCostInternalServerError ¶
type GetPPMSITEstimatedCostInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMSITEstimatedCostInternalServerError A server error occurred
swagger:response getPPMSITEstimatedCostInternalServerError
func NewGetPPMSITEstimatedCostInternalServerError ¶
func NewGetPPMSITEstimatedCostInternalServerError() *GetPPMSITEstimatedCostInternalServerError
NewGetPPMSITEstimatedCostInternalServerError creates GetPPMSITEstimatedCostInternalServerError with default headers values
func (*GetPPMSITEstimatedCostInternalServerError) SetPayload ¶
func (o *GetPPMSITEstimatedCostInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m s i t estimated cost internal server error response
func (*GetPPMSITEstimatedCostInternalServerError) WithPayload ¶
func (o *GetPPMSITEstimatedCostInternalServerError) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostInternalServerError
WithPayload adds the payload to the get p p m s i t estimated cost internal server error response
func (*GetPPMSITEstimatedCostInternalServerError) WriteResponse ¶
func (o *GetPPMSITEstimatedCostInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMSITEstimatedCostNotFound ¶
type GetPPMSITEstimatedCostNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
GetPPMSITEstimatedCostNotFound The requested resource wasn't found
swagger:response getPPMSITEstimatedCostNotFound
func NewGetPPMSITEstimatedCostNotFound ¶
func NewGetPPMSITEstimatedCostNotFound() *GetPPMSITEstimatedCostNotFound
NewGetPPMSITEstimatedCostNotFound creates GetPPMSITEstimatedCostNotFound with default headers values
func (*GetPPMSITEstimatedCostNotFound) SetPayload ¶
func (o *GetPPMSITEstimatedCostNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the get p p m s i t estimated cost not found response
func (*GetPPMSITEstimatedCostNotFound) WithPayload ¶
func (o *GetPPMSITEstimatedCostNotFound) WithPayload(payload *ghcmessages.Error) *GetPPMSITEstimatedCostNotFound
WithPayload adds the payload to the get p p m s i t estimated cost not found response
func (*GetPPMSITEstimatedCostNotFound) WriteResponse ¶
func (o *GetPPMSITEstimatedCostNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMSITEstimatedCostOK ¶
type GetPPMSITEstimatedCostOK struct { /* In: Body */ Payload *ghcmessages.PPMSITEstimatedCost `json:"body,omitempty"` }
GetPPMSITEstimatedCostOK Calculates and returns the SIT estimated cost for the specified PPM shipment.
swagger:response getPPMSITEstimatedCostOK
func NewGetPPMSITEstimatedCostOK ¶
func NewGetPPMSITEstimatedCostOK() *GetPPMSITEstimatedCostOK
NewGetPPMSITEstimatedCostOK creates GetPPMSITEstimatedCostOK with default headers values
func (*GetPPMSITEstimatedCostOK) SetPayload ¶
func (o *GetPPMSITEstimatedCostOK) SetPayload(payload *ghcmessages.PPMSITEstimatedCost)
SetPayload sets the payload to the get p p m s i t estimated cost o k response
func (*GetPPMSITEstimatedCostOK) WithPayload ¶
func (o *GetPPMSITEstimatedCostOK) WithPayload(payload *ghcmessages.PPMSITEstimatedCost) *GetPPMSITEstimatedCostOK
WithPayload adds the payload to the get p p m s i t estimated cost o k response
func (*GetPPMSITEstimatedCostOK) WriteResponse ¶
func (o *GetPPMSITEstimatedCostOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPPMSITEstimatedCostParams ¶
type GetPPMSITEstimatedCostParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /*Date departed SIT Required: true In: query */ SitDepartureDate strfmt.DateTime /*Date entered into SIT Required: true In: query */ SitEntryDate strfmt.DateTime /*location of sit Required: true In: path */ SitLocation string /*Weight stored in SIT Required: true Minimum: 0 In: query */ WeightStored int64 }
GetPPMSITEstimatedCostParams contains all the bound params for the get p p m s i t estimated cost operation typically these are obtained from a http.Request
swagger:parameters getPPMSITEstimatedCost
func NewGetPPMSITEstimatedCostParams ¶
func NewGetPPMSITEstimatedCostParams() GetPPMSITEstimatedCostParams
NewGetPPMSITEstimatedCostParams creates a new GetPPMSITEstimatedCostParams object
There are no default values defined in the spec.
func (*GetPPMSITEstimatedCostParams) BindRequest ¶
func (o *GetPPMSITEstimatedCostParams) 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 NewGetPPMSITEstimatedCostParams() beforehand.
type GetPPMSITEstimatedCostURL ¶
type GetPPMSITEstimatedCostURL struct { PpmShipmentID strfmt.UUID SitLocation string SitDepartureDate strfmt.DateTime SitEntryDate strfmt.DateTime WeightStored int64 // contains filtered or unexported fields }
GetPPMSITEstimatedCostURL generates an URL for the get p p m s i t estimated cost operation
func (*GetPPMSITEstimatedCostURL) Build ¶
func (o *GetPPMSITEstimatedCostURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPPMSITEstimatedCostURL) BuildFull ¶
func (o *GetPPMSITEstimatedCostURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPPMSITEstimatedCostURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPPMSITEstimatedCostURL) SetBasePath ¶
func (o *GetPPMSITEstimatedCostURL) 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 (*GetPPMSITEstimatedCostURL) String ¶
func (o *GetPPMSITEstimatedCostURL) String() string
String returns the string representation of the path with query string
func (*GetPPMSITEstimatedCostURL) StringFull ¶
func (o *GetPPMSITEstimatedCostURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPPMSITEstimatedCostURL) WithBasePath ¶
func (o *GetPPMSITEstimatedCostURL) WithBasePath(bp string) *GetPPMSITEstimatedCostURL
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 GetPPMSITEstimatedCostUnprocessableEntity ¶
type GetPPMSITEstimatedCostUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
GetPPMSITEstimatedCostUnprocessableEntity The payload was unprocessable.
swagger:response getPPMSITEstimatedCostUnprocessableEntity
func NewGetPPMSITEstimatedCostUnprocessableEntity ¶
func NewGetPPMSITEstimatedCostUnprocessableEntity() *GetPPMSITEstimatedCostUnprocessableEntity
NewGetPPMSITEstimatedCostUnprocessableEntity creates GetPPMSITEstimatedCostUnprocessableEntity with default headers values
func (*GetPPMSITEstimatedCostUnprocessableEntity) SetPayload ¶
func (o *GetPPMSITEstimatedCostUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the get p p m s i t estimated cost unprocessable entity response
func (*GetPPMSITEstimatedCostUnprocessableEntity) WithPayload ¶
func (o *GetPPMSITEstimatedCostUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *GetPPMSITEstimatedCostUnprocessableEntity
WithPayload adds the payload to the get p p m s i t estimated cost unprocessable entity response
func (*GetPPMSITEstimatedCostUnprocessableEntity) WriteResponse ¶
func (o *GetPPMSITEstimatedCostUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacket ¶
type ShowAOAPacket struct { Context *middleware.Context Handler ShowAOAPacketHandler }
ShowAOAPacket swagger:route GET /ppm-shipments/{ppmShipmentId}/aoa-packet ppm showAOAPacket
Downloads AOA Packet form PPMShipment as a PDF ¶
### Functionality This endpoint downloads all uploaded move order documentation combined with the Shipment Summary Worksheet into a single PDF. ### Errors * The PPMShipment must have requested an AOA. * The PPMShipment AOA Request must have been approved.
func NewShowAOAPacket ¶
func NewShowAOAPacket(ctx *middleware.Context, handler ShowAOAPacketHandler) *ShowAOAPacket
NewShowAOAPacket creates a new http.Handler for the show a o a packet operation
func (*ShowAOAPacket) ServeHTTP ¶
func (o *ShowAOAPacket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowAOAPacketBadRequest ¶
type ShowAOAPacketBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ShowAOAPacketBadRequest The request payload is invalid
swagger:response showAOAPacketBadRequest
func NewShowAOAPacketBadRequest ¶
func NewShowAOAPacketBadRequest() *ShowAOAPacketBadRequest
NewShowAOAPacketBadRequest creates ShowAOAPacketBadRequest with default headers values
func (*ShowAOAPacketBadRequest) SetPayload ¶
func (o *ShowAOAPacketBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the show a o a packet bad request response
func (*ShowAOAPacketBadRequest) WithPayload ¶
func (o *ShowAOAPacketBadRequest) WithPayload(payload *ghcmessages.Error) *ShowAOAPacketBadRequest
WithPayload adds the payload to the show a o a packet bad request response
func (*ShowAOAPacketBadRequest) WriteResponse ¶
func (o *ShowAOAPacketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketForbidden ¶
type ShowAOAPacketForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ShowAOAPacketForbidden The request was denied
swagger:response showAOAPacketForbidden
func NewShowAOAPacketForbidden ¶
func NewShowAOAPacketForbidden() *ShowAOAPacketForbidden
NewShowAOAPacketForbidden creates ShowAOAPacketForbidden with default headers values
func (*ShowAOAPacketForbidden) SetPayload ¶
func (o *ShowAOAPacketForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the show a o a packet forbidden response
func (*ShowAOAPacketForbidden) WithPayload ¶
func (o *ShowAOAPacketForbidden) WithPayload(payload *ghcmessages.Error) *ShowAOAPacketForbidden
WithPayload adds the payload to the show a o a packet forbidden response
func (*ShowAOAPacketForbidden) WriteResponse ¶
func (o *ShowAOAPacketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketHandler ¶
type ShowAOAPacketHandler interface {
Handle(ShowAOAPacketParams) middleware.Responder
}
ShowAOAPacketHandler interface for that can handle valid show a o a packet params
type ShowAOAPacketHandlerFunc ¶
type ShowAOAPacketHandlerFunc func(ShowAOAPacketParams) middleware.Responder
ShowAOAPacketHandlerFunc turns a function with the right signature into a show a o a packet handler
func (ShowAOAPacketHandlerFunc) Handle ¶
func (fn ShowAOAPacketHandlerFunc) Handle(params ShowAOAPacketParams) middleware.Responder
Handle executing the request and returning a response
type ShowAOAPacketInternalServerError ¶
type ShowAOAPacketInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ShowAOAPacketInternalServerError A server error occurred
swagger:response showAOAPacketInternalServerError
func NewShowAOAPacketInternalServerError ¶
func NewShowAOAPacketInternalServerError() *ShowAOAPacketInternalServerError
NewShowAOAPacketInternalServerError creates ShowAOAPacketInternalServerError with default headers values
func (*ShowAOAPacketInternalServerError) SetPayload ¶
func (o *ShowAOAPacketInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the show a o a packet internal server error response
func (*ShowAOAPacketInternalServerError) WithPayload ¶
func (o *ShowAOAPacketInternalServerError) WithPayload(payload *ghcmessages.Error) *ShowAOAPacketInternalServerError
WithPayload adds the payload to the show a o a packet internal server error response
func (*ShowAOAPacketInternalServerError) WriteResponse ¶
func (o *ShowAOAPacketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketNotFound ¶
type ShowAOAPacketNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ShowAOAPacketNotFound The requested resource wasn't found
swagger:response showAOAPacketNotFound
func NewShowAOAPacketNotFound ¶
func NewShowAOAPacketNotFound() *ShowAOAPacketNotFound
NewShowAOAPacketNotFound creates ShowAOAPacketNotFound with default headers values
func (*ShowAOAPacketNotFound) SetPayload ¶
func (o *ShowAOAPacketNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the show a o a packet not found response
func (*ShowAOAPacketNotFound) WithPayload ¶
func (o *ShowAOAPacketNotFound) WithPayload(payload *ghcmessages.Error) *ShowAOAPacketNotFound
WithPayload adds the payload to the show a o a packet not found response
func (*ShowAOAPacketNotFound) WriteResponse ¶
func (o *ShowAOAPacketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketOK ¶
type ShowAOAPacketOK struct { /*File name to download */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
ShowAOAPacketOK AOA PDF
swagger:response showAOAPacketOK
func NewShowAOAPacketOK ¶
func NewShowAOAPacketOK() *ShowAOAPacketOK
NewShowAOAPacketOK creates ShowAOAPacketOK with default headers values
func (*ShowAOAPacketOK) SetContentDisposition ¶
func (o *ShowAOAPacketOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the show a o a packet o k response
func (*ShowAOAPacketOK) SetPayload ¶
func (o *ShowAOAPacketOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the show a o a packet o k response
func (*ShowAOAPacketOK) WithContentDisposition ¶
func (o *ShowAOAPacketOK) WithContentDisposition(contentDisposition string) *ShowAOAPacketOK
WithContentDisposition adds the contentDisposition to the show a o a packet o k response
func (*ShowAOAPacketOK) WithPayload ¶
func (o *ShowAOAPacketOK) WithPayload(payload io.ReadCloser) *ShowAOAPacketOK
WithPayload adds the payload to the show a o a packet o k response
func (*ShowAOAPacketOK) WriteResponse ¶
func (o *ShowAOAPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketParams ¶
type ShowAOAPacketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*the id for the ppmshipment with aoa to be downloaded Required: true In: path */ PpmShipmentID string }
ShowAOAPacketParams contains all the bound params for the show a o a packet operation typically these are obtained from a http.Request
swagger:parameters showAOAPacket
func NewShowAOAPacketParams ¶
func NewShowAOAPacketParams() ShowAOAPacketParams
NewShowAOAPacketParams creates a new ShowAOAPacketParams object
There are no default values defined in the spec.
func (*ShowAOAPacketParams) BindRequest ¶
func (o *ShowAOAPacketParams) 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 NewShowAOAPacketParams() beforehand.
type ShowAOAPacketURL ¶
type ShowAOAPacketURL struct { PpmShipmentID string // contains filtered or unexported fields }
ShowAOAPacketURL generates an URL for the show a o a packet operation
func (*ShowAOAPacketURL) Build ¶
func (o *ShowAOAPacketURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowAOAPacketURL) BuildFull ¶
func (o *ShowAOAPacketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowAOAPacketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowAOAPacketURL) SetBasePath ¶
func (o *ShowAOAPacketURL) 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 (*ShowAOAPacketURL) String ¶
func (o *ShowAOAPacketURL) String() string
String returns the string representation of the path with query string
func (*ShowAOAPacketURL) StringFull ¶
func (o *ShowAOAPacketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowAOAPacketURL) WithBasePath ¶
func (o *ShowAOAPacketURL) WithBasePath(bp string) *ShowAOAPacketURL
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 ShowAOAPacketUnprocessableEntity ¶
type ShowAOAPacketUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
ShowAOAPacketUnprocessableEntity The payload was unprocessable.
swagger:response showAOAPacketUnprocessableEntity
func NewShowAOAPacketUnprocessableEntity ¶
func NewShowAOAPacketUnprocessableEntity() *ShowAOAPacketUnprocessableEntity
NewShowAOAPacketUnprocessableEntity creates ShowAOAPacketUnprocessableEntity with default headers values
func (*ShowAOAPacketUnprocessableEntity) SetPayload ¶
func (o *ShowAOAPacketUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the show a o a packet unprocessable entity response
func (*ShowAOAPacketUnprocessableEntity) WithPayload ¶
func (o *ShowAOAPacketUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ShowAOAPacketUnprocessableEntity
WithPayload adds the payload to the show a o a packet unprocessable entity response
func (*ShowAOAPacketUnprocessableEntity) WriteResponse ¶
func (o *ShowAOAPacketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacket ¶
type ShowPaymentPacket struct { Context *middleware.Context Handler ShowPaymentPacketHandler }
ShowPaymentPacket swagger:route GET /ppm-shipments/{ppmShipmentId}/payment-packet ppm showPaymentPacket
Returns PPM payment packet ¶
Generates a PDF containing all user uploaded documentations for PPM. Contains SSW form, orders, weight and expense documentations.
func NewShowPaymentPacket ¶
func NewShowPaymentPacket(ctx *middleware.Context, handler ShowPaymentPacketHandler) *ShowPaymentPacket
NewShowPaymentPacket creates a new http.Handler for the show payment packet operation
func (*ShowPaymentPacket) ServeHTTP ¶
func (o *ShowPaymentPacket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowPaymentPacketBadRequest ¶
type ShowPaymentPacketBadRequest struct { }
ShowPaymentPacketBadRequest invalid request
swagger:response showPaymentPacketBadRequest
func NewShowPaymentPacketBadRequest ¶
func NewShowPaymentPacketBadRequest() *ShowPaymentPacketBadRequest
NewShowPaymentPacketBadRequest creates ShowPaymentPacketBadRequest with default headers values
func (*ShowPaymentPacketBadRequest) WriteResponse ¶
func (o *ShowPaymentPacketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketForbidden ¶
type ShowPaymentPacketForbidden struct { }
ShowPaymentPacketForbidden user is not authorized
swagger:response showPaymentPacketForbidden
func NewShowPaymentPacketForbidden ¶
func NewShowPaymentPacketForbidden() *ShowPaymentPacketForbidden
NewShowPaymentPacketForbidden creates ShowPaymentPacketForbidden with default headers values
func (*ShowPaymentPacketForbidden) WriteResponse ¶
func (o *ShowPaymentPacketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketHandler ¶
type ShowPaymentPacketHandler interface {
Handle(ShowPaymentPacketParams) middleware.Responder
}
ShowPaymentPacketHandler interface for that can handle valid show payment packet params
type ShowPaymentPacketHandlerFunc ¶
type ShowPaymentPacketHandlerFunc func(ShowPaymentPacketParams) middleware.Responder
ShowPaymentPacketHandlerFunc turns a function with the right signature into a show payment packet handler
func (ShowPaymentPacketHandlerFunc) Handle ¶
func (fn ShowPaymentPacketHandlerFunc) Handle(params ShowPaymentPacketParams) middleware.Responder
Handle executing the request and returning a response
type ShowPaymentPacketInternalServerError ¶
type ShowPaymentPacketInternalServerError struct { }
ShowPaymentPacketInternalServerError internal server error
swagger:response showPaymentPacketInternalServerError
func NewShowPaymentPacketInternalServerError ¶
func NewShowPaymentPacketInternalServerError() *ShowPaymentPacketInternalServerError
NewShowPaymentPacketInternalServerError creates ShowPaymentPacketInternalServerError with default headers values
func (*ShowPaymentPacketInternalServerError) WriteResponse ¶
func (o *ShowPaymentPacketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketNotFound ¶
type ShowPaymentPacketNotFound struct { }
ShowPaymentPacketNotFound ppm not found
swagger:response showPaymentPacketNotFound
func NewShowPaymentPacketNotFound ¶
func NewShowPaymentPacketNotFound() *ShowPaymentPacketNotFound
NewShowPaymentPacketNotFound creates ShowPaymentPacketNotFound with default headers values
func (*ShowPaymentPacketNotFound) WriteResponse ¶
func (o *ShowPaymentPacketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketOK ¶
type ShowPaymentPacketOK struct { /*File name to download */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
ShowPaymentPacketOK PPM Payment Packet PDF
swagger:response showPaymentPacketOK
func NewShowPaymentPacketOK ¶
func NewShowPaymentPacketOK() *ShowPaymentPacketOK
NewShowPaymentPacketOK creates ShowPaymentPacketOK with default headers values
func (*ShowPaymentPacketOK) SetContentDisposition ¶
func (o *ShowPaymentPacketOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the show payment packet o k response
func (*ShowPaymentPacketOK) SetPayload ¶
func (o *ShowPaymentPacketOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the show payment packet o k response
func (*ShowPaymentPacketOK) WithContentDisposition ¶
func (o *ShowPaymentPacketOK) WithContentDisposition(contentDisposition string) *ShowPaymentPacketOK
WithContentDisposition adds the contentDisposition to the show payment packet o k response
func (*ShowPaymentPacketOK) WithPayload ¶
func (o *ShowPaymentPacketOK) WithPayload(payload io.ReadCloser) *ShowPaymentPacketOK
WithPayload adds the payload to the show payment packet o k response
func (*ShowPaymentPacketOK) WriteResponse ¶
func (o *ShowPaymentPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketParams ¶
type ShowPaymentPacketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the ppmShipment Required: true In: path */ PpmShipmentID strfmt.UUID }
ShowPaymentPacketParams contains all the bound params for the show payment packet operation typically these are obtained from a http.Request
swagger:parameters showPaymentPacket
func NewShowPaymentPacketParams ¶
func NewShowPaymentPacketParams() ShowPaymentPacketParams
NewShowPaymentPacketParams creates a new ShowPaymentPacketParams object
There are no default values defined in the spec.
func (*ShowPaymentPacketParams) BindRequest ¶
func (o *ShowPaymentPacketParams) 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 NewShowPaymentPacketParams() beforehand.
type ShowPaymentPacketURL ¶
type ShowPaymentPacketURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
ShowPaymentPacketURL generates an URL for the show payment packet operation
func (*ShowPaymentPacketURL) Build ¶
func (o *ShowPaymentPacketURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowPaymentPacketURL) BuildFull ¶
func (o *ShowPaymentPacketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowPaymentPacketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowPaymentPacketURL) SetBasePath ¶
func (o *ShowPaymentPacketURL) 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 (*ShowPaymentPacketURL) String ¶
func (o *ShowPaymentPacketURL) String() string
String returns the string representation of the path with query string
func (*ShowPaymentPacketURL) StringFull ¶
func (o *ShowPaymentPacketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowPaymentPacketURL) WithBasePath ¶
func (o *ShowPaymentPacketURL) WithBasePath(bp string) *ShowPaymentPacketURL
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 ShowPaymentPacketUnauthorized ¶
type ShowPaymentPacketUnauthorized struct { }
ShowPaymentPacketUnauthorized request requires user authentication
swagger:response showPaymentPacketUnauthorized
func NewShowPaymentPacketUnauthorized ¶
func NewShowPaymentPacketUnauthorized() *ShowPaymentPacketUnauthorized
NewShowPaymentPacketUnauthorized creates ShowPaymentPacketUnauthorized with default headers values
func (*ShowPaymentPacketUnauthorized) WriteResponse ¶
func (o *ShowPaymentPacketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpense ¶
type UpdateMovingExpense struct { Context *middleware.Context Handler UpdateMovingExpenseHandler }
UpdateMovingExpense swagger:route PATCH /ppm-shipments/{ppmShipmentId}/moving-expenses/{movingExpenseId} ppm updateMovingExpense
Updates the moving expense ¶
Updates a PPM shipment's moving expense with new information. Only some of the moving expense's fields are editable because some have to be set by the customer, e.g. the description and the moving expense type.
func NewUpdateMovingExpense ¶
func NewUpdateMovingExpense(ctx *middleware.Context, handler UpdateMovingExpenseHandler) *UpdateMovingExpense
NewUpdateMovingExpense creates a new http.Handler for the update moving expense operation
func (*UpdateMovingExpense) ServeHTTP ¶
func (o *UpdateMovingExpense) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateMovingExpenseBadRequest ¶
type UpdateMovingExpenseBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMovingExpenseBadRequest The request payload is invalid
swagger:response updateMovingExpenseBadRequest
func NewUpdateMovingExpenseBadRequest ¶
func NewUpdateMovingExpenseBadRequest() *UpdateMovingExpenseBadRequest
NewUpdateMovingExpenseBadRequest creates UpdateMovingExpenseBadRequest with default headers values
func (*UpdateMovingExpenseBadRequest) SetPayload ¶
func (o *UpdateMovingExpenseBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update moving expense bad request response
func (*UpdateMovingExpenseBadRequest) WithPayload ¶
func (o *UpdateMovingExpenseBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseBadRequest
WithPayload adds the payload to the update moving expense bad request response
func (*UpdateMovingExpenseBadRequest) WriteResponse ¶
func (o *UpdateMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseForbidden ¶
type UpdateMovingExpenseForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMovingExpenseForbidden The request was denied
swagger:response updateMovingExpenseForbidden
func NewUpdateMovingExpenseForbidden ¶
func NewUpdateMovingExpenseForbidden() *UpdateMovingExpenseForbidden
NewUpdateMovingExpenseForbidden creates UpdateMovingExpenseForbidden with default headers values
func (*UpdateMovingExpenseForbidden) SetPayload ¶
func (o *UpdateMovingExpenseForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update moving expense forbidden response
func (*UpdateMovingExpenseForbidden) WithPayload ¶
func (o *UpdateMovingExpenseForbidden) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseForbidden
WithPayload adds the payload to the update moving expense forbidden response
func (*UpdateMovingExpenseForbidden) WriteResponse ¶
func (o *UpdateMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseHandler ¶
type UpdateMovingExpenseHandler interface {
Handle(UpdateMovingExpenseParams) middleware.Responder
}
UpdateMovingExpenseHandler interface for that can handle valid update moving expense params
type UpdateMovingExpenseHandlerFunc ¶
type UpdateMovingExpenseHandlerFunc func(UpdateMovingExpenseParams) middleware.Responder
UpdateMovingExpenseHandlerFunc turns a function with the right signature into a update moving expense handler
func (UpdateMovingExpenseHandlerFunc) Handle ¶
func (fn UpdateMovingExpenseHandlerFunc) Handle(params UpdateMovingExpenseParams) middleware.Responder
Handle executing the request and returning a response
type UpdateMovingExpenseInternalServerError ¶
type UpdateMovingExpenseInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMovingExpenseInternalServerError A server error occurred
swagger:response updateMovingExpenseInternalServerError
func NewUpdateMovingExpenseInternalServerError ¶
func NewUpdateMovingExpenseInternalServerError() *UpdateMovingExpenseInternalServerError
NewUpdateMovingExpenseInternalServerError creates UpdateMovingExpenseInternalServerError with default headers values
func (*UpdateMovingExpenseInternalServerError) SetPayload ¶
func (o *UpdateMovingExpenseInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update moving expense internal server error response
func (*UpdateMovingExpenseInternalServerError) WithPayload ¶
func (o *UpdateMovingExpenseInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseInternalServerError
WithPayload adds the payload to the update moving expense internal server error response
func (*UpdateMovingExpenseInternalServerError) WriteResponse ¶
func (o *UpdateMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseNotFound ¶
type UpdateMovingExpenseNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMovingExpenseNotFound The requested resource wasn't found
swagger:response updateMovingExpenseNotFound
func NewUpdateMovingExpenseNotFound ¶
func NewUpdateMovingExpenseNotFound() *UpdateMovingExpenseNotFound
NewUpdateMovingExpenseNotFound creates UpdateMovingExpenseNotFound with default headers values
func (*UpdateMovingExpenseNotFound) SetPayload ¶
func (o *UpdateMovingExpenseNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update moving expense not found response
func (*UpdateMovingExpenseNotFound) WithPayload ¶
func (o *UpdateMovingExpenseNotFound) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseNotFound
WithPayload adds the payload to the update moving expense not found response
func (*UpdateMovingExpenseNotFound) WriteResponse ¶
func (o *UpdateMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseOK ¶
type UpdateMovingExpenseOK struct { /* In: Body */ Payload *ghcmessages.MovingExpense `json:"body,omitempty"` }
UpdateMovingExpenseOK returns an updated moving expense object
swagger:response updateMovingExpenseOK
func NewUpdateMovingExpenseOK ¶
func NewUpdateMovingExpenseOK() *UpdateMovingExpenseOK
NewUpdateMovingExpenseOK creates UpdateMovingExpenseOK with default headers values
func (*UpdateMovingExpenseOK) SetPayload ¶
func (o *UpdateMovingExpenseOK) SetPayload(payload *ghcmessages.MovingExpense)
SetPayload sets the payload to the update moving expense o k response
func (*UpdateMovingExpenseOK) WithPayload ¶
func (o *UpdateMovingExpenseOK) WithPayload(payload *ghcmessages.MovingExpense) *UpdateMovingExpenseOK
WithPayload adds the payload to the update moving expense o k response
func (*UpdateMovingExpenseOK) WriteResponse ¶
func (o *UpdateMovingExpenseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseParams ¶
type UpdateMovingExpenseParams 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 /*UUID of the moving expense Required: true In: path */ MovingExpenseID strfmt.UUID /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /* Required: true In: body */ UpdateMovingExpense *ghcmessages.UpdateMovingExpense }
UpdateMovingExpenseParams contains all the bound params for the update moving expense operation typically these are obtained from a http.Request
swagger:parameters updateMovingExpense
func NewUpdateMovingExpenseParams ¶
func NewUpdateMovingExpenseParams() UpdateMovingExpenseParams
NewUpdateMovingExpenseParams creates a new UpdateMovingExpenseParams object
There are no default values defined in the spec.
func (*UpdateMovingExpenseParams) BindRequest ¶
func (o *UpdateMovingExpenseParams) 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 NewUpdateMovingExpenseParams() beforehand.
type UpdateMovingExpensePreconditionFailed ¶
type UpdateMovingExpensePreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateMovingExpensePreconditionFailed Precondition failed
swagger:response updateMovingExpensePreconditionFailed
func NewUpdateMovingExpensePreconditionFailed ¶
func NewUpdateMovingExpensePreconditionFailed() *UpdateMovingExpensePreconditionFailed
NewUpdateMovingExpensePreconditionFailed creates UpdateMovingExpensePreconditionFailed with default headers values
func (*UpdateMovingExpensePreconditionFailed) SetPayload ¶
func (o *UpdateMovingExpensePreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update moving expense precondition failed response
func (*UpdateMovingExpensePreconditionFailed) WithPayload ¶
func (o *UpdateMovingExpensePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpensePreconditionFailed
WithPayload adds the payload to the update moving expense precondition failed response
func (*UpdateMovingExpensePreconditionFailed) WriteResponse ¶
func (o *UpdateMovingExpensePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseURL ¶
type UpdateMovingExpenseURL struct { MovingExpenseID strfmt.UUID PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
UpdateMovingExpenseURL generates an URL for the update moving expense operation
func (*UpdateMovingExpenseURL) Build ¶
func (o *UpdateMovingExpenseURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateMovingExpenseURL) BuildFull ¶
func (o *UpdateMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateMovingExpenseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateMovingExpenseURL) SetBasePath ¶
func (o *UpdateMovingExpenseURL) 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 (*UpdateMovingExpenseURL) String ¶
func (o *UpdateMovingExpenseURL) String() string
String returns the string representation of the path with query string
func (*UpdateMovingExpenseURL) StringFull ¶
func (o *UpdateMovingExpenseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateMovingExpenseURL) WithBasePath ¶
func (o *UpdateMovingExpenseURL) WithBasePath(bp string) *UpdateMovingExpenseURL
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 UpdateMovingExpenseUnauthorized ¶
type UpdateMovingExpenseUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdateMovingExpenseUnauthorized The request was denied
swagger:response updateMovingExpenseUnauthorized
func NewUpdateMovingExpenseUnauthorized ¶
func NewUpdateMovingExpenseUnauthorized() *UpdateMovingExpenseUnauthorized
NewUpdateMovingExpenseUnauthorized creates UpdateMovingExpenseUnauthorized with default headers values
func (*UpdateMovingExpenseUnauthorized) SetPayload ¶
func (o *UpdateMovingExpenseUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update moving expense unauthorized response
func (*UpdateMovingExpenseUnauthorized) WithPayload ¶
func (o *UpdateMovingExpenseUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateMovingExpenseUnauthorized
WithPayload adds the payload to the update moving expense unauthorized response
func (*UpdateMovingExpenseUnauthorized) WriteResponse ¶
func (o *UpdateMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseUnprocessableEntity ¶
type UpdateMovingExpenseUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateMovingExpenseUnprocessableEntity The payload was unprocessable.
swagger:response updateMovingExpenseUnprocessableEntity
func NewUpdateMovingExpenseUnprocessableEntity ¶
func NewUpdateMovingExpenseUnprocessableEntity() *UpdateMovingExpenseUnprocessableEntity
NewUpdateMovingExpenseUnprocessableEntity creates UpdateMovingExpenseUnprocessableEntity with default headers values
func (*UpdateMovingExpenseUnprocessableEntity) SetPayload ¶
func (o *UpdateMovingExpenseUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update moving expense unprocessable entity response
func (*UpdateMovingExpenseUnprocessableEntity) WithPayload ¶
func (o *UpdateMovingExpenseUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateMovingExpenseUnprocessableEntity
WithPayload adds the payload to the update moving expense unprocessable entity response
func (*UpdateMovingExpenseUnprocessableEntity) WriteResponse ¶
func (o *UpdateMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSIT ¶
type UpdatePPMSIT struct { Context *middleware.Context Handler UpdatePPMSITHandler }
UpdatePPMSIT swagger:route PATCH /ppm-shipments/{ppmShipmentId}/ppm-sit ppm updatePPMSIT
Updates a PPM shipment's SIT values ¶
Updates a PPM shipment's SIT values
func NewUpdatePPMSIT ¶
func NewUpdatePPMSIT(ctx *middleware.Context, handler UpdatePPMSITHandler) *UpdatePPMSIT
NewUpdatePPMSIT creates a new http.Handler for the update p p m s i t operation
func (*UpdatePPMSIT) ServeHTTP ¶
func (o *UpdatePPMSIT) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdatePPMSITBadRequest ¶
type UpdatePPMSITBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePPMSITBadRequest The request payload is invalid
swagger:response updatePPMSITBadRequest
func NewUpdatePPMSITBadRequest ¶
func NewUpdatePPMSITBadRequest() *UpdatePPMSITBadRequest
NewUpdatePPMSITBadRequest creates UpdatePPMSITBadRequest with default headers values
func (*UpdatePPMSITBadRequest) SetPayload ¶
func (o *UpdatePPMSITBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update p p m s i t bad request response
func (*UpdatePPMSITBadRequest) WithPayload ¶
func (o *UpdatePPMSITBadRequest) WithPayload(payload *ghcmessages.Error) *UpdatePPMSITBadRequest
WithPayload adds the payload to the update p p m s i t bad request response
func (*UpdatePPMSITBadRequest) WriteResponse ¶
func (o *UpdatePPMSITBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSITForbidden ¶
type UpdatePPMSITForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePPMSITForbidden The request was denied
swagger:response updatePPMSITForbidden
func NewUpdatePPMSITForbidden ¶
func NewUpdatePPMSITForbidden() *UpdatePPMSITForbidden
NewUpdatePPMSITForbidden creates UpdatePPMSITForbidden with default headers values
func (*UpdatePPMSITForbidden) SetPayload ¶
func (o *UpdatePPMSITForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update p p m s i t forbidden response
func (*UpdatePPMSITForbidden) WithPayload ¶
func (o *UpdatePPMSITForbidden) WithPayload(payload *ghcmessages.Error) *UpdatePPMSITForbidden
WithPayload adds the payload to the update p p m s i t forbidden response
func (*UpdatePPMSITForbidden) WriteResponse ¶
func (o *UpdatePPMSITForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSITHandler ¶
type UpdatePPMSITHandler interface {
Handle(UpdatePPMSITParams) middleware.Responder
}
UpdatePPMSITHandler interface for that can handle valid update p p m s i t params
type UpdatePPMSITHandlerFunc ¶
type UpdatePPMSITHandlerFunc func(UpdatePPMSITParams) middleware.Responder
UpdatePPMSITHandlerFunc turns a function with the right signature into a update p p m s i t handler
func (UpdatePPMSITHandlerFunc) Handle ¶
func (fn UpdatePPMSITHandlerFunc) Handle(params UpdatePPMSITParams) middleware.Responder
Handle executing the request and returning a response
type UpdatePPMSITInternalServerError ¶
type UpdatePPMSITInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePPMSITInternalServerError A server error occurred
swagger:response updatePPMSITInternalServerError
func NewUpdatePPMSITInternalServerError ¶
func NewUpdatePPMSITInternalServerError() *UpdatePPMSITInternalServerError
NewUpdatePPMSITInternalServerError creates UpdatePPMSITInternalServerError with default headers values
func (*UpdatePPMSITInternalServerError) SetPayload ¶
func (o *UpdatePPMSITInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update p p m s i t internal server error response
func (*UpdatePPMSITInternalServerError) WithPayload ¶
func (o *UpdatePPMSITInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdatePPMSITInternalServerError
WithPayload adds the payload to the update p p m s i t internal server error response
func (*UpdatePPMSITInternalServerError) WriteResponse ¶
func (o *UpdatePPMSITInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSITNotFound ¶
type UpdatePPMSITNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePPMSITNotFound The requested resource wasn't found
swagger:response updatePPMSITNotFound
func NewUpdatePPMSITNotFound ¶
func NewUpdatePPMSITNotFound() *UpdatePPMSITNotFound
NewUpdatePPMSITNotFound creates UpdatePPMSITNotFound with default headers values
func (*UpdatePPMSITNotFound) SetPayload ¶
func (o *UpdatePPMSITNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update p p m s i t not found response
func (*UpdatePPMSITNotFound) WithPayload ¶
func (o *UpdatePPMSITNotFound) WithPayload(payload *ghcmessages.Error) *UpdatePPMSITNotFound
WithPayload adds the payload to the update p p m s i t not found response
func (*UpdatePPMSITNotFound) WriteResponse ¶
func (o *UpdatePPMSITNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSITOK ¶
type UpdatePPMSITOK struct { /* In: Body */ Payload *ghcmessages.PPMShipment `json:"body,omitempty"` }
UpdatePPMSITOK Successfully finished PPM SIT update
swagger:response updatePPMSITOK
func NewUpdatePPMSITOK ¶
func NewUpdatePPMSITOK() *UpdatePPMSITOK
NewUpdatePPMSITOK creates UpdatePPMSITOK with default headers values
func (*UpdatePPMSITOK) SetPayload ¶
func (o *UpdatePPMSITOK) SetPayload(payload *ghcmessages.PPMShipment)
SetPayload sets the payload to the update p p m s i t o k response
func (*UpdatePPMSITOK) WithPayload ¶
func (o *UpdatePPMSITOK) WithPayload(payload *ghcmessages.PPMShipment) *UpdatePPMSITOK
WithPayload adds the payload to the update p p m s i t o k response
func (*UpdatePPMSITOK) WriteResponse ¶
func (o *UpdatePPMSITOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSITParams ¶
type UpdatePPMSITParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* In: body */ Body *ghcmessages.PPMShipmentSIT /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
UpdatePPMSITParams contains all the bound params for the update p p m s i t operation typically these are obtained from a http.Request
swagger:parameters updatePPMSIT
func NewUpdatePPMSITParams ¶
func NewUpdatePPMSITParams() UpdatePPMSITParams
NewUpdatePPMSITParams creates a new UpdatePPMSITParams object
There are no default values defined in the spec.
func (*UpdatePPMSITParams) BindRequest ¶
func (o *UpdatePPMSITParams) 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 NewUpdatePPMSITParams() beforehand.
type UpdatePPMSITPreconditionFailed ¶
type UpdatePPMSITPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdatePPMSITPreconditionFailed Precondition failed
swagger:response updatePPMSITPreconditionFailed
func NewUpdatePPMSITPreconditionFailed ¶
func NewUpdatePPMSITPreconditionFailed() *UpdatePPMSITPreconditionFailed
NewUpdatePPMSITPreconditionFailed creates UpdatePPMSITPreconditionFailed with default headers values
func (*UpdatePPMSITPreconditionFailed) SetPayload ¶
func (o *UpdatePPMSITPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update p p m s i t precondition failed response
func (*UpdatePPMSITPreconditionFailed) WithPayload ¶
func (o *UpdatePPMSITPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdatePPMSITPreconditionFailed
WithPayload adds the payload to the update p p m s i t precondition failed response
func (*UpdatePPMSITPreconditionFailed) WriteResponse ¶
func (o *UpdatePPMSITPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePPMSITURL ¶
UpdatePPMSITURL generates an URL for the update p p m s i t operation
func (*UpdatePPMSITURL) Build ¶
func (o *UpdatePPMSITURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdatePPMSITURL) BuildFull ¶
func (o *UpdatePPMSITURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdatePPMSITURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdatePPMSITURL) SetBasePath ¶
func (o *UpdatePPMSITURL) 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 (*UpdatePPMSITURL) String ¶
func (o *UpdatePPMSITURL) String() string
String returns the string representation of the path with query string
func (*UpdatePPMSITURL) StringFull ¶
func (o *UpdatePPMSITURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdatePPMSITURL) WithBasePath ¶
func (o *UpdatePPMSITURL) WithBasePath(bp string) *UpdatePPMSITURL
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 UpdatePPMSITUnprocessableEntity ¶
type UpdatePPMSITUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdatePPMSITUnprocessableEntity The payload was unprocessable.
swagger:response updatePPMSITUnprocessableEntity
func NewUpdatePPMSITUnprocessableEntity ¶
func NewUpdatePPMSITUnprocessableEntity() *UpdatePPMSITUnprocessableEntity
NewUpdatePPMSITUnprocessableEntity creates UpdatePPMSITUnprocessableEntity with default headers values
func (*UpdatePPMSITUnprocessableEntity) SetPayload ¶
func (o *UpdatePPMSITUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update p p m s i t unprocessable entity response
func (*UpdatePPMSITUnprocessableEntity) WithPayload ¶
func (o *UpdatePPMSITUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdatePPMSITUnprocessableEntity
WithPayload adds the payload to the update p p m s i t unprocessable entity response
func (*UpdatePPMSITUnprocessableEntity) WriteResponse ¶
func (o *UpdatePPMSITUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicket ¶
type UpdateProGearWeightTicket struct { Context *middleware.Context Handler UpdateProGearWeightTicketHandler }
UpdateProGearWeightTicket swagger:route PATCH /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets/{proGearWeightTicketId} ppm updateProGearWeightTicket
Updates a pro-gear weight ticket ¶
Updates a PPM shipment's pro-gear weight ticket with new information. Only some of the fields are editable because some have to be set by the customer, e.g. the description.
func NewUpdateProGearWeightTicket ¶
func NewUpdateProGearWeightTicket(ctx *middleware.Context, handler UpdateProGearWeightTicketHandler) *UpdateProGearWeightTicket
NewUpdateProGearWeightTicket creates a new http.Handler for the update pro gear weight ticket operation
func (*UpdateProGearWeightTicket) ServeHTTP ¶
func (o *UpdateProGearWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateProGearWeightTicketBadRequest ¶
type UpdateProGearWeightTicketBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateProGearWeightTicketBadRequest The request payload is invalid
swagger:response updateProGearWeightTicketBadRequest
func NewUpdateProGearWeightTicketBadRequest ¶
func NewUpdateProGearWeightTicketBadRequest() *UpdateProGearWeightTicketBadRequest
NewUpdateProGearWeightTicketBadRequest creates UpdateProGearWeightTicketBadRequest with default headers values
func (*UpdateProGearWeightTicketBadRequest) SetPayload ¶
func (o *UpdateProGearWeightTicketBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket bad request response
func (*UpdateProGearWeightTicketBadRequest) WithPayload ¶
func (o *UpdateProGearWeightTicketBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketBadRequest
WithPayload adds the payload to the update pro gear weight ticket bad request response
func (*UpdateProGearWeightTicketBadRequest) WriteResponse ¶
func (o *UpdateProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketForbidden ¶
type UpdateProGearWeightTicketForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateProGearWeightTicketForbidden The request was denied
swagger:response updateProGearWeightTicketForbidden
func NewUpdateProGearWeightTicketForbidden ¶
func NewUpdateProGearWeightTicketForbidden() *UpdateProGearWeightTicketForbidden
NewUpdateProGearWeightTicketForbidden creates UpdateProGearWeightTicketForbidden with default headers values
func (*UpdateProGearWeightTicketForbidden) SetPayload ¶
func (o *UpdateProGearWeightTicketForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket forbidden response
func (*UpdateProGearWeightTicketForbidden) WithPayload ¶
func (o *UpdateProGearWeightTicketForbidden) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketForbidden
WithPayload adds the payload to the update pro gear weight ticket forbidden response
func (*UpdateProGearWeightTicketForbidden) WriteResponse ¶
func (o *UpdateProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketHandler ¶
type UpdateProGearWeightTicketHandler interface {
Handle(UpdateProGearWeightTicketParams) middleware.Responder
}
UpdateProGearWeightTicketHandler interface for that can handle valid update pro gear weight ticket params
type UpdateProGearWeightTicketHandlerFunc ¶
type UpdateProGearWeightTicketHandlerFunc func(UpdateProGearWeightTicketParams) middleware.Responder
UpdateProGearWeightTicketHandlerFunc turns a function with the right signature into a update pro gear weight ticket handler
func (UpdateProGearWeightTicketHandlerFunc) Handle ¶
func (fn UpdateProGearWeightTicketHandlerFunc) Handle(params UpdateProGearWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type UpdateProGearWeightTicketInternalServerError ¶
type UpdateProGearWeightTicketInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateProGearWeightTicketInternalServerError A server error occurred
swagger:response updateProGearWeightTicketInternalServerError
func NewUpdateProGearWeightTicketInternalServerError ¶
func NewUpdateProGearWeightTicketInternalServerError() *UpdateProGearWeightTicketInternalServerError
NewUpdateProGearWeightTicketInternalServerError creates UpdateProGearWeightTicketInternalServerError with default headers values
func (*UpdateProGearWeightTicketInternalServerError) SetPayload ¶
func (o *UpdateProGearWeightTicketInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket internal server error response
func (*UpdateProGearWeightTicketInternalServerError) WithPayload ¶
func (o *UpdateProGearWeightTicketInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketInternalServerError
WithPayload adds the payload to the update pro gear weight ticket internal server error response
func (*UpdateProGearWeightTicketInternalServerError) WriteResponse ¶
func (o *UpdateProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketNotFound ¶
type UpdateProGearWeightTicketNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateProGearWeightTicketNotFound The requested resource wasn't found
swagger:response updateProGearWeightTicketNotFound
func NewUpdateProGearWeightTicketNotFound ¶
func NewUpdateProGearWeightTicketNotFound() *UpdateProGearWeightTicketNotFound
NewUpdateProGearWeightTicketNotFound creates UpdateProGearWeightTicketNotFound with default headers values
func (*UpdateProGearWeightTicketNotFound) SetPayload ¶
func (o *UpdateProGearWeightTicketNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket not found response
func (*UpdateProGearWeightTicketNotFound) WithPayload ¶
func (o *UpdateProGearWeightTicketNotFound) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketNotFound
WithPayload adds the payload to the update pro gear weight ticket not found response
func (*UpdateProGearWeightTicketNotFound) WriteResponse ¶
func (o *UpdateProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketOK ¶
type UpdateProGearWeightTicketOK struct { /* In: Body */ Payload *ghcmessages.ProGearWeightTicket `json:"body,omitempty"` }
UpdateProGearWeightTicketOK returns an updated pro-gear weight ticket object
swagger:response updateProGearWeightTicketOK
func NewUpdateProGearWeightTicketOK ¶
func NewUpdateProGearWeightTicketOK() *UpdateProGearWeightTicketOK
NewUpdateProGearWeightTicketOK creates UpdateProGearWeightTicketOK with default headers values
func (*UpdateProGearWeightTicketOK) SetPayload ¶
func (o *UpdateProGearWeightTicketOK) SetPayload(payload *ghcmessages.ProGearWeightTicket)
SetPayload sets the payload to the update pro gear weight ticket o k response
func (*UpdateProGearWeightTicketOK) WithPayload ¶
func (o *UpdateProGearWeightTicketOK) WithPayload(payload *ghcmessages.ProGearWeightTicket) *UpdateProGearWeightTicketOK
WithPayload adds the payload to the update pro gear weight ticket o k response
func (*UpdateProGearWeightTicketOK) WriteResponse ¶
func (o *UpdateProGearWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketParams ¶
type UpdateProGearWeightTicketParams 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 /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /*UUID of the pro-gear weight ticket Required: true In: path */ ProGearWeightTicketID strfmt.UUID /* Required: true In: body */ UpdateProGearWeightTicket *ghcmessages.UpdateProGearWeightTicket }
UpdateProGearWeightTicketParams contains all the bound params for the update pro gear weight ticket operation typically these are obtained from a http.Request
swagger:parameters updateProGearWeightTicket
func NewUpdateProGearWeightTicketParams ¶
func NewUpdateProGearWeightTicketParams() UpdateProGearWeightTicketParams
NewUpdateProGearWeightTicketParams creates a new UpdateProGearWeightTicketParams object
There are no default values defined in the spec.
func (*UpdateProGearWeightTicketParams) BindRequest ¶
func (o *UpdateProGearWeightTicketParams) 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 NewUpdateProGearWeightTicketParams() beforehand.
type UpdateProGearWeightTicketPreconditionFailed ¶
type UpdateProGearWeightTicketPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateProGearWeightTicketPreconditionFailed Precondition failed
swagger:response updateProGearWeightTicketPreconditionFailed
func NewUpdateProGearWeightTicketPreconditionFailed ¶
func NewUpdateProGearWeightTicketPreconditionFailed() *UpdateProGearWeightTicketPreconditionFailed
NewUpdateProGearWeightTicketPreconditionFailed creates UpdateProGearWeightTicketPreconditionFailed with default headers values
func (*UpdateProGearWeightTicketPreconditionFailed) SetPayload ¶
func (o *UpdateProGearWeightTicketPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket precondition failed response
func (*UpdateProGearWeightTicketPreconditionFailed) WithPayload ¶
func (o *UpdateProGearWeightTicketPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketPreconditionFailed
WithPayload adds the payload to the update pro gear weight ticket precondition failed response
func (*UpdateProGearWeightTicketPreconditionFailed) WriteResponse ¶
func (o *UpdateProGearWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketURL ¶
type UpdateProGearWeightTicketURL struct { PpmShipmentID strfmt.UUID ProGearWeightTicketID strfmt.UUID // contains filtered or unexported fields }
UpdateProGearWeightTicketURL generates an URL for the update pro gear weight ticket operation
func (*UpdateProGearWeightTicketURL) Build ¶
func (o *UpdateProGearWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateProGearWeightTicketURL) BuildFull ¶
func (o *UpdateProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateProGearWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateProGearWeightTicketURL) SetBasePath ¶
func (o *UpdateProGearWeightTicketURL) 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 (*UpdateProGearWeightTicketURL) String ¶
func (o *UpdateProGearWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*UpdateProGearWeightTicketURL) StringFull ¶
func (o *UpdateProGearWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateProGearWeightTicketURL) WithBasePath ¶
func (o *UpdateProGearWeightTicketURL) WithBasePath(bp string) *UpdateProGearWeightTicketURL
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 UpdateProGearWeightTicketUnauthorized ¶
type UpdateProGearWeightTicketUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdateProGearWeightTicketUnauthorized The request was denied
swagger:response updateProGearWeightTicketUnauthorized
func NewUpdateProGearWeightTicketUnauthorized ¶
func NewUpdateProGearWeightTicketUnauthorized() *UpdateProGearWeightTicketUnauthorized
NewUpdateProGearWeightTicketUnauthorized creates UpdateProGearWeightTicketUnauthorized with default headers values
func (*UpdateProGearWeightTicketUnauthorized) SetPayload ¶
func (o *UpdateProGearWeightTicketUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket unauthorized response
func (*UpdateProGearWeightTicketUnauthorized) WithPayload ¶
func (o *UpdateProGearWeightTicketUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateProGearWeightTicketUnauthorized
WithPayload adds the payload to the update pro gear weight ticket unauthorized response
func (*UpdateProGearWeightTicketUnauthorized) WriteResponse ¶
func (o *UpdateProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketUnprocessableEntity ¶
type UpdateProGearWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateProGearWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response updateProGearWeightTicketUnprocessableEntity
func NewUpdateProGearWeightTicketUnprocessableEntity ¶
func NewUpdateProGearWeightTicketUnprocessableEntity() *UpdateProGearWeightTicketUnprocessableEntity
NewUpdateProGearWeightTicketUnprocessableEntity creates UpdateProGearWeightTicketUnprocessableEntity with default headers values
func (*UpdateProGearWeightTicketUnprocessableEntity) SetPayload ¶
func (o *UpdateProGearWeightTicketUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update pro gear weight ticket unprocessable entity response
func (*UpdateProGearWeightTicketUnprocessableEntity) WithPayload ¶
func (o *UpdateProGearWeightTicketUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateProGearWeightTicketUnprocessableEntity
WithPayload adds the payload to the update pro gear weight ticket unprocessable entity response
func (*UpdateProGearWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *UpdateProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicket ¶
type UpdateWeightTicket struct { Context *middleware.Context Handler UpdateWeightTicketHandler }
UpdateWeightTicket swagger:route PATCH /ppm-shipments/{ppmShipmentId}/weight-ticket/{weightTicketId} ppm updateWeightTicket
Updates a weight ticket document ¶
Updates a PPM shipment's weight ticket document with new information. Only some of the weight ticket document's fields are editable because some have to be set by the customer, e.g. vehicle description.
func NewUpdateWeightTicket ¶
func NewUpdateWeightTicket(ctx *middleware.Context, handler UpdateWeightTicketHandler) *UpdateWeightTicket
NewUpdateWeightTicket creates a new http.Handler for the update weight ticket operation
func (*UpdateWeightTicket) ServeHTTP ¶
func (o *UpdateWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateWeightTicketBadRequest ¶
type UpdateWeightTicketBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateWeightTicketBadRequest The request payload is invalid
swagger:response updateWeightTicketBadRequest
func NewUpdateWeightTicketBadRequest ¶
func NewUpdateWeightTicketBadRequest() *UpdateWeightTicketBadRequest
NewUpdateWeightTicketBadRequest creates UpdateWeightTicketBadRequest with default headers values
func (*UpdateWeightTicketBadRequest) SetPayload ¶
func (o *UpdateWeightTicketBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update weight ticket bad request response
func (*UpdateWeightTicketBadRequest) WithPayload ¶
func (o *UpdateWeightTicketBadRequest) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketBadRequest
WithPayload adds the payload to the update weight ticket bad request response
func (*UpdateWeightTicketBadRequest) WriteResponse ¶
func (o *UpdateWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketForbidden ¶
type UpdateWeightTicketForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateWeightTicketForbidden The request was denied
swagger:response updateWeightTicketForbidden
func NewUpdateWeightTicketForbidden ¶
func NewUpdateWeightTicketForbidden() *UpdateWeightTicketForbidden
NewUpdateWeightTicketForbidden creates UpdateWeightTicketForbidden with default headers values
func (*UpdateWeightTicketForbidden) SetPayload ¶
func (o *UpdateWeightTicketForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update weight ticket forbidden response
func (*UpdateWeightTicketForbidden) WithPayload ¶
func (o *UpdateWeightTicketForbidden) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketForbidden
WithPayload adds the payload to the update weight ticket forbidden response
func (*UpdateWeightTicketForbidden) WriteResponse ¶
func (o *UpdateWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketHandler ¶
type UpdateWeightTicketHandler interface {
Handle(UpdateWeightTicketParams) middleware.Responder
}
UpdateWeightTicketHandler interface for that can handle valid update weight ticket params
type UpdateWeightTicketHandlerFunc ¶
type UpdateWeightTicketHandlerFunc func(UpdateWeightTicketParams) middleware.Responder
UpdateWeightTicketHandlerFunc turns a function with the right signature into a update weight ticket handler
func (UpdateWeightTicketHandlerFunc) Handle ¶
func (fn UpdateWeightTicketHandlerFunc) Handle(params UpdateWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type UpdateWeightTicketInternalServerError ¶
type UpdateWeightTicketInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateWeightTicketInternalServerError A server error occurred
swagger:response updateWeightTicketInternalServerError
func NewUpdateWeightTicketInternalServerError ¶
func NewUpdateWeightTicketInternalServerError() *UpdateWeightTicketInternalServerError
NewUpdateWeightTicketInternalServerError creates UpdateWeightTicketInternalServerError with default headers values
func (*UpdateWeightTicketInternalServerError) SetPayload ¶
func (o *UpdateWeightTicketInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update weight ticket internal server error response
func (*UpdateWeightTicketInternalServerError) WithPayload ¶
func (o *UpdateWeightTicketInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketInternalServerError
WithPayload adds the payload to the update weight ticket internal server error response
func (*UpdateWeightTicketInternalServerError) WriteResponse ¶
func (o *UpdateWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketNotFound ¶
type UpdateWeightTicketNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateWeightTicketNotFound The requested resource wasn't found
swagger:response updateWeightTicketNotFound
func NewUpdateWeightTicketNotFound ¶
func NewUpdateWeightTicketNotFound() *UpdateWeightTicketNotFound
NewUpdateWeightTicketNotFound creates UpdateWeightTicketNotFound with default headers values
func (*UpdateWeightTicketNotFound) SetPayload ¶
func (o *UpdateWeightTicketNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update weight ticket not found response
func (*UpdateWeightTicketNotFound) WithPayload ¶
func (o *UpdateWeightTicketNotFound) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketNotFound
WithPayload adds the payload to the update weight ticket not found response
func (*UpdateWeightTicketNotFound) WriteResponse ¶
func (o *UpdateWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketOK ¶
type UpdateWeightTicketOK struct { /* In: Body */ Payload *ghcmessages.WeightTicket `json:"body,omitempty"` }
UpdateWeightTicketOK returns an updated weight ticket object
swagger:response updateWeightTicketOK
func NewUpdateWeightTicketOK ¶
func NewUpdateWeightTicketOK() *UpdateWeightTicketOK
NewUpdateWeightTicketOK creates UpdateWeightTicketOK with default headers values
func (*UpdateWeightTicketOK) SetPayload ¶
func (o *UpdateWeightTicketOK) SetPayload(payload *ghcmessages.WeightTicket)
SetPayload sets the payload to the update weight ticket o k response
func (*UpdateWeightTicketOK) WithPayload ¶
func (o *UpdateWeightTicketOK) WithPayload(payload *ghcmessages.WeightTicket) *UpdateWeightTicketOK
WithPayload adds the payload to the update weight ticket o k response
func (*UpdateWeightTicketOK) WriteResponse ¶
func (o *UpdateWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketParams ¶
type UpdateWeightTicketParams 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 /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /* Required: true In: body */ UpdateWeightTicketPayload *ghcmessages.UpdateWeightTicket /*UUID of the weight ticket Required: true In: path */ WeightTicketID strfmt.UUID }
UpdateWeightTicketParams contains all the bound params for the update weight ticket operation typically these are obtained from a http.Request
swagger:parameters updateWeightTicket
func NewUpdateWeightTicketParams ¶
func NewUpdateWeightTicketParams() UpdateWeightTicketParams
NewUpdateWeightTicketParams creates a new UpdateWeightTicketParams object
There are no default values defined in the spec.
func (*UpdateWeightTicketParams) BindRequest ¶
func (o *UpdateWeightTicketParams) 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 NewUpdateWeightTicketParams() beforehand.
type UpdateWeightTicketPreconditionFailed ¶
type UpdateWeightTicketPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateWeightTicketPreconditionFailed Precondition failed
swagger:response updateWeightTicketPreconditionFailed
func NewUpdateWeightTicketPreconditionFailed ¶
func NewUpdateWeightTicketPreconditionFailed() *UpdateWeightTicketPreconditionFailed
NewUpdateWeightTicketPreconditionFailed creates UpdateWeightTicketPreconditionFailed with default headers values
func (*UpdateWeightTicketPreconditionFailed) SetPayload ¶
func (o *UpdateWeightTicketPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update weight ticket precondition failed response
func (*UpdateWeightTicketPreconditionFailed) WithPayload ¶
func (o *UpdateWeightTicketPreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketPreconditionFailed
WithPayload adds the payload to the update weight ticket precondition failed response
func (*UpdateWeightTicketPreconditionFailed) WriteResponse ¶
func (o *UpdateWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketURL ¶
type UpdateWeightTicketURL struct { PpmShipmentID strfmt.UUID WeightTicketID strfmt.UUID // contains filtered or unexported fields }
UpdateWeightTicketURL generates an URL for the update weight ticket operation
func (*UpdateWeightTicketURL) Build ¶
func (o *UpdateWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateWeightTicketURL) BuildFull ¶
func (o *UpdateWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateWeightTicketURL) SetBasePath ¶
func (o *UpdateWeightTicketURL) 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 (*UpdateWeightTicketURL) String ¶
func (o *UpdateWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*UpdateWeightTicketURL) StringFull ¶
func (o *UpdateWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateWeightTicketURL) WithBasePath ¶
func (o *UpdateWeightTicketURL) WithBasePath(bp string) *UpdateWeightTicketURL
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 UpdateWeightTicketUnauthorized ¶
type UpdateWeightTicketUnauthorized struct { ghcmessages.Error `json:"body,omitempty"` }Payload *
UpdateWeightTicketUnauthorized The request was denied
swagger:response updateWeightTicketUnauthorized
func NewUpdateWeightTicketUnauthorized ¶
func NewUpdateWeightTicketUnauthorized() *UpdateWeightTicketUnauthorized
NewUpdateWeightTicketUnauthorized creates UpdateWeightTicketUnauthorized with default headers values
func (*UpdateWeightTicketUnauthorized) SetPayload ¶
func (o *UpdateWeightTicketUnauthorized) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update weight ticket unauthorized response
func (*UpdateWeightTicketUnauthorized) WithPayload ¶
func (o *UpdateWeightTicketUnauthorized) WithPayload(payload *ghcmessages.Error) *UpdateWeightTicketUnauthorized
WithPayload adds the payload to the update weight ticket unauthorized response
func (*UpdateWeightTicketUnauthorized) WriteResponse ¶
func (o *UpdateWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketUnprocessableEntity ¶
type UpdateWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response updateWeightTicketUnprocessableEntity
func NewUpdateWeightTicketUnprocessableEntity ¶
func NewUpdateWeightTicketUnprocessableEntity() *UpdateWeightTicketUnprocessableEntity
NewUpdateWeightTicketUnprocessableEntity creates UpdateWeightTicketUnprocessableEntity with default headers values
func (*UpdateWeightTicketUnprocessableEntity) SetPayload ¶
func (o *UpdateWeightTicketUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update weight ticket unprocessable entity response
func (*UpdateWeightTicketUnprocessableEntity) WithPayload ¶
func (o *UpdateWeightTicketUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateWeightTicketUnprocessableEntity
WithPayload adds the payload to the update weight ticket unprocessable entity response
func (*UpdateWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *UpdateWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- finish_document_review.go
- finish_document_review_parameters.go
- finish_document_review_responses.go
- finish_document_review_urlbuilder.go
- get_p_p_m_actual_weight.go
- get_p_p_m_actual_weight_parameters.go
- get_p_p_m_actual_weight_responses.go
- get_p_p_m_actual_weight_urlbuilder.go
- get_p_p_m_closeout.go
- get_p_p_m_closeout_parameters.go
- get_p_p_m_closeout_responses.go
- get_p_p_m_closeout_urlbuilder.go
- get_p_p_m_documents.go
- get_p_p_m_documents_parameters.go
- get_p_p_m_documents_responses.go
- get_p_p_m_documents_urlbuilder.go
- get_p_p_m_s_i_t_estimated_cost.go
- get_p_p_m_s_i_t_estimated_cost_parameters.go
- get_p_p_m_s_i_t_estimated_cost_responses.go
- get_p_p_m_s_i_t_estimated_cost_urlbuilder.go
- show_a_o_a_packet.go
- show_a_o_a_packet_parameters.go
- show_a_o_a_packet_responses.go
- show_a_o_a_packet_urlbuilder.go
- show_payment_packet.go
- show_payment_packet_parameters.go
- show_payment_packet_responses.go
- show_payment_packet_urlbuilder.go
- update_moving_expense.go
- update_moving_expense_parameters.go
- update_moving_expense_responses.go
- update_moving_expense_urlbuilder.go
- update_p_p_m_s_i_t.go
- update_p_p_m_s_i_t_parameters.go
- update_p_p_m_s_i_t_responses.go
- update_p_p_m_s_i_t_urlbuilder.go
- update_pro_gear_weight_ticket.go
- update_pro_gear_weight_ticket_parameters.go
- update_pro_gear_weight_ticket_responses.go
- update_pro_gear_weight_ticket_urlbuilder.go
- update_weight_ticket.go
- update_weight_ticket_parameters.go
- update_weight_ticket_responses.go
- update_weight_ticket_urlbuilder.go