adminmessages

package
v0.0.0-...-c407d37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (

	// RequestedOfficeUserUpdateStatusAPPROVED captures enum value "APPROVED"
	RequestedOfficeUserUpdateStatusAPPROVED string = "APPROVED"

	// RequestedOfficeUserUpdateStatusREJECTED captures enum value "REJECTED"
	RequestedOfficeUserUpdateStatusREJECTED string = "REJECTED"
)
View Source
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"
)
View Source
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"`

	// 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

func (m *Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address based on context it is used

func (*Address) MarshalBinary

func (m *Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Address) UnmarshalBinary

func (m *Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Address) Validate

func (m *Address) Validate(formats strfmt.Registry) error

Validate validates this address

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"`

	// 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

func (m *AdminUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this admin user based on the context it is used

func (*AdminUser) MarshalBinary

func (m *AdminUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdminUser) UnmarshalBinary

func (m *AdminUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdminUser) Validate

func (m *AdminUser) Validate(formats strfmt.Registry) error

Validate validates this admin user

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"`
}

AdminUserCreate admin user create

swagger:model AdminUserCreate

func (*AdminUserCreate) ContextValidate

func (m *AdminUserCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AdminUserCreate) Validate

func (m *AdminUserCreate) Validate(formats strfmt.Registry) error

Validate validates this admin user create

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"`
}

AdminUserUpdate admin user update

swagger:model AdminUserUpdate

func (*AdminUserUpdate) ContextValidate

func (m *AdminUserUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AdminUserUpdate) Validate

func (m *AdminUserUpdate) Validate(formats strfmt.Registry) error

Validate validates this admin user update

type AdminUsers

type AdminUsers []*AdminUser

AdminUsers admin users

swagger:model AdminUsers

func (AdminUsers) ContextValidate

func (m AdminUsers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this admin users based on the context it is used

func (AdminUsers) Validate

func (m AdminUsers) Validate(formats strfmt.Registry) error

Validate validates this admin users

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"`

	// allow navy orders read
	AllowNavyOrdersRead bool `json:"allowNavyOrdersRead,omitempty"`

	// allow navy orders write
	AllowNavyOrdersWrite bool `json:"allowNavyOrdersWrite,omitempty"`

	// allow orders API
	AllowOrdersAPI bool `json:"allowOrdersAPI,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

func (m *ClientCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ClientCertificate) Validate

func (m *ClientCertificate) Validate(formats strfmt.Registry) error

Validate validates this client certificate

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"`

	// allow navy orders read
	AllowNavyOrdersRead bool `json:"allowNavyOrdersRead,omitempty"`

	// allow navy orders write
	AllowNavyOrdersWrite bool `json:"allowNavyOrdersWrite,omitempty"`

	// allow orders API
	AllowOrdersAPI bool `json:"allowOrdersAPI,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

func (*ClientCertificateCreate) Validate

func (m *ClientCertificateCreate) Validate(formats strfmt.Registry) error

Validate validates this client certificate create

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"`

	// allow navy orders read
	AllowNavyOrdersRead *bool `json:"allowNavyOrdersRead,omitempty"`

	// allow navy orders write
	AllowNavyOrdersWrite *bool `json:"allowNavyOrdersWrite,omitempty"`

	// allow orders API
	AllowOrdersAPI *bool `json:"allowOrdersAPI,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

func (*ClientCertificateUpdate) Validate

func (m *ClientCertificateUpdate) Validate(formats strfmt.Registry) error

Validate validates this client certificate update

type ClientCertificates

type ClientCertificates []*ClientCertificate

ClientCertificates client certificates

swagger:model ClientCertificates

func (ClientCertificates) ContextValidate

func (m ClientCertificates) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this client certificates based on the context it is used

func (ClientCertificates) Validate

func (m ClientCertificates) Validate(formats strfmt.Registry) error

Validate validates this client certificates

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

func (m *ClientError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ClientError) Validate

func (m *ClientError) Validate(formats strfmt.Registry) error

Validate validates this client error

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

func (*CreateWebhookSubscription) Validate

func (m *CreateWebhookSubscription) Validate(formats strfmt.Registry) error

Validate validates this create webhook subscription

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

func (m *ElectronicOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ElectronicOrder) Validate

func (m *ElectronicOrder) Validate(formats strfmt.Registry) error

Validate validates this electronic order

type ElectronicOrders

type ElectronicOrders []*ElectronicOrder

ElectronicOrders electronic orders

swagger:model ElectronicOrders

func (ElectronicOrders) ContextValidate

func (m ElectronicOrders) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this electronic orders based on the context it is used

func (ElectronicOrders) Validate

func (m ElectronicOrders) Validate(formats strfmt.Registry) error

Validate validates this electronic orders

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

func (m *ElectronicOrdersTotal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ElectronicOrdersTotal) Validate

func (m *ElectronicOrdersTotal) Validate(formats strfmt.Registry) error

Validate validates this electronic orders total

type ElectronicOrdersTotals

type ElectronicOrdersTotals []*ElectronicOrdersTotal

ElectronicOrdersTotals electronic orders totals

swagger:model ElectronicOrdersTotals

func (ElectronicOrdersTotals) ContextValidate

func (m ElectronicOrdersTotals) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this electronic orders totals based on the context it is used

func (ElectronicOrdersTotals) Validate

func (m ElectronicOrdersTotals) Validate(formats strfmt.Registry) error

Validate validates this electronic orders totals

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 captures enum value "navy"
	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 NewIssuer

func NewIssuer(value Issuer) *Issuer

func (Issuer) ContextValidate

func (m Issuer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this issuer based on context it is used

func (Issuer) Pointer

func (m Issuer) Pointer() *Issuer

Pointer returns a pointer to a freshly-allocated Issuer.

func (Issuer) Validate

func (m Issuer) Validate(formats strfmt.Registry) error

Validate validates this issuer

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

func (m *Move) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move based on the context it is used

func (*Move) MarshalBinary

func (m *Move) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Move) UnmarshalBinary

func (m *Move) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Move) Validate

func (m *Move) Validate(formats strfmt.Registry) error

Validate validates this move

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

func (m MoveStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (MoveStatus) Validate

func (m MoveStatus) Validate(formats strfmt.Registry) error

Validate validates this move status

type MoveUpdate

type MoveUpdate struct {

	// show
	// Required: true
	Show *bool `json:"show"`
}

MoveUpdate move update

swagger:model MoveUpdate

func (*MoveUpdate) ContextValidate

func (m *MoveUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MoveUpdate) Validate

func (m *MoveUpdate) Validate(formats strfmt.Registry) error

Validate validates this move update

type Moves

type Moves []*Move

Moves moves

swagger:model Moves

func (Moves) ContextValidate

func (m Moves) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this moves based on the context it is used

func (Moves) Validate

func (m Moves) Validate(formats strfmt.Registry) error

Validate validates this moves

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

func (m *Notification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Notification) Validate

func (m *Notification) Validate(formats strfmt.Registry) error

Validate validates this notification

type Notifications

type Notifications []*Notification

Notifications notifications

swagger:model Notifications

func (Notifications) ContextValidate

func (m Notifications) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this notifications based on the context it is used

func (Notifications) Validate

func (m Notifications) Validate(formats strfmt.Registry) error

Validate validates this notifications

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

func (m *OfficeUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfficeUser) Validate

func (m *OfficeUser) Validate(formats strfmt.Registry) error

Validate validates this office user

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

func (m *OfficeUserCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfficeUserCreate) Validate

func (m *OfficeUserCreate) Validate(formats strfmt.Registry) error

Validate validates this office user create

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

func (m *OfficeUserPrivilege) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfficeUserPrivilege) Validate

func (m *OfficeUserPrivilege) Validate(formats strfmt.Registry) error

Validate validates this office user privilege

type OfficeUserRole

type OfficeUserRole struct {

	// name
	// Example: Transportation Ordering Officer
	Name *string `json:"name,omitempty"`

	// roleType
	// Example: transportation_ordering_officer
	RoleType *string `json:"roleType,omitempty"`
}

OfficeUserRole office user role

swagger:model OfficeUserRole

func (*OfficeUserRole) ContextValidate

func (m *OfficeUserRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfficeUserRole) Validate

func (m *OfficeUserRole) Validate(formats strfmt.Registry) error

Validate validates this office user role

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

func (m *OfficeUserUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfficeUserUpdate) Validate

func (m *OfficeUserUpdate) Validate(formats strfmt.Registry) error

Validate validates this office user update

type OfficeUsers

type OfficeUsers []*OfficeUser

OfficeUsers office users

swagger:model OfficeUsers

func (OfficeUsers) ContextValidate

func (m OfficeUsers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this office users based on the context it is used

func (OfficeUsers) Validate

func (m OfficeUsers) Validate(formats strfmt.Registry) error

Validate validates this office users

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

func (*OktaAccountInfoResponse) Validate

func (m *OktaAccountInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this okta account info response

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

func (m *Organization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Organization) Validate

func (m *Organization) Validate(formats strfmt.Registry) error

Validate validates this organization

type Organizations

type Organizations []*Organization

Organizations organizations

swagger:model Organizations

func (Organizations) ContextValidate

func (m Organizations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organizations based on the context it is used

func (Organizations) Validate

func (m Organizations) Validate(formats strfmt.Registry) error

Validate validates this organizations

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

func (m *Privilege) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this privilege based on the context it is used

func (*Privilege) MarshalBinary

func (m *Privilege) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Privilege) UnmarshalBinary

func (m *Privilege) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Privilege) Validate

func (m *Privilege) Validate(formats strfmt.Registry) error

Validate validates this privilege

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

func (*RequestedOfficeUserUpdate) Validate

func (m *RequestedOfficeUserUpdate) Validate(formats strfmt.Registry) error

Validate validates this requested office user update

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: Transportation 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

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

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

func (m *ServiceMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServiceMember) Validate

func (m *ServiceMember) Validate(formats strfmt.Registry) error

Validate validates this service member

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

func (m *TransportationOffice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*TransportationOffice) Validate

func (m *TransportationOffice) Validate(formats strfmt.Registry) error

Validate validates this transportation office

type TransportationOffices

type TransportationOffices []*TransportationOffice

TransportationOffices transportation offices

swagger:model TransportationOffices

func (TransportationOffices) ContextValidate

func (m TransportationOffices) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transportation offices based on the context it is used

func (TransportationOffices) Validate

func (m TransportationOffices) Validate(formats strfmt.Registry) error

Validate validates this transportation offices

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

func (m *Upload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this upload based on the context it is used

func (*Upload) MarshalBinary

func (m *Upload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Upload) UnmarshalBinary

func (m *Upload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Upload) Validate

func (m *Upload) Validate(formats strfmt.Registry) error

Validate validates this upload

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

func (m *UploadInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*UploadInformation) Validate

func (m *UploadInformation) Validate(formats strfmt.Registry) error

Validate validates this upload information

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

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

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

func (m *UserUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*UserUpdate) Validate

func (m *UserUpdate) Validate(formats strfmt.Registry) error

Validate validates this user update

type Users

type Users []*User

Users users

swagger:model Users

func (Users) ContextValidate

func (m Users) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users based on the context it is used

func (Users) Validate

func (m Users) Validate(formats strfmt.Registry) error

Validate validates this users

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

func (m *ValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ValidationError) Validate

func (m *ValidationError) Validate(formats strfmt.Registry) error

Validate validates this validation error

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

func (m *WebhookSubscription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*WebhookSubscription) Validate

func (m *WebhookSubscription) Validate(formats strfmt.Registry) error

Validate validates this webhook subscription

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 (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

Pointer returns a pointer to a freshly-allocated WebhookSubscriptionStatus.

func (WebhookSubscriptionStatus) Validate

func (m WebhookSubscriptionStatus) Validate(formats strfmt.Registry) error

Validate validates this webhook subscription status

type WebhookSubscriptions

type WebhookSubscriptions []*WebhookSubscription

WebhookSubscriptions webhook subscriptions

swagger:model WebhookSubscriptions

func (WebhookSubscriptions) ContextValidate

func (m WebhookSubscriptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this webhook subscriptions based on the context it is used

func (WebhookSubscriptions) Validate

func (m WebhookSubscriptions) Validate(formats strfmt.Registry) error

Validate validates this webhook subscriptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL