Documentation
¶
Index ¶
- func Type() string
- type Upload
- 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 interface{})
- 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 Upload ¶
type Upload struct {
base.Base `bson:",inline"`
DataState string `json:"dataState,omitempty" bson:"dataState,omitempty"`
UploadUserID string `json:"byUser,omitempty" bson:"byUser,omitempty"`
Deduplicator interface{} `json:"deduplicator,omitempty" bson:"deduplicator,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 interface{})
func (*Upload) SetUploadUserID ¶
Click to show internal directories.
Click to hide internal directories.