Documentation ¶
Index ¶
- Constants
- type Address
- type Affiliation
- type ClientError
- type Crate
- type DimensionType
- type MTOServiceItemDimension
- func (m *MTOServiceItemDimension) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOServiceItemDimension) MarshalBinary() ([]byte, error)
- func (m *MTOServiceItemDimension) UnmarshalBinary(b []byte) error
- func (m *MTOServiceItemDimension) Validate(formats strfmt.Registry) error
- type PPTASReport
- type PPTASReports
- type PPTASShipment
Constants ¶
const ( // AddressStateAL captures enum value "AL" AddressStateAL string = "AL" // AddressStateAK captures enum value "AK" AddressStateAK string = "AK" // AddressStateAR captures enum value "AR" AddressStateAR string = "AR" // AddressStateAZ captures enum value "AZ" AddressStateAZ string = "AZ" // AddressStateCA captures enum value "CA" AddressStateCA string = "CA" // AddressStateCO captures enum value "CO" AddressStateCO string = "CO" // AddressStateCT captures enum value "CT" AddressStateCT string = "CT" // AddressStateDC captures enum value "DC" AddressStateDC string = "DC" // AddressStateDE captures enum value "DE" AddressStateDE string = "DE" // AddressStateFL captures enum value "FL" AddressStateFL string = "FL" // AddressStateGA captures enum value "GA" AddressStateGA string = "GA" // AddressStateHI captures enum value "HI" AddressStateHI string = "HI" // AddressStateIA captures enum value "IA" AddressStateIA string = "IA" // AddressStateID captures enum value "ID" AddressStateID string = "ID" // AddressStateIL captures enum value "IL" AddressStateIL string = "IL" // AddressStateIN captures enum value "IN" AddressStateIN string = "IN" // AddressStateKS captures enum value "KS" AddressStateKS string = "KS" // AddressStateKY captures enum value "KY" AddressStateKY string = "KY" // AddressStateLA captures enum value "LA" AddressStateLA string = "LA" // AddressStateMA captures enum value "MA" AddressStateMA string = "MA" // AddressStateMD captures enum value "MD" AddressStateMD string = "MD" // AddressStateME captures enum value "ME" AddressStateME string = "ME" // AddressStateMI captures enum value "MI" AddressStateMI string = "MI" // AddressStateMN captures enum value "MN" AddressStateMN string = "MN" // AddressStateMO captures enum value "MO" AddressStateMO string = "MO" // AddressStateMS captures enum value "MS" AddressStateMS string = "MS" // AddressStateMT captures enum value "MT" AddressStateMT string = "MT" // AddressStateNC captures enum value "NC" AddressStateNC string = "NC" // AddressStateND captures enum value "ND" AddressStateND string = "ND" // AddressStateNE captures enum value "NE" AddressStateNE string = "NE" // AddressStateNH captures enum value "NH" AddressStateNH string = "NH" // AddressStateNJ captures enum value "NJ" AddressStateNJ string = "NJ" // AddressStateNM captures enum value "NM" AddressStateNM string = "NM" // AddressStateNV captures enum value "NV" AddressStateNV string = "NV" // AddressStateNY captures enum value "NY" AddressStateNY string = "NY" // AddressStateOH captures enum value "OH" AddressStateOH string = "OH" // AddressStateOK captures enum value "OK" AddressStateOK string = "OK" // AddressStateOR captures enum value "OR" AddressStateOR string = "OR" // AddressStatePA captures enum value "PA" AddressStatePA string = "PA" // AddressStateRI captures enum value "RI" AddressStateRI string = "RI" // AddressStateSC captures enum value "SC" AddressStateSC string = "SC" // AddressStateSD captures enum value "SD" AddressStateSD string = "SD" // AddressStateTN captures enum value "TN" AddressStateTN string = "TN" // AddressStateTX captures enum value "TX" AddressStateTX string = "TX" // AddressStateUT captures enum value "UT" AddressStateUT string = "UT" // AddressStateVA captures enum value "VA" AddressStateVA string = "VA" // AddressStateVT captures enum value "VT" AddressStateVT string = "VT" // AddressStateWA captures enum value "WA" AddressStateWA string = "WA" // AddressStateWI captures enum value "WI" AddressStateWI string = "WI" // AddressStateWV captures enum value "WV" AddressStateWV string = "WV" // AddressStateWY captures enum value "WY" AddressStateWY string = "WY" )
const ( // PPTASReportPayGradeE1 captures enum value "E_1" PPTASReportPayGradeE1 string = "E_1" // PPTASReportPayGradeE2 captures enum value "E_2" PPTASReportPayGradeE2 string = "E_2" // PPTASReportPayGradeE3 captures enum value "E_3" PPTASReportPayGradeE3 string = "E_3" // PPTASReportPayGradeE4 captures enum value "E_4" PPTASReportPayGradeE4 string = "E_4" // PPTASReportPayGradeE5 captures enum value "E_5" PPTASReportPayGradeE5 string = "E_5" // PPTASReportPayGradeE6 captures enum value "E_6" PPTASReportPayGradeE6 string = "E_6" // PPTASReportPayGradeE7 captures enum value "E_7" PPTASReportPayGradeE7 string = "E_7" // PPTASReportPayGradeE8 captures enum value "E_8" PPTASReportPayGradeE8 string = "E_8" // PPTASReportPayGradeE9 captures enum value "E_9" PPTASReportPayGradeE9 string = "E_9" // PPTASReportPayGradeE9SPECIALSENIORENLISTED captures enum value "E_9_SPECIAL_SENIOR_ENLISTED" PPTASReportPayGradeE9SPECIALSENIORENLISTED string = "E_9_SPECIAL_SENIOR_ENLISTED" // PPTASReportPayGradeO1ACADEMYGRADUATE captures enum value "O_1_ACADEMY_GRADUATE" PPTASReportPayGradeO1ACADEMYGRADUATE string = "O_1_ACADEMY_GRADUATE" // PPTASReportPayGradeO2 captures enum value "O_2" PPTASReportPayGradeO2 string = "O_2" // PPTASReportPayGradeO3 captures enum value "O_3" PPTASReportPayGradeO3 string = "O_3" // PPTASReportPayGradeO4 captures enum value "O_4" PPTASReportPayGradeO4 string = "O_4" // PPTASReportPayGradeO5 captures enum value "O_5" PPTASReportPayGradeO5 string = "O_5" // PPTASReportPayGradeO6 captures enum value "O_6" PPTASReportPayGradeO6 string = "O_6" // PPTASReportPayGradeO7 captures enum value "O_7" PPTASReportPayGradeO7 string = "O_7" // PPTASReportPayGradeO8 captures enum value "O_8" PPTASReportPayGradeO8 string = "O_8" // PPTASReportPayGradeO9 captures enum value "O_9" PPTASReportPayGradeO9 string = "O_9" // PPTASReportPayGradeO10 captures enum value "O_10" PPTASReportPayGradeO10 string = "O_10" // PPTASReportPayGradeW1 captures enum value "W_1" PPTASReportPayGradeW1 string = "W_1" // PPTASReportPayGradeW2 captures enum value "W_2" PPTASReportPayGradeW2 string = "W_2" // PPTASReportPayGradeW3 captures enum value "W_3" PPTASReportPayGradeW3 string = "W_3" // PPTASReportPayGradeW4 captures enum value "W_4" PPTASReportPayGradeW4 string = "W_4" // PPTASReportPayGradeW5 captures enum value "W_5" PPTASReportPayGradeW5 string = "W_5" // PPTASReportPayGradeAVIATIONCADET captures enum value "AVIATION_CADET" PPTASReportPayGradeAVIATIONCADET string = "AVIATION_CADET" // PPTASReportPayGradeCIVILIANEMPLOYEE captures enum value "CIVILIAN_EMPLOYEE" PPTASReportPayGradeCIVILIANEMPLOYEE string = "CIVILIAN_EMPLOYEE" // PPTASReportPayGradeACADEMYCADET captures enum value "ACADEMY_CADET" PPTASReportPayGradeACADEMYCADET string = "ACADEMY_CADET" // PPTASReportPayGradeMIDSHIPMAN captures enum value "MIDSHIPMAN" PPTASReportPayGradeMIDSHIPMAN string = "MIDSHIPMAN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // City // Example: Anytown // Required: true City *string `json:"city"` // Country // Example: USA Country *string `json:"country,omitempty"` // County // Example: LOS ANGELES County *string `json:"county,omitempty"` // e tag // Read Only: true ETag string `json:"eTag,omitempty"` // id // Example: c56a4180-65aa-42ec-a945-5fd21dec0538 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // isOconus // Example: false IsOconus *bool `json:"isOconus,omitempty"` // ZIP // Example: 90210 // Required: true // Pattern: ^(\d{5}([\-]\d{4})?)$ PostalCode *string `json:"postalCode"` // State // Required: true // Enum: [AL AK AR AZ CA CO CT DC DE FL GA HI IA ID IL IN KS KY LA MA MD ME MI MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA RI SC SD TN TX UT VA VT WA WI WV WY] State *string `json:"state"` // Street address 1 // Example: 123 Main Ave // Required: true StreetAddress1 *string `json:"streetAddress1"` // Street address 2 // Example: Apartment 9000 StreetAddress2 *string `json:"streetAddress2,omitempty"` // Address Line 3 // Example: Montmârtre StreetAddress3 *string `json:"streetAddress3,omitempty"` }
Address A postal address
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validate this address based on the context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Affiliation ¶
type Affiliation string
Affiliation Branch of service
Military branch of service ¶
swagger:model Affiliation
const ( // AffiliationARMY captures enum value "ARMY" AffiliationARMY Affiliation = "ARMY" // AffiliationNAVY captures enum value "NAVY" AffiliationNAVY Affiliation = "NAVY" // AffiliationMARINES captures enum value "MARINES" AffiliationMARINES Affiliation = "MARINES" // AffiliationAIRFORCE captures enum value "AIR_FORCE" AffiliationAIRFORCE Affiliation = "AIR_FORCE" // AffiliationCOASTGUARD captures enum value "COAST_GUARD" AffiliationCOASTGUARD Affiliation = "COAST_GUARD" // AffiliationSPACEFORCE captures enum value "SPACE_FORCE" AffiliationSPACEFORCE Affiliation = "SPACE_FORCE" // AffiliationOTHER captures enum value "OTHER" AffiliationOTHER Affiliation = "OTHER" )
func NewAffiliation ¶
func NewAffiliation(value Affiliation) *Affiliation
func (Affiliation) ContextValidate ¶
ContextValidate validates this affiliation based on context it is used
func (Affiliation) Pointer ¶
func (m Affiliation) Pointer() *Affiliation
Pointer returns a pointer to a freshly-allocated Affiliation.
type ClientError ¶
type ClientError struct { // detail // Required: true Detail *string `json:"detail"` // instance // Required: true // Format: uuid Instance *strfmt.UUID `json:"instance"` // title // Required: true Title *string `json:"title"` }
ClientError client error
swagger:model ClientError
func (*ClientError) ContextValidate ¶
ContextValidate validates this client error based on context it is used
func (*ClientError) MarshalBinary ¶
func (m *ClientError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientError) UnmarshalBinary ¶
func (m *ClientError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Crate ¶
type Crate struct { // crate dimensions CrateDimensions *MTOServiceItemDimension `json:"crateDimensions,omitempty"` // description Description string `json:"description,omitempty"` // item dimensions ItemDimensions *MTOServiceItemDimension `json:"itemDimensions,omitempty"` }
Crate Crate object for PPTAS Reports
swagger:model Crate
func (*Crate) ContextValidate ¶
ContextValidate validate this crate based on the context it is used
func (*Crate) MarshalBinary ¶
MarshalBinary interface implementation
func (*Crate) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DimensionType ¶
type DimensionType string
DimensionType Describes a dimension type for a MTOServiceItemDimension.
swagger:model DimensionType
const ( // DimensionTypeITEM captures enum value "ITEM" DimensionTypeITEM DimensionType = "ITEM" // DimensionTypeCRATE captures enum value "CRATE" DimensionTypeCRATE DimensionType = "CRATE" )
func NewDimensionType ¶
func NewDimensionType(value DimensionType) *DimensionType
func (DimensionType) ContextValidate ¶
ContextValidate validates this dimension type based on context it is used
func (DimensionType) Pointer ¶
func (m DimensionType) Pointer() *DimensionType
Pointer returns a pointer to a freshly-allocated DimensionType.
type MTOServiceItemDimension ¶
type MTOServiceItemDimension struct { // Height in thousandth inches. 1000 thou = 1 inch. // Example: 1000 Height int32 `json:"height,omitempty"` // id // Example: 1f2270c7-7166-40ae-981e-b200ebdf3054 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Length in thousandth inches. 1000 thou = 1 inch. // Example: 1000 Length int32 `json:"length,omitempty"` // type Type DimensionType `json:"type,omitempty"` // Width in thousandth inches. 1000 thou = 1 inch. // Example: 1000 Width int32 `json:"width,omitempty"` }
MTOServiceItemDimension Describes a dimension object for the MTOServiceItem.
swagger:model MTOServiceItemDimension
func (*MTOServiceItemDimension) ContextValidate ¶
func (m *MTOServiceItemDimension) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m t o service item dimension based on the context it is used
func (*MTOServiceItemDimension) MarshalBinary ¶
func (m *MTOServiceItemDimension) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MTOServiceItemDimension) UnmarshalBinary ¶
func (m *MTOServiceItemDimension) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PPTASReport ¶
type PPTASReport struct { // address Address *Address `json:"address,omitempty"` // affiliation Affiliation *Affiliation `json:"affiliation,omitempty"` // counseled date // Format: date CounseledDate strfmt.Date `json:"counseledDate,omitempty"` // Dependent Code DepCD *bool `json:"depCD,omitempty"` // destination gbloc // Pattern: ^[A-Z]{4}$ DestinationGbloc *string `json:"destinationGbloc,omitempty"` // edipi Edipi string `json:"edipi,omitempty"` // email primary // Example: a@b.com EmailPrimary string `json:"emailPrimary,omitempty"` // email secondary EmailSecondary *string `json:"emailSecondary,omitempty"` // entitlement weight EntitlementWeight *int64 `json:"entitlementWeight,omitempty"` // financial review flag FinancialReviewFlag *bool `json:"financialReviewFlag,omitempty"` // financial review remarks FinancialReviewRemarks *string `json:"financialReviewRemarks,omitempty"` // first name // Example: Bob FirstName string `json:"firstName,omitempty"` // last name // Example: Job LastName string `json:"lastName,omitempty"` // middle initial // Example: G MiddleInitial *string `json:"middleInitial,omitempty"` // not to be confused with Orders Number // Example: 030-00362 OrderNumber *string `json:"orderNumber,omitempty"` // orders date // Format: date-time OrdersDate strfmt.DateTime `json:"ordersDate,omitempty"` // orders number OrdersNumber string `json:"ordersNumber,omitempty"` // orders type OrdersType string `json:"ordersType,omitempty"` // origin gbloc // Pattern: ^[A-Z]{4}$ OriginGbloc *string `json:"originGbloc,omitempty"` // grade // Enum: [E_1 E_2 E_3 E_4 E_5 E_6 E_7 E_8 E_9 E_9_SPECIAL_SENIOR_ENLISTED O_1_ACADEMY_GRADUATE O_2 O_3 O_4 O_5 O_6 O_7 O_8 O_9 O_10 W_1 W_2 W_3 W_4 W_5 AVIATION_CADET CIVILIAN_EMPLOYEE ACADEMY_CADET MIDSHIPMAN] PayGrade *string `json:"payGrade,omitempty"` // phone primary PhonePrimary string `json:"phonePrimary,omitempty"` // phone secondary PhoneSecondary *string `json:"phoneSecondary,omitempty"` // scac // Example: AGFM Scac *string `json:"scac,omitempty"` // Number of shipments ShipmentNum int64 `json:"shipmentNum,omitempty"` // shipments Shipments []*PPTASShipment `json:"shipments"` // Transportation Accounting Code Tac *string `json:"tac,omitempty"` // Transmit Code TransmitCD *string `json:"transmitCD,omitempty"` // travel class code // Example: PCS TravelClassCode string `json:"travelClassCode,omitempty"` // Travel Type // Example: Shipment of HHG Permitted TravelType string `json:"travelType,omitempty"` // weight authorized WeightAuthorized *float64 `json:"weightAuthorized,omitempty"` }
PPTASReport Report for Navy PPTAS, contains information about Service Members, Orders, Move Task Orders, Shipments, and Payment Requests.
swagger:model PPTASReport
func (*PPTASReport) ContextValidate ¶
ContextValidate validate this p p t a s report based on the context it is used
func (*PPTASReport) MarshalBinary ¶
func (m *PPTASReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PPTASReport) UnmarshalBinary ¶
func (m *PPTASReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PPTASReports ¶
type PPTASReports []*PPTASReport
PPTASReports p p t a s reports
swagger:model PPTASReports
func (PPTASReports) ContextValidate ¶
ContextValidate validate this p p t a s reports based on the context it is used
type PPTASShipment ¶
type PPTASShipment struct { // LoaTrnsnID in lines_of_accounting Aaa *string `json:"aaa,omitempty"` // actual origin net weight ActualOriginNetWeight *float64 `json:"actualOriginNetWeight,omitempty"` // Appropriation Appro *string `json:"appro,omitempty"` // LoaSbaltmtRcpntID in lines_of_accounting Bcn *string `json:"bcn,omitempty"` // LoaPgmElmntID in lines_of_accounting CostCD *string `json:"costCD,omitempty"` // counseling fee total CounselingFeeTotal *float64 `json:"counselingFeeTotal,omitempty"` // crating dimensions CratingDimensions []*Crate `json:"cratingDimensions"` // crating total CratingTotal *float64 `json:"cratingTotal,omitempty"` // Counseling Date // Format: date Dd2278IssueDate strfmt.Date `json:"dd2278IssueDate,omitempty"` // LoaDptID in lines_of_accounting Ddcd *string `json:"ddcd,omitempty"` // delivery date // Format: date DeliveryDate strfmt.Date `json:"deliveryDate,omitempty"` // destination address DestinationAddress *Address `json:"destinationAddress,omitempty"` // destination price DestinationPrice *float64 `json:"destinationPrice,omitempty"` // destination reweigh net weight DestinationReweighNetWeight *float64 `json:"destinationReweighNetWeight,omitempty"` // fiscal year FiscalYear *string `json:"fiscalYear,omitempty"` // Invoice Paid Amounts InvoicePaidAmt *float64 `json:"invoicePaidAmt,omitempty"` // linehaul fuel total LinehaulFuelTotal *float64 `json:"linehaulFuelTotal,omitempty"` // linehaul total LinehaulTotal *float64 `json:"linehaulTotal,omitempty"` // Line of Accounting Loa *string `json:"loa,omitempty"` // miles Miles int64 `json:"miles,omitempty"` // move date // Format: date MoveDate *strfmt.Date `json:"moveDate,omitempty"` // move management fee total MoveManagementFeeTotal *float64 `json:"moveManagementFeeTotal,omitempty"` // net weight NetWeight *int64 `json:"netWeight,omitempty"` // LoaAlltSnID in lines_of_accounting ObjClass *string `json:"objClass,omitempty"` // origin address OriginAddress *Address `json:"originAddress,omitempty"` // origin price OriginPrice *float64 `json:"originPrice,omitempty"` // LoaDocID in lines_of_accounting Paa *string `json:"paa,omitempty"` // packing price PackingPrice *float64 `json:"packingPrice,omitempty"` // paid date // Format: date PaidDate *strfmt.Date `json:"paidDate,omitempty"` // Pro Gear PbpAnde *float64 `json:"pbpAnde,omitempty"` // pickup date // Format: date PickupDate strfmt.Date `json:"pickupDate,omitempty"` // ppm dest price PpmDestPrice *float64 `json:"ppmDestPrice,omitempty"` // Personally Procured Move Fuel Rate Adjusted total cost PpmFuelRateAdjTotal *float64 `json:"ppmFuelRateAdjTotal,omitempty"` // Personally Procured Move Linehaul total cost PpmLinehaul *float64 `json:"ppmLinehaul,omitempty"` // ppm origin price PpmOriginPrice *float64 `json:"ppmOriginPrice,omitempty"` // ppm packing PpmPacking *float64 `json:"ppmPacking,omitempty"` // ppm storage PpmStorage *float64 `json:"ppmStorage,omitempty"` // ppm total PpmTotal *float64 `json:"ppmTotal,omitempty"` // ppm unpacking PpmUnpacking *float64 `json:"ppmUnpacking,omitempty"` // shipment Id // Format: uuid ShipmentID strfmt.UUID `json:"shipmentId,omitempty"` // shipment type ShipmentType string `json:"shipmentType,omitempty"` // shuttle total ShuttleTotal *float64 `json:"shuttleTotal,omitempty"` // Storage in Transit delivery total cost SitDeliveryTotal *float64 `json:"sitDeliveryTotal,omitempty"` // Additional day of Destination Storage in Transit cost SitDestAddlDaysTotal *float64 `json:"sitDestAddlDaysTotal,omitempty"` // First day of Destination Storage in Transit cost SitDestFirstDayTotal *float64 `json:"sitDestFirstDayTotal,omitempty"` // Storage in Transit destination total cost SitDestFuelSurcharge *float64 `json:"sitDestFuelSurcharge,omitempty"` // Storage in Transit In Date // Format: date SitInDate *strfmt.Date `json:"sitInDate,omitempty"` // Additional day of Origin Storage in Transit cost SitOriginAddlDaysTotal *float64 `json:"sitOriginAddlDaysTotal,omitempty"` // First day of Origin Storage in Transit cost SitOriginFirstDayTotal *float64 `json:"sitOriginFirstDayTotal,omitempty"` // Storage in Transit origin fuel total cost SitOriginFuelSurcharge *float64 `json:"sitOriginFuelSurcharge,omitempty"` // Storage in Transit Out Date // Format: date SitOutDate *strfmt.Date `json:"sitOutDate,omitempty"` // Storage in Transit pickup total cost SitPickupTotal *float64 `json:"sitPickupTotal,omitempty"` // Storage in Transit type // Example: Destination SitType *string `json:"sitType,omitempty"` // LoaInstlAcntgActID in lines_of_accounting SubAllotCD *string `json:"subAllotCD,omitempty"` // LoaObjClsID in lines_of_accounting Subhead *string `json:"subhead,omitempty"` // travel advance TravelAdvance *float64 `json:"travelAdvance,omitempty"` // LoaJbOrdNm in lines_of_accounting TypeCD *string `json:"typeCD,omitempty"` // uncrating total UncratingTotal *float64 `json:"uncratingTotal,omitempty"` // unpacking price UnpackingPrice *float64 `json:"unpackingPrice,omitempty"` // Total weight estimate WeightEstimate *float64 `json:"weightEstimate,omitempty"` }
PPTASShipment Shipment definition used for PPTAS reports.
swagger:model PPTASShipment
func (*PPTASShipment) ContextValidate ¶
ContextValidate validate this p p t a s shipment based on the context it is used
func (*PPTASShipment) MarshalBinary ¶
func (m *PPTASShipment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PPTASShipment) UnmarshalBinary ¶
func (m *PPTASShipment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation