Documentation
¶
Index ¶
- Constants
- type Address
- type AdminUser
- type AdminUserCreate
- type AdminUserUpdate
- type AdminUsers
- type ClientCertificate
- type ClientCertificateCreate
- func (m *ClientCertificateCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClientCertificateCreate) MarshalBinary() ([]byte, error)
- func (m *ClientCertificateCreate) UnmarshalBinary(b []byte) error
- func (m *ClientCertificateCreate) Validate(formats strfmt.Registry) error
- type ClientCertificateUpdate
- func (m *ClientCertificateUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClientCertificateUpdate) MarshalBinary() ([]byte, error)
- func (m *ClientCertificateUpdate) UnmarshalBinary(b []byte) error
- func (m *ClientCertificateUpdate) Validate(formats strfmt.Registry) error
- type ClientCertificates
- type ClientError
- type CreateWebhookSubscription
- func (m *CreateWebhookSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateWebhookSubscription) MarshalBinary() ([]byte, error)
- func (m *CreateWebhookSubscription) UnmarshalBinary(b []byte) error
- func (m *CreateWebhookSubscription) Validate(formats strfmt.Registry) error
- type ElectronicOrder
- type ElectronicOrders
- type ElectronicOrdersTotal
- type ElectronicOrdersTotals
- type Issuer
- type Move
- type MoveStatus
- type MoveUpdate
- type Moves
- type Notification
- type Notifications
- type OfficeUser
- type OfficeUserCreate
- type OfficeUserPrivilege
- type OfficeUserRole
- type OfficeUserUpdate
- type OfficeUsers
- type OktaAccountInfoResponse
- func (m *OktaAccountInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OktaAccountInfoResponse) MarshalBinary() ([]byte, error)
- func (m *OktaAccountInfoResponse) UnmarshalBinary(b []byte) error
- func (m *OktaAccountInfoResponse) Validate(formats strfmt.Registry) error
- type Organization
- type Organizations
- type Privilege
- type RequestedOfficeUserUpdate
- func (m *RequestedOfficeUserUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RequestedOfficeUserUpdate) MarshalBinary() ([]byte, error)
- func (m *RequestedOfficeUserUpdate) UnmarshalBinary(b []byte) error
- func (m *RequestedOfficeUserUpdate) Validate(formats strfmt.Registry) error
- type Role
- type ServiceMember
- type TransportationOffice
- type TransportationOffices
- type Upload
- type UploadInformation
- type User
- type UserUpdate
- type Users
- 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 ValidationErrorAllOf1
- type WebhookSubscription
- type WebhookSubscriptionStatus
- type WebhookSubscriptions
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 ( // OfficeUserStatusAPPROVED captures enum value "APPROVED" OfficeUserStatusAPPROVED string = "APPROVED" // OfficeUserStatusREQUESTED captures enum value "REQUESTED" OfficeUserStatusREQUESTED string = "REQUESTED" // OfficeUserStatusREJECTED captures enum value "REJECTED" OfficeUserStatusREJECTED string = "REJECTED" )
const ( // RequestedOfficeUserUpdateStatusAPPROVED captures enum value "APPROVED" RequestedOfficeUserUpdateStatusAPPROVED string = "APPROVED" // RequestedOfficeUserUpdateStatusREJECTED captures enum value "REJECTED" RequestedOfficeUserUpdateStatusREJECTED string = "REJECTED" )
const ( // UploadContentTypeApplicationPdf captures enum value "application/pdf" UploadContentTypeApplicationPdf string = "application/pdf" // UploadContentTypeImageJpeg captures enum value "image/jpeg" UploadContentTypeImageJpeg string = "image/jpeg" // UploadContentTypeImagePng captures enum value "image/png" UploadContentTypeImagePng string = "image/png" )
const ( // NotificationNotificationTypeMOVEPAYMENTREMINDEREMAIL captures enum value "MOVE_PAYMENT_REMINDER_EMAIL" NotificationNotificationTypeMOVEPAYMENTREMINDEREMAIL string = "MOVE_PAYMENT_REMINDER_EMAIL" )
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"`
// ZIP
//
// zip code, international allowed
// Example: '90210' or 'N15 3NL'
// Required: true
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"`
// Address line 1
// Example: 123 Main Ave
// Required: true
StreetAddress1 *string `json:"streetAddress1"`
// Address line 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 validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AdminUser ¶
type AdminUser struct {
// active
// Required: true
Active *bool `json:"active"`
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// email
// Required: true
// Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Email *string `json:"email"`
// first name
// Required: true
FirstName *string `json:"firstName"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// last name
// Required: true
LastName *string `json:"lastName"`
// organization Id
// Required: true
// Format: uuid
OrganizationID *strfmt.UUID `json:"organizationId"`
// super
// Required: true
Super *bool `json:"super"`
// updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
// user Id
// Required: true
// Format: uuid
UserID *strfmt.UUID `json:"userId"`
}
AdminUser admin user
swagger:model AdminUser
func (*AdminUser) ContextValidate ¶
ContextValidate validate this admin user based on the context it is used
func (*AdminUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*AdminUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AdminUserCreate ¶
type AdminUserCreate struct {
// Email
// Example: user@userdomain.com
Email string `json:"email,omitempty"`
// First Name
FirstName string `json:"firstName,omitempty"`
// Last Name
LastName string `json:"lastName,omitempty"`
// organization Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
OrganizationID strfmt.UUID `json:"organizationId,omitempty"`
// super
Super bool `json:"super,omitempty"`
}
AdminUserCreate admin user create
swagger:model AdminUserCreate
func (*AdminUserCreate) ContextValidate ¶
ContextValidate validates this admin user create based on context it is used
func (*AdminUserCreate) MarshalBinary ¶
func (m *AdminUserCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminUserCreate) UnmarshalBinary ¶
func (m *AdminUserCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminUserUpdate ¶
type AdminUserUpdate struct {
// active
Active *bool `json:"active,omitempty"`
// First Name
FirstName *string `json:"firstName,omitempty"`
// Last Name
LastName *string `json:"lastName,omitempty"`
// super
Super *bool `json:"super,omitempty"`
}
AdminUserUpdate admin user update
swagger:model AdminUserUpdate
func (*AdminUserUpdate) ContextValidate ¶
ContextValidate validates this admin user update based on context it is used
func (*AdminUserUpdate) MarshalBinary ¶
func (m *AdminUserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminUserUpdate) UnmarshalBinary ¶
func (m *AdminUserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminUsers ¶
type AdminUsers []*AdminUser
AdminUsers admin users
swagger:model AdminUsers
func (AdminUsers) ContextValidate ¶
ContextValidate validate this admin users based on the context it is used
type ClientCertificate ¶
type ClientCertificate struct {
// allow air force orders read
AllowAirForceOrdersRead bool `json:"allowAirForceOrdersRead,omitempty"`
// allow air force orders write
AllowAirForceOrdersWrite bool `json:"allowAirForceOrdersWrite,omitempty"`
// allow army orders read
AllowArmyOrdersRead bool `json:"allowArmyOrdersRead,omitempty"`
// allow army orders write
AllowArmyOrdersWrite bool `json:"allowArmyOrdersWrite,omitempty"`
// allow coast guard orders read
AllowCoastGuardOrdersRead bool `json:"allowCoastGuardOrdersRead,omitempty"`
// allow coast guard orders write
AllowCoastGuardOrdersWrite bool `json:"allowCoastGuardOrdersWrite,omitempty"`
// allow dps auth API
AllowDpsAuthAPI bool `json:"allowDpsAuthAPI,omitempty"`
// allow marine corps orders read
AllowMarineCorpsOrdersRead bool `json:"allowMarineCorpsOrdersRead,omitempty"`
// allow marine corps orders write
AllowMarineCorpsOrdersWrite bool `json:"allowMarineCorpsOrdersWrite,omitempty"`
AllowNavyOrdersRead bool `json:"allowNavyOrdersRead,omitempty"`
AllowNavyOrdersWrite bool `json:"allowNavyOrdersWrite,omitempty"`
// allow orders API
AllowOrdersAPI bool `json:"allowOrdersAPI,omitempty"`
// allow p p t a s
AllowPPTAS bool `json:"allowPPTAS,omitempty"`
// allow prime
AllowPrime bool `json:"allowPrime,omitempty"`
// created at
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// sha256 digest
// Example: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
Sha256Digest string `json:"sha256Digest,omitempty"`
// subject
// Example: CN=example-user,OU=DoD+OU=PKI+OU=CONTRACTOR,O=U.S. Government,C=US
Subject string `json:"subject,omitempty"`
// updated at
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
// user Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
UserID strfmt.UUID `json:"userId,omitempty"`
}
ClientCertificate client certificate
swagger:model ClientCertificate
func (*ClientCertificate) ContextValidate ¶
ContextValidate validate this client certificate based on the context it is used
func (*ClientCertificate) MarshalBinary ¶
func (m *ClientCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientCertificate) UnmarshalBinary ¶
func (m *ClientCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClientCertificateCreate ¶
type ClientCertificateCreate struct {
// allow air force orders read
AllowAirForceOrdersRead bool `json:"allowAirForceOrdersRead,omitempty"`
// allow air force orders write
AllowAirForceOrdersWrite bool `json:"allowAirForceOrdersWrite,omitempty"`
// allow army orders read
AllowArmyOrdersRead bool `json:"allowArmyOrdersRead,omitempty"`
// allow army orders write
AllowArmyOrdersWrite bool `json:"allowArmyOrdersWrite,omitempty"`
// allow coast guard orders read
AllowCoastGuardOrdersRead bool `json:"allowCoastGuardOrdersRead,omitempty"`
// allow coast guard orders write
AllowCoastGuardOrdersWrite bool `json:"allowCoastGuardOrdersWrite,omitempty"`
// allow marine corps orders read
AllowMarineCorpsOrdersRead bool `json:"allowMarineCorpsOrdersRead,omitempty"`
// allow marine corps orders write
AllowMarineCorpsOrdersWrite bool `json:"allowMarineCorpsOrdersWrite,omitempty"`
AllowNavyOrdersRead bool `json:"allowNavyOrdersRead,omitempty"`
AllowNavyOrdersWrite bool `json:"allowNavyOrdersWrite,omitempty"`
// allow orders API
AllowOrdersAPI bool `json:"allowOrdersAPI,omitempty"`
// allow p p t a s
AllowPPTAS bool `json:"allowPPTAS,omitempty"`
// allow prime
AllowPrime bool `json:"allowPrime,omitempty"`
// email
// Example: user@example.com
// Required: true
Email *string `json:"email"`
// sha256 digest
// Example: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
// Required: true
Sha256Digest *string `json:"sha256Digest"`
// subject
// Example: CN=example-user,OU=DoD+OU=PKI+OU=CONTRACTOR,O=U.S. Government,C=US
// Required: true
Subject *string `json:"subject"`
}
ClientCertificateCreate client certificate create
swagger:model ClientCertificateCreate
func (*ClientCertificateCreate) ContextValidate ¶
func (m *ClientCertificateCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this client certificate create based on context it is used
func (*ClientCertificateCreate) MarshalBinary ¶
func (m *ClientCertificateCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientCertificateCreate) UnmarshalBinary ¶
func (m *ClientCertificateCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClientCertificateUpdate ¶
type ClientCertificateUpdate struct {
// allow air force orders read
AllowAirForceOrdersRead *bool `json:"allowAirForceOrdersRead,omitempty"`
// allow air force orders write
AllowAirForceOrdersWrite *bool `json:"allowAirForceOrdersWrite,omitempty"`
// allow army orders read
AllowArmyOrdersRead *bool `json:"allowArmyOrdersRead,omitempty"`
// allow army orders write
AllowArmyOrdersWrite *bool `json:"allowArmyOrdersWrite,omitempty"`
// allow coast guard orders read
AllowCoastGuardOrdersRead *bool `json:"allowCoastGuardOrdersRead,omitempty"`
// allow coast guard orders write
AllowCoastGuardOrdersWrite *bool `json:"allowCoastGuardOrdersWrite,omitempty"`
// allow dps auth API
AllowDpsAuthAPI *bool `json:"allowDpsAuthAPI,omitempty"`
// allow marine corps orders read
AllowMarineCorpsOrdersRead *bool `json:"allowMarineCorpsOrdersRead,omitempty"`
// allow marine corps orders write
AllowMarineCorpsOrdersWrite *bool `json:"allowMarineCorpsOrdersWrite,omitempty"`
AllowNavyOrdersRead *bool `json:"allowNavyOrdersRead,omitempty"`
AllowNavyOrdersWrite *bool `json:"allowNavyOrdersWrite,omitempty"`
// allow orders API
AllowOrdersAPI *bool `json:"allowOrdersAPI,omitempty"`
// allow p p t a s
AllowPPTAS *bool `json:"allowPPTAS,omitempty"`
// allow prime
AllowPrime *bool `json:"allowPrime,omitempty"`
// sha256 digest
// Example: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
Sha256Digest string `json:"sha256Digest,omitempty"`
// subject
// Example: CN=example-user,OU=DoD+OU=PKI+OU=CONTRACTOR,O=U.S. Government,C=US
Subject string `json:"subject,omitempty"`
}
ClientCertificateUpdate client certificate update
swagger:model ClientCertificateUpdate
func (*ClientCertificateUpdate) ContextValidate ¶
func (m *ClientCertificateUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this client certificate update based on context it is used
func (*ClientCertificateUpdate) MarshalBinary ¶
func (m *ClientCertificateUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientCertificateUpdate) UnmarshalBinary ¶
func (m *ClientCertificateUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClientCertificates ¶
type ClientCertificates []*ClientCertificate
ClientCertificates client certificates
swagger:model ClientCertificates
func (ClientCertificates) ContextValidate ¶
ContextValidate validate this client certificates based on the context it is used
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 CreateWebhookSubscription ¶
type CreateWebhookSubscription struct {
// The URL to which the notifications for this subscription will be pushed to.
// Required: true
CallbackURL *string `json:"callbackUrl"`
// A string used to represent which events this subscriber expects to be notified about. Corresponds to the possible event_key values in webhook_notifications.
// Required: true
EventKey *string `json:"eventKey"`
// status
// Required: true
Status *WebhookSubscriptionStatus `json:"status"`
// subscriber Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
SubscriberID *strfmt.UUID `json:"subscriberId"`
}
CreateWebhookSubscription create webhook subscription
swagger:model CreateWebhookSubscription
func (*CreateWebhookSubscription) ContextValidate ¶
func (m *CreateWebhookSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create webhook subscription based on the context it is used
func (*CreateWebhookSubscription) MarshalBinary ¶
func (m *CreateWebhookSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateWebhookSubscription) UnmarshalBinary ¶
func (m *CreateWebhookSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ElectronicOrder ¶
type ElectronicOrder struct {
// Created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// issuer
// Required: true
Issuer *Issuer `json:"issuer"`
// Orders Number
// Required: true
OrdersNumber *string `json:"ordersNumber"`
// Updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
ElectronicOrder electronic order
swagger:model ElectronicOrder
func (*ElectronicOrder) ContextValidate ¶
ContextValidate validate this electronic order based on the context it is used
func (*ElectronicOrder) MarshalBinary ¶
func (m *ElectronicOrder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ElectronicOrder) UnmarshalBinary ¶
func (m *ElectronicOrder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ElectronicOrders ¶
type ElectronicOrders []*ElectronicOrder
ElectronicOrders electronic orders
swagger:model ElectronicOrders
func (ElectronicOrders) ContextValidate ¶
ContextValidate validate this electronic orders based on the context it is used
type ElectronicOrdersTotal ¶
type ElectronicOrdersTotal struct {
// category
Category string `json:"category,omitempty"`
// Total Orders Count
// Minimum: 0
Count *int64 `json:"count,omitempty"`
}
ElectronicOrdersTotal electronic orders total
swagger:model ElectronicOrdersTotal
func (*ElectronicOrdersTotal) ContextValidate ¶
ContextValidate validates this electronic orders total based on context it is used
func (*ElectronicOrdersTotal) MarshalBinary ¶
func (m *ElectronicOrdersTotal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ElectronicOrdersTotal) UnmarshalBinary ¶
func (m *ElectronicOrdersTotal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ElectronicOrdersTotals ¶
type ElectronicOrdersTotals []*ElectronicOrdersTotal
ElectronicOrdersTotals electronic orders totals
swagger:model ElectronicOrdersTotals
func (ElectronicOrdersTotals) ContextValidate ¶
ContextValidate validate this electronic orders totals based on the context it is used
type Issuer ¶
type Issuer string
Issuer Organization that issues orders. If more organizations, especially civilian ones, become clients of this API in the future, this enumeration may need to be expanded.
swagger:model Issuer
const ( // IssuerArmy captures enum value "army" IssuerArmy Issuer = "army" IssuerNavy Issuer = "navy" // IssuerAirDashForce captures enum value "air-force" IssuerAirDashForce Issuer = "air-force" // IssuerMarineDashCorps captures enum value "marine-corps" IssuerMarineDashCorps Issuer = "marine-corps" // IssuerCoastDashGuard captures enum value "coast-guard" IssuerCoastDashGuard Issuer = "coast-guard" )
func (Issuer) ContextValidate ¶
ContextValidate validates this issuer based on context it is used
type Move ¶
type Move struct {
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// locator
// Example: 12432
// Required: true
Locator *string `json:"locator"`
// orders Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
OrdersID *strfmt.UUID `json:"ordersId"`
// service member
ServiceMember *ServiceMember `json:"serviceMember,omitempty"`
// show
Show *bool `json:"show,omitempty"`
// status
Status MoveStatus `json:"status,omitempty"`
// updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
Move move
swagger:model Move
func (*Move) ContextValidate ¶
ContextValidate validate this move based on the context it is used
func (*Move) MarshalBinary ¶
MarshalBinary interface implementation
func (*Move) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MoveStatus ¶
type MoveStatus string
MoveStatus Move status
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 MoveUpdate ¶
type MoveUpdate struct {
// show
// Required: true
Show *bool `json:"show"`
}
MoveUpdate move update
swagger:model MoveUpdate
func (*MoveUpdate) ContextValidate ¶
ContextValidate validates this move update based on context it is used
func (*MoveUpdate) MarshalBinary ¶
func (m *MoveUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveUpdate) UnmarshalBinary ¶
func (m *MoveUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Moves ¶
type Moves []*Move
Moves moves
swagger:model Moves
func (Moves) ContextValidate ¶
ContextValidate validate this moves based on the context it is used
type Notification ¶
type Notification struct {
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// email
// Required: true
Email *string `json:"email"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// notification type
// Required: true
// Enum: [MOVE_PAYMENT_REMINDER_EMAIL]
NotificationType *string `json:"notificationType"`
// service member Id
// Required: true
// Format: uuid
ServiceMemberID *strfmt.UUID `json:"serviceMemberId"`
// ses message Id
// Required: true
SesMessageID *string `json:"sesMessageId"`
}
Notification notification
swagger:model Notification
func (*Notification) ContextValidate ¶
ContextValidate validate this notification based on the context it is used
func (*Notification) MarshalBinary ¶
func (m *Notification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Notification) UnmarshalBinary ¶
func (m *Notification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Notifications ¶
type Notifications []*Notification
Notifications notifications
swagger:model Notifications
func (Notifications) ContextValidate ¶
ContextValidate validate this notifications based on the context it is used
type OfficeUser ¶
type OfficeUser struct {
// active
// Required: true
Active *bool `json:"active"`
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// edipi
// Required: true
Edipi *string `json:"edipi"`
// email
// Required: true
// Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Email *string `json:"email"`
// first name
// Required: true
FirstName *string `json:"firstName"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// last name
// Required: true
LastName *string `json:"lastName"`
// middle initials
// Required: true
MiddleInitials *string `json:"middleInitials"`
// other unique Id
// Required: true
OtherUniqueID *string `json:"otherUniqueId"`
// privileges
Privileges []*Privilege `json:"privileges"`
// rejection reason
// Required: true
RejectionReason *string `json:"rejectionReason"`
// roles
// Required: true
Roles []*Role `json:"roles"`
// status
// Required: true
// Enum: [APPROVED REQUESTED REJECTED]
Status *string `json:"status"`
// telephone
// Required: true
// Pattern: ^[2-9]\d{2}-\d{3}-\d{4}$
Telephone *string `json:"telephone"`
// transportation office Id
// Required: true
// Format: uuid
TransportationOfficeID *strfmt.UUID `json:"transportationOfficeId"`
// updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
// user Id
// Format: uuid
UserID strfmt.UUID `json:"userId,omitempty"`
}
OfficeUser office user
swagger:model OfficeUser
func (*OfficeUser) ContextValidate ¶
ContextValidate validate this office user based on the context it is used
func (*OfficeUser) MarshalBinary ¶
func (m *OfficeUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfficeUser) UnmarshalBinary ¶
func (m *OfficeUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfficeUserCreate ¶
type OfficeUserCreate struct {
// Email
// Example: user@userdomain.com
Email string `json:"email,omitempty"`
// First Name
FirstName string `json:"firstName,omitempty"`
// Last Name
LastName string `json:"lastName,omitempty"`
// Middle Initials
// Example: L.
MiddleInitials *string `json:"middleInitials,omitempty"`
// privileges
Privileges []*OfficeUserPrivilege `json:"privileges"`
// roles
Roles []*OfficeUserRole `json:"roles"`
// telephone
// Example: 212-555-5555
// Pattern: ^[2-9]\d{2}-\d{3}-\d{4}$
Telephone string `json:"telephone,omitempty"`
// transportation office Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
TransportationOfficeID strfmt.UUID `json:"transportationOfficeId,omitempty"`
}
OfficeUserCreate office user create
swagger:model OfficeUserCreate
func (*OfficeUserCreate) ContextValidate ¶
ContextValidate validate this office user create based on the context it is used
func (*OfficeUserCreate) MarshalBinary ¶
func (m *OfficeUserCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfficeUserCreate) UnmarshalBinary ¶
func (m *OfficeUserCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfficeUserPrivilege ¶
type OfficeUserPrivilege struct {
// name
// Example: Supervisor
Name *string `json:"name,omitempty"`
// privilegeType
// Example: supervisor
PrivilegeType *string `json:"privilegeType,omitempty"`
}
OfficeUserPrivilege office user privilege
swagger:model OfficeUserPrivilege
func (*OfficeUserPrivilege) ContextValidate ¶
ContextValidate validates this office user privilege based on context it is used
func (*OfficeUserPrivilege) MarshalBinary ¶
func (m *OfficeUserPrivilege) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfficeUserPrivilege) UnmarshalBinary ¶
func (m *OfficeUserPrivilege) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfficeUserRole ¶
type OfficeUserRole struct {
// name
// Example: Task Ordering Officer
Name *string `json:"name,omitempty"`
// roleType
// Example: task_ordering_officer
RoleType *string `json:"roleType,omitempty"`
}
OfficeUserRole office user role
swagger:model OfficeUserRole
func (*OfficeUserRole) ContextValidate ¶
ContextValidate validates this office user role based on context it is used
func (*OfficeUserRole) MarshalBinary ¶
func (m *OfficeUserRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfficeUserRole) UnmarshalBinary ¶
func (m *OfficeUserRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfficeUserUpdate ¶
type OfficeUserUpdate struct {
// active
Active *bool `json:"active,omitempty"`
// First Name
FirstName *string `json:"firstName,omitempty"`
// Last Name
LastName *string `json:"lastName,omitempty"`
// Middle Initials
// Example: Q.
MiddleInitials *string `json:"middleInitials,omitempty"`
// privileges
Privileges []*OfficeUserPrivilege `json:"privileges"`
// roles
Roles []*OfficeUserRole `json:"roles"`
// telephone
// Example: 212-555-5555
// Pattern: ^[2-9]\d{2}-\d{3}-\d{4}$
Telephone *string `json:"telephone,omitempty"`
// transportation office Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
TransportationOfficeID strfmt.UUID `json:"transportationOfficeId,omitempty"`
}
OfficeUserUpdate office user update
swagger:model OfficeUserUpdate
func (*OfficeUserUpdate) ContextValidate ¶
ContextValidate validate this office user update based on the context it is used
func (*OfficeUserUpdate) MarshalBinary ¶
func (m *OfficeUserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfficeUserUpdate) UnmarshalBinary ¶
func (m *OfficeUserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfficeUsers ¶
type OfficeUsers []*OfficeUser
OfficeUsers office users
swagger:model OfficeUsers
func (OfficeUsers) ContextValidate ¶
ContextValidate validate this office users based on the context it is used
type OktaAccountInfoResponse ¶
type OktaAccountInfoResponse struct {
// activated
Activated string `json:"activated,omitempty"`
// created
Created string `json:"created,omitempty"`
// credentials
Credentials interface{} `json:"credentials,omitempty"`
// id
ID string `json:"id,omitempty"`
// profile
Profile interface{} `json:"profile,omitempty"`
// status
Status string `json:"status,omitempty"`
}
OktaAccountInfoResponse okta account info response
swagger:model OktaAccountInfoResponse
func (*OktaAccountInfoResponse) ContextValidate ¶
func (m *OktaAccountInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this okta account info response based on context it is used
func (*OktaAccountInfoResponse) MarshalBinary ¶
func (m *OktaAccountInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OktaAccountInfoResponse) UnmarshalBinary ¶
func (m *OktaAccountInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Organization ¶
type Organization struct {
// Created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// email
// Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Email *string `json:"email,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// Name
// Required: true
Name *string `json:"name"`
// telephone
// Pattern: ^[2-9]\d{2}-\d{3}-\d{4}$
Telephone *string `json:"telephone,omitempty"`
// Updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
Organization organization
swagger:model Organization
func (*Organization) ContextValidate ¶
ContextValidate validate this organization based on the context it is used
func (*Organization) MarshalBinary ¶
func (m *Organization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Organization) UnmarshalBinary ¶
func (m *Organization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Organizations ¶
type Organizations []*Organization
Organizations organizations
swagger:model Organizations
func (Organizations) ContextValidate ¶
ContextValidate validate this organizations based on the context it is used
type Privilege ¶
type Privilege struct {
// created at
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// id
// Example: c56a4780-65aa-42ec-a945-5fd87dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// privilege name
// Example: Supervisor
PrivilegeName string `json:"privilegeName,omitempty"`
// privilege type
// Example: supervisor
PrivilegeType string `json:"privilegeType,omitempty"`
// updated at
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}
Privilege privilege
swagger:model Privilege
func (*Privilege) ContextValidate ¶
ContextValidate validate this privilege based on the context it is used
func (*Privilege) MarshalBinary ¶
MarshalBinary interface implementation
func (*Privilege) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RequestedOfficeUserUpdate ¶
type RequestedOfficeUserUpdate struct {
// edipi
Edipi string `json:"edipi,omitempty"`
// email
// Example: user@userdomain.com
Email string `json:"email,omitempty"`
// First Name
FirstName *string `json:"firstName,omitempty"`
// Last Name
LastName *string `json:"lastName,omitempty"`
// Middle Initials
// Example: Q.
MiddleInitials *string `json:"middleInitials,omitempty"`
// other unique Id
OtherUniqueID string `json:"otherUniqueId,omitempty"`
// rejection reason
RejectionReason string `json:"rejectionReason,omitempty"`
// roles
Roles []*OfficeUserRole `json:"roles"`
// status
// Enum: [APPROVED REJECTED]
Status string `json:"status,omitempty"`
// telephone
// Example: 212-555-5555
// Pattern: ^[2-9]\d{2}-\d{3}-\d{4}$
Telephone *string `json:"telephone,omitempty"`
// transportation office Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
TransportationOfficeID *strfmt.UUID `json:"transportationOfficeId,omitempty"`
}
RequestedOfficeUserUpdate requested office user update
swagger:model RequestedOfficeUserUpdate
func (*RequestedOfficeUserUpdate) ContextValidate ¶
func (m *RequestedOfficeUserUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this requested office user update based on the context it is used
func (*RequestedOfficeUserUpdate) MarshalBinary ¶
func (m *RequestedOfficeUserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestedOfficeUserUpdate) UnmarshalBinary ¶
func (m *RequestedOfficeUserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct {
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// role name
// Example: Task Ordering Officer
// Required: true
RoleName *string `json:"roleName"`
// role type
// Example: customer
// Required: true
RoleType *string `json:"roleType"`
// updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
Role role
swagger:model Role
func (*Role) ContextValidate ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceMember ¶
type ServiceMember struct {
// First Name
FirstName *string `json:"firstName,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// Last Name
LastName *string `json:"lastName,omitempty"`
// Middle Name
MiddleName *string `json:"middleName,omitempty"`
// user Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
UserID strfmt.UUID `json:"userId,omitempty"`
}
ServiceMember service member
swagger:model ServiceMember
func (*ServiceMember) ContextValidate ¶
ContextValidate validate this service member based on the context it is used
func (*ServiceMember) MarshalBinary ¶
func (m *ServiceMember) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceMember) UnmarshalBinary ¶
func (m *ServiceMember) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TransportationOffice ¶
type TransportationOffice struct {
// address
// Required: true
Address *Address `json:"address"`
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// gbloc
// Example: JENQ
// Pattern: ^[A-Z]{4}$
Gbloc string `json:"gbloc,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Required: true
// Format: uuid
ID *strfmt.UUID `json:"id"`
// latitude
// Example: 29.382973
Latitude float32 `json:"latitude,omitempty"`
// longitude
// Example: -98.62759
Longitude float32 `json:"longitude,omitempty"`
// name
// Example: Fort Bragg North Station
// Required: true
Name *string `json:"name"`
// phone lines
PhoneLines []string `json:"phoneLines"`
// updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
TransportationOffice transportation office
swagger:model TransportationOffice
func (*TransportationOffice) ContextValidate ¶
ContextValidate validate this transportation office based on the context it is used
func (*TransportationOffice) MarshalBinary ¶
func (m *TransportationOffice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TransportationOffice) UnmarshalBinary ¶
func (m *TransportationOffice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TransportationOffices ¶
type TransportationOffices []*TransportationOffice
TransportationOffices transportation offices
swagger:model TransportationOffices
func (TransportationOffices) ContextValidate ¶
ContextValidate validate this transportation offices based on the context it is used
type Upload ¶
type Upload struct {
// content type
// Enum: [application/pdf image/jpeg image/png]
ContentType string `json:"contentType,omitempty"`
// Created at
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`
// filename
Filename string `json:"filename,omitempty"`
// Size in Bytes
Size int64 `json:"size,omitempty"`
}
Upload upload
swagger:model Upload
func (*Upload) ContextValidate ¶
ContextValidate validate this upload based on the context it is used
func (*Upload) MarshalBinary ¶
MarshalBinary interface implementation
func (*Upload) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UploadInformation ¶
type UploadInformation struct {
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// move locator
// Example: 12432
MoveLocator *string `json:"moveLocator,omitempty"`
// office user email
OfficeUserEmail *string `json:"officeUserEmail,omitempty"`
// office user first name
OfficeUserFirstName *string `json:"officeUserFirstName,omitempty"`
// office user Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
OfficeUserID *strfmt.UUID `json:"officeUserId,omitempty"`
// office user last name
OfficeUserLastName *string `json:"officeUserLastName,omitempty"`
// office user phone
OfficeUserPhone *string `json:"officeUserPhone,omitempty"`
// service member email
ServiceMemberEmail *string `json:"serviceMemberEmail,omitempty"`
// service member first name
ServiceMemberFirstName *string `json:"serviceMemberFirstName,omitempty"`
// service member Id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ServiceMemberID *strfmt.UUID `json:"serviceMemberId,omitempty"`
// service member last name
ServiceMemberLastName *string `json:"serviceMemberLastName,omitempty"`
// service member phone
ServiceMemberPhone *string `json:"serviceMemberPhone,omitempty"`
// upload
Upload *Upload `json:"upload,omitempty"`
}
UploadInformation upload information
swagger:model UploadInformation
func (*UploadInformation) ContextValidate ¶
ContextValidate validate this upload information based on the context it is used
func (*UploadInformation) MarshalBinary ¶
func (m *UploadInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UploadInformation) UnmarshalBinary ¶
func (m *UploadInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct {
// active
// Required: true
Active *bool `json:"active"`
// created at
// Required: true
// Read Only: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// current admin session Id
// Example: WiPgsPj-jPySR1d0dpmvIZ-HvZqemjmaQWxGQ6B8K_w
// Required: true
CurrentAdminSessionID *string `json:"currentAdminSessionId"`
// current mil session Id
// Example: WiPgsPj-jPySR1d0dpmvIZ-HvZqemjmaQWxGQ6B8K_w
// Required: true
CurrentMilSessionID *string `json:"currentMilSessionId"`
// current office session Id
// Example: WiPgsPj-jPySR1d0dpmvIZ-HvZqemjmaQWxGQ6B8K_w
// Required: true
CurrentOfficeSessionID *string `json:"currentOfficeSessionId"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// okta email
// Required: true
// Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
OktaEmail *string `json:"oktaEmail"`
// updated at
// Required: true
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
User user
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validate this user based on the context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserUpdate ¶
type UserUpdate struct {
// active
Active *bool `json:"active,omitempty"`
// revoke admin session
RevokeAdminSession *bool `json:"revokeAdminSession,omitempty"`
// revoke mil session
RevokeMilSession *bool `json:"revokeMilSession,omitempty"`
// revoke office session
RevokeOfficeSession *bool `json:"revokeOfficeSession,omitempty"`
}
UserUpdate user update
swagger:model UserUpdate
func (*UserUpdate) ContextValidate ¶
ContextValidate validates this user update based on context it is used
func (*UserUpdate) MarshalBinary ¶
func (m *UserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUpdate) UnmarshalBinary ¶
func (m *UserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Users ¶
type Users []*User
Users users
swagger:model Users
func (Users) ContextValidate ¶
ContextValidate validate this users based on the context it is used
type ValidationError ¶
type ValidationError struct {
ClientError
ValidationErrorAllOf1
// 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 ValidationErrorAllOf1 ¶
type ValidationErrorAllOf1 interface{}
ValidationErrorAllOf1 validation error all of1
swagger:model ValidationErrorAllOf1
type WebhookSubscription ¶
type WebhookSubscription struct {
// The URL to which the notifications for this subscription will be pushed to.
CallbackURL *string `json:"callbackUrl,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"`
// A string used to represent which events this subscriber expects to be notified about. Corresponds to the possible event_key values in webhook_notifications.
EventKey *string `json:"eventKey,omitempty"`
// id
// Example: c56a4180-65aa-42ec-a945-5fd21dec0538
// Read Only: true
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// severity
// Minimum: 0
Severity *int64 `json:"severity,omitempty"`
// status
Status *WebhookSubscriptionStatus `json:"status,omitempty"`
// Unique identifier for the subscriber
// Example: d494f114-05a2-4b39-840c-3d33243b7e29
// Format: uuid
SubscriberID *strfmt.UUID `json:"subscriberId,omitempty"`
// updated at
// Read Only: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}
WebhookSubscription Represents subscribers who expect certain notifications to be pushed to their servers. Used for the Prime and Prime-related events specifically.
swagger:model WebhookSubscription
func (*WebhookSubscription) ContextValidate ¶
ContextValidate validate this webhook subscription based on the context it is used
func (*WebhookSubscription) MarshalBinary ¶
func (m *WebhookSubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookSubscription) UnmarshalBinary ¶
func (m *WebhookSubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookSubscriptionStatus ¶
type WebhookSubscriptionStatus string
WebhookSubscriptionStatus Webhook subscription status
swagger:model WebhookSubscriptionStatus
const ( // WebhookSubscriptionStatusACTIVE captures enum value "ACTIVE" WebhookSubscriptionStatusACTIVE WebhookSubscriptionStatus = "ACTIVE" // WebhookSubscriptionStatusFAILING captures enum value "FAILING" WebhookSubscriptionStatusFAILING WebhookSubscriptionStatus = "FAILING" // WebhookSubscriptionStatusDISABLED captures enum value "DISABLED" WebhookSubscriptionStatusDISABLED WebhookSubscriptionStatus = "DISABLED" )
func NewWebhookSubscriptionStatus ¶
func NewWebhookSubscriptionStatus(value WebhookSubscriptionStatus) *WebhookSubscriptionStatus
func (WebhookSubscriptionStatus) ContextValidate ¶
func (m WebhookSubscriptionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this webhook subscription status based on context it is used
func (WebhookSubscriptionStatus) Pointer ¶
func (m WebhookSubscriptionStatus) Pointer() *WebhookSubscriptionStatus
Pointer returns a pointer to a freshly-allocated WebhookSubscriptionStatus.
type WebhookSubscriptions ¶
type WebhookSubscriptions []*WebhookSubscription
WebhookSubscriptions webhook subscriptions
swagger:model WebhookSubscriptions
func (WebhookSubscriptions) ContextValidate ¶
ContextValidate validate this webhook subscriptions based on the context it is used
Source Files
¶
- address.go
- admin_user.go
- admin_user_create.go
- admin_user_update.go
- admin_users.go
- client_certificate.go
- client_certificate_create.go
- client_certificate_update.go
- client_certificates.go
- client_error.go
- create_webhook_subscription.go
- electronic_order.go
- electronic_orders.go
- electronic_orders_total.go
- electronic_orders_totals.go
- issuer.go
- move.go
- move_status.go
- move_update.go
- moves.go
- notification.go
- notifications.go
- office_user.go
- office_user_create.go
- office_user_privilege.go
- office_user_role.go
- office_user_update.go
- office_users.go
- okta_account_info_response.go
- organization.go
- organizations.go
- privilege.go
- requested_office_user_update.go
- role.go
- service_member.go
- transportation_office.go
- transportation_offices.go
- upload.go
- upload_information.go
- user.go
- user_update.go
- users.go
- validation_error.go
- webhook_subscription.go
- webhook_subscription_status.go
- webhook_subscriptions.go