Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "upload"
Variables ¶
This section is empty.
Functions ¶
func DeviceTagsValidator ¶
Types ¶
type Upload ¶
type Upload struct { // UploadID *string `json:"uploadId" bson:"uploadId"` // valid:"gte=10" UploadUserID *string `json:"byUser" bson:"byUser" valid:"gte=10"` Version *string `json:"version" bson:"version" valid:"gte=5"` ComputerTime *string `json:"computerTime" bson:"computerTime" valid:"nonZuluTimeString"` DeviceTags []string `json:"deviceTags" bson:"deviceTags" valid:"uploaddevicetags"` DeviceManufacturers []string `json:"deviceManufacturers" bson:"deviceManufacturers" valid:"uploaddevicemanufacturers"` DeviceModel *string `json:"deviceModel" bson:"deviceModel" valid:"gte=1"` DeviceSerialNumber *string `json:"deviceSerialNumber" bson:"deviceSerialNumber" valid:"gte=1"` // TODO_DATA: Serial number on Tandem is only 6 numbers TimeProcessing *string `json:"timeProcessing" bson:"timeProcessing" valid:"uploadtimeprocessing"` DataState *string `json:"dataState" bson:"dataState"` Deduplicator interface{} `json:"deduplicator" bson:"deduplicator"` types.Base `bson:",inline"` }
Click to show internal directories.
Click to hide internal directories.