-
Notifications
You must be signed in to change notification settings - Fork 0
/
types_datastore.go
41 lines (37 loc) · 1.51 KB
/
types_datastore.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package gsuitemdm
//
// GSuiteMDM types for Datastore
//
// A single mobile device type, stored in Datastore.
// Based on https://developers.google.com/admin-sdk/directory/v1/reference/mobiledevices#resource
type DatastoreMobileDevice struct {
Color string // Color of device
CompromisedStatus string // Is the device compromised?
Domain string // G Suite domain
DeveloperMode bool // Is the device in developer mode?
Email string // Email address of device owner
EncryptionStatus string // Is the device encrypted?
IMEI string // IMEI
Model string // Model
Name string // Full Name of device owner
Notes string // Notes
OS string // Operating System
OSBuild string // OS Build
PasswordStatus string // Password status
PhoneNumber string // Telephone number of the device
RAM string // RAM in GB
ResourceId string // MDM ID for device
SN string // Serial number
Status string // Device status
SyncFirst string // First sync device time
SyncLast string // Most recent device sync time
Type string // Type of G Suite sync
UnknownSources bool // Are unknown sources of apps allowed on the device?
USBADB bool // Is ADB/USB debugging enabled?
WifiMac string // Wifi MAC address
}
// Multiple mobile devices
type DatastoreMobileDevices struct {
Mobiledevices []DatastoreMobileDevice
}
// EOF