Documentation ¶
Index ¶
- Constants
- type ApproveSITExtension
- type ApproveSITExtensionConflict
- type ApproveSITExtensionForbidden
- type ApproveSITExtensionHandler
- type ApproveSITExtensionHandlerFunc
- type ApproveSITExtensionInternalServerError
- func (o *ApproveSITExtensionInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveSITExtensionInternalServerError) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionInternalServerError
- func (o *ApproveSITExtensionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveSITExtensionNotFound
- type ApproveSITExtensionOK
- type ApproveSITExtensionParams
- type ApproveSITExtensionPreconditionFailed
- func (o *ApproveSITExtensionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveSITExtensionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionPreconditionFailed
- func (o *ApproveSITExtensionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveSITExtensionURL
- func (o *ApproveSITExtensionURL) Build() (*url.URL, error)
- func (o *ApproveSITExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApproveSITExtensionURL) Must(u *url.URL, err error) *url.URL
- func (o *ApproveSITExtensionURL) SetBasePath(bp string)
- func (o *ApproveSITExtensionURL) String() string
- func (o *ApproveSITExtensionURL) StringFull(scheme, host string) string
- func (o *ApproveSITExtensionURL) WithBasePath(bp string) *ApproveSITExtensionURL
- type ApproveSITExtensionUnprocessableEntity
- func (o *ApproveSITExtensionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *ApproveSITExtensionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ApproveSITExtensionUnprocessableEntity
- func (o *ApproveSITExtensionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipment
- type ApproveShipmentConflict
- type ApproveShipmentDiversion
- type ApproveShipmentDiversionConflict
- func (o *ApproveShipmentDiversionConflict) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentDiversionConflict) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionConflict
- func (o *ApproveShipmentDiversionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentDiversionForbidden
- func (o *ApproveShipmentDiversionForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentDiversionForbidden) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionForbidden
- func (o *ApproveShipmentDiversionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentDiversionHandler
- type ApproveShipmentDiversionHandlerFunc
- type ApproveShipmentDiversionInternalServerError
- func (o *ApproveShipmentDiversionInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentDiversionInternalServerError) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionInternalServerError
- func (o *ApproveShipmentDiversionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentDiversionNotFound
- func (o *ApproveShipmentDiversionNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentDiversionNotFound) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionNotFound
- func (o *ApproveShipmentDiversionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentDiversionOK
- type ApproveShipmentDiversionParams
- type ApproveShipmentDiversionPreconditionFailed
- func (o *ApproveShipmentDiversionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentDiversionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionPreconditionFailed
- func (o *ApproveShipmentDiversionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentDiversionURL
- func (o *ApproveShipmentDiversionURL) Build() (*url.URL, error)
- func (o *ApproveShipmentDiversionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApproveShipmentDiversionURL) Must(u *url.URL, err error) *url.URL
- func (o *ApproveShipmentDiversionURL) SetBasePath(bp string)
- func (o *ApproveShipmentDiversionURL) String() string
- func (o *ApproveShipmentDiversionURL) StringFull(scheme, host string) string
- func (o *ApproveShipmentDiversionURL) WithBasePath(bp string) *ApproveShipmentDiversionURL
- type ApproveShipmentDiversionUnprocessableEntity
- func (o *ApproveShipmentDiversionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *ApproveShipmentDiversionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ApproveShipmentDiversionUnprocessableEntity
- func (o *ApproveShipmentDiversionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentForbidden
- type ApproveShipmentHandler
- type ApproveShipmentHandlerFunc
- type ApproveShipmentInternalServerError
- func (o *ApproveShipmentInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentInternalServerError) WithPayload(payload *ghcmessages.Error) *ApproveShipmentInternalServerError
- func (o *ApproveShipmentInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentNotFound
- type ApproveShipmentOK
- type ApproveShipmentParams
- type ApproveShipmentPreconditionFailed
- func (o *ApproveShipmentPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *ApproveShipmentPreconditionFailed) WithPayload(payload *ghcmessages.Error) *ApproveShipmentPreconditionFailed
- func (o *ApproveShipmentPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApproveShipmentURL
- func (o *ApproveShipmentURL) Build() (*url.URL, error)
- func (o *ApproveShipmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApproveShipmentURL) Must(u *url.URL, err error) *url.URL
- func (o *ApproveShipmentURL) SetBasePath(bp string)
- func (o *ApproveShipmentURL) String() string
- func (o *ApproveShipmentURL) StringFull(scheme, host string) string
- func (o *ApproveShipmentURL) WithBasePath(bp string) *ApproveShipmentURL
- type ApproveShipmentUnprocessableEntity
- func (o *ApproveShipmentUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *ApproveShipmentUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ApproveShipmentUnprocessableEntity
- func (o *ApproveShipmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApprovedSITDurationUpdate
- type CreateApprovedSITDurationUpdateBadRequest
- func (o *CreateApprovedSITDurationUpdateBadRequest) SetPayload(payload *ghcmessages.Error)
- func (o *CreateApprovedSITDurationUpdateBadRequest) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateBadRequest
- func (o *CreateApprovedSITDurationUpdateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApprovedSITDurationUpdateForbidden
- func (o *CreateApprovedSITDurationUpdateForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *CreateApprovedSITDurationUpdateForbidden) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateForbidden
- func (o *CreateApprovedSITDurationUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApprovedSITDurationUpdateHandler
- type CreateApprovedSITDurationUpdateHandlerFunc
- type CreateApprovedSITDurationUpdateInternalServerError
- func (o *CreateApprovedSITDurationUpdateInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *CreateApprovedSITDurationUpdateInternalServerError) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateInternalServerError
- func (o *CreateApprovedSITDurationUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApprovedSITDurationUpdateNotFound
- func (o *CreateApprovedSITDurationUpdateNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *CreateApprovedSITDurationUpdateNotFound) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateNotFound
- func (o *CreateApprovedSITDurationUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApprovedSITDurationUpdateOK
- func (o *CreateApprovedSITDurationUpdateOK) SetPayload(payload *ghcmessages.MTOShipment)
- func (o *CreateApprovedSITDurationUpdateOK) WithPayload(payload *ghcmessages.MTOShipment) *CreateApprovedSITDurationUpdateOK
- func (o *CreateApprovedSITDurationUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateApprovedSITDurationUpdateParams
- type CreateApprovedSITDurationUpdateURL
- func (o *CreateApprovedSITDurationUpdateURL) Build() (*url.URL, error)
- func (o *CreateApprovedSITDurationUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateApprovedSITDurationUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateApprovedSITDurationUpdateURL) SetBasePath(bp string)
- func (o *CreateApprovedSITDurationUpdateURL) String() string
- func (o *CreateApprovedSITDurationUpdateURL) StringFull(scheme, host string) string
- func (o *CreateApprovedSITDurationUpdateURL) WithBasePath(bp string) *CreateApprovedSITDurationUpdateURL
- type CreateApprovedSITDurationUpdateUnprocessableEntity
- func (o *CreateApprovedSITDurationUpdateUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *CreateApprovedSITDurationUpdateUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CreateApprovedSITDurationUpdateUnprocessableEntity
- func (o *CreateApprovedSITDurationUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteShipment
- type DeleteShipmentBadRequest
- type DeleteShipmentConflict
- type DeleteShipmentForbidden
- type DeleteShipmentHandler
- type DeleteShipmentHandlerFunc
- type DeleteShipmentInternalServerError
- func (o *DeleteShipmentInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *DeleteShipmentInternalServerError) WithPayload(payload *ghcmessages.Error) *DeleteShipmentInternalServerError
- func (o *DeleteShipmentInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteShipmentNoContent
- type DeleteShipmentNotFound
- type DeleteShipmentParams
- type DeleteShipmentURL
- func (o *DeleteShipmentURL) Build() (*url.URL, error)
- func (o *DeleteShipmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteShipmentURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteShipmentURL) SetBasePath(bp string)
- func (o *DeleteShipmentURL) String() string
- func (o *DeleteShipmentURL) StringFull(scheme, host string) string
- func (o *DeleteShipmentURL) WithBasePath(bp string) *DeleteShipmentURL
- type DeleteShipmentUnprocessableEntity
- func (o *DeleteShipmentUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *DeleteShipmentUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *DeleteShipmentUnprocessableEntity
- func (o *DeleteShipmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DenySITExtension
- type DenySITExtensionConflict
- type DenySITExtensionForbidden
- type DenySITExtensionHandler
- type DenySITExtensionHandlerFunc
- type DenySITExtensionInternalServerError
- func (o *DenySITExtensionInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *DenySITExtensionInternalServerError) WithPayload(payload *ghcmessages.Error) *DenySITExtensionInternalServerError
- func (o *DenySITExtensionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DenySITExtensionNotFound
- type DenySITExtensionOK
- type DenySITExtensionParams
- type DenySITExtensionPreconditionFailed
- func (o *DenySITExtensionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *DenySITExtensionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *DenySITExtensionPreconditionFailed
- func (o *DenySITExtensionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DenySITExtensionURL
- func (o *DenySITExtensionURL) Build() (*url.URL, error)
- func (o *DenySITExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DenySITExtensionURL) Must(u *url.URL, err error) *url.URL
- func (o *DenySITExtensionURL) SetBasePath(bp string)
- func (o *DenySITExtensionURL) String() string
- func (o *DenySITExtensionURL) StringFull(scheme, host string) string
- func (o *DenySITExtensionURL) WithBasePath(bp string) *DenySITExtensionURL
- type DenySITExtensionUnprocessableEntity
- func (o *DenySITExtensionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *DenySITExtensionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *DenySITExtensionUnprocessableEntity
- func (o *DenySITExtensionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RejectShipment
- type RejectShipmentConflict
- type RejectShipmentForbidden
- type RejectShipmentHandler
- type RejectShipmentHandlerFunc
- type RejectShipmentInternalServerError
- func (o *RejectShipmentInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *RejectShipmentInternalServerError) WithPayload(payload *ghcmessages.Error) *RejectShipmentInternalServerError
- func (o *RejectShipmentInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RejectShipmentNotFound
- type RejectShipmentOK
- type RejectShipmentParams
- type RejectShipmentPreconditionFailed
- func (o *RejectShipmentPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *RejectShipmentPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RejectShipmentPreconditionFailed
- func (o *RejectShipmentPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RejectShipmentURL
- func (o *RejectShipmentURL) Build() (*url.URL, error)
- func (o *RejectShipmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RejectShipmentURL) Must(u *url.URL, err error) *url.URL
- func (o *RejectShipmentURL) SetBasePath(bp string)
- func (o *RejectShipmentURL) String() string
- func (o *RejectShipmentURL) StringFull(scheme, host string) string
- func (o *RejectShipmentURL) WithBasePath(bp string) *RejectShipmentURL
- type RejectShipmentUnprocessableEntity
- func (o *RejectShipmentUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *RejectShipmentUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RejectShipmentUnprocessableEntity
- func (o *RejectShipmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellation
- type RequestShipmentCancellationConflict
- func (o *RequestShipmentCancellationConflict) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentCancellationConflict) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationConflict
- func (o *RequestShipmentCancellationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellationForbidden
- func (o *RequestShipmentCancellationForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentCancellationForbidden) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationForbidden
- func (o *RequestShipmentCancellationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellationHandler
- type RequestShipmentCancellationHandlerFunc
- type RequestShipmentCancellationInternalServerError
- func (o *RequestShipmentCancellationInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentCancellationInternalServerError) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationInternalServerError
- func (o *RequestShipmentCancellationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellationNotFound
- func (o *RequestShipmentCancellationNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentCancellationNotFound) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationNotFound
- func (o *RequestShipmentCancellationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellationOK
- func (o *RequestShipmentCancellationOK) SetPayload(payload *ghcmessages.MTOShipment)
- func (o *RequestShipmentCancellationOK) WithPayload(payload *ghcmessages.MTOShipment) *RequestShipmentCancellationOK
- func (o *RequestShipmentCancellationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellationParams
- type RequestShipmentCancellationPreconditionFailed
- func (o *RequestShipmentCancellationPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentCancellationPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationPreconditionFailed
- func (o *RequestShipmentCancellationPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentCancellationURL
- func (o *RequestShipmentCancellationURL) Build() (*url.URL, error)
- func (o *RequestShipmentCancellationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RequestShipmentCancellationURL) Must(u *url.URL, err error) *url.URL
- func (o *RequestShipmentCancellationURL) SetBasePath(bp string)
- func (o *RequestShipmentCancellationURL) String() string
- func (o *RequestShipmentCancellationURL) StringFull(scheme, host string) string
- func (o *RequestShipmentCancellationURL) WithBasePath(bp string) *RequestShipmentCancellationURL
- type RequestShipmentCancellationUnprocessableEntity
- func (o *RequestShipmentCancellationUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *RequestShipmentCancellationUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RequestShipmentCancellationUnprocessableEntity
- func (o *RequestShipmentCancellationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentDiversion
- type RequestShipmentDiversionConflict
- func (o *RequestShipmentDiversionConflict) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentDiversionConflict) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionConflict
- func (o *RequestShipmentDiversionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentDiversionForbidden
- func (o *RequestShipmentDiversionForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentDiversionForbidden) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionForbidden
- func (o *RequestShipmentDiversionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentDiversionHandler
- type RequestShipmentDiversionHandlerFunc
- type RequestShipmentDiversionInternalServerError
- func (o *RequestShipmentDiversionInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentDiversionInternalServerError) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionInternalServerError
- func (o *RequestShipmentDiversionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentDiversionNotFound
- func (o *RequestShipmentDiversionNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentDiversionNotFound) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionNotFound
- func (o *RequestShipmentDiversionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentDiversionOK
- type RequestShipmentDiversionParams
- type RequestShipmentDiversionPreconditionFailed
- func (o *RequestShipmentDiversionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentDiversionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionPreconditionFailed
- func (o *RequestShipmentDiversionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentDiversionURL
- func (o *RequestShipmentDiversionURL) Build() (*url.URL, error)
- func (o *RequestShipmentDiversionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RequestShipmentDiversionURL) Must(u *url.URL, err error) *url.URL
- func (o *RequestShipmentDiversionURL) SetBasePath(bp string)
- func (o *RequestShipmentDiversionURL) String() string
- func (o *RequestShipmentDiversionURL) StringFull(scheme, host string) string
- func (o *RequestShipmentDiversionURL) WithBasePath(bp string) *RequestShipmentDiversionURL
- type RequestShipmentDiversionUnprocessableEntity
- func (o *RequestShipmentDiversionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *RequestShipmentDiversionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RequestShipmentDiversionUnprocessableEntity
- func (o *RequestShipmentDiversionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentReweigh
- type RequestShipmentReweighConflict
- type RequestShipmentReweighForbidden
- func (o *RequestShipmentReweighForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentReweighForbidden) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighForbidden
- func (o *RequestShipmentReweighForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentReweighHandler
- type RequestShipmentReweighHandlerFunc
- type RequestShipmentReweighInternalServerError
- func (o *RequestShipmentReweighInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentReweighInternalServerError) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighInternalServerError
- func (o *RequestShipmentReweighInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentReweighNotFound
- type RequestShipmentReweighOK
- type RequestShipmentReweighParams
- type RequestShipmentReweighPreconditionFailed
- func (o *RequestShipmentReweighPreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *RequestShipmentReweighPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighPreconditionFailed
- func (o *RequestShipmentReweighPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RequestShipmentReweighURL
- func (o *RequestShipmentReweighURL) Build() (*url.URL, error)
- func (o *RequestShipmentReweighURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RequestShipmentReweighURL) Must(u *url.URL, err error) *url.URL
- func (o *RequestShipmentReweighURL) SetBasePath(bp string)
- func (o *RequestShipmentReweighURL) String() string
- func (o *RequestShipmentReweighURL) StringFull(scheme, host string) string
- func (o *RequestShipmentReweighURL) WithBasePath(bp string) *RequestShipmentReweighURL
- type RequestShipmentReweighUnprocessableEntity
- func (o *RequestShipmentReweighUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *RequestShipmentReweighUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RequestShipmentReweighUnprocessableEntity
- func (o *RequestShipmentReweighUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdate
- type ReviewShipmentAddressUpdateBody
- func (o *ReviewShipmentAddressUpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ReviewShipmentAddressUpdateBody) MarshalBinary() ([]byte, error)
- func (o *ReviewShipmentAddressUpdateBody) UnmarshalBinary(b []byte) error
- func (o *ReviewShipmentAddressUpdateBody) Validate(formats strfmt.Registry) error
- type ReviewShipmentAddressUpdateConflict
- func (o *ReviewShipmentAddressUpdateConflict) SetPayload(payload *ghcmessages.Error)
- func (o *ReviewShipmentAddressUpdateConflict) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateConflict
- func (o *ReviewShipmentAddressUpdateConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdateForbidden
- func (o *ReviewShipmentAddressUpdateForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *ReviewShipmentAddressUpdateForbidden) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateForbidden
- func (o *ReviewShipmentAddressUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdateHandler
- type ReviewShipmentAddressUpdateHandlerFunc
- type ReviewShipmentAddressUpdateInternalServerError
- func (o *ReviewShipmentAddressUpdateInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *ReviewShipmentAddressUpdateInternalServerError) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateInternalServerError
- func (o *ReviewShipmentAddressUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdateNotFound
- func (o *ReviewShipmentAddressUpdateNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *ReviewShipmentAddressUpdateNotFound) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateNotFound
- func (o *ReviewShipmentAddressUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdateOK
- func (o *ReviewShipmentAddressUpdateOK) SetPayload(payload *ghcmessages.ShipmentAddressUpdate)
- func (o *ReviewShipmentAddressUpdateOK) WithPayload(payload *ghcmessages.ShipmentAddressUpdate) *ReviewShipmentAddressUpdateOK
- func (o *ReviewShipmentAddressUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdateParams
- type ReviewShipmentAddressUpdatePreconditionFailed
- func (o *ReviewShipmentAddressUpdatePreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *ReviewShipmentAddressUpdatePreconditionFailed) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdatePreconditionFailed
- func (o *ReviewShipmentAddressUpdatePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ReviewShipmentAddressUpdateURL
- func (o *ReviewShipmentAddressUpdateURL) Build() (*url.URL, error)
- func (o *ReviewShipmentAddressUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ReviewShipmentAddressUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *ReviewShipmentAddressUpdateURL) SetBasePath(bp string)
- func (o *ReviewShipmentAddressUpdateURL) String() string
- func (o *ReviewShipmentAddressUpdateURL) StringFull(scheme, host string) string
- func (o *ReviewShipmentAddressUpdateURL) WithBasePath(bp string) *ReviewShipmentAddressUpdateURL
- type ReviewShipmentAddressUpdateUnprocessableEntity
- func (o *ReviewShipmentAddressUpdateUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *ReviewShipmentAddressUpdateUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ReviewShipmentAddressUpdateUnprocessableEntity
- func (o *ReviewShipmentAddressUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpense
- type UpdateSITServiceItemCustomerExpenseConflict
- func (o *UpdateSITServiceItemCustomerExpenseConflict) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateSITServiceItemCustomerExpenseConflict) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseConflict
- func (o *UpdateSITServiceItemCustomerExpenseConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpenseForbidden
- func (o *UpdateSITServiceItemCustomerExpenseForbidden) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateSITServiceItemCustomerExpenseForbidden) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseForbidden
- func (o *UpdateSITServiceItemCustomerExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpenseHandler
- type UpdateSITServiceItemCustomerExpenseHandlerFunc
- type UpdateSITServiceItemCustomerExpenseInternalServerError
- func (o *UpdateSITServiceItemCustomerExpenseInternalServerError) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateSITServiceItemCustomerExpenseInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseInternalServerError
- func (o *UpdateSITServiceItemCustomerExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpenseNotFound
- func (o *UpdateSITServiceItemCustomerExpenseNotFound) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateSITServiceItemCustomerExpenseNotFound) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseNotFound
- func (o *UpdateSITServiceItemCustomerExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpenseOK
- func (o *UpdateSITServiceItemCustomerExpenseOK) SetPayload(payload *ghcmessages.MTOShipment)
- func (o *UpdateSITServiceItemCustomerExpenseOK) WithPayload(payload *ghcmessages.MTOShipment) *UpdateSITServiceItemCustomerExpenseOK
- func (o *UpdateSITServiceItemCustomerExpenseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpenseParams
- type UpdateSITServiceItemCustomerExpensePreconditionFailed
- func (o *UpdateSITServiceItemCustomerExpensePreconditionFailed) SetPayload(payload *ghcmessages.Error)
- func (o *UpdateSITServiceItemCustomerExpensePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpensePreconditionFailed
- func (o *UpdateSITServiceItemCustomerExpensePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSITServiceItemCustomerExpenseURL
- func (o *UpdateSITServiceItemCustomerExpenseURL) Build() (*url.URL, error)
- func (o *UpdateSITServiceItemCustomerExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateSITServiceItemCustomerExpenseURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateSITServiceItemCustomerExpenseURL) SetBasePath(bp string)
- func (o *UpdateSITServiceItemCustomerExpenseURL) String() string
- func (o *UpdateSITServiceItemCustomerExpenseURL) StringFull(scheme, host string) string
- func (o *UpdateSITServiceItemCustomerExpenseURL) WithBasePath(bp string) *UpdateSITServiceItemCustomerExpenseURL
- type UpdateSITServiceItemCustomerExpenseUnprocessableEntity
- func (o *UpdateSITServiceItemCustomerExpenseUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
- func (o *UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateSITServiceItemCustomerExpenseUnprocessableEntity
- func (o *UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ( // ReviewShipmentAddressUpdateBodyStatusREJECTED captures enum value "REJECTED" ReviewShipmentAddressUpdateBodyStatusREJECTED string = "REJECTED" // ReviewShipmentAddressUpdateBodyStatusAPPROVED captures enum value "APPROVED" ReviewShipmentAddressUpdateBodyStatusAPPROVED string = "APPROVED" )
const ApproveSITExtensionConflictCode int = 409
ApproveSITExtensionConflictCode is the HTTP code returned for type ApproveSITExtensionConflict
const ApproveSITExtensionForbiddenCode int = 403
ApproveSITExtensionForbiddenCode is the HTTP code returned for type ApproveSITExtensionForbidden
const ApproveSITExtensionInternalServerErrorCode int = 500
ApproveSITExtensionInternalServerErrorCode is the HTTP code returned for type ApproveSITExtensionInternalServerError
const ApproveSITExtensionNotFoundCode int = 404
ApproveSITExtensionNotFoundCode is the HTTP code returned for type ApproveSITExtensionNotFound
const ApproveSITExtensionOKCode int = 200
ApproveSITExtensionOKCode is the HTTP code returned for type ApproveSITExtensionOK
const ApproveSITExtensionPreconditionFailedCode int = 412
ApproveSITExtensionPreconditionFailedCode is the HTTP code returned for type ApproveSITExtensionPreconditionFailed
const ApproveSITExtensionUnprocessableEntityCode int = 422
ApproveSITExtensionUnprocessableEntityCode is the HTTP code returned for type ApproveSITExtensionUnprocessableEntity
const ApproveShipmentConflictCode int = 409
ApproveShipmentConflictCode is the HTTP code returned for type ApproveShipmentConflict
const ApproveShipmentDiversionConflictCode int = 409
ApproveShipmentDiversionConflictCode is the HTTP code returned for type ApproveShipmentDiversionConflict
const ApproveShipmentDiversionForbiddenCode int = 403
ApproveShipmentDiversionForbiddenCode is the HTTP code returned for type ApproveShipmentDiversionForbidden
const ApproveShipmentDiversionInternalServerErrorCode int = 500
ApproveShipmentDiversionInternalServerErrorCode is the HTTP code returned for type ApproveShipmentDiversionInternalServerError
const ApproveShipmentDiversionNotFoundCode int = 404
ApproveShipmentDiversionNotFoundCode is the HTTP code returned for type ApproveShipmentDiversionNotFound
const ApproveShipmentDiversionOKCode int = 200
ApproveShipmentDiversionOKCode is the HTTP code returned for type ApproveShipmentDiversionOK
const ApproveShipmentDiversionPreconditionFailedCode int = 412
ApproveShipmentDiversionPreconditionFailedCode is the HTTP code returned for type ApproveShipmentDiversionPreconditionFailed
const ApproveShipmentDiversionUnprocessableEntityCode int = 422
ApproveShipmentDiversionUnprocessableEntityCode is the HTTP code returned for type ApproveShipmentDiversionUnprocessableEntity
const ApproveShipmentForbiddenCode int = 403
ApproveShipmentForbiddenCode is the HTTP code returned for type ApproveShipmentForbidden
const ApproveShipmentInternalServerErrorCode int = 500
ApproveShipmentInternalServerErrorCode is the HTTP code returned for type ApproveShipmentInternalServerError
const ApproveShipmentNotFoundCode int = 404
ApproveShipmentNotFoundCode is the HTTP code returned for type ApproveShipmentNotFound
const ApproveShipmentOKCode int = 200
ApproveShipmentOKCode is the HTTP code returned for type ApproveShipmentOK
const ApproveShipmentPreconditionFailedCode int = 412
ApproveShipmentPreconditionFailedCode is the HTTP code returned for type ApproveShipmentPreconditionFailed
const ApproveShipmentUnprocessableEntityCode int = 422
ApproveShipmentUnprocessableEntityCode is the HTTP code returned for type ApproveShipmentUnprocessableEntity
const CreateApprovedSITDurationUpdateBadRequestCode int = 400
CreateApprovedSITDurationUpdateBadRequestCode is the HTTP code returned for type CreateApprovedSITDurationUpdateBadRequest
const CreateApprovedSITDurationUpdateForbiddenCode int = 403
CreateApprovedSITDurationUpdateForbiddenCode is the HTTP code returned for type CreateApprovedSITDurationUpdateForbidden
const CreateApprovedSITDurationUpdateInternalServerErrorCode int = 500
CreateApprovedSITDurationUpdateInternalServerErrorCode is the HTTP code returned for type CreateApprovedSITDurationUpdateInternalServerError
const CreateApprovedSITDurationUpdateNotFoundCode int = 404
CreateApprovedSITDurationUpdateNotFoundCode is the HTTP code returned for type CreateApprovedSITDurationUpdateNotFound
const CreateApprovedSITDurationUpdateOKCode int = 200
CreateApprovedSITDurationUpdateOKCode is the HTTP code returned for type CreateApprovedSITDurationUpdateOK
const CreateApprovedSITDurationUpdateUnprocessableEntityCode int = 422
CreateApprovedSITDurationUpdateUnprocessableEntityCode is the HTTP code returned for type CreateApprovedSITDurationUpdateUnprocessableEntity
const DeleteShipmentBadRequestCode int = 400
DeleteShipmentBadRequestCode is the HTTP code returned for type DeleteShipmentBadRequest
const DeleteShipmentConflictCode int = 409
DeleteShipmentConflictCode is the HTTP code returned for type DeleteShipmentConflict
const DeleteShipmentForbiddenCode int = 403
DeleteShipmentForbiddenCode is the HTTP code returned for type DeleteShipmentForbidden
const DeleteShipmentInternalServerErrorCode int = 500
DeleteShipmentInternalServerErrorCode is the HTTP code returned for type DeleteShipmentInternalServerError
const DeleteShipmentNoContentCode int = 204
DeleteShipmentNoContentCode is the HTTP code returned for type DeleteShipmentNoContent
const DeleteShipmentNotFoundCode int = 404
DeleteShipmentNotFoundCode is the HTTP code returned for type DeleteShipmentNotFound
const DeleteShipmentUnprocessableEntityCode int = 422
DeleteShipmentUnprocessableEntityCode is the HTTP code returned for type DeleteShipmentUnprocessableEntity
const DenySITExtensionConflictCode int = 409
DenySITExtensionConflictCode is the HTTP code returned for type DenySITExtensionConflict
const DenySITExtensionForbiddenCode int = 403
DenySITExtensionForbiddenCode is the HTTP code returned for type DenySITExtensionForbidden
const DenySITExtensionInternalServerErrorCode int = 500
DenySITExtensionInternalServerErrorCode is the HTTP code returned for type DenySITExtensionInternalServerError
const DenySITExtensionNotFoundCode int = 404
DenySITExtensionNotFoundCode is the HTTP code returned for type DenySITExtensionNotFound
const DenySITExtensionOKCode int = 200
DenySITExtensionOKCode is the HTTP code returned for type DenySITExtensionOK
const DenySITExtensionPreconditionFailedCode int = 412
DenySITExtensionPreconditionFailedCode is the HTTP code returned for type DenySITExtensionPreconditionFailed
const DenySITExtensionUnprocessableEntityCode int = 422
DenySITExtensionUnprocessableEntityCode is the HTTP code returned for type DenySITExtensionUnprocessableEntity
const RejectShipmentConflictCode int = 409
RejectShipmentConflictCode is the HTTP code returned for type RejectShipmentConflict
const RejectShipmentForbiddenCode int = 403
RejectShipmentForbiddenCode is the HTTP code returned for type RejectShipmentForbidden
const RejectShipmentInternalServerErrorCode int = 500
RejectShipmentInternalServerErrorCode is the HTTP code returned for type RejectShipmentInternalServerError
const RejectShipmentNotFoundCode int = 404
RejectShipmentNotFoundCode is the HTTP code returned for type RejectShipmentNotFound
const RejectShipmentOKCode int = 200
RejectShipmentOKCode is the HTTP code returned for type RejectShipmentOK
const RejectShipmentPreconditionFailedCode int = 412
RejectShipmentPreconditionFailedCode is the HTTP code returned for type RejectShipmentPreconditionFailed
const RejectShipmentUnprocessableEntityCode int = 422
RejectShipmentUnprocessableEntityCode is the HTTP code returned for type RejectShipmentUnprocessableEntity
const RequestShipmentCancellationConflictCode int = 409
RequestShipmentCancellationConflictCode is the HTTP code returned for type RequestShipmentCancellationConflict
const RequestShipmentCancellationForbiddenCode int = 403
RequestShipmentCancellationForbiddenCode is the HTTP code returned for type RequestShipmentCancellationForbidden
const RequestShipmentCancellationInternalServerErrorCode int = 500
RequestShipmentCancellationInternalServerErrorCode is the HTTP code returned for type RequestShipmentCancellationInternalServerError
const RequestShipmentCancellationNotFoundCode int = 404
RequestShipmentCancellationNotFoundCode is the HTTP code returned for type RequestShipmentCancellationNotFound
const RequestShipmentCancellationOKCode int = 200
RequestShipmentCancellationOKCode is the HTTP code returned for type RequestShipmentCancellationOK
const RequestShipmentCancellationPreconditionFailedCode int = 412
RequestShipmentCancellationPreconditionFailedCode is the HTTP code returned for type RequestShipmentCancellationPreconditionFailed
const RequestShipmentCancellationUnprocessableEntityCode int = 422
RequestShipmentCancellationUnprocessableEntityCode is the HTTP code returned for type RequestShipmentCancellationUnprocessableEntity
const RequestShipmentDiversionConflictCode int = 409
RequestShipmentDiversionConflictCode is the HTTP code returned for type RequestShipmentDiversionConflict
const RequestShipmentDiversionForbiddenCode int = 403
RequestShipmentDiversionForbiddenCode is the HTTP code returned for type RequestShipmentDiversionForbidden
const RequestShipmentDiversionInternalServerErrorCode int = 500
RequestShipmentDiversionInternalServerErrorCode is the HTTP code returned for type RequestShipmentDiversionInternalServerError
const RequestShipmentDiversionNotFoundCode int = 404
RequestShipmentDiversionNotFoundCode is the HTTP code returned for type RequestShipmentDiversionNotFound
const RequestShipmentDiversionOKCode int = 200
RequestShipmentDiversionOKCode is the HTTP code returned for type RequestShipmentDiversionOK
const RequestShipmentDiversionPreconditionFailedCode int = 412
RequestShipmentDiversionPreconditionFailedCode is the HTTP code returned for type RequestShipmentDiversionPreconditionFailed
const RequestShipmentDiversionUnprocessableEntityCode int = 422
RequestShipmentDiversionUnprocessableEntityCode is the HTTP code returned for type RequestShipmentDiversionUnprocessableEntity
const RequestShipmentReweighConflictCode int = 409
RequestShipmentReweighConflictCode is the HTTP code returned for type RequestShipmentReweighConflict
const RequestShipmentReweighForbiddenCode int = 403
RequestShipmentReweighForbiddenCode is the HTTP code returned for type RequestShipmentReweighForbidden
const RequestShipmentReweighInternalServerErrorCode int = 500
RequestShipmentReweighInternalServerErrorCode is the HTTP code returned for type RequestShipmentReweighInternalServerError
const RequestShipmentReweighNotFoundCode int = 404
RequestShipmentReweighNotFoundCode is the HTTP code returned for type RequestShipmentReweighNotFound
const RequestShipmentReweighOKCode int = 200
RequestShipmentReweighOKCode is the HTTP code returned for type RequestShipmentReweighOK
const RequestShipmentReweighPreconditionFailedCode int = 412
RequestShipmentReweighPreconditionFailedCode is the HTTP code returned for type RequestShipmentReweighPreconditionFailed
const RequestShipmentReweighUnprocessableEntityCode int = 422
RequestShipmentReweighUnprocessableEntityCode is the HTTP code returned for type RequestShipmentReweighUnprocessableEntity
const ReviewShipmentAddressUpdateConflictCode int = 409
ReviewShipmentAddressUpdateConflictCode is the HTTP code returned for type ReviewShipmentAddressUpdateConflict
const ReviewShipmentAddressUpdateForbiddenCode int = 403
ReviewShipmentAddressUpdateForbiddenCode is the HTTP code returned for type ReviewShipmentAddressUpdateForbidden
const ReviewShipmentAddressUpdateInternalServerErrorCode int = 500
ReviewShipmentAddressUpdateInternalServerErrorCode is the HTTP code returned for type ReviewShipmentAddressUpdateInternalServerError
const ReviewShipmentAddressUpdateNotFoundCode int = 404
ReviewShipmentAddressUpdateNotFoundCode is the HTTP code returned for type ReviewShipmentAddressUpdateNotFound
const ReviewShipmentAddressUpdateOKCode int = 200
ReviewShipmentAddressUpdateOKCode is the HTTP code returned for type ReviewShipmentAddressUpdateOK
const ReviewShipmentAddressUpdatePreconditionFailedCode int = 412
ReviewShipmentAddressUpdatePreconditionFailedCode is the HTTP code returned for type ReviewShipmentAddressUpdatePreconditionFailed
const ReviewShipmentAddressUpdateUnprocessableEntityCode int = 422
ReviewShipmentAddressUpdateUnprocessableEntityCode is the HTTP code returned for type ReviewShipmentAddressUpdateUnprocessableEntity
const UpdateSITServiceItemCustomerExpenseConflictCode int = 409
UpdateSITServiceItemCustomerExpenseConflictCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseConflict
const UpdateSITServiceItemCustomerExpenseForbiddenCode int = 403
UpdateSITServiceItemCustomerExpenseForbiddenCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseForbidden
const UpdateSITServiceItemCustomerExpenseInternalServerErrorCode int = 500
UpdateSITServiceItemCustomerExpenseInternalServerErrorCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseInternalServerError
const UpdateSITServiceItemCustomerExpenseNotFoundCode int = 404
UpdateSITServiceItemCustomerExpenseNotFoundCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseNotFound
const UpdateSITServiceItemCustomerExpenseOKCode int = 200
UpdateSITServiceItemCustomerExpenseOKCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseOK
const UpdateSITServiceItemCustomerExpensePreconditionFailedCode int = 412
UpdateSITServiceItemCustomerExpensePreconditionFailedCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpensePreconditionFailed
const UpdateSITServiceItemCustomerExpenseUnprocessableEntityCode int = 422
UpdateSITServiceItemCustomerExpenseUnprocessableEntityCode is the HTTP code returned for type UpdateSITServiceItemCustomerExpenseUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproveSITExtension ¶
type ApproveSITExtension struct { Context *middleware.Context Handler ApproveSITExtensionHandler }
ApproveSITExtension swagger:route PATCH /shipments/{shipmentID}/sit-extensions/{sitExtensionID}/approve shipment sitExtension approveSITExtension
Approves a SIT extension ¶
Approves a SIT extension
func NewApproveSITExtension ¶
func NewApproveSITExtension(ctx *middleware.Context, handler ApproveSITExtensionHandler) *ApproveSITExtension
NewApproveSITExtension creates a new http.Handler for the approve s i t extension operation
func (*ApproveSITExtension) ServeHTTP ¶
func (o *ApproveSITExtension) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApproveSITExtensionConflict ¶
type ApproveSITExtensionConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveSITExtensionConflict Conflict error
swagger:response approveSITExtensionConflict
func NewApproveSITExtensionConflict ¶
func NewApproveSITExtensionConflict() *ApproveSITExtensionConflict
NewApproveSITExtensionConflict creates ApproveSITExtensionConflict with default headers values
func (*ApproveSITExtensionConflict) SetPayload ¶
func (o *ApproveSITExtensionConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve s i t extension conflict response
func (*ApproveSITExtensionConflict) WithPayload ¶
func (o *ApproveSITExtensionConflict) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionConflict
WithPayload adds the payload to the approve s i t extension conflict response
func (*ApproveSITExtensionConflict) WriteResponse ¶
func (o *ApproveSITExtensionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveSITExtensionForbidden ¶
type ApproveSITExtensionForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveSITExtensionForbidden The request was denied
swagger:response approveSITExtensionForbidden
func NewApproveSITExtensionForbidden ¶
func NewApproveSITExtensionForbidden() *ApproveSITExtensionForbidden
NewApproveSITExtensionForbidden creates ApproveSITExtensionForbidden with default headers values
func (*ApproveSITExtensionForbidden) SetPayload ¶
func (o *ApproveSITExtensionForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve s i t extension forbidden response
func (*ApproveSITExtensionForbidden) WithPayload ¶
func (o *ApproveSITExtensionForbidden) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionForbidden
WithPayload adds the payload to the approve s i t extension forbidden response
func (*ApproveSITExtensionForbidden) WriteResponse ¶
func (o *ApproveSITExtensionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveSITExtensionHandler ¶
type ApproveSITExtensionHandler interface {
Handle(ApproveSITExtensionParams) middleware.Responder
}
ApproveSITExtensionHandler interface for that can handle valid approve s i t extension params
type ApproveSITExtensionHandlerFunc ¶
type ApproveSITExtensionHandlerFunc func(ApproveSITExtensionParams) middleware.Responder
ApproveSITExtensionHandlerFunc turns a function with the right signature into a approve s i t extension handler
func (ApproveSITExtensionHandlerFunc) Handle ¶
func (fn ApproveSITExtensionHandlerFunc) Handle(params ApproveSITExtensionParams) middleware.Responder
Handle executing the request and returning a response
type ApproveSITExtensionInternalServerError ¶
type ApproveSITExtensionInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveSITExtensionInternalServerError A server error occurred
swagger:response approveSITExtensionInternalServerError
func NewApproveSITExtensionInternalServerError ¶
func NewApproveSITExtensionInternalServerError() *ApproveSITExtensionInternalServerError
NewApproveSITExtensionInternalServerError creates ApproveSITExtensionInternalServerError with default headers values
func (*ApproveSITExtensionInternalServerError) SetPayload ¶
func (o *ApproveSITExtensionInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve s i t extension internal server error response
func (*ApproveSITExtensionInternalServerError) WithPayload ¶
func (o *ApproveSITExtensionInternalServerError) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionInternalServerError
WithPayload adds the payload to the approve s i t extension internal server error response
func (*ApproveSITExtensionInternalServerError) WriteResponse ¶
func (o *ApproveSITExtensionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveSITExtensionNotFound ¶
type ApproveSITExtensionNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveSITExtensionNotFound The requested resource wasn't found
swagger:response approveSITExtensionNotFound
func NewApproveSITExtensionNotFound ¶
func NewApproveSITExtensionNotFound() *ApproveSITExtensionNotFound
NewApproveSITExtensionNotFound creates ApproveSITExtensionNotFound with default headers values
func (*ApproveSITExtensionNotFound) SetPayload ¶
func (o *ApproveSITExtensionNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve s i t extension not found response
func (*ApproveSITExtensionNotFound) WithPayload ¶
func (o *ApproveSITExtensionNotFound) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionNotFound
WithPayload adds the payload to the approve s i t extension not found response
func (*ApproveSITExtensionNotFound) WriteResponse ¶
func (o *ApproveSITExtensionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveSITExtensionOK ¶
type ApproveSITExtensionOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
ApproveSITExtensionOK Successfully approved a SIT extension
swagger:response approveSITExtensionOK
func NewApproveSITExtensionOK ¶
func NewApproveSITExtensionOK() *ApproveSITExtensionOK
NewApproveSITExtensionOK creates ApproveSITExtensionOK with default headers values
func (*ApproveSITExtensionOK) SetPayload ¶
func (o *ApproveSITExtensionOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the approve s i t extension o k response
func (*ApproveSITExtensionOK) WithPayload ¶
func (o *ApproveSITExtensionOK) WithPayload(payload *ghcmessages.MTOShipment) *ApproveSITExtensionOK
WithPayload adds the payload to the approve s i t extension o k response
func (*ApproveSITExtensionOK) WriteResponse ¶
func (o *ApproveSITExtensionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveSITExtensionParams ¶
type ApproveSITExtensionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*We want the shipment's eTag rather than the SIT extension eTag as the SIT extension is always associated with a shipment Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.ApproveSITExtension /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID /*ID of the SIT extension Required: true In: path */ SitExtensionID strfmt.UUID }
ApproveSITExtensionParams contains all the bound params for the approve s i t extension operation typically these are obtained from a http.Request
swagger:parameters approveSITExtension
func NewApproveSITExtensionParams ¶
func NewApproveSITExtensionParams() ApproveSITExtensionParams
NewApproveSITExtensionParams creates a new ApproveSITExtensionParams object
There are no default values defined in the spec.
func (*ApproveSITExtensionParams) BindRequest ¶
func (o *ApproveSITExtensionParams) 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 NewApproveSITExtensionParams() beforehand.
type ApproveSITExtensionPreconditionFailed ¶
type ApproveSITExtensionPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveSITExtensionPreconditionFailed Precondition failed
swagger:response approveSITExtensionPreconditionFailed
func NewApproveSITExtensionPreconditionFailed ¶
func NewApproveSITExtensionPreconditionFailed() *ApproveSITExtensionPreconditionFailed
NewApproveSITExtensionPreconditionFailed creates ApproveSITExtensionPreconditionFailed with default headers values
func (*ApproveSITExtensionPreconditionFailed) SetPayload ¶
func (o *ApproveSITExtensionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve s i t extension precondition failed response
func (*ApproveSITExtensionPreconditionFailed) WithPayload ¶
func (o *ApproveSITExtensionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *ApproveSITExtensionPreconditionFailed
WithPayload adds the payload to the approve s i t extension precondition failed response
func (*ApproveSITExtensionPreconditionFailed) WriteResponse ¶
func (o *ApproveSITExtensionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveSITExtensionURL ¶
type ApproveSITExtensionURL struct { ShipmentID strfmt.UUID SitExtensionID strfmt.UUID // contains filtered or unexported fields }
ApproveSITExtensionURL generates an URL for the approve s i t extension operation
func (*ApproveSITExtensionURL) Build ¶
func (o *ApproveSITExtensionURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApproveSITExtensionURL) BuildFull ¶
func (o *ApproveSITExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApproveSITExtensionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApproveSITExtensionURL) SetBasePath ¶
func (o *ApproveSITExtensionURL) 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 (*ApproveSITExtensionURL) String ¶
func (o *ApproveSITExtensionURL) String() string
String returns the string representation of the path with query string
func (*ApproveSITExtensionURL) StringFull ¶
func (o *ApproveSITExtensionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApproveSITExtensionURL) WithBasePath ¶
func (o *ApproveSITExtensionURL) WithBasePath(bp string) *ApproveSITExtensionURL
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 ApproveSITExtensionUnprocessableEntity ¶
type ApproveSITExtensionUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
ApproveSITExtensionUnprocessableEntity The payload was unprocessable.
swagger:response approveSITExtensionUnprocessableEntity
func NewApproveSITExtensionUnprocessableEntity ¶
func NewApproveSITExtensionUnprocessableEntity() *ApproveSITExtensionUnprocessableEntity
NewApproveSITExtensionUnprocessableEntity creates ApproveSITExtensionUnprocessableEntity with default headers values
func (*ApproveSITExtensionUnprocessableEntity) SetPayload ¶
func (o *ApproveSITExtensionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the approve s i t extension unprocessable entity response
func (*ApproveSITExtensionUnprocessableEntity) WithPayload ¶
func (o *ApproveSITExtensionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ApproveSITExtensionUnprocessableEntity
WithPayload adds the payload to the approve s i t extension unprocessable entity response
func (*ApproveSITExtensionUnprocessableEntity) WriteResponse ¶
func (o *ApproveSITExtensionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipment ¶
type ApproveShipment struct { Context *middleware.Context Handler ApproveShipmentHandler }
ApproveShipment swagger:route POST /shipments/{shipmentID}/approve shipment approveShipment
Approves a shipment ¶
Approves a shipment
func NewApproveShipment ¶
func NewApproveShipment(ctx *middleware.Context, handler ApproveShipmentHandler) *ApproveShipment
NewApproveShipment creates a new http.Handler for the approve shipment operation
func (*ApproveShipment) ServeHTTP ¶
func (o *ApproveShipment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApproveShipmentConflict ¶
type ApproveShipmentConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentConflict Conflict error
swagger:response approveShipmentConflict
func NewApproveShipmentConflict ¶
func NewApproveShipmentConflict() *ApproveShipmentConflict
NewApproveShipmentConflict creates ApproveShipmentConflict with default headers values
func (*ApproveShipmentConflict) SetPayload ¶
func (o *ApproveShipmentConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment conflict response
func (*ApproveShipmentConflict) WithPayload ¶
func (o *ApproveShipmentConflict) WithPayload(payload *ghcmessages.Error) *ApproveShipmentConflict
WithPayload adds the payload to the approve shipment conflict response
func (*ApproveShipmentConflict) WriteResponse ¶
func (o *ApproveShipmentConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversion ¶
type ApproveShipmentDiversion struct { Context *middleware.Context Handler ApproveShipmentDiversionHandler }
ApproveShipmentDiversion swagger:route POST /shipments/{shipmentID}/approve-diversion shipment approveShipmentDiversion
Approves a shipment diversion ¶
Approves a shipment diversion
func NewApproveShipmentDiversion ¶
func NewApproveShipmentDiversion(ctx *middleware.Context, handler ApproveShipmentDiversionHandler) *ApproveShipmentDiversion
NewApproveShipmentDiversion creates a new http.Handler for the approve shipment diversion operation
func (*ApproveShipmentDiversion) ServeHTTP ¶
func (o *ApproveShipmentDiversion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApproveShipmentDiversionConflict ¶
type ApproveShipmentDiversionConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentDiversionConflict Conflict error
swagger:response approveShipmentDiversionConflict
func NewApproveShipmentDiversionConflict ¶
func NewApproveShipmentDiversionConflict() *ApproveShipmentDiversionConflict
NewApproveShipmentDiversionConflict creates ApproveShipmentDiversionConflict with default headers values
func (*ApproveShipmentDiversionConflict) SetPayload ¶
func (o *ApproveShipmentDiversionConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment diversion conflict response
func (*ApproveShipmentDiversionConflict) WithPayload ¶
func (o *ApproveShipmentDiversionConflict) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionConflict
WithPayload adds the payload to the approve shipment diversion conflict response
func (*ApproveShipmentDiversionConflict) WriteResponse ¶
func (o *ApproveShipmentDiversionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversionForbidden ¶
type ApproveShipmentDiversionForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentDiversionForbidden The request was denied
swagger:response approveShipmentDiversionForbidden
func NewApproveShipmentDiversionForbidden ¶
func NewApproveShipmentDiversionForbidden() *ApproveShipmentDiversionForbidden
NewApproveShipmentDiversionForbidden creates ApproveShipmentDiversionForbidden with default headers values
func (*ApproveShipmentDiversionForbidden) SetPayload ¶
func (o *ApproveShipmentDiversionForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment diversion forbidden response
func (*ApproveShipmentDiversionForbidden) WithPayload ¶
func (o *ApproveShipmentDiversionForbidden) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionForbidden
WithPayload adds the payload to the approve shipment diversion forbidden response
func (*ApproveShipmentDiversionForbidden) WriteResponse ¶
func (o *ApproveShipmentDiversionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversionHandler ¶
type ApproveShipmentDiversionHandler interface {
Handle(ApproveShipmentDiversionParams) middleware.Responder
}
ApproveShipmentDiversionHandler interface for that can handle valid approve shipment diversion params
type ApproveShipmentDiversionHandlerFunc ¶
type ApproveShipmentDiversionHandlerFunc func(ApproveShipmentDiversionParams) middleware.Responder
ApproveShipmentDiversionHandlerFunc turns a function with the right signature into a approve shipment diversion handler
func (ApproveShipmentDiversionHandlerFunc) Handle ¶
func (fn ApproveShipmentDiversionHandlerFunc) Handle(params ApproveShipmentDiversionParams) middleware.Responder
Handle executing the request and returning a response
type ApproveShipmentDiversionInternalServerError ¶
type ApproveShipmentDiversionInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentDiversionInternalServerError A server error occurred
swagger:response approveShipmentDiversionInternalServerError
func NewApproveShipmentDiversionInternalServerError ¶
func NewApproveShipmentDiversionInternalServerError() *ApproveShipmentDiversionInternalServerError
NewApproveShipmentDiversionInternalServerError creates ApproveShipmentDiversionInternalServerError with default headers values
func (*ApproveShipmentDiversionInternalServerError) SetPayload ¶
func (o *ApproveShipmentDiversionInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment diversion internal server error response
func (*ApproveShipmentDiversionInternalServerError) WithPayload ¶
func (o *ApproveShipmentDiversionInternalServerError) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionInternalServerError
WithPayload adds the payload to the approve shipment diversion internal server error response
func (*ApproveShipmentDiversionInternalServerError) WriteResponse ¶
func (o *ApproveShipmentDiversionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversionNotFound ¶
type ApproveShipmentDiversionNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentDiversionNotFound The requested resource wasn't found
swagger:response approveShipmentDiversionNotFound
func NewApproveShipmentDiversionNotFound ¶
func NewApproveShipmentDiversionNotFound() *ApproveShipmentDiversionNotFound
NewApproveShipmentDiversionNotFound creates ApproveShipmentDiversionNotFound with default headers values
func (*ApproveShipmentDiversionNotFound) SetPayload ¶
func (o *ApproveShipmentDiversionNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment diversion not found response
func (*ApproveShipmentDiversionNotFound) WithPayload ¶
func (o *ApproveShipmentDiversionNotFound) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionNotFound
WithPayload adds the payload to the approve shipment diversion not found response
func (*ApproveShipmentDiversionNotFound) WriteResponse ¶
func (o *ApproveShipmentDiversionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversionOK ¶
type ApproveShipmentDiversionOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
ApproveShipmentDiversionOK Successfully approved the shipment diversion
swagger:response approveShipmentDiversionOK
func NewApproveShipmentDiversionOK ¶
func NewApproveShipmentDiversionOK() *ApproveShipmentDiversionOK
NewApproveShipmentDiversionOK creates ApproveShipmentDiversionOK with default headers values
func (*ApproveShipmentDiversionOK) SetPayload ¶
func (o *ApproveShipmentDiversionOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the approve shipment diversion o k response
func (*ApproveShipmentDiversionOK) WithPayload ¶
func (o *ApproveShipmentDiversionOK) WithPayload(payload *ghcmessages.MTOShipment) *ApproveShipmentDiversionOK
WithPayload adds the payload to the approve shipment diversion o k response
func (*ApproveShipmentDiversionOK) WriteResponse ¶
func (o *ApproveShipmentDiversionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversionParams ¶
type ApproveShipmentDiversionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
ApproveShipmentDiversionParams contains all the bound params for the approve shipment diversion operation typically these are obtained from a http.Request
swagger:parameters approveShipmentDiversion
func NewApproveShipmentDiversionParams ¶
func NewApproveShipmentDiversionParams() ApproveShipmentDiversionParams
NewApproveShipmentDiversionParams creates a new ApproveShipmentDiversionParams object
There are no default values defined in the spec.
func (*ApproveShipmentDiversionParams) BindRequest ¶
func (o *ApproveShipmentDiversionParams) 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 NewApproveShipmentDiversionParams() beforehand.
type ApproveShipmentDiversionPreconditionFailed ¶
type ApproveShipmentDiversionPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentDiversionPreconditionFailed Precondition failed
swagger:response approveShipmentDiversionPreconditionFailed
func NewApproveShipmentDiversionPreconditionFailed ¶
func NewApproveShipmentDiversionPreconditionFailed() *ApproveShipmentDiversionPreconditionFailed
NewApproveShipmentDiversionPreconditionFailed creates ApproveShipmentDiversionPreconditionFailed with default headers values
func (*ApproveShipmentDiversionPreconditionFailed) SetPayload ¶
func (o *ApproveShipmentDiversionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment diversion precondition failed response
func (*ApproveShipmentDiversionPreconditionFailed) WithPayload ¶
func (o *ApproveShipmentDiversionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *ApproveShipmentDiversionPreconditionFailed
WithPayload adds the payload to the approve shipment diversion precondition failed response
func (*ApproveShipmentDiversionPreconditionFailed) WriteResponse ¶
func (o *ApproveShipmentDiversionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentDiversionURL ¶
type ApproveShipmentDiversionURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
ApproveShipmentDiversionURL generates an URL for the approve shipment diversion operation
func (*ApproveShipmentDiversionURL) Build ¶
func (o *ApproveShipmentDiversionURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApproveShipmentDiversionURL) BuildFull ¶
func (o *ApproveShipmentDiversionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApproveShipmentDiversionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApproveShipmentDiversionURL) SetBasePath ¶
func (o *ApproveShipmentDiversionURL) 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 (*ApproveShipmentDiversionURL) String ¶
func (o *ApproveShipmentDiversionURL) String() string
String returns the string representation of the path with query string
func (*ApproveShipmentDiversionURL) StringFull ¶
func (o *ApproveShipmentDiversionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApproveShipmentDiversionURL) WithBasePath ¶
func (o *ApproveShipmentDiversionURL) WithBasePath(bp string) *ApproveShipmentDiversionURL
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 ApproveShipmentDiversionUnprocessableEntity ¶
type ApproveShipmentDiversionUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
ApproveShipmentDiversionUnprocessableEntity The payload was unprocessable.
swagger:response approveShipmentDiversionUnprocessableEntity
func NewApproveShipmentDiversionUnprocessableEntity ¶
func NewApproveShipmentDiversionUnprocessableEntity() *ApproveShipmentDiversionUnprocessableEntity
NewApproveShipmentDiversionUnprocessableEntity creates ApproveShipmentDiversionUnprocessableEntity with default headers values
func (*ApproveShipmentDiversionUnprocessableEntity) SetPayload ¶
func (o *ApproveShipmentDiversionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the approve shipment diversion unprocessable entity response
func (*ApproveShipmentDiversionUnprocessableEntity) WithPayload ¶
func (o *ApproveShipmentDiversionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ApproveShipmentDiversionUnprocessableEntity
WithPayload adds the payload to the approve shipment diversion unprocessable entity response
func (*ApproveShipmentDiversionUnprocessableEntity) WriteResponse ¶
func (o *ApproveShipmentDiversionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentForbidden ¶
type ApproveShipmentForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentForbidden The request was denied
swagger:response approveShipmentForbidden
func NewApproveShipmentForbidden ¶
func NewApproveShipmentForbidden() *ApproveShipmentForbidden
NewApproveShipmentForbidden creates ApproveShipmentForbidden with default headers values
func (*ApproveShipmentForbidden) SetPayload ¶
func (o *ApproveShipmentForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment forbidden response
func (*ApproveShipmentForbidden) WithPayload ¶
func (o *ApproveShipmentForbidden) WithPayload(payload *ghcmessages.Error) *ApproveShipmentForbidden
WithPayload adds the payload to the approve shipment forbidden response
func (*ApproveShipmentForbidden) WriteResponse ¶
func (o *ApproveShipmentForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentHandler ¶
type ApproveShipmentHandler interface {
Handle(ApproveShipmentParams) middleware.Responder
}
ApproveShipmentHandler interface for that can handle valid approve shipment params
type ApproveShipmentHandlerFunc ¶
type ApproveShipmentHandlerFunc func(ApproveShipmentParams) middleware.Responder
ApproveShipmentHandlerFunc turns a function with the right signature into a approve shipment handler
func (ApproveShipmentHandlerFunc) Handle ¶
func (fn ApproveShipmentHandlerFunc) Handle(params ApproveShipmentParams) middleware.Responder
Handle executing the request and returning a response
type ApproveShipmentInternalServerError ¶
type ApproveShipmentInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentInternalServerError A server error occurred
swagger:response approveShipmentInternalServerError
func NewApproveShipmentInternalServerError ¶
func NewApproveShipmentInternalServerError() *ApproveShipmentInternalServerError
NewApproveShipmentInternalServerError creates ApproveShipmentInternalServerError with default headers values
func (*ApproveShipmentInternalServerError) SetPayload ¶
func (o *ApproveShipmentInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment internal server error response
func (*ApproveShipmentInternalServerError) WithPayload ¶
func (o *ApproveShipmentInternalServerError) WithPayload(payload *ghcmessages.Error) *ApproveShipmentInternalServerError
WithPayload adds the payload to the approve shipment internal server error response
func (*ApproveShipmentInternalServerError) WriteResponse ¶
func (o *ApproveShipmentInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentNotFound ¶
type ApproveShipmentNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentNotFound The requested resource wasn't found
swagger:response approveShipmentNotFound
func NewApproveShipmentNotFound ¶
func NewApproveShipmentNotFound() *ApproveShipmentNotFound
NewApproveShipmentNotFound creates ApproveShipmentNotFound with default headers values
func (*ApproveShipmentNotFound) SetPayload ¶
func (o *ApproveShipmentNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment not found response
func (*ApproveShipmentNotFound) WithPayload ¶
func (o *ApproveShipmentNotFound) WithPayload(payload *ghcmessages.Error) *ApproveShipmentNotFound
WithPayload adds the payload to the approve shipment not found response
func (*ApproveShipmentNotFound) WriteResponse ¶
func (o *ApproveShipmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentOK ¶
type ApproveShipmentOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
ApproveShipmentOK Successfully approved the shipment
swagger:response approveShipmentOK
func NewApproveShipmentOK ¶
func NewApproveShipmentOK() *ApproveShipmentOK
NewApproveShipmentOK creates ApproveShipmentOK with default headers values
func (*ApproveShipmentOK) SetPayload ¶
func (o *ApproveShipmentOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the approve shipment o k response
func (*ApproveShipmentOK) WithPayload ¶
func (o *ApproveShipmentOK) WithPayload(payload *ghcmessages.MTOShipment) *ApproveShipmentOK
WithPayload adds the payload to the approve shipment o k response
func (*ApproveShipmentOK) WriteResponse ¶
func (o *ApproveShipmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentParams ¶
type ApproveShipmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
ApproveShipmentParams contains all the bound params for the approve shipment operation typically these are obtained from a http.Request
swagger:parameters approveShipment
func NewApproveShipmentParams ¶
func NewApproveShipmentParams() ApproveShipmentParams
NewApproveShipmentParams creates a new ApproveShipmentParams object
There are no default values defined in the spec.
func (*ApproveShipmentParams) BindRequest ¶
func (o *ApproveShipmentParams) 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 NewApproveShipmentParams() beforehand.
type ApproveShipmentPreconditionFailed ¶
type ApproveShipmentPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ApproveShipmentPreconditionFailed Precondition failed
swagger:response approveShipmentPreconditionFailed
func NewApproveShipmentPreconditionFailed ¶
func NewApproveShipmentPreconditionFailed() *ApproveShipmentPreconditionFailed
NewApproveShipmentPreconditionFailed creates ApproveShipmentPreconditionFailed with default headers values
func (*ApproveShipmentPreconditionFailed) SetPayload ¶
func (o *ApproveShipmentPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the approve shipment precondition failed response
func (*ApproveShipmentPreconditionFailed) WithPayload ¶
func (o *ApproveShipmentPreconditionFailed) WithPayload(payload *ghcmessages.Error) *ApproveShipmentPreconditionFailed
WithPayload adds the payload to the approve shipment precondition failed response
func (*ApproveShipmentPreconditionFailed) WriteResponse ¶
func (o *ApproveShipmentPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApproveShipmentURL ¶
ApproveShipmentURL generates an URL for the approve shipment operation
func (*ApproveShipmentURL) Build ¶
func (o *ApproveShipmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApproveShipmentURL) BuildFull ¶
func (o *ApproveShipmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApproveShipmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApproveShipmentURL) SetBasePath ¶
func (o *ApproveShipmentURL) 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 (*ApproveShipmentURL) String ¶
func (o *ApproveShipmentURL) String() string
String returns the string representation of the path with query string
func (*ApproveShipmentURL) StringFull ¶
func (o *ApproveShipmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApproveShipmentURL) WithBasePath ¶
func (o *ApproveShipmentURL) WithBasePath(bp string) *ApproveShipmentURL
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 ApproveShipmentUnprocessableEntity ¶
type ApproveShipmentUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
ApproveShipmentUnprocessableEntity The payload was unprocessable.
swagger:response approveShipmentUnprocessableEntity
func NewApproveShipmentUnprocessableEntity ¶
func NewApproveShipmentUnprocessableEntity() *ApproveShipmentUnprocessableEntity
NewApproveShipmentUnprocessableEntity creates ApproveShipmentUnprocessableEntity with default headers values
func (*ApproveShipmentUnprocessableEntity) SetPayload ¶
func (o *ApproveShipmentUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the approve shipment unprocessable entity response
func (*ApproveShipmentUnprocessableEntity) WithPayload ¶
func (o *ApproveShipmentUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ApproveShipmentUnprocessableEntity
WithPayload adds the payload to the approve shipment unprocessable entity response
func (*ApproveShipmentUnprocessableEntity) WriteResponse ¶
func (o *ApproveShipmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApprovedSITDurationUpdate ¶
type CreateApprovedSITDurationUpdate struct { Context *middleware.Context Handler CreateApprovedSITDurationUpdateHandler }
CreateApprovedSITDurationUpdate swagger:route POST /shipments/{shipmentID}/sit-extensions shipment sitExtension createApprovedSITDurationUpdate
Create an approved SIT Duration Update ¶
TOO can creates an already-approved SIT Duration Update on behalf of a customer
func NewCreateApprovedSITDurationUpdate ¶
func NewCreateApprovedSITDurationUpdate(ctx *middleware.Context, handler CreateApprovedSITDurationUpdateHandler) *CreateApprovedSITDurationUpdate
NewCreateApprovedSITDurationUpdate creates a new http.Handler for the create approved s i t duration update operation
func (*CreateApprovedSITDurationUpdate) ServeHTTP ¶
func (o *CreateApprovedSITDurationUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateApprovedSITDurationUpdateBadRequest ¶
type CreateApprovedSITDurationUpdateBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CreateApprovedSITDurationUpdateBadRequest The request payload is invalid
swagger:response createApprovedSITDurationUpdateBadRequest
func NewCreateApprovedSITDurationUpdateBadRequest ¶
func NewCreateApprovedSITDurationUpdateBadRequest() *CreateApprovedSITDurationUpdateBadRequest
NewCreateApprovedSITDurationUpdateBadRequest creates CreateApprovedSITDurationUpdateBadRequest with default headers values
func (*CreateApprovedSITDurationUpdateBadRequest) SetPayload ¶
func (o *CreateApprovedSITDurationUpdateBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the create approved s i t duration update bad request response
func (*CreateApprovedSITDurationUpdateBadRequest) WithPayload ¶
func (o *CreateApprovedSITDurationUpdateBadRequest) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateBadRequest
WithPayload adds the payload to the create approved s i t duration update bad request response
func (*CreateApprovedSITDurationUpdateBadRequest) WriteResponse ¶
func (o *CreateApprovedSITDurationUpdateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApprovedSITDurationUpdateForbidden ¶
type CreateApprovedSITDurationUpdateForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CreateApprovedSITDurationUpdateForbidden The request was denied
swagger:response createApprovedSITDurationUpdateForbidden
func NewCreateApprovedSITDurationUpdateForbidden ¶
func NewCreateApprovedSITDurationUpdateForbidden() *CreateApprovedSITDurationUpdateForbidden
NewCreateApprovedSITDurationUpdateForbidden creates CreateApprovedSITDurationUpdateForbidden with default headers values
func (*CreateApprovedSITDurationUpdateForbidden) SetPayload ¶
func (o *CreateApprovedSITDurationUpdateForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the create approved s i t duration update forbidden response
func (*CreateApprovedSITDurationUpdateForbidden) WithPayload ¶
func (o *CreateApprovedSITDurationUpdateForbidden) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateForbidden
WithPayload adds the payload to the create approved s i t duration update forbidden response
func (*CreateApprovedSITDurationUpdateForbidden) WriteResponse ¶
func (o *CreateApprovedSITDurationUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApprovedSITDurationUpdateHandler ¶
type CreateApprovedSITDurationUpdateHandler interface {
Handle(CreateApprovedSITDurationUpdateParams) middleware.Responder
}
CreateApprovedSITDurationUpdateHandler interface for that can handle valid create approved s i t duration update params
type CreateApprovedSITDurationUpdateHandlerFunc ¶
type CreateApprovedSITDurationUpdateHandlerFunc func(CreateApprovedSITDurationUpdateParams) middleware.Responder
CreateApprovedSITDurationUpdateHandlerFunc turns a function with the right signature into a create approved s i t duration update handler
func (CreateApprovedSITDurationUpdateHandlerFunc) Handle ¶
func (fn CreateApprovedSITDurationUpdateHandlerFunc) Handle(params CreateApprovedSITDurationUpdateParams) middleware.Responder
Handle executing the request and returning a response
type CreateApprovedSITDurationUpdateInternalServerError ¶
type CreateApprovedSITDurationUpdateInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CreateApprovedSITDurationUpdateInternalServerError A server error occurred
swagger:response createApprovedSITDurationUpdateInternalServerError
func NewCreateApprovedSITDurationUpdateInternalServerError ¶
func NewCreateApprovedSITDurationUpdateInternalServerError() *CreateApprovedSITDurationUpdateInternalServerError
NewCreateApprovedSITDurationUpdateInternalServerError creates CreateApprovedSITDurationUpdateInternalServerError with default headers values
func (*CreateApprovedSITDurationUpdateInternalServerError) SetPayload ¶
func (o *CreateApprovedSITDurationUpdateInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the create approved s i t duration update internal server error response
func (*CreateApprovedSITDurationUpdateInternalServerError) WithPayload ¶
func (o *CreateApprovedSITDurationUpdateInternalServerError) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateInternalServerError
WithPayload adds the payload to the create approved s i t duration update internal server error response
func (*CreateApprovedSITDurationUpdateInternalServerError) WriteResponse ¶
func (o *CreateApprovedSITDurationUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApprovedSITDurationUpdateNotFound ¶
type CreateApprovedSITDurationUpdateNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
CreateApprovedSITDurationUpdateNotFound The requested resource wasn't found
swagger:response createApprovedSITDurationUpdateNotFound
func NewCreateApprovedSITDurationUpdateNotFound ¶
func NewCreateApprovedSITDurationUpdateNotFound() *CreateApprovedSITDurationUpdateNotFound
NewCreateApprovedSITDurationUpdateNotFound creates CreateApprovedSITDurationUpdateNotFound with default headers values
func (*CreateApprovedSITDurationUpdateNotFound) SetPayload ¶
func (o *CreateApprovedSITDurationUpdateNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the create approved s i t duration update not found response
func (*CreateApprovedSITDurationUpdateNotFound) WithPayload ¶
func (o *CreateApprovedSITDurationUpdateNotFound) WithPayload(payload *ghcmessages.Error) *CreateApprovedSITDurationUpdateNotFound
WithPayload adds the payload to the create approved s i t duration update not found response
func (*CreateApprovedSITDurationUpdateNotFound) WriteResponse ¶
func (o *CreateApprovedSITDurationUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApprovedSITDurationUpdateOK ¶
type CreateApprovedSITDurationUpdateOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
CreateApprovedSITDurationUpdateOK Successfully created a SIT Extension.
swagger:response createApprovedSITDurationUpdateOK
func NewCreateApprovedSITDurationUpdateOK ¶
func NewCreateApprovedSITDurationUpdateOK() *CreateApprovedSITDurationUpdateOK
NewCreateApprovedSITDurationUpdateOK creates CreateApprovedSITDurationUpdateOK with default headers values
func (*CreateApprovedSITDurationUpdateOK) SetPayload ¶
func (o *CreateApprovedSITDurationUpdateOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the create approved s i t duration update o k response
func (*CreateApprovedSITDurationUpdateOK) WithPayload ¶
func (o *CreateApprovedSITDurationUpdateOK) WithPayload(payload *ghcmessages.MTOShipment) *CreateApprovedSITDurationUpdateOK
WithPayload adds the payload to the create approved s i t duration update o k response
func (*CreateApprovedSITDurationUpdateOK) WriteResponse ¶
func (o *CreateApprovedSITDurationUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateApprovedSITDurationUpdateParams ¶
type CreateApprovedSITDurationUpdateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*We want the shipment's eTag rather than the SIT Duration Update eTag as the SIT Duration Update is always associated with a shipment Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.CreateApprovedSITDurationUpdate /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
CreateApprovedSITDurationUpdateParams contains all the bound params for the create approved s i t duration update operation typically these are obtained from a http.Request
swagger:parameters createApprovedSITDurationUpdate
func NewCreateApprovedSITDurationUpdateParams ¶
func NewCreateApprovedSITDurationUpdateParams() CreateApprovedSITDurationUpdateParams
NewCreateApprovedSITDurationUpdateParams creates a new CreateApprovedSITDurationUpdateParams object
There are no default values defined in the spec.
func (*CreateApprovedSITDurationUpdateParams) BindRequest ¶
func (o *CreateApprovedSITDurationUpdateParams) 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 NewCreateApprovedSITDurationUpdateParams() beforehand.
type CreateApprovedSITDurationUpdateURL ¶
type CreateApprovedSITDurationUpdateURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
CreateApprovedSITDurationUpdateURL generates an URL for the create approved s i t duration update operation
func (*CreateApprovedSITDurationUpdateURL) Build ¶
func (o *CreateApprovedSITDurationUpdateURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateApprovedSITDurationUpdateURL) BuildFull ¶
func (o *CreateApprovedSITDurationUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateApprovedSITDurationUpdateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateApprovedSITDurationUpdateURL) SetBasePath ¶
func (o *CreateApprovedSITDurationUpdateURL) 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 (*CreateApprovedSITDurationUpdateURL) String ¶
func (o *CreateApprovedSITDurationUpdateURL) String() string
String returns the string representation of the path with query string
func (*CreateApprovedSITDurationUpdateURL) StringFull ¶
func (o *CreateApprovedSITDurationUpdateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateApprovedSITDurationUpdateURL) WithBasePath ¶
func (o *CreateApprovedSITDurationUpdateURL) WithBasePath(bp string) *CreateApprovedSITDurationUpdateURL
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 CreateApprovedSITDurationUpdateUnprocessableEntity ¶
type CreateApprovedSITDurationUpdateUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
CreateApprovedSITDurationUpdateUnprocessableEntity The payload was unprocessable.
swagger:response createApprovedSITDurationUpdateUnprocessableEntity
func NewCreateApprovedSITDurationUpdateUnprocessableEntity ¶
func NewCreateApprovedSITDurationUpdateUnprocessableEntity() *CreateApprovedSITDurationUpdateUnprocessableEntity
NewCreateApprovedSITDurationUpdateUnprocessableEntity creates CreateApprovedSITDurationUpdateUnprocessableEntity with default headers values
func (*CreateApprovedSITDurationUpdateUnprocessableEntity) SetPayload ¶
func (o *CreateApprovedSITDurationUpdateUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the create approved s i t duration update unprocessable entity response
func (*CreateApprovedSITDurationUpdateUnprocessableEntity) WithPayload ¶
func (o *CreateApprovedSITDurationUpdateUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *CreateApprovedSITDurationUpdateUnprocessableEntity
WithPayload adds the payload to the create approved s i t duration update unprocessable entity response
func (*CreateApprovedSITDurationUpdateUnprocessableEntity) WriteResponse ¶
func (o *CreateApprovedSITDurationUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipment ¶
type DeleteShipment struct { Context *middleware.Context Handler DeleteShipmentHandler }
DeleteShipment swagger:route DELETE /shipments/{shipmentID} shipment deleteShipment
Soft deletes a shipment by ID ¶
Soft deletes a shipment by ID
func NewDeleteShipment ¶
func NewDeleteShipment(ctx *middleware.Context, handler DeleteShipmentHandler) *DeleteShipment
NewDeleteShipment creates a new http.Handler for the delete shipment operation
func (*DeleteShipment) ServeHTTP ¶
func (o *DeleteShipment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteShipmentBadRequest ¶
type DeleteShipmentBadRequest struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DeleteShipmentBadRequest The request payload is invalid
swagger:response deleteShipmentBadRequest
func NewDeleteShipmentBadRequest ¶
func NewDeleteShipmentBadRequest() *DeleteShipmentBadRequest
NewDeleteShipmentBadRequest creates DeleteShipmentBadRequest with default headers values
func (*DeleteShipmentBadRequest) SetPayload ¶
func (o *DeleteShipmentBadRequest) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the delete shipment bad request response
func (*DeleteShipmentBadRequest) WithPayload ¶
func (o *DeleteShipmentBadRequest) WithPayload(payload *ghcmessages.Error) *DeleteShipmentBadRequest
WithPayload adds the payload to the delete shipment bad request response
func (*DeleteShipmentBadRequest) WriteResponse ¶
func (o *DeleteShipmentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipmentConflict ¶
type DeleteShipmentConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DeleteShipmentConflict Conflict error
swagger:response deleteShipmentConflict
func NewDeleteShipmentConflict ¶
func NewDeleteShipmentConflict() *DeleteShipmentConflict
NewDeleteShipmentConflict creates DeleteShipmentConflict with default headers values
func (*DeleteShipmentConflict) SetPayload ¶
func (o *DeleteShipmentConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the delete shipment conflict response
func (*DeleteShipmentConflict) WithPayload ¶
func (o *DeleteShipmentConflict) WithPayload(payload *ghcmessages.Error) *DeleteShipmentConflict
WithPayload adds the payload to the delete shipment conflict response
func (*DeleteShipmentConflict) WriteResponse ¶
func (o *DeleteShipmentConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipmentForbidden ¶
type DeleteShipmentForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DeleteShipmentForbidden The request was denied
swagger:response deleteShipmentForbidden
func NewDeleteShipmentForbidden ¶
func NewDeleteShipmentForbidden() *DeleteShipmentForbidden
NewDeleteShipmentForbidden creates DeleteShipmentForbidden with default headers values
func (*DeleteShipmentForbidden) SetPayload ¶
func (o *DeleteShipmentForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the delete shipment forbidden response
func (*DeleteShipmentForbidden) WithPayload ¶
func (o *DeleteShipmentForbidden) WithPayload(payload *ghcmessages.Error) *DeleteShipmentForbidden
WithPayload adds the payload to the delete shipment forbidden response
func (*DeleteShipmentForbidden) WriteResponse ¶
func (o *DeleteShipmentForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipmentHandler ¶
type DeleteShipmentHandler interface {
Handle(DeleteShipmentParams) middleware.Responder
}
DeleteShipmentHandler interface for that can handle valid delete shipment params
type DeleteShipmentHandlerFunc ¶
type DeleteShipmentHandlerFunc func(DeleteShipmentParams) middleware.Responder
DeleteShipmentHandlerFunc turns a function with the right signature into a delete shipment handler
func (DeleteShipmentHandlerFunc) Handle ¶
func (fn DeleteShipmentHandlerFunc) Handle(params DeleteShipmentParams) middleware.Responder
Handle executing the request and returning a response
type DeleteShipmentInternalServerError ¶
type DeleteShipmentInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DeleteShipmentInternalServerError A server error occurred
swagger:response deleteShipmentInternalServerError
func NewDeleteShipmentInternalServerError ¶
func NewDeleteShipmentInternalServerError() *DeleteShipmentInternalServerError
NewDeleteShipmentInternalServerError creates DeleteShipmentInternalServerError with default headers values
func (*DeleteShipmentInternalServerError) SetPayload ¶
func (o *DeleteShipmentInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the delete shipment internal server error response
func (*DeleteShipmentInternalServerError) WithPayload ¶
func (o *DeleteShipmentInternalServerError) WithPayload(payload *ghcmessages.Error) *DeleteShipmentInternalServerError
WithPayload adds the payload to the delete shipment internal server error response
func (*DeleteShipmentInternalServerError) WriteResponse ¶
func (o *DeleteShipmentInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipmentNoContent ¶
type DeleteShipmentNoContent struct { }
DeleteShipmentNoContent Successfully soft deleted the shipment
swagger:response deleteShipmentNoContent
func NewDeleteShipmentNoContent ¶
func NewDeleteShipmentNoContent() *DeleteShipmentNoContent
NewDeleteShipmentNoContent creates DeleteShipmentNoContent with default headers values
func (*DeleteShipmentNoContent) WriteResponse ¶
func (o *DeleteShipmentNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipmentNotFound ¶
type DeleteShipmentNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DeleteShipmentNotFound The requested resource wasn't found
swagger:response deleteShipmentNotFound
func NewDeleteShipmentNotFound ¶
func NewDeleteShipmentNotFound() *DeleteShipmentNotFound
NewDeleteShipmentNotFound creates DeleteShipmentNotFound with default headers values
func (*DeleteShipmentNotFound) SetPayload ¶
func (o *DeleteShipmentNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the delete shipment not found response
func (*DeleteShipmentNotFound) WithPayload ¶
func (o *DeleteShipmentNotFound) WithPayload(payload *ghcmessages.Error) *DeleteShipmentNotFound
WithPayload adds the payload to the delete shipment not found response
func (*DeleteShipmentNotFound) WriteResponse ¶
func (o *DeleteShipmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteShipmentParams ¶
type DeleteShipmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the shipment to be deleted Required: true In: path */ ShipmentID strfmt.UUID }
DeleteShipmentParams contains all the bound params for the delete shipment operation typically these are obtained from a http.Request
swagger:parameters deleteShipment
func NewDeleteShipmentParams ¶
func NewDeleteShipmentParams() DeleteShipmentParams
NewDeleteShipmentParams creates a new DeleteShipmentParams object
There are no default values defined in the spec.
func (*DeleteShipmentParams) BindRequest ¶
func (o *DeleteShipmentParams) 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 NewDeleteShipmentParams() beforehand.
type DeleteShipmentURL ¶
DeleteShipmentURL generates an URL for the delete shipment operation
func (*DeleteShipmentURL) Build ¶
func (o *DeleteShipmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteShipmentURL) BuildFull ¶
func (o *DeleteShipmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteShipmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteShipmentURL) SetBasePath ¶
func (o *DeleteShipmentURL) 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 (*DeleteShipmentURL) String ¶
func (o *DeleteShipmentURL) String() string
String returns the string representation of the path with query string
func (*DeleteShipmentURL) StringFull ¶
func (o *DeleteShipmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteShipmentURL) WithBasePath ¶
func (o *DeleteShipmentURL) WithBasePath(bp string) *DeleteShipmentURL
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 DeleteShipmentUnprocessableEntity ¶
type DeleteShipmentUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
DeleteShipmentUnprocessableEntity The payload was unprocessable.
swagger:response deleteShipmentUnprocessableEntity
func NewDeleteShipmentUnprocessableEntity ¶
func NewDeleteShipmentUnprocessableEntity() *DeleteShipmentUnprocessableEntity
NewDeleteShipmentUnprocessableEntity creates DeleteShipmentUnprocessableEntity with default headers values
func (*DeleteShipmentUnprocessableEntity) SetPayload ¶
func (o *DeleteShipmentUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the delete shipment unprocessable entity response
func (*DeleteShipmentUnprocessableEntity) WithPayload ¶
func (o *DeleteShipmentUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *DeleteShipmentUnprocessableEntity
WithPayload adds the payload to the delete shipment unprocessable entity response
func (*DeleteShipmentUnprocessableEntity) WriteResponse ¶
func (o *DeleteShipmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtension ¶
type DenySITExtension struct { Context *middleware.Context Handler DenySITExtensionHandler }
DenySITExtension swagger:route PATCH /shipments/{shipmentID}/sit-extensions/{sitExtensionID}/deny shipment sitExtension denySITExtension
Denies a SIT extension ¶
Denies a SIT extension
func NewDenySITExtension ¶
func NewDenySITExtension(ctx *middleware.Context, handler DenySITExtensionHandler) *DenySITExtension
NewDenySITExtension creates a new http.Handler for the deny s i t extension operation
func (*DenySITExtension) ServeHTTP ¶
func (o *DenySITExtension) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DenySITExtensionConflict ¶
type DenySITExtensionConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DenySITExtensionConflict Conflict error
swagger:response denySITExtensionConflict
func NewDenySITExtensionConflict ¶
func NewDenySITExtensionConflict() *DenySITExtensionConflict
NewDenySITExtensionConflict creates DenySITExtensionConflict with default headers values
func (*DenySITExtensionConflict) SetPayload ¶
func (o *DenySITExtensionConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the deny s i t extension conflict response
func (*DenySITExtensionConflict) WithPayload ¶
func (o *DenySITExtensionConflict) WithPayload(payload *ghcmessages.Error) *DenySITExtensionConflict
WithPayload adds the payload to the deny s i t extension conflict response
func (*DenySITExtensionConflict) WriteResponse ¶
func (o *DenySITExtensionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtensionForbidden ¶
type DenySITExtensionForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DenySITExtensionForbidden The request was denied
swagger:response denySITExtensionForbidden
func NewDenySITExtensionForbidden ¶
func NewDenySITExtensionForbidden() *DenySITExtensionForbidden
NewDenySITExtensionForbidden creates DenySITExtensionForbidden with default headers values
func (*DenySITExtensionForbidden) SetPayload ¶
func (o *DenySITExtensionForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the deny s i t extension forbidden response
func (*DenySITExtensionForbidden) WithPayload ¶
func (o *DenySITExtensionForbidden) WithPayload(payload *ghcmessages.Error) *DenySITExtensionForbidden
WithPayload adds the payload to the deny s i t extension forbidden response
func (*DenySITExtensionForbidden) WriteResponse ¶
func (o *DenySITExtensionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtensionHandler ¶
type DenySITExtensionHandler interface {
Handle(DenySITExtensionParams) middleware.Responder
}
DenySITExtensionHandler interface for that can handle valid deny s i t extension params
type DenySITExtensionHandlerFunc ¶
type DenySITExtensionHandlerFunc func(DenySITExtensionParams) middleware.Responder
DenySITExtensionHandlerFunc turns a function with the right signature into a deny s i t extension handler
func (DenySITExtensionHandlerFunc) Handle ¶
func (fn DenySITExtensionHandlerFunc) Handle(params DenySITExtensionParams) middleware.Responder
Handle executing the request and returning a response
type DenySITExtensionInternalServerError ¶
type DenySITExtensionInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DenySITExtensionInternalServerError A server error occurred
swagger:response denySITExtensionInternalServerError
func NewDenySITExtensionInternalServerError ¶
func NewDenySITExtensionInternalServerError() *DenySITExtensionInternalServerError
NewDenySITExtensionInternalServerError creates DenySITExtensionInternalServerError with default headers values
func (*DenySITExtensionInternalServerError) SetPayload ¶
func (o *DenySITExtensionInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the deny s i t extension internal server error response
func (*DenySITExtensionInternalServerError) WithPayload ¶
func (o *DenySITExtensionInternalServerError) WithPayload(payload *ghcmessages.Error) *DenySITExtensionInternalServerError
WithPayload adds the payload to the deny s i t extension internal server error response
func (*DenySITExtensionInternalServerError) WriteResponse ¶
func (o *DenySITExtensionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtensionNotFound ¶
type DenySITExtensionNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DenySITExtensionNotFound The requested resource wasn't found
swagger:response denySITExtensionNotFound
func NewDenySITExtensionNotFound ¶
func NewDenySITExtensionNotFound() *DenySITExtensionNotFound
NewDenySITExtensionNotFound creates DenySITExtensionNotFound with default headers values
func (*DenySITExtensionNotFound) SetPayload ¶
func (o *DenySITExtensionNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the deny s i t extension not found response
func (*DenySITExtensionNotFound) WithPayload ¶
func (o *DenySITExtensionNotFound) WithPayload(payload *ghcmessages.Error) *DenySITExtensionNotFound
WithPayload adds the payload to the deny s i t extension not found response
func (*DenySITExtensionNotFound) WriteResponse ¶
func (o *DenySITExtensionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtensionOK ¶
type DenySITExtensionOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
DenySITExtensionOK Successfully denied a SIT extension
swagger:response denySITExtensionOK
func NewDenySITExtensionOK ¶
func NewDenySITExtensionOK() *DenySITExtensionOK
NewDenySITExtensionOK creates DenySITExtensionOK with default headers values
func (*DenySITExtensionOK) SetPayload ¶
func (o *DenySITExtensionOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the deny s i t extension o k response
func (*DenySITExtensionOK) WithPayload ¶
func (o *DenySITExtensionOK) WithPayload(payload *ghcmessages.MTOShipment) *DenySITExtensionOK
WithPayload adds the payload to the deny s i t extension o k response
func (*DenySITExtensionOK) WriteResponse ¶
func (o *DenySITExtensionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtensionParams ¶
type DenySITExtensionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.DenySITExtension /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID /*ID of the SIT extension Required: true In: path */ SitExtensionID strfmt.UUID }
DenySITExtensionParams contains all the bound params for the deny s i t extension operation typically these are obtained from a http.Request
swagger:parameters denySITExtension
func NewDenySITExtensionParams ¶
func NewDenySITExtensionParams() DenySITExtensionParams
NewDenySITExtensionParams creates a new DenySITExtensionParams object
There are no default values defined in the spec.
func (*DenySITExtensionParams) BindRequest ¶
func (o *DenySITExtensionParams) 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 NewDenySITExtensionParams() beforehand.
type DenySITExtensionPreconditionFailed ¶
type DenySITExtensionPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
DenySITExtensionPreconditionFailed Precondition failed
swagger:response denySITExtensionPreconditionFailed
func NewDenySITExtensionPreconditionFailed ¶
func NewDenySITExtensionPreconditionFailed() *DenySITExtensionPreconditionFailed
NewDenySITExtensionPreconditionFailed creates DenySITExtensionPreconditionFailed with default headers values
func (*DenySITExtensionPreconditionFailed) SetPayload ¶
func (o *DenySITExtensionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the deny s i t extension precondition failed response
func (*DenySITExtensionPreconditionFailed) WithPayload ¶
func (o *DenySITExtensionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *DenySITExtensionPreconditionFailed
WithPayload adds the payload to the deny s i t extension precondition failed response
func (*DenySITExtensionPreconditionFailed) WriteResponse ¶
func (o *DenySITExtensionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DenySITExtensionURL ¶
type DenySITExtensionURL struct { ShipmentID strfmt.UUID SitExtensionID strfmt.UUID // contains filtered or unexported fields }
DenySITExtensionURL generates an URL for the deny s i t extension operation
func (*DenySITExtensionURL) Build ¶
func (o *DenySITExtensionURL) Build() (*url.URL, error)
Build a url path and query string
func (*DenySITExtensionURL) BuildFull ¶
func (o *DenySITExtensionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DenySITExtensionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DenySITExtensionURL) SetBasePath ¶
func (o *DenySITExtensionURL) 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 (*DenySITExtensionURL) String ¶
func (o *DenySITExtensionURL) String() string
String returns the string representation of the path with query string
func (*DenySITExtensionURL) StringFull ¶
func (o *DenySITExtensionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DenySITExtensionURL) WithBasePath ¶
func (o *DenySITExtensionURL) WithBasePath(bp string) *DenySITExtensionURL
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 DenySITExtensionUnprocessableEntity ¶
type DenySITExtensionUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
DenySITExtensionUnprocessableEntity The payload was unprocessable.
swagger:response denySITExtensionUnprocessableEntity
func NewDenySITExtensionUnprocessableEntity ¶
func NewDenySITExtensionUnprocessableEntity() *DenySITExtensionUnprocessableEntity
NewDenySITExtensionUnprocessableEntity creates DenySITExtensionUnprocessableEntity with default headers values
func (*DenySITExtensionUnprocessableEntity) SetPayload ¶
func (o *DenySITExtensionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the deny s i t extension unprocessable entity response
func (*DenySITExtensionUnprocessableEntity) WithPayload ¶
func (o *DenySITExtensionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *DenySITExtensionUnprocessableEntity
WithPayload adds the payload to the deny s i t extension unprocessable entity response
func (*DenySITExtensionUnprocessableEntity) WriteResponse ¶
func (o *DenySITExtensionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipment ¶
type RejectShipment struct { Context *middleware.Context Handler RejectShipmentHandler }
RejectShipment swagger:route POST /shipments/{shipmentID}/reject shipment rejectShipment
rejects a shipment
rejects a shipment
func NewRejectShipment ¶
func NewRejectShipment(ctx *middleware.Context, handler RejectShipmentHandler) *RejectShipment
NewRejectShipment creates a new http.Handler for the reject shipment operation
func (*RejectShipment) ServeHTTP ¶
func (o *RejectShipment) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RejectShipmentConflict ¶
type RejectShipmentConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RejectShipmentConflict Conflict error
swagger:response rejectShipmentConflict
func NewRejectShipmentConflict ¶
func NewRejectShipmentConflict() *RejectShipmentConflict
NewRejectShipmentConflict creates RejectShipmentConflict with default headers values
func (*RejectShipmentConflict) SetPayload ¶
func (o *RejectShipmentConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the reject shipment conflict response
func (*RejectShipmentConflict) WithPayload ¶
func (o *RejectShipmentConflict) WithPayload(payload *ghcmessages.Error) *RejectShipmentConflict
WithPayload adds the payload to the reject shipment conflict response
func (*RejectShipmentConflict) WriteResponse ¶
func (o *RejectShipmentConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipmentForbidden ¶
type RejectShipmentForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RejectShipmentForbidden The request was denied
swagger:response rejectShipmentForbidden
func NewRejectShipmentForbidden ¶
func NewRejectShipmentForbidden() *RejectShipmentForbidden
NewRejectShipmentForbidden creates RejectShipmentForbidden with default headers values
func (*RejectShipmentForbidden) SetPayload ¶
func (o *RejectShipmentForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the reject shipment forbidden response
func (*RejectShipmentForbidden) WithPayload ¶
func (o *RejectShipmentForbidden) WithPayload(payload *ghcmessages.Error) *RejectShipmentForbidden
WithPayload adds the payload to the reject shipment forbidden response
func (*RejectShipmentForbidden) WriteResponse ¶
func (o *RejectShipmentForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipmentHandler ¶
type RejectShipmentHandler interface {
Handle(RejectShipmentParams) middleware.Responder
}
RejectShipmentHandler interface for that can handle valid reject shipment params
type RejectShipmentHandlerFunc ¶
type RejectShipmentHandlerFunc func(RejectShipmentParams) middleware.Responder
RejectShipmentHandlerFunc turns a function with the right signature into a reject shipment handler
func (RejectShipmentHandlerFunc) Handle ¶
func (fn RejectShipmentHandlerFunc) Handle(params RejectShipmentParams) middleware.Responder
Handle executing the request and returning a response
type RejectShipmentInternalServerError ¶
type RejectShipmentInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RejectShipmentInternalServerError A server error occurred
swagger:response rejectShipmentInternalServerError
func NewRejectShipmentInternalServerError ¶
func NewRejectShipmentInternalServerError() *RejectShipmentInternalServerError
NewRejectShipmentInternalServerError creates RejectShipmentInternalServerError with default headers values
func (*RejectShipmentInternalServerError) SetPayload ¶
func (o *RejectShipmentInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the reject shipment internal server error response
func (*RejectShipmentInternalServerError) WithPayload ¶
func (o *RejectShipmentInternalServerError) WithPayload(payload *ghcmessages.Error) *RejectShipmentInternalServerError
WithPayload adds the payload to the reject shipment internal server error response
func (*RejectShipmentInternalServerError) WriteResponse ¶
func (o *RejectShipmentInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipmentNotFound ¶
type RejectShipmentNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RejectShipmentNotFound The requested resource wasn't found
swagger:response rejectShipmentNotFound
func NewRejectShipmentNotFound ¶
func NewRejectShipmentNotFound() *RejectShipmentNotFound
NewRejectShipmentNotFound creates RejectShipmentNotFound with default headers values
func (*RejectShipmentNotFound) SetPayload ¶
func (o *RejectShipmentNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the reject shipment not found response
func (*RejectShipmentNotFound) WithPayload ¶
func (o *RejectShipmentNotFound) WithPayload(payload *ghcmessages.Error) *RejectShipmentNotFound
WithPayload adds the payload to the reject shipment not found response
func (*RejectShipmentNotFound) WriteResponse ¶
func (o *RejectShipmentNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipmentOK ¶
type RejectShipmentOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
RejectShipmentOK Successfully rejected the shipment
swagger:response rejectShipmentOK
func NewRejectShipmentOK ¶
func NewRejectShipmentOK() *RejectShipmentOK
NewRejectShipmentOK creates RejectShipmentOK with default headers values
func (*RejectShipmentOK) SetPayload ¶
func (o *RejectShipmentOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the reject shipment o k response
func (*RejectShipmentOK) WithPayload ¶
func (o *RejectShipmentOK) WithPayload(payload *ghcmessages.MTOShipment) *RejectShipmentOK
WithPayload adds the payload to the reject shipment o k response
func (*RejectShipmentOK) WriteResponse ¶
func (o *RejectShipmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipmentParams ¶
type RejectShipmentParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.RejectShipment /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
RejectShipmentParams contains all the bound params for the reject shipment operation typically these are obtained from a http.Request
swagger:parameters rejectShipment
func NewRejectShipmentParams ¶
func NewRejectShipmentParams() RejectShipmentParams
NewRejectShipmentParams creates a new RejectShipmentParams object
There are no default values defined in the spec.
func (*RejectShipmentParams) BindRequest ¶
func (o *RejectShipmentParams) 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 NewRejectShipmentParams() beforehand.
type RejectShipmentPreconditionFailed ¶
type RejectShipmentPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RejectShipmentPreconditionFailed Precondition failed
swagger:response rejectShipmentPreconditionFailed
func NewRejectShipmentPreconditionFailed ¶
func NewRejectShipmentPreconditionFailed() *RejectShipmentPreconditionFailed
NewRejectShipmentPreconditionFailed creates RejectShipmentPreconditionFailed with default headers values
func (*RejectShipmentPreconditionFailed) SetPayload ¶
func (o *RejectShipmentPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the reject shipment precondition failed response
func (*RejectShipmentPreconditionFailed) WithPayload ¶
func (o *RejectShipmentPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RejectShipmentPreconditionFailed
WithPayload adds the payload to the reject shipment precondition failed response
func (*RejectShipmentPreconditionFailed) WriteResponse ¶
func (o *RejectShipmentPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RejectShipmentURL ¶
RejectShipmentURL generates an URL for the reject shipment operation
func (*RejectShipmentURL) Build ¶
func (o *RejectShipmentURL) Build() (*url.URL, error)
Build a url path and query string
func (*RejectShipmentURL) BuildFull ¶
func (o *RejectShipmentURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RejectShipmentURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RejectShipmentURL) SetBasePath ¶
func (o *RejectShipmentURL) 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 (*RejectShipmentURL) String ¶
func (o *RejectShipmentURL) String() string
String returns the string representation of the path with query string
func (*RejectShipmentURL) StringFull ¶
func (o *RejectShipmentURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RejectShipmentURL) WithBasePath ¶
func (o *RejectShipmentURL) WithBasePath(bp string) *RejectShipmentURL
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 RejectShipmentUnprocessableEntity ¶
type RejectShipmentUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
RejectShipmentUnprocessableEntity The payload was unprocessable.
swagger:response rejectShipmentUnprocessableEntity
func NewRejectShipmentUnprocessableEntity ¶
func NewRejectShipmentUnprocessableEntity() *RejectShipmentUnprocessableEntity
NewRejectShipmentUnprocessableEntity creates RejectShipmentUnprocessableEntity with default headers values
func (*RejectShipmentUnprocessableEntity) SetPayload ¶
func (o *RejectShipmentUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the reject shipment unprocessable entity response
func (*RejectShipmentUnprocessableEntity) WithPayload ¶
func (o *RejectShipmentUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RejectShipmentUnprocessableEntity
WithPayload adds the payload to the reject shipment unprocessable entity response
func (*RejectShipmentUnprocessableEntity) WriteResponse ¶
func (o *RejectShipmentUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellation ¶
type RequestShipmentCancellation struct { Context *middleware.Context Handler RequestShipmentCancellationHandler }
RequestShipmentCancellation swagger:route POST /shipments/{shipmentID}/request-cancellation shipment requestShipmentCancellation
Requests a shipment cancellation ¶
Requests a shipment cancellation
func NewRequestShipmentCancellation ¶
func NewRequestShipmentCancellation(ctx *middleware.Context, handler RequestShipmentCancellationHandler) *RequestShipmentCancellation
NewRequestShipmentCancellation creates a new http.Handler for the request shipment cancellation operation
func (*RequestShipmentCancellation) ServeHTTP ¶
func (o *RequestShipmentCancellation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RequestShipmentCancellationConflict ¶
type RequestShipmentCancellationConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentCancellationConflict Conflict error
swagger:response requestShipmentCancellationConflict
func NewRequestShipmentCancellationConflict ¶
func NewRequestShipmentCancellationConflict() *RequestShipmentCancellationConflict
NewRequestShipmentCancellationConflict creates RequestShipmentCancellationConflict with default headers values
func (*RequestShipmentCancellationConflict) SetPayload ¶
func (o *RequestShipmentCancellationConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment cancellation conflict response
func (*RequestShipmentCancellationConflict) WithPayload ¶
func (o *RequestShipmentCancellationConflict) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationConflict
WithPayload adds the payload to the request shipment cancellation conflict response
func (*RequestShipmentCancellationConflict) WriteResponse ¶
func (o *RequestShipmentCancellationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellationForbidden ¶
type RequestShipmentCancellationForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentCancellationForbidden The request was denied
swagger:response requestShipmentCancellationForbidden
func NewRequestShipmentCancellationForbidden ¶
func NewRequestShipmentCancellationForbidden() *RequestShipmentCancellationForbidden
NewRequestShipmentCancellationForbidden creates RequestShipmentCancellationForbidden with default headers values
func (*RequestShipmentCancellationForbidden) SetPayload ¶
func (o *RequestShipmentCancellationForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment cancellation forbidden response
func (*RequestShipmentCancellationForbidden) WithPayload ¶
func (o *RequestShipmentCancellationForbidden) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationForbidden
WithPayload adds the payload to the request shipment cancellation forbidden response
func (*RequestShipmentCancellationForbidden) WriteResponse ¶
func (o *RequestShipmentCancellationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellationHandler ¶
type RequestShipmentCancellationHandler interface {
Handle(RequestShipmentCancellationParams) middleware.Responder
}
RequestShipmentCancellationHandler interface for that can handle valid request shipment cancellation params
type RequestShipmentCancellationHandlerFunc ¶
type RequestShipmentCancellationHandlerFunc func(RequestShipmentCancellationParams) middleware.Responder
RequestShipmentCancellationHandlerFunc turns a function with the right signature into a request shipment cancellation handler
func (RequestShipmentCancellationHandlerFunc) Handle ¶
func (fn RequestShipmentCancellationHandlerFunc) Handle(params RequestShipmentCancellationParams) middleware.Responder
Handle executing the request and returning a response
type RequestShipmentCancellationInternalServerError ¶
type RequestShipmentCancellationInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentCancellationInternalServerError A server error occurred
swagger:response requestShipmentCancellationInternalServerError
func NewRequestShipmentCancellationInternalServerError ¶
func NewRequestShipmentCancellationInternalServerError() *RequestShipmentCancellationInternalServerError
NewRequestShipmentCancellationInternalServerError creates RequestShipmentCancellationInternalServerError with default headers values
func (*RequestShipmentCancellationInternalServerError) SetPayload ¶
func (o *RequestShipmentCancellationInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment cancellation internal server error response
func (*RequestShipmentCancellationInternalServerError) WithPayload ¶
func (o *RequestShipmentCancellationInternalServerError) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationInternalServerError
WithPayload adds the payload to the request shipment cancellation internal server error response
func (*RequestShipmentCancellationInternalServerError) WriteResponse ¶
func (o *RequestShipmentCancellationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellationNotFound ¶
type RequestShipmentCancellationNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentCancellationNotFound The requested resource wasn't found
swagger:response requestShipmentCancellationNotFound
func NewRequestShipmentCancellationNotFound ¶
func NewRequestShipmentCancellationNotFound() *RequestShipmentCancellationNotFound
NewRequestShipmentCancellationNotFound creates RequestShipmentCancellationNotFound with default headers values
func (*RequestShipmentCancellationNotFound) SetPayload ¶
func (o *RequestShipmentCancellationNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment cancellation not found response
func (*RequestShipmentCancellationNotFound) WithPayload ¶
func (o *RequestShipmentCancellationNotFound) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationNotFound
WithPayload adds the payload to the request shipment cancellation not found response
func (*RequestShipmentCancellationNotFound) WriteResponse ¶
func (o *RequestShipmentCancellationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellationOK ¶
type RequestShipmentCancellationOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
RequestShipmentCancellationOK Successfully requested the shipment cancellation
swagger:response requestShipmentCancellationOK
func NewRequestShipmentCancellationOK ¶
func NewRequestShipmentCancellationOK() *RequestShipmentCancellationOK
NewRequestShipmentCancellationOK creates RequestShipmentCancellationOK with default headers values
func (*RequestShipmentCancellationOK) SetPayload ¶
func (o *RequestShipmentCancellationOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the request shipment cancellation o k response
func (*RequestShipmentCancellationOK) WithPayload ¶
func (o *RequestShipmentCancellationOK) WithPayload(payload *ghcmessages.MTOShipment) *RequestShipmentCancellationOK
WithPayload adds the payload to the request shipment cancellation o k response
func (*RequestShipmentCancellationOK) WriteResponse ¶
func (o *RequestShipmentCancellationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellationParams ¶
type RequestShipmentCancellationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
RequestShipmentCancellationParams contains all the bound params for the request shipment cancellation operation typically these are obtained from a http.Request
swagger:parameters requestShipmentCancellation
func NewRequestShipmentCancellationParams ¶
func NewRequestShipmentCancellationParams() RequestShipmentCancellationParams
NewRequestShipmentCancellationParams creates a new RequestShipmentCancellationParams object
There are no default values defined in the spec.
func (*RequestShipmentCancellationParams) BindRequest ¶
func (o *RequestShipmentCancellationParams) 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 NewRequestShipmentCancellationParams() beforehand.
type RequestShipmentCancellationPreconditionFailed ¶
type RequestShipmentCancellationPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentCancellationPreconditionFailed Precondition failed
swagger:response requestShipmentCancellationPreconditionFailed
func NewRequestShipmentCancellationPreconditionFailed ¶
func NewRequestShipmentCancellationPreconditionFailed() *RequestShipmentCancellationPreconditionFailed
NewRequestShipmentCancellationPreconditionFailed creates RequestShipmentCancellationPreconditionFailed with default headers values
func (*RequestShipmentCancellationPreconditionFailed) SetPayload ¶
func (o *RequestShipmentCancellationPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment cancellation precondition failed response
func (*RequestShipmentCancellationPreconditionFailed) WithPayload ¶
func (o *RequestShipmentCancellationPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RequestShipmentCancellationPreconditionFailed
WithPayload adds the payload to the request shipment cancellation precondition failed response
func (*RequestShipmentCancellationPreconditionFailed) WriteResponse ¶
func (o *RequestShipmentCancellationPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentCancellationURL ¶
type RequestShipmentCancellationURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
RequestShipmentCancellationURL generates an URL for the request shipment cancellation operation
func (*RequestShipmentCancellationURL) Build ¶
func (o *RequestShipmentCancellationURL) Build() (*url.URL, error)
Build a url path and query string
func (*RequestShipmentCancellationURL) BuildFull ¶
func (o *RequestShipmentCancellationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RequestShipmentCancellationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RequestShipmentCancellationURL) SetBasePath ¶
func (o *RequestShipmentCancellationURL) 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 (*RequestShipmentCancellationURL) String ¶
func (o *RequestShipmentCancellationURL) String() string
String returns the string representation of the path with query string
func (*RequestShipmentCancellationURL) StringFull ¶
func (o *RequestShipmentCancellationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RequestShipmentCancellationURL) WithBasePath ¶
func (o *RequestShipmentCancellationURL) WithBasePath(bp string) *RequestShipmentCancellationURL
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 RequestShipmentCancellationUnprocessableEntity ¶
type RequestShipmentCancellationUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
RequestShipmentCancellationUnprocessableEntity The payload was unprocessable.
swagger:response requestShipmentCancellationUnprocessableEntity
func NewRequestShipmentCancellationUnprocessableEntity ¶
func NewRequestShipmentCancellationUnprocessableEntity() *RequestShipmentCancellationUnprocessableEntity
NewRequestShipmentCancellationUnprocessableEntity creates RequestShipmentCancellationUnprocessableEntity with default headers values
func (*RequestShipmentCancellationUnprocessableEntity) SetPayload ¶
func (o *RequestShipmentCancellationUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the request shipment cancellation unprocessable entity response
func (*RequestShipmentCancellationUnprocessableEntity) WithPayload ¶
func (o *RequestShipmentCancellationUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RequestShipmentCancellationUnprocessableEntity
WithPayload adds the payload to the request shipment cancellation unprocessable entity response
func (*RequestShipmentCancellationUnprocessableEntity) WriteResponse ¶
func (o *RequestShipmentCancellationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversion ¶
type RequestShipmentDiversion struct { Context *middleware.Context Handler RequestShipmentDiversionHandler }
RequestShipmentDiversion swagger:route POST /shipments/{shipmentID}/request-diversion shipment requestShipmentDiversion
Requests a shipment diversion ¶
Requests a shipment diversion
func NewRequestShipmentDiversion ¶
func NewRequestShipmentDiversion(ctx *middleware.Context, handler RequestShipmentDiversionHandler) *RequestShipmentDiversion
NewRequestShipmentDiversion creates a new http.Handler for the request shipment diversion operation
func (*RequestShipmentDiversion) ServeHTTP ¶
func (o *RequestShipmentDiversion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RequestShipmentDiversionConflict ¶
type RequestShipmentDiversionConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentDiversionConflict Conflict error
swagger:response requestShipmentDiversionConflict
func NewRequestShipmentDiversionConflict ¶
func NewRequestShipmentDiversionConflict() *RequestShipmentDiversionConflict
NewRequestShipmentDiversionConflict creates RequestShipmentDiversionConflict with default headers values
func (*RequestShipmentDiversionConflict) SetPayload ¶
func (o *RequestShipmentDiversionConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment diversion conflict response
func (*RequestShipmentDiversionConflict) WithPayload ¶
func (o *RequestShipmentDiversionConflict) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionConflict
WithPayload adds the payload to the request shipment diversion conflict response
func (*RequestShipmentDiversionConflict) WriteResponse ¶
func (o *RequestShipmentDiversionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversionForbidden ¶
type RequestShipmentDiversionForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentDiversionForbidden The request was denied
swagger:response requestShipmentDiversionForbidden
func NewRequestShipmentDiversionForbidden ¶
func NewRequestShipmentDiversionForbidden() *RequestShipmentDiversionForbidden
NewRequestShipmentDiversionForbidden creates RequestShipmentDiversionForbidden with default headers values
func (*RequestShipmentDiversionForbidden) SetPayload ¶
func (o *RequestShipmentDiversionForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment diversion forbidden response
func (*RequestShipmentDiversionForbidden) WithPayload ¶
func (o *RequestShipmentDiversionForbidden) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionForbidden
WithPayload adds the payload to the request shipment diversion forbidden response
func (*RequestShipmentDiversionForbidden) WriteResponse ¶
func (o *RequestShipmentDiversionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversionHandler ¶
type RequestShipmentDiversionHandler interface {
Handle(RequestShipmentDiversionParams) middleware.Responder
}
RequestShipmentDiversionHandler interface for that can handle valid request shipment diversion params
type RequestShipmentDiversionHandlerFunc ¶
type RequestShipmentDiversionHandlerFunc func(RequestShipmentDiversionParams) middleware.Responder
RequestShipmentDiversionHandlerFunc turns a function with the right signature into a request shipment diversion handler
func (RequestShipmentDiversionHandlerFunc) Handle ¶
func (fn RequestShipmentDiversionHandlerFunc) Handle(params RequestShipmentDiversionParams) middleware.Responder
Handle executing the request and returning a response
type RequestShipmentDiversionInternalServerError ¶
type RequestShipmentDiversionInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentDiversionInternalServerError A server error occurred
swagger:response requestShipmentDiversionInternalServerError
func NewRequestShipmentDiversionInternalServerError ¶
func NewRequestShipmentDiversionInternalServerError() *RequestShipmentDiversionInternalServerError
NewRequestShipmentDiversionInternalServerError creates RequestShipmentDiversionInternalServerError with default headers values
func (*RequestShipmentDiversionInternalServerError) SetPayload ¶
func (o *RequestShipmentDiversionInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment diversion internal server error response
func (*RequestShipmentDiversionInternalServerError) WithPayload ¶
func (o *RequestShipmentDiversionInternalServerError) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionInternalServerError
WithPayload adds the payload to the request shipment diversion internal server error response
func (*RequestShipmentDiversionInternalServerError) WriteResponse ¶
func (o *RequestShipmentDiversionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversionNotFound ¶
type RequestShipmentDiversionNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentDiversionNotFound The requested resource wasn't found
swagger:response requestShipmentDiversionNotFound
func NewRequestShipmentDiversionNotFound ¶
func NewRequestShipmentDiversionNotFound() *RequestShipmentDiversionNotFound
NewRequestShipmentDiversionNotFound creates RequestShipmentDiversionNotFound with default headers values
func (*RequestShipmentDiversionNotFound) SetPayload ¶
func (o *RequestShipmentDiversionNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment diversion not found response
func (*RequestShipmentDiversionNotFound) WithPayload ¶
func (o *RequestShipmentDiversionNotFound) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionNotFound
WithPayload adds the payload to the request shipment diversion not found response
func (*RequestShipmentDiversionNotFound) WriteResponse ¶
func (o *RequestShipmentDiversionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversionOK ¶
type RequestShipmentDiversionOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
RequestShipmentDiversionOK Successfully requested the shipment diversion
swagger:response requestShipmentDiversionOK
func NewRequestShipmentDiversionOK ¶
func NewRequestShipmentDiversionOK() *RequestShipmentDiversionOK
NewRequestShipmentDiversionOK creates RequestShipmentDiversionOK with default headers values
func (*RequestShipmentDiversionOK) SetPayload ¶
func (o *RequestShipmentDiversionOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the request shipment diversion o k response
func (*RequestShipmentDiversionOK) WithPayload ¶
func (o *RequestShipmentDiversionOK) WithPayload(payload *ghcmessages.MTOShipment) *RequestShipmentDiversionOK
WithPayload adds the payload to the request shipment diversion o k response
func (*RequestShipmentDiversionOK) WriteResponse ¶
func (o *RequestShipmentDiversionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversionParams ¶
type RequestShipmentDiversionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.RequestDiversion /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
RequestShipmentDiversionParams contains all the bound params for the request shipment diversion operation typically these are obtained from a http.Request
swagger:parameters requestShipmentDiversion
func NewRequestShipmentDiversionParams ¶
func NewRequestShipmentDiversionParams() RequestShipmentDiversionParams
NewRequestShipmentDiversionParams creates a new RequestShipmentDiversionParams object
There are no default values defined in the spec.
func (*RequestShipmentDiversionParams) BindRequest ¶
func (o *RequestShipmentDiversionParams) 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 NewRequestShipmentDiversionParams() beforehand.
type RequestShipmentDiversionPreconditionFailed ¶
type RequestShipmentDiversionPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentDiversionPreconditionFailed Precondition failed
swagger:response requestShipmentDiversionPreconditionFailed
func NewRequestShipmentDiversionPreconditionFailed ¶
func NewRequestShipmentDiversionPreconditionFailed() *RequestShipmentDiversionPreconditionFailed
NewRequestShipmentDiversionPreconditionFailed creates RequestShipmentDiversionPreconditionFailed with default headers values
func (*RequestShipmentDiversionPreconditionFailed) SetPayload ¶
func (o *RequestShipmentDiversionPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment diversion precondition failed response
func (*RequestShipmentDiversionPreconditionFailed) WithPayload ¶
func (o *RequestShipmentDiversionPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RequestShipmentDiversionPreconditionFailed
WithPayload adds the payload to the request shipment diversion precondition failed response
func (*RequestShipmentDiversionPreconditionFailed) WriteResponse ¶
func (o *RequestShipmentDiversionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentDiversionURL ¶
type RequestShipmentDiversionURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
RequestShipmentDiversionURL generates an URL for the request shipment diversion operation
func (*RequestShipmentDiversionURL) Build ¶
func (o *RequestShipmentDiversionURL) Build() (*url.URL, error)
Build a url path and query string
func (*RequestShipmentDiversionURL) BuildFull ¶
func (o *RequestShipmentDiversionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RequestShipmentDiversionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RequestShipmentDiversionURL) SetBasePath ¶
func (o *RequestShipmentDiversionURL) 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 (*RequestShipmentDiversionURL) String ¶
func (o *RequestShipmentDiversionURL) String() string
String returns the string representation of the path with query string
func (*RequestShipmentDiversionURL) StringFull ¶
func (o *RequestShipmentDiversionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RequestShipmentDiversionURL) WithBasePath ¶
func (o *RequestShipmentDiversionURL) WithBasePath(bp string) *RequestShipmentDiversionURL
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 RequestShipmentDiversionUnprocessableEntity ¶
type RequestShipmentDiversionUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
RequestShipmentDiversionUnprocessableEntity The payload was unprocessable.
swagger:response requestShipmentDiversionUnprocessableEntity
func NewRequestShipmentDiversionUnprocessableEntity ¶
func NewRequestShipmentDiversionUnprocessableEntity() *RequestShipmentDiversionUnprocessableEntity
NewRequestShipmentDiversionUnprocessableEntity creates RequestShipmentDiversionUnprocessableEntity with default headers values
func (*RequestShipmentDiversionUnprocessableEntity) SetPayload ¶
func (o *RequestShipmentDiversionUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the request shipment diversion unprocessable entity response
func (*RequestShipmentDiversionUnprocessableEntity) WithPayload ¶
func (o *RequestShipmentDiversionUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RequestShipmentDiversionUnprocessableEntity
WithPayload adds the payload to the request shipment diversion unprocessable entity response
func (*RequestShipmentDiversionUnprocessableEntity) WriteResponse ¶
func (o *RequestShipmentDiversionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweigh ¶
type RequestShipmentReweigh struct { Context *middleware.Context Handler RequestShipmentReweighHandler }
RequestShipmentReweigh swagger:route POST /shipments/{shipmentID}/request-reweigh shipment reweigh requestShipmentReweigh
Requests a shipment reweigh ¶
Requests a shipment reweigh
func NewRequestShipmentReweigh ¶
func NewRequestShipmentReweigh(ctx *middleware.Context, handler RequestShipmentReweighHandler) *RequestShipmentReweigh
NewRequestShipmentReweigh creates a new http.Handler for the request shipment reweigh operation
func (*RequestShipmentReweigh) ServeHTTP ¶
func (o *RequestShipmentReweigh) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RequestShipmentReweighConflict ¶
type RequestShipmentReweighConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentReweighConflict Conflict error
swagger:response requestShipmentReweighConflict
func NewRequestShipmentReweighConflict ¶
func NewRequestShipmentReweighConflict() *RequestShipmentReweighConflict
NewRequestShipmentReweighConflict creates RequestShipmentReweighConflict with default headers values
func (*RequestShipmentReweighConflict) SetPayload ¶
func (o *RequestShipmentReweighConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment reweigh conflict response
func (*RequestShipmentReweighConflict) WithPayload ¶
func (o *RequestShipmentReweighConflict) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighConflict
WithPayload adds the payload to the request shipment reweigh conflict response
func (*RequestShipmentReweighConflict) WriteResponse ¶
func (o *RequestShipmentReweighConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweighForbidden ¶
type RequestShipmentReweighForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentReweighForbidden The request was denied
swagger:response requestShipmentReweighForbidden
func NewRequestShipmentReweighForbidden ¶
func NewRequestShipmentReweighForbidden() *RequestShipmentReweighForbidden
NewRequestShipmentReweighForbidden creates RequestShipmentReweighForbidden with default headers values
func (*RequestShipmentReweighForbidden) SetPayload ¶
func (o *RequestShipmentReweighForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment reweigh forbidden response
func (*RequestShipmentReweighForbidden) WithPayload ¶
func (o *RequestShipmentReweighForbidden) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighForbidden
WithPayload adds the payload to the request shipment reweigh forbidden response
func (*RequestShipmentReweighForbidden) WriteResponse ¶
func (o *RequestShipmentReweighForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweighHandler ¶
type RequestShipmentReweighHandler interface {
Handle(RequestShipmentReweighParams) middleware.Responder
}
RequestShipmentReweighHandler interface for that can handle valid request shipment reweigh params
type RequestShipmentReweighHandlerFunc ¶
type RequestShipmentReweighHandlerFunc func(RequestShipmentReweighParams) middleware.Responder
RequestShipmentReweighHandlerFunc turns a function with the right signature into a request shipment reweigh handler
func (RequestShipmentReweighHandlerFunc) Handle ¶
func (fn RequestShipmentReweighHandlerFunc) Handle(params RequestShipmentReweighParams) middleware.Responder
Handle executing the request and returning a response
type RequestShipmentReweighInternalServerError ¶
type RequestShipmentReweighInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentReweighInternalServerError A server error occurred
swagger:response requestShipmentReweighInternalServerError
func NewRequestShipmentReweighInternalServerError ¶
func NewRequestShipmentReweighInternalServerError() *RequestShipmentReweighInternalServerError
NewRequestShipmentReweighInternalServerError creates RequestShipmentReweighInternalServerError with default headers values
func (*RequestShipmentReweighInternalServerError) SetPayload ¶
func (o *RequestShipmentReweighInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment reweigh internal server error response
func (*RequestShipmentReweighInternalServerError) WithPayload ¶
func (o *RequestShipmentReweighInternalServerError) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighInternalServerError
WithPayload adds the payload to the request shipment reweigh internal server error response
func (*RequestShipmentReweighInternalServerError) WriteResponse ¶
func (o *RequestShipmentReweighInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweighNotFound ¶
type RequestShipmentReweighNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentReweighNotFound The requested resource wasn't found
swagger:response requestShipmentReweighNotFound
func NewRequestShipmentReweighNotFound ¶
func NewRequestShipmentReweighNotFound() *RequestShipmentReweighNotFound
NewRequestShipmentReweighNotFound creates RequestShipmentReweighNotFound with default headers values
func (*RequestShipmentReweighNotFound) SetPayload ¶
func (o *RequestShipmentReweighNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment reweigh not found response
func (*RequestShipmentReweighNotFound) WithPayload ¶
func (o *RequestShipmentReweighNotFound) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighNotFound
WithPayload adds the payload to the request shipment reweigh not found response
func (*RequestShipmentReweighNotFound) WriteResponse ¶
func (o *RequestShipmentReweighNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweighOK ¶
type RequestShipmentReweighOK struct { /* In: Body */ Payload *ghcmessages.Reweigh `json:"body,omitempty"` }
RequestShipmentReweighOK Successfully requested a reweigh of the shipment
swagger:response requestShipmentReweighOK
func NewRequestShipmentReweighOK ¶
func NewRequestShipmentReweighOK() *RequestShipmentReweighOK
NewRequestShipmentReweighOK creates RequestShipmentReweighOK with default headers values
func (*RequestShipmentReweighOK) SetPayload ¶
func (o *RequestShipmentReweighOK) SetPayload(payload *ghcmessages.Reweigh)
SetPayload sets the payload to the request shipment reweigh o k response
func (*RequestShipmentReweighOK) WithPayload ¶
func (o *RequestShipmentReweighOK) WithPayload(payload *ghcmessages.Reweigh) *RequestShipmentReweighOK
WithPayload adds the payload to the request shipment reweigh o k response
func (*RequestShipmentReweighOK) WriteResponse ¶
func (o *RequestShipmentReweighOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweighParams ¶
type RequestShipmentReweighParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
RequestShipmentReweighParams contains all the bound params for the request shipment reweigh operation typically these are obtained from a http.Request
swagger:parameters requestShipmentReweigh
func NewRequestShipmentReweighParams ¶
func NewRequestShipmentReweighParams() RequestShipmentReweighParams
NewRequestShipmentReweighParams creates a new RequestShipmentReweighParams object
There are no default values defined in the spec.
func (*RequestShipmentReweighParams) BindRequest ¶
func (o *RequestShipmentReweighParams) 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 NewRequestShipmentReweighParams() beforehand.
type RequestShipmentReweighPreconditionFailed ¶
type RequestShipmentReweighPreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
RequestShipmentReweighPreconditionFailed Precondition failed
swagger:response requestShipmentReweighPreconditionFailed
func NewRequestShipmentReweighPreconditionFailed ¶
func NewRequestShipmentReweighPreconditionFailed() *RequestShipmentReweighPreconditionFailed
NewRequestShipmentReweighPreconditionFailed creates RequestShipmentReweighPreconditionFailed with default headers values
func (*RequestShipmentReweighPreconditionFailed) SetPayload ¶
func (o *RequestShipmentReweighPreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the request shipment reweigh precondition failed response
func (*RequestShipmentReweighPreconditionFailed) WithPayload ¶
func (o *RequestShipmentReweighPreconditionFailed) WithPayload(payload *ghcmessages.Error) *RequestShipmentReweighPreconditionFailed
WithPayload adds the payload to the request shipment reweigh precondition failed response
func (*RequestShipmentReweighPreconditionFailed) WriteResponse ¶
func (o *RequestShipmentReweighPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RequestShipmentReweighURL ¶
type RequestShipmentReweighURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
RequestShipmentReweighURL generates an URL for the request shipment reweigh operation
func (*RequestShipmentReweighURL) Build ¶
func (o *RequestShipmentReweighURL) Build() (*url.URL, error)
Build a url path and query string
func (*RequestShipmentReweighURL) BuildFull ¶
func (o *RequestShipmentReweighURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RequestShipmentReweighURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RequestShipmentReweighURL) SetBasePath ¶
func (o *RequestShipmentReweighURL) 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 (*RequestShipmentReweighURL) String ¶
func (o *RequestShipmentReweighURL) String() string
String returns the string representation of the path with query string
func (*RequestShipmentReweighURL) StringFull ¶
func (o *RequestShipmentReweighURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RequestShipmentReweighURL) WithBasePath ¶
func (o *RequestShipmentReweighURL) WithBasePath(bp string) *RequestShipmentReweighURL
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 RequestShipmentReweighUnprocessableEntity ¶
type RequestShipmentReweighUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
RequestShipmentReweighUnprocessableEntity The payload was unprocessable.
swagger:response requestShipmentReweighUnprocessableEntity
func NewRequestShipmentReweighUnprocessableEntity ¶
func NewRequestShipmentReweighUnprocessableEntity() *RequestShipmentReweighUnprocessableEntity
NewRequestShipmentReweighUnprocessableEntity creates RequestShipmentReweighUnprocessableEntity with default headers values
func (*RequestShipmentReweighUnprocessableEntity) SetPayload ¶
func (o *RequestShipmentReweighUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the request shipment reweigh unprocessable entity response
func (*RequestShipmentReweighUnprocessableEntity) WithPayload ¶
func (o *RequestShipmentReweighUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *RequestShipmentReweighUnprocessableEntity
WithPayload adds the payload to the request shipment reweigh unprocessable entity response
func (*RequestShipmentReweighUnprocessableEntity) WriteResponse ¶
func (o *RequestShipmentReweighUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdate ¶
type ReviewShipmentAddressUpdate struct { Context *middleware.Context Handler ReviewShipmentAddressUpdateHandler }
ReviewShipmentAddressUpdate swagger:route PATCH /shipments/{shipmentID}/review-shipment-address-update shipment reviewShipmentAddressUpdate
Allows TOO to review a shipment address update ¶
This endpoint is used to approve a address update request. Office remarks are required. Approving the address update will update the Destination Final Address of the associated service item
func NewReviewShipmentAddressUpdate ¶
func NewReviewShipmentAddressUpdate(ctx *middleware.Context, handler ReviewShipmentAddressUpdateHandler) *ReviewShipmentAddressUpdate
NewReviewShipmentAddressUpdate creates a new http.Handler for the review shipment address update operation
func (*ReviewShipmentAddressUpdate) ServeHTTP ¶
func (o *ReviewShipmentAddressUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ReviewShipmentAddressUpdateBody ¶
type ReviewShipmentAddressUpdateBody struct { // office remarks // Required: true OfficeRemarks *string `json:"officeRemarks"` // status // Required: true // Enum: [REJECTED APPROVED] Status *string `json:"status"` }
ReviewShipmentAddressUpdateBody review shipment address update body
swagger:model ReviewShipmentAddressUpdateBody
func (*ReviewShipmentAddressUpdateBody) ContextValidate ¶
func (o *ReviewShipmentAddressUpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this review shipment address update body based on context it is used
func (*ReviewShipmentAddressUpdateBody) MarshalBinary ¶
func (o *ReviewShipmentAddressUpdateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReviewShipmentAddressUpdateBody) UnmarshalBinary ¶
func (o *ReviewShipmentAddressUpdateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReviewShipmentAddressUpdateConflict ¶
type ReviewShipmentAddressUpdateConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ReviewShipmentAddressUpdateConflict Conflict error
swagger:response reviewShipmentAddressUpdateConflict
func NewReviewShipmentAddressUpdateConflict ¶
func NewReviewShipmentAddressUpdateConflict() *ReviewShipmentAddressUpdateConflict
NewReviewShipmentAddressUpdateConflict creates ReviewShipmentAddressUpdateConflict with default headers values
func (*ReviewShipmentAddressUpdateConflict) SetPayload ¶
func (o *ReviewShipmentAddressUpdateConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the review shipment address update conflict response
func (*ReviewShipmentAddressUpdateConflict) WithPayload ¶
func (o *ReviewShipmentAddressUpdateConflict) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateConflict
WithPayload adds the payload to the review shipment address update conflict response
func (*ReviewShipmentAddressUpdateConflict) WriteResponse ¶
func (o *ReviewShipmentAddressUpdateConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdateForbidden ¶
type ReviewShipmentAddressUpdateForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ReviewShipmentAddressUpdateForbidden The request was denied
swagger:response reviewShipmentAddressUpdateForbidden
func NewReviewShipmentAddressUpdateForbidden ¶
func NewReviewShipmentAddressUpdateForbidden() *ReviewShipmentAddressUpdateForbidden
NewReviewShipmentAddressUpdateForbidden creates ReviewShipmentAddressUpdateForbidden with default headers values
func (*ReviewShipmentAddressUpdateForbidden) SetPayload ¶
func (o *ReviewShipmentAddressUpdateForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the review shipment address update forbidden response
func (*ReviewShipmentAddressUpdateForbidden) WithPayload ¶
func (o *ReviewShipmentAddressUpdateForbidden) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateForbidden
WithPayload adds the payload to the review shipment address update forbidden response
func (*ReviewShipmentAddressUpdateForbidden) WriteResponse ¶
func (o *ReviewShipmentAddressUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdateHandler ¶
type ReviewShipmentAddressUpdateHandler interface {
Handle(ReviewShipmentAddressUpdateParams) middleware.Responder
}
ReviewShipmentAddressUpdateHandler interface for that can handle valid review shipment address update params
type ReviewShipmentAddressUpdateHandlerFunc ¶
type ReviewShipmentAddressUpdateHandlerFunc func(ReviewShipmentAddressUpdateParams) middleware.Responder
ReviewShipmentAddressUpdateHandlerFunc turns a function with the right signature into a review shipment address update handler
func (ReviewShipmentAddressUpdateHandlerFunc) Handle ¶
func (fn ReviewShipmentAddressUpdateHandlerFunc) Handle(params ReviewShipmentAddressUpdateParams) middleware.Responder
Handle executing the request and returning a response
type ReviewShipmentAddressUpdateInternalServerError ¶
type ReviewShipmentAddressUpdateInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ReviewShipmentAddressUpdateInternalServerError A server error occurred
swagger:response reviewShipmentAddressUpdateInternalServerError
func NewReviewShipmentAddressUpdateInternalServerError ¶
func NewReviewShipmentAddressUpdateInternalServerError() *ReviewShipmentAddressUpdateInternalServerError
NewReviewShipmentAddressUpdateInternalServerError creates ReviewShipmentAddressUpdateInternalServerError with default headers values
func (*ReviewShipmentAddressUpdateInternalServerError) SetPayload ¶
func (o *ReviewShipmentAddressUpdateInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the review shipment address update internal server error response
func (*ReviewShipmentAddressUpdateInternalServerError) WithPayload ¶
func (o *ReviewShipmentAddressUpdateInternalServerError) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateInternalServerError
WithPayload adds the payload to the review shipment address update internal server error response
func (*ReviewShipmentAddressUpdateInternalServerError) WriteResponse ¶
func (o *ReviewShipmentAddressUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdateNotFound ¶
type ReviewShipmentAddressUpdateNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ReviewShipmentAddressUpdateNotFound The requested resource wasn't found
swagger:response reviewShipmentAddressUpdateNotFound
func NewReviewShipmentAddressUpdateNotFound ¶
func NewReviewShipmentAddressUpdateNotFound() *ReviewShipmentAddressUpdateNotFound
NewReviewShipmentAddressUpdateNotFound creates ReviewShipmentAddressUpdateNotFound with default headers values
func (*ReviewShipmentAddressUpdateNotFound) SetPayload ¶
func (o *ReviewShipmentAddressUpdateNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the review shipment address update not found response
func (*ReviewShipmentAddressUpdateNotFound) WithPayload ¶
func (o *ReviewShipmentAddressUpdateNotFound) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdateNotFound
WithPayload adds the payload to the review shipment address update not found response
func (*ReviewShipmentAddressUpdateNotFound) WriteResponse ¶
func (o *ReviewShipmentAddressUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdateOK ¶
type ReviewShipmentAddressUpdateOK struct { /* In: Body */ Payload *ghcmessages.ShipmentAddressUpdate `json:"body,omitempty"` }
ReviewShipmentAddressUpdateOK Successfully requested a shipment address update
swagger:response reviewShipmentAddressUpdateOK
func NewReviewShipmentAddressUpdateOK ¶
func NewReviewShipmentAddressUpdateOK() *ReviewShipmentAddressUpdateOK
NewReviewShipmentAddressUpdateOK creates ReviewShipmentAddressUpdateOK with default headers values
func (*ReviewShipmentAddressUpdateOK) SetPayload ¶
func (o *ReviewShipmentAddressUpdateOK) SetPayload(payload *ghcmessages.ShipmentAddressUpdate)
SetPayload sets the payload to the review shipment address update o k response
func (*ReviewShipmentAddressUpdateOK) WithPayload ¶
func (o *ReviewShipmentAddressUpdateOK) WithPayload(payload *ghcmessages.ShipmentAddressUpdate) *ReviewShipmentAddressUpdateOK
WithPayload adds the payload to the review shipment address update o k response
func (*ReviewShipmentAddressUpdateOK) WriteResponse ¶
func (o *ReviewShipmentAddressUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdateParams ¶
type ReviewShipmentAddressUpdateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body ReviewShipmentAddressUpdateBody /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
ReviewShipmentAddressUpdateParams contains all the bound params for the review shipment address update operation typically these are obtained from a http.Request
swagger:parameters reviewShipmentAddressUpdate
func NewReviewShipmentAddressUpdateParams ¶
func NewReviewShipmentAddressUpdateParams() ReviewShipmentAddressUpdateParams
NewReviewShipmentAddressUpdateParams creates a new ReviewShipmentAddressUpdateParams object
There are no default values defined in the spec.
func (*ReviewShipmentAddressUpdateParams) BindRequest ¶
func (o *ReviewShipmentAddressUpdateParams) 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 NewReviewShipmentAddressUpdateParams() beforehand.
type ReviewShipmentAddressUpdatePreconditionFailed ¶
type ReviewShipmentAddressUpdatePreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
ReviewShipmentAddressUpdatePreconditionFailed Precondition failed
swagger:response reviewShipmentAddressUpdatePreconditionFailed
func NewReviewShipmentAddressUpdatePreconditionFailed ¶
func NewReviewShipmentAddressUpdatePreconditionFailed() *ReviewShipmentAddressUpdatePreconditionFailed
NewReviewShipmentAddressUpdatePreconditionFailed creates ReviewShipmentAddressUpdatePreconditionFailed with default headers values
func (*ReviewShipmentAddressUpdatePreconditionFailed) SetPayload ¶
func (o *ReviewShipmentAddressUpdatePreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the review shipment address update precondition failed response
func (*ReviewShipmentAddressUpdatePreconditionFailed) WithPayload ¶
func (o *ReviewShipmentAddressUpdatePreconditionFailed) WithPayload(payload *ghcmessages.Error) *ReviewShipmentAddressUpdatePreconditionFailed
WithPayload adds the payload to the review shipment address update precondition failed response
func (*ReviewShipmentAddressUpdatePreconditionFailed) WriteResponse ¶
func (o *ReviewShipmentAddressUpdatePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ReviewShipmentAddressUpdateURL ¶
type ReviewShipmentAddressUpdateURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
ReviewShipmentAddressUpdateURL generates an URL for the review shipment address update operation
func (*ReviewShipmentAddressUpdateURL) Build ¶
func (o *ReviewShipmentAddressUpdateURL) Build() (*url.URL, error)
Build a url path and query string
func (*ReviewShipmentAddressUpdateURL) BuildFull ¶
func (o *ReviewShipmentAddressUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ReviewShipmentAddressUpdateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ReviewShipmentAddressUpdateURL) SetBasePath ¶
func (o *ReviewShipmentAddressUpdateURL) 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 (*ReviewShipmentAddressUpdateURL) String ¶
func (o *ReviewShipmentAddressUpdateURL) String() string
String returns the string representation of the path with query string
func (*ReviewShipmentAddressUpdateURL) StringFull ¶
func (o *ReviewShipmentAddressUpdateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ReviewShipmentAddressUpdateURL) WithBasePath ¶
func (o *ReviewShipmentAddressUpdateURL) WithBasePath(bp string) *ReviewShipmentAddressUpdateURL
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 ReviewShipmentAddressUpdateUnprocessableEntity ¶
type ReviewShipmentAddressUpdateUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
ReviewShipmentAddressUpdateUnprocessableEntity The payload was unprocessable.
swagger:response reviewShipmentAddressUpdateUnprocessableEntity
func NewReviewShipmentAddressUpdateUnprocessableEntity ¶
func NewReviewShipmentAddressUpdateUnprocessableEntity() *ReviewShipmentAddressUpdateUnprocessableEntity
NewReviewShipmentAddressUpdateUnprocessableEntity creates ReviewShipmentAddressUpdateUnprocessableEntity with default headers values
func (*ReviewShipmentAddressUpdateUnprocessableEntity) SetPayload ¶
func (o *ReviewShipmentAddressUpdateUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the review shipment address update unprocessable entity response
func (*ReviewShipmentAddressUpdateUnprocessableEntity) WithPayload ¶
func (o *ReviewShipmentAddressUpdateUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *ReviewShipmentAddressUpdateUnprocessableEntity
WithPayload adds the payload to the review shipment address update unprocessable entity response
func (*ReviewShipmentAddressUpdateUnprocessableEntity) WriteResponse ¶
func (o *ReviewShipmentAddressUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpense ¶
type UpdateSITServiceItemCustomerExpense struct { Context *middleware.Context Handler UpdateSITServiceItemCustomerExpenseHandler }
UpdateSITServiceItemCustomerExpense swagger:route PATCH /shipments/{shipmentID}/sit-service-item/convert-to-customer-expense shipment mtoServiceItem updateSITServiceItemCustomerExpense
Converts a SIT to customer expense ¶
Converts a SIT to customer expense
func NewUpdateSITServiceItemCustomerExpense ¶
func NewUpdateSITServiceItemCustomerExpense(ctx *middleware.Context, handler UpdateSITServiceItemCustomerExpenseHandler) *UpdateSITServiceItemCustomerExpense
NewUpdateSITServiceItemCustomerExpense creates a new http.Handler for the update s i t service item customer expense operation
func (*UpdateSITServiceItemCustomerExpense) ServeHTTP ¶
func (o *UpdateSITServiceItemCustomerExpense) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateSITServiceItemCustomerExpenseConflict ¶
type UpdateSITServiceItemCustomerExpenseConflict struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpenseConflict Conflict error
swagger:response updateSITServiceItemCustomerExpenseConflict
func NewUpdateSITServiceItemCustomerExpenseConflict ¶
func NewUpdateSITServiceItemCustomerExpenseConflict() *UpdateSITServiceItemCustomerExpenseConflict
NewUpdateSITServiceItemCustomerExpenseConflict creates UpdateSITServiceItemCustomerExpenseConflict with default headers values
func (*UpdateSITServiceItemCustomerExpenseConflict) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseConflict) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update s i t service item customer expense conflict response
func (*UpdateSITServiceItemCustomerExpenseConflict) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseConflict) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseConflict
WithPayload adds the payload to the update s i t service item customer expense conflict response
func (*UpdateSITServiceItemCustomerExpenseConflict) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpenseConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpenseForbidden ¶
type UpdateSITServiceItemCustomerExpenseForbidden struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpenseForbidden The request was denied
swagger:response updateSITServiceItemCustomerExpenseForbidden
func NewUpdateSITServiceItemCustomerExpenseForbidden ¶
func NewUpdateSITServiceItemCustomerExpenseForbidden() *UpdateSITServiceItemCustomerExpenseForbidden
NewUpdateSITServiceItemCustomerExpenseForbidden creates UpdateSITServiceItemCustomerExpenseForbidden with default headers values
func (*UpdateSITServiceItemCustomerExpenseForbidden) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseForbidden) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update s i t service item customer expense forbidden response
func (*UpdateSITServiceItemCustomerExpenseForbidden) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseForbidden) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseForbidden
WithPayload adds the payload to the update s i t service item customer expense forbidden response
func (*UpdateSITServiceItemCustomerExpenseForbidden) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpenseHandler ¶
type UpdateSITServiceItemCustomerExpenseHandler interface {
Handle(UpdateSITServiceItemCustomerExpenseParams) middleware.Responder
}
UpdateSITServiceItemCustomerExpenseHandler interface for that can handle valid update s i t service item customer expense params
type UpdateSITServiceItemCustomerExpenseHandlerFunc ¶
type UpdateSITServiceItemCustomerExpenseHandlerFunc func(UpdateSITServiceItemCustomerExpenseParams) middleware.Responder
UpdateSITServiceItemCustomerExpenseHandlerFunc turns a function with the right signature into a update s i t service item customer expense handler
func (UpdateSITServiceItemCustomerExpenseHandlerFunc) Handle ¶
func (fn UpdateSITServiceItemCustomerExpenseHandlerFunc) Handle(params UpdateSITServiceItemCustomerExpenseParams) middleware.Responder
Handle executing the request and returning a response
type UpdateSITServiceItemCustomerExpenseInternalServerError ¶
type UpdateSITServiceItemCustomerExpenseInternalServerError struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpenseInternalServerError A server error occurred
swagger:response updateSITServiceItemCustomerExpenseInternalServerError
func NewUpdateSITServiceItemCustomerExpenseInternalServerError ¶
func NewUpdateSITServiceItemCustomerExpenseInternalServerError() *UpdateSITServiceItemCustomerExpenseInternalServerError
NewUpdateSITServiceItemCustomerExpenseInternalServerError creates UpdateSITServiceItemCustomerExpenseInternalServerError with default headers values
func (*UpdateSITServiceItemCustomerExpenseInternalServerError) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseInternalServerError) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update s i t service item customer expense internal server error response
func (*UpdateSITServiceItemCustomerExpenseInternalServerError) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseInternalServerError) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseInternalServerError
WithPayload adds the payload to the update s i t service item customer expense internal server error response
func (*UpdateSITServiceItemCustomerExpenseInternalServerError) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpenseNotFound ¶
type UpdateSITServiceItemCustomerExpenseNotFound struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpenseNotFound The requested resource wasn't found
swagger:response updateSITServiceItemCustomerExpenseNotFound
func NewUpdateSITServiceItemCustomerExpenseNotFound ¶
func NewUpdateSITServiceItemCustomerExpenseNotFound() *UpdateSITServiceItemCustomerExpenseNotFound
NewUpdateSITServiceItemCustomerExpenseNotFound creates UpdateSITServiceItemCustomerExpenseNotFound with default headers values
func (*UpdateSITServiceItemCustomerExpenseNotFound) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseNotFound) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update s i t service item customer expense not found response
func (*UpdateSITServiceItemCustomerExpenseNotFound) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseNotFound) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpenseNotFound
WithPayload adds the payload to the update s i t service item customer expense not found response
func (*UpdateSITServiceItemCustomerExpenseNotFound) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpenseOK ¶
type UpdateSITServiceItemCustomerExpenseOK struct { /* In: Body */ Payload *ghcmessages.MTOShipment `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpenseOK Successfully converted to customer expense
swagger:response updateSITServiceItemCustomerExpenseOK
func NewUpdateSITServiceItemCustomerExpenseOK ¶
func NewUpdateSITServiceItemCustomerExpenseOK() *UpdateSITServiceItemCustomerExpenseOK
NewUpdateSITServiceItemCustomerExpenseOK creates UpdateSITServiceItemCustomerExpenseOK with default headers values
func (*UpdateSITServiceItemCustomerExpenseOK) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseOK) SetPayload(payload *ghcmessages.MTOShipment)
SetPayload sets the payload to the update s i t service item customer expense o k response
func (*UpdateSITServiceItemCustomerExpenseOK) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseOK) WithPayload(payload *ghcmessages.MTOShipment) *UpdateSITServiceItemCustomerExpenseOK
WithPayload adds the payload to the update s i t service item customer expense o k response
func (*UpdateSITServiceItemCustomerExpenseOK) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpenseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpenseParams ¶
type UpdateSITServiceItemCustomerExpenseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ IfMatch string /* Required: true In: body */ Body *ghcmessages.UpdateSITServiceItemCustomerExpense /*ID of the shipment Required: true In: path */ ShipmentID strfmt.UUID }
UpdateSITServiceItemCustomerExpenseParams contains all the bound params for the update s i t service item customer expense operation typically these are obtained from a http.Request
swagger:parameters updateSITServiceItemCustomerExpense
func NewUpdateSITServiceItemCustomerExpenseParams ¶
func NewUpdateSITServiceItemCustomerExpenseParams() UpdateSITServiceItemCustomerExpenseParams
NewUpdateSITServiceItemCustomerExpenseParams creates a new UpdateSITServiceItemCustomerExpenseParams object
There are no default values defined in the spec.
func (*UpdateSITServiceItemCustomerExpenseParams) BindRequest ¶
func (o *UpdateSITServiceItemCustomerExpenseParams) 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 NewUpdateSITServiceItemCustomerExpenseParams() beforehand.
type UpdateSITServiceItemCustomerExpensePreconditionFailed ¶
type UpdateSITServiceItemCustomerExpensePreconditionFailed struct { /* In: Body */ Payload *ghcmessages.Error `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpensePreconditionFailed Precondition failed
swagger:response updateSITServiceItemCustomerExpensePreconditionFailed
func NewUpdateSITServiceItemCustomerExpensePreconditionFailed ¶
func NewUpdateSITServiceItemCustomerExpensePreconditionFailed() *UpdateSITServiceItemCustomerExpensePreconditionFailed
NewUpdateSITServiceItemCustomerExpensePreconditionFailed creates UpdateSITServiceItemCustomerExpensePreconditionFailed with default headers values
func (*UpdateSITServiceItemCustomerExpensePreconditionFailed) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpensePreconditionFailed) SetPayload(payload *ghcmessages.Error)
SetPayload sets the payload to the update s i t service item customer expense precondition failed response
func (*UpdateSITServiceItemCustomerExpensePreconditionFailed) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpensePreconditionFailed) WithPayload(payload *ghcmessages.Error) *UpdateSITServiceItemCustomerExpensePreconditionFailed
WithPayload adds the payload to the update s i t service item customer expense precondition failed response
func (*UpdateSITServiceItemCustomerExpensePreconditionFailed) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpensePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSITServiceItemCustomerExpenseURL ¶
type UpdateSITServiceItemCustomerExpenseURL struct { ShipmentID strfmt.UUID // contains filtered or unexported fields }
UpdateSITServiceItemCustomerExpenseURL generates an URL for the update s i t service item customer expense operation
func (*UpdateSITServiceItemCustomerExpenseURL) Build ¶
func (o *UpdateSITServiceItemCustomerExpenseURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateSITServiceItemCustomerExpenseURL) BuildFull ¶
func (o *UpdateSITServiceItemCustomerExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateSITServiceItemCustomerExpenseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateSITServiceItemCustomerExpenseURL) SetBasePath ¶
func (o *UpdateSITServiceItemCustomerExpenseURL) 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 (*UpdateSITServiceItemCustomerExpenseURL) String ¶
func (o *UpdateSITServiceItemCustomerExpenseURL) String() string
String returns the string representation of the path with query string
func (*UpdateSITServiceItemCustomerExpenseURL) StringFull ¶
func (o *UpdateSITServiceItemCustomerExpenseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateSITServiceItemCustomerExpenseURL) WithBasePath ¶
func (o *UpdateSITServiceItemCustomerExpenseURL) WithBasePath(bp string) *UpdateSITServiceItemCustomerExpenseURL
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 UpdateSITServiceItemCustomerExpenseUnprocessableEntity ¶
type UpdateSITServiceItemCustomerExpenseUnprocessableEntity struct { /* In: Body */ Payload *ghcmessages.ValidationError `json:"body,omitempty"` }
UpdateSITServiceItemCustomerExpenseUnprocessableEntity The payload was unprocessable.
swagger:response updateSITServiceItemCustomerExpenseUnprocessableEntity
func NewUpdateSITServiceItemCustomerExpenseUnprocessableEntity ¶
func NewUpdateSITServiceItemCustomerExpenseUnprocessableEntity() *UpdateSITServiceItemCustomerExpenseUnprocessableEntity
NewUpdateSITServiceItemCustomerExpenseUnprocessableEntity creates UpdateSITServiceItemCustomerExpenseUnprocessableEntity with default headers values
func (*UpdateSITServiceItemCustomerExpenseUnprocessableEntity) SetPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseUnprocessableEntity) SetPayload(payload *ghcmessages.ValidationError)
SetPayload sets the payload to the update s i t service item customer expense unprocessable entity response
func (*UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WithPayload ¶
func (o *UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WithPayload(payload *ghcmessages.ValidationError) *UpdateSITServiceItemCustomerExpenseUnprocessableEntity
WithPayload adds the payload to the update s i t service item customer expense unprocessable entity response
func (*UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WriteResponse ¶
func (o *UpdateSITServiceItemCustomerExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- approve_s_i_t_extension.go
- approve_s_i_t_extension_parameters.go
- approve_s_i_t_extension_responses.go
- approve_s_i_t_extension_urlbuilder.go
- approve_shipment.go
- approve_shipment_diversion.go
- approve_shipment_diversion_parameters.go
- approve_shipment_diversion_responses.go
- approve_shipment_diversion_urlbuilder.go
- approve_shipment_parameters.go
- approve_shipment_responses.go
- approve_shipment_urlbuilder.go
- create_approved_s_i_t_duration_update.go
- create_approved_s_i_t_duration_update_parameters.go
- create_approved_s_i_t_duration_update_responses.go
- create_approved_s_i_t_duration_update_urlbuilder.go
- delete_shipment.go
- delete_shipment_parameters.go
- delete_shipment_responses.go
- delete_shipment_urlbuilder.go
- deny_s_i_t_extension.go
- deny_s_i_t_extension_parameters.go
- deny_s_i_t_extension_responses.go
- deny_s_i_t_extension_urlbuilder.go
- reject_shipment.go
- reject_shipment_parameters.go
- reject_shipment_responses.go
- reject_shipment_urlbuilder.go
- request_shipment_cancellation.go
- request_shipment_cancellation_parameters.go
- request_shipment_cancellation_responses.go
- request_shipment_cancellation_urlbuilder.go
- request_shipment_diversion.go
- request_shipment_diversion_parameters.go
- request_shipment_diversion_responses.go
- request_shipment_diversion_urlbuilder.go
- request_shipment_reweigh.go
- request_shipment_reweigh_parameters.go
- request_shipment_reweigh_responses.go
- request_shipment_reweigh_urlbuilder.go
- review_shipment_address_update.go
- review_shipment_address_update_parameters.go
- review_shipment_address_update_responses.go
- review_shipment_address_update_urlbuilder.go
- update_s_i_t_service_item_customer_expense.go
- update_s_i_t_service_item_customer_expense_parameters.go
- update_s_i_t_service_item_customer_expense_responses.go
- update_s_i_t_service_item_customer_expense_urlbuilder.go