BatchChangeChromeOsDeviceStatusRequest.fromJson constructor

BatchChangeChromeOsDeviceStatusRequest.fromJson(
  1. Map json_
)

Implementation

BatchChangeChromeOsDeviceStatusRequest.fromJson(core.Map json_)
    : this(
        changeChromeOsDeviceStatusAction:
            json_.containsKey('changeChromeOsDeviceStatusAction')
                ? json_['changeChromeOsDeviceStatusAction'] as core.String
                : null,
        deprovisionReason: json_.containsKey('deprovisionReason')
            ? json_['deprovisionReason'] as core.String
            : null,
        deviceIds: json_.containsKey('deviceIds')
            ? (json_['deviceIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );