Documentation
¶
Index ¶
- Constants
- type Address
- type ClientError
- type Customer
- type DeptIndicator
- type Document
- type DutyLocation
- type Entitlement
- type Error
- type MTOAgent
- type MTOAgentType
- type MTOAgents
- type MTOHideMove
- type MTOHideMovesResponse
- type MTOServiceItem
- type MTOServiceItemBasic
- func (m *MTOServiceItemBasic) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOServiceItemBasic) ETag() string
- func (m *MTOServiceItemBasic) ID() strfmt.UUID
- func (m *MTOServiceItemBasic) MarshalBinary() ([]byte, error)
- func (m MTOServiceItemBasic) MarshalJSON() ([]byte, error)
- func (m *MTOServiceItemBasic) ModelType() MTOServiceItemModelType
- func (m *MTOServiceItemBasic) MoveTaskOrderID() *strfmt.UUID
- func (m *MTOServiceItemBasic) MtoShipmentID() strfmt.UUID
- func (m *MTOServiceItemBasic) ReServiceName() string
- func (m *MTOServiceItemBasic) RejectionReason() *string
- func (m *MTOServiceItemBasic) SetETag(val string)
- func (m *MTOServiceItemBasic) SetID(val strfmt.UUID)
- func (m *MTOServiceItemBasic) SetModelType(val MTOServiceItemModelType)
- func (m *MTOServiceItemBasic) SetMoveTaskOrderID(val *strfmt.UUID)
- func (m *MTOServiceItemBasic) SetMtoShipmentID(val strfmt.UUID)
- func (m *MTOServiceItemBasic) SetReServiceName(val string)
- func (m *MTOServiceItemBasic) SetRejectionReason(val *string)
- func (m *MTOServiceItemBasic) SetStatus(val MTOServiceItemStatus)
- func (m *MTOServiceItemBasic) Status() MTOServiceItemStatus
- func (m *MTOServiceItemBasic) UnmarshalBinary(b []byte) error
- func (m *MTOServiceItemBasic) UnmarshalJSON(raw []byte) error
- func (m *MTOServiceItemBasic) Validate(formats strfmt.Registry) error
- type MTOServiceItemDestSIT
- func (m *MTOServiceItemDestSIT) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOServiceItemDestSIT) ETag() string
- func (m *MTOServiceItemDestSIT) ID() strfmt.UUID
- func (m *MTOServiceItemDestSIT) MarshalBinary() ([]byte, error)
- func (m MTOServiceItemDestSIT) MarshalJSON() ([]byte, error)
- func (m *MTOServiceItemDestSIT) ModelType() MTOServiceItemModelType
- func (m *MTOServiceItemDestSIT) MoveTaskOrderID() *strfmt.UUID
- func (m *MTOServiceItemDestSIT) MtoShipmentID() strfmt.UUID
- func (m *MTOServiceItemDestSIT) ReServiceName() string
- func (m *MTOServiceItemDestSIT) RejectionReason() *string
- func (m *MTOServiceItemDestSIT) SetETag(val string)
- func (m *MTOServiceItemDestSIT) SetID(val strfmt.UUID)
- func (m *MTOServiceItemDestSIT) SetModelType(val MTOServiceItemModelType)
- func (m *MTOServiceItemDestSIT) SetMoveTaskOrderID(val *strfmt.UUID)
- func (m *MTOServiceItemDestSIT) SetMtoShipmentID(val strfmt.UUID)
- func (m *MTOServiceItemDestSIT) SetReServiceName(val string)
- func (m *MTOServiceItemDestSIT) SetRejectionReason(val *string)
- func (m *MTOServiceItemDestSIT) SetStatus(val MTOServiceItemStatus)
- func (m *MTOServiceItemDestSIT) Status() MTOServiceItemStatus
- func (m *MTOServiceItemDestSIT) UnmarshalBinary(b []byte) error
- func (m *MTOServiceItemDestSIT) UnmarshalJSON(raw []byte) error
- func (m *MTOServiceItemDestSIT) Validate(formats strfmt.Registry) error
- 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 MTOServiceItemDomesticCrating
- func (m *MTOServiceItemDomesticCrating) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOServiceItemDomesticCrating) ETag() string
- func (m *MTOServiceItemDomesticCrating) ID() strfmt.UUID
- func (m *MTOServiceItemDomesticCrating) MarshalBinary() ([]byte, error)
- func (m MTOServiceItemDomesticCrating) MarshalJSON() ([]byte, error)
- func (m *MTOServiceItemDomesticCrating) ModelType() MTOServiceItemModelType
- func (m *MTOServiceItemDomesticCrating) MoveTaskOrderID() *strfmt.UUID
- func (m *MTOServiceItemDomesticCrating) MtoShipmentID() strfmt.UUID
- func (m *MTOServiceItemDomesticCrating) ReServiceName() string
- func (m *MTOServiceItemDomesticCrating) RejectionReason() *string
- func (m *MTOServiceItemDomesticCrating) SetETag(val string)
- func (m *MTOServiceItemDomesticCrating) SetID(val strfmt.UUID)
- func (m *MTOServiceItemDomesticCrating) SetModelType(val MTOServiceItemModelType)
- func (m *MTOServiceItemDomesticCrating) SetMoveTaskOrderID(val *strfmt.UUID)
- func (m *MTOServiceItemDomesticCrating) SetMtoShipmentID(val strfmt.UUID)
- func (m *MTOServiceItemDomesticCrating) SetReServiceName(val string)
- func (m *MTOServiceItemDomesticCrating) SetRejectionReason(val *string)
- func (m *MTOServiceItemDomesticCrating) SetStatus(val MTOServiceItemStatus)
- func (m *MTOServiceItemDomesticCrating) Status() MTOServiceItemStatus
- func (m *MTOServiceItemDomesticCrating) UnmarshalBinary(b []byte) error
- func (m *MTOServiceItemDomesticCrating) UnmarshalJSON(raw []byte) error
- func (m *MTOServiceItemDomesticCrating) Validate(formats strfmt.Registry) error
- type MTOServiceItemModelType
- type MTOServiceItemOriginSIT
- func (m *MTOServiceItemOriginSIT) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOServiceItemOriginSIT) ETag() string
- func (m *MTOServiceItemOriginSIT) ID() strfmt.UUID
- func (m *MTOServiceItemOriginSIT) MarshalBinary() ([]byte, error)
- func (m MTOServiceItemOriginSIT) MarshalJSON() ([]byte, error)
- func (m *MTOServiceItemOriginSIT) ModelType() MTOServiceItemModelType
- func (m *MTOServiceItemOriginSIT) MoveTaskOrderID() *strfmt.UUID
- func (m *MTOServiceItemOriginSIT) MtoShipmentID() strfmt.UUID
- func (m *MTOServiceItemOriginSIT) ReServiceName() string
- func (m *MTOServiceItemOriginSIT) RejectionReason() *string
- func (m *MTOServiceItemOriginSIT) SetETag(val string)
- func (m *MTOServiceItemOriginSIT) SetID(val strfmt.UUID)
- func (m *MTOServiceItemOriginSIT) SetModelType(val MTOServiceItemModelType)
- func (m *MTOServiceItemOriginSIT) SetMoveTaskOrderID(val *strfmt.UUID)
- func (m *MTOServiceItemOriginSIT) SetMtoShipmentID(val strfmt.UUID)
- func (m *MTOServiceItemOriginSIT) SetReServiceName(val string)
- func (m *MTOServiceItemOriginSIT) SetRejectionReason(val *string)
- func (m *MTOServiceItemOriginSIT) SetStatus(val MTOServiceItemStatus)
- func (m *MTOServiceItemOriginSIT) Status() MTOServiceItemStatus
- func (m *MTOServiceItemOriginSIT) UnmarshalBinary(b []byte) error
- func (m *MTOServiceItemOriginSIT) UnmarshalJSON(raw []byte) error
- func (m *MTOServiceItemOriginSIT) Validate(formats strfmt.Registry) error
- type MTOServiceItemShuttle
- func (m *MTOServiceItemShuttle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOServiceItemShuttle) ETag() string
- func (m *MTOServiceItemShuttle) ID() strfmt.UUID
- func (m *MTOServiceItemShuttle) MarshalBinary() ([]byte, error)
- func (m MTOServiceItemShuttle) MarshalJSON() ([]byte, error)
- func (m *MTOServiceItemShuttle) ModelType() MTOServiceItemModelType
- func (m *MTOServiceItemShuttle) MoveTaskOrderID() *strfmt.UUID
- func (m *MTOServiceItemShuttle) MtoShipmentID() strfmt.UUID
- func (m *MTOServiceItemShuttle) ReServiceName() string
- func (m *MTOServiceItemShuttle) RejectionReason() *string
- func (m *MTOServiceItemShuttle) SetETag(val string)
- func (m *MTOServiceItemShuttle) SetID(val strfmt.UUID)
- func (m *MTOServiceItemShuttle) SetModelType(val MTOServiceItemModelType)
- func (m *MTOServiceItemShuttle) SetMoveTaskOrderID(val *strfmt.UUID)
- func (m *MTOServiceItemShuttle) SetMtoShipmentID(val strfmt.UUID)
- func (m *MTOServiceItemShuttle) SetReServiceName(val string)
- func (m *MTOServiceItemShuttle) SetRejectionReason(val *string)
- func (m *MTOServiceItemShuttle) SetStatus(val MTOServiceItemStatus)
- func (m *MTOServiceItemShuttle) Status() MTOServiceItemStatus
- func (m *MTOServiceItemShuttle) UnmarshalBinary(b []byte) error
- func (m *MTOServiceItemShuttle) UnmarshalJSON(raw []byte) error
- func (m *MTOServiceItemShuttle) Validate(formats strfmt.Registry) error
- type MTOServiceItemStatus
- type MTOShipment
- func (m *MTOShipment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MTOShipment) MarshalBinary() ([]byte, error)
- func (m MTOShipment) MarshalJSON() ([]byte, error)
- func (m *MTOShipment) MtoServiceItems() []MTOServiceItem
- func (m *MTOShipment) SetMtoServiceItems(val []MTOServiceItem)
- func (m *MTOShipment) UnmarshalBinary(b []byte) error
- func (m *MTOShipment) UnmarshalJSON(raw []byte) error
- func (m *MTOShipment) Validate(formats strfmt.Registry) error
- type MTOShipmentType
- type MTOShipments
- type MoveStatus
- type MoveTaskOrder
- func (m *MoveTaskOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MoveTaskOrder) MarshalBinary() ([]byte, error)
- func (m MoveTaskOrder) MarshalJSON() ([]byte, error)
- func (m *MoveTaskOrder) MtoServiceItems() []MTOServiceItem
- func (m *MoveTaskOrder) SetMtoServiceItems(val []MTOServiceItem)
- func (m *MoveTaskOrder) UnmarshalBinary(b []byte) error
- func (m *MoveTaskOrder) UnmarshalJSON(raw []byte) error
- func (m *MoveTaskOrder) Validate(formats strfmt.Registry) error
- type MoveTaskOrders
- type Order
- type OrdersStatus
- type OrdersType
- type OrdersTypeDetail
- type PaymentRequest
- type PaymentRequestEDI
- type PaymentRequestStatus
- type PaymentRequests
- type ProcessReviewedPaymentRequests
- func (m *ProcessReviewedPaymentRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProcessReviewedPaymentRequests) MarshalBinary() ([]byte, error)
- func (m *ProcessReviewedPaymentRequests) UnmarshalBinary(b []byte) error
- func (m *ProcessReviewedPaymentRequests) Validate(formats strfmt.Registry) error
- type ProofOfServicePackage
- type Rank
- type ReServiceCode
- type UpdateMTOServiceItemStatus
- func (m *UpdateMTOServiceItemStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateMTOServiceItemStatus) MarshalBinary() ([]byte, error)
- func (m *UpdateMTOServiceItemStatus) UnmarshalBinary(b []byte) error
- func (m *UpdateMTOServiceItemStatus) Validate(formats strfmt.Registry) error
- type UpdateMTOShipmentStatus
- func (m *UpdateMTOShipmentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateMTOShipmentStatus) MarshalBinary() ([]byte, error)
- func (m *UpdateMTOShipmentStatus) UnmarshalBinary(b []byte) error
- func (m *UpdateMTOShipmentStatus) Validate(formats strfmt.Registry) error
- type UpdatePaymentRequestStatus
- func (m *UpdatePaymentRequestStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdatePaymentRequestStatus) MarshalBinary() ([]byte, error)
- func (m *UpdatePaymentRequestStatus) UnmarshalBinary(b []byte) error
- func (m *UpdatePaymentRequestStatus) Validate(formats strfmt.Registry) error
- type UploadWithOmissions
- type ValidationError
- func (m *ValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ValidationError) MarshalBinary() ([]byte, error)
- func (m ValidationError) MarshalJSON() ([]byte, error)
- func (m *ValidationError) UnmarshalBinary(b []byte) error
- func (m *ValidationError) UnmarshalJSON(raw []byte) error
- func (m *ValidationError) Validate(formats strfmt.Registry) error
- type WebhookNotification
- type WebhookNotificationStatus
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 ( // MTOShipmentStatusAPPROVED captures enum value "APPROVED" MTOShipmentStatusAPPROVED string = "APPROVED" // MTOShipmentStatusSUBMITTED captures enum value "SUBMITTED" MTOShipmentStatusSUBMITTED string = "SUBMITTED" // MTOShipmentStatusREJECTED captures enum value "REJECTED" MTOShipmentStatusREJECTED string = "REJECTED" // MTOShipmentStatusCANCELLATIONREQUESTED captures enum value "CANCELLATION_REQUESTED" MTOShipmentStatusCANCELLATIONREQUESTED string = "CANCELLATION_REQUESTED" // MTOShipmentStatusCANCELED captures enum value "CANCELED" MTOShipmentStatusCANCELED string = "CANCELED" // MTOShipmentStatusDIVERSIONREQUESTED captures enum value "DIVERSION_REQUESTED" MTOShipmentStatusDIVERSIONREQUESTED string = "DIVERSION_REQUESTED" )
const ( // MoveTaskOrderPpmTypeFULL captures enum value "FULL" MoveTaskOrderPpmTypeFULL string = "FULL" // MoveTaskOrderPpmTypePARTIAL captures enum value "PARTIAL" MoveTaskOrderPpmTypePARTIAL string = "PARTIAL" )
const ( // UpdateMTOShipmentStatusStatusREJECTED captures enum value "REJECTED" UpdateMTOShipmentStatusStatusREJECTED string = "REJECTED" // UpdateMTOShipmentStatusStatusAPPROVED captures enum value "APPROVED" UpdateMTOShipmentStatusStatusAPPROVED string = "APPROVED" // UpdateMTOShipmentStatusStatusSUBMITTED captures enum value "SUBMITTED" UpdateMTOShipmentStatusStatusSUBMITTED string = "SUBMITTED" // UpdateMTOShipmentStatusStatusCANCELLATIONREQUESTED captures enum value "CANCELLATION_REQUESTED" UpdateMTOShipmentStatusStatusCANCELLATIONREQUESTED string = "CANCELLATION_REQUESTED" // UpdateMTOShipmentStatusStatusCANCELED captures enum value "CANCELED" UpdateMTOShipmentStatusStatusCANCELED string = "CANCELED" // UpdateMTOShipmentStatusStatusDIVERSIONREQUESTED captures enum value "DIVERSION_REQUESTED" UpdateMTOShipmentStatusStatusDIVERSIONREQUESTED string = "DIVERSION_REQUESTED" )
const ( // UploadWithOmissionsStatusINFECTED captures enum value "INFECTED" UploadWithOmissionsStatusINFECTED string = "INFECTED" // UploadWithOmissionsStatusCLEAN captures enum value "CLEAN" UploadWithOmissionsStatusCLEAN string = "CLEAN" // UploadWithOmissionsStatusPROCESSING captures enum value "PROCESSING" UploadWithOmissionsStatusPROCESSING string = "PROCESSING" )
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 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 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 Customer ¶
type Customer struct {
// Agency customer is affilated with
// Required: true
Agency *string `json:"agency"`
// current address
CurrentAddress *Address `json:"currentAddress,omitempty"`
// dod ID
// Required: true
DodID *string `json:"dodID"`
// e tag
// Read Only: true
ETag string `json:"eTag,omitempty"`
// email
// Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Email *string `json:"email,omitempty"`
// first name
// Example: Vanya
// Required: true
FirstName *string `json:"firstName"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// last name
// Example: Petrovna
// Required: true
LastName *string `json:"lastName"`
// phone
// Pattern: ^[2-9]\d{2}-\d{3}-\d{4}$
Phone *string `json:"phone,omitempty"`
// rank
// Required: true
Rank *Rank `json:"rank"`
// user ID
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
UserID strfmt.UUID `json:"userID,omitempty"`
}
Customer customer
swagger:model Customer
func (*Customer) ContextValidate ¶
ContextValidate validate this customer based on the context it is used
func (*Customer) MarshalBinary ¶
MarshalBinary interface implementation
func (*Customer) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DeptIndicator ¶
type DeptIndicator string
DeptIndicator Dept. indicator
swagger:model DeptIndicator
const ( // DeptIndicatorNAVYANDMARINES captures enum value "NAVY_AND_MARINES" DeptIndicatorNAVYANDMARINES DeptIndicator = "NAVY_AND_MARINES" // DeptIndicatorARMY captures enum value "ARMY" DeptIndicatorARMY DeptIndicator = "ARMY" // DeptIndicatorARMYCORPSOFENGINEERS captures enum value "ARMY_CORPS_OF_ENGINEERS" DeptIndicatorARMYCORPSOFENGINEERS DeptIndicator = "ARMY_CORPS_OF_ENGINEERS" // DeptIndicatorAIRANDSPACEFORCE captures enum value "AIR_AND_SPACE_FORCE" DeptIndicatorAIRANDSPACEFORCE DeptIndicator = "AIR_AND_SPACE_FORCE" // DeptIndicatorCOASTGUARD captures enum value "COAST_GUARD" DeptIndicatorCOASTGUARD DeptIndicator = "COAST_GUARD" // DeptIndicatorOFFICEOFSECRETARYOFDEFENSE captures enum value "OFFICE_OF_SECRETARY_OF_DEFENSE" DeptIndicatorOFFICEOFSECRETARYOFDEFENSE DeptIndicator = "OFFICE_OF_SECRETARY_OF_DEFENSE" )
func NewDeptIndicator ¶
func NewDeptIndicator(value DeptIndicator) *DeptIndicator
func (DeptIndicator) ContextValidate ¶
ContextValidate validates this dept indicator based on context it is used
func (DeptIndicator) Pointer ¶
func (m DeptIndicator) Pointer() *DeptIndicator
Pointer returns a pointer to a freshly-allocated DeptIndicator.
type Document ¶
type Document struct {
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// The service member this document belongs to
// Required: true
// Format: uuid
ServiceMemberID *strfmt.UUID `json:"serviceMemberID"`
// uploads
// Required: true
Uploads []*UploadWithOmissions `json:"uploads"`
}
Document document
swagger:model Document
func (*Document) ContextValidate ¶
ContextValidate validate this document based on the context it is used
func (*Document) MarshalBinary ¶
MarshalBinary interface implementation
func (*Document) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DutyLocation ¶
type DutyLocation struct {
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// name
// Example: Fort Bragg North Station
Name string `json:"name,omitempty"`
}
DutyLocation duty location
swagger:model DutyLocation
func (*DutyLocation) ContextValidate ¶
ContextValidate validates this duty location based on context it is used
func (*DutyLocation) MarshalBinary ¶
func (m *DutyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DutyLocation) UnmarshalBinary ¶
func (m *DutyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Entitlement ¶
type Entitlement struct {
// authorized weight
// Example: 2000
AuthorizedWeight *int64 `json:"authorizedWeight,omitempty"`
// dependents authorized
// Example: true
DependentsAuthorized *bool `json:"dependentsAuthorized,omitempty"`
// e tag
// Read Only: true
ETag string `json:"eTag,omitempty"`
// gun safe
// Example: false
GunSafe bool `json:"gunSafe,omitempty"`
// id
// Example: 571008b1-b0de-454d-b843-d71be9f02c04
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// non temporary storage
// Example: false
NonTemporaryStorage *bool `json:"nonTemporaryStorage,omitempty"`
// organizational clothing and individual equipment
// Example: false
OrganizationalClothingAndIndividualEquipment bool `json:"organizationalClothingAndIndividualEquipment,omitempty"`
// privately owned vehicle
// Example: false
PrivatelyOwnedVehicle *bool `json:"privatelyOwnedVehicle,omitempty"`
// pro gear weight
// Example: 2000
// Read Only: true
ProGearWeight int64 `json:"proGearWeight,omitempty"`
// pro gear weight spouse
// Example: 500
// Read Only: true
ProGearWeightSpouse int64 `json:"proGearWeightSpouse,omitempty"`
// required medical equipment weight
// Example: 500
RequiredMedicalEquipmentWeight int64 `json:"requiredMedicalEquipmentWeight,omitempty"`
// storage in transit
// Example: 90
StorageInTransit int64 `json:"storageInTransit,omitempty"`
// total dependents
// Example: 2
TotalDependents int64 `json:"totalDependents,omitempty"`
// total weight
// Example: 500
TotalWeight int64 `json:"totalWeight,omitempty"`
}
Entitlement entitlement
swagger:model Entitlement
func (*Entitlement) ContextValidate ¶
ContextValidate validate this entitlement based on the context it is used
func (*Entitlement) MarshalBinary ¶
func (m *Entitlement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Entitlement) UnmarshalBinary ¶
func (m *Entitlement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// detail
// Required: true
Detail *string `json:"detail"`
// instance
// Format: uuid
Instance strfmt.UUID `json:"instance,omitempty"`
// title
// Required: true
Title *string `json:"title"`
}
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MTOAgent ¶
type MTOAgent struct {
// agent type
AgentType MTOAgentType `json:"agentType,omitempty"`
// created at
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// e tag
// Read Only: true
ETag string `json:"eTag,omitempty"`
// email
// Pattern: ^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})?$
Email *string `json:"email,omitempty"`
// first name
FirstName *string `json:"firstName,omitempty"`
// id
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// last name
LastName *string `json:"lastName,omitempty"`
// mto shipment ID
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Read Only: true
// Format: uuid
MtoShipmentID strfmt.UUID `json:"mtoShipmentID,omitempty"`
// phone
// Pattern: ^([2-9]\d{2}-\d{3}-\d{4})?$
Phone *string `json:"phone,omitempty"`
// updated at
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}
MTOAgent m t o agent
swagger:model MTOAgent
func (*MTOAgent) ContextValidate ¶
ContextValidate validate this m t o agent based on the context it is used
func (*MTOAgent) MarshalBinary ¶
MarshalBinary interface implementation
func (*MTOAgent) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MTOAgentType ¶
type MTOAgentType string
MTOAgentType MTO Agent Type Example: RELEASING_AGENT
swagger:model MTOAgentType
const ( // MTOAgentTypeRELEASINGAGENT captures enum value "RELEASING_AGENT" MTOAgentTypeRELEASINGAGENT MTOAgentType = "RELEASING_AGENT" // MTOAgentTypeRECEIVINGAGENT captures enum value "RECEIVING_AGENT" MTOAgentTypeRECEIVINGAGENT MTOAgentType = "RECEIVING_AGENT" )
func NewMTOAgentType ¶
func NewMTOAgentType(value MTOAgentType) *MTOAgentType
func (MTOAgentType) ContextValidate ¶
ContextValidate validates this m t o agent type based on context it is used
func (MTOAgentType) Pointer ¶
func (m MTOAgentType) Pointer() *MTOAgentType
Pointer returns a pointer to a freshly-allocated MTOAgentType.
type MTOAgents ¶
type MTOAgents []*MTOAgent
MTOAgents m t o agents
swagger:model MTOAgents
func (MTOAgents) ContextValidate ¶
ContextValidate validate this m t o agents based on the context it is used
type MTOHideMove ¶
type MTOHideMove struct {
// Reason the move was selected to be hidden
// Example: invalid name
HideReason *string `json:"hideReason,omitempty"`
// ID of the associated moveTaskOrder
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Format: uuid
MoveTaskOrderID strfmt.UUID `json:"moveTaskOrderID,omitempty"`
}
MTOHideMove describes the MTO ID and a description reason why the move was hidden.
swagger:model MTOHideMove
func (*MTOHideMove) ContextValidate ¶
ContextValidate validates this m t o hide move based on context it is used
func (*MTOHideMove) MarshalBinary ¶
func (m *MTOHideMove) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MTOHideMove) UnmarshalBinary ¶
func (m *MTOHideMove) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MTOHideMovesResponse ¶
type MTOHideMovesResponse struct {
// Array of moves that were hidden.
Moves []*MTOHideMove `json:"moves"`
// Number of moves that were hidden
NumberMovesHidden int64 `json:"numberMovesHidden,omitempty"`
}
MTOHideMovesResponse describes the moves that were hidden that contained non-approved fake data to use in the MilMove system.
swagger:model MTOHideMovesResponse
func (*MTOHideMovesResponse) ContextValidate ¶
ContextValidate validate this m t o hide moves response based on the context it is used
func (*MTOHideMovesResponse) MarshalBinary ¶
func (m *MTOHideMovesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MTOHideMovesResponse) UnmarshalBinary ¶
func (m *MTOHideMovesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MTOServiceItem ¶
type MTOServiceItem interface {
runtime.Validatable
runtime.ContextValidatable
// ETag identifier required to update this object
// Read Only: true
ETag() string
SetETag(string)
// ID of the service item
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Format: uuid
ID() strfmt.UUID
SetID(strfmt.UUID)
// model type
// Required: true
ModelType() MTOServiceItemModelType
SetModelType(MTOServiceItemModelType)
// ID of the associated moveTaskOrder
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Required: true
// Format: uuid
MoveTaskOrderID() *strfmt.UUID
SetMoveTaskOrderID(*strfmt.UUID)
// ID of the associated mtoShipment
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Format: uuid
MtoShipmentID() strfmt.UUID
SetMtoShipmentID(strfmt.UUID)
// Full descriptive name of the service
// Read Only: true
ReServiceName() string
SetReServiceName(string)
// Reason the service item was rejected by the TOO
// Example: item was too heavy
RejectionReason() *string
SetRejectionReason(*string)
// status
Status() MTOServiceItemStatus
SetStatus(MTOServiceItemStatus)
}
MTOServiceItem MTOServiceItem describes a base type of a service item. Polymorphic type. Both Move Task Orders and MTO Shipments will have MTO Service Items.
swagger:discriminator MTOServiceItem modelType
func UnmarshalMTOServiceItem ¶
UnmarshalMTOServiceItem unmarshals polymorphic MTOServiceItem
func UnmarshalMTOServiceItemSlice ¶
func UnmarshalMTOServiceItemSlice(reader io.Reader, consumer runtime.Consumer) ([]MTOServiceItem, error)
UnmarshalMTOServiceItemSlice unmarshals polymorphic slices of MTOServiceItem
type MTOServiceItemBasic ¶
type MTOServiceItemBasic struct {
// re service code
// Required: true
ReServiceCode *ReServiceCode `json:"reServiceCode"`
// contains filtered or unexported fields
}
MTOServiceItemBasic Describes a basic service item subtype of a MTOServiceItem.
swagger:model MTOServiceItemBasic
func (*MTOServiceItemBasic) ContextValidate ¶
ContextValidate validate this m t o service item basic based on the context it is used
func (*MTOServiceItemBasic) ETag ¶
func (m *MTOServiceItemBasic) ETag() string
ETag gets the e tag of this subtype
func (*MTOServiceItemBasic) ID ¶
func (m *MTOServiceItemBasic) ID() strfmt.UUID
ID gets the id of this subtype
func (*MTOServiceItemBasic) MarshalBinary ¶
func (m *MTOServiceItemBasic) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MTOServiceItemBasic) MarshalJSON ¶
func (m MTOServiceItemBasic) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MTOServiceItemBasic) ModelType ¶
func (m *MTOServiceItemBasic) ModelType() MTOServiceItemModelType
ModelType gets the model type of this subtype
func (*MTOServiceItemBasic) MoveTaskOrderID ¶
func (m *MTOServiceItemBasic) MoveTaskOrderID() *strfmt.UUID
MoveTaskOrderID gets the move task order ID of this subtype
func (*MTOServiceItemBasic) MtoShipmentID ¶
func (m *MTOServiceItemBasic) MtoShipmentID() strfmt.UUID
MtoShipmentID gets the mto shipment ID of this subtype
func (*MTOServiceItemBasic) ReServiceName ¶
func (m *MTOServiceItemBasic) ReServiceName() string
ReServiceName gets the re service name of this subtype
func (*MTOServiceItemBasic) RejectionReason ¶
func (m *MTOServiceItemBasic) RejectionReason() *string
RejectionReason gets the rejection reason of this subtype
func (*MTOServiceItemBasic) SetETag ¶
func (m *MTOServiceItemBasic) SetETag(val string)
SetETag sets the e tag of this subtype
func (*MTOServiceItemBasic) SetID ¶
func (m *MTOServiceItemBasic) SetID(val strfmt.UUID)
SetID sets the id of this subtype
func (*MTOServiceItemBasic) SetModelType ¶
func (m *MTOServiceItemBasic) SetModelType(val MTOServiceItemModelType)
SetModelType sets the model type of this subtype
func (*MTOServiceItemBasic) SetMoveTaskOrderID ¶
func (m *MTOServiceItemBasic) SetMoveTaskOrderID(val *strfmt.UUID)
SetMoveTaskOrderID sets the move task order ID of this subtype
func (*MTOServiceItemBasic) SetMtoShipmentID ¶
func (m *MTOServiceItemBasic) SetMtoShipmentID(val strfmt.UUID)
SetMtoShipmentID sets the mto shipment ID of this subtype
func (*MTOServiceItemBasic) SetReServiceName ¶
func (m *MTOServiceItemBasic) SetReServiceName(val string)
SetReServiceName sets the re service name of this subtype
func (*MTOServiceItemBasic) SetRejectionReason ¶
func (m *MTOServiceItemBasic) SetRejectionReason(val *string)
SetRejectionReason sets the rejection reason of this subtype
func (*MTOServiceItemBasic) SetStatus ¶
func (m *MTOServiceItemBasic) SetStatus(val MTOServiceItemStatus)
SetStatus sets the status of this subtype
func (*MTOServiceItemBasic) Status ¶
func (m *MTOServiceItemBasic) Status() MTOServiceItemStatus
Status gets the status of this subtype
func (*MTOServiceItemBasic) UnmarshalBinary ¶
func (m *MTOServiceItemBasic) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MTOServiceItemBasic) UnmarshalJSON ¶
func (m *MTOServiceItemBasic) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MTOServiceItemDestSIT ¶
type MTOServiceItemDestSIT struct {
// Date of attempted contact by the prime corresponding to 'timeMilitary1'.
// Required: true
// Format: date
DateOfContact1 *strfmt.Date `json:"dateOfContact1"`
// Date of attempted contact by the prime corresponding to 'timeMilitary2'.
// Required: true
// Format: date
DateOfContact2 *strfmt.Date `json:"dateOfContact2"`
// First available date that Prime can deliver SIT service item.
// Required: true
// Format: date
FirstAvailableDeliveryDate1 *strfmt.Date `json:"firstAvailableDeliveryDate1"`
// Second available date that Prime can deliver SIT service item.
// Required: true
// Format: date
FirstAvailableDeliveryDate2 *strfmt.Date `json:"firstAvailableDeliveryDate2"`
// Service code allowed for this model type.
// Required: true
// Enum: [DDFSIT DDASIT]
ReServiceCode *string `json:"reServiceCode"`
// Departure date for SIT. This is the end date of the SIT at either origin or destination. This is optional as it can be updated using the UpdateMTOServiceItemSIT modelType at a later date.
// Format: date
SitDepartureDate *strfmt.Date `json:"sitDepartureDate,omitempty"`
// Entry date for the SIT
// Required: true
// Format: date
SitEntryDate *strfmt.Date `json:"sitEntryDate"`
// Time of attempted contact corresponding to `dateOfContact1`, in military format.
// Example: 1400Z
// Required: true
// Pattern: \d{4}Z
TimeMilitary1 *string `json:"timeMilitary1"`
// Time of attempted contact corresponding to `dateOfContact2`, in military format.
// Example: 1400Z
// Required: true
// Pattern: \d{4}Z
TimeMilitary2 *string `json:"timeMilitary2"`
// contains filtered or unexported fields
}
MTOServiceItemDestSIT Describes a domestic destination SIT service item. Subtype of a MTOServiceItem.
swagger:model MTOServiceItemDestSIT
func (*MTOServiceItemDestSIT) ContextValidate ¶
ContextValidate validate this m t o service item dest s i t based on the context it is used
func (*MTOServiceItemDestSIT) ETag ¶
func (m *MTOServiceItemDestSIT) ETag() string
ETag gets the e tag of this subtype
func (*MTOServiceItemDestSIT) ID ¶
func (m *MTOServiceItemDestSIT) ID() strfmt.UUID
ID gets the id of this subtype
func (*MTOServiceItemDestSIT) MarshalBinary ¶
func (m *MTOServiceItemDestSIT) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MTOServiceItemDestSIT) MarshalJSON ¶
func (m MTOServiceItemDestSIT) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MTOServiceItemDestSIT) ModelType ¶
func (m *MTOServiceItemDestSIT) ModelType() MTOServiceItemModelType
ModelType gets the model type of this subtype
func (*MTOServiceItemDestSIT) MoveTaskOrderID ¶
func (m *MTOServiceItemDestSIT) MoveTaskOrderID() *strfmt.UUID
MoveTaskOrderID gets the move task order ID of this subtype
func (*MTOServiceItemDestSIT) MtoShipmentID ¶
func (m *MTOServiceItemDestSIT) MtoShipmentID() strfmt.UUID
MtoShipmentID gets the mto shipment ID of this subtype
func (*MTOServiceItemDestSIT) ReServiceName ¶
func (m *MTOServiceItemDestSIT) ReServiceName() string
ReServiceName gets the re service name of this subtype
func (*MTOServiceItemDestSIT) RejectionReason ¶
func (m *MTOServiceItemDestSIT) RejectionReason() *string
RejectionReason gets the rejection reason of this subtype
func (*MTOServiceItemDestSIT) SetETag ¶
func (m *MTOServiceItemDestSIT) SetETag(val string)
SetETag sets the e tag of this subtype
func (*MTOServiceItemDestSIT) SetID ¶
func (m *MTOServiceItemDestSIT) SetID(val strfmt.UUID)
SetID sets the id of this subtype
func (*MTOServiceItemDestSIT) SetModelType ¶
func (m *MTOServiceItemDestSIT) SetModelType(val MTOServiceItemModelType)
SetModelType sets the model type of this subtype
func (*MTOServiceItemDestSIT) SetMoveTaskOrderID ¶
func (m *MTOServiceItemDestSIT) SetMoveTaskOrderID(val *strfmt.UUID)
SetMoveTaskOrderID sets the move task order ID of this subtype
func (*MTOServiceItemDestSIT) SetMtoShipmentID ¶
func (m *MTOServiceItemDestSIT) SetMtoShipmentID(val strfmt.UUID)
SetMtoShipmentID sets the mto shipment ID of this subtype
func (*MTOServiceItemDestSIT) SetReServiceName ¶
func (m *MTOServiceItemDestSIT) SetReServiceName(val string)
SetReServiceName sets the re service name of this subtype
func (*MTOServiceItemDestSIT) SetRejectionReason ¶
func (m *MTOServiceItemDestSIT) SetRejectionReason(val *string)
SetRejectionReason sets the rejection reason of this subtype
func (*MTOServiceItemDestSIT) SetStatus ¶
func (m *MTOServiceItemDestSIT) SetStatus(val MTOServiceItemStatus)
SetStatus sets the status of this subtype
func (*MTOServiceItemDestSIT) Status ¶
func (m *MTOServiceItemDestSIT) Status() MTOServiceItemStatus
Status gets the status of this subtype
func (*MTOServiceItemDestSIT) UnmarshalBinary ¶
func (m *MTOServiceItemDestSIT) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MTOServiceItemDestSIT) UnmarshalJSON ¶
func (m *MTOServiceItemDestSIT) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MTOServiceItemDimension ¶
type MTOServiceItemDimension struct {
// Height in thousandth inches. 1000 thou = 1 inch.
// Example: 1000
// Required: true
Height *int32 `json:"height"`
// 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
// Required: true
Length *int32 `json:"length"`
// Width in thousandth inches. 1000 thou = 1 inch.
// Example: 1000
// Required: true
Width *int32 `json:"width"`
}
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 validates this m t o service item dimension based on 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 MTOServiceItemDomesticCrating ¶
type MTOServiceItemDomesticCrating struct {
// crate
// Required: true
Crate *MTOServiceItemDimension `json:"crate"`
// description
// Example: Decorated horse head to be crated.
// Required: true
Description *string `json:"description"`
// item
// Required: true
Item *MTOServiceItemDimension `json:"item"`
// Service codes allowed for this model type.
// Required: true
// Enum: [DCRT DUCRT]
ReServiceCode *string `json:"reServiceCode"`
// standalone crate
StandaloneCrate *bool `json:"standaloneCrate,omitempty"`
// contains filtered or unexported fields
}
MTOServiceItemDomesticCrating Describes a domestic crating/uncrating service item subtype of a MTOServiceItem.
swagger:model MTOServiceItemDomesticCrating
func (*MTOServiceItemDomesticCrating) ContextValidate ¶
func (m *MTOServiceItemDomesticCrating) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m t o service item domestic crating based on the context it is used
func (*MTOServiceItemDomesticCrating) ETag ¶
func (m *MTOServiceItemDomesticCrating) ETag() string
ETag gets the e tag of this subtype
func (*MTOServiceItemDomesticCrating) ID ¶
func (m *MTOServiceItemDomesticCrating) ID() strfmt.UUID
ID gets the id of this subtype
func (*MTOServiceItemDomesticCrating) MarshalBinary ¶
func (m *MTOServiceItemDomesticCrating) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MTOServiceItemDomesticCrating) MarshalJSON ¶
func (m MTOServiceItemDomesticCrating) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MTOServiceItemDomesticCrating) ModelType ¶
func (m *MTOServiceItemDomesticCrating) ModelType() MTOServiceItemModelType
ModelType gets the model type of this subtype
func (*MTOServiceItemDomesticCrating) MoveTaskOrderID ¶
func (m *MTOServiceItemDomesticCrating) MoveTaskOrderID() *strfmt.UUID
MoveTaskOrderID gets the move task order ID of this subtype
func (*MTOServiceItemDomesticCrating) MtoShipmentID ¶
func (m *MTOServiceItemDomesticCrating) MtoShipmentID() strfmt.UUID
MtoShipmentID gets the mto shipment ID of this subtype
func (*MTOServiceItemDomesticCrating) ReServiceName ¶
func (m *MTOServiceItemDomesticCrating) ReServiceName() string
ReServiceName gets the re service name of this subtype
func (*MTOServiceItemDomesticCrating) RejectionReason ¶
func (m *MTOServiceItemDomesticCrating) RejectionReason() *string
RejectionReason gets the rejection reason of this subtype
func (*MTOServiceItemDomesticCrating) SetETag ¶
func (m *MTOServiceItemDomesticCrating) SetETag(val string)
SetETag sets the e tag of this subtype
func (*MTOServiceItemDomesticCrating) SetID ¶
func (m *MTOServiceItemDomesticCrating) SetID(val strfmt.UUID)
SetID sets the id of this subtype
func (*MTOServiceItemDomesticCrating) SetModelType ¶
func (m *MTOServiceItemDomesticCrating) SetModelType(val MTOServiceItemModelType)
SetModelType sets the model type of this subtype
func (*MTOServiceItemDomesticCrating) SetMoveTaskOrderID ¶
func (m *MTOServiceItemDomesticCrating) SetMoveTaskOrderID(val *strfmt.UUID)
SetMoveTaskOrderID sets the move task order ID of this subtype
func (*MTOServiceItemDomesticCrating) SetMtoShipmentID ¶
func (m *MTOServiceItemDomesticCrating) SetMtoShipmentID(val strfmt.UUID)
SetMtoShipmentID sets the mto shipment ID of this subtype
func (*MTOServiceItemDomesticCrating) SetReServiceName ¶
func (m *MTOServiceItemDomesticCrating) SetReServiceName(val string)
SetReServiceName sets the re service name of this subtype
func (*MTOServiceItemDomesticCrating) SetRejectionReason ¶
func (m *MTOServiceItemDomesticCrating) SetRejectionReason(val *string)
SetRejectionReason sets the rejection reason of this subtype
func (*MTOServiceItemDomesticCrating) SetStatus ¶
func (m *MTOServiceItemDomesticCrating) SetStatus(val MTOServiceItemStatus)
SetStatus sets the status of this subtype
func (*MTOServiceItemDomesticCrating) Status ¶
func (m *MTOServiceItemDomesticCrating) Status() MTOServiceItemStatus
Status gets the status of this subtype
func (*MTOServiceItemDomesticCrating) UnmarshalBinary ¶
func (m *MTOServiceItemDomesticCrating) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MTOServiceItemDomesticCrating) UnmarshalJSON ¶
func (m *MTOServiceItemDomesticCrating) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MTOServiceItemModelType ¶
type MTOServiceItemModelType string
MTOServiceItemModelType Describes all model sub-types for a MTOServiceItem model.
Using this list, choose the correct modelType in the dropdown, corresponding to the service item type.
- DOFSIT, DOASIT - MTOServiceItemOriginSIT
- DDFSIT, DDASIT - MTOServiceItemDestSIT
- DOSHUT, DDSHUT - MTOServiceItemShuttle
- DCRT, DUCRT - MTOServiceItemDomesticCrating
The documentation will then update with the supported fields.
swagger:model MTOServiceItemModelType
const ( // MTOServiceItemModelTypeMTOServiceItemBasic captures enum value "MTOServiceItemBasic" MTOServiceItemModelTypeMTOServiceItemBasic MTOServiceItemModelType = "MTOServiceItemBasic" // MTOServiceItemModelTypeMTOServiceItemOriginSIT captures enum value "MTOServiceItemOriginSIT" MTOServiceItemModelTypeMTOServiceItemOriginSIT MTOServiceItemModelType = "MTOServiceItemOriginSIT" // MTOServiceItemModelTypeMTOServiceItemDestSIT captures enum value "MTOServiceItemDestSIT" MTOServiceItemModelTypeMTOServiceItemDestSIT MTOServiceItemModelType = "MTOServiceItemDestSIT" // MTOServiceItemModelTypeMTOServiceItemShuttle captures enum value "MTOServiceItemShuttle" MTOServiceItemModelTypeMTOServiceItemShuttle MTOServiceItemModelType = "MTOServiceItemShuttle" // MTOServiceItemModelTypeMTOServiceItemDomesticCrating captures enum value "MTOServiceItemDomesticCrating" MTOServiceItemModelTypeMTOServiceItemDomesticCrating MTOServiceItemModelType = "MTOServiceItemDomesticCrating" )
func NewMTOServiceItemModelType ¶
func NewMTOServiceItemModelType(value MTOServiceItemModelType) *MTOServiceItemModelType
func (MTOServiceItemModelType) ContextValidate ¶
func (m MTOServiceItemModelType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this m t o service item model type based on context it is used
func (MTOServiceItemModelType) Pointer ¶
func (m MTOServiceItemModelType) Pointer() *MTOServiceItemModelType
Pointer returns a pointer to a freshly-allocated MTOServiceItemModelType.
type MTOServiceItemOriginSIT ¶
type MTOServiceItemOriginSIT struct {
// Service code allowed for this model type.
// Required: true
// Enum: [DOFSIT DOASIT]
ReServiceCode *string `json:"reServiceCode"`
// Explanation of why Prime is picking up SIT item.
// Example: Storage items need to be picked up
// Required: true
Reason *string `json:"reason"`
// Departure date for SIT. This is the end date of the SIT at either origin or destination. This is optional as it can be updated using the UpdateMTOServiceItemSIT modelType at a later date.
// Format: date
SitDepartureDate *strfmt.Date `json:"sitDepartureDate,omitempty"`
// Entry date for the SIT
// Required: true
// Format: date
SitEntryDate *strfmt.Date `json:"sitEntryDate"`
// sit postal code
// Example: 90210
// Required: true
// Pattern: ^(\d{5}([\-]\d{4})?)$
SitPostalCode *string `json:"sitPostalCode"`
// contains filtered or unexported fields
}
MTOServiceItemOriginSIT Describes a domestic origin SIT service item. Subtype of a MTOServiceItem.
swagger:model MTOServiceItemOriginSIT
func (*MTOServiceItemOriginSIT) ContextValidate ¶
func (m *MTOServiceItemOriginSIT) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this m t o service item origin s i t based on the context it is used
func (*MTOServiceItemOriginSIT) ETag ¶
func (m *MTOServiceItemOriginSIT) ETag() string
ETag gets the e tag of this subtype
func (*MTOServiceItemOriginSIT) ID ¶
func (m *MTOServiceItemOriginSIT) ID() strfmt.UUID
ID gets the id of this subtype
func (*MTOServiceItemOriginSIT) MarshalBinary ¶
func (m *MTOServiceItemOriginSIT) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MTOServiceItemOriginSIT) MarshalJSON ¶
func (m MTOServiceItemOriginSIT) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MTOServiceItemOriginSIT) ModelType ¶
func (m *MTOServiceItemOriginSIT) ModelType() MTOServiceItemModelType
ModelType gets the model type of this subtype
func (*MTOServiceItemOriginSIT) MoveTaskOrderID ¶
func (m *MTOServiceItemOriginSIT) MoveTaskOrderID() *strfmt.UUID
MoveTaskOrderID gets the move task order ID of this subtype
func (*MTOServiceItemOriginSIT) MtoShipmentID ¶
func (m *MTOServiceItemOriginSIT) MtoShipmentID() strfmt.UUID
MtoShipmentID gets the mto shipment ID of this subtype
func (*MTOServiceItemOriginSIT) ReServiceName ¶
func (m *MTOServiceItemOriginSIT) ReServiceName() string
ReServiceName gets the re service name of this subtype
func (*MTOServiceItemOriginSIT) RejectionReason ¶
func (m *MTOServiceItemOriginSIT) RejectionReason() *string
RejectionReason gets the rejection reason of this subtype
func (*MTOServiceItemOriginSIT) SetETag ¶
func (m *MTOServiceItemOriginSIT) SetETag(val string)
SetETag sets the e tag of this subtype
func (*MTOServiceItemOriginSIT) SetID ¶
func (m *MTOServiceItemOriginSIT) SetID(val strfmt.UUID)
SetID sets the id of this subtype
func (*MTOServiceItemOriginSIT) SetModelType ¶
func (m *MTOServiceItemOriginSIT) SetModelType(val MTOServiceItemModelType)
SetModelType sets the model type of this subtype
func (*MTOServiceItemOriginSIT) SetMoveTaskOrderID ¶
func (m *MTOServiceItemOriginSIT) SetMoveTaskOrderID(val *strfmt.UUID)
SetMoveTaskOrderID sets the move task order ID of this subtype
func (*MTOServiceItemOriginSIT) SetMtoShipmentID ¶
func (m *MTOServiceItemOriginSIT) SetMtoShipmentID(val strfmt.UUID)
SetMtoShipmentID sets the mto shipment ID of this subtype
func (*MTOServiceItemOriginSIT) SetReServiceName ¶
func (m *MTOServiceItemOriginSIT) SetReServiceName(val string)
SetReServiceName sets the re service name of this subtype
func (*MTOServiceItemOriginSIT) SetRejectionReason ¶
func (m *MTOServiceItemOriginSIT) SetRejectionReason(val *string)
SetRejectionReason sets the rejection reason of this subtype
func (*MTOServiceItemOriginSIT) SetStatus ¶
func (m *MTOServiceItemOriginSIT) SetStatus(val MTOServiceItemStatus)
SetStatus sets the status of this subtype
func (*MTOServiceItemOriginSIT) Status ¶
func (m *MTOServiceItemOriginSIT) Status() MTOServiceItemStatus
Status gets the status of this subtype
func (*MTOServiceItemOriginSIT) UnmarshalBinary ¶
func (m *MTOServiceItemOriginSIT) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MTOServiceItemOriginSIT) UnmarshalJSON ¶
func (m *MTOServiceItemOriginSIT) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MTOServiceItemShuttle ¶
type MTOServiceItemShuttle struct {
// Provided by the movers, based on weight tickets. Relevant for shuttling (DDSHUT & DOSHUT) service items.
// Example: 4000
ActualWeight *int64 `json:"actualWeight"`
// An estimate of how much weight from a shipment will be included in a shuttling (DDSHUT & DOSHUT) service item.
// Example: 4200
EstimatedWeight *int64 `json:"estimatedWeight"`
// Service codes allowed for this model type.
// Required: true
// Enum: [DOSHUT DDSHUT]
ReServiceCode *string `json:"reServiceCode"`
// Explanation of why a shuttle service is required.
// Example: Storage items need to be picked up.
// Required: true
Reason *string `json:"reason"`
// contains filtered or unexported fields
}
MTOServiceItemShuttle Describes a shuttle service item.
swagger:model MTOServiceItemShuttle
func (*MTOServiceItemShuttle) ContextValidate ¶
ContextValidate validate this m t o service item shuttle based on the context it is used
func (*MTOServiceItemShuttle) ETag ¶
func (m *MTOServiceItemShuttle) ETag() string
ETag gets the e tag of this subtype
func (*MTOServiceItemShuttle) ID ¶
func (m *MTOServiceItemShuttle) ID() strfmt.UUID
ID gets the id of this subtype
func (*MTOServiceItemShuttle) MarshalBinary ¶
func (m *MTOServiceItemShuttle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MTOServiceItemShuttle) MarshalJSON ¶
func (m MTOServiceItemShuttle) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MTOServiceItemShuttle) ModelType ¶
func (m *MTOServiceItemShuttle) ModelType() MTOServiceItemModelType
ModelType gets the model type of this subtype
func (*MTOServiceItemShuttle) MoveTaskOrderID ¶
func (m *MTOServiceItemShuttle) MoveTaskOrderID() *strfmt.UUID
MoveTaskOrderID gets the move task order ID of this subtype
func (*MTOServiceItemShuttle) MtoShipmentID ¶
func (m *MTOServiceItemShuttle) MtoShipmentID() strfmt.UUID
MtoShipmentID gets the mto shipment ID of this subtype
func (*MTOServiceItemShuttle) ReServiceName ¶
func (m *MTOServiceItemShuttle) ReServiceName() string
ReServiceName gets the re service name of this subtype
func (*MTOServiceItemShuttle) RejectionReason ¶
func (m *MTOServiceItemShuttle) RejectionReason() *string
RejectionReason gets the rejection reason of this subtype
func (*MTOServiceItemShuttle) SetETag ¶
func (m *MTOServiceItemShuttle) SetETag(val string)
SetETag sets the e tag of this subtype
func (*MTOServiceItemShuttle) SetID ¶
func (m *MTOServiceItemShuttle) SetID(val strfmt.UUID)
SetID sets the id of this subtype
func (*MTOServiceItemShuttle) SetModelType ¶
func (m *MTOServiceItemShuttle) SetModelType(val MTOServiceItemModelType)
SetModelType sets the model type of this subtype
func (*MTOServiceItemShuttle) SetMoveTaskOrderID ¶
func (m *MTOServiceItemShuttle) SetMoveTaskOrderID(val *strfmt.UUID)
SetMoveTaskOrderID sets the move task order ID of this subtype
func (*MTOServiceItemShuttle) SetMtoShipmentID ¶
func (m *MTOServiceItemShuttle) SetMtoShipmentID(val strfmt.UUID)
SetMtoShipmentID sets the mto shipment ID of this subtype
func (*MTOServiceItemShuttle) SetReServiceName ¶
func (m *MTOServiceItemShuttle) SetReServiceName(val string)
SetReServiceName sets the re service name of this subtype
func (*MTOServiceItemShuttle) SetRejectionReason ¶
func (m *MTOServiceItemShuttle) SetRejectionReason(val *string)
SetRejectionReason sets the rejection reason of this subtype
func (*MTOServiceItemShuttle) SetStatus ¶
func (m *MTOServiceItemShuttle) SetStatus(val MTOServiceItemStatus)
SetStatus sets the status of this subtype
func (*MTOServiceItemShuttle) Status ¶
func (m *MTOServiceItemShuttle) Status() MTOServiceItemStatus
Status gets the status of this subtype
func (*MTOServiceItemShuttle) UnmarshalBinary ¶
func (m *MTOServiceItemShuttle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MTOServiceItemShuttle) UnmarshalJSON ¶
func (m *MTOServiceItemShuttle) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MTOServiceItemStatus ¶
type MTOServiceItemStatus string
MTOServiceItemStatus Describes all statuses for a MTOServiceItem.
swagger:model MTOServiceItemStatus
const ( // MTOServiceItemStatusSUBMITTED captures enum value "SUBMITTED" MTOServiceItemStatusSUBMITTED MTOServiceItemStatus = "SUBMITTED" // MTOServiceItemStatusAPPROVED captures enum value "APPROVED" MTOServiceItemStatusAPPROVED MTOServiceItemStatus = "APPROVED" // MTOServiceItemStatusREJECTED captures enum value "REJECTED" MTOServiceItemStatusREJECTED MTOServiceItemStatus = "REJECTED" )
func NewMTOServiceItemStatus ¶
func NewMTOServiceItemStatus(value MTOServiceItemStatus) *MTOServiceItemStatus
func (MTOServiceItemStatus) ContextValidate ¶
ContextValidate validates this m t o service item status based on context it is used
func (MTOServiceItemStatus) Pointer ¶
func (m MTOServiceItemStatus) Pointer() *MTOServiceItemStatus
Pointer returns a pointer to a freshly-allocated MTOServiceItemStatus.
type MTOShipment ¶
type MTOShipment struct {
// actual pickup date
// Format: date
ActualPickupDate strfmt.Date `json:"actualPickupDate,omitempty"`
// agents
Agents MTOAgents `json:"agents,omitempty"`
// date when the shipment was given the status "APPROVED"
// Read Only: true
// Format: date
ApprovedDate strfmt.Date `json:"approvedDate,omitempty"`
// created at
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// customer remarks
// Example: handle with care
// Read Only: true
CustomerRemarks *string `json:"customerRemarks,omitempty"`
// destination address
DestinationAddress *Address `json:"destinationAddress,omitempty"`
// diversion
Diversion bool `json:"diversion,omitempty"`
// e tag
// Read Only: true
ETag string `json:"eTag,omitempty"`
// first available delivery date
// Format: date
FirstAvailableDeliveryDate strfmt.Date `json:"firstAvailableDeliveryDate,omitempty"`
// id
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// move task order ID
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Read Only: true
// Format: uuid
MoveTaskOrderID strfmt.UUID `json:"moveTaskOrderID,omitempty"`
// pickup address
PickupAddress *Address `json:"pickupAddress,omitempty"`
// Email or id of a contact person for this update.
PointOfContact string `json:"pointOfContact,omitempty"`
// prime actual weight
// Example: 4500
PrimeActualWeight int64 `json:"primeActualWeight,omitempty"`
// prime estimated weight
// Example: 4500
PrimeEstimatedWeight int64 `json:"primeEstimatedWeight,omitempty"`
// prime estimated weight recorded date
// Read Only: true
// Format: date
PrimeEstimatedWeightRecordedDate strfmt.Date `json:"primeEstimatedWeightRecordedDate,omitempty"`
// rejection reason
// Example: MTO Shipment not good enough
// Read Only: true
RejectionReason *string `json:"rejectionReason,omitempty"`
// requested pickup date
// Read Only: true
// Format: date
RequestedPickupDate strfmt.Date `json:"requestedPickupDate,omitempty"`
// required delivery date
// Read Only: true
// Format: date
RequiredDeliveryDate strfmt.Date `json:"requiredDeliveryDate,omitempty"`
// scheduled pickup date
// Format: date
ScheduledPickupDate strfmt.Date `json:"scheduledPickupDate,omitempty"`
// secondary delivery address
SecondaryDeliveryAddress *Address `json:"secondaryDeliveryAddress,omitempty"`
// secondary pickup address
SecondaryPickupAddress *Address `json:"secondaryPickupAddress,omitempty"`
// shipment type
ShipmentType MTOShipmentType `json:"shipmentType,omitempty"`
// status
// Read Only: true
// Enum: [APPROVED SUBMITTED REJECTED CANCELLATION_REQUESTED CANCELED DIVERSION_REQUESTED]
Status string `json:"status,omitempty"`
// tertiary delivery address
TertiaryDeliveryAddress *Address `json:"tertiaryDeliveryAddress,omitempty"`
// tertiary pickup address
TertiaryPickupAddress *Address `json:"tertiaryPickupAddress,omitempty"`
// updated at
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// contains filtered or unexported fields
}
MTOShipment m t o shipment
swagger:model MTOShipment
func (*MTOShipment) ContextValidate ¶
ContextValidate validate this m t o shipment based on the context it is used
func (*MTOShipment) MarshalBinary ¶
func (m *MTOShipment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MTOShipment) MarshalJSON ¶
func (m MTOShipment) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MTOShipment) MtoServiceItems ¶
func (m *MTOShipment) MtoServiceItems() []MTOServiceItem
MtoServiceItems gets the mto service items of this base type
func (*MTOShipment) SetMtoServiceItems ¶
func (m *MTOShipment) SetMtoServiceItems(val []MTOServiceItem)
SetMtoServiceItems sets the mto service items of this base type
func (*MTOShipment) UnmarshalBinary ¶
func (m *MTOShipment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MTOShipment) UnmarshalJSON ¶
func (m *MTOShipment) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MTOShipmentType ¶
type MTOShipmentType string
MTOShipmentType Shipment Type Example: HHG
swagger:model MTOShipmentType
const ( // MTOShipmentTypeHHG captures enum value "HHG" MTOShipmentTypeHHG MTOShipmentType = "HHG" // MTOShipmentTypeINTERNATIONALHHG captures enum value "INTERNATIONAL_HHG" MTOShipmentTypeINTERNATIONALHHG MTOShipmentType = "INTERNATIONAL_HHG" // MTOShipmentTypeINTERNATIONALUB captures enum value "INTERNATIONAL_UB" MTOShipmentTypeINTERNATIONALUB MTOShipmentType = "INTERNATIONAL_UB" )
func NewMTOShipmentType ¶
func NewMTOShipmentType(value MTOShipmentType) *MTOShipmentType
func (MTOShipmentType) ContextValidate ¶
ContextValidate validates this m t o shipment type based on context it is used
func (MTOShipmentType) Pointer ¶
func (m MTOShipmentType) Pointer() *MTOShipmentType
Pointer returns a pointer to a freshly-allocated MTOShipmentType.
type MTOShipments ¶
type MTOShipments []*MTOShipment
MTOShipments m t o shipments
swagger:model MTOShipments
func (MTOShipments) ContextValidate ¶
ContextValidate validate this m t o shipments based on the context it is used
type MoveStatus ¶
type MoveStatus string
MoveStatus Current status of this MoveTaskOrder
swagger:model MoveStatus
const ( // MoveStatusDRAFT captures enum value "DRAFT" MoveStatusDRAFT MoveStatus = "DRAFT" // MoveStatusSUBMITTED captures enum value "SUBMITTED" MoveStatusSUBMITTED MoveStatus = "SUBMITTED" // MoveStatusAPPROVED captures enum value "APPROVED" MoveStatusAPPROVED MoveStatus = "APPROVED" // MoveStatusCANCELED captures enum value "CANCELED" MoveStatusCANCELED MoveStatus = "CANCELED" )
func NewMoveStatus ¶
func NewMoveStatus(value MoveStatus) *MoveStatus
func (MoveStatus) ContextValidate ¶
ContextValidate validates this move status based on context it is used
func (MoveStatus) Pointer ¶
func (m MoveStatus) Pointer() *MoveStatus
Pointer returns a pointer to a freshly-allocated MoveStatus.
type MoveTaskOrder ¶
type MoveTaskOrder struct {
// Indicates this MoveTaskOrder has been approved by an office user such as the Task Ordering Officer (TOO).
//
// Format: date-time
ApprovedAt *strfmt.DateTime `json:"approvedAt,omitempty"`
// Indicates this MoveTaskOrder is available for Prime API handling.
//
// In production, only MoveTaskOrders for which this is set will be available to the API.
//
// Format: date-time
AvailableToPrimeAt *strfmt.DateTime `json:"availableToPrimeAt,omitempty"`
// ID associated with the contractor, in this case Prime
//
// Example: 5db13bb4-6d29-4bdb-bc81-262f4513ecf6
// Required: true
// Format: uuid
ContractorID *strfmt.UUID `json:"contractorID"`
// Date the MoveTaskOrder was created on.
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// Uniquely identifies the state of the MoveTaskOrder object (but not the nested objects)
//
// It will change everytime the object is updated. Client should store the value.
// Updates to this MoveTaskOrder will require that this eTag be passed in with the If-Match header.
//
// Read Only: true
ETag string `json:"eTag,omitempty"`
// ID of the MoveTaskOrder object.
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// Unique 6-character code the customer can use to refer to their move
// Example: ABC123
// Read Only: true
MoveCode string `json:"moveCode,omitempty"`
// mto shipments
MtoShipments MTOShipments `json:"mtoShipments,omitempty"`
// order
// Required: true
Order *Order `json:"order"`
// ID of the Order object
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
OrderID strfmt.UUID `json:"orderID,omitempty"`
// payment requests
PaymentRequests PaymentRequests `json:"paymentRequests,omitempty"`
// If the move is a PPM, this is the estimated weight in lbs.
PpmEstimatedWeight int64 `json:"ppmEstimatedWeight,omitempty"`
// If the move is a PPM, indicates whether it is full or partial.
// Enum: [FULL PARTIAL]
PpmType string `json:"ppmType,omitempty"`
// Unique ID associated with this Order.
//
// No two MoveTaskOrders may have the same ID.
// Attempting to create a MoveTaskOrder may fail if this referenceId has been used already.
//
// Example: 1001-3456
// Read Only: true
ReferenceID string `json:"referenceId,omitempty"`
// status
Status MoveStatus `json:"status,omitempty"`
// Date on which this MoveTaskOrder was last updated.
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// contains filtered or unexported fields
}
MoveTaskOrder move task order
swagger:model MoveTaskOrder
func (*MoveTaskOrder) ContextValidate ¶
ContextValidate validate this move task order based on the context it is used
func (*MoveTaskOrder) MarshalBinary ¶
func (m *MoveTaskOrder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (MoveTaskOrder) MarshalJSON ¶
func (m MoveTaskOrder) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*MoveTaskOrder) MtoServiceItems ¶
func (m *MoveTaskOrder) MtoServiceItems() []MTOServiceItem
MtoServiceItems gets the mto service items of this base type
func (*MoveTaskOrder) SetMtoServiceItems ¶
func (m *MoveTaskOrder) SetMtoServiceItems(val []MTOServiceItem)
SetMtoServiceItems sets the mto service items of this base type
func (*MoveTaskOrder) UnmarshalBinary ¶
func (m *MoveTaskOrder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveTaskOrder) UnmarshalJSON ¶
func (m *MoveTaskOrder) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type MoveTaskOrders ¶
type MoveTaskOrders []*MoveTaskOrder
MoveTaskOrders move task orders
swagger:model MoveTaskOrders
func (MoveTaskOrders) ContextValidate ¶
ContextValidate validate this move task orders based on the context it is used
type Order ¶
type Order struct {
// customer
Customer *Customer `json:"customer,omitempty"`
// ID of the Customer this Order belongs to.
//
// If creating a MoveTaskOrder. either an existing customerID should be provided or the nested customer object should be populated for creation.
//
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
CustomerID *strfmt.UUID `json:"customerID,omitempty"`
// department indicator
// Required: true
DepartmentIndicator *DeptIndicator `json:"departmentIndicator"`
// destination duty location
DestinationDutyLocation *DutyLocation `json:"destinationDutyLocation,omitempty"`
// ID of the destination duty station.
//
// If creating a MoveTaskOrder, this should match an existing duty station.
//
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
DestinationDutyLocationID *strfmt.UUID `json:"destinationDutyLocationID"`
// Uniquely identifies the state of the Order object (but not the nested objects)
//
// It will change everytime the object is updated. Client should store the value.
// Updates to this Order will require that this eTag be passed in with the If-Match header.
//
// Read Only: true
ETag string `json:"eTag,omitempty"`
// entitlement
Entitlement *Entitlement `json:"entitlement,omitempty"`
// ID of the Order object.
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// The date the orders were issued.
// Required: true
// Format: date
IssueDate *strfmt.Date `json:"issueDate"`
// ID of the military orders associated with this move.
// Example: 030-00362
// Required: true
OrderNumber *string `json:"orderNumber"`
// orders type
// Required: true
OrdersType *OrdersType `json:"ordersType"`
// orders type detail
// Required: true
OrdersTypeDetail *OrdersTypeDetail `json:"ordersTypeDetail"`
// origin duty location
OriginDutyLocation *DutyLocation `json:"originDutyLocation,omitempty"`
// ID of the origin duty station.
//
// If creating a MoveTaskOrder, this should match an existing duty station.
//
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
OriginDutyLocationID *strfmt.UUID `json:"originDutyLocationID"`
// rank
// Required: true
Rank *Rank `json:"rank"`
// Date that the service member must report to the new DutyLocation by.
// Required: true
// Format: date
ReportByDate *strfmt.Date `json:"reportByDate"`
// status
// Required: true
Status *OrdersStatus `json:"status"`
// TAC
// Example: F8J1
// Required: true
Tac *string `json:"tac"`
// uploaded orders
UploadedOrders *Document `json:"uploadedOrders,omitempty"`
// ID of the uploaded document.
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
UploadedOrdersID *strfmt.UUID `json:"uploadedOrdersID"`
}
Order order
swagger:model Order
func (*Order) ContextValidate ¶
ContextValidate validate this order based on the context it is used
func (*Order) MarshalBinary ¶
MarshalBinary interface implementation
func (*Order) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrdersStatus ¶
type OrdersStatus string
OrdersStatus Move status
swagger:model OrdersStatus
const ( // OrdersStatusDRAFT captures enum value "DRAFT" OrdersStatusDRAFT OrdersStatus = "DRAFT" // OrdersStatusSUBMITTED captures enum value "SUBMITTED" OrdersStatusSUBMITTED OrdersStatus = "SUBMITTED" // OrdersStatusAPPROVED captures enum value "APPROVED" OrdersStatusAPPROVED OrdersStatus = "APPROVED" // OrdersStatusCANCELED captures enum value "CANCELED" OrdersStatusCANCELED OrdersStatus = "CANCELED" )
func NewOrdersStatus ¶
func NewOrdersStatus(value OrdersStatus) *OrdersStatus
func (OrdersStatus) ContextValidate ¶
ContextValidate validates this orders status based on context it is used
func (OrdersStatus) Pointer ¶
func (m OrdersStatus) Pointer() *OrdersStatus
Pointer returns a pointer to a freshly-allocated OrdersStatus.
type OrdersType ¶
type OrdersType string
OrdersType Orders type
swagger:model OrdersType
const ( // OrdersTypePERMANENTCHANGEOFSTATION captures enum value "PERMANENT_CHANGE_OF_STATION" OrdersTypePERMANENTCHANGEOFSTATION OrdersType = "PERMANENT_CHANGE_OF_STATION" // OrdersTypeLOCALMOVE captures enum value "LOCAL_MOVE" OrdersTypeLOCALMOVE OrdersType = "LOCAL_MOVE" // OrdersTypeRETIREMENT captures enum value "RETIREMENT" OrdersTypeRETIREMENT OrdersType = "RETIREMENT" // OrdersTypeSEPARATION captures enum value "SEPARATION" OrdersTypeSEPARATION OrdersType = "SEPARATION" // OrdersTypeGHC captures enum value "GHC" OrdersTypeGHC OrdersType = "GHC" // OrdersTypeNTS captures enum value "NTS" OrdersTypeNTS OrdersType = "NTS" // OrdersTypeWOUNDEDWARRIOR captures enum value "WOUNDED_WARRIOR" OrdersTypeWOUNDEDWARRIOR OrdersType = "WOUNDED_WARRIOR" // OrdersTypeBLUEBARK captures enum value "BLUEBARK" OrdersTypeBLUEBARK OrdersType = "BLUEBARK" )
func NewOrdersType ¶
func NewOrdersType(value OrdersType) *OrdersType
func (OrdersType) ContextValidate ¶
ContextValidate validates this orders type based on context it is used
func (OrdersType) Pointer ¶
func (m OrdersType) Pointer() *OrdersType
Pointer returns a pointer to a freshly-allocated OrdersType.
type OrdersTypeDetail ¶
type OrdersTypeDetail string
OrdersTypeDetail Orders type detail
swagger:model OrdersTypeDetail
const ( // OrdersTypeDetailHHGPERMITTED captures enum value "HHG_PERMITTED" OrdersTypeDetailHHGPERMITTED OrdersTypeDetail = "HHG_PERMITTED" // OrdersTypeDetailPCSTDY captures enum value "PCS_TDY" OrdersTypeDetailPCSTDY OrdersTypeDetail = "PCS_TDY" // OrdersTypeDetailHHGRESTRICTEDPROHIBITED captures enum value "HHG_RESTRICTED_PROHIBITED" OrdersTypeDetailHHGRESTRICTEDPROHIBITED OrdersTypeDetail = "HHG_RESTRICTED_PROHIBITED" // OrdersTypeDetailHHGRESTRICTEDAREA captures enum value "HHG_RESTRICTED_AREA" OrdersTypeDetailHHGRESTRICTEDAREA OrdersTypeDetail = "HHG_RESTRICTED_AREA" // OrdersTypeDetailINSTRUCTION20WEEKS captures enum value "INSTRUCTION_20_WEEKS" OrdersTypeDetailINSTRUCTION20WEEKS OrdersTypeDetail = "INSTRUCTION_20_WEEKS" // OrdersTypeDetailHHGPROHIBITED20WEEKS captures enum value "HHG_PROHIBITED_20_WEEKS" OrdersTypeDetailHHGPROHIBITED20WEEKS OrdersTypeDetail = "HHG_PROHIBITED_20_WEEKS" // OrdersTypeDetailDELAYEDAPPROVAL captures enum value "DELAYED_APPROVAL" OrdersTypeDetailDELAYEDAPPROVAL OrdersTypeDetail = "DELAYED_APPROVAL" )
func NewOrdersTypeDetail ¶
func NewOrdersTypeDetail(value OrdersTypeDetail) *OrdersTypeDetail
func (OrdersTypeDetail) ContextValidate ¶
ContextValidate validates this orders type detail based on context it is used
func (OrdersTypeDetail) Pointer ¶
func (m OrdersTypeDetail) Pointer() *OrdersTypeDetail
Pointer returns a pointer to a freshly-allocated OrdersTypeDetail.
type PaymentRequest ¶
type PaymentRequest struct {
// document package
DocumentPackage *ProofOfServicePackage `json:"documentPackage,omitempty"`
// e tag
// Read Only: true
ETag string `json:"eTag,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// is final
IsFinal *bool `json:"isFinal,omitempty"`
// move task order ID
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
MoveTaskOrderID strfmt.UUID `json:"moveTaskOrderID,omitempty"`
// payment request number
// Example: 1234-5678-1
// Read Only: true
PaymentRequestNumber string `json:"paymentRequestNumber,omitempty"`
// recalculation of payment request ID
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
RecalculationOfPaymentRequestID *strfmt.UUID `json:"recalculationOfPaymentRequestID,omitempty"`
// rejection reason
// Example: documentation was incomplete
RejectionReason *string `json:"rejectionReason,omitempty"`
// status
Status PaymentRequestStatus `json:"status,omitempty"`
}
PaymentRequest payment request
swagger:model PaymentRequest
func (*PaymentRequest) ContextValidate ¶
ContextValidate validate this payment request based on the context it is used
func (*PaymentRequest) MarshalBinary ¶
func (m *PaymentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentRequest) UnmarshalBinary ¶
func (m *PaymentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentRequestEDI ¶
type PaymentRequestEDI struct {
// edi
// Read Only: true
Edi string `json:"edi,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
}
PaymentRequestEDI payment request e d i
swagger:model PaymentRequestEDI
func (*PaymentRequestEDI) ContextValidate ¶
ContextValidate validate this payment request e d i based on the context it is used
func (*PaymentRequestEDI) MarshalBinary ¶
func (m *PaymentRequestEDI) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentRequestEDI) UnmarshalBinary ¶
func (m *PaymentRequestEDI) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentRequestStatus ¶
type PaymentRequestStatus string
PaymentRequestStatus Payment Request Status
swagger:model PaymentRequestStatus
const ( // PaymentRequestStatusPENDING captures enum value "PENDING" PaymentRequestStatusPENDING PaymentRequestStatus = "PENDING" // PaymentRequestStatusREVIEWED captures enum value "REVIEWED" PaymentRequestStatusREVIEWED PaymentRequestStatus = "REVIEWED" // PaymentRequestStatusREVIEWEDANDALLSERVICEITEMSREJECTED captures enum value "REVIEWED_AND_ALL_SERVICE_ITEMS_REJECTED" PaymentRequestStatusREVIEWEDANDALLSERVICEITEMSREJECTED PaymentRequestStatus = "REVIEWED_AND_ALL_SERVICE_ITEMS_REJECTED" // PaymentRequestStatusSENTTOGEX captures enum value "SENT_TO_GEX" PaymentRequestStatusSENTTOGEX PaymentRequestStatus = "SENT_TO_GEX" // PaymentRequestStatusTPPSRECEIVED captures enum value "TPPS_RECEIVED" PaymentRequestStatusTPPSRECEIVED PaymentRequestStatus = "TPPS_RECEIVED" // PaymentRequestStatusPAID captures enum value "PAID" PaymentRequestStatusPAID PaymentRequestStatus = "PAID" // PaymentRequestStatusEDIERROR captures enum value "EDI_ERROR" PaymentRequestStatusEDIERROR PaymentRequestStatus = "EDI_ERROR" // PaymentRequestStatusDEPRECATED captures enum value "DEPRECATED" PaymentRequestStatusDEPRECATED PaymentRequestStatus = "DEPRECATED" )
func NewPaymentRequestStatus ¶
func NewPaymentRequestStatus(value PaymentRequestStatus) *PaymentRequestStatus
func (PaymentRequestStatus) ContextValidate ¶
ContextValidate validates this payment request status based on context it is used
func (PaymentRequestStatus) Pointer ¶
func (m PaymentRequestStatus) Pointer() *PaymentRequestStatus
Pointer returns a pointer to a freshly-allocated PaymentRequestStatus.
type PaymentRequests ¶
type PaymentRequests []*PaymentRequest
PaymentRequests payment requests
swagger:model PaymentRequests
func (PaymentRequests) ContextValidate ¶
ContextValidate validate this payment requests based on the context it is used
type ProcessReviewedPaymentRequests ¶
type ProcessReviewedPaymentRequests struct {
// delete from syncada
// Example: true
// Required: true
DeleteFromSyncada *bool `json:"deleteFromSyncada"`
// payment request ID
// Example: 1f2270c7-7166-40ae-981e-b200ebdf3054
// Format: uuid
PaymentRequestID strfmt.UUID `json:"paymentRequestID,omitempty"`
// read from syncada
// Example: true
// Required: true
ReadFromSyncada *bool `json:"readFromSyncada"`
// send to syncada
// Example: true
// Required: true
SendToSyncada *bool `json:"sendToSyncada"`
// status
Status PaymentRequestStatus `json:"status,omitempty"`
}
ProcessReviewedPaymentRequests process reviewed payment requests
swagger:model ProcessReviewedPaymentRequests
func (*ProcessReviewedPaymentRequests) ContextValidate ¶
func (m *ProcessReviewedPaymentRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this process reviewed payment requests based on the context it is used
func (*ProcessReviewedPaymentRequests) MarshalBinary ¶
func (m *ProcessReviewedPaymentRequests) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProcessReviewedPaymentRequests) UnmarshalBinary ¶
func (m *ProcessReviewedPaymentRequests) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProofOfServicePackage ¶
type ProofOfServicePackage struct {
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// uploads
Uploads []*UploadWithOmissions `json:"uploads"`
}
ProofOfServicePackage proof of service package
swagger:model ProofOfServicePackage
func (*ProofOfServicePackage) ContextValidate ¶
ContextValidate validate this proof of service package based on the context it is used
func (*ProofOfServicePackage) MarshalBinary ¶
func (m *ProofOfServicePackage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProofOfServicePackage) UnmarshalBinary ¶
func (m *ProofOfServicePackage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rank ¶
type Rank string
Rank Rank of the service member, must match specific list of available ranks.
swagger:model Rank
const ( // RankE1 captures enum value "E_1" RankE1 Rank = "E_1" // RankE2 captures enum value "E_2" RankE2 Rank = "E_2" // RankE3 captures enum value "E_3" RankE3 Rank = "E_3" // RankE4 captures enum value "E_4" RankE4 Rank = "E_4" // RankE5 captures enum value "E_5" RankE5 Rank = "E_5" // RankE6 captures enum value "E_6" RankE6 Rank = "E_6" // RankE7 captures enum value "E_7" RankE7 Rank = "E_7" // RankE8 captures enum value "E_8" RankE8 Rank = "E_8" // RankE9 captures enum value "E_9" RankE9 Rank = "E_9" // RankE9SPECIALSENIORENLISTED captures enum value "E_9_SPECIAL_SENIOR_ENLISTED" RankE9SPECIALSENIORENLISTED Rank = "E_9_SPECIAL_SENIOR_ENLISTED" // RankO1ACADEMYGRADUATE captures enum value "O_1_ACADEMY_GRADUATE" RankO1ACADEMYGRADUATE Rank = "O_1_ACADEMY_GRADUATE" // RankO2 captures enum value "O_2" RankO2 Rank = "O_2" // RankO3 captures enum value "O_3" RankO3 Rank = "O_3" // RankO4 captures enum value "O_4" RankO4 Rank = "O_4" // RankO5 captures enum value "O_5" RankO5 Rank = "O_5" // RankO6 captures enum value "O_6" RankO6 Rank = "O_6" // RankO7 captures enum value "O_7" RankO7 Rank = "O_7" // RankO8 captures enum value "O_8" RankO8 Rank = "O_8" // RankO9 captures enum value "O_9" RankO9 Rank = "O_9" // RankO10 captures enum value "O_10" RankO10 Rank = "O_10" // RankW1 captures enum value "W_1" RankW1 Rank = "W_1" // RankW2 captures enum value "W_2" RankW2 Rank = "W_2" // RankW3 captures enum value "W_3" RankW3 Rank = "W_3" // RankW4 captures enum value "W_4" RankW4 Rank = "W_4" // RankW5 captures enum value "W_5" RankW5 Rank = "W_5" // RankAVIATIONCADET captures enum value "AVIATION_CADET" RankAVIATIONCADET Rank = "AVIATION_CADET" // RankCIVILIANEMPLOYEE captures enum value "CIVILIAN_EMPLOYEE" RankCIVILIANEMPLOYEE Rank = "CIVILIAN_EMPLOYEE" // RankACADEMYCADET captures enum value "ACADEMY_CADET" RankACADEMYCADET Rank = "ACADEMY_CADET" // RankMIDSHIPMAN captures enum value "MIDSHIPMAN" RankMIDSHIPMAN Rank = "MIDSHIPMAN" )
func (Rank) ContextValidate ¶
ContextValidate validates this rank based on context it is used
type ReServiceCode ¶
type ReServiceCode string
ReServiceCode This is the full list of service items that can be found on a shipment. Not all service items may be requested by the Prime, but may be returned in a response.
Documentation of all the service items will be provided.
swagger:model ReServiceCode
const ( // ReServiceCodeCS captures enum value "CS" ReServiceCodeCS ReServiceCode = "CS" // ReServiceCodeDBHF captures enum value "DBHF" ReServiceCodeDBHF ReServiceCode = "DBHF" // ReServiceCodeDBTF captures enum value "DBTF" ReServiceCodeDBTF ReServiceCode = "DBTF" // ReServiceCodeDCRT captures enum value "DCRT" ReServiceCodeDCRT ReServiceCode = "DCRT" // ReServiceCodeDDASIT captures enum value "DDASIT" ReServiceCodeDDASIT ReServiceCode = "DDASIT" // ReServiceCodeDDDSIT captures enum value "DDDSIT" ReServiceCodeDDDSIT ReServiceCode = "DDDSIT" // ReServiceCodeDDFSIT captures enum value "DDFSIT" ReServiceCodeDDFSIT ReServiceCode = "DDFSIT" // ReServiceCodeDDP captures enum value "DDP" ReServiceCodeDDP ReServiceCode = "DDP" // ReServiceCodeDDSHUT captures enum value "DDSHUT" ReServiceCodeDDSHUT ReServiceCode = "DDSHUT" // ReServiceCodeDLH captures enum value "DLH" ReServiceCodeDLH ReServiceCode = "DLH" // ReServiceCodeDMHF captures enum value "DMHF" ReServiceCodeDMHF ReServiceCode = "DMHF" // ReServiceCodeDNPK captures enum value "DNPK" ReServiceCodeDNPK ReServiceCode = "DNPK" // ReServiceCodeDOASIT captures enum value "DOASIT" ReServiceCodeDOASIT ReServiceCode = "DOASIT" // ReServiceCodeDOFSIT captures enum value "DOFSIT" ReServiceCodeDOFSIT ReServiceCode = "DOFSIT" // ReServiceCodeDOP captures enum value "DOP" ReServiceCodeDOP ReServiceCode = "DOP" // ReServiceCodeDOPSIT captures enum value "DOPSIT" ReServiceCodeDOPSIT ReServiceCode = "DOPSIT" // ReServiceCodeDOSHUT captures enum value "DOSHUT" ReServiceCodeDOSHUT ReServiceCode = "DOSHUT" // ReServiceCodeDPK captures enum value "DPK" ReServiceCodeDPK ReServiceCode = "DPK" // ReServiceCodeDSH captures enum value "DSH" ReServiceCodeDSH ReServiceCode = "DSH" // ReServiceCodeDUCRT captures enum value "DUCRT" ReServiceCodeDUCRT ReServiceCode = "DUCRT" // ReServiceCodeDUPK captures enum value "DUPK" ReServiceCodeDUPK ReServiceCode = "DUPK" // ReServiceCodeFSC captures enum value "FSC" ReServiceCodeFSC ReServiceCode = "FSC" // ReServiceCodeIBHF captures enum value "IBHF" ReServiceCodeIBHF ReServiceCode = "IBHF" // ReServiceCodeIBTF captures enum value "IBTF" ReServiceCodeIBTF ReServiceCode = "IBTF" // ReServiceCodeICOLH captures enum value "ICOLH" ReServiceCodeICOLH ReServiceCode = "ICOLH" // ReServiceCodeICOUB captures enum value "ICOUB" ReServiceCodeICOUB ReServiceCode = "ICOUB" // ReServiceCodeICRT captures enum value "ICRT" ReServiceCodeICRT ReServiceCode = "ICRT" // ReServiceCodeICRTSA captures enum value "ICRTSA" ReServiceCodeICRTSA ReServiceCode = "ICRTSA" // ReServiceCodeIDASIT captures enum value "IDASIT" ReServiceCodeIDASIT ReServiceCode = "IDASIT" // ReServiceCodeIDDSIT captures enum value "IDDSIT" ReServiceCodeIDDSIT ReServiceCode = "IDDSIT" // ReServiceCodeIDFSIT captures enum value "IDFSIT" ReServiceCodeIDFSIT ReServiceCode = "IDFSIT" // ReServiceCodeIDSHUT captures enum value "IDSHUT" ReServiceCodeIDSHUT ReServiceCode = "IDSHUT" // ReServiceCodeIHPK captures enum value "IHPK" ReServiceCodeIHPK ReServiceCode = "IHPK" // ReServiceCodeIHUPK captures enum value "IHUPK" ReServiceCodeIHUPK ReServiceCode = "IHUPK" // ReServiceCodeINPK captures enum value "INPK" ReServiceCodeINPK ReServiceCode = "INPK" // ReServiceCodeIOASIT captures enum value "IOASIT" ReServiceCodeIOASIT ReServiceCode = "IOASIT" // ReServiceCodeIOCLH captures enum value "IOCLH" ReServiceCodeIOCLH ReServiceCode = "IOCLH" // ReServiceCodeIOCUB captures enum value "IOCUB" ReServiceCodeIOCUB ReServiceCode = "IOCUB" // ReServiceCodeIOFSIT captures enum value "IOFSIT" ReServiceCodeIOFSIT ReServiceCode = "IOFSIT" // ReServiceCodeIOOLH captures enum value "IOOLH" ReServiceCodeIOOLH ReServiceCode = "IOOLH" // ReServiceCodeIOOUB captures enum value "IOOUB" ReServiceCodeIOOUB ReServiceCode = "IOOUB" // ReServiceCodeIOPSIT captures enum value "IOPSIT" ReServiceCodeIOPSIT ReServiceCode = "IOPSIT" // ReServiceCodeIOSHUT captures enum value "IOSHUT" ReServiceCodeIOSHUT ReServiceCode = "IOSHUT" // ReServiceCodeIUBPK captures enum value "IUBPK" ReServiceCodeIUBPK ReServiceCode = "IUBPK" // ReServiceCodeIUBUPK captures enum value "IUBUPK" ReServiceCodeIUBUPK ReServiceCode = "IUBUPK" // ReServiceCodeIUCRT captures enum value "IUCRT" ReServiceCodeIUCRT ReServiceCode = "IUCRT" // ReServiceCodeMS captures enum value "MS" ReServiceCodeMS ReServiceCode = "MS" // ReServiceCodeNSTH captures enum value "NSTH" ReServiceCodeNSTH ReServiceCode = "NSTH" // ReServiceCodeNSTUB captures enum value "NSTUB" ReServiceCodeNSTUB ReServiceCode = "NSTUB" )
func NewReServiceCode ¶
func NewReServiceCode(value ReServiceCode) *ReServiceCode
func (ReServiceCode) ContextValidate ¶
ContextValidate validates this re service code based on context it is used
func (ReServiceCode) Pointer ¶
func (m ReServiceCode) Pointer() *ReServiceCode
Pointer returns a pointer to a freshly-allocated ReServiceCode.
type UpdateMTOServiceItemStatus ¶
type UpdateMTOServiceItemStatus struct {
// Reason the service item was rejected by the TOO""
// Example: item was too heavy
RejectionReason *string `json:"rejectionReason,omitempty"`
// status
Status MTOServiceItemStatus `json:"status,omitempty"`
}
UpdateMTOServiceItemStatus update m t o service item status
swagger:model UpdateMTOServiceItemStatus
func (*UpdateMTOServiceItemStatus) ContextValidate ¶
func (m *UpdateMTOServiceItemStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update m t o service item status based on the context it is used
func (*UpdateMTOServiceItemStatus) MarshalBinary ¶
func (m *UpdateMTOServiceItemStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateMTOServiceItemStatus) UnmarshalBinary ¶
func (m *UpdateMTOServiceItemStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateMTOShipmentStatus ¶
type UpdateMTOShipmentStatus struct {
// rejection reason
// Example: MTO Shipment not good enough
RejectionReason *string `json:"rejectionReason,omitempty"`
// status
// Enum: [REJECTED APPROVED SUBMITTED CANCELLATION_REQUESTED CANCELED DIVERSION_REQUESTED]
Status string `json:"status,omitempty"`
}
UpdateMTOShipmentStatus update m t o shipment status
swagger:model UpdateMTOShipmentStatus
func (*UpdateMTOShipmentStatus) ContextValidate ¶
func (m *UpdateMTOShipmentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update m t o shipment status based on context it is used
func (*UpdateMTOShipmentStatus) MarshalBinary ¶
func (m *UpdateMTOShipmentStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateMTOShipmentStatus) UnmarshalBinary ¶
func (m *UpdateMTOShipmentStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePaymentRequestStatus ¶
type UpdatePaymentRequestStatus struct {
// Attribute of the payment request object that automatically changes when the request is updated. This matches the value passed in the header for `If-Match`. Required when sending PUT or PATCH requests to prevent updating stale data.
// Read Only: true
ETag string `json:"eTag,omitempty"`
// A written reason to provide context for the status.
// Example: documentation was incomplete
RejectionReason *string `json:"rejectionReason,omitempty"`
// status
Status PaymentRequestStatus `json:"status,omitempty"`
}
UpdatePaymentRequestStatus update payment request status
swagger:model UpdatePaymentRequestStatus
func (*UpdatePaymentRequestStatus) ContextValidate ¶
func (m *UpdatePaymentRequestStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update payment request status based on the context it is used
func (*UpdatePaymentRequestStatus) MarshalBinary ¶
func (m *UpdatePaymentRequestStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePaymentRequestStatus) UnmarshalBinary ¶
func (m *UpdatePaymentRequestStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UploadWithOmissions ¶
type UploadWithOmissions struct {
// bytes
// Required: true
Bytes *int64 `json:"bytes"`
// content type
// Example: application/pdf
// Required: true
ContentType *string `json:"contentType"`
// created at
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// filename
// Example: filename.pdf
// Required: true
Filename *string `json:"filename"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// rotation
Rotation int64 `json:"rotation,omitempty"`
// status
// Enum: [INFECTED CLEAN PROCESSING]
Status string `json:"status,omitempty"`
// updated at
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// url
// Example: https://uploads.domain.test/dir/c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uri
URL strfmt.URI `json:"url,omitempty"`
}
UploadWithOmissions An uploaded file.
swagger:model UploadWithOmissions
func (*UploadWithOmissions) ContextValidate ¶
ContextValidate validate this upload with omissions based on the context it is used
func (*UploadWithOmissions) MarshalBinary ¶
func (m *UploadWithOmissions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UploadWithOmissions) UnmarshalBinary ¶
func (m *UploadWithOmissions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationError ¶
type ValidationError struct {
ClientError
// invalid fields
// Required: true
InvalidFields map[string][]string `json:"invalidFields"`
}
ValidationError validation error
swagger:model ValidationError
func (*ValidationError) ContextValidate ¶
ContextValidate validate this validation error based on the context it is used
func (*ValidationError) MarshalBinary ¶
func (m *ValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ValidationError) MarshalJSON ¶
func (m ValidationError) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ValidationError) UnmarshalBinary ¶
func (m *ValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ValidationError) UnmarshalJSON ¶
func (m *ValidationError) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type WebhookNotification ¶
type WebhookNotification struct {
// Time representing when the event was triggered
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// Name of event triggered
// Example: PaymentRequest.Update
EventKey string `json:"eventKey,omitempty"`
// Time representing when the system firstAttempted to send this notification
// Read Only: true
// Format: date-time
FirstAttemptedAt *strfmt.DateTime `json:"firstAttemptedAt,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// move task order ID
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
MoveTaskOrderID *strfmt.UUID `json:"moveTaskOrderID,omitempty"`
// object
Object *string `json:"object,omitempty"`
// object ID
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ObjectID *strfmt.UUID `json:"objectID,omitempty"`
// status
Status WebhookNotificationStatus `json:"status,omitempty"`
// trace ID
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
TraceID strfmt.UUID `json:"traceID,omitempty"`
// Time representing when the notification was last updated
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}
WebhookNotification webhook notification
swagger:model WebhookNotification
func (*WebhookNotification) ContextValidate ¶
ContextValidate validate this webhook notification based on the context it is used
func (*WebhookNotification) MarshalBinary ¶
func (m *WebhookNotification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookNotification) UnmarshalBinary ¶
func (m *WebhookNotification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookNotificationStatus ¶
type WebhookNotificationStatus string
WebhookNotificationStatus Statuses available for a Webhook Notification
swagger:model WebhookNotificationStatus
const ( // WebhookNotificationStatusPENDING captures enum value "PENDING" WebhookNotificationStatusPENDING WebhookNotificationStatus = "PENDING" // WebhookNotificationStatusSENT captures enum value "SENT" WebhookNotificationStatusSENT WebhookNotificationStatus = "SENT" // WebhookNotificationStatusSKIPPED captures enum value "SKIPPED" WebhookNotificationStatusSKIPPED WebhookNotificationStatus = "SKIPPED" // WebhookNotificationStatusFAILING captures enum value "FAILING" WebhookNotificationStatusFAILING WebhookNotificationStatus = "FAILING" // WebhookNotificationStatusFAILED captures enum value "FAILED" WebhookNotificationStatusFAILED WebhookNotificationStatus = "FAILED" )
func NewWebhookNotificationStatus ¶
func NewWebhookNotificationStatus(value WebhookNotificationStatus) *WebhookNotificationStatus
func (WebhookNotificationStatus) ContextValidate ¶
func (m WebhookNotificationStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this webhook notification status based on context it is used
func (WebhookNotificationStatus) Pointer ¶
func (m WebhookNotificationStatus) Pointer() *WebhookNotificationStatus
Pointer returns a pointer to a freshly-allocated WebhookNotificationStatus.
Source Files
¶
- address.go
- client_error.go
- customer.go
- dept_indicator.go
- document.go
- duty_location.go
- entitlement.go
- error.go
- m_t_o_agent.go
- m_t_o_agent_type.go
- m_t_o_agents.go
- m_t_o_hide_move.go
- m_t_o_hide_moves_response.go
- m_t_o_service_item.go
- m_t_o_service_item_basic.go
- m_t_o_service_item_dest_s_i_t.go
- m_t_o_service_item_dimension.go
- m_t_o_service_item_domestic_crating.go
- m_t_o_service_item_model_type.go
- m_t_o_service_item_origin_s_i_t.go
- m_t_o_service_item_shuttle.go
- m_t_o_service_item_status.go
- m_t_o_shipment.go
- m_t_o_shipment_type.go
- m_t_o_shipments.go
- move_status.go
- move_task_order.go
- move_task_orders.go
- order.go
- orders_status.go
- orders_type.go
- orders_type_detail.go
- payment_request.go
- payment_request_e_d_i.go
- payment_request_status.go
- payment_requests.go
- process_reviewed_payment_requests.go
- proof_of_service_package.go
- rank.go
- re_service_code.go
- update_m_t_o_service_item_status.go
- update_m_t_o_shipment_status.go
- update_payment_request_status.go
- upload_with_omissions.go
- validation_error.go
- webhook_notification.go
- webhook_notification_status.go