All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.directory.model.ChromeOsDevice Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.directory.model;

/**
 * Google Chrome devices run on the [Chrome OS](https://support.google.com/chromeos). For more
 * information about common API tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides
 * /manage-chrome-devices).
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class ChromeOsDevice extends com.google.api.client.json.GenericJson { /** * List of active time ranges (Read-only). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List activeTimeRanges; static { // hack to force ProGuard to consider ActiveTimeRanges used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ActiveTimeRanges.class); } /** * The asset identifier as noted by an administrator or specified during enrollment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String annotatedAssetId; /** * The address or location of the device as noted by the administrator. Maximum length is `200` * characters. Empty values are allowed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String annotatedLocation; /** * The user of the device as noted by the administrator. Maximum length is 100 characters. Empty * values are allowed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String annotatedUser; /** * (Read-only) The timestamp after which the device will stop receiving Chrome updates or support * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long autoUpdateExpiration; /** * The boot mode for the device. The possible values are: * `Verified`: The device is running a * valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. * When booted, the device has a command line shell. For an example of a developer switch, see the * [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information- * for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String bootMode; /** * Information regarding CPU specs in the device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List cpuInfo; static { // hack to force ProGuard to consider CpuInfo used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(CpuInfo.class); } /** * Reports of CPU utilization and temperature (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List cpuStatusReports; static { // hack to force ProGuard to consider CpuStatusReports used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(CpuStatusReports.class); } /** * List of device files to download (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List deviceFiles; static { // hack to force ProGuard to consider DeviceFiles used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(DeviceFiles.class); } /** * The unique ID of the Chrome device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String deviceId; /** * Reports of disk space and other info about mounted/connected volumes. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List diskVolumeReports; static { // hack to force ProGuard to consider DiskVolumeReports used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(DiskVolumeReports.class); } /** * (Read-only) Built-in MAC address for the docking station that the device connected to. Factory * sets Media access control address (MAC address) assigned for use by a dock. It is reserved * specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits * without any delimiter (uppercase letters). This is only relevant for some devices. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String dockMacAddress; /** * ETag of the resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String etag; /** * The device's MAC address on the ethernet network interface. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ethernetMacAddress; /** * (Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard * network (ethernet) interface. The format is twelve (12) hexadecimal digits without any * delimiter (uppercase letters). This is only relevant for some devices. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ethernetMacAddress0; /** * The Chrome device's firmware version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String firmwareVersion; /** * The type of resource. For the Chromeosdevices resource, the value is * `admin#directory#chromeosdevice`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * Date and time the device was last enrolled (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime lastEnrollmentTime; /** * Contains last known network (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List lastKnownNetwork; static { // hack to force ProGuard to consider LastKnownNetwork used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(LastKnownNetwork.class); } /** * Date and time the device was last synchronized with the policy settings in the G Suite * administrator control panel (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime lastSync; /** * The device's wireless MAC address. If the device does not have this information, it is not * included in the response. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String macAddress; /** * (Read-only) The date the device was manufactured in yyyy-mm-dd format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String manufactureDate; /** * The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI) * for the 3G mobile card in a mobile device. A MEID/IMEI is typically used when adding a device * to a wireless carrier's post-pay service plan. If the device does not have this information, * this property is not included in the response. For more information on how to export a * MEID/IMEI list, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-chrome- * devices.html#export_meid). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String meid; /** * The device's model information. If the device does not have this information, this property is * not included in the response. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String model; /** * Notes about this device added by the administrator. This property can be * [searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/admin- * sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is * 500 characters. Empty values are allowed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String notes; /** * The device's order number. Only devices directly purchased from Google have an order number. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String orderNumber; /** * The unique ID of the organizational unit. orgUnitPath is the human readable version of * orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path, * orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin- * sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API, and this * will be supported in the future. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String orgUnitId; /** * The full parent path with the organizational unit's name associated with the device. Path names * are case insensitive. If the parent organizational unit is the top-level organization, it is * represented as a forward slash, `/`. This property can be [updated](/admin- * sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API. For more * information about how to create an organizational structure for your device, see the * [administration help center](https://support.google.com/a/answer/182433). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String orgUnitPath; /** * The Chrome device's operating system version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String osVersion; /** * The Chrome device's platform version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String platformVersion; /** * List of recent device users, in descending order, by last login time. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List recentUsers; static { // hack to force ProGuard to consider RecentUsers used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(RecentUsers.class); } /** * List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List screenshotFiles; static { // hack to force ProGuard to consider ScreenshotFiles used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(ScreenshotFiles.class); } /** * The Chrome device serial number entered when the device was enabled. This value is the same as * the Admin console's *Serial Number* in the *Chrome OS Devices* tab. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String serialNumber; /** * The status of the device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String status; /** * Final date the device will be supported (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime supportEndDate; /** * Reports of amounts of available RAM memory (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List systemRamFreeReports; static { // hack to force ProGuard to consider SystemRamFreeReports used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(SystemRamFreeReports.class); } /** * Total RAM on the device [in bytes] (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long systemRamTotal; /** * Trusted Platform Module (TPM) (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private TpmVersionInfo tpmVersionInfo; /** * Determines if the device will auto renew its support after the support end date. This is a * read-only property. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean willAutoRenew; /** * List of active time ranges (Read-only). * @return value or {@code null} for none */ public java.util.List getActiveTimeRanges() { return activeTimeRanges; } /** * List of active time ranges (Read-only). * @param activeTimeRanges activeTimeRanges or {@code null} for none */ public ChromeOsDevice setActiveTimeRanges(java.util.List activeTimeRanges) { this.activeTimeRanges = activeTimeRanges; return this; } /** * The asset identifier as noted by an administrator or specified during enrollment. * @return value or {@code null} for none */ public java.lang.String getAnnotatedAssetId() { return annotatedAssetId; } /** * The asset identifier as noted by an administrator or specified during enrollment. * @param annotatedAssetId annotatedAssetId or {@code null} for none */ public ChromeOsDevice setAnnotatedAssetId(java.lang.String annotatedAssetId) { this.annotatedAssetId = annotatedAssetId; return this; } /** * The address or location of the device as noted by the administrator. Maximum length is `200` * characters. Empty values are allowed. * @return value or {@code null} for none */ public java.lang.String getAnnotatedLocation() { return annotatedLocation; } /** * The address or location of the device as noted by the administrator. Maximum length is `200` * characters. Empty values are allowed. * @param annotatedLocation annotatedLocation or {@code null} for none */ public ChromeOsDevice setAnnotatedLocation(java.lang.String annotatedLocation) { this.annotatedLocation = annotatedLocation; return this; } /** * The user of the device as noted by the administrator. Maximum length is 100 characters. Empty * values are allowed. * @return value or {@code null} for none */ public java.lang.String getAnnotatedUser() { return annotatedUser; } /** * The user of the device as noted by the administrator. Maximum length is 100 characters. Empty * values are allowed. * @param annotatedUser annotatedUser or {@code null} for none */ public ChromeOsDevice setAnnotatedUser(java.lang.String annotatedUser) { this.annotatedUser = annotatedUser; return this; } /** * (Read-only) The timestamp after which the device will stop receiving Chrome updates or support * @return value or {@code null} for none */ public java.lang.Long getAutoUpdateExpiration() { return autoUpdateExpiration; } /** * (Read-only) The timestamp after which the device will stop receiving Chrome updates or support * @param autoUpdateExpiration autoUpdateExpiration or {@code null} for none */ public ChromeOsDevice setAutoUpdateExpiration(java.lang.Long autoUpdateExpiration) { this.autoUpdateExpiration = autoUpdateExpiration; return this; } /** * The boot mode for the device. The possible values are: * `Verified`: The device is running a * valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. * When booted, the device has a command line shell. For an example of a developer switch, see the * [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information- * for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch). * @return value or {@code null} for none */ public java.lang.String getBootMode() { return bootMode; } /** * The boot mode for the device. The possible values are: * `Verified`: The device is running a * valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. * When booted, the device has a command line shell. For an example of a developer switch, see the * [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information- * for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch). * @param bootMode bootMode or {@code null} for none */ public ChromeOsDevice setBootMode(java.lang.String bootMode) { this.bootMode = bootMode; return this; } /** * Information regarding CPU specs in the device. * @return value or {@code null} for none */ public java.util.List getCpuInfo() { return cpuInfo; } /** * Information regarding CPU specs in the device. * @param cpuInfo cpuInfo or {@code null} for none */ public ChromeOsDevice setCpuInfo(java.util.List cpuInfo) { this.cpuInfo = cpuInfo; return this; } /** * Reports of CPU utilization and temperature (Read-only) * @return value or {@code null} for none */ public java.util.List getCpuStatusReports() { return cpuStatusReports; } /** * Reports of CPU utilization and temperature (Read-only) * @param cpuStatusReports cpuStatusReports or {@code null} for none */ public ChromeOsDevice setCpuStatusReports(java.util.List cpuStatusReports) { this.cpuStatusReports = cpuStatusReports; return this; } /** * List of device files to download (Read-only) * @return value or {@code null} for none */ public java.util.List getDeviceFiles() { return deviceFiles; } /** * List of device files to download (Read-only) * @param deviceFiles deviceFiles or {@code null} for none */ public ChromeOsDevice setDeviceFiles(java.util.List deviceFiles) { this.deviceFiles = deviceFiles; return this; } /** * The unique ID of the Chrome device. * @return value or {@code null} for none */ public java.lang.String getDeviceId() { return deviceId; } /** * The unique ID of the Chrome device. * @param deviceId deviceId or {@code null} for none */ public ChromeOsDevice setDeviceId(java.lang.String deviceId) { this.deviceId = deviceId; return this; } /** * Reports of disk space and other info about mounted/connected volumes. * @return value or {@code null} for none */ public java.util.List getDiskVolumeReports() { return diskVolumeReports; } /** * Reports of disk space and other info about mounted/connected volumes. * @param diskVolumeReports diskVolumeReports or {@code null} for none */ public ChromeOsDevice setDiskVolumeReports(java.util.List diskVolumeReports) { this.diskVolumeReports = diskVolumeReports; return this; } /** * (Read-only) Built-in MAC address for the docking station that the device connected to. Factory * sets Media access control address (MAC address) assigned for use by a dock. It is reserved * specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits * without any delimiter (uppercase letters). This is only relevant for some devices. * @return value or {@code null} for none */ public java.lang.String getDockMacAddress() { return dockMacAddress; } /** * (Read-only) Built-in MAC address for the docking station that the device connected to. Factory * sets Media access control address (MAC address) assigned for use by a dock. It is reserved * specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits * without any delimiter (uppercase letters). This is only relevant for some devices. * @param dockMacAddress dockMacAddress or {@code null} for none */ public ChromeOsDevice setDockMacAddress(java.lang.String dockMacAddress) { this.dockMacAddress = dockMacAddress; return this; } /** * ETag of the resource. * @return value or {@code null} for none */ public java.lang.String getEtag() { return etag; } /** * ETag of the resource. * @param etag etag or {@code null} for none */ public ChromeOsDevice setEtag(java.lang.String etag) { this.etag = etag; return this; } /** * The device's MAC address on the ethernet network interface. * @return value or {@code null} for none */ public java.lang.String getEthernetMacAddress() { return ethernetMacAddress; } /** * The device's MAC address on the ethernet network interface. * @param ethernetMacAddress ethernetMacAddress or {@code null} for none */ public ChromeOsDevice setEthernetMacAddress(java.lang.String ethernetMacAddress) { this.ethernetMacAddress = ethernetMacAddress; return this; } /** * (Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard * network (ethernet) interface. The format is twelve (12) hexadecimal digits without any * delimiter (uppercase letters). This is only relevant for some devices. * @return value or {@code null} for none */ public java.lang.String getEthernetMacAddress0() { return ethernetMacAddress0; } /** * (Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard * network (ethernet) interface. The format is twelve (12) hexadecimal digits without any * delimiter (uppercase letters). This is only relevant for some devices. * @param ethernetMacAddress0 ethernetMacAddress0 or {@code null} for none */ public ChromeOsDevice setEthernetMacAddress0(java.lang.String ethernetMacAddress0) { this.ethernetMacAddress0 = ethernetMacAddress0; return this; } /** * The Chrome device's firmware version. * @return value or {@code null} for none */ public java.lang.String getFirmwareVersion() { return firmwareVersion; } /** * The Chrome device's firmware version. * @param firmwareVersion firmwareVersion or {@code null} for none */ public ChromeOsDevice setFirmwareVersion(java.lang.String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } /** * The type of resource. For the Chromeosdevices resource, the value is * `admin#directory#chromeosdevice`. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * The type of resource. For the Chromeosdevices resource, the value is * `admin#directory#chromeosdevice`. * @param kind kind or {@code null} for none */ public ChromeOsDevice setKind(java.lang.String kind) { this.kind = kind; return this; } /** * Date and time the device was last enrolled (Read-only) * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getLastEnrollmentTime() { return lastEnrollmentTime; } /** * Date and time the device was last enrolled (Read-only) * @param lastEnrollmentTime lastEnrollmentTime or {@code null} for none */ public ChromeOsDevice setLastEnrollmentTime(com.google.api.client.util.DateTime lastEnrollmentTime) { this.lastEnrollmentTime = lastEnrollmentTime; return this; } /** * Contains last known network (Read-only) * @return value or {@code null} for none */ public java.util.List getLastKnownNetwork() { return lastKnownNetwork; } /** * Contains last known network (Read-only) * @param lastKnownNetwork lastKnownNetwork or {@code null} for none */ public ChromeOsDevice setLastKnownNetwork(java.util.List lastKnownNetwork) { this.lastKnownNetwork = lastKnownNetwork; return this; } /** * Date and time the device was last synchronized with the policy settings in the G Suite * administrator control panel (Read-only) * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getLastSync() { return lastSync; } /** * Date and time the device was last synchronized with the policy settings in the G Suite * administrator control panel (Read-only) * @param lastSync lastSync or {@code null} for none */ public ChromeOsDevice setLastSync(com.google.api.client.util.DateTime lastSync) { this.lastSync = lastSync; return this; } /** * The device's wireless MAC address. If the device does not have this information, it is not * included in the response. * @return value or {@code null} for none */ public java.lang.String getMacAddress() { return macAddress; } /** * The device's wireless MAC address. If the device does not have this information, it is not * included in the response. * @param macAddress macAddress or {@code null} for none */ public ChromeOsDevice setMacAddress(java.lang.String macAddress) { this.macAddress = macAddress; return this; } /** * (Read-only) The date the device was manufactured in yyyy-mm-dd format. * @return value or {@code null} for none */ public java.lang.String getManufactureDate() { return manufactureDate; } /** * (Read-only) The date the device was manufactured in yyyy-mm-dd format. * @param manufactureDate manufactureDate or {@code null} for none */ public ChromeOsDevice setManufactureDate(java.lang.String manufactureDate) { this.manufactureDate = manufactureDate; return this; } /** * The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI) * for the 3G mobile card in a mobile device. A MEID/IMEI is typically used when adding a device * to a wireless carrier's post-pay service plan. If the device does not have this information, * this property is not included in the response. For more information on how to export a * MEID/IMEI list, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-chrome- * devices.html#export_meid). * @return value or {@code null} for none */ public java.lang.String getMeid() { return meid; } /** * The Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI) * for the 3G mobile card in a mobile device. A MEID/IMEI is typically used when adding a device * to a wireless carrier's post-pay service plan. If the device does not have this information, * this property is not included in the response. For more information on how to export a * MEID/IMEI list, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-chrome- * devices.html#export_meid). * @param meid meid or {@code null} for none */ public ChromeOsDevice setMeid(java.lang.String meid) { this.meid = meid; return this; } /** * The device's model information. If the device does not have this information, this property is * not included in the response. * @return value or {@code null} for none */ public java.lang.String getModel() { return model; } /** * The device's model information. If the device does not have this information, this property is * not included in the response. * @param model model or {@code null} for none */ public ChromeOsDevice setModel(java.lang.String model) { this.model = model; return this; } /** * Notes about this device added by the administrator. This property can be * [searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/admin- * sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is * 500 characters. Empty values are allowed. * @return value or {@code null} for none */ public java.lang.String getNotes() { return notes; } /** * Notes about this device added by the administrator. This property can be * [searched](https://support.google.com/chrome/a/answer/1698333) with the [list](/admin- * sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is * 500 characters. Empty values are allowed. * @param notes notes or {@code null} for none */ public ChromeOsDevice setNotes(java.lang.String notes) { this.notes = notes; return this; } /** * The device's order number. Only devices directly purchased from Google have an order number. * @return value or {@code null} for none */ public java.lang.String getOrderNumber() { return orderNumber; } /** * The device's order number. Only devices directly purchased from Google have an order number. * @param orderNumber orderNumber or {@code null} for none */ public ChromeOsDevice setOrderNumber(java.lang.String orderNumber) { this.orderNumber = orderNumber; return this; } /** * The unique ID of the organizational unit. orgUnitPath is the human readable version of * orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path, * orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin- * sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API, and this * will be supported in the future. * @return value or {@code null} for none */ public java.lang.String getOrgUnitId() { return orgUnitId; } /** * The unique ID of the organizational unit. orgUnitPath is the human readable version of * orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path, * orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin- * sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API, and this * will be supported in the future. * @param orgUnitId orgUnitId or {@code null} for none */ public ChromeOsDevice setOrgUnitId(java.lang.String orgUnitId) { this.orgUnitId = orgUnitId; return this; } /** * The full parent path with the organizational unit's name associated with the device. Path names * are case insensitive. If the parent organizational unit is the top-level organization, it is * represented as a forward slash, `/`. This property can be [updated](/admin- * sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API. For more * information about how to create an organizational structure for your device, see the * [administration help center](https://support.google.com/a/answer/182433). * @return value or {@code null} for none */ public java.lang.String getOrgUnitPath() { return orgUnitPath; } /** * The full parent path with the organizational unit's name associated with the device. Path names * are case insensitive. If the parent organizational unit is the top-level organization, it is * represented as a forward slash, `/`. This property can be [updated](/admin- * sdk/directory/v1/guides/manage-chrome-devices#update_chrome_device) using the API. For more * information about how to create an organizational structure for your device, see the * [administration help center](https://support.google.com/a/answer/182433). * @param orgUnitPath orgUnitPath or {@code null} for none */ public ChromeOsDevice setOrgUnitPath(java.lang.String orgUnitPath) { this.orgUnitPath = orgUnitPath; return this; } /** * The Chrome device's operating system version. * @return value or {@code null} for none */ public java.lang.String getOsVersion() { return osVersion; } /** * The Chrome device's operating system version. * @param osVersion osVersion or {@code null} for none */ public ChromeOsDevice setOsVersion(java.lang.String osVersion) { this.osVersion = osVersion; return this; } /** * The Chrome device's platform version. * @return value or {@code null} for none */ public java.lang.String getPlatformVersion() { return platformVersion; } /** * The Chrome device's platform version. * @param platformVersion platformVersion or {@code null} for none */ public ChromeOsDevice setPlatformVersion(java.lang.String platformVersion) { this.platformVersion = platformVersion; return this; } /** * List of recent device users, in descending order, by last login time. * @return value or {@code null} for none */ public java.util.List getRecentUsers() { return recentUsers; } /** * List of recent device users, in descending order, by last login time. * @param recentUsers recentUsers or {@code null} for none */ public ChromeOsDevice setRecentUsers(java.util.List recentUsers) { this.recentUsers = recentUsers; return this; } /** * List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) * @return value or {@code null} for none */ public java.util.List getScreenshotFiles() { return screenshotFiles; } /** * List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) * @param screenshotFiles screenshotFiles or {@code null} for none */ public ChromeOsDevice setScreenshotFiles(java.util.List screenshotFiles) { this.screenshotFiles = screenshotFiles; return this; } /** * The Chrome device serial number entered when the device was enabled. This value is the same as * the Admin console's *Serial Number* in the *Chrome OS Devices* tab. * @return value or {@code null} for none */ public java.lang.String getSerialNumber() { return serialNumber; } /** * The Chrome device serial number entered when the device was enabled. This value is the same as * the Admin console's *Serial Number* in the *Chrome OS Devices* tab. * @param serialNumber serialNumber or {@code null} for none */ public ChromeOsDevice setSerialNumber(java.lang.String serialNumber) { this.serialNumber = serialNumber; return this; } /** * The status of the device. * @return value or {@code null} for none */ public java.lang.String getStatus() { return status; } /** * The status of the device. * @param status status or {@code null} for none */ public ChromeOsDevice setStatus(java.lang.String status) { this.status = status; return this; } /** * Final date the device will be supported (Read-only) * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getSupportEndDate() { return supportEndDate; } /** * Final date the device will be supported (Read-only) * @param supportEndDate supportEndDate or {@code null} for none */ public ChromeOsDevice setSupportEndDate(com.google.api.client.util.DateTime supportEndDate) { this.supportEndDate = supportEndDate; return this; } /** * Reports of amounts of available RAM memory (Read-only) * @return value or {@code null} for none */ public java.util.List getSystemRamFreeReports() { return systemRamFreeReports; } /** * Reports of amounts of available RAM memory (Read-only) * @param systemRamFreeReports systemRamFreeReports or {@code null} for none */ public ChromeOsDevice setSystemRamFreeReports(java.util.List systemRamFreeReports) { this.systemRamFreeReports = systemRamFreeReports; return this; } /** * Total RAM on the device [in bytes] (Read-only) * @return value or {@code null} for none */ public java.lang.Long getSystemRamTotal() { return systemRamTotal; } /** * Total RAM on the device [in bytes] (Read-only) * @param systemRamTotal systemRamTotal or {@code null} for none */ public ChromeOsDevice setSystemRamTotal(java.lang.Long systemRamTotal) { this.systemRamTotal = systemRamTotal; return this; } /** * Trusted Platform Module (TPM) (Read-only) * @return value or {@code null} for none */ public TpmVersionInfo getTpmVersionInfo() { return tpmVersionInfo; } /** * Trusted Platform Module (TPM) (Read-only) * @param tpmVersionInfo tpmVersionInfo or {@code null} for none */ public ChromeOsDevice setTpmVersionInfo(TpmVersionInfo tpmVersionInfo) { this.tpmVersionInfo = tpmVersionInfo; return this; } /** * Determines if the device will auto renew its support after the support end date. This is a * read-only property. * @return value or {@code null} for none */ public java.lang.Boolean getWillAutoRenew() { return willAutoRenew; } /** * Determines if the device will auto renew its support after the support end date. This is a * read-only property. * @param willAutoRenew willAutoRenew or {@code null} for none */ public ChromeOsDevice setWillAutoRenew(java.lang.Boolean willAutoRenew) { this.willAutoRenew = willAutoRenew; return this; } @Override public ChromeOsDevice set(String fieldName, Object value) { return (ChromeOsDevice) super.set(fieldName, value); } @Override public ChromeOsDevice clone() { return (ChromeOsDevice) super.clone(); } /** * Model definition for ChromeOsDeviceActiveTimeRanges. */ public static final class ActiveTimeRanges extends com.google.api.client.json.GenericJson { /** * Duration of usage in milliseconds. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer activeTime; /** * Date of usage * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime date; /** * Duration of usage in milliseconds. * @return value or {@code null} for none */ public java.lang.Integer getActiveTime() { return activeTime; } /** * Duration of usage in milliseconds. * @param activeTime activeTime or {@code null} for none */ public ActiveTimeRanges setActiveTime(java.lang.Integer activeTime) { this.activeTime = activeTime; return this; } /** * Date of usage * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getDate() { return date; } /** * Date of usage * @param date date or {@code null} for none */ public ActiveTimeRanges setDate(com.google.api.client.util.DateTime date) { this.date = date; return this; } @Override public ActiveTimeRanges set(String fieldName, Object value) { return (ActiveTimeRanges) super.set(fieldName, value); } @Override public ActiveTimeRanges clone() { return (ActiveTimeRanges) super.clone(); } } /** * CPU specs for a CPU. */ public static final class CpuInfo extends com.google.api.client.json.GenericJson { /** * The CPU architecture. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String architecture; /** * Information for the Logical CPUs * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List logicalCpus; static { // hack to force ProGuard to consider LogicalCpus used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(LogicalCpus.class); } /** * The max CPU clock speed in kHz. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer maxClockSpeedKhz; /** * The CPU model name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String model; /** * The CPU architecture. * @return value or {@code null} for none */ public java.lang.String getArchitecture() { return architecture; } /** * The CPU architecture. * @param architecture architecture or {@code null} for none */ public CpuInfo setArchitecture(java.lang.String architecture) { this.architecture = architecture; return this; } /** * Information for the Logical CPUs * @return value or {@code null} for none */ public java.util.List getLogicalCpus() { return logicalCpus; } /** * Information for the Logical CPUs * @param logicalCpus logicalCpus or {@code null} for none */ public CpuInfo setLogicalCpus(java.util.List logicalCpus) { this.logicalCpus = logicalCpus; return this; } /** * The max CPU clock speed in kHz. * @return value or {@code null} for none */ public java.lang.Integer getMaxClockSpeedKhz() { return maxClockSpeedKhz; } /** * The max CPU clock speed in kHz. * @param maxClockSpeedKhz maxClockSpeedKhz or {@code null} for none */ public CpuInfo setMaxClockSpeedKhz(java.lang.Integer maxClockSpeedKhz) { this.maxClockSpeedKhz = maxClockSpeedKhz; return this; } /** * The CPU model name. * @return value or {@code null} for none */ public java.lang.String getModel() { return model; } /** * The CPU model name. * @param model model or {@code null} for none */ public CpuInfo setModel(java.lang.String model) { this.model = model; return this; } @Override public CpuInfo set(String fieldName, Object value) { return (CpuInfo) super.set(fieldName, value); } @Override public CpuInfo clone() { return (CpuInfo) super.clone(); } /** * Status of a single logical CPU. */ public static final class LogicalCpus extends com.google.api.client.json.GenericJson { /** * C-States indicate the power consumption state of the CPU. For more information look at * documentation published by the CPU maker. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List cStates; static { // hack to force ProGuard to consider CStates used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(CStates.class); } /** * Current frequency the CPU is running at. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer currentScalingFrequencyKhz; /** * Idle time since last boot. * The value may be {@code null}. */ @com.google.api.client.util.Key private String idleDuration; /** * Maximum frequency the CPU is allowed to run at, by policy. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer maxScalingFrequencyKhz; /** * C-States indicate the power consumption state of the CPU. For more information look at * documentation published by the CPU maker. * @return value or {@code null} for none */ public java.util.List getCStates() { return cStates; } /** * C-States indicate the power consumption state of the CPU. For more information look at * documentation published by the CPU maker. * @param cStates cStates or {@code null} for none */ public LogicalCpus setCStates(java.util.List cStates) { this.cStates = cStates; return this; } /** * Current frequency the CPU is running at. * @return value or {@code null} for none */ public java.lang.Integer getCurrentScalingFrequencyKhz() { return currentScalingFrequencyKhz; } /** * Current frequency the CPU is running at. * @param currentScalingFrequencyKhz currentScalingFrequencyKhz or {@code null} for none */ public LogicalCpus setCurrentScalingFrequencyKhz(java.lang.Integer currentScalingFrequencyKhz) { this.currentScalingFrequencyKhz = currentScalingFrequencyKhz; return this; } /** * Idle time since last boot. * @return value or {@code null} for none */ public String getIdleDuration() { return idleDuration; } /** * Idle time since last boot. * @param idleDuration idleDuration or {@code null} for none */ public LogicalCpus setIdleDuration(String idleDuration) { this.idleDuration = idleDuration; return this; } /** * Maximum frequency the CPU is allowed to run at, by policy. * @return value or {@code null} for none */ public java.lang.Integer getMaxScalingFrequencyKhz() { return maxScalingFrequencyKhz; } /** * Maximum frequency the CPU is allowed to run at, by policy. * @param maxScalingFrequencyKhz maxScalingFrequencyKhz or {@code null} for none */ public LogicalCpus setMaxScalingFrequencyKhz(java.lang.Integer maxScalingFrequencyKhz) { this.maxScalingFrequencyKhz = maxScalingFrequencyKhz; return this; } @Override public LogicalCpus set(String fieldName, Object value) { return (LogicalCpus) super.set(fieldName, value); } @Override public LogicalCpus clone() { return (LogicalCpus) super.clone(); } /** * Status of a single C-state. C-states are various modes the CPU can transition to in order to use * more or less power. */ public static final class CStates extends com.google.api.client.json.GenericJson { /** * Name of the state. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String displayName; /** * Time spent in the state since the last reboot. * The value may be {@code null}. */ @com.google.api.client.util.Key private String sessionDuration; /** * Name of the state. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { return displayName; } /** * Name of the state. * @param displayName displayName or {@code null} for none */ public CStates setDisplayName(java.lang.String displayName) { this.displayName = displayName; return this; } /** * Time spent in the state since the last reboot. * @return value or {@code null} for none */ public String getSessionDuration() { return sessionDuration; } /** * Time spent in the state since the last reboot. * @param sessionDuration sessionDuration or {@code null} for none */ public CStates setSessionDuration(String sessionDuration) { this.sessionDuration = sessionDuration; return this; } @Override public CStates set(String fieldName, Object value) { return (CStates) super.set(fieldName, value); } @Override public CStates clone() { return (CStates) super.clone(); } } } } /** * Model definition for ChromeOsDeviceCpuStatusReports. */ public static final class CpuStatusReports extends com.google.api.client.json.GenericJson { /** * List of CPU temperature samples. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List cpuTemperatureInfo; static { // hack to force ProGuard to consider CpuTemperatureInfo used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(CpuTemperatureInfo.class); } /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List cpuUtilizationPercentageInfo; /** * Date and time the report was received. * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime reportTime; /** * List of CPU temperature samples. * @return value or {@code null} for none */ public java.util.List getCpuTemperatureInfo() { return cpuTemperatureInfo; } /** * List of CPU temperature samples. * @param cpuTemperatureInfo cpuTemperatureInfo or {@code null} for none */ public CpuStatusReports setCpuTemperatureInfo(java.util.List cpuTemperatureInfo) { this.cpuTemperatureInfo = cpuTemperatureInfo; return this; } /** * @return value or {@code null} for none */ public java.util.List getCpuUtilizationPercentageInfo() { return cpuUtilizationPercentageInfo; } /** * @param cpuUtilizationPercentageInfo cpuUtilizationPercentageInfo or {@code null} for none */ public CpuStatusReports setCpuUtilizationPercentageInfo(java.util.List cpuUtilizationPercentageInfo) { this.cpuUtilizationPercentageInfo = cpuUtilizationPercentageInfo; return this; } /** * Date and time the report was received. * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getReportTime() { return reportTime; } /** * Date and time the report was received. * @param reportTime reportTime or {@code null} for none */ public CpuStatusReports setReportTime(com.google.api.client.util.DateTime reportTime) { this.reportTime = reportTime; return this; } @Override public CpuStatusReports set(String fieldName, Object value) { return (CpuStatusReports) super.set(fieldName, value); } @Override public CpuStatusReports clone() { return (CpuStatusReports) super.clone(); } /** * Model definition for ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo. */ public static final class CpuTemperatureInfo extends com.google.api.client.json.GenericJson { /** * CPU label * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String label; /** * Temperature in Celsius degrees. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer temperature; /** * CPU label * @return value or {@code null} for none */ public java.lang.String getLabel() { return label; } /** * CPU label * @param label label or {@code null} for none */ public CpuTemperatureInfo setLabel(java.lang.String label) { this.label = label; return this; } /** * Temperature in Celsius degrees. * @return value or {@code null} for none */ public java.lang.Integer getTemperature() { return temperature; } /** * Temperature in Celsius degrees. * @param temperature temperature or {@code null} for none */ public CpuTemperatureInfo setTemperature(java.lang.Integer temperature) { this.temperature = temperature; return this; } @Override public CpuTemperatureInfo set(String fieldName, Object value) { return (CpuTemperatureInfo) super.set(fieldName, value); } @Override public CpuTemperatureInfo clone() { return (CpuTemperatureInfo) super.clone(); } } } /** * Model definition for ChromeOsDeviceDeviceFiles. */ public static final class DeviceFiles extends com.google.api.client.json.GenericJson { /** * Date and time the file was created * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime createTime; /** * File download URL * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String downloadUrl; /** * File name * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * File type * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Date and time the file was created * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getCreateTime() { return createTime; } /** * Date and time the file was created * @param createTime createTime or {@code null} for none */ public DeviceFiles setCreateTime(com.google.api.client.util.DateTime createTime) { this.createTime = createTime; return this; } /** * File download URL * @return value or {@code null} for none */ public java.lang.String getDownloadUrl() { return downloadUrl; } /** * File download URL * @param downloadUrl downloadUrl or {@code null} for none */ public DeviceFiles setDownloadUrl(java.lang.String downloadUrl) { this.downloadUrl = downloadUrl; return this; } /** * File name * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * File name * @param name name or {@code null} for none */ public DeviceFiles setName(java.lang.String name) { this.name = name; return this; } /** * File type * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * File type * @param type type or {@code null} for none */ public DeviceFiles setType(java.lang.String type) { this.type = type; return this; } @Override public DeviceFiles set(String fieldName, Object value) { return (DeviceFiles) super.set(fieldName, value); } @Override public DeviceFiles clone() { return (DeviceFiles) super.clone(); } } /** * Model definition for ChromeOsDeviceDiskVolumeReports. */ public static final class DiskVolumeReports extends com.google.api.client.json.GenericJson { /** * Disk volumes * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List volumeInfo; static { // hack to force ProGuard to consider VolumeInfo used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(VolumeInfo.class); } /** * Disk volumes * @return value or {@code null} for none */ public java.util.List getVolumeInfo() { return volumeInfo; } /** * Disk volumes * @param volumeInfo volumeInfo or {@code null} for none */ public DiskVolumeReports setVolumeInfo(java.util.List volumeInfo) { this.volumeInfo = volumeInfo; return this; } @Override public DiskVolumeReports set(String fieldName, Object value) { return (DiskVolumeReports) super.set(fieldName, value); } @Override public DiskVolumeReports clone() { return (DiskVolumeReports) super.clone(); } /** * Model definition for ChromeOsDeviceDiskVolumeReportsVolumeInfo. */ public static final class VolumeInfo extends com.google.api.client.json.GenericJson { /** * Free disk space [in bytes] * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long storageFree; /** * Total disk space [in bytes] * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long storageTotal; /** * Volume id * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String volumeId; /** * Free disk space [in bytes] * @return value or {@code null} for none */ public java.lang.Long getStorageFree() { return storageFree; } /** * Free disk space [in bytes] * @param storageFree storageFree or {@code null} for none */ public VolumeInfo setStorageFree(java.lang.Long storageFree) { this.storageFree = storageFree; return this; } /** * Total disk space [in bytes] * @return value or {@code null} for none */ public java.lang.Long getStorageTotal() { return storageTotal; } /** * Total disk space [in bytes] * @param storageTotal storageTotal or {@code null} for none */ public VolumeInfo setStorageTotal(java.lang.Long storageTotal) { this.storageTotal = storageTotal; return this; } /** * Volume id * @return value or {@code null} for none */ public java.lang.String getVolumeId() { return volumeId; } /** * Volume id * @param volumeId volumeId or {@code null} for none */ public VolumeInfo setVolumeId(java.lang.String volumeId) { this.volumeId = volumeId; return this; } @Override public VolumeInfo set(String fieldName, Object value) { return (VolumeInfo) super.set(fieldName, value); } @Override public VolumeInfo clone() { return (VolumeInfo) super.clone(); } } } /** * Information for an ip address. */ public static final class LastKnownNetwork extends com.google.api.client.json.GenericJson { /** * The IP address. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ipAddress; /** * The WAN IP address. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String wanIpAddress; /** * The IP address. * @return value or {@code null} for none */ public java.lang.String getIpAddress() { return ipAddress; } /** * The IP address. * @param ipAddress ipAddress or {@code null} for none */ public LastKnownNetwork setIpAddress(java.lang.String ipAddress) { this.ipAddress = ipAddress; return this; } /** * The WAN IP address. * @return value or {@code null} for none */ public java.lang.String getWanIpAddress() { return wanIpAddress; } /** * The WAN IP address. * @param wanIpAddress wanIpAddress or {@code null} for none */ public LastKnownNetwork setWanIpAddress(java.lang.String wanIpAddress) { this.wanIpAddress = wanIpAddress; return this; } @Override public LastKnownNetwork set(String fieldName, Object value) { return (LastKnownNetwork) super.set(fieldName, value); } @Override public LastKnownNetwork clone() { return (LastKnownNetwork) super.clone(); } } /** * List of recent device users, in descending order, by last login time. */ public static final class RecentUsers extends com.google.api.client.json.GenericJson { /** * The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String email; /** * The type of the user. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. * @return value or {@code null} for none */ public java.lang.String getEmail() { return email; } /** * The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. * @param email email or {@code null} for none */ public RecentUsers setEmail(java.lang.String email) { this.email = email; return this; } /** * The type of the user. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The type of the user. * @param type type or {@code null} for none */ public RecentUsers setType(java.lang.String type) { this.type = type; return this; } @Override public RecentUsers set(String fieldName, Object value) { return (RecentUsers) super.set(fieldName, value); } @Override public RecentUsers clone() { return (RecentUsers) super.clone(); } } /** * Model definition for ChromeOsDeviceScreenshotFiles. */ public static final class ScreenshotFiles extends com.google.api.client.json.GenericJson { /** * Date and time the file was created * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime createTime; /** * File download URL * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String downloadUrl; /** * File name * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * File type * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Date and time the file was created * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getCreateTime() { return createTime; } /** * Date and time the file was created * @param createTime createTime or {@code null} for none */ public ScreenshotFiles setCreateTime(com.google.api.client.util.DateTime createTime) { this.createTime = createTime; return this; } /** * File download URL * @return value or {@code null} for none */ public java.lang.String getDownloadUrl() { return downloadUrl; } /** * File download URL * @param downloadUrl downloadUrl or {@code null} for none */ public ScreenshotFiles setDownloadUrl(java.lang.String downloadUrl) { this.downloadUrl = downloadUrl; return this; } /** * File name * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * File name * @param name name or {@code null} for none */ public ScreenshotFiles setName(java.lang.String name) { this.name = name; return this; } /** * File type * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * File type * @param type type or {@code null} for none */ public ScreenshotFiles setType(java.lang.String type) { this.type = type; return this; } @Override public ScreenshotFiles set(String fieldName, Object value) { return (ScreenshotFiles) super.set(fieldName, value); } @Override public ScreenshotFiles clone() { return (ScreenshotFiles) super.clone(); } } /** * Model definition for ChromeOsDeviceSystemRamFreeReports. */ public static final class SystemRamFreeReports extends com.google.api.client.json.GenericJson { /** * Date and time the report was received. * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime reportTime; /** * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.util.List systemRamFreeInfo; /** * Date and time the report was received. * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getReportTime() { return reportTime; } /** * Date and time the report was received. * @param reportTime reportTime or {@code null} for none */ public SystemRamFreeReports setReportTime(com.google.api.client.util.DateTime reportTime) { this.reportTime = reportTime; return this; } /** * @return value or {@code null} for none */ public java.util.List getSystemRamFreeInfo() { return systemRamFreeInfo; } /** * @param systemRamFreeInfo systemRamFreeInfo or {@code null} for none */ public SystemRamFreeReports setSystemRamFreeInfo(java.util.List systemRamFreeInfo) { this.systemRamFreeInfo = systemRamFreeInfo; return this; } @Override public SystemRamFreeReports set(String fieldName, Object value) { return (SystemRamFreeReports) super.set(fieldName, value); } @Override public SystemRamFreeReports clone() { return (SystemRamFreeReports) super.clone(); } } /** * Trusted Platform Module (TPM) (Read-only) */ public static final class TpmVersionInfo extends com.google.api.client.json.GenericJson { /** * TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" * -> 322e3000 * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String family; /** * TPM firmware version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String firmwareVersion; /** * TPM manufacturer code. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String manufacturer; /** * TPM specification level. See Library Specification for TPM 2.0 and Main Specification for TPM * 1.2. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String specLevel; /** * TPM model number. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tpmModel; /** * Vendor-specific information such as Vendor ID. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vendorSpecific; /** * TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" * -> 322e3000 * @return value or {@code null} for none */ public java.lang.String getFamily() { return family; } /** * TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" * -> 322e3000 * @param family family or {@code null} for none */ public TpmVersionInfo setFamily(java.lang.String family) { this.family = family; return this; } /** * TPM firmware version. * @return value or {@code null} for none */ public java.lang.String getFirmwareVersion() { return firmwareVersion; } /** * TPM firmware version. * @param firmwareVersion firmwareVersion or {@code null} for none */ public TpmVersionInfo setFirmwareVersion(java.lang.String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } /** * TPM manufacturer code. * @return value or {@code null} for none */ public java.lang.String getManufacturer() { return manufacturer; } /** * TPM manufacturer code. * @param manufacturer manufacturer or {@code null} for none */ public TpmVersionInfo setManufacturer(java.lang.String manufacturer) { this.manufacturer = manufacturer; return this; } /** * TPM specification level. See Library Specification for TPM 2.0 and Main Specification for TPM * 1.2. * @return value or {@code null} for none */ public java.lang.String getSpecLevel() { return specLevel; } /** * TPM specification level. See Library Specification for TPM 2.0 and Main Specification for TPM * 1.2. * @param specLevel specLevel or {@code null} for none */ public TpmVersionInfo setSpecLevel(java.lang.String specLevel) { this.specLevel = specLevel; return this; } /** * TPM model number. * @return value or {@code null} for none */ public java.lang.String getTpmModel() { return tpmModel; } /** * TPM model number. * @param tpmModel tpmModel or {@code null} for none */ public TpmVersionInfo setTpmModel(java.lang.String tpmModel) { this.tpmModel = tpmModel; return this; } /** * Vendor-specific information such as Vendor ID. * @return value or {@code null} for none */ public java.lang.String getVendorSpecific() { return vendorSpecific; } /** * Vendor-specific information such as Vendor ID. * @param vendorSpecific vendorSpecific or {@code null} for none */ public TpmVersionInfo setVendorSpecific(java.lang.String vendorSpecific) { this.vendorSpecific = vendorSpecific; return this; } @Override public TpmVersionInfo set(String fieldName, Object value) { return (TpmVersionInfo) super.set(fieldName, value); } @Override public TpmVersionInfo clone() { return (TpmVersionInfo) super.clone(); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy