GoogleChromeManagementV1TelemetryDevice.fromJson constructor
GoogleChromeManagementV1TelemetryDevice.fromJson(
- Map json_
Implementation
GoogleChromeManagementV1TelemetryDevice.fromJson(core.Map json_)
: this(
appReport: (json_['appReport'] as core.List?)
?.map((value) => GoogleChromeManagementV1AppReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
audioStatusReport: (json_['audioStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1AudioStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
batteryInfo: (json_['batteryInfo'] as core.List?)
?.map((value) => GoogleChromeManagementV1BatteryInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
batteryStatusReport: (json_['batteryStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1BatteryStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
bootPerformanceReport: (json_['bootPerformanceReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1BootPerformanceReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
cpuInfo: (json_['cpuInfo'] as core.List?)
?.map((value) => GoogleChromeManagementV1CpuInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
cpuStatusReport: (json_['cpuStatusReport'] as core.List?)
?.map((value) => GoogleChromeManagementV1CpuStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
customer: json_['customer'] as core.String?,
deviceId: json_['deviceId'] as core.String?,
graphicsInfo: json_.containsKey('graphicsInfo')
? GoogleChromeManagementV1GraphicsInfo.fromJson(
json_['graphicsInfo'] as core.Map<core.String, core.dynamic>)
: null,
graphicsStatusReport: (json_['graphicsStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1GraphicsStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
heartbeatStatusReport: (json_['heartbeatStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1HeartbeatStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
kioskAppStatusReport: (json_['kioskAppStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1KioskAppStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
memoryInfo: json_.containsKey('memoryInfo')
? GoogleChromeManagementV1MemoryInfo.fromJson(
json_['memoryInfo'] as core.Map<core.String, core.dynamic>)
: null,
memoryStatusReport: (json_['memoryStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1MemoryStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
name: json_['name'] as core.String?,
networkBandwidthReport:
(json_['networkBandwidthReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1NetworkBandwidthReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
networkDiagnosticsReport:
(json_['networkDiagnosticsReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1NetworkDiagnosticsReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
networkInfo: json_.containsKey('networkInfo')
? GoogleChromeManagementV1NetworkInfo.fromJson(
json_['networkInfo'] as core.Map<core.String, core.dynamic>)
: null,
networkStatusReport: (json_['networkStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1NetworkStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
orgUnitId: json_['orgUnitId'] as core.String?,
osUpdateStatus: (json_['osUpdateStatus'] as core.List?)
?.map((value) => GoogleChromeManagementV1OsUpdateStatus.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
peripheralsReport: (json_['peripheralsReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1PeripheralsReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
runtimeCountersReport: (json_['runtimeCountersReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1RuntimeCountersReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
serialNumber: json_['serialNumber'] as core.String?,
storageInfo: json_.containsKey('storageInfo')
? GoogleChromeManagementV1StorageInfo.fromJson(
json_['storageInfo'] as core.Map<core.String, core.dynamic>)
: null,
storageStatusReport: (json_['storageStatusReport'] as core.List?)
?.map((value) =>
GoogleChromeManagementV1StorageStatusReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
thunderboltInfo: (json_['thunderboltInfo'] as core.List?)
?.map((value) => GoogleChromeManagementV1ThunderboltInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
);