Documentation ¶
Index ¶
- func Address(address *models.Address) *internalmessages.Address
- func AddressModel(address *internalmessages.Address) *models.Address
- func BoatShipment(storer storage.FileStorer, boatShipment *models.BoatShipment) *internalmessages.BoatShipment
- func BoatShipmentModelFromCreate(boatShipment *internalmessages.CreateBoatShipment) *models.BoatShipment
- func ClientError(title string, detail string, instance uuid.UUID) *internalmessages.ClientError
- func CounselingOffices(counselingOffices models.TransportationOffices) internalmessages.CounselingOffices
- func InternalServerError(detail *string, traceID uuid.UUID) *internalmessages.Error
- func MTOAgent(mtoAgent *models.MTOAgent) *internalmessages.MTOAgent
- func MTOAgentModel(mtoAgent *internalmessages.MTOAgent) *models.MTOAgent
- func MTOAgents(mtoAgents *models.MTOAgents) *internalmessages.MTOAgents
- func MTOAgentsModel(mtoAgents *internalmessages.MTOAgents) *models.MTOAgents
- func MTOShipment(storer storage.FileStorer, mtoShipment *models.MTOShipment) *internalmessages.MTOShipment
- func MTOShipmentModel(mtoShipment *internalmessages.MTOShipment) *models.MTOShipment
- func MTOShipmentModelFromCreate(mtoShipment *internalmessages.CreateShipment) *models.MTOShipment
- func MTOShipmentModelFromUpdate(mtoShipment *internalmessages.UpdateShipment) *models.MTOShipment
- func MTOShipments(storer storage.FileStorer, mtoShipments *models.MTOShipments) *internalmessages.MTOShipments
- func MobileHomeShipment(storer storage.FileStorer, mobileHomeShipment *models.MobileHome) *internalmessages.MobileHome
- func MobileHomeShipmentModelFromCreate(mobileHomeShipment *internalmessages.CreateMobileHomeShipment) *models.MobileHome
- func MovingExpense(storer storage.FileStorer, movingExpense *models.MovingExpense) *internalmessages.MovingExpense
- func MovingExpenseModelFromUpdate(movingExpense *internalmessages.UpdateMovingExpense) *models.MovingExpense
- func MovingExpenses(storer storage.FileStorer, movingExpenses models.MovingExpenses) []*internalmessages.MovingExpense
- func OfficeUser(officeUser *models.OfficeUser) *internalmessages.OfficeUser
- func PPMShipment(storer storage.FileStorer, ppmShipment *models.PPMShipment) *internalmessages.PPMShipment
- func PPMShipmentModelFromCreate(ppmShipment *internalmessages.CreatePPMShipment) *models.PPMShipment
- func PayloadForDocumentModel(storer storage.FileStorer, document models.Document) (*internalmessages.Document, error)
- func PayloadForUploadModel(storer storage.FileStorer, upload models.Upload, url string) *internalmessages.Upload
- func ProGearWeightTicket(storer storage.FileStorer, progear *models.ProgearWeightTicket) *internalmessages.ProGearWeightTicket
- func ProGearWeightTickets(storer storage.FileStorer, proGearWeightTickets models.ProgearWeightTickets) []*internalmessages.ProGearWeightTicket
- func ProgearWeightTicketModelFromUpdate(progearWeightTicket *internalmessages.UpdateProGearWeightTicket) *models.ProgearWeightTicket
- func ReSavePPMShipmentSignedCertification(ppmShipmentID uuid.UUID, signedCertificationID uuid.UUID, ...) models.SignedCertification
- func SavePPMShipmentSignedCertification(ppmShipmentID uuid.UUID, ...) models.SignedCertification
- func SignedCertification(signedCertification *models.SignedCertification) *internalmessages.SignedCertification
- func SignedCertificationFromSubmit(payload *internalmessages.SubmitMoveForApprovalPayload, userID uuid.UUID, ...) *models.SignedCertification
- func TransportationOffice(office models.TransportationOffice) *internalmessages.TransportationOffice
- func TransportationOffices(transportationOffices models.TransportationOffices) internalmessages.TransportationOffices
- func UpdateBoatShipmentModel(boatShipment *internalmessages.UpdateBoatShipment) *models.BoatShipment
- func UpdateMobileHomeShipmentModel(mobileHomeShipment *internalmessages.UpdateMobileHomeShipment) *models.MobileHome
- func UpdatePPMShipmentModel(ppmShipment *internalmessages.UpdatePPMShipment) *models.PPMShipment
- func ValidationError(detail string, instance uuid.UUID, validationErrors *validate.Errors) *internalmessages.ValidationError
- func WeightTicket(storer storage.FileStorer, weightTicket *models.WeightTicket) *internalmessages.WeightTicket
- func WeightTicketModelFromUpdate(weightTicket *internalmessages.UpdateWeightTicket) *models.WeightTicket
- func WeightTickets(storer storage.FileStorer, weightTickets models.WeightTickets) []*internalmessages.WeightTicket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressModel ¶
func AddressModel(address *internalmessages.Address) *models.Address
AddressModel model
func BoatShipment ¶
func BoatShipment(storer storage.FileStorer, boatShipment *models.BoatShipment) *internalmessages.BoatShipment
BoatShipment payload
func BoatShipmentModelFromCreate ¶
func BoatShipmentModelFromCreate(boatShipment *internalmessages.CreateBoatShipment) *models.BoatShipment
BoatShipmentModelFromCreate model
func ClientError ¶
func ClientError(title string, detail string, instance uuid.UUID) *internalmessages.ClientError
ClientError describes errors in a standard structure to be returned in the payload
func CounselingOffices ¶
func CounselingOffices(counselingOffices models.TransportationOffices) internalmessages.CounselingOffices
func InternalServerError ¶
func InternalServerError(detail *string, traceID uuid.UUID) *internalmessages.Error
InternalServerError describes errors in a standard structure to be returned in the payload. If detail is nil, string defaults to "An internal server error has occurred."
func MTOAgent ¶
func MTOAgent(mtoAgent *models.MTOAgent) *internalmessages.MTOAgent
MTOAgent payload
func MTOAgentModel ¶
func MTOAgentModel(mtoAgent *internalmessages.MTOAgent) *models.MTOAgent
MTOAgentModel model
func MTOAgents ¶
func MTOAgents(mtoAgents *models.MTOAgents) *internalmessages.MTOAgents
MTOAgents payload
func MTOAgentsModel ¶
func MTOAgentsModel(mtoAgents *internalmessages.MTOAgents) *models.MTOAgents
MTOAgentsModel model
func MTOShipment ¶
func MTOShipment(storer storage.FileStorer, mtoShipment *models.MTOShipment) *internalmessages.MTOShipment
MTOShipment payload
func MTOShipmentModel ¶
func MTOShipmentModel(mtoShipment *internalmessages.MTOShipment) *models.MTOShipment
MTOShipmentModel model
func MTOShipmentModelFromCreate ¶
func MTOShipmentModelFromCreate(mtoShipment *internalmessages.CreateShipment) *models.MTOShipment
MTOShipmentModelFromCreate model
func MTOShipmentModelFromUpdate ¶
func MTOShipmentModelFromUpdate(mtoShipment *internalmessages.UpdateShipment) *models.MTOShipment
MTOShipmentModelFromUpdate model
func MTOShipments ¶
func MTOShipments(storer storage.FileStorer, mtoShipments *models.MTOShipments) *internalmessages.MTOShipments
MTOShipments payload
func MobileHomeShipment ¶
func MobileHomeShipment(storer storage.FileStorer, mobileHomeShipment *models.MobileHome) *internalmessages.MobileHome
MobileHomeShipment payload
func MobileHomeShipmentModelFromCreate ¶
func MobileHomeShipmentModelFromCreate(mobileHomeShipment *internalmessages.CreateMobileHomeShipment) *models.MobileHome
MobileHomeShipmentModelFromCreate model
func MovingExpense ¶
func MovingExpense(storer storage.FileStorer, movingExpense *models.MovingExpense) *internalmessages.MovingExpense
MovingExpense payload
func MovingExpenseModelFromUpdate ¶
func MovingExpenseModelFromUpdate(movingExpense *internalmessages.UpdateMovingExpense) *models.MovingExpense
MovingExpenseModelFromUpdate
func MovingExpenses ¶
func MovingExpenses(storer storage.FileStorer, movingExpenses models.MovingExpenses) []*internalmessages.MovingExpense
func OfficeUser ¶
func OfficeUser(officeUser *models.OfficeUser) *internalmessages.OfficeUser
OfficeUser internal payload
func PPMShipment ¶
func PPMShipment(storer storage.FileStorer, ppmShipment *models.PPMShipment) *internalmessages.PPMShipment
PPMShipment payload
func PPMShipmentModelFromCreate ¶
func PPMShipmentModelFromCreate(ppmShipment *internalmessages.CreatePPMShipment) *models.PPMShipment
PPMShipmentModelFromCreate model
func PayloadForDocumentModel ¶
func PayloadForDocumentModel(storer storage.FileStorer, document models.Document) (*internalmessages.Document, error)
func PayloadForUploadModel ¶
func PayloadForUploadModel( storer storage.FileStorer, upload models.Upload, url string, ) *internalmessages.Upload
func ProGearWeightTicket ¶
func ProGearWeightTicket(storer storage.FileStorer, progear *models.ProgearWeightTicket) *internalmessages.ProGearWeightTicket
ProGearWeightTicket payload
func ProGearWeightTickets ¶
func ProGearWeightTickets(storer storage.FileStorer, proGearWeightTickets models.ProgearWeightTickets) []*internalmessages.ProGearWeightTicket
ProGearWeightTickets sets up a ProGearWeightTicket slice for the api using model data.
func ProgearWeightTicketModelFromUpdate ¶
func ProgearWeightTicketModelFromUpdate(progearWeightTicket *internalmessages.UpdateProGearWeightTicket) *models.ProgearWeightTicket
ProgearWeightTicketModelFromUpdate
func ReSavePPMShipmentSignedCertification ¶
func ReSavePPMShipmentSignedCertification(ppmShipmentID uuid.UUID, signedCertificationID uuid.UUID, signedCertification internalmessages.SavePPMShipmentSignedCertification) models.SignedCertification
ReSavePPMShipmentSignedCertification converts from the SavePPMShipmentSignedCertification payload and the SignedCertification model, taking into account an existing ID
func SavePPMShipmentSignedCertification ¶
func SavePPMShipmentSignedCertification(ppmShipmentID uuid.UUID, signedCertification internalmessages.SavePPMShipmentSignedCertification) models.SignedCertification
SavePPMShipmentSignedCertification converts from the SavePPMShipmentSignedCertification payload and the SignedCertification model
func SignedCertification ¶
func SignedCertification(signedCertification *models.SignedCertification) *internalmessages.SignedCertification
SignedCertification converts a model to the api payload type
func SignedCertificationFromSubmit ¶
func SignedCertificationFromSubmit(payload *internalmessages.SubmitMoveForApprovalPayload, userID uuid.UUID, moveID strfmt.UUID) *models.SignedCertification
SignedCertificationFromSubmit
func TransportationOffice ¶
func TransportationOffice(office models.TransportationOffice) *internalmessages.TransportationOffice
TransportationOffice internal payload
func TransportationOffices ¶
func TransportationOffices(transportationOffices models.TransportationOffices) internalmessages.TransportationOffices
func UpdateBoatShipmentModel ¶
func UpdateBoatShipmentModel(boatShipment *internalmessages.UpdateBoatShipment) *models.BoatShipment
func UpdateMobileHomeShipmentModel ¶
func UpdateMobileHomeShipmentModel(mobileHomeShipment *internalmessages.UpdateMobileHomeShipment) *models.MobileHome
func UpdatePPMShipmentModel ¶
func UpdatePPMShipmentModel(ppmShipment *internalmessages.UpdatePPMShipment) *models.PPMShipment
func ValidationError ¶
func ValidationError(detail string, instance uuid.UUID, validationErrors *validate.Errors) *internalmessages.ValidationError
ValidationError describes validation errors from the model or properties
func WeightTicket ¶
func WeightTicket(storer storage.FileStorer, weightTicket *models.WeightTicket) *internalmessages.WeightTicket
WeightTicket payload
func WeightTicketModelFromUpdate ¶
func WeightTicketModelFromUpdate(weightTicket *internalmessages.UpdateWeightTicket) *models.WeightTicket
WeightTicketModelFromUpdate
func WeightTickets ¶
func WeightTickets(storer storage.FileStorer, weightTickets models.WeightTickets) []*internalmessages.WeightTicket
Types ¶
This section is empty.