Documentation ¶
Index ¶
- Constants
- Variables
- type CreateMovingExpense
- type CreateMovingExpenseBadRequest
- func (o *CreateMovingExpenseBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateMovingExpenseBadRequest) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseBadRequest
- func (o *CreateMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMovingExpenseCreated
- func (o *CreateMovingExpenseCreated) SetPayload(payload *internalmessages.MovingExpense)
- func (o *CreateMovingExpenseCreated) WithPayload(payload *internalmessages.MovingExpense) *CreateMovingExpenseCreated
- func (o *CreateMovingExpenseCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMovingExpenseForbidden
- func (o *CreateMovingExpenseForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateMovingExpenseForbidden) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseForbidden
- func (o *CreateMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMovingExpenseHandler
- type CreateMovingExpenseHandlerFunc
- type CreateMovingExpenseInternalServerError
- func (o *CreateMovingExpenseInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *CreateMovingExpenseInternalServerError) WithPayload(payload *internalmessages.Error) *CreateMovingExpenseInternalServerError
- func (o *CreateMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMovingExpenseNotFound
- func (o *CreateMovingExpenseNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateMovingExpenseNotFound) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseNotFound
- func (o *CreateMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMovingExpenseParams
- type CreateMovingExpenseURL
- func (o *CreateMovingExpenseURL) Build() (*url.URL, error)
- func (o *CreateMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateMovingExpenseURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateMovingExpenseURL) SetBasePath(bp string)
- func (o *CreateMovingExpenseURL) String() string
- func (o *CreateMovingExpenseURL) StringFull(scheme, host string) string
- func (o *CreateMovingExpenseURL) WithBasePath(bp string) *CreateMovingExpenseURL
- type CreateMovingExpenseUnauthorized
- func (o *CreateMovingExpenseUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateMovingExpenseUnauthorized) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseUnauthorized
- func (o *CreateMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateMovingExpenseUnprocessableEntity
- func (o *CreateMovingExpenseUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *CreateMovingExpenseUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreateMovingExpenseUnprocessableEntity
- func (o *CreateMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePPMUpload
- type CreatePPMUploadBadRequest
- func (o *CreatePPMUploadBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
- func (o *CreatePPMUploadBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *CreatePPMUploadBadRequest
- func (o *CreatePPMUploadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePPMUploadCreated
- type CreatePPMUploadForbidden
- type CreatePPMUploadHandler
- type CreatePPMUploadHandlerFunc
- type CreatePPMUploadInternalServerError
- func (o *CreatePPMUploadInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *CreatePPMUploadInternalServerError) WithPayload(payload *internalmessages.Error) *CreatePPMUploadInternalServerError
- func (o *CreatePPMUploadInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePPMUploadNotFound
- type CreatePPMUploadParams
- type CreatePPMUploadRequestEntityTooLarge
- type CreatePPMUploadURL
- func (o *CreatePPMUploadURL) Build() (*url.URL, error)
- func (o *CreatePPMUploadURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePPMUploadURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePPMUploadURL) SetBasePath(bp string)
- func (o *CreatePPMUploadURL) String() string
- func (o *CreatePPMUploadURL) StringFull(scheme, host string) string
- func (o *CreatePPMUploadURL) WithBasePath(bp string) *CreatePPMUploadURL
- type CreatePPMUploadUnprocessableEntity
- func (o *CreatePPMUploadUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *CreatePPMUploadUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreatePPMUploadUnprocessableEntity
- func (o *CreatePPMUploadUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicket
- type CreateProGearWeightTicketBadRequest
- func (o *CreateProGearWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateProGearWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketBadRequest
- func (o *CreateProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketCreated
- func (o *CreateProGearWeightTicketCreated) SetPayload(payload *internalmessages.ProGearWeightTicket)
- func (o *CreateProGearWeightTicketCreated) WithPayload(payload *internalmessages.ProGearWeightTicket) *CreateProGearWeightTicketCreated
- func (o *CreateProGearWeightTicketCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketForbidden
- func (o *CreateProGearWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateProGearWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketForbidden
- func (o *CreateProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketHandler
- type CreateProGearWeightTicketHandlerFunc
- type CreateProGearWeightTicketInternalServerError
- func (o *CreateProGearWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *CreateProGearWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *CreateProGearWeightTicketInternalServerError
- func (o *CreateProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketNotFound
- func (o *CreateProGearWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateProGearWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketNotFound
- func (o *CreateProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketParams
- type CreateProGearWeightTicketPreconditionFailed
- func (o *CreateProGearWeightTicketPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateProGearWeightTicketPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketPreconditionFailed
- func (o *CreateProGearWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketURL
- func (o *CreateProGearWeightTicketURL) Build() (*url.URL, error)
- func (o *CreateProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateProGearWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateProGearWeightTicketURL) SetBasePath(bp string)
- func (o *CreateProGearWeightTicketURL) String() string
- func (o *CreateProGearWeightTicketURL) StringFull(scheme, host string) string
- func (o *CreateProGearWeightTicketURL) WithBasePath(bp string) *CreateProGearWeightTicketURL
- type CreateProGearWeightTicketUnauthorized
- func (o *CreateProGearWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateProGearWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketUnauthorized
- func (o *CreateProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateProGearWeightTicketUnprocessableEntity
- func (o *CreateProGearWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *CreateProGearWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreateProGearWeightTicketUnprocessableEntity
- func (o *CreateProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWeightTicket
- type CreateWeightTicketBadRequest
- func (o *CreateWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketBadRequest
- func (o *CreateWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWeightTicketForbidden
- func (o *CreateWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketForbidden
- func (o *CreateWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWeightTicketHandler
- type CreateWeightTicketHandlerFunc
- type CreateWeightTicketInternalServerError
- func (o *CreateWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *CreateWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *CreateWeightTicketInternalServerError
- func (o *CreateWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWeightTicketNotFound
- func (o *CreateWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketNotFound
- func (o *CreateWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWeightTicketOK
- type CreateWeightTicketParams
- type CreateWeightTicketURL
- func (o *CreateWeightTicketURL) Build() (*url.URL, error)
- func (o *CreateWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateWeightTicketURL) SetBasePath(bp string)
- func (o *CreateWeightTicketURL) String() string
- func (o *CreateWeightTicketURL) StringFull(scheme, host string) string
- func (o *CreateWeightTicketURL) WithBasePath(bp string) *CreateWeightTicketURL
- type CreateWeightTicketUnauthorized
- func (o *CreateWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *CreateWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketUnauthorized
- func (o *CreateWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWeightTicketUnprocessableEntity
- func (o *CreateWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *CreateWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreateWeightTicketUnprocessableEntity
- func (o *CreateWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpense
- type DeleteMovingExpenseBadRequest
- func (o *DeleteMovingExpenseBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteMovingExpenseBadRequest) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseBadRequest
- func (o *DeleteMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpenseConflict
- func (o *DeleteMovingExpenseConflict) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteMovingExpenseConflict) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseConflict
- func (o *DeleteMovingExpenseConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpenseForbidden
- func (o *DeleteMovingExpenseForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteMovingExpenseForbidden) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseForbidden
- func (o *DeleteMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpenseHandler
- type DeleteMovingExpenseHandlerFunc
- type DeleteMovingExpenseInternalServerError
- func (o *DeleteMovingExpenseInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *DeleteMovingExpenseInternalServerError) WithPayload(payload *internalmessages.Error) *DeleteMovingExpenseInternalServerError
- func (o *DeleteMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpenseNoContent
- type DeleteMovingExpenseNotFound
- func (o *DeleteMovingExpenseNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteMovingExpenseNotFound) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseNotFound
- func (o *DeleteMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpenseParams
- type DeleteMovingExpenseURL
- func (o *DeleteMovingExpenseURL) Build() (*url.URL, error)
- func (o *DeleteMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteMovingExpenseURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteMovingExpenseURL) SetBasePath(bp string)
- func (o *DeleteMovingExpenseURL) String() string
- func (o *DeleteMovingExpenseURL) StringFull(scheme, host string) string
- func (o *DeleteMovingExpenseURL) WithBasePath(bp string) *DeleteMovingExpenseURL
- type DeleteMovingExpenseUnauthorized
- func (o *DeleteMovingExpenseUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteMovingExpenseUnauthorized) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseUnauthorized
- func (o *DeleteMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMovingExpenseUnprocessableEntity
- func (o *DeleteMovingExpenseUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *DeleteMovingExpenseUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *DeleteMovingExpenseUnprocessableEntity
- func (o *DeleteMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicket
- type DeleteProGearWeightTicketBadRequest
- func (o *DeleteProGearWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteProGearWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketBadRequest
- func (o *DeleteProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicketConflict
- func (o *DeleteProGearWeightTicketConflict) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteProGearWeightTicketConflict) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketConflict
- func (o *DeleteProGearWeightTicketConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicketForbidden
- func (o *DeleteProGearWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteProGearWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketForbidden
- func (o *DeleteProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicketHandler
- type DeleteProGearWeightTicketHandlerFunc
- type DeleteProGearWeightTicketInternalServerError
- func (o *DeleteProGearWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *DeleteProGearWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *DeleteProGearWeightTicketInternalServerError
- func (o *DeleteProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicketNoContent
- type DeleteProGearWeightTicketNotFound
- func (o *DeleteProGearWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteProGearWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketNotFound
- func (o *DeleteProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicketParams
- type DeleteProGearWeightTicketURL
- func (o *DeleteProGearWeightTicketURL) Build() (*url.URL, error)
- func (o *DeleteProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteProGearWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteProGearWeightTicketURL) SetBasePath(bp string)
- func (o *DeleteProGearWeightTicketURL) String() string
- func (o *DeleteProGearWeightTicketURL) StringFull(scheme, host string) string
- func (o *DeleteProGearWeightTicketURL) WithBasePath(bp string) *DeleteProGearWeightTicketURL
- type DeleteProGearWeightTicketUnauthorized
- func (o *DeleteProGearWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteProGearWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketUnauthorized
- func (o *DeleteProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteProGearWeightTicketUnprocessableEntity
- func (o *DeleteProGearWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *DeleteProGearWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *DeleteProGearWeightTicketUnprocessableEntity
- func (o *DeleteProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicket
- type DeleteWeightTicketBadRequest
- func (o *DeleteWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketBadRequest
- func (o *DeleteWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicketConflict
- func (o *DeleteWeightTicketConflict) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteWeightTicketConflict) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketConflict
- func (o *DeleteWeightTicketConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicketForbidden
- func (o *DeleteWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketForbidden
- func (o *DeleteWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicketHandler
- type DeleteWeightTicketHandlerFunc
- type DeleteWeightTicketInternalServerError
- func (o *DeleteWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *DeleteWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *DeleteWeightTicketInternalServerError
- func (o *DeleteWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicketNoContent
- type DeleteWeightTicketNotFound
- func (o *DeleteWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketNotFound
- func (o *DeleteWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicketParams
- type DeleteWeightTicketURL
- func (o *DeleteWeightTicketURL) Build() (*url.URL, error)
- func (o *DeleteWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteWeightTicketURL) SetBasePath(bp string)
- func (o *DeleteWeightTicketURL) String() string
- func (o *DeleteWeightTicketURL) StringFull(scheme, host string) string
- func (o *DeleteWeightTicketURL) WithBasePath(bp string) *DeleteWeightTicketURL
- type DeleteWeightTicketUnauthorized
- func (o *DeleteWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *DeleteWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketUnauthorized
- func (o *DeleteWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteWeightTicketUnprocessableEntity
- func (o *DeleteWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *DeleteWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *DeleteWeightTicketUnprocessableEntity
- func (o *DeleteWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentation
- type ResubmitPPMShipmentDocumentationBadRequest
- func (o *ResubmitPPMShipmentDocumentationBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *ResubmitPPMShipmentDocumentationBadRequest) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationBadRequest
- func (o *ResubmitPPMShipmentDocumentationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationConflict
- func (o *ResubmitPPMShipmentDocumentationConflict) SetPayload(payload *internalmessages.ClientError)
- func (o *ResubmitPPMShipmentDocumentationConflict) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationConflict
- func (o *ResubmitPPMShipmentDocumentationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationForbidden
- func (o *ResubmitPPMShipmentDocumentationForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *ResubmitPPMShipmentDocumentationForbidden) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationForbidden
- func (o *ResubmitPPMShipmentDocumentationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationHandler
- type ResubmitPPMShipmentDocumentationHandlerFunc
- type ResubmitPPMShipmentDocumentationInternalServerError
- func (o *ResubmitPPMShipmentDocumentationInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *ResubmitPPMShipmentDocumentationInternalServerError) WithPayload(payload *internalmessages.Error) *ResubmitPPMShipmentDocumentationInternalServerError
- func (o *ResubmitPPMShipmentDocumentationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationNotFound
- func (o *ResubmitPPMShipmentDocumentationNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *ResubmitPPMShipmentDocumentationNotFound) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationNotFound
- func (o *ResubmitPPMShipmentDocumentationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationOK
- func (o *ResubmitPPMShipmentDocumentationOK) SetPayload(payload *internalmessages.PPMShipment)
- func (o *ResubmitPPMShipmentDocumentationOK) WithPayload(payload *internalmessages.PPMShipment) *ResubmitPPMShipmentDocumentationOK
- func (o *ResubmitPPMShipmentDocumentationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationParams
- type ResubmitPPMShipmentDocumentationPreconditionFailed
- func (o *ResubmitPPMShipmentDocumentationPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
- func (o *ResubmitPPMShipmentDocumentationPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationPreconditionFailed
- func (o *ResubmitPPMShipmentDocumentationPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationURL
- func (o *ResubmitPPMShipmentDocumentationURL) Build() (*url.URL, error)
- func (o *ResubmitPPMShipmentDocumentationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ResubmitPPMShipmentDocumentationURL) Must(u *url.URL, err error) *url.URL
- func (o *ResubmitPPMShipmentDocumentationURL) SetBasePath(bp string)
- func (o *ResubmitPPMShipmentDocumentationURL) String() string
- func (o *ResubmitPPMShipmentDocumentationURL) StringFull(scheme, host string) string
- func (o *ResubmitPPMShipmentDocumentationURL) WithBasePath(bp string) *ResubmitPPMShipmentDocumentationURL
- type ResubmitPPMShipmentDocumentationUnauthorized
- func (o *ResubmitPPMShipmentDocumentationUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *ResubmitPPMShipmentDocumentationUnauthorized) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationUnauthorized
- func (o *ResubmitPPMShipmentDocumentationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResubmitPPMShipmentDocumentationUnprocessableEntity
- func (o *ResubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *ResubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *ResubmitPPMShipmentDocumentationUnprocessableEntity
- func (o *ResubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowAOAPacket
- type ShowAOAPacketBadRequest
- type ShowAOAPacketForbidden
- type ShowAOAPacketHandler
- type ShowAOAPacketHandlerFunc
- type ShowAOAPacketInternalServerError
- func (o *ShowAOAPacketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *ShowAOAPacketInternalServerError) WithPayload(payload *internalmessages.Error) *ShowAOAPacketInternalServerError
- func (o *ShowAOAPacketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowAOAPacketNotFound
- type ShowAOAPacketOK
- func (o *ShowAOAPacketOK) SetContentDisposition(contentDisposition string)
- func (o *ShowAOAPacketOK) SetPayload(payload io.ReadCloser)
- func (o *ShowAOAPacketOK) WithContentDisposition(contentDisposition string) *ShowAOAPacketOK
- func (o *ShowAOAPacketOK) WithPayload(payload io.ReadCloser) *ShowAOAPacketOK
- func (o *ShowAOAPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowAOAPacketParams
- type ShowAOAPacketURL
- func (o *ShowAOAPacketURL) Build() (*url.URL, error)
- func (o *ShowAOAPacketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowAOAPacketURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowAOAPacketURL) SetBasePath(bp string)
- func (o *ShowAOAPacketURL) String() string
- func (o *ShowAOAPacketURL) StringFull(scheme, host string) string
- func (o *ShowAOAPacketURL) WithBasePath(bp string) *ShowAOAPacketURL
- type ShowAOAPacketUnprocessableEntity
- func (o *ShowAOAPacketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *ShowAOAPacketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *ShowAOAPacketUnprocessableEntity
- func (o *ShowAOAPacketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowPaymentPacket
- type ShowPaymentPacketBadRequest
- type ShowPaymentPacketForbidden
- type ShowPaymentPacketHandler
- type ShowPaymentPacketHandlerFunc
- type ShowPaymentPacketInternalServerError
- type ShowPaymentPacketNotFound
- type ShowPaymentPacketOK
- func (o *ShowPaymentPacketOK) SetContentDisposition(contentDisposition string)
- func (o *ShowPaymentPacketOK) SetPayload(payload io.ReadCloser)
- func (o *ShowPaymentPacketOK) WithContentDisposition(contentDisposition string) *ShowPaymentPacketOK
- func (o *ShowPaymentPacketOK) WithPayload(payload io.ReadCloser) *ShowPaymentPacketOK
- func (o *ShowPaymentPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowPaymentPacketParams
- type ShowPaymentPacketURL
- func (o *ShowPaymentPacketURL) Build() (*url.URL, error)
- func (o *ShowPaymentPacketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowPaymentPacketURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowPaymentPacketURL) SetBasePath(bp string)
- func (o *ShowPaymentPacketURL) String() string
- func (o *ShowPaymentPacketURL) StringFull(scheme, host string) string
- func (o *ShowPaymentPacketURL) WithBasePath(bp string) *ShowPaymentPacketURL
- type ShowPaymentPacketUnauthorized
- type SubmitPPMShipmentDocumentation
- type SubmitPPMShipmentDocumentationBadRequest
- func (o *SubmitPPMShipmentDocumentationBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *SubmitPPMShipmentDocumentationBadRequest) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationBadRequest
- func (o *SubmitPPMShipmentDocumentationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationConflict
- func (o *SubmitPPMShipmentDocumentationConflict) SetPayload(payload *internalmessages.ClientError)
- func (o *SubmitPPMShipmentDocumentationConflict) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationConflict
- func (o *SubmitPPMShipmentDocumentationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationForbidden
- func (o *SubmitPPMShipmentDocumentationForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *SubmitPPMShipmentDocumentationForbidden) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationForbidden
- func (o *SubmitPPMShipmentDocumentationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationHandler
- type SubmitPPMShipmentDocumentationHandlerFunc
- type SubmitPPMShipmentDocumentationInternalServerError
- func (o *SubmitPPMShipmentDocumentationInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *SubmitPPMShipmentDocumentationInternalServerError) WithPayload(payload *internalmessages.Error) *SubmitPPMShipmentDocumentationInternalServerError
- func (o *SubmitPPMShipmentDocumentationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationNotFound
- func (o *SubmitPPMShipmentDocumentationNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *SubmitPPMShipmentDocumentationNotFound) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationNotFound
- func (o *SubmitPPMShipmentDocumentationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationOK
- func (o *SubmitPPMShipmentDocumentationOK) SetPayload(payload *internalmessages.PPMShipment)
- func (o *SubmitPPMShipmentDocumentationOK) WithPayload(payload *internalmessages.PPMShipment) *SubmitPPMShipmentDocumentationOK
- func (o *SubmitPPMShipmentDocumentationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationParams
- type SubmitPPMShipmentDocumentationURL
- func (o *SubmitPPMShipmentDocumentationURL) Build() (*url.URL, error)
- func (o *SubmitPPMShipmentDocumentationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SubmitPPMShipmentDocumentationURL) Must(u *url.URL, err error) *url.URL
- func (o *SubmitPPMShipmentDocumentationURL) SetBasePath(bp string)
- func (o *SubmitPPMShipmentDocumentationURL) String() string
- func (o *SubmitPPMShipmentDocumentationURL) StringFull(scheme, host string) string
- func (o *SubmitPPMShipmentDocumentationURL) WithBasePath(bp string) *SubmitPPMShipmentDocumentationURL
- type SubmitPPMShipmentDocumentationUnauthorized
- func (o *SubmitPPMShipmentDocumentationUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *SubmitPPMShipmentDocumentationUnauthorized) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationUnauthorized
- func (o *SubmitPPMShipmentDocumentationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SubmitPPMShipmentDocumentationUnprocessableEntity
- func (o *SubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *SubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *SubmitPPMShipmentDocumentationUnprocessableEntity
- func (o *SubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpense
- type UpdateMovingExpenseBadRequest
- func (o *UpdateMovingExpenseBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateMovingExpenseBadRequest) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseBadRequest
- func (o *UpdateMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseForbidden
- func (o *UpdateMovingExpenseForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateMovingExpenseForbidden) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseForbidden
- func (o *UpdateMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseHandler
- type UpdateMovingExpenseHandlerFunc
- type UpdateMovingExpenseInternalServerError
- func (o *UpdateMovingExpenseInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *UpdateMovingExpenseInternalServerError) WithPayload(payload *internalmessages.Error) *UpdateMovingExpenseInternalServerError
- func (o *UpdateMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseNotFound
- func (o *UpdateMovingExpenseNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateMovingExpenseNotFound) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseNotFound
- func (o *UpdateMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseOK
- type UpdateMovingExpenseParams
- type UpdateMovingExpensePreconditionFailed
- func (o *UpdateMovingExpensePreconditionFailed) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateMovingExpensePreconditionFailed) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpensePreconditionFailed
- func (o *UpdateMovingExpensePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseURL
- func (o *UpdateMovingExpenseURL) Build() (*url.URL, error)
- func (o *UpdateMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateMovingExpenseURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateMovingExpenseURL) SetBasePath(bp string)
- func (o *UpdateMovingExpenseURL) String() string
- func (o *UpdateMovingExpenseURL) StringFull(scheme, host string) string
- func (o *UpdateMovingExpenseURL) WithBasePath(bp string) *UpdateMovingExpenseURL
- type UpdateMovingExpenseUnauthorized
- func (o *UpdateMovingExpenseUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateMovingExpenseUnauthorized) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseUnauthorized
- func (o *UpdateMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateMovingExpenseUnprocessableEntity
- func (o *UpdateMovingExpenseUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *UpdateMovingExpenseUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *UpdateMovingExpenseUnprocessableEntity
- func (o *UpdateMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicket
- type UpdateProGearWeightTicketBadRequest
- func (o *UpdateProGearWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateProGearWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketBadRequest
- func (o *UpdateProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketForbidden
- func (o *UpdateProGearWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateProGearWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketForbidden
- func (o *UpdateProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketHandler
- type UpdateProGearWeightTicketHandlerFunc
- type UpdateProGearWeightTicketInternalServerError
- func (o *UpdateProGearWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *UpdateProGearWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *UpdateProGearWeightTicketInternalServerError
- func (o *UpdateProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketNotFound
- func (o *UpdateProGearWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateProGearWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketNotFound
- func (o *UpdateProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketOK
- func (o *UpdateProGearWeightTicketOK) SetPayload(payload *internalmessages.ProGearWeightTicket)
- func (o *UpdateProGearWeightTicketOK) WithPayload(payload *internalmessages.ProGearWeightTicket) *UpdateProGearWeightTicketOK
- func (o *UpdateProGearWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketParams
- type UpdateProGearWeightTicketPreconditionFailed
- func (o *UpdateProGearWeightTicketPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateProGearWeightTicketPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketPreconditionFailed
- func (o *UpdateProGearWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketURL
- func (o *UpdateProGearWeightTicketURL) Build() (*url.URL, error)
- func (o *UpdateProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateProGearWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateProGearWeightTicketURL) SetBasePath(bp string)
- func (o *UpdateProGearWeightTicketURL) String() string
- func (o *UpdateProGearWeightTicketURL) StringFull(scheme, host string) string
- func (o *UpdateProGearWeightTicketURL) WithBasePath(bp string) *UpdateProGearWeightTicketURL
- type UpdateProGearWeightTicketUnauthorized
- func (o *UpdateProGearWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateProGearWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketUnauthorized
- func (o *UpdateProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateProGearWeightTicketUnprocessableEntity
- func (o *UpdateProGearWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *UpdateProGearWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *UpdateProGearWeightTicketUnprocessableEntity
- func (o *UpdateProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicket
- type UpdateWeightTicketBadRequest
- func (o *UpdateWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketBadRequest
- func (o *UpdateWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketForbidden
- func (o *UpdateWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketForbidden
- func (o *UpdateWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketHandler
- type UpdateWeightTicketHandlerFunc
- type UpdateWeightTicketInternalServerError
- func (o *UpdateWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *UpdateWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *UpdateWeightTicketInternalServerError
- func (o *UpdateWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketNotFound
- func (o *UpdateWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketNotFound
- func (o *UpdateWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketOK
- type UpdateWeightTicketParams
- type UpdateWeightTicketPreconditionFailed
- func (o *UpdateWeightTicketPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateWeightTicketPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketPreconditionFailed
- func (o *UpdateWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketURL
- func (o *UpdateWeightTicketURL) Build() (*url.URL, error)
- func (o *UpdateWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateWeightTicketURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateWeightTicketURL) SetBasePath(bp string)
- func (o *UpdateWeightTicketURL) String() string
- func (o *UpdateWeightTicketURL) StringFull(scheme, host string) string
- func (o *UpdateWeightTicketURL) WithBasePath(bp string) *UpdateWeightTicketURL
- type UpdateWeightTicketUnauthorized
- func (o *UpdateWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *UpdateWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketUnauthorized
- func (o *UpdateWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateWeightTicketUnprocessableEntity
- func (o *UpdateWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
- func (o *UpdateWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *UpdateWeightTicketUnprocessableEntity
- func (o *UpdateWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateMovingExpenseBadRequestCode int = 400
CreateMovingExpenseBadRequestCode is the HTTP code returned for type CreateMovingExpenseBadRequest
const CreateMovingExpenseCreatedCode int = 201
CreateMovingExpenseCreatedCode is the HTTP code returned for type CreateMovingExpenseCreated
const CreateMovingExpenseForbiddenCode int = 403
CreateMovingExpenseForbiddenCode is the HTTP code returned for type CreateMovingExpenseForbidden
const CreateMovingExpenseInternalServerErrorCode int = 500
CreateMovingExpenseInternalServerErrorCode is the HTTP code returned for type CreateMovingExpenseInternalServerError
const CreateMovingExpenseNotFoundCode int = 404
CreateMovingExpenseNotFoundCode is the HTTP code returned for type CreateMovingExpenseNotFound
CreateMovingExpenseUnauthorizedCode is the HTTP code returned for type CreateMovingExpenseUnauthorized
const CreateMovingExpenseUnprocessableEntityCode int = 422
CreateMovingExpenseUnprocessableEntityCode is the HTTP code returned for type CreateMovingExpenseUnprocessableEntity
const CreatePPMUploadBadRequestCode int = 400
CreatePPMUploadBadRequestCode is the HTTP code returned for type CreatePPMUploadBadRequest
const CreatePPMUploadCreatedCode int = 201
CreatePPMUploadCreatedCode is the HTTP code returned for type CreatePPMUploadCreated
const CreatePPMUploadForbiddenCode int = 403
CreatePPMUploadForbiddenCode is the HTTP code returned for type CreatePPMUploadForbidden
const CreatePPMUploadInternalServerErrorCode int = 500
CreatePPMUploadInternalServerErrorCode is the HTTP code returned for type CreatePPMUploadInternalServerError
const CreatePPMUploadNotFoundCode int = 404
CreatePPMUploadNotFoundCode is the HTTP code returned for type CreatePPMUploadNotFound
const CreatePPMUploadRequestEntityTooLargeCode int = 413
CreatePPMUploadRequestEntityTooLargeCode is the HTTP code returned for type CreatePPMUploadRequestEntityTooLarge
const CreatePPMUploadUnprocessableEntityCode int = 422
CreatePPMUploadUnprocessableEntityCode is the HTTP code returned for type CreatePPMUploadUnprocessableEntity
const CreateProGearWeightTicketBadRequestCode int = 400
CreateProGearWeightTicketBadRequestCode is the HTTP code returned for type CreateProGearWeightTicketBadRequest
const CreateProGearWeightTicketCreatedCode int = 201
CreateProGearWeightTicketCreatedCode is the HTTP code returned for type CreateProGearWeightTicketCreated
const CreateProGearWeightTicketForbiddenCode int = 403
CreateProGearWeightTicketForbiddenCode is the HTTP code returned for type CreateProGearWeightTicketForbidden
const CreateProGearWeightTicketInternalServerErrorCode int = 500
CreateProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type CreateProGearWeightTicketInternalServerError
const CreateProGearWeightTicketNotFoundCode int = 404
CreateProGearWeightTicketNotFoundCode is the HTTP code returned for type CreateProGearWeightTicketNotFound
const CreateProGearWeightTicketPreconditionFailedCode int = 412
CreateProGearWeightTicketPreconditionFailedCode is the HTTP code returned for type CreateProGearWeightTicketPreconditionFailed
CreateProGearWeightTicketUnauthorizedCode is the HTTP code returned for type CreateProGearWeightTicketUnauthorized
const CreateProGearWeightTicketUnprocessableEntityCode int = 422
CreateProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type CreateProGearWeightTicketUnprocessableEntity
const CreateWeightTicketBadRequestCode int = 400
CreateWeightTicketBadRequestCode is the HTTP code returned for type CreateWeightTicketBadRequest
const CreateWeightTicketForbiddenCode int = 403
CreateWeightTicketForbiddenCode is the HTTP code returned for type CreateWeightTicketForbidden
const CreateWeightTicketInternalServerErrorCode int = 500
CreateWeightTicketInternalServerErrorCode is the HTTP code returned for type CreateWeightTicketInternalServerError
const CreateWeightTicketNotFoundCode int = 404
CreateWeightTicketNotFoundCode is the HTTP code returned for type CreateWeightTicketNotFound
const CreateWeightTicketOKCode int = 200
CreateWeightTicketOKCode is the HTTP code returned for type CreateWeightTicketOK
CreateWeightTicketUnauthorizedCode is the HTTP code returned for type CreateWeightTicketUnauthorized
const CreateWeightTicketUnprocessableEntityCode int = 422
CreateWeightTicketUnprocessableEntityCode is the HTTP code returned for type CreateWeightTicketUnprocessableEntity
const DeleteMovingExpenseBadRequestCode int = 400
DeleteMovingExpenseBadRequestCode is the HTTP code returned for type DeleteMovingExpenseBadRequest
const DeleteMovingExpenseConflictCode int = 409
DeleteMovingExpenseConflictCode is the HTTP code returned for type DeleteMovingExpenseConflict
const DeleteMovingExpenseForbiddenCode int = 403
DeleteMovingExpenseForbiddenCode is the HTTP code returned for type DeleteMovingExpenseForbidden
const DeleteMovingExpenseInternalServerErrorCode int = 500
DeleteMovingExpenseInternalServerErrorCode is the HTTP code returned for type DeleteMovingExpenseInternalServerError
const DeleteMovingExpenseNoContentCode int = 204
DeleteMovingExpenseNoContentCode is the HTTP code returned for type DeleteMovingExpenseNoContent
const DeleteMovingExpenseNotFoundCode int = 404
DeleteMovingExpenseNotFoundCode is the HTTP code returned for type DeleteMovingExpenseNotFound
DeleteMovingExpenseUnauthorizedCode is the HTTP code returned for type DeleteMovingExpenseUnauthorized
const DeleteMovingExpenseUnprocessableEntityCode int = 422
DeleteMovingExpenseUnprocessableEntityCode is the HTTP code returned for type DeleteMovingExpenseUnprocessableEntity
const DeleteProGearWeightTicketBadRequestCode int = 400
DeleteProGearWeightTicketBadRequestCode is the HTTP code returned for type DeleteProGearWeightTicketBadRequest
const DeleteProGearWeightTicketConflictCode int = 409
DeleteProGearWeightTicketConflictCode is the HTTP code returned for type DeleteProGearWeightTicketConflict
const DeleteProGearWeightTicketForbiddenCode int = 403
DeleteProGearWeightTicketForbiddenCode is the HTTP code returned for type DeleteProGearWeightTicketForbidden
const DeleteProGearWeightTicketInternalServerErrorCode int = 500
DeleteProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type DeleteProGearWeightTicketInternalServerError
const DeleteProGearWeightTicketNoContentCode int = 204
DeleteProGearWeightTicketNoContentCode is the HTTP code returned for type DeleteProGearWeightTicketNoContent
const DeleteProGearWeightTicketNotFoundCode int = 404
DeleteProGearWeightTicketNotFoundCode is the HTTP code returned for type DeleteProGearWeightTicketNotFound
DeleteProGearWeightTicketUnauthorizedCode is the HTTP code returned for type DeleteProGearWeightTicketUnauthorized
const DeleteProGearWeightTicketUnprocessableEntityCode int = 422
DeleteProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type DeleteProGearWeightTicketUnprocessableEntity
const DeleteWeightTicketBadRequestCode int = 400
DeleteWeightTicketBadRequestCode is the HTTP code returned for type DeleteWeightTicketBadRequest
const DeleteWeightTicketConflictCode int = 409
DeleteWeightTicketConflictCode is the HTTP code returned for type DeleteWeightTicketConflict
const DeleteWeightTicketForbiddenCode int = 403
DeleteWeightTicketForbiddenCode is the HTTP code returned for type DeleteWeightTicketForbidden
const DeleteWeightTicketInternalServerErrorCode int = 500
DeleteWeightTicketInternalServerErrorCode is the HTTP code returned for type DeleteWeightTicketInternalServerError
const DeleteWeightTicketNoContentCode int = 204
DeleteWeightTicketNoContentCode is the HTTP code returned for type DeleteWeightTicketNoContent
const DeleteWeightTicketNotFoundCode int = 404
DeleteWeightTicketNotFoundCode is the HTTP code returned for type DeleteWeightTicketNotFound
DeleteWeightTicketUnauthorizedCode is the HTTP code returned for type DeleteWeightTicketUnauthorized
const DeleteWeightTicketUnprocessableEntityCode int = 422
DeleteWeightTicketUnprocessableEntityCode is the HTTP code returned for type DeleteWeightTicketUnprocessableEntity
const ResubmitPPMShipmentDocumentationBadRequestCode int = 400
ResubmitPPMShipmentDocumentationBadRequestCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationBadRequest
const ResubmitPPMShipmentDocumentationConflictCode int = 409
ResubmitPPMShipmentDocumentationConflictCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationConflict
const ResubmitPPMShipmentDocumentationForbiddenCode int = 403
ResubmitPPMShipmentDocumentationForbiddenCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationForbidden
const ResubmitPPMShipmentDocumentationInternalServerErrorCode int = 500
ResubmitPPMShipmentDocumentationInternalServerErrorCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationInternalServerError
const ResubmitPPMShipmentDocumentationNotFoundCode int = 404
ResubmitPPMShipmentDocumentationNotFoundCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationNotFound
const ResubmitPPMShipmentDocumentationOKCode int = 200
ResubmitPPMShipmentDocumentationOKCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationOK
const ResubmitPPMShipmentDocumentationPreconditionFailedCode int = 412
ResubmitPPMShipmentDocumentationPreconditionFailedCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationPreconditionFailed
ResubmitPPMShipmentDocumentationUnauthorizedCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationUnauthorized
const ResubmitPPMShipmentDocumentationUnprocessableEntityCode int = 422
ResubmitPPMShipmentDocumentationUnprocessableEntityCode is the HTTP code returned for type ResubmitPPMShipmentDocumentationUnprocessableEntity
const ShowAOAPacketBadRequestCode int = 400
ShowAOAPacketBadRequestCode is the HTTP code returned for type ShowAOAPacketBadRequest
const ShowAOAPacketForbiddenCode int = 403
ShowAOAPacketForbiddenCode is the HTTP code returned for type ShowAOAPacketForbidden
const ShowAOAPacketInternalServerErrorCode int = 500
ShowAOAPacketInternalServerErrorCode is the HTTP code returned for type ShowAOAPacketInternalServerError
const ShowAOAPacketNotFoundCode int = 404
ShowAOAPacketNotFoundCode is the HTTP code returned for type ShowAOAPacketNotFound
const ShowAOAPacketOKCode int = 200
ShowAOAPacketOKCode is the HTTP code returned for type ShowAOAPacketOK
const ShowAOAPacketUnprocessableEntityCode int = 422
ShowAOAPacketUnprocessableEntityCode is the HTTP code returned for type ShowAOAPacketUnprocessableEntity
const ShowPaymentPacketBadRequestCode int = 400
ShowPaymentPacketBadRequestCode is the HTTP code returned for type ShowPaymentPacketBadRequest
const ShowPaymentPacketForbiddenCode int = 403
ShowPaymentPacketForbiddenCode is the HTTP code returned for type ShowPaymentPacketForbidden
const ShowPaymentPacketInternalServerErrorCode int = 500
ShowPaymentPacketInternalServerErrorCode is the HTTP code returned for type ShowPaymentPacketInternalServerError
const ShowPaymentPacketNotFoundCode int = 404
ShowPaymentPacketNotFoundCode is the HTTP code returned for type ShowPaymentPacketNotFound
const ShowPaymentPacketOKCode int = 200
ShowPaymentPacketOKCode is the HTTP code returned for type ShowPaymentPacketOK
ShowPaymentPacketUnauthorizedCode is the HTTP code returned for type ShowPaymentPacketUnauthorized
const SubmitPPMShipmentDocumentationBadRequestCode int = 400
SubmitPPMShipmentDocumentationBadRequestCode is the HTTP code returned for type SubmitPPMShipmentDocumentationBadRequest
const SubmitPPMShipmentDocumentationConflictCode int = 409
SubmitPPMShipmentDocumentationConflictCode is the HTTP code returned for type SubmitPPMShipmentDocumentationConflict
const SubmitPPMShipmentDocumentationForbiddenCode int = 403
SubmitPPMShipmentDocumentationForbiddenCode is the HTTP code returned for type SubmitPPMShipmentDocumentationForbidden
const SubmitPPMShipmentDocumentationInternalServerErrorCode int = 500
SubmitPPMShipmentDocumentationInternalServerErrorCode is the HTTP code returned for type SubmitPPMShipmentDocumentationInternalServerError
const SubmitPPMShipmentDocumentationNotFoundCode int = 404
SubmitPPMShipmentDocumentationNotFoundCode is the HTTP code returned for type SubmitPPMShipmentDocumentationNotFound
const SubmitPPMShipmentDocumentationOKCode int = 200
SubmitPPMShipmentDocumentationOKCode is the HTTP code returned for type SubmitPPMShipmentDocumentationOK
SubmitPPMShipmentDocumentationUnauthorizedCode is the HTTP code returned for type SubmitPPMShipmentDocumentationUnauthorized
const SubmitPPMShipmentDocumentationUnprocessableEntityCode int = 422
SubmitPPMShipmentDocumentationUnprocessableEntityCode is the HTTP code returned for type SubmitPPMShipmentDocumentationUnprocessableEntity
const UpdateMovingExpenseBadRequestCode int = 400
UpdateMovingExpenseBadRequestCode is the HTTP code returned for type UpdateMovingExpenseBadRequest
const UpdateMovingExpenseForbiddenCode int = 403
UpdateMovingExpenseForbiddenCode is the HTTP code returned for type UpdateMovingExpenseForbidden
const UpdateMovingExpenseInternalServerErrorCode int = 500
UpdateMovingExpenseInternalServerErrorCode is the HTTP code returned for type UpdateMovingExpenseInternalServerError
const UpdateMovingExpenseNotFoundCode int = 404
UpdateMovingExpenseNotFoundCode is the HTTP code returned for type UpdateMovingExpenseNotFound
const UpdateMovingExpenseOKCode int = 200
UpdateMovingExpenseOKCode is the HTTP code returned for type UpdateMovingExpenseOK
const UpdateMovingExpensePreconditionFailedCode int = 412
UpdateMovingExpensePreconditionFailedCode is the HTTP code returned for type UpdateMovingExpensePreconditionFailed
UpdateMovingExpenseUnauthorizedCode is the HTTP code returned for type UpdateMovingExpenseUnauthorized
const UpdateMovingExpenseUnprocessableEntityCode int = 422
UpdateMovingExpenseUnprocessableEntityCode is the HTTP code returned for type UpdateMovingExpenseUnprocessableEntity
const UpdateProGearWeightTicketBadRequestCode int = 400
UpdateProGearWeightTicketBadRequestCode is the HTTP code returned for type UpdateProGearWeightTicketBadRequest
const UpdateProGearWeightTicketForbiddenCode int = 403
UpdateProGearWeightTicketForbiddenCode is the HTTP code returned for type UpdateProGearWeightTicketForbidden
const UpdateProGearWeightTicketInternalServerErrorCode int = 500
UpdateProGearWeightTicketInternalServerErrorCode is the HTTP code returned for type UpdateProGearWeightTicketInternalServerError
const UpdateProGearWeightTicketNotFoundCode int = 404
UpdateProGearWeightTicketNotFoundCode is the HTTP code returned for type UpdateProGearWeightTicketNotFound
const UpdateProGearWeightTicketOKCode int = 200
UpdateProGearWeightTicketOKCode is the HTTP code returned for type UpdateProGearWeightTicketOK
const UpdateProGearWeightTicketPreconditionFailedCode int = 412
UpdateProGearWeightTicketPreconditionFailedCode is the HTTP code returned for type UpdateProGearWeightTicketPreconditionFailed
UpdateProGearWeightTicketUnauthorizedCode is the HTTP code returned for type UpdateProGearWeightTicketUnauthorized
const UpdateProGearWeightTicketUnprocessableEntityCode int = 422
UpdateProGearWeightTicketUnprocessableEntityCode is the HTTP code returned for type UpdateProGearWeightTicketUnprocessableEntity
const UpdateWeightTicketBadRequestCode int = 400
UpdateWeightTicketBadRequestCode is the HTTP code returned for type UpdateWeightTicketBadRequest
const UpdateWeightTicketForbiddenCode int = 403
UpdateWeightTicketForbiddenCode is the HTTP code returned for type UpdateWeightTicketForbidden
const UpdateWeightTicketInternalServerErrorCode int = 500
UpdateWeightTicketInternalServerErrorCode is the HTTP code returned for type UpdateWeightTicketInternalServerError
const UpdateWeightTicketNotFoundCode int = 404
UpdateWeightTicketNotFoundCode is the HTTP code returned for type UpdateWeightTicketNotFound
const UpdateWeightTicketOKCode int = 200
UpdateWeightTicketOKCode is the HTTP code returned for type UpdateWeightTicketOK
const UpdateWeightTicketPreconditionFailedCode int = 412
UpdateWeightTicketPreconditionFailedCode is the HTTP code returned for type UpdateWeightTicketPreconditionFailed
UpdateWeightTicketUnauthorizedCode is the HTTP code returned for type UpdateWeightTicketUnauthorized
const UpdateWeightTicketUnprocessableEntityCode int = 422
UpdateWeightTicketUnprocessableEntityCode is the HTTP code returned for type UpdateWeightTicketUnprocessableEntity
Variables ¶
var CreatePPMUploadMaxParseMemory int64 = 32 << 20
CreatePPMUploadMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
The default value is 32 MB. The multipart parser stores up to this + 10MB.
Functions ¶
This section is empty.
Types ¶
type CreateMovingExpense ¶
type CreateMovingExpense struct { Context *middleware.Context Handler CreateMovingExpenseHandler }
CreateMovingExpense swagger:route POST /ppm-shipments/{ppmShipmentId}/moving-expenses ppm createMovingExpense
Creates moving expense document ¶
Creates a moving expense document for the PPM shipment
func NewCreateMovingExpense ¶
func NewCreateMovingExpense(ctx *middleware.Context, handler CreateMovingExpenseHandler) *CreateMovingExpense
NewCreateMovingExpense creates a new http.Handler for the create moving expense operation
func (*CreateMovingExpense) ServeHTTP ¶
func (o *CreateMovingExpense) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateMovingExpenseBadRequest ¶
type CreateMovingExpenseBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateMovingExpenseBadRequest The request payload is invalid.
swagger:response createMovingExpenseBadRequest
func NewCreateMovingExpenseBadRequest ¶
func NewCreateMovingExpenseBadRequest() *CreateMovingExpenseBadRequest
NewCreateMovingExpenseBadRequest creates CreateMovingExpenseBadRequest with default headers values
func (*CreateMovingExpenseBadRequest) SetPayload ¶
func (o *CreateMovingExpenseBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create moving expense bad request response
func (*CreateMovingExpenseBadRequest) WithPayload ¶
func (o *CreateMovingExpenseBadRequest) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseBadRequest
WithPayload adds the payload to the create moving expense bad request response
func (*CreateMovingExpenseBadRequest) WriteResponse ¶
func (o *CreateMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMovingExpenseCreated ¶
type CreateMovingExpenseCreated struct { /* In: Body */ Payload *internalmessages.MovingExpense `json:"body,omitempty"` }
CreateMovingExpenseCreated returns new moving expense object
swagger:response createMovingExpenseCreated
func NewCreateMovingExpenseCreated ¶
func NewCreateMovingExpenseCreated() *CreateMovingExpenseCreated
NewCreateMovingExpenseCreated creates CreateMovingExpenseCreated with default headers values
func (*CreateMovingExpenseCreated) SetPayload ¶
func (o *CreateMovingExpenseCreated) SetPayload(payload *internalmessages.MovingExpense)
SetPayload sets the payload to the create moving expense created response
func (*CreateMovingExpenseCreated) WithPayload ¶
func (o *CreateMovingExpenseCreated) WithPayload(payload *internalmessages.MovingExpense) *CreateMovingExpenseCreated
WithPayload adds the payload to the create moving expense created response
func (*CreateMovingExpenseCreated) WriteResponse ¶
func (o *CreateMovingExpenseCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMovingExpenseForbidden ¶
type CreateMovingExpenseForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateMovingExpenseForbidden The request was denied.
swagger:response createMovingExpenseForbidden
func NewCreateMovingExpenseForbidden ¶
func NewCreateMovingExpenseForbidden() *CreateMovingExpenseForbidden
NewCreateMovingExpenseForbidden creates CreateMovingExpenseForbidden with default headers values
func (*CreateMovingExpenseForbidden) SetPayload ¶
func (o *CreateMovingExpenseForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create moving expense forbidden response
func (*CreateMovingExpenseForbidden) WithPayload ¶
func (o *CreateMovingExpenseForbidden) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseForbidden
WithPayload adds the payload to the create moving expense forbidden response
func (*CreateMovingExpenseForbidden) WriteResponse ¶
func (o *CreateMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMovingExpenseHandler ¶
type CreateMovingExpenseHandler interface {
Handle(CreateMovingExpenseParams) middleware.Responder
}
CreateMovingExpenseHandler interface for that can handle valid create moving expense params
type CreateMovingExpenseHandlerFunc ¶
type CreateMovingExpenseHandlerFunc func(CreateMovingExpenseParams) middleware.Responder
CreateMovingExpenseHandlerFunc turns a function with the right signature into a create moving expense handler
func (CreateMovingExpenseHandlerFunc) Handle ¶
func (fn CreateMovingExpenseHandlerFunc) Handle(params CreateMovingExpenseParams) middleware.Responder
Handle executing the request and returning a response
type CreateMovingExpenseInternalServerError ¶
type CreateMovingExpenseInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
CreateMovingExpenseInternalServerError A server error occurred.
swagger:response createMovingExpenseInternalServerError
func NewCreateMovingExpenseInternalServerError ¶
func NewCreateMovingExpenseInternalServerError() *CreateMovingExpenseInternalServerError
NewCreateMovingExpenseInternalServerError creates CreateMovingExpenseInternalServerError with default headers values
func (*CreateMovingExpenseInternalServerError) SetPayload ¶
func (o *CreateMovingExpenseInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the create moving expense internal server error response
func (*CreateMovingExpenseInternalServerError) WithPayload ¶
func (o *CreateMovingExpenseInternalServerError) WithPayload(payload *internalmessages.Error) *CreateMovingExpenseInternalServerError
WithPayload adds the payload to the create moving expense internal server error response
func (*CreateMovingExpenseInternalServerError) WriteResponse ¶
func (o *CreateMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMovingExpenseNotFound ¶
type CreateMovingExpenseNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateMovingExpenseNotFound The requested resource wasn't found.
swagger:response createMovingExpenseNotFound
func NewCreateMovingExpenseNotFound ¶
func NewCreateMovingExpenseNotFound() *CreateMovingExpenseNotFound
NewCreateMovingExpenseNotFound creates CreateMovingExpenseNotFound with default headers values
func (*CreateMovingExpenseNotFound) SetPayload ¶
func (o *CreateMovingExpenseNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create moving expense not found response
func (*CreateMovingExpenseNotFound) WithPayload ¶
func (o *CreateMovingExpenseNotFound) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseNotFound
WithPayload adds the payload to the create moving expense not found response
func (*CreateMovingExpenseNotFound) WriteResponse ¶
func (o *CreateMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMovingExpenseParams ¶
type CreateMovingExpenseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
CreateMovingExpenseParams contains all the bound params for the create moving expense operation typically these are obtained from a http.Request
swagger:parameters createMovingExpense
func NewCreateMovingExpenseParams ¶
func NewCreateMovingExpenseParams() CreateMovingExpenseParams
NewCreateMovingExpenseParams creates a new CreateMovingExpenseParams object
There are no default values defined in the spec.
func (*CreateMovingExpenseParams) BindRequest ¶
func (o *CreateMovingExpenseParams) 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 NewCreateMovingExpenseParams() beforehand.
type CreateMovingExpenseURL ¶
type CreateMovingExpenseURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
CreateMovingExpenseURL generates an URL for the create moving expense operation
func (*CreateMovingExpenseURL) Build ¶
func (o *CreateMovingExpenseURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateMovingExpenseURL) BuildFull ¶
func (o *CreateMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateMovingExpenseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateMovingExpenseURL) SetBasePath ¶
func (o *CreateMovingExpenseURL) 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 (*CreateMovingExpenseURL) String ¶
func (o *CreateMovingExpenseURL) String() string
String returns the string representation of the path with query string
func (*CreateMovingExpenseURL) StringFull ¶
func (o *CreateMovingExpenseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateMovingExpenseURL) WithBasePath ¶
func (o *CreateMovingExpenseURL) WithBasePath(bp string) *CreateMovingExpenseURL
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 CreateMovingExpenseUnauthorized ¶
type CreateMovingExpenseUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
CreateMovingExpenseUnauthorized The request was denied.
swagger:response createMovingExpenseUnauthorized
func NewCreateMovingExpenseUnauthorized ¶
func NewCreateMovingExpenseUnauthorized() *CreateMovingExpenseUnauthorized
NewCreateMovingExpenseUnauthorized creates CreateMovingExpenseUnauthorized with default headers values
func (*CreateMovingExpenseUnauthorized) SetPayload ¶
func (o *CreateMovingExpenseUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create moving expense unauthorized response
func (*CreateMovingExpenseUnauthorized) WithPayload ¶
func (o *CreateMovingExpenseUnauthorized) WithPayload(payload *internalmessages.ClientError) *CreateMovingExpenseUnauthorized
WithPayload adds the payload to the create moving expense unauthorized response
func (*CreateMovingExpenseUnauthorized) WriteResponse ¶
func (o *CreateMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateMovingExpenseUnprocessableEntity ¶
type CreateMovingExpenseUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
CreateMovingExpenseUnprocessableEntity The payload was unprocessable.
swagger:response createMovingExpenseUnprocessableEntity
func NewCreateMovingExpenseUnprocessableEntity ¶
func NewCreateMovingExpenseUnprocessableEntity() *CreateMovingExpenseUnprocessableEntity
NewCreateMovingExpenseUnprocessableEntity creates CreateMovingExpenseUnprocessableEntity with default headers values
func (*CreateMovingExpenseUnprocessableEntity) SetPayload ¶
func (o *CreateMovingExpenseUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the create moving expense unprocessable entity response
func (*CreateMovingExpenseUnprocessableEntity) WithPayload ¶
func (o *CreateMovingExpenseUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreateMovingExpenseUnprocessableEntity
WithPayload adds the payload to the create moving expense unprocessable entity response
func (*CreateMovingExpenseUnprocessableEntity) WriteResponse ¶
func (o *CreateMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUpload ¶
type CreatePPMUpload struct { Context *middleware.Context Handler CreatePPMUploadHandler }
CreatePPMUpload swagger:route POST /ppm-shipments/{ppmShipmentId}/uploads ppm createPPMUpload
Create a new upload for a PPM weight ticket, pro-gear, or moving expense document ¶
Uploads represent a single digital file, such as a PNG, JPEG, PDF, or spreadsheet.
func NewCreatePPMUpload ¶
func NewCreatePPMUpload(ctx *middleware.Context, handler CreatePPMUploadHandler) *CreatePPMUpload
NewCreatePPMUpload creates a new http.Handler for the create p p m upload operation
func (*CreatePPMUpload) ServeHTTP ¶
func (o *CreatePPMUpload) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreatePPMUploadBadRequest ¶
type CreatePPMUploadBadRequest struct { /* In: Body */ Payload *internalmessages.InvalidRequestResponsePayload `json:"body,omitempty"` }
CreatePPMUploadBadRequest invalid request
swagger:response createPPMUploadBadRequest
func NewCreatePPMUploadBadRequest ¶
func NewCreatePPMUploadBadRequest() *CreatePPMUploadBadRequest
NewCreatePPMUploadBadRequest creates CreatePPMUploadBadRequest with default headers values
func (*CreatePPMUploadBadRequest) SetPayload ¶
func (o *CreatePPMUploadBadRequest) SetPayload(payload *internalmessages.InvalidRequestResponsePayload)
SetPayload sets the payload to the create p p m upload bad request response
func (*CreatePPMUploadBadRequest) WithPayload ¶
func (o *CreatePPMUploadBadRequest) WithPayload(payload *internalmessages.InvalidRequestResponsePayload) *CreatePPMUploadBadRequest
WithPayload adds the payload to the create p p m upload bad request response
func (*CreatePPMUploadBadRequest) WriteResponse ¶
func (o *CreatePPMUploadBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUploadCreated ¶
type CreatePPMUploadCreated struct { /* In: Body */ Payload *internalmessages.Upload `json:"body,omitempty"` }
CreatePPMUploadCreated created upload
swagger:response createPPMUploadCreated
func NewCreatePPMUploadCreated ¶
func NewCreatePPMUploadCreated() *CreatePPMUploadCreated
NewCreatePPMUploadCreated creates CreatePPMUploadCreated with default headers values
func (*CreatePPMUploadCreated) SetPayload ¶
func (o *CreatePPMUploadCreated) SetPayload(payload *internalmessages.Upload)
SetPayload sets the payload to the create p p m upload created response
func (*CreatePPMUploadCreated) WithPayload ¶
func (o *CreatePPMUploadCreated) WithPayload(payload *internalmessages.Upload) *CreatePPMUploadCreated
WithPayload adds the payload to the create p p m upload created response
func (*CreatePPMUploadCreated) WriteResponse ¶
func (o *CreatePPMUploadCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUploadForbidden ¶
type CreatePPMUploadForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreatePPMUploadForbidden The request was denied.
swagger:response createPPMUploadForbidden
func NewCreatePPMUploadForbidden ¶
func NewCreatePPMUploadForbidden() *CreatePPMUploadForbidden
NewCreatePPMUploadForbidden creates CreatePPMUploadForbidden with default headers values
func (*CreatePPMUploadForbidden) SetPayload ¶
func (o *CreatePPMUploadForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create p p m upload forbidden response
func (*CreatePPMUploadForbidden) WithPayload ¶
func (o *CreatePPMUploadForbidden) WithPayload(payload *internalmessages.ClientError) *CreatePPMUploadForbidden
WithPayload adds the payload to the create p p m upload forbidden response
func (*CreatePPMUploadForbidden) WriteResponse ¶
func (o *CreatePPMUploadForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUploadHandler ¶
type CreatePPMUploadHandler interface {
Handle(CreatePPMUploadParams) middleware.Responder
}
CreatePPMUploadHandler interface for that can handle valid create p p m upload params
type CreatePPMUploadHandlerFunc ¶
type CreatePPMUploadHandlerFunc func(CreatePPMUploadParams) middleware.Responder
CreatePPMUploadHandlerFunc turns a function with the right signature into a create p p m upload handler
func (CreatePPMUploadHandlerFunc) Handle ¶
func (fn CreatePPMUploadHandlerFunc) Handle(params CreatePPMUploadParams) middleware.Responder
Handle executing the request and returning a response
type CreatePPMUploadInternalServerError ¶
type CreatePPMUploadInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
CreatePPMUploadInternalServerError A server error occurred.
swagger:response createPPMUploadInternalServerError
func NewCreatePPMUploadInternalServerError ¶
func NewCreatePPMUploadInternalServerError() *CreatePPMUploadInternalServerError
NewCreatePPMUploadInternalServerError creates CreatePPMUploadInternalServerError with default headers values
func (*CreatePPMUploadInternalServerError) SetPayload ¶
func (o *CreatePPMUploadInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the create p p m upload internal server error response
func (*CreatePPMUploadInternalServerError) WithPayload ¶
func (o *CreatePPMUploadInternalServerError) WithPayload(payload *internalmessages.Error) *CreatePPMUploadInternalServerError
WithPayload adds the payload to the create p p m upload internal server error response
func (*CreatePPMUploadInternalServerError) WriteResponse ¶
func (o *CreatePPMUploadInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUploadNotFound ¶
type CreatePPMUploadNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreatePPMUploadNotFound The requested resource wasn't found.
swagger:response createPPMUploadNotFound
func NewCreatePPMUploadNotFound ¶
func NewCreatePPMUploadNotFound() *CreatePPMUploadNotFound
NewCreatePPMUploadNotFound creates CreatePPMUploadNotFound with default headers values
func (*CreatePPMUploadNotFound) SetPayload ¶
func (o *CreatePPMUploadNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create p p m upload not found response
func (*CreatePPMUploadNotFound) WithPayload ¶
func (o *CreatePPMUploadNotFound) WithPayload(payload *internalmessages.ClientError) *CreatePPMUploadNotFound
WithPayload adds the payload to the create p p m upload not found response
func (*CreatePPMUploadNotFound) WriteResponse ¶
func (o *CreatePPMUploadNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUploadParams ¶
type CreatePPMUploadParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the document to add an upload to Required: true In: query */ DocumentID strfmt.UUID /*The file to upload. Required: true In: formData */ File io.ReadCloser /*UUID of the ppm shipment Required: true In: path */ PpmShipmentID strfmt.UUID /*If the upload is a Weight Receipt Required: true In: query */ WeightReceipt bool }
CreatePPMUploadParams contains all the bound params for the create p p m upload operation typically these are obtained from a http.Request
swagger:parameters createPPMUpload
func NewCreatePPMUploadParams ¶
func NewCreatePPMUploadParams() CreatePPMUploadParams
NewCreatePPMUploadParams creates a new CreatePPMUploadParams object
There are no default values defined in the spec.
func (*CreatePPMUploadParams) BindRequest ¶
func (o *CreatePPMUploadParams) 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 NewCreatePPMUploadParams() beforehand.
type CreatePPMUploadRequestEntityTooLarge ¶
type CreatePPMUploadRequestEntityTooLarge struct { }
CreatePPMUploadRequestEntityTooLarge payload is too large
swagger:response createPPMUploadRequestEntityTooLarge
func NewCreatePPMUploadRequestEntityTooLarge ¶
func NewCreatePPMUploadRequestEntityTooLarge() *CreatePPMUploadRequestEntityTooLarge
NewCreatePPMUploadRequestEntityTooLarge creates CreatePPMUploadRequestEntityTooLarge with default headers values
func (*CreatePPMUploadRequestEntityTooLarge) WriteResponse ¶
func (o *CreatePPMUploadRequestEntityTooLarge) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePPMUploadURL ¶
type CreatePPMUploadURL struct { PpmShipmentID strfmt.UUID DocumentID strfmt.UUID WeightReceipt bool // contains filtered or unexported fields }
CreatePPMUploadURL generates an URL for the create p p m upload operation
func (*CreatePPMUploadURL) Build ¶
func (o *CreatePPMUploadURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreatePPMUploadURL) BuildFull ¶
func (o *CreatePPMUploadURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreatePPMUploadURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreatePPMUploadURL) SetBasePath ¶
func (o *CreatePPMUploadURL) 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 (*CreatePPMUploadURL) String ¶
func (o *CreatePPMUploadURL) String() string
String returns the string representation of the path with query string
func (*CreatePPMUploadURL) StringFull ¶
func (o *CreatePPMUploadURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreatePPMUploadURL) WithBasePath ¶
func (o *CreatePPMUploadURL) WithBasePath(bp string) *CreatePPMUploadURL
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 CreatePPMUploadUnprocessableEntity ¶
type CreatePPMUploadUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
CreatePPMUploadUnprocessableEntity The payload was unprocessable.
swagger:response createPPMUploadUnprocessableEntity
func NewCreatePPMUploadUnprocessableEntity ¶
func NewCreatePPMUploadUnprocessableEntity() *CreatePPMUploadUnprocessableEntity
NewCreatePPMUploadUnprocessableEntity creates CreatePPMUploadUnprocessableEntity with default headers values
func (*CreatePPMUploadUnprocessableEntity) SetPayload ¶
func (o *CreatePPMUploadUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the create p p m upload unprocessable entity response
func (*CreatePPMUploadUnprocessableEntity) WithPayload ¶
func (o *CreatePPMUploadUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreatePPMUploadUnprocessableEntity
WithPayload adds the payload to the create p p m upload unprocessable entity response
func (*CreatePPMUploadUnprocessableEntity) WriteResponse ¶
func (o *CreatePPMUploadUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicket ¶
type CreateProGearWeightTicket struct { Context *middleware.Context Handler CreateProGearWeightTicketHandler }
CreateProGearWeightTicket swagger:route POST /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets ppm createProGearWeightTicket
Creates a pro-gear weight ticket ¶
Creates a PPM shipment's pro-gear weight ticket. This will only contain the minimum necessary fields for a pro-gear weight ticket. Data should be filled in using the patch endpoint.
func NewCreateProGearWeightTicket ¶
func NewCreateProGearWeightTicket(ctx *middleware.Context, handler CreateProGearWeightTicketHandler) *CreateProGearWeightTicket
NewCreateProGearWeightTicket creates a new http.Handler for the create pro gear weight ticket operation
func (*CreateProGearWeightTicket) ServeHTTP ¶
func (o *CreateProGearWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateProGearWeightTicketBadRequest ¶
type CreateProGearWeightTicketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateProGearWeightTicketBadRequest The request payload is invalid.
swagger:response createProGearWeightTicketBadRequest
func NewCreateProGearWeightTicketBadRequest ¶
func NewCreateProGearWeightTicketBadRequest() *CreateProGearWeightTicketBadRequest
NewCreateProGearWeightTicketBadRequest creates CreateProGearWeightTicketBadRequest with default headers values
func (*CreateProGearWeightTicketBadRequest) SetPayload ¶
func (o *CreateProGearWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create pro gear weight ticket bad request response
func (*CreateProGearWeightTicketBadRequest) WithPayload ¶
func (o *CreateProGearWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketBadRequest
WithPayload adds the payload to the create pro gear weight ticket bad request response
func (*CreateProGearWeightTicketBadRequest) WriteResponse ¶
func (o *CreateProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketCreated ¶
type CreateProGearWeightTicketCreated struct { /* In: Body */ Payload *internalmessages.ProGearWeightTicket `json:"body,omitempty"` }
CreateProGearWeightTicketCreated returns a new pro-gear weight ticket object
swagger:response createProGearWeightTicketCreated
func NewCreateProGearWeightTicketCreated ¶
func NewCreateProGearWeightTicketCreated() *CreateProGearWeightTicketCreated
NewCreateProGearWeightTicketCreated creates CreateProGearWeightTicketCreated with default headers values
func (*CreateProGearWeightTicketCreated) SetPayload ¶
func (o *CreateProGearWeightTicketCreated) SetPayload(payload *internalmessages.ProGearWeightTicket)
SetPayload sets the payload to the create pro gear weight ticket created response
func (*CreateProGearWeightTicketCreated) WithPayload ¶
func (o *CreateProGearWeightTicketCreated) WithPayload(payload *internalmessages.ProGearWeightTicket) *CreateProGearWeightTicketCreated
WithPayload adds the payload to the create pro gear weight ticket created response
func (*CreateProGearWeightTicketCreated) WriteResponse ¶
func (o *CreateProGearWeightTicketCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketForbidden ¶
type CreateProGearWeightTicketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateProGearWeightTicketForbidden The request was denied.
swagger:response createProGearWeightTicketForbidden
func NewCreateProGearWeightTicketForbidden ¶
func NewCreateProGearWeightTicketForbidden() *CreateProGearWeightTicketForbidden
NewCreateProGearWeightTicketForbidden creates CreateProGearWeightTicketForbidden with default headers values
func (*CreateProGearWeightTicketForbidden) SetPayload ¶
func (o *CreateProGearWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create pro gear weight ticket forbidden response
func (*CreateProGearWeightTicketForbidden) WithPayload ¶
func (o *CreateProGearWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketForbidden
WithPayload adds the payload to the create pro gear weight ticket forbidden response
func (*CreateProGearWeightTicketForbidden) WriteResponse ¶
func (o *CreateProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketHandler ¶
type CreateProGearWeightTicketHandler interface {
Handle(CreateProGearWeightTicketParams) middleware.Responder
}
CreateProGearWeightTicketHandler interface for that can handle valid create pro gear weight ticket params
type CreateProGearWeightTicketHandlerFunc ¶
type CreateProGearWeightTicketHandlerFunc func(CreateProGearWeightTicketParams) middleware.Responder
CreateProGearWeightTicketHandlerFunc turns a function with the right signature into a create pro gear weight ticket handler
func (CreateProGearWeightTicketHandlerFunc) Handle ¶
func (fn CreateProGearWeightTicketHandlerFunc) Handle(params CreateProGearWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type CreateProGearWeightTicketInternalServerError ¶
type CreateProGearWeightTicketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
CreateProGearWeightTicketInternalServerError A server error occurred.
swagger:response createProGearWeightTicketInternalServerError
func NewCreateProGearWeightTicketInternalServerError ¶
func NewCreateProGearWeightTicketInternalServerError() *CreateProGearWeightTicketInternalServerError
NewCreateProGearWeightTicketInternalServerError creates CreateProGearWeightTicketInternalServerError with default headers values
func (*CreateProGearWeightTicketInternalServerError) SetPayload ¶
func (o *CreateProGearWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the create pro gear weight ticket internal server error response
func (*CreateProGearWeightTicketInternalServerError) WithPayload ¶
func (o *CreateProGearWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *CreateProGearWeightTicketInternalServerError
WithPayload adds the payload to the create pro gear weight ticket internal server error response
func (*CreateProGearWeightTicketInternalServerError) WriteResponse ¶
func (o *CreateProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketNotFound ¶
type CreateProGearWeightTicketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateProGearWeightTicketNotFound The requested resource wasn't found.
swagger:response createProGearWeightTicketNotFound
func NewCreateProGearWeightTicketNotFound ¶
func NewCreateProGearWeightTicketNotFound() *CreateProGearWeightTicketNotFound
NewCreateProGearWeightTicketNotFound creates CreateProGearWeightTicketNotFound with default headers values
func (*CreateProGearWeightTicketNotFound) SetPayload ¶
func (o *CreateProGearWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create pro gear weight ticket not found response
func (*CreateProGearWeightTicketNotFound) WithPayload ¶
func (o *CreateProGearWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketNotFound
WithPayload adds the payload to the create pro gear weight ticket not found response
func (*CreateProGearWeightTicketNotFound) WriteResponse ¶
func (o *CreateProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketParams ¶
type CreateProGearWeightTicketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
CreateProGearWeightTicketParams contains all the bound params for the create pro gear weight ticket operation typically these are obtained from a http.Request
swagger:parameters createProGearWeightTicket
func NewCreateProGearWeightTicketParams ¶
func NewCreateProGearWeightTicketParams() CreateProGearWeightTicketParams
NewCreateProGearWeightTicketParams creates a new CreateProGearWeightTicketParams object
There are no default values defined in the spec.
func (*CreateProGearWeightTicketParams) BindRequest ¶
func (o *CreateProGearWeightTicketParams) 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 NewCreateProGearWeightTicketParams() beforehand.
type CreateProGearWeightTicketPreconditionFailed ¶
type CreateProGearWeightTicketPreconditionFailed struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateProGearWeightTicketPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
swagger:response createProGearWeightTicketPreconditionFailed
func NewCreateProGearWeightTicketPreconditionFailed ¶
func NewCreateProGearWeightTicketPreconditionFailed() *CreateProGearWeightTicketPreconditionFailed
NewCreateProGearWeightTicketPreconditionFailed creates CreateProGearWeightTicketPreconditionFailed with default headers values
func (*CreateProGearWeightTicketPreconditionFailed) SetPayload ¶
func (o *CreateProGearWeightTicketPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create pro gear weight ticket precondition failed response
func (*CreateProGearWeightTicketPreconditionFailed) WithPayload ¶
func (o *CreateProGearWeightTicketPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketPreconditionFailed
WithPayload adds the payload to the create pro gear weight ticket precondition failed response
func (*CreateProGearWeightTicketPreconditionFailed) WriteResponse ¶
func (o *CreateProGearWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketURL ¶
type CreateProGearWeightTicketURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
CreateProGearWeightTicketURL generates an URL for the create pro gear weight ticket operation
func (*CreateProGearWeightTicketURL) Build ¶
func (o *CreateProGearWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateProGearWeightTicketURL) BuildFull ¶
func (o *CreateProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateProGearWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateProGearWeightTicketURL) SetBasePath ¶
func (o *CreateProGearWeightTicketURL) 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 (*CreateProGearWeightTicketURL) String ¶
func (o *CreateProGearWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*CreateProGearWeightTicketURL) StringFull ¶
func (o *CreateProGearWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateProGearWeightTicketURL) WithBasePath ¶
func (o *CreateProGearWeightTicketURL) WithBasePath(bp string) *CreateProGearWeightTicketURL
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 CreateProGearWeightTicketUnauthorized ¶
type CreateProGearWeightTicketUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
CreateProGearWeightTicketUnauthorized The request was denied.
swagger:response createProGearWeightTicketUnauthorized
func NewCreateProGearWeightTicketUnauthorized ¶
func NewCreateProGearWeightTicketUnauthorized() *CreateProGearWeightTicketUnauthorized
NewCreateProGearWeightTicketUnauthorized creates CreateProGearWeightTicketUnauthorized with default headers values
func (*CreateProGearWeightTicketUnauthorized) SetPayload ¶
func (o *CreateProGearWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create pro gear weight ticket unauthorized response
func (*CreateProGearWeightTicketUnauthorized) WithPayload ¶
func (o *CreateProGearWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *CreateProGearWeightTicketUnauthorized
WithPayload adds the payload to the create pro gear weight ticket unauthorized response
func (*CreateProGearWeightTicketUnauthorized) WriteResponse ¶
func (o *CreateProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateProGearWeightTicketUnprocessableEntity ¶
type CreateProGearWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
CreateProGearWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response createProGearWeightTicketUnprocessableEntity
func NewCreateProGearWeightTicketUnprocessableEntity ¶
func NewCreateProGearWeightTicketUnprocessableEntity() *CreateProGearWeightTicketUnprocessableEntity
NewCreateProGearWeightTicketUnprocessableEntity creates CreateProGearWeightTicketUnprocessableEntity with default headers values
func (*CreateProGearWeightTicketUnprocessableEntity) SetPayload ¶
func (o *CreateProGearWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the create pro gear weight ticket unprocessable entity response
func (*CreateProGearWeightTicketUnprocessableEntity) WithPayload ¶
func (o *CreateProGearWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreateProGearWeightTicketUnprocessableEntity
WithPayload adds the payload to the create pro gear weight ticket unprocessable entity response
func (*CreateProGearWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *CreateProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicket ¶
type CreateWeightTicket struct { Context *middleware.Context Handler CreateWeightTicketHandler }
CreateWeightTicket swagger:route POST /ppm-shipments/{ppmShipmentId}/weight-ticket ppm createWeightTicket
Creates a weight ticket document ¶
Created a weight ticket document with the given information
func NewCreateWeightTicket ¶
func NewCreateWeightTicket(ctx *middleware.Context, handler CreateWeightTicketHandler) *CreateWeightTicket
NewCreateWeightTicket creates a new http.Handler for the create weight ticket operation
func (*CreateWeightTicket) ServeHTTP ¶
func (o *CreateWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateWeightTicketBadRequest ¶
type CreateWeightTicketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateWeightTicketBadRequest The request payload is invalid.
swagger:response createWeightTicketBadRequest
func NewCreateWeightTicketBadRequest ¶
func NewCreateWeightTicketBadRequest() *CreateWeightTicketBadRequest
NewCreateWeightTicketBadRequest creates CreateWeightTicketBadRequest with default headers values
func (*CreateWeightTicketBadRequest) SetPayload ¶
func (o *CreateWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create weight ticket bad request response
func (*CreateWeightTicketBadRequest) WithPayload ¶
func (o *CreateWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketBadRequest
WithPayload adds the payload to the create weight ticket bad request response
func (*CreateWeightTicketBadRequest) WriteResponse ¶
func (o *CreateWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicketForbidden ¶
type CreateWeightTicketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateWeightTicketForbidden The request was denied.
swagger:response createWeightTicketForbidden
func NewCreateWeightTicketForbidden ¶
func NewCreateWeightTicketForbidden() *CreateWeightTicketForbidden
NewCreateWeightTicketForbidden creates CreateWeightTicketForbidden with default headers values
func (*CreateWeightTicketForbidden) SetPayload ¶
func (o *CreateWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create weight ticket forbidden response
func (*CreateWeightTicketForbidden) WithPayload ¶
func (o *CreateWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketForbidden
WithPayload adds the payload to the create weight ticket forbidden response
func (*CreateWeightTicketForbidden) WriteResponse ¶
func (o *CreateWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicketHandler ¶
type CreateWeightTicketHandler interface {
Handle(CreateWeightTicketParams) middleware.Responder
}
CreateWeightTicketHandler interface for that can handle valid create weight ticket params
type CreateWeightTicketHandlerFunc ¶
type CreateWeightTicketHandlerFunc func(CreateWeightTicketParams) middleware.Responder
CreateWeightTicketHandlerFunc turns a function with the right signature into a create weight ticket handler
func (CreateWeightTicketHandlerFunc) Handle ¶
func (fn CreateWeightTicketHandlerFunc) Handle(params CreateWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type CreateWeightTicketInternalServerError ¶
type CreateWeightTicketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
CreateWeightTicketInternalServerError A server error occurred.
swagger:response createWeightTicketInternalServerError
func NewCreateWeightTicketInternalServerError ¶
func NewCreateWeightTicketInternalServerError() *CreateWeightTicketInternalServerError
NewCreateWeightTicketInternalServerError creates CreateWeightTicketInternalServerError with default headers values
func (*CreateWeightTicketInternalServerError) SetPayload ¶
func (o *CreateWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the create weight ticket internal server error response
func (*CreateWeightTicketInternalServerError) WithPayload ¶
func (o *CreateWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *CreateWeightTicketInternalServerError
WithPayload adds the payload to the create weight ticket internal server error response
func (*CreateWeightTicketInternalServerError) WriteResponse ¶
func (o *CreateWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicketNotFound ¶
type CreateWeightTicketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
CreateWeightTicketNotFound The requested resource wasn't found.
swagger:response createWeightTicketNotFound
func NewCreateWeightTicketNotFound ¶
func NewCreateWeightTicketNotFound() *CreateWeightTicketNotFound
NewCreateWeightTicketNotFound creates CreateWeightTicketNotFound with default headers values
func (*CreateWeightTicketNotFound) SetPayload ¶
func (o *CreateWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create weight ticket not found response
func (*CreateWeightTicketNotFound) WithPayload ¶
func (o *CreateWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketNotFound
WithPayload adds the payload to the create weight ticket not found response
func (*CreateWeightTicketNotFound) WriteResponse ¶
func (o *CreateWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicketOK ¶
type CreateWeightTicketOK struct { /* In: Body */ Payload *internalmessages.WeightTicket `json:"body,omitempty"` }
CreateWeightTicketOK returns new weight ticket object
swagger:response createWeightTicketOK
func NewCreateWeightTicketOK ¶
func NewCreateWeightTicketOK() *CreateWeightTicketOK
NewCreateWeightTicketOK creates CreateWeightTicketOK with default headers values
func (*CreateWeightTicketOK) SetPayload ¶
func (o *CreateWeightTicketOK) SetPayload(payload *internalmessages.WeightTicket)
SetPayload sets the payload to the create weight ticket o k response
func (*CreateWeightTicketOK) WithPayload ¶
func (o *CreateWeightTicketOK) WithPayload(payload *internalmessages.WeightTicket) *CreateWeightTicketOK
WithPayload adds the payload to the create weight ticket o k response
func (*CreateWeightTicketOK) WriteResponse ¶
func (o *CreateWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicketParams ¶
type CreateWeightTicketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
CreateWeightTicketParams contains all the bound params for the create weight ticket operation typically these are obtained from a http.Request
swagger:parameters createWeightTicket
func NewCreateWeightTicketParams ¶
func NewCreateWeightTicketParams() CreateWeightTicketParams
NewCreateWeightTicketParams creates a new CreateWeightTicketParams object
There are no default values defined in the spec.
func (*CreateWeightTicketParams) BindRequest ¶
func (o *CreateWeightTicketParams) 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 NewCreateWeightTicketParams() beforehand.
type CreateWeightTicketURL ¶
type CreateWeightTicketURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
CreateWeightTicketURL generates an URL for the create weight ticket operation
func (*CreateWeightTicketURL) Build ¶
func (o *CreateWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateWeightTicketURL) BuildFull ¶
func (o *CreateWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateWeightTicketURL) SetBasePath ¶
func (o *CreateWeightTicketURL) 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 (*CreateWeightTicketURL) String ¶
func (o *CreateWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*CreateWeightTicketURL) StringFull ¶
func (o *CreateWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateWeightTicketURL) WithBasePath ¶
func (o *CreateWeightTicketURL) WithBasePath(bp string) *CreateWeightTicketURL
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 CreateWeightTicketUnauthorized ¶
type CreateWeightTicketUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
CreateWeightTicketUnauthorized The request was denied.
swagger:response createWeightTicketUnauthorized
func NewCreateWeightTicketUnauthorized ¶
func NewCreateWeightTicketUnauthorized() *CreateWeightTicketUnauthorized
NewCreateWeightTicketUnauthorized creates CreateWeightTicketUnauthorized with default headers values
func (*CreateWeightTicketUnauthorized) SetPayload ¶
func (o *CreateWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the create weight ticket unauthorized response
func (*CreateWeightTicketUnauthorized) WithPayload ¶
func (o *CreateWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *CreateWeightTicketUnauthorized
WithPayload adds the payload to the create weight ticket unauthorized response
func (*CreateWeightTicketUnauthorized) WriteResponse ¶
func (o *CreateWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWeightTicketUnprocessableEntity ¶
type CreateWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
CreateWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response createWeightTicketUnprocessableEntity
func NewCreateWeightTicketUnprocessableEntity ¶
func NewCreateWeightTicketUnprocessableEntity() *CreateWeightTicketUnprocessableEntity
NewCreateWeightTicketUnprocessableEntity creates CreateWeightTicketUnprocessableEntity with default headers values
func (*CreateWeightTicketUnprocessableEntity) SetPayload ¶
func (o *CreateWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the create weight ticket unprocessable entity response
func (*CreateWeightTicketUnprocessableEntity) WithPayload ¶
func (o *CreateWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *CreateWeightTicketUnprocessableEntity
WithPayload adds the payload to the create weight ticket unprocessable entity response
func (*CreateWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *CreateWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpense ¶
type DeleteMovingExpense struct { Context *middleware.Context Handler DeleteMovingExpenseHandler }
DeleteMovingExpense swagger:route DELETE /ppm-shipments/{ppmShipmentId}/moving-expenses/{movingExpenseId} ppm deleteMovingExpense
Soft deletes a moving expense by ID ¶
Removes a single moving expense receipt from the closeout line items for a PPM shipment. Soft deleted records are not visible in milmove, but are kept in the database.
func NewDeleteMovingExpense ¶
func NewDeleteMovingExpense(ctx *middleware.Context, handler DeleteMovingExpenseHandler) *DeleteMovingExpense
NewDeleteMovingExpense creates a new http.Handler for the delete moving expense operation
func (*DeleteMovingExpense) ServeHTTP ¶
func (o *DeleteMovingExpense) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteMovingExpenseBadRequest ¶
type DeleteMovingExpenseBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteMovingExpenseBadRequest The request payload is invalid.
swagger:response deleteMovingExpenseBadRequest
func NewDeleteMovingExpenseBadRequest ¶
func NewDeleteMovingExpenseBadRequest() *DeleteMovingExpenseBadRequest
NewDeleteMovingExpenseBadRequest creates DeleteMovingExpenseBadRequest with default headers values
func (*DeleteMovingExpenseBadRequest) SetPayload ¶
func (o *DeleteMovingExpenseBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete moving expense bad request response
func (*DeleteMovingExpenseBadRequest) WithPayload ¶
func (o *DeleteMovingExpenseBadRequest) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseBadRequest
WithPayload adds the payload to the delete moving expense bad request response
func (*DeleteMovingExpenseBadRequest) WriteResponse ¶
func (o *DeleteMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseConflict ¶
type DeleteMovingExpenseConflict struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteMovingExpenseConflict The request could not be processed because of conflict in the current state of the resource.
swagger:response deleteMovingExpenseConflict
func NewDeleteMovingExpenseConflict ¶
func NewDeleteMovingExpenseConflict() *DeleteMovingExpenseConflict
NewDeleteMovingExpenseConflict creates DeleteMovingExpenseConflict with default headers values
func (*DeleteMovingExpenseConflict) SetPayload ¶
func (o *DeleteMovingExpenseConflict) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete moving expense conflict response
func (*DeleteMovingExpenseConflict) WithPayload ¶
func (o *DeleteMovingExpenseConflict) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseConflict
WithPayload adds the payload to the delete moving expense conflict response
func (*DeleteMovingExpenseConflict) WriteResponse ¶
func (o *DeleteMovingExpenseConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseForbidden ¶
type DeleteMovingExpenseForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteMovingExpenseForbidden The request was denied.
swagger:response deleteMovingExpenseForbidden
func NewDeleteMovingExpenseForbidden ¶
func NewDeleteMovingExpenseForbidden() *DeleteMovingExpenseForbidden
NewDeleteMovingExpenseForbidden creates DeleteMovingExpenseForbidden with default headers values
func (*DeleteMovingExpenseForbidden) SetPayload ¶
func (o *DeleteMovingExpenseForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete moving expense forbidden response
func (*DeleteMovingExpenseForbidden) WithPayload ¶
func (o *DeleteMovingExpenseForbidden) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseForbidden
WithPayload adds the payload to the delete moving expense forbidden response
func (*DeleteMovingExpenseForbidden) WriteResponse ¶
func (o *DeleteMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseHandler ¶
type DeleteMovingExpenseHandler interface {
Handle(DeleteMovingExpenseParams) middleware.Responder
}
DeleteMovingExpenseHandler interface for that can handle valid delete moving expense params
type DeleteMovingExpenseHandlerFunc ¶
type DeleteMovingExpenseHandlerFunc func(DeleteMovingExpenseParams) middleware.Responder
DeleteMovingExpenseHandlerFunc turns a function with the right signature into a delete moving expense handler
func (DeleteMovingExpenseHandlerFunc) Handle ¶
func (fn DeleteMovingExpenseHandlerFunc) Handle(params DeleteMovingExpenseParams) middleware.Responder
Handle executing the request and returning a response
type DeleteMovingExpenseInternalServerError ¶
type DeleteMovingExpenseInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
DeleteMovingExpenseInternalServerError A server error occurred.
swagger:response deleteMovingExpenseInternalServerError
func NewDeleteMovingExpenseInternalServerError ¶
func NewDeleteMovingExpenseInternalServerError() *DeleteMovingExpenseInternalServerError
NewDeleteMovingExpenseInternalServerError creates DeleteMovingExpenseInternalServerError with default headers values
func (*DeleteMovingExpenseInternalServerError) SetPayload ¶
func (o *DeleteMovingExpenseInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the delete moving expense internal server error response
func (*DeleteMovingExpenseInternalServerError) WithPayload ¶
func (o *DeleteMovingExpenseInternalServerError) WithPayload(payload *internalmessages.Error) *DeleteMovingExpenseInternalServerError
WithPayload adds the payload to the delete moving expense internal server error response
func (*DeleteMovingExpenseInternalServerError) WriteResponse ¶
func (o *DeleteMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseNoContent ¶
type DeleteMovingExpenseNoContent struct { }
DeleteMovingExpenseNoContent Successfully soft deleted the moving expense
swagger:response deleteMovingExpenseNoContent
func NewDeleteMovingExpenseNoContent ¶
func NewDeleteMovingExpenseNoContent() *DeleteMovingExpenseNoContent
NewDeleteMovingExpenseNoContent creates DeleteMovingExpenseNoContent with default headers values
func (*DeleteMovingExpenseNoContent) WriteResponse ¶
func (o *DeleteMovingExpenseNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseNotFound ¶
type DeleteMovingExpenseNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteMovingExpenseNotFound The requested resource wasn't found.
swagger:response deleteMovingExpenseNotFound
func NewDeleteMovingExpenseNotFound ¶
func NewDeleteMovingExpenseNotFound() *DeleteMovingExpenseNotFound
NewDeleteMovingExpenseNotFound creates DeleteMovingExpenseNotFound with default headers values
func (*DeleteMovingExpenseNotFound) SetPayload ¶
func (o *DeleteMovingExpenseNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete moving expense not found response
func (*DeleteMovingExpenseNotFound) WithPayload ¶
func (o *DeleteMovingExpenseNotFound) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseNotFound
WithPayload adds the payload to the delete moving expense not found response
func (*DeleteMovingExpenseNotFound) WriteResponse ¶
func (o *DeleteMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseParams ¶
type DeleteMovingExpenseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the moving expense to be deleted Required: true In: path */ MovingExpenseID strfmt.UUID /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID }
DeleteMovingExpenseParams contains all the bound params for the delete moving expense operation typically these are obtained from a http.Request
swagger:parameters deleteMovingExpense
func NewDeleteMovingExpenseParams ¶
func NewDeleteMovingExpenseParams() DeleteMovingExpenseParams
NewDeleteMovingExpenseParams creates a new DeleteMovingExpenseParams object
There are no default values defined in the spec.
func (*DeleteMovingExpenseParams) BindRequest ¶
func (o *DeleteMovingExpenseParams) 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 NewDeleteMovingExpenseParams() beforehand.
type DeleteMovingExpenseURL ¶
type DeleteMovingExpenseURL struct { MovingExpenseID strfmt.UUID PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
DeleteMovingExpenseURL generates an URL for the delete moving expense operation
func (*DeleteMovingExpenseURL) Build ¶
func (o *DeleteMovingExpenseURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteMovingExpenseURL) BuildFull ¶
func (o *DeleteMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteMovingExpenseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteMovingExpenseURL) SetBasePath ¶
func (o *DeleteMovingExpenseURL) 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 (*DeleteMovingExpenseURL) String ¶
func (o *DeleteMovingExpenseURL) String() string
String returns the string representation of the path with query string
func (*DeleteMovingExpenseURL) StringFull ¶
func (o *DeleteMovingExpenseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteMovingExpenseURL) WithBasePath ¶
func (o *DeleteMovingExpenseURL) WithBasePath(bp string) *DeleteMovingExpenseURL
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 DeleteMovingExpenseUnauthorized ¶
type DeleteMovingExpenseUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
DeleteMovingExpenseUnauthorized The request was denied.
swagger:response deleteMovingExpenseUnauthorized
func NewDeleteMovingExpenseUnauthorized ¶
func NewDeleteMovingExpenseUnauthorized() *DeleteMovingExpenseUnauthorized
NewDeleteMovingExpenseUnauthorized creates DeleteMovingExpenseUnauthorized with default headers values
func (*DeleteMovingExpenseUnauthorized) SetPayload ¶
func (o *DeleteMovingExpenseUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete moving expense unauthorized response
func (*DeleteMovingExpenseUnauthorized) WithPayload ¶
func (o *DeleteMovingExpenseUnauthorized) WithPayload(payload *internalmessages.ClientError) *DeleteMovingExpenseUnauthorized
WithPayload adds the payload to the delete moving expense unauthorized response
func (*DeleteMovingExpenseUnauthorized) WriteResponse ¶
func (o *DeleteMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMovingExpenseUnprocessableEntity ¶
type DeleteMovingExpenseUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
DeleteMovingExpenseUnprocessableEntity The payload was unprocessable.
swagger:response deleteMovingExpenseUnprocessableEntity
func NewDeleteMovingExpenseUnprocessableEntity ¶
func NewDeleteMovingExpenseUnprocessableEntity() *DeleteMovingExpenseUnprocessableEntity
NewDeleteMovingExpenseUnprocessableEntity creates DeleteMovingExpenseUnprocessableEntity with default headers values
func (*DeleteMovingExpenseUnprocessableEntity) SetPayload ¶
func (o *DeleteMovingExpenseUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the delete moving expense unprocessable entity response
func (*DeleteMovingExpenseUnprocessableEntity) WithPayload ¶
func (o *DeleteMovingExpenseUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *DeleteMovingExpenseUnprocessableEntity
WithPayload adds the payload to the delete moving expense unprocessable entity response
func (*DeleteMovingExpenseUnprocessableEntity) WriteResponse ¶
func (o *DeleteMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicket ¶
type DeleteProGearWeightTicket struct { Context *middleware.Context Handler DeleteProGearWeightTicketHandler }
DeleteProGearWeightTicket swagger:route DELETE /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets/{proGearWeightTicketId} ppm deleteProGearWeightTicket
Soft deletes a pro-gear weight line item by ID ¶
Removes a single pro-gear weight ticket set from the closeout line items for a PPM shipment. Soft deleted records are not visible in milmove, but are kept in the database.
func NewDeleteProGearWeightTicket ¶
func NewDeleteProGearWeightTicket(ctx *middleware.Context, handler DeleteProGearWeightTicketHandler) *DeleteProGearWeightTicket
NewDeleteProGearWeightTicket creates a new http.Handler for the delete pro gear weight ticket operation
func (*DeleteProGearWeightTicket) ServeHTTP ¶
func (o *DeleteProGearWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteProGearWeightTicketBadRequest ¶
type DeleteProGearWeightTicketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteProGearWeightTicketBadRequest The request payload is invalid.
swagger:response deleteProGearWeightTicketBadRequest
func NewDeleteProGearWeightTicketBadRequest ¶
func NewDeleteProGearWeightTicketBadRequest() *DeleteProGearWeightTicketBadRequest
NewDeleteProGearWeightTicketBadRequest creates DeleteProGearWeightTicketBadRequest with default headers values
func (*DeleteProGearWeightTicketBadRequest) SetPayload ¶
func (o *DeleteProGearWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete pro gear weight ticket bad request response
func (*DeleteProGearWeightTicketBadRequest) WithPayload ¶
func (o *DeleteProGearWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketBadRequest
WithPayload adds the payload to the delete pro gear weight ticket bad request response
func (*DeleteProGearWeightTicketBadRequest) WriteResponse ¶
func (o *DeleteProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketConflict ¶
type DeleteProGearWeightTicketConflict struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteProGearWeightTicketConflict The request could not be processed because of conflict in the current state of the resource.
swagger:response deleteProGearWeightTicketConflict
func NewDeleteProGearWeightTicketConflict ¶
func NewDeleteProGearWeightTicketConflict() *DeleteProGearWeightTicketConflict
NewDeleteProGearWeightTicketConflict creates DeleteProGearWeightTicketConflict with default headers values
func (*DeleteProGearWeightTicketConflict) SetPayload ¶
func (o *DeleteProGearWeightTicketConflict) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete pro gear weight ticket conflict response
func (*DeleteProGearWeightTicketConflict) WithPayload ¶
func (o *DeleteProGearWeightTicketConflict) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketConflict
WithPayload adds the payload to the delete pro gear weight ticket conflict response
func (*DeleteProGearWeightTicketConflict) WriteResponse ¶
func (o *DeleteProGearWeightTicketConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketForbidden ¶
type DeleteProGearWeightTicketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteProGearWeightTicketForbidden The request was denied.
swagger:response deleteProGearWeightTicketForbidden
func NewDeleteProGearWeightTicketForbidden ¶
func NewDeleteProGearWeightTicketForbidden() *DeleteProGearWeightTicketForbidden
NewDeleteProGearWeightTicketForbidden creates DeleteProGearWeightTicketForbidden with default headers values
func (*DeleteProGearWeightTicketForbidden) SetPayload ¶
func (o *DeleteProGearWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete pro gear weight ticket forbidden response
func (*DeleteProGearWeightTicketForbidden) WithPayload ¶
func (o *DeleteProGearWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketForbidden
WithPayload adds the payload to the delete pro gear weight ticket forbidden response
func (*DeleteProGearWeightTicketForbidden) WriteResponse ¶
func (o *DeleteProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketHandler ¶
type DeleteProGearWeightTicketHandler interface {
Handle(DeleteProGearWeightTicketParams) middleware.Responder
}
DeleteProGearWeightTicketHandler interface for that can handle valid delete pro gear weight ticket params
type DeleteProGearWeightTicketHandlerFunc ¶
type DeleteProGearWeightTicketHandlerFunc func(DeleteProGearWeightTicketParams) middleware.Responder
DeleteProGearWeightTicketHandlerFunc turns a function with the right signature into a delete pro gear weight ticket handler
func (DeleteProGearWeightTicketHandlerFunc) Handle ¶
func (fn DeleteProGearWeightTicketHandlerFunc) Handle(params DeleteProGearWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type DeleteProGearWeightTicketInternalServerError ¶
type DeleteProGearWeightTicketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
DeleteProGearWeightTicketInternalServerError A server error occurred.
swagger:response deleteProGearWeightTicketInternalServerError
func NewDeleteProGearWeightTicketInternalServerError ¶
func NewDeleteProGearWeightTicketInternalServerError() *DeleteProGearWeightTicketInternalServerError
NewDeleteProGearWeightTicketInternalServerError creates DeleteProGearWeightTicketInternalServerError with default headers values
func (*DeleteProGearWeightTicketInternalServerError) SetPayload ¶
func (o *DeleteProGearWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the delete pro gear weight ticket internal server error response
func (*DeleteProGearWeightTicketInternalServerError) WithPayload ¶
func (o *DeleteProGearWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *DeleteProGearWeightTicketInternalServerError
WithPayload adds the payload to the delete pro gear weight ticket internal server error response
func (*DeleteProGearWeightTicketInternalServerError) WriteResponse ¶
func (o *DeleteProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketNoContent ¶
type DeleteProGearWeightTicketNoContent struct { }
DeleteProGearWeightTicketNoContent Successfully soft deleted the pro-gear weight ticket
swagger:response deleteProGearWeightTicketNoContent
func NewDeleteProGearWeightTicketNoContent ¶
func NewDeleteProGearWeightTicketNoContent() *DeleteProGearWeightTicketNoContent
NewDeleteProGearWeightTicketNoContent creates DeleteProGearWeightTicketNoContent with default headers values
func (*DeleteProGearWeightTicketNoContent) WriteResponse ¶
func (o *DeleteProGearWeightTicketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketNotFound ¶
type DeleteProGearWeightTicketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteProGearWeightTicketNotFound The requested resource wasn't found.
swagger:response deleteProGearWeightTicketNotFound
func NewDeleteProGearWeightTicketNotFound ¶
func NewDeleteProGearWeightTicketNotFound() *DeleteProGearWeightTicketNotFound
NewDeleteProGearWeightTicketNotFound creates DeleteProGearWeightTicketNotFound with default headers values
func (*DeleteProGearWeightTicketNotFound) SetPayload ¶
func (o *DeleteProGearWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete pro gear weight ticket not found response
func (*DeleteProGearWeightTicketNotFound) WithPayload ¶
func (o *DeleteProGearWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketNotFound
WithPayload adds the payload to the delete pro gear weight ticket not found response
func (*DeleteProGearWeightTicketNotFound) WriteResponse ¶
func (o *DeleteProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketParams ¶
type DeleteProGearWeightTicketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /*ID of the pro-gear weight ticket to be deleted Required: true In: path */ ProGearWeightTicketID strfmt.UUID }
DeleteProGearWeightTicketParams contains all the bound params for the delete pro gear weight ticket operation typically these are obtained from a http.Request
swagger:parameters deleteProGearWeightTicket
func NewDeleteProGearWeightTicketParams ¶
func NewDeleteProGearWeightTicketParams() DeleteProGearWeightTicketParams
NewDeleteProGearWeightTicketParams creates a new DeleteProGearWeightTicketParams object
There are no default values defined in the spec.
func (*DeleteProGearWeightTicketParams) BindRequest ¶
func (o *DeleteProGearWeightTicketParams) 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 NewDeleteProGearWeightTicketParams() beforehand.
type DeleteProGearWeightTicketURL ¶
type DeleteProGearWeightTicketURL struct { PpmShipmentID strfmt.UUID ProGearWeightTicketID strfmt.UUID // contains filtered or unexported fields }
DeleteProGearWeightTicketURL generates an URL for the delete pro gear weight ticket operation
func (*DeleteProGearWeightTicketURL) Build ¶
func (o *DeleteProGearWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteProGearWeightTicketURL) BuildFull ¶
func (o *DeleteProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteProGearWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteProGearWeightTicketURL) SetBasePath ¶
func (o *DeleteProGearWeightTicketURL) 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 (*DeleteProGearWeightTicketURL) String ¶
func (o *DeleteProGearWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*DeleteProGearWeightTicketURL) StringFull ¶
func (o *DeleteProGearWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteProGearWeightTicketURL) WithBasePath ¶
func (o *DeleteProGearWeightTicketURL) WithBasePath(bp string) *DeleteProGearWeightTicketURL
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 DeleteProGearWeightTicketUnauthorized ¶
type DeleteProGearWeightTicketUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
DeleteProGearWeightTicketUnauthorized The request was denied.
swagger:response deleteProGearWeightTicketUnauthorized
func NewDeleteProGearWeightTicketUnauthorized ¶
func NewDeleteProGearWeightTicketUnauthorized() *DeleteProGearWeightTicketUnauthorized
NewDeleteProGearWeightTicketUnauthorized creates DeleteProGearWeightTicketUnauthorized with default headers values
func (*DeleteProGearWeightTicketUnauthorized) SetPayload ¶
func (o *DeleteProGearWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete pro gear weight ticket unauthorized response
func (*DeleteProGearWeightTicketUnauthorized) WithPayload ¶
func (o *DeleteProGearWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *DeleteProGearWeightTicketUnauthorized
WithPayload adds the payload to the delete pro gear weight ticket unauthorized response
func (*DeleteProGearWeightTicketUnauthorized) WriteResponse ¶
func (o *DeleteProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteProGearWeightTicketUnprocessableEntity ¶
type DeleteProGearWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
DeleteProGearWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response deleteProGearWeightTicketUnprocessableEntity
func NewDeleteProGearWeightTicketUnprocessableEntity ¶
func NewDeleteProGearWeightTicketUnprocessableEntity() *DeleteProGearWeightTicketUnprocessableEntity
NewDeleteProGearWeightTicketUnprocessableEntity creates DeleteProGearWeightTicketUnprocessableEntity with default headers values
func (*DeleteProGearWeightTicketUnprocessableEntity) SetPayload ¶
func (o *DeleteProGearWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the delete pro gear weight ticket unprocessable entity response
func (*DeleteProGearWeightTicketUnprocessableEntity) WithPayload ¶
func (o *DeleteProGearWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *DeleteProGearWeightTicketUnprocessableEntity
WithPayload adds the payload to the delete pro gear weight ticket unprocessable entity response
func (*DeleteProGearWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *DeleteProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicket ¶
type DeleteWeightTicket struct { Context *middleware.Context Handler DeleteWeightTicketHandler }
DeleteWeightTicket swagger:route DELETE /ppm-shipments/{ppmShipmentId}/weight-ticket/{weightTicketId} ppm deleteWeightTicket
Soft deletes a weight ticket by ID ¶
Removes a single weight ticket from the closeout line items for a PPM shipment. Soft deleted records are not visible in milmove, but are kept in the database. This may change the PPM shipment's final incentive.
func NewDeleteWeightTicket ¶
func NewDeleteWeightTicket(ctx *middleware.Context, handler DeleteWeightTicketHandler) *DeleteWeightTicket
NewDeleteWeightTicket creates a new http.Handler for the delete weight ticket operation
func (*DeleteWeightTicket) ServeHTTP ¶
func (o *DeleteWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteWeightTicketBadRequest ¶
type DeleteWeightTicketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteWeightTicketBadRequest The request payload is invalid.
swagger:response deleteWeightTicketBadRequest
func NewDeleteWeightTicketBadRequest ¶
func NewDeleteWeightTicketBadRequest() *DeleteWeightTicketBadRequest
NewDeleteWeightTicketBadRequest creates DeleteWeightTicketBadRequest with default headers values
func (*DeleteWeightTicketBadRequest) SetPayload ¶
func (o *DeleteWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete weight ticket bad request response
func (*DeleteWeightTicketBadRequest) WithPayload ¶
func (o *DeleteWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketBadRequest
WithPayload adds the payload to the delete weight ticket bad request response
func (*DeleteWeightTicketBadRequest) WriteResponse ¶
func (o *DeleteWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketConflict ¶
type DeleteWeightTicketConflict struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteWeightTicketConflict The request could not be processed because of conflict in the current state of the resource.
swagger:response deleteWeightTicketConflict
func NewDeleteWeightTicketConflict ¶
func NewDeleteWeightTicketConflict() *DeleteWeightTicketConflict
NewDeleteWeightTicketConflict creates DeleteWeightTicketConflict with default headers values
func (*DeleteWeightTicketConflict) SetPayload ¶
func (o *DeleteWeightTicketConflict) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete weight ticket conflict response
func (*DeleteWeightTicketConflict) WithPayload ¶
func (o *DeleteWeightTicketConflict) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketConflict
WithPayload adds the payload to the delete weight ticket conflict response
func (*DeleteWeightTicketConflict) WriteResponse ¶
func (o *DeleteWeightTicketConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketForbidden ¶
type DeleteWeightTicketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteWeightTicketForbidden The request was denied.
swagger:response deleteWeightTicketForbidden
func NewDeleteWeightTicketForbidden ¶
func NewDeleteWeightTicketForbidden() *DeleteWeightTicketForbidden
NewDeleteWeightTicketForbidden creates DeleteWeightTicketForbidden with default headers values
func (*DeleteWeightTicketForbidden) SetPayload ¶
func (o *DeleteWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete weight ticket forbidden response
func (*DeleteWeightTicketForbidden) WithPayload ¶
func (o *DeleteWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketForbidden
WithPayload adds the payload to the delete weight ticket forbidden response
func (*DeleteWeightTicketForbidden) WriteResponse ¶
func (o *DeleteWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketHandler ¶
type DeleteWeightTicketHandler interface {
Handle(DeleteWeightTicketParams) middleware.Responder
}
DeleteWeightTicketHandler interface for that can handle valid delete weight ticket params
type DeleteWeightTicketHandlerFunc ¶
type DeleteWeightTicketHandlerFunc func(DeleteWeightTicketParams) middleware.Responder
DeleteWeightTicketHandlerFunc turns a function with the right signature into a delete weight ticket handler
func (DeleteWeightTicketHandlerFunc) Handle ¶
func (fn DeleteWeightTicketHandlerFunc) Handle(params DeleteWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type DeleteWeightTicketInternalServerError ¶
type DeleteWeightTicketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
DeleteWeightTicketInternalServerError A server error occurred.
swagger:response deleteWeightTicketInternalServerError
func NewDeleteWeightTicketInternalServerError ¶
func NewDeleteWeightTicketInternalServerError() *DeleteWeightTicketInternalServerError
NewDeleteWeightTicketInternalServerError creates DeleteWeightTicketInternalServerError with default headers values
func (*DeleteWeightTicketInternalServerError) SetPayload ¶
func (o *DeleteWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the delete weight ticket internal server error response
func (*DeleteWeightTicketInternalServerError) WithPayload ¶
func (o *DeleteWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *DeleteWeightTicketInternalServerError
WithPayload adds the payload to the delete weight ticket internal server error response
func (*DeleteWeightTicketInternalServerError) WriteResponse ¶
func (o *DeleteWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketNoContent ¶
type DeleteWeightTicketNoContent struct { }
DeleteWeightTicketNoContent Successfully soft deleted the weight ticket
swagger:response deleteWeightTicketNoContent
func NewDeleteWeightTicketNoContent ¶
func NewDeleteWeightTicketNoContent() *DeleteWeightTicketNoContent
NewDeleteWeightTicketNoContent creates DeleteWeightTicketNoContent with default headers values
func (*DeleteWeightTicketNoContent) WriteResponse ¶
func (o *DeleteWeightTicketNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketNotFound ¶
type DeleteWeightTicketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
DeleteWeightTicketNotFound The requested resource wasn't found.
swagger:response deleteWeightTicketNotFound
func NewDeleteWeightTicketNotFound ¶
func NewDeleteWeightTicketNotFound() *DeleteWeightTicketNotFound
NewDeleteWeightTicketNotFound creates DeleteWeightTicketNotFound with default headers values
func (*DeleteWeightTicketNotFound) SetPayload ¶
func (o *DeleteWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete weight ticket not found response
func (*DeleteWeightTicketNotFound) WithPayload ¶
func (o *DeleteWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketNotFound
WithPayload adds the payload to the delete weight ticket not found response
func (*DeleteWeightTicketNotFound) WriteResponse ¶
func (o *DeleteWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketParams ¶
type DeleteWeightTicketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /*ID of the weight ticket to be deleted Required: true In: path */ WeightTicketID strfmt.UUID }
DeleteWeightTicketParams contains all the bound params for the delete weight ticket operation typically these are obtained from a http.Request
swagger:parameters deleteWeightTicket
func NewDeleteWeightTicketParams ¶
func NewDeleteWeightTicketParams() DeleteWeightTicketParams
NewDeleteWeightTicketParams creates a new DeleteWeightTicketParams object
There are no default values defined in the spec.
func (*DeleteWeightTicketParams) BindRequest ¶
func (o *DeleteWeightTicketParams) 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 NewDeleteWeightTicketParams() beforehand.
type DeleteWeightTicketURL ¶
type DeleteWeightTicketURL struct { PpmShipmentID strfmt.UUID WeightTicketID strfmt.UUID // contains filtered or unexported fields }
DeleteWeightTicketURL generates an URL for the delete weight ticket operation
func (*DeleteWeightTicketURL) Build ¶
func (o *DeleteWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteWeightTicketURL) BuildFull ¶
func (o *DeleteWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteWeightTicketURL) SetBasePath ¶
func (o *DeleteWeightTicketURL) 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 (*DeleteWeightTicketURL) String ¶
func (o *DeleteWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*DeleteWeightTicketURL) StringFull ¶
func (o *DeleteWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteWeightTicketURL) WithBasePath ¶
func (o *DeleteWeightTicketURL) WithBasePath(bp string) *DeleteWeightTicketURL
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 DeleteWeightTicketUnauthorized ¶
type DeleteWeightTicketUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
DeleteWeightTicketUnauthorized The request was denied.
swagger:response deleteWeightTicketUnauthorized
func NewDeleteWeightTicketUnauthorized ¶
func NewDeleteWeightTicketUnauthorized() *DeleteWeightTicketUnauthorized
NewDeleteWeightTicketUnauthorized creates DeleteWeightTicketUnauthorized with default headers values
func (*DeleteWeightTicketUnauthorized) SetPayload ¶
func (o *DeleteWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the delete weight ticket unauthorized response
func (*DeleteWeightTicketUnauthorized) WithPayload ¶
func (o *DeleteWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *DeleteWeightTicketUnauthorized
WithPayload adds the payload to the delete weight ticket unauthorized response
func (*DeleteWeightTicketUnauthorized) WriteResponse ¶
func (o *DeleteWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteWeightTicketUnprocessableEntity ¶
type DeleteWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
DeleteWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response deleteWeightTicketUnprocessableEntity
func NewDeleteWeightTicketUnprocessableEntity ¶
func NewDeleteWeightTicketUnprocessableEntity() *DeleteWeightTicketUnprocessableEntity
NewDeleteWeightTicketUnprocessableEntity creates DeleteWeightTicketUnprocessableEntity with default headers values
func (*DeleteWeightTicketUnprocessableEntity) SetPayload ¶
func (o *DeleteWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the delete weight ticket unprocessable entity response
func (*DeleteWeightTicketUnprocessableEntity) WithPayload ¶
func (o *DeleteWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *DeleteWeightTicketUnprocessableEntity
WithPayload adds the payload to the delete weight ticket unprocessable entity response
func (*DeleteWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *DeleteWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentation ¶
type ResubmitPPMShipmentDocumentation struct { Context *middleware.Context Handler ResubmitPPMShipmentDocumentationHandler }
ResubmitPPMShipmentDocumentation swagger:route PUT /ppm-shipments/{ppmShipmentId}/resubmit-ppm-shipment-documentation/{signedCertificationId} ppm resubmitPPMShipmentDocumentation
Updates signature and routes PPM shipment to service counselor ¶
Updates customer signature along with the text they agreed to, and then routes the PPM shipment to the service counselor queue for review.
func NewResubmitPPMShipmentDocumentation ¶
func NewResubmitPPMShipmentDocumentation(ctx *middleware.Context, handler ResubmitPPMShipmentDocumentationHandler) *ResubmitPPMShipmentDocumentation
NewResubmitPPMShipmentDocumentation creates a new http.Handler for the resubmit p p m shipment documentation operation
func (*ResubmitPPMShipmentDocumentation) ServeHTTP ¶
func (o *ResubmitPPMShipmentDocumentation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ResubmitPPMShipmentDocumentationBadRequest ¶
type ResubmitPPMShipmentDocumentationBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationBadRequest The request payload is invalid.
swagger:response resubmitPPMShipmentDocumentationBadRequest
func NewResubmitPPMShipmentDocumentationBadRequest ¶
func NewResubmitPPMShipmentDocumentationBadRequest() *ResubmitPPMShipmentDocumentationBadRequest
NewResubmitPPMShipmentDocumentationBadRequest creates ResubmitPPMShipmentDocumentationBadRequest with default headers values
func (*ResubmitPPMShipmentDocumentationBadRequest) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the resubmit p p m shipment documentation bad request response
func (*ResubmitPPMShipmentDocumentationBadRequest) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationBadRequest) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationBadRequest
WithPayload adds the payload to the resubmit p p m shipment documentation bad request response
func (*ResubmitPPMShipmentDocumentationBadRequest) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationConflict ¶
type ResubmitPPMShipmentDocumentationConflict struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationConflict The request could not be processed because of conflict in the current state of the resource.
swagger:response resubmitPPMShipmentDocumentationConflict
func NewResubmitPPMShipmentDocumentationConflict ¶
func NewResubmitPPMShipmentDocumentationConflict() *ResubmitPPMShipmentDocumentationConflict
NewResubmitPPMShipmentDocumentationConflict creates ResubmitPPMShipmentDocumentationConflict with default headers values
func (*ResubmitPPMShipmentDocumentationConflict) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationConflict) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the resubmit p p m shipment documentation conflict response
func (*ResubmitPPMShipmentDocumentationConflict) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationConflict) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationConflict
WithPayload adds the payload to the resubmit p p m shipment documentation conflict response
func (*ResubmitPPMShipmentDocumentationConflict) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationForbidden ¶
type ResubmitPPMShipmentDocumentationForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationForbidden The request was denied.
swagger:response resubmitPPMShipmentDocumentationForbidden
func NewResubmitPPMShipmentDocumentationForbidden ¶
func NewResubmitPPMShipmentDocumentationForbidden() *ResubmitPPMShipmentDocumentationForbidden
NewResubmitPPMShipmentDocumentationForbidden creates ResubmitPPMShipmentDocumentationForbidden with default headers values
func (*ResubmitPPMShipmentDocumentationForbidden) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the resubmit p p m shipment documentation forbidden response
func (*ResubmitPPMShipmentDocumentationForbidden) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationForbidden) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationForbidden
WithPayload adds the payload to the resubmit p p m shipment documentation forbidden response
func (*ResubmitPPMShipmentDocumentationForbidden) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationHandler ¶
type ResubmitPPMShipmentDocumentationHandler interface {
Handle(ResubmitPPMShipmentDocumentationParams) middleware.Responder
}
ResubmitPPMShipmentDocumentationHandler interface for that can handle valid resubmit p p m shipment documentation params
type ResubmitPPMShipmentDocumentationHandlerFunc ¶
type ResubmitPPMShipmentDocumentationHandlerFunc func(ResubmitPPMShipmentDocumentationParams) middleware.Responder
ResubmitPPMShipmentDocumentationHandlerFunc turns a function with the right signature into a resubmit p p m shipment documentation handler
func (ResubmitPPMShipmentDocumentationHandlerFunc) Handle ¶
func (fn ResubmitPPMShipmentDocumentationHandlerFunc) Handle(params ResubmitPPMShipmentDocumentationParams) middleware.Responder
Handle executing the request and returning a response
type ResubmitPPMShipmentDocumentationInternalServerError ¶
type ResubmitPPMShipmentDocumentationInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationInternalServerError A server error occurred.
swagger:response resubmitPPMShipmentDocumentationInternalServerError
func NewResubmitPPMShipmentDocumentationInternalServerError ¶
func NewResubmitPPMShipmentDocumentationInternalServerError() *ResubmitPPMShipmentDocumentationInternalServerError
NewResubmitPPMShipmentDocumentationInternalServerError creates ResubmitPPMShipmentDocumentationInternalServerError with default headers values
func (*ResubmitPPMShipmentDocumentationInternalServerError) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the resubmit p p m shipment documentation internal server error response
func (*ResubmitPPMShipmentDocumentationInternalServerError) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationInternalServerError) WithPayload(payload *internalmessages.Error) *ResubmitPPMShipmentDocumentationInternalServerError
WithPayload adds the payload to the resubmit p p m shipment documentation internal server error response
func (*ResubmitPPMShipmentDocumentationInternalServerError) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationNotFound ¶
type ResubmitPPMShipmentDocumentationNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationNotFound The requested resource wasn't found.
swagger:response resubmitPPMShipmentDocumentationNotFound
func NewResubmitPPMShipmentDocumentationNotFound ¶
func NewResubmitPPMShipmentDocumentationNotFound() *ResubmitPPMShipmentDocumentationNotFound
NewResubmitPPMShipmentDocumentationNotFound creates ResubmitPPMShipmentDocumentationNotFound with default headers values
func (*ResubmitPPMShipmentDocumentationNotFound) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the resubmit p p m shipment documentation not found response
func (*ResubmitPPMShipmentDocumentationNotFound) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationNotFound) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationNotFound
WithPayload adds the payload to the resubmit p p m shipment documentation not found response
func (*ResubmitPPMShipmentDocumentationNotFound) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationOK ¶
type ResubmitPPMShipmentDocumentationOK struct { /* In: Body */ Payload *internalmessages.PPMShipment `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationOK Returns the updated PPM shipment
swagger:response resubmitPPMShipmentDocumentationOK
func NewResubmitPPMShipmentDocumentationOK ¶
func NewResubmitPPMShipmentDocumentationOK() *ResubmitPPMShipmentDocumentationOK
NewResubmitPPMShipmentDocumentationOK creates ResubmitPPMShipmentDocumentationOK with default headers values
func (*ResubmitPPMShipmentDocumentationOK) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationOK) SetPayload(payload *internalmessages.PPMShipment)
SetPayload sets the payload to the resubmit p p m shipment documentation o k response
func (*ResubmitPPMShipmentDocumentationOK) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationOK) WithPayload(payload *internalmessages.PPMShipment) *ResubmitPPMShipmentDocumentationOK
WithPayload adds the payload to the resubmit p p m shipment documentation o k response
func (*ResubmitPPMShipmentDocumentationOK) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationParams ¶
type ResubmitPPMShipmentDocumentationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /* Required: true In: body */ SavePPMShipmentSignedCertificationPayload *internalmessages.SavePPMShipmentSignedCertification /*UUID of the signed certification Required: true In: path */ SignedCertificationID strfmt.UUID }
ResubmitPPMShipmentDocumentationParams contains all the bound params for the resubmit p p m shipment documentation operation typically these are obtained from a http.Request
swagger:parameters resubmitPPMShipmentDocumentation
func NewResubmitPPMShipmentDocumentationParams ¶
func NewResubmitPPMShipmentDocumentationParams() ResubmitPPMShipmentDocumentationParams
NewResubmitPPMShipmentDocumentationParams creates a new ResubmitPPMShipmentDocumentationParams object
There are no default values defined in the spec.
func (*ResubmitPPMShipmentDocumentationParams) BindRequest ¶
func (o *ResubmitPPMShipmentDocumentationParams) 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 NewResubmitPPMShipmentDocumentationParams() beforehand.
type ResubmitPPMShipmentDocumentationPreconditionFailed ¶
type ResubmitPPMShipmentDocumentationPreconditionFailed struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
swagger:response resubmitPPMShipmentDocumentationPreconditionFailed
func NewResubmitPPMShipmentDocumentationPreconditionFailed ¶
func NewResubmitPPMShipmentDocumentationPreconditionFailed() *ResubmitPPMShipmentDocumentationPreconditionFailed
NewResubmitPPMShipmentDocumentationPreconditionFailed creates ResubmitPPMShipmentDocumentationPreconditionFailed with default headers values
func (*ResubmitPPMShipmentDocumentationPreconditionFailed) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the resubmit p p m shipment documentation precondition failed response
func (*ResubmitPPMShipmentDocumentationPreconditionFailed) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationPreconditionFailed
WithPayload adds the payload to the resubmit p p m shipment documentation precondition failed response
func (*ResubmitPPMShipmentDocumentationPreconditionFailed) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationURL ¶
type ResubmitPPMShipmentDocumentationURL struct { PpmShipmentID strfmt.UUID SignedCertificationID strfmt.UUID // contains filtered or unexported fields }
ResubmitPPMShipmentDocumentationURL generates an URL for the resubmit p p m shipment documentation operation
func (*ResubmitPPMShipmentDocumentationURL) Build ¶
func (o *ResubmitPPMShipmentDocumentationURL) Build() (*url.URL, error)
Build a url path and query string
func (*ResubmitPPMShipmentDocumentationURL) BuildFull ¶
func (o *ResubmitPPMShipmentDocumentationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ResubmitPPMShipmentDocumentationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ResubmitPPMShipmentDocumentationURL) SetBasePath ¶
func (o *ResubmitPPMShipmentDocumentationURL) 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 (*ResubmitPPMShipmentDocumentationURL) String ¶
func (o *ResubmitPPMShipmentDocumentationURL) String() string
String returns the string representation of the path with query string
func (*ResubmitPPMShipmentDocumentationURL) StringFull ¶
func (o *ResubmitPPMShipmentDocumentationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ResubmitPPMShipmentDocumentationURL) WithBasePath ¶
func (o *ResubmitPPMShipmentDocumentationURL) WithBasePath(bp string) *ResubmitPPMShipmentDocumentationURL
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 ResubmitPPMShipmentDocumentationUnauthorized ¶
type ResubmitPPMShipmentDocumentationUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
ResubmitPPMShipmentDocumentationUnauthorized The request was denied.
swagger:response resubmitPPMShipmentDocumentationUnauthorized
func NewResubmitPPMShipmentDocumentationUnauthorized ¶
func NewResubmitPPMShipmentDocumentationUnauthorized() *ResubmitPPMShipmentDocumentationUnauthorized
NewResubmitPPMShipmentDocumentationUnauthorized creates ResubmitPPMShipmentDocumentationUnauthorized with default headers values
func (*ResubmitPPMShipmentDocumentationUnauthorized) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the resubmit p p m shipment documentation unauthorized response
func (*ResubmitPPMShipmentDocumentationUnauthorized) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationUnauthorized) WithPayload(payload *internalmessages.ClientError) *ResubmitPPMShipmentDocumentationUnauthorized
WithPayload adds the payload to the resubmit p p m shipment documentation unauthorized response
func (*ResubmitPPMShipmentDocumentationUnauthorized) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResubmitPPMShipmentDocumentationUnprocessableEntity ¶
type ResubmitPPMShipmentDocumentationUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
ResubmitPPMShipmentDocumentationUnprocessableEntity The payload was unprocessable.
swagger:response resubmitPPMShipmentDocumentationUnprocessableEntity
func NewResubmitPPMShipmentDocumentationUnprocessableEntity ¶
func NewResubmitPPMShipmentDocumentationUnprocessableEntity() *ResubmitPPMShipmentDocumentationUnprocessableEntity
NewResubmitPPMShipmentDocumentationUnprocessableEntity creates ResubmitPPMShipmentDocumentationUnprocessableEntity with default headers values
func (*ResubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload ¶
func (o *ResubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the resubmit p p m shipment documentation unprocessable entity response
func (*ResubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload ¶
func (o *ResubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *ResubmitPPMShipmentDocumentationUnprocessableEntity
WithPayload adds the payload to the resubmit p p m shipment documentation unprocessable entity response
func (*ResubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse ¶
func (o *ResubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacket ¶
type ShowAOAPacket struct { Context *middleware.Context Handler ShowAOAPacketHandler }
ShowAOAPacket swagger:route GET /ppm-shipments/{ppmShipmentId}/aoa-packet ppm showAOAPacket
Downloads AOA Packet form PPMShipment as a PDF ¶
### Functionality This endpoint downloads all uploaded move order documentation combined with the Shipment Summary Worksheet into a single PDF. ### Errors * The PPMShipment must have requested an AOA. * The PPMShipment AOA Request must have been approved.
func NewShowAOAPacket ¶
func NewShowAOAPacket(ctx *middleware.Context, handler ShowAOAPacketHandler) *ShowAOAPacket
NewShowAOAPacket creates a new http.Handler for the show a o a packet operation
func (*ShowAOAPacket) ServeHTTP ¶
func (o *ShowAOAPacket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowAOAPacketBadRequest ¶
type ShowAOAPacketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ShowAOAPacketBadRequest The request payload is invalid.
swagger:response showAOAPacketBadRequest
func NewShowAOAPacketBadRequest ¶
func NewShowAOAPacketBadRequest() *ShowAOAPacketBadRequest
NewShowAOAPacketBadRequest creates ShowAOAPacketBadRequest with default headers values
func (*ShowAOAPacketBadRequest) SetPayload ¶
func (o *ShowAOAPacketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the show a o a packet bad request response
func (*ShowAOAPacketBadRequest) WithPayload ¶
func (o *ShowAOAPacketBadRequest) WithPayload(payload *internalmessages.ClientError) *ShowAOAPacketBadRequest
WithPayload adds the payload to the show a o a packet bad request response
func (*ShowAOAPacketBadRequest) WriteResponse ¶
func (o *ShowAOAPacketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketForbidden ¶
type ShowAOAPacketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ShowAOAPacketForbidden The request was denied.
swagger:response showAOAPacketForbidden
func NewShowAOAPacketForbidden ¶
func NewShowAOAPacketForbidden() *ShowAOAPacketForbidden
NewShowAOAPacketForbidden creates ShowAOAPacketForbidden with default headers values
func (*ShowAOAPacketForbidden) SetPayload ¶
func (o *ShowAOAPacketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the show a o a packet forbidden response
func (*ShowAOAPacketForbidden) WithPayload ¶
func (o *ShowAOAPacketForbidden) WithPayload(payload *internalmessages.ClientError) *ShowAOAPacketForbidden
WithPayload adds the payload to the show a o a packet forbidden response
func (*ShowAOAPacketForbidden) WriteResponse ¶
func (o *ShowAOAPacketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketHandler ¶
type ShowAOAPacketHandler interface {
Handle(ShowAOAPacketParams) middleware.Responder
}
ShowAOAPacketHandler interface for that can handle valid show a o a packet params
type ShowAOAPacketHandlerFunc ¶
type ShowAOAPacketHandlerFunc func(ShowAOAPacketParams) middleware.Responder
ShowAOAPacketHandlerFunc turns a function with the right signature into a show a o a packet handler
func (ShowAOAPacketHandlerFunc) Handle ¶
func (fn ShowAOAPacketHandlerFunc) Handle(params ShowAOAPacketParams) middleware.Responder
Handle executing the request and returning a response
type ShowAOAPacketInternalServerError ¶
type ShowAOAPacketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
ShowAOAPacketInternalServerError A server error occurred.
swagger:response showAOAPacketInternalServerError
func NewShowAOAPacketInternalServerError ¶
func NewShowAOAPacketInternalServerError() *ShowAOAPacketInternalServerError
NewShowAOAPacketInternalServerError creates ShowAOAPacketInternalServerError with default headers values
func (*ShowAOAPacketInternalServerError) SetPayload ¶
func (o *ShowAOAPacketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the show a o a packet internal server error response
func (*ShowAOAPacketInternalServerError) WithPayload ¶
func (o *ShowAOAPacketInternalServerError) WithPayload(payload *internalmessages.Error) *ShowAOAPacketInternalServerError
WithPayload adds the payload to the show a o a packet internal server error response
func (*ShowAOAPacketInternalServerError) WriteResponse ¶
func (o *ShowAOAPacketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketNotFound ¶
type ShowAOAPacketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
ShowAOAPacketNotFound The requested resource wasn't found.
swagger:response showAOAPacketNotFound
func NewShowAOAPacketNotFound ¶
func NewShowAOAPacketNotFound() *ShowAOAPacketNotFound
NewShowAOAPacketNotFound creates ShowAOAPacketNotFound with default headers values
func (*ShowAOAPacketNotFound) SetPayload ¶
func (o *ShowAOAPacketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the show a o a packet not found response
func (*ShowAOAPacketNotFound) WithPayload ¶
func (o *ShowAOAPacketNotFound) WithPayload(payload *internalmessages.ClientError) *ShowAOAPacketNotFound
WithPayload adds the payload to the show a o a packet not found response
func (*ShowAOAPacketNotFound) WriteResponse ¶
func (o *ShowAOAPacketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketOK ¶
type ShowAOAPacketOK struct { /*File name to download */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
ShowAOAPacketOK AOA PDF
swagger:response showAOAPacketOK
func NewShowAOAPacketOK ¶
func NewShowAOAPacketOK() *ShowAOAPacketOK
NewShowAOAPacketOK creates ShowAOAPacketOK with default headers values
func (*ShowAOAPacketOK) SetContentDisposition ¶
func (o *ShowAOAPacketOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the show a o a packet o k response
func (*ShowAOAPacketOK) SetPayload ¶
func (o *ShowAOAPacketOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the show a o a packet o k response
func (*ShowAOAPacketOK) WithContentDisposition ¶
func (o *ShowAOAPacketOK) WithContentDisposition(contentDisposition string) *ShowAOAPacketOK
WithContentDisposition adds the contentDisposition to the show a o a packet o k response
func (*ShowAOAPacketOK) WithPayload ¶
func (o *ShowAOAPacketOK) WithPayload(payload io.ReadCloser) *ShowAOAPacketOK
WithPayload adds the payload to the show a o a packet o k response
func (*ShowAOAPacketOK) WriteResponse ¶
func (o *ShowAOAPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowAOAPacketParams ¶
type ShowAOAPacketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*the id for the ppmshipment with aoa to be downloaded Required: true In: path */ PpmShipmentID string }
ShowAOAPacketParams contains all the bound params for the show a o a packet operation typically these are obtained from a http.Request
swagger:parameters showAOAPacket
func NewShowAOAPacketParams ¶
func NewShowAOAPacketParams() ShowAOAPacketParams
NewShowAOAPacketParams creates a new ShowAOAPacketParams object
There are no default values defined in the spec.
func (*ShowAOAPacketParams) BindRequest ¶
func (o *ShowAOAPacketParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewShowAOAPacketParams() beforehand.
type ShowAOAPacketURL ¶
type ShowAOAPacketURL struct { PpmShipmentID string // contains filtered or unexported fields }
ShowAOAPacketURL generates an URL for the show a o a packet operation
func (*ShowAOAPacketURL) Build ¶
func (o *ShowAOAPacketURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowAOAPacketURL) BuildFull ¶
func (o *ShowAOAPacketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowAOAPacketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowAOAPacketURL) SetBasePath ¶
func (o *ShowAOAPacketURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ShowAOAPacketURL) String ¶
func (o *ShowAOAPacketURL) String() string
String returns the string representation of the path with query string
func (*ShowAOAPacketURL) StringFull ¶
func (o *ShowAOAPacketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowAOAPacketURL) WithBasePath ¶
func (o *ShowAOAPacketURL) WithBasePath(bp string) *ShowAOAPacketURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ShowAOAPacketUnprocessableEntity ¶
type ShowAOAPacketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
ShowAOAPacketUnprocessableEntity The payload was unprocessable.
swagger:response showAOAPacketUnprocessableEntity
func NewShowAOAPacketUnprocessableEntity ¶
func NewShowAOAPacketUnprocessableEntity() *ShowAOAPacketUnprocessableEntity
NewShowAOAPacketUnprocessableEntity creates ShowAOAPacketUnprocessableEntity with default headers values
func (*ShowAOAPacketUnprocessableEntity) SetPayload ¶
func (o *ShowAOAPacketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the show a o a packet unprocessable entity response
func (*ShowAOAPacketUnprocessableEntity) WithPayload ¶
func (o *ShowAOAPacketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *ShowAOAPacketUnprocessableEntity
WithPayload adds the payload to the show a o a packet unprocessable entity response
func (*ShowAOAPacketUnprocessableEntity) WriteResponse ¶
func (o *ShowAOAPacketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacket ¶
type ShowPaymentPacket struct { Context *middleware.Context Handler ShowPaymentPacketHandler }
ShowPaymentPacket swagger:route GET /ppm-shipments/{ppmShipmentId}/payment-packet ppm showPaymentPacket
Returns PPM payment packet ¶
Generates a PDF containing all user uploaded documentations for PPM. Contains SSW form, orders, weight and expense documentations.
func NewShowPaymentPacket ¶
func NewShowPaymentPacket(ctx *middleware.Context, handler ShowPaymentPacketHandler) *ShowPaymentPacket
NewShowPaymentPacket creates a new http.Handler for the show payment packet operation
func (*ShowPaymentPacket) ServeHTTP ¶
func (o *ShowPaymentPacket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowPaymentPacketBadRequest ¶
type ShowPaymentPacketBadRequest struct { }
ShowPaymentPacketBadRequest invalid request
swagger:response showPaymentPacketBadRequest
func NewShowPaymentPacketBadRequest ¶
func NewShowPaymentPacketBadRequest() *ShowPaymentPacketBadRequest
NewShowPaymentPacketBadRequest creates ShowPaymentPacketBadRequest with default headers values
func (*ShowPaymentPacketBadRequest) WriteResponse ¶
func (o *ShowPaymentPacketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketForbidden ¶
type ShowPaymentPacketForbidden struct { }
ShowPaymentPacketForbidden user is not authorized
swagger:response showPaymentPacketForbidden
func NewShowPaymentPacketForbidden ¶
func NewShowPaymentPacketForbidden() *ShowPaymentPacketForbidden
NewShowPaymentPacketForbidden creates ShowPaymentPacketForbidden with default headers values
func (*ShowPaymentPacketForbidden) WriteResponse ¶
func (o *ShowPaymentPacketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketHandler ¶
type ShowPaymentPacketHandler interface {
Handle(ShowPaymentPacketParams) middleware.Responder
}
ShowPaymentPacketHandler interface for that can handle valid show payment packet params
type ShowPaymentPacketHandlerFunc ¶
type ShowPaymentPacketHandlerFunc func(ShowPaymentPacketParams) middleware.Responder
ShowPaymentPacketHandlerFunc turns a function with the right signature into a show payment packet handler
func (ShowPaymentPacketHandlerFunc) Handle ¶
func (fn ShowPaymentPacketHandlerFunc) Handle(params ShowPaymentPacketParams) middleware.Responder
Handle executing the request and returning a response
type ShowPaymentPacketInternalServerError ¶
type ShowPaymentPacketInternalServerError struct { }
ShowPaymentPacketInternalServerError internal server error
swagger:response showPaymentPacketInternalServerError
func NewShowPaymentPacketInternalServerError ¶
func NewShowPaymentPacketInternalServerError() *ShowPaymentPacketInternalServerError
NewShowPaymentPacketInternalServerError creates ShowPaymentPacketInternalServerError with default headers values
func (*ShowPaymentPacketInternalServerError) WriteResponse ¶
func (o *ShowPaymentPacketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketNotFound ¶
type ShowPaymentPacketNotFound struct { }
ShowPaymentPacketNotFound ppm not found
swagger:response showPaymentPacketNotFound
func NewShowPaymentPacketNotFound ¶
func NewShowPaymentPacketNotFound() *ShowPaymentPacketNotFound
NewShowPaymentPacketNotFound creates ShowPaymentPacketNotFound with default headers values
func (*ShowPaymentPacketNotFound) WriteResponse ¶
func (o *ShowPaymentPacketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketOK ¶
type ShowPaymentPacketOK struct { /*File name to download */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
ShowPaymentPacketOK PPM Payment Packet PDF
swagger:response showPaymentPacketOK
func NewShowPaymentPacketOK ¶
func NewShowPaymentPacketOK() *ShowPaymentPacketOK
NewShowPaymentPacketOK creates ShowPaymentPacketOK with default headers values
func (*ShowPaymentPacketOK) SetContentDisposition ¶
func (o *ShowPaymentPacketOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the show payment packet o k response
func (*ShowPaymentPacketOK) SetPayload ¶
func (o *ShowPaymentPacketOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the show payment packet o k response
func (*ShowPaymentPacketOK) WithContentDisposition ¶
func (o *ShowPaymentPacketOK) WithContentDisposition(contentDisposition string) *ShowPaymentPacketOK
WithContentDisposition adds the contentDisposition to the show payment packet o k response
func (*ShowPaymentPacketOK) WithPayload ¶
func (o *ShowPaymentPacketOK) WithPayload(payload io.ReadCloser) *ShowPaymentPacketOK
WithPayload adds the payload to the show payment packet o k response
func (*ShowPaymentPacketOK) WriteResponse ¶
func (o *ShowPaymentPacketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowPaymentPacketParams ¶
type ShowPaymentPacketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the ppmShipment Required: true In: path */ PpmShipmentID strfmt.UUID }
ShowPaymentPacketParams contains all the bound params for the show payment packet operation typically these are obtained from a http.Request
swagger:parameters showPaymentPacket
func NewShowPaymentPacketParams ¶
func NewShowPaymentPacketParams() ShowPaymentPacketParams
NewShowPaymentPacketParams creates a new ShowPaymentPacketParams object
There are no default values defined in the spec.
func (*ShowPaymentPacketParams) BindRequest ¶
func (o *ShowPaymentPacketParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewShowPaymentPacketParams() beforehand.
type ShowPaymentPacketURL ¶
type ShowPaymentPacketURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
ShowPaymentPacketURL generates an URL for the show payment packet operation
func (*ShowPaymentPacketURL) Build ¶
func (o *ShowPaymentPacketURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowPaymentPacketURL) BuildFull ¶
func (o *ShowPaymentPacketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowPaymentPacketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowPaymentPacketURL) SetBasePath ¶
func (o *ShowPaymentPacketURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ShowPaymentPacketURL) String ¶
func (o *ShowPaymentPacketURL) String() string
String returns the string representation of the path with query string
func (*ShowPaymentPacketURL) StringFull ¶
func (o *ShowPaymentPacketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowPaymentPacketURL) WithBasePath ¶
func (o *ShowPaymentPacketURL) WithBasePath(bp string) *ShowPaymentPacketURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ShowPaymentPacketUnauthorized ¶
type ShowPaymentPacketUnauthorized struct { }
ShowPaymentPacketUnauthorized request requires user authentication
swagger:response showPaymentPacketUnauthorized
func NewShowPaymentPacketUnauthorized ¶
func NewShowPaymentPacketUnauthorized() *ShowPaymentPacketUnauthorized
NewShowPaymentPacketUnauthorized creates ShowPaymentPacketUnauthorized with default headers values
func (*ShowPaymentPacketUnauthorized) WriteResponse ¶
func (o *ShowPaymentPacketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentation ¶
type SubmitPPMShipmentDocumentation struct { Context *middleware.Context Handler SubmitPPMShipmentDocumentationHandler }
SubmitPPMShipmentDocumentation swagger:route POST /ppm-shipments/{ppmShipmentId}/submit-ppm-shipment-documentation ppm submitPPMShipmentDocumentation
Saves signature and routes PPM shipment to service counselor ¶
Saves customer signature along with the text they agreed to, and then routes the PPM shipment to the service counselor queue for review.
func NewSubmitPPMShipmentDocumentation ¶
func NewSubmitPPMShipmentDocumentation(ctx *middleware.Context, handler SubmitPPMShipmentDocumentationHandler) *SubmitPPMShipmentDocumentation
NewSubmitPPMShipmentDocumentation creates a new http.Handler for the submit p p m shipment documentation operation
func (*SubmitPPMShipmentDocumentation) ServeHTTP ¶
func (o *SubmitPPMShipmentDocumentation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SubmitPPMShipmentDocumentationBadRequest ¶
type SubmitPPMShipmentDocumentationBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationBadRequest The request payload is invalid.
swagger:response submitPPMShipmentDocumentationBadRequest
func NewSubmitPPMShipmentDocumentationBadRequest ¶
func NewSubmitPPMShipmentDocumentationBadRequest() *SubmitPPMShipmentDocumentationBadRequest
NewSubmitPPMShipmentDocumentationBadRequest creates SubmitPPMShipmentDocumentationBadRequest with default headers values
func (*SubmitPPMShipmentDocumentationBadRequest) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the submit p p m shipment documentation bad request response
func (*SubmitPPMShipmentDocumentationBadRequest) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationBadRequest) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationBadRequest
WithPayload adds the payload to the submit p p m shipment documentation bad request response
func (*SubmitPPMShipmentDocumentationBadRequest) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationConflict ¶
type SubmitPPMShipmentDocumentationConflict struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationConflict The request could not be processed because of conflict in the current state of the resource.
swagger:response submitPPMShipmentDocumentationConflict
func NewSubmitPPMShipmentDocumentationConflict ¶
func NewSubmitPPMShipmentDocumentationConflict() *SubmitPPMShipmentDocumentationConflict
NewSubmitPPMShipmentDocumentationConflict creates SubmitPPMShipmentDocumentationConflict with default headers values
func (*SubmitPPMShipmentDocumentationConflict) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationConflict) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the submit p p m shipment documentation conflict response
func (*SubmitPPMShipmentDocumentationConflict) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationConflict) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationConflict
WithPayload adds the payload to the submit p p m shipment documentation conflict response
func (*SubmitPPMShipmentDocumentationConflict) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationForbidden ¶
type SubmitPPMShipmentDocumentationForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationForbidden The request was denied.
swagger:response submitPPMShipmentDocumentationForbidden
func NewSubmitPPMShipmentDocumentationForbidden ¶
func NewSubmitPPMShipmentDocumentationForbidden() *SubmitPPMShipmentDocumentationForbidden
NewSubmitPPMShipmentDocumentationForbidden creates SubmitPPMShipmentDocumentationForbidden with default headers values
func (*SubmitPPMShipmentDocumentationForbidden) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the submit p p m shipment documentation forbidden response
func (*SubmitPPMShipmentDocumentationForbidden) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationForbidden) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationForbidden
WithPayload adds the payload to the submit p p m shipment documentation forbidden response
func (*SubmitPPMShipmentDocumentationForbidden) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationHandler ¶
type SubmitPPMShipmentDocumentationHandler interface {
Handle(SubmitPPMShipmentDocumentationParams) middleware.Responder
}
SubmitPPMShipmentDocumentationHandler interface for that can handle valid submit p p m shipment documentation params
type SubmitPPMShipmentDocumentationHandlerFunc ¶
type SubmitPPMShipmentDocumentationHandlerFunc func(SubmitPPMShipmentDocumentationParams) middleware.Responder
SubmitPPMShipmentDocumentationHandlerFunc turns a function with the right signature into a submit p p m shipment documentation handler
func (SubmitPPMShipmentDocumentationHandlerFunc) Handle ¶
func (fn SubmitPPMShipmentDocumentationHandlerFunc) Handle(params SubmitPPMShipmentDocumentationParams) middleware.Responder
Handle executing the request and returning a response
type SubmitPPMShipmentDocumentationInternalServerError ¶
type SubmitPPMShipmentDocumentationInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationInternalServerError A server error occurred.
swagger:response submitPPMShipmentDocumentationInternalServerError
func NewSubmitPPMShipmentDocumentationInternalServerError ¶
func NewSubmitPPMShipmentDocumentationInternalServerError() *SubmitPPMShipmentDocumentationInternalServerError
NewSubmitPPMShipmentDocumentationInternalServerError creates SubmitPPMShipmentDocumentationInternalServerError with default headers values
func (*SubmitPPMShipmentDocumentationInternalServerError) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the submit p p m shipment documentation internal server error response
func (*SubmitPPMShipmentDocumentationInternalServerError) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationInternalServerError) WithPayload(payload *internalmessages.Error) *SubmitPPMShipmentDocumentationInternalServerError
WithPayload adds the payload to the submit p p m shipment documentation internal server error response
func (*SubmitPPMShipmentDocumentationInternalServerError) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationNotFound ¶
type SubmitPPMShipmentDocumentationNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationNotFound The requested resource wasn't found.
swagger:response submitPPMShipmentDocumentationNotFound
func NewSubmitPPMShipmentDocumentationNotFound ¶
func NewSubmitPPMShipmentDocumentationNotFound() *SubmitPPMShipmentDocumentationNotFound
NewSubmitPPMShipmentDocumentationNotFound creates SubmitPPMShipmentDocumentationNotFound with default headers values
func (*SubmitPPMShipmentDocumentationNotFound) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the submit p p m shipment documentation not found response
func (*SubmitPPMShipmentDocumentationNotFound) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationNotFound) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationNotFound
WithPayload adds the payload to the submit p p m shipment documentation not found response
func (*SubmitPPMShipmentDocumentationNotFound) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationOK ¶
type SubmitPPMShipmentDocumentationOK struct { /* In: Body */ Payload *internalmessages.PPMShipment `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationOK Returns the updated PPM shipment
swagger:response submitPPMShipmentDocumentationOK
func NewSubmitPPMShipmentDocumentationOK ¶
func NewSubmitPPMShipmentDocumentationOK() *SubmitPPMShipmentDocumentationOK
NewSubmitPPMShipmentDocumentationOK creates SubmitPPMShipmentDocumentationOK with default headers values
func (*SubmitPPMShipmentDocumentationOK) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationOK) SetPayload(payload *internalmessages.PPMShipment)
SetPayload sets the payload to the submit p p m shipment documentation o k response
func (*SubmitPPMShipmentDocumentationOK) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationOK) WithPayload(payload *internalmessages.PPMShipment) *SubmitPPMShipmentDocumentationOK
WithPayload adds the payload to the submit p p m shipment documentation o k response
func (*SubmitPPMShipmentDocumentationOK) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationParams ¶
type SubmitPPMShipmentDocumentationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /* Required: true In: body */ SavePPMShipmentSignedCertificationPayload *internalmessages.SavePPMShipmentSignedCertification }
SubmitPPMShipmentDocumentationParams contains all the bound params for the submit p p m shipment documentation operation typically these are obtained from a http.Request
swagger:parameters submitPPMShipmentDocumentation
func NewSubmitPPMShipmentDocumentationParams ¶
func NewSubmitPPMShipmentDocumentationParams() SubmitPPMShipmentDocumentationParams
NewSubmitPPMShipmentDocumentationParams creates a new SubmitPPMShipmentDocumentationParams object
There are no default values defined in the spec.
func (*SubmitPPMShipmentDocumentationParams) BindRequest ¶
func (o *SubmitPPMShipmentDocumentationParams) 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 NewSubmitPPMShipmentDocumentationParams() beforehand.
type SubmitPPMShipmentDocumentationURL ¶
type SubmitPPMShipmentDocumentationURL struct { PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
SubmitPPMShipmentDocumentationURL generates an URL for the submit p p m shipment documentation operation
func (*SubmitPPMShipmentDocumentationURL) Build ¶
func (o *SubmitPPMShipmentDocumentationURL) Build() (*url.URL, error)
Build a url path and query string
func (*SubmitPPMShipmentDocumentationURL) BuildFull ¶
func (o *SubmitPPMShipmentDocumentationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SubmitPPMShipmentDocumentationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SubmitPPMShipmentDocumentationURL) SetBasePath ¶
func (o *SubmitPPMShipmentDocumentationURL) 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 (*SubmitPPMShipmentDocumentationURL) String ¶
func (o *SubmitPPMShipmentDocumentationURL) String() string
String returns the string representation of the path with query string
func (*SubmitPPMShipmentDocumentationURL) StringFull ¶
func (o *SubmitPPMShipmentDocumentationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SubmitPPMShipmentDocumentationURL) WithBasePath ¶
func (o *SubmitPPMShipmentDocumentationURL) WithBasePath(bp string) *SubmitPPMShipmentDocumentationURL
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 SubmitPPMShipmentDocumentationUnauthorized ¶
type SubmitPPMShipmentDocumentationUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
SubmitPPMShipmentDocumentationUnauthorized The request was denied.
swagger:response submitPPMShipmentDocumentationUnauthorized
func NewSubmitPPMShipmentDocumentationUnauthorized ¶
func NewSubmitPPMShipmentDocumentationUnauthorized() *SubmitPPMShipmentDocumentationUnauthorized
NewSubmitPPMShipmentDocumentationUnauthorized creates SubmitPPMShipmentDocumentationUnauthorized with default headers values
func (*SubmitPPMShipmentDocumentationUnauthorized) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the submit p p m shipment documentation unauthorized response
func (*SubmitPPMShipmentDocumentationUnauthorized) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationUnauthorized) WithPayload(payload *internalmessages.ClientError) *SubmitPPMShipmentDocumentationUnauthorized
WithPayload adds the payload to the submit p p m shipment documentation unauthorized response
func (*SubmitPPMShipmentDocumentationUnauthorized) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SubmitPPMShipmentDocumentationUnprocessableEntity ¶
type SubmitPPMShipmentDocumentationUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
SubmitPPMShipmentDocumentationUnprocessableEntity The payload was unprocessable.
swagger:response submitPPMShipmentDocumentationUnprocessableEntity
func NewSubmitPPMShipmentDocumentationUnprocessableEntity ¶
func NewSubmitPPMShipmentDocumentationUnprocessableEntity() *SubmitPPMShipmentDocumentationUnprocessableEntity
NewSubmitPPMShipmentDocumentationUnprocessableEntity creates SubmitPPMShipmentDocumentationUnprocessableEntity with default headers values
func (*SubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload ¶
func (o *SubmitPPMShipmentDocumentationUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the submit p p m shipment documentation unprocessable entity response
func (*SubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload ¶
func (o *SubmitPPMShipmentDocumentationUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *SubmitPPMShipmentDocumentationUnprocessableEntity
WithPayload adds the payload to the submit p p m shipment documentation unprocessable entity response
func (*SubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse ¶
func (o *SubmitPPMShipmentDocumentationUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpense ¶
type UpdateMovingExpense struct { Context *middleware.Context Handler UpdateMovingExpenseHandler }
UpdateMovingExpense swagger:route PATCH /ppm-shipments/{ppmShipmentId}/moving-expenses/{movingExpenseId} ppm updateMovingExpense
Updates the moving expense ¶
Any fields sent in this request will be set on the moving expense referenced
func NewUpdateMovingExpense ¶
func NewUpdateMovingExpense(ctx *middleware.Context, handler UpdateMovingExpenseHandler) *UpdateMovingExpense
NewUpdateMovingExpense creates a new http.Handler for the update moving expense operation
func (*UpdateMovingExpense) ServeHTTP ¶
func (o *UpdateMovingExpense) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateMovingExpenseBadRequest ¶
type UpdateMovingExpenseBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateMovingExpenseBadRequest The request payload is invalid.
swagger:response updateMovingExpenseBadRequest
func NewUpdateMovingExpenseBadRequest ¶
func NewUpdateMovingExpenseBadRequest() *UpdateMovingExpenseBadRequest
NewUpdateMovingExpenseBadRequest creates UpdateMovingExpenseBadRequest with default headers values
func (*UpdateMovingExpenseBadRequest) SetPayload ¶
func (o *UpdateMovingExpenseBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update moving expense bad request response
func (*UpdateMovingExpenseBadRequest) WithPayload ¶
func (o *UpdateMovingExpenseBadRequest) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseBadRequest
WithPayload adds the payload to the update moving expense bad request response
func (*UpdateMovingExpenseBadRequest) WriteResponse ¶
func (o *UpdateMovingExpenseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseForbidden ¶
type UpdateMovingExpenseForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateMovingExpenseForbidden The request was denied.
swagger:response updateMovingExpenseForbidden
func NewUpdateMovingExpenseForbidden ¶
func NewUpdateMovingExpenseForbidden() *UpdateMovingExpenseForbidden
NewUpdateMovingExpenseForbidden creates UpdateMovingExpenseForbidden with default headers values
func (*UpdateMovingExpenseForbidden) SetPayload ¶
func (o *UpdateMovingExpenseForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update moving expense forbidden response
func (*UpdateMovingExpenseForbidden) WithPayload ¶
func (o *UpdateMovingExpenseForbidden) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseForbidden
WithPayload adds the payload to the update moving expense forbidden response
func (*UpdateMovingExpenseForbidden) WriteResponse ¶
func (o *UpdateMovingExpenseForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseHandler ¶
type UpdateMovingExpenseHandler interface {
Handle(UpdateMovingExpenseParams) middleware.Responder
}
UpdateMovingExpenseHandler interface for that can handle valid update moving expense params
type UpdateMovingExpenseHandlerFunc ¶
type UpdateMovingExpenseHandlerFunc func(UpdateMovingExpenseParams) middleware.Responder
UpdateMovingExpenseHandlerFunc turns a function with the right signature into a update moving expense handler
func (UpdateMovingExpenseHandlerFunc) Handle ¶
func (fn UpdateMovingExpenseHandlerFunc) Handle(params UpdateMovingExpenseParams) middleware.Responder
Handle executing the request and returning a response
type UpdateMovingExpenseInternalServerError ¶
type UpdateMovingExpenseInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
UpdateMovingExpenseInternalServerError A server error occurred.
swagger:response updateMovingExpenseInternalServerError
func NewUpdateMovingExpenseInternalServerError ¶
func NewUpdateMovingExpenseInternalServerError() *UpdateMovingExpenseInternalServerError
NewUpdateMovingExpenseInternalServerError creates UpdateMovingExpenseInternalServerError with default headers values
func (*UpdateMovingExpenseInternalServerError) SetPayload ¶
func (o *UpdateMovingExpenseInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the update moving expense internal server error response
func (*UpdateMovingExpenseInternalServerError) WithPayload ¶
func (o *UpdateMovingExpenseInternalServerError) WithPayload(payload *internalmessages.Error) *UpdateMovingExpenseInternalServerError
WithPayload adds the payload to the update moving expense internal server error response
func (*UpdateMovingExpenseInternalServerError) WriteResponse ¶
func (o *UpdateMovingExpenseInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseNotFound ¶
type UpdateMovingExpenseNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateMovingExpenseNotFound The requested resource wasn't found.
swagger:response updateMovingExpenseNotFound
func NewUpdateMovingExpenseNotFound ¶
func NewUpdateMovingExpenseNotFound() *UpdateMovingExpenseNotFound
NewUpdateMovingExpenseNotFound creates UpdateMovingExpenseNotFound with default headers values
func (*UpdateMovingExpenseNotFound) SetPayload ¶
func (o *UpdateMovingExpenseNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update moving expense not found response
func (*UpdateMovingExpenseNotFound) WithPayload ¶
func (o *UpdateMovingExpenseNotFound) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseNotFound
WithPayload adds the payload to the update moving expense not found response
func (*UpdateMovingExpenseNotFound) WriteResponse ¶
func (o *UpdateMovingExpenseNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseOK ¶
type UpdateMovingExpenseOK struct { /* In: Body */ Payload *internalmessages.MovingExpense `json:"body,omitempty"` }
UpdateMovingExpenseOK returns an updated moving expense object
swagger:response updateMovingExpenseOK
func NewUpdateMovingExpenseOK ¶
func NewUpdateMovingExpenseOK() *UpdateMovingExpenseOK
NewUpdateMovingExpenseOK creates UpdateMovingExpenseOK with default headers values
func (*UpdateMovingExpenseOK) SetPayload ¶
func (o *UpdateMovingExpenseOK) SetPayload(payload *internalmessages.MovingExpense)
SetPayload sets the payload to the update moving expense o k response
func (*UpdateMovingExpenseOK) WithPayload ¶
func (o *UpdateMovingExpenseOK) WithPayload(payload *internalmessages.MovingExpense) *UpdateMovingExpenseOK
WithPayload adds the payload to the update moving expense o k response
func (*UpdateMovingExpenseOK) WriteResponse ¶
func (o *UpdateMovingExpenseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseParams ¶
type UpdateMovingExpenseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /*UUID of the moving expense Required: true In: path */ MovingExpenseID strfmt.UUID /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /* Required: true In: body */ UpdateMovingExpense *internalmessages.UpdateMovingExpense }
UpdateMovingExpenseParams contains all the bound params for the update moving expense operation typically these are obtained from a http.Request
swagger:parameters updateMovingExpense
func NewUpdateMovingExpenseParams ¶
func NewUpdateMovingExpenseParams() UpdateMovingExpenseParams
NewUpdateMovingExpenseParams creates a new UpdateMovingExpenseParams object
There are no default values defined in the spec.
func (*UpdateMovingExpenseParams) BindRequest ¶
func (o *UpdateMovingExpenseParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateMovingExpenseParams() beforehand.
type UpdateMovingExpensePreconditionFailed ¶
type UpdateMovingExpensePreconditionFailed struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateMovingExpensePreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
swagger:response updateMovingExpensePreconditionFailed
func NewUpdateMovingExpensePreconditionFailed ¶
func NewUpdateMovingExpensePreconditionFailed() *UpdateMovingExpensePreconditionFailed
NewUpdateMovingExpensePreconditionFailed creates UpdateMovingExpensePreconditionFailed with default headers values
func (*UpdateMovingExpensePreconditionFailed) SetPayload ¶
func (o *UpdateMovingExpensePreconditionFailed) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update moving expense precondition failed response
func (*UpdateMovingExpensePreconditionFailed) WithPayload ¶
func (o *UpdateMovingExpensePreconditionFailed) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpensePreconditionFailed
WithPayload adds the payload to the update moving expense precondition failed response
func (*UpdateMovingExpensePreconditionFailed) WriteResponse ¶
func (o *UpdateMovingExpensePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseURL ¶
type UpdateMovingExpenseURL struct { MovingExpenseID strfmt.UUID PpmShipmentID strfmt.UUID // contains filtered or unexported fields }
UpdateMovingExpenseURL generates an URL for the update moving expense operation
func (*UpdateMovingExpenseURL) Build ¶
func (o *UpdateMovingExpenseURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateMovingExpenseURL) BuildFull ¶
func (o *UpdateMovingExpenseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateMovingExpenseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateMovingExpenseURL) SetBasePath ¶
func (o *UpdateMovingExpenseURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateMovingExpenseURL) String ¶
func (o *UpdateMovingExpenseURL) String() string
String returns the string representation of the path with query string
func (*UpdateMovingExpenseURL) StringFull ¶
func (o *UpdateMovingExpenseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateMovingExpenseURL) WithBasePath ¶
func (o *UpdateMovingExpenseURL) WithBasePath(bp string) *UpdateMovingExpenseURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateMovingExpenseUnauthorized ¶
type UpdateMovingExpenseUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
UpdateMovingExpenseUnauthorized The request was denied.
swagger:response updateMovingExpenseUnauthorized
func NewUpdateMovingExpenseUnauthorized ¶
func NewUpdateMovingExpenseUnauthorized() *UpdateMovingExpenseUnauthorized
NewUpdateMovingExpenseUnauthorized creates UpdateMovingExpenseUnauthorized with default headers values
func (*UpdateMovingExpenseUnauthorized) SetPayload ¶
func (o *UpdateMovingExpenseUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update moving expense unauthorized response
func (*UpdateMovingExpenseUnauthorized) WithPayload ¶
func (o *UpdateMovingExpenseUnauthorized) WithPayload(payload *internalmessages.ClientError) *UpdateMovingExpenseUnauthorized
WithPayload adds the payload to the update moving expense unauthorized response
func (*UpdateMovingExpenseUnauthorized) WriteResponse ¶
func (o *UpdateMovingExpenseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateMovingExpenseUnprocessableEntity ¶
type UpdateMovingExpenseUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
UpdateMovingExpenseUnprocessableEntity The payload was unprocessable.
swagger:response updateMovingExpenseUnprocessableEntity
func NewUpdateMovingExpenseUnprocessableEntity ¶
func NewUpdateMovingExpenseUnprocessableEntity() *UpdateMovingExpenseUnprocessableEntity
NewUpdateMovingExpenseUnprocessableEntity creates UpdateMovingExpenseUnprocessableEntity with default headers values
func (*UpdateMovingExpenseUnprocessableEntity) SetPayload ¶
func (o *UpdateMovingExpenseUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the update moving expense unprocessable entity response
func (*UpdateMovingExpenseUnprocessableEntity) WithPayload ¶
func (o *UpdateMovingExpenseUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *UpdateMovingExpenseUnprocessableEntity
WithPayload adds the payload to the update moving expense unprocessable entity response
func (*UpdateMovingExpenseUnprocessableEntity) WriteResponse ¶
func (o *UpdateMovingExpenseUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicket ¶
type UpdateProGearWeightTicket struct { Context *middleware.Context Handler UpdateProGearWeightTicketHandler }
UpdateProGearWeightTicket swagger:route PATCH /ppm-shipments/{ppmShipmentId}/pro-gear-weight-tickets/{proGearWeightTicketId} ppm updateProGearWeightTicket
Updates a pro-gear weight ticket ¶
Updates a PPM shipment's pro-gear weight ticket with new information. Only some of the fields are editable because some have to be set by the customer, e.g. the description.
func NewUpdateProGearWeightTicket ¶
func NewUpdateProGearWeightTicket(ctx *middleware.Context, handler UpdateProGearWeightTicketHandler) *UpdateProGearWeightTicket
NewUpdateProGearWeightTicket creates a new http.Handler for the update pro gear weight ticket operation
func (*UpdateProGearWeightTicket) ServeHTTP ¶
func (o *UpdateProGearWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateProGearWeightTicketBadRequest ¶
type UpdateProGearWeightTicketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateProGearWeightTicketBadRequest The request payload is invalid.
swagger:response updateProGearWeightTicketBadRequest
func NewUpdateProGearWeightTicketBadRequest ¶
func NewUpdateProGearWeightTicketBadRequest() *UpdateProGearWeightTicketBadRequest
NewUpdateProGearWeightTicketBadRequest creates UpdateProGearWeightTicketBadRequest with default headers values
func (*UpdateProGearWeightTicketBadRequest) SetPayload ¶
func (o *UpdateProGearWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update pro gear weight ticket bad request response
func (*UpdateProGearWeightTicketBadRequest) WithPayload ¶
func (o *UpdateProGearWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketBadRequest
WithPayload adds the payload to the update pro gear weight ticket bad request response
func (*UpdateProGearWeightTicketBadRequest) WriteResponse ¶
func (o *UpdateProGearWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketForbidden ¶
type UpdateProGearWeightTicketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateProGearWeightTicketForbidden The request was denied.
swagger:response updateProGearWeightTicketForbidden
func NewUpdateProGearWeightTicketForbidden ¶
func NewUpdateProGearWeightTicketForbidden() *UpdateProGearWeightTicketForbidden
NewUpdateProGearWeightTicketForbidden creates UpdateProGearWeightTicketForbidden with default headers values
func (*UpdateProGearWeightTicketForbidden) SetPayload ¶
func (o *UpdateProGearWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update pro gear weight ticket forbidden response
func (*UpdateProGearWeightTicketForbidden) WithPayload ¶
func (o *UpdateProGearWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketForbidden
WithPayload adds the payload to the update pro gear weight ticket forbidden response
func (*UpdateProGearWeightTicketForbidden) WriteResponse ¶
func (o *UpdateProGearWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketHandler ¶
type UpdateProGearWeightTicketHandler interface {
Handle(UpdateProGearWeightTicketParams) middleware.Responder
}
UpdateProGearWeightTicketHandler interface for that can handle valid update pro gear weight ticket params
type UpdateProGearWeightTicketHandlerFunc ¶
type UpdateProGearWeightTicketHandlerFunc func(UpdateProGearWeightTicketParams) middleware.Responder
UpdateProGearWeightTicketHandlerFunc turns a function with the right signature into a update pro gear weight ticket handler
func (UpdateProGearWeightTicketHandlerFunc) Handle ¶
func (fn UpdateProGearWeightTicketHandlerFunc) Handle(params UpdateProGearWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type UpdateProGearWeightTicketInternalServerError ¶
type UpdateProGearWeightTicketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
UpdateProGearWeightTicketInternalServerError A server error occurred.
swagger:response updateProGearWeightTicketInternalServerError
func NewUpdateProGearWeightTicketInternalServerError ¶
func NewUpdateProGearWeightTicketInternalServerError() *UpdateProGearWeightTicketInternalServerError
NewUpdateProGearWeightTicketInternalServerError creates UpdateProGearWeightTicketInternalServerError with default headers values
func (*UpdateProGearWeightTicketInternalServerError) SetPayload ¶
func (o *UpdateProGearWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the update pro gear weight ticket internal server error response
func (*UpdateProGearWeightTicketInternalServerError) WithPayload ¶
func (o *UpdateProGearWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *UpdateProGearWeightTicketInternalServerError
WithPayload adds the payload to the update pro gear weight ticket internal server error response
func (*UpdateProGearWeightTicketInternalServerError) WriteResponse ¶
func (o *UpdateProGearWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketNotFound ¶
type UpdateProGearWeightTicketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateProGearWeightTicketNotFound The requested resource wasn't found.
swagger:response updateProGearWeightTicketNotFound
func NewUpdateProGearWeightTicketNotFound ¶
func NewUpdateProGearWeightTicketNotFound() *UpdateProGearWeightTicketNotFound
NewUpdateProGearWeightTicketNotFound creates UpdateProGearWeightTicketNotFound with default headers values
func (*UpdateProGearWeightTicketNotFound) SetPayload ¶
func (o *UpdateProGearWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update pro gear weight ticket not found response
func (*UpdateProGearWeightTicketNotFound) WithPayload ¶
func (o *UpdateProGearWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketNotFound
WithPayload adds the payload to the update pro gear weight ticket not found response
func (*UpdateProGearWeightTicketNotFound) WriteResponse ¶
func (o *UpdateProGearWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketOK ¶
type UpdateProGearWeightTicketOK struct { /* In: Body */ Payload *internalmessages.ProGearWeightTicket `json:"body,omitempty"` }
UpdateProGearWeightTicketOK returns an updated pro-gear weight ticket object
swagger:response updateProGearWeightTicketOK
func NewUpdateProGearWeightTicketOK ¶
func NewUpdateProGearWeightTicketOK() *UpdateProGearWeightTicketOK
NewUpdateProGearWeightTicketOK creates UpdateProGearWeightTicketOK with default headers values
func (*UpdateProGearWeightTicketOK) SetPayload ¶
func (o *UpdateProGearWeightTicketOK) SetPayload(payload *internalmessages.ProGearWeightTicket)
SetPayload sets the payload to the update pro gear weight ticket o k response
func (*UpdateProGearWeightTicketOK) WithPayload ¶
func (o *UpdateProGearWeightTicketOK) WithPayload(payload *internalmessages.ProGearWeightTicket) *UpdateProGearWeightTicketOK
WithPayload adds the payload to the update pro gear weight ticket o k response
func (*UpdateProGearWeightTicketOK) WriteResponse ¶
func (o *UpdateProGearWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketParams ¶
type UpdateProGearWeightTicketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /*UUID of the pro-gear weight ticket Required: true In: path */ ProGearWeightTicketID strfmt.UUID /* Required: true In: body */ UpdateProGearWeightTicket *internalmessages.UpdateProGearWeightTicket }
UpdateProGearWeightTicketParams contains all the bound params for the update pro gear weight ticket operation typically these are obtained from a http.Request
swagger:parameters updateProGearWeightTicket
func NewUpdateProGearWeightTicketParams ¶
func NewUpdateProGearWeightTicketParams() UpdateProGearWeightTicketParams
NewUpdateProGearWeightTicketParams creates a new UpdateProGearWeightTicketParams object
There are no default values defined in the spec.
func (*UpdateProGearWeightTicketParams) BindRequest ¶
func (o *UpdateProGearWeightTicketParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateProGearWeightTicketParams() beforehand.
type UpdateProGearWeightTicketPreconditionFailed ¶
type UpdateProGearWeightTicketPreconditionFailed struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateProGearWeightTicketPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
swagger:response updateProGearWeightTicketPreconditionFailed
func NewUpdateProGearWeightTicketPreconditionFailed ¶
func NewUpdateProGearWeightTicketPreconditionFailed() *UpdateProGearWeightTicketPreconditionFailed
NewUpdateProGearWeightTicketPreconditionFailed creates UpdateProGearWeightTicketPreconditionFailed with default headers values
func (*UpdateProGearWeightTicketPreconditionFailed) SetPayload ¶
func (o *UpdateProGearWeightTicketPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update pro gear weight ticket precondition failed response
func (*UpdateProGearWeightTicketPreconditionFailed) WithPayload ¶
func (o *UpdateProGearWeightTicketPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketPreconditionFailed
WithPayload adds the payload to the update pro gear weight ticket precondition failed response
func (*UpdateProGearWeightTicketPreconditionFailed) WriteResponse ¶
func (o *UpdateProGearWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketURL ¶
type UpdateProGearWeightTicketURL struct { PpmShipmentID strfmt.UUID ProGearWeightTicketID strfmt.UUID // contains filtered or unexported fields }
UpdateProGearWeightTicketURL generates an URL for the update pro gear weight ticket operation
func (*UpdateProGearWeightTicketURL) Build ¶
func (o *UpdateProGearWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateProGearWeightTicketURL) BuildFull ¶
func (o *UpdateProGearWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateProGearWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateProGearWeightTicketURL) SetBasePath ¶
func (o *UpdateProGearWeightTicketURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateProGearWeightTicketURL) String ¶
func (o *UpdateProGearWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*UpdateProGearWeightTicketURL) StringFull ¶
func (o *UpdateProGearWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateProGearWeightTicketURL) WithBasePath ¶
func (o *UpdateProGearWeightTicketURL) WithBasePath(bp string) *UpdateProGearWeightTicketURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateProGearWeightTicketUnauthorized ¶
type UpdateProGearWeightTicketUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
UpdateProGearWeightTicketUnauthorized The request was denied.
swagger:response updateProGearWeightTicketUnauthorized
func NewUpdateProGearWeightTicketUnauthorized ¶
func NewUpdateProGearWeightTicketUnauthorized() *UpdateProGearWeightTicketUnauthorized
NewUpdateProGearWeightTicketUnauthorized creates UpdateProGearWeightTicketUnauthorized with default headers values
func (*UpdateProGearWeightTicketUnauthorized) SetPayload ¶
func (o *UpdateProGearWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update pro gear weight ticket unauthorized response
func (*UpdateProGearWeightTicketUnauthorized) WithPayload ¶
func (o *UpdateProGearWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *UpdateProGearWeightTicketUnauthorized
WithPayload adds the payload to the update pro gear weight ticket unauthorized response
func (*UpdateProGearWeightTicketUnauthorized) WriteResponse ¶
func (o *UpdateProGearWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProGearWeightTicketUnprocessableEntity ¶
type UpdateProGearWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
UpdateProGearWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response updateProGearWeightTicketUnprocessableEntity
func NewUpdateProGearWeightTicketUnprocessableEntity ¶
func NewUpdateProGearWeightTicketUnprocessableEntity() *UpdateProGearWeightTicketUnprocessableEntity
NewUpdateProGearWeightTicketUnprocessableEntity creates UpdateProGearWeightTicketUnprocessableEntity with default headers values
func (*UpdateProGearWeightTicketUnprocessableEntity) SetPayload ¶
func (o *UpdateProGearWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the update pro gear weight ticket unprocessable entity response
func (*UpdateProGearWeightTicketUnprocessableEntity) WithPayload ¶
func (o *UpdateProGearWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *UpdateProGearWeightTicketUnprocessableEntity
WithPayload adds the payload to the update pro gear weight ticket unprocessable entity response
func (*UpdateProGearWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *UpdateProGearWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicket ¶
type UpdateWeightTicket struct { Context *middleware.Context Handler UpdateWeightTicketHandler }
UpdateWeightTicket swagger:route PATCH /ppm-shipments/{ppmShipmentId}/weight-ticket/{weightTicketId} ppm updateWeightTicket
Updates a weight ticket document ¶
Updates a weight ticket document with the new information
func NewUpdateWeightTicket ¶
func NewUpdateWeightTicket(ctx *middleware.Context, handler UpdateWeightTicketHandler) *UpdateWeightTicket
NewUpdateWeightTicket creates a new http.Handler for the update weight ticket operation
func (*UpdateWeightTicket) ServeHTTP ¶
func (o *UpdateWeightTicket) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateWeightTicketBadRequest ¶
type UpdateWeightTicketBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateWeightTicketBadRequest The request payload is invalid.
swagger:response updateWeightTicketBadRequest
func NewUpdateWeightTicketBadRequest ¶
func NewUpdateWeightTicketBadRequest() *UpdateWeightTicketBadRequest
NewUpdateWeightTicketBadRequest creates UpdateWeightTicketBadRequest with default headers values
func (*UpdateWeightTicketBadRequest) SetPayload ¶
func (o *UpdateWeightTicketBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update weight ticket bad request response
func (*UpdateWeightTicketBadRequest) WithPayload ¶
func (o *UpdateWeightTicketBadRequest) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketBadRequest
WithPayload adds the payload to the update weight ticket bad request response
func (*UpdateWeightTicketBadRequest) WriteResponse ¶
func (o *UpdateWeightTicketBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketForbidden ¶
type UpdateWeightTicketForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateWeightTicketForbidden The request was denied.
swagger:response updateWeightTicketForbidden
func NewUpdateWeightTicketForbidden ¶
func NewUpdateWeightTicketForbidden() *UpdateWeightTicketForbidden
NewUpdateWeightTicketForbidden creates UpdateWeightTicketForbidden with default headers values
func (*UpdateWeightTicketForbidden) SetPayload ¶
func (o *UpdateWeightTicketForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update weight ticket forbidden response
func (*UpdateWeightTicketForbidden) WithPayload ¶
func (o *UpdateWeightTicketForbidden) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketForbidden
WithPayload adds the payload to the update weight ticket forbidden response
func (*UpdateWeightTicketForbidden) WriteResponse ¶
func (o *UpdateWeightTicketForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketHandler ¶
type UpdateWeightTicketHandler interface {
Handle(UpdateWeightTicketParams) middleware.Responder
}
UpdateWeightTicketHandler interface for that can handle valid update weight ticket params
type UpdateWeightTicketHandlerFunc ¶
type UpdateWeightTicketHandlerFunc func(UpdateWeightTicketParams) middleware.Responder
UpdateWeightTicketHandlerFunc turns a function with the right signature into a update weight ticket handler
func (UpdateWeightTicketHandlerFunc) Handle ¶
func (fn UpdateWeightTicketHandlerFunc) Handle(params UpdateWeightTicketParams) middleware.Responder
Handle executing the request and returning a response
type UpdateWeightTicketInternalServerError ¶
type UpdateWeightTicketInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
UpdateWeightTicketInternalServerError A server error occurred.
swagger:response updateWeightTicketInternalServerError
func NewUpdateWeightTicketInternalServerError ¶
func NewUpdateWeightTicketInternalServerError() *UpdateWeightTicketInternalServerError
NewUpdateWeightTicketInternalServerError creates UpdateWeightTicketInternalServerError with default headers values
func (*UpdateWeightTicketInternalServerError) SetPayload ¶
func (o *UpdateWeightTicketInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the update weight ticket internal server error response
func (*UpdateWeightTicketInternalServerError) WithPayload ¶
func (o *UpdateWeightTicketInternalServerError) WithPayload(payload *internalmessages.Error) *UpdateWeightTicketInternalServerError
WithPayload adds the payload to the update weight ticket internal server error response
func (*UpdateWeightTicketInternalServerError) WriteResponse ¶
func (o *UpdateWeightTicketInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketNotFound ¶
type UpdateWeightTicketNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateWeightTicketNotFound The requested resource wasn't found.
swagger:response updateWeightTicketNotFound
func NewUpdateWeightTicketNotFound ¶
func NewUpdateWeightTicketNotFound() *UpdateWeightTicketNotFound
NewUpdateWeightTicketNotFound creates UpdateWeightTicketNotFound with default headers values
func (*UpdateWeightTicketNotFound) SetPayload ¶
func (o *UpdateWeightTicketNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update weight ticket not found response
func (*UpdateWeightTicketNotFound) WithPayload ¶
func (o *UpdateWeightTicketNotFound) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketNotFound
WithPayload adds the payload to the update weight ticket not found response
func (*UpdateWeightTicketNotFound) WriteResponse ¶
func (o *UpdateWeightTicketNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketOK ¶
type UpdateWeightTicketOK struct { /* In: Body */ Payload *internalmessages.WeightTicket `json:"body,omitempty"` }
UpdateWeightTicketOK returns an updated weight ticket object
swagger:response updateWeightTicketOK
func NewUpdateWeightTicketOK ¶
func NewUpdateWeightTicketOK() *UpdateWeightTicketOK
NewUpdateWeightTicketOK creates UpdateWeightTicketOK with default headers values
func (*UpdateWeightTicketOK) SetPayload ¶
func (o *UpdateWeightTicketOK) SetPayload(payload *internalmessages.WeightTicket)
SetPayload sets the payload to the update weight ticket o k response
func (*UpdateWeightTicketOK) WithPayload ¶
func (o *UpdateWeightTicketOK) WithPayload(payload *internalmessages.WeightTicket) *UpdateWeightTicketOK
WithPayload adds the payload to the update weight ticket o k response
func (*UpdateWeightTicketOK) WriteResponse ¶
func (o *UpdateWeightTicketOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketParams ¶
type UpdateWeightTicketParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. Required: true In: header */ IfMatch string /*UUID of the PPM shipment Required: true In: path */ PpmShipmentID strfmt.UUID /* Required: true In: body */ UpdateWeightTicketPayload *internalmessages.UpdateWeightTicket /*UUID of the weight ticket Required: true In: path */ WeightTicketID strfmt.UUID }
UpdateWeightTicketParams contains all the bound params for the update weight ticket operation typically these are obtained from a http.Request
swagger:parameters updateWeightTicket
func NewUpdateWeightTicketParams ¶
func NewUpdateWeightTicketParams() UpdateWeightTicketParams
NewUpdateWeightTicketParams creates a new UpdateWeightTicketParams object
There are no default values defined in the spec.
func (*UpdateWeightTicketParams) BindRequest ¶
func (o *UpdateWeightTicketParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateWeightTicketParams() beforehand.
type UpdateWeightTicketPreconditionFailed ¶
type UpdateWeightTicketPreconditionFailed struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
UpdateWeightTicketPreconditionFailed Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
swagger:response updateWeightTicketPreconditionFailed
func NewUpdateWeightTicketPreconditionFailed ¶
func NewUpdateWeightTicketPreconditionFailed() *UpdateWeightTicketPreconditionFailed
NewUpdateWeightTicketPreconditionFailed creates UpdateWeightTicketPreconditionFailed with default headers values
func (*UpdateWeightTicketPreconditionFailed) SetPayload ¶
func (o *UpdateWeightTicketPreconditionFailed) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update weight ticket precondition failed response
func (*UpdateWeightTicketPreconditionFailed) WithPayload ¶
func (o *UpdateWeightTicketPreconditionFailed) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketPreconditionFailed
WithPayload adds the payload to the update weight ticket precondition failed response
func (*UpdateWeightTicketPreconditionFailed) WriteResponse ¶
func (o *UpdateWeightTicketPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketURL ¶
type UpdateWeightTicketURL struct { PpmShipmentID strfmt.UUID WeightTicketID strfmt.UUID // contains filtered or unexported fields }
UpdateWeightTicketURL generates an URL for the update weight ticket operation
func (*UpdateWeightTicketURL) Build ¶
func (o *UpdateWeightTicketURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateWeightTicketURL) BuildFull ¶
func (o *UpdateWeightTicketURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateWeightTicketURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateWeightTicketURL) SetBasePath ¶
func (o *UpdateWeightTicketURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateWeightTicketURL) String ¶
func (o *UpdateWeightTicketURL) String() string
String returns the string representation of the path with query string
func (*UpdateWeightTicketURL) StringFull ¶
func (o *UpdateWeightTicketURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateWeightTicketURL) WithBasePath ¶
func (o *UpdateWeightTicketURL) WithBasePath(bp string) *UpdateWeightTicketURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateWeightTicketUnauthorized ¶
type UpdateWeightTicketUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
UpdateWeightTicketUnauthorized The request was denied.
swagger:response updateWeightTicketUnauthorized
func NewUpdateWeightTicketUnauthorized ¶
func NewUpdateWeightTicketUnauthorized() *UpdateWeightTicketUnauthorized
NewUpdateWeightTicketUnauthorized creates UpdateWeightTicketUnauthorized with default headers values
func (*UpdateWeightTicketUnauthorized) SetPayload ¶
func (o *UpdateWeightTicketUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the update weight ticket unauthorized response
func (*UpdateWeightTicketUnauthorized) WithPayload ¶
func (o *UpdateWeightTicketUnauthorized) WithPayload(payload *internalmessages.ClientError) *UpdateWeightTicketUnauthorized
WithPayload adds the payload to the update weight ticket unauthorized response
func (*UpdateWeightTicketUnauthorized) WriteResponse ¶
func (o *UpdateWeightTicketUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateWeightTicketUnprocessableEntity ¶
type UpdateWeightTicketUnprocessableEntity struct { /* In: Body */ Payload *internalmessages.ValidationError `json:"body,omitempty"` }
UpdateWeightTicketUnprocessableEntity The payload was unprocessable.
swagger:response updateWeightTicketUnprocessableEntity
func NewUpdateWeightTicketUnprocessableEntity ¶
func NewUpdateWeightTicketUnprocessableEntity() *UpdateWeightTicketUnprocessableEntity
NewUpdateWeightTicketUnprocessableEntity creates UpdateWeightTicketUnprocessableEntity with default headers values
func (*UpdateWeightTicketUnprocessableEntity) SetPayload ¶
func (o *UpdateWeightTicketUnprocessableEntity) SetPayload(payload *internalmessages.ValidationError)
SetPayload sets the payload to the update weight ticket unprocessable entity response
func (*UpdateWeightTicketUnprocessableEntity) WithPayload ¶
func (o *UpdateWeightTicketUnprocessableEntity) WithPayload(payload *internalmessages.ValidationError) *UpdateWeightTicketUnprocessableEntity
WithPayload adds the payload to the update weight ticket unprocessable entity response
func (*UpdateWeightTicketUnprocessableEntity) WriteResponse ¶
func (o *UpdateWeightTicketUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_moving_expense.go
- create_moving_expense_parameters.go
- create_moving_expense_responses.go
- create_moving_expense_urlbuilder.go
- create_p_p_m_upload.go
- create_p_p_m_upload_parameters.go
- create_p_p_m_upload_responses.go
- create_p_p_m_upload_urlbuilder.go
- create_pro_gear_weight_ticket.go
- create_pro_gear_weight_ticket_parameters.go
- create_pro_gear_weight_ticket_responses.go
- create_pro_gear_weight_ticket_urlbuilder.go
- create_weight_ticket.go
- create_weight_ticket_parameters.go
- create_weight_ticket_responses.go
- create_weight_ticket_urlbuilder.go
- delete_moving_expense.go
- delete_moving_expense_parameters.go
- delete_moving_expense_responses.go
- delete_moving_expense_urlbuilder.go
- delete_pro_gear_weight_ticket.go
- delete_pro_gear_weight_ticket_parameters.go
- delete_pro_gear_weight_ticket_responses.go
- delete_pro_gear_weight_ticket_urlbuilder.go
- delete_weight_ticket.go
- delete_weight_ticket_parameters.go
- delete_weight_ticket_responses.go
- delete_weight_ticket_urlbuilder.go
- resubmit_p_p_m_shipment_documentation.go
- resubmit_p_p_m_shipment_documentation_parameters.go
- resubmit_p_p_m_shipment_documentation_responses.go
- resubmit_p_p_m_shipment_documentation_urlbuilder.go
- show_a_o_a_packet.go
- show_a_o_a_packet_parameters.go
- show_a_o_a_packet_responses.go
- show_a_o_a_packet_urlbuilder.go
- show_payment_packet.go
- show_payment_packet_parameters.go
- show_payment_packet_responses.go
- show_payment_packet_urlbuilder.go
- submit_p_p_m_shipment_documentation.go
- submit_p_p_m_shipment_documentation_parameters.go
- submit_p_p_m_shipment_documentation_responses.go
- submit_p_p_m_shipment_documentation_urlbuilder.go
- update_moving_expense.go
- update_moving_expense_parameters.go
- update_moving_expense_responses.go
- update_moving_expense_urlbuilder.go
- update_pro_gear_weight_ticket.go
- update_pro_gear_weight_ticket_parameters.go
- update_pro_gear_weight_ticket_responses.go
- update_pro_gear_weight_ticket_urlbuilder.go
- update_weight_ticket.go
- update_weight_ticket_parameters.go
- update_weight_ticket_responses.go
- update_weight_ticket_urlbuilder.go