Documentation ¶
Index ¶
- func NewDatum() data.Datum
- func Type() string
- type Deduplicator
- type Upload
- func (u *Upload) Init()
- func (u *Upload) Normalize(normalizer data.Normalizer) error
- func (u *Upload) Parse(parser data.ObjectParser) error
- func (u *Upload) SetDataState(dataState string)
- func (u *Upload) SetDeduplicator(deduplicator *Deduplicator)
- func (u *Upload) SetUploadUserID(uploadUserID string)
- func (u *Upload) Validate(validator data.Validator) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deduplicator ¶
type Upload ¶
type Upload struct { base.Base `bson:",inline"` DataState string `json:"-" bson:"_dataState,omitempty"` Deduplicator *Deduplicator `json:"-" bson:"_deduplicator,omitempty"` UploadUserID string `json:"byUser,omitempty" bson:"byUser,omitempty"` ComputerTime *string `json:"computerTime,omitempty" bson:"computerTime,omitempty"` DeviceManufacturers *[]string `json:"deviceManufacturers,omitempty" bson:"deviceManufacturers,omitempty"` DeviceModel *string `json:"deviceModel,omitempty" bson:"deviceModel,omitempty"` DeviceSerialNumber *string `json:"deviceSerialNumber,omitempty" bson:"deviceSerialNumber,omitempty"` DeviceTags *[]string `json:"deviceTags,omitempty" bson:"deviceTags,omitempty"` TimeProcessing *string `json:"timeProcessing,omitempty" bson:"timeProcessing,omitempty"` TimeZone *string `json:"timezone,omitempty" bson:"timezone,omitempty"` Version *string `json:"version,omitempty" bson:"version,omitempty"` }
func (*Upload) SetDataState ¶
func (*Upload) SetDeduplicator ¶
func (u *Upload) SetDeduplicator(deduplicator *Deduplicator)
func (*Upload) SetUploadUserID ¶
Click to show internal directories.
Click to hide internal directories.