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

com.google.api.services.cloudidentity.v1beta1.model.Device Maven / Gradle / Ivy

There is a newer version: v1-rev20241208-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.cloudidentity.v1beta1.model;

/**
 * A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud,
 * independent of the device ownership, type, and whether it is assigned or in use by a user.
 *
 * 

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 Cloud Identity 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 Device extends com.google.api.client.json.GenericJson { /** * Output only. Attributes specific to Android devices. * The value may be {@code null}. */ @com.google.api.client.util.Key private AndroidAttributes androidSpecificAttributes; /** * Asset tag of the device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String assetTag; /** * Output only. Baseband version of the device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String basebandVersion; /** * Output only. Device bootloader version. Example: 0.6.7. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String bootloaderVersion; /** * Output only. Device brand. Example: Samsung. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String brand; /** * Output only. Build number of the device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String buildNumber; /** * Output only. Represents whether the Device is compromised. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String compromisedState; /** * Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Output only. Type of device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String deviceType; /** * Output only. Whether developer options is enabled on device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enabledDeveloperOptions; /** * Output only. Whether USB debugging is enabled on device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enabledUsbDebugging; /** * Output only. Device encryption state. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String encryptionState; /** * Output only. IMEI number of device if GSM device; empty otherwise. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String imei; /** * Output only. Kernel version of the device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kernelVersion; /** * Most recent time when device synced with this service. * The value may be {@code null}. */ @com.google.api.client.util.Key private String lastSyncTime; /** * Output only. Management state of the device * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String managementState; /** * Output only. Device manufacturer. Example: Motorola. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String manufacturer; /** * Output only. MEID number of device if CDMA device; empty otherwise. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String meid; /** * Output only. Model name of device. Example: Pixel 3. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String model; /** * Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device * in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Output only. Mobile or network operator of device, if available. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String networkOperator; /** * Output only. OS version of the device. Example: Android 8.1.0. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String osVersion; /** * Output only. Domain name for Google accounts on device. Type for other accounts on device. On * Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. * Does not include the account signed in to the device policy app if that account's domain has * only one account. Examples: "com.example", "xyz.com". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List otherAccounts; /** * Output only. Whether the device is owned by the company or an individual * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ownerType; /** * Output only. OS release version. Example: 6.0. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String releaseVersion; /** * Output only. OS security patch update time on device. * The value may be {@code null}. */ @com.google.api.client.util.Key private String securityPatchTime; /** * Serial Number of device. Example: HT82V1A01076. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String serialNumber; /** * WiFi MAC addresses of device. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List wifiMacAddresses; /** * Output only. Attributes specific to Android devices. * @return value or {@code null} for none */ public AndroidAttributes getAndroidSpecificAttributes() { return androidSpecificAttributes; } /** * Output only. Attributes specific to Android devices. * @param androidSpecificAttributes androidSpecificAttributes or {@code null} for none */ public Device setAndroidSpecificAttributes(AndroidAttributes androidSpecificAttributes) { this.androidSpecificAttributes = androidSpecificAttributes; return this; } /** * Asset tag of the device. * @return value or {@code null} for none */ public java.lang.String getAssetTag() { return assetTag; } /** * Asset tag of the device. * @param assetTag assetTag or {@code null} for none */ public Device setAssetTag(java.lang.String assetTag) { this.assetTag = assetTag; return this; } /** * Output only. Baseband version of the device. * @return value or {@code null} for none */ public java.lang.String getBasebandVersion() { return basebandVersion; } /** * Output only. Baseband version of the device. * @param basebandVersion basebandVersion or {@code null} for none */ public Device setBasebandVersion(java.lang.String basebandVersion) { this.basebandVersion = basebandVersion; return this; } /** * Output only. Device bootloader version. Example: 0.6.7. * @return value or {@code null} for none */ public java.lang.String getBootloaderVersion() { return bootloaderVersion; } /** * Output only. Device bootloader version. Example: 0.6.7. * @param bootloaderVersion bootloaderVersion or {@code null} for none */ public Device setBootloaderVersion(java.lang.String bootloaderVersion) { this.bootloaderVersion = bootloaderVersion; return this; } /** * Output only. Device brand. Example: Samsung. * @return value or {@code null} for none */ public java.lang.String getBrand() { return brand; } /** * Output only. Device brand. Example: Samsung. * @param brand brand or {@code null} for none */ public Device setBrand(java.lang.String brand) { this.brand = brand; return this; } /** * Output only. Build number of the device. * @return value or {@code null} for none */ public java.lang.String getBuildNumber() { return buildNumber; } /** * Output only. Build number of the device. * @param buildNumber buildNumber or {@code null} for none */ public Device setBuildNumber(java.lang.String buildNumber) { this.buildNumber = buildNumber; return this; } /** * Output only. Represents whether the Device is compromised. * @return value or {@code null} for none */ public java.lang.String getCompromisedState() { return compromisedState; } /** * Output only. Represents whether the Device is compromised. * @param compromisedState compromisedState or {@code null} for none */ public Device setCompromisedState(java.lang.String compromisedState) { this.compromisedState = compromisedState; return this; } /** * Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. When the Company-Owned device was imported. This field is empty for BYOD devices. * @param createTime createTime or {@code null} for none */ public Device setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Output only. Type of device. * @return value or {@code null} for none */ public java.lang.String getDeviceType() { return deviceType; } /** * Output only. Type of device. * @param deviceType deviceType or {@code null} for none */ public Device setDeviceType(java.lang.String deviceType) { this.deviceType = deviceType; return this; } /** * Output only. Whether developer options is enabled on device. * @return value or {@code null} for none */ public java.lang.Boolean getEnabledDeveloperOptions() { return enabledDeveloperOptions; } /** * Output only. Whether developer options is enabled on device. * @param enabledDeveloperOptions enabledDeveloperOptions or {@code null} for none */ public Device setEnabledDeveloperOptions(java.lang.Boolean enabledDeveloperOptions) { this.enabledDeveloperOptions = enabledDeveloperOptions; return this; } /** * Output only. Whether USB debugging is enabled on device. * @return value or {@code null} for none */ public java.lang.Boolean getEnabledUsbDebugging() { return enabledUsbDebugging; } /** * Output only. Whether USB debugging is enabled on device. * @param enabledUsbDebugging enabledUsbDebugging or {@code null} for none */ public Device setEnabledUsbDebugging(java.lang.Boolean enabledUsbDebugging) { this.enabledUsbDebugging = enabledUsbDebugging; return this; } /** * Output only. Device encryption state. * @return value or {@code null} for none */ public java.lang.String getEncryptionState() { return encryptionState; } /** * Output only. Device encryption state. * @param encryptionState encryptionState or {@code null} for none */ public Device setEncryptionState(java.lang.String encryptionState) { this.encryptionState = encryptionState; return this; } /** * Output only. IMEI number of device if GSM device; empty otherwise. * @return value or {@code null} for none */ public java.lang.String getImei() { return imei; } /** * Output only. IMEI number of device if GSM device; empty otherwise. * @param imei imei or {@code null} for none */ public Device setImei(java.lang.String imei) { this.imei = imei; return this; } /** * Output only. Kernel version of the device. * @return value or {@code null} for none */ public java.lang.String getKernelVersion() { return kernelVersion; } /** * Output only. Kernel version of the device. * @param kernelVersion kernelVersion or {@code null} for none */ public Device setKernelVersion(java.lang.String kernelVersion) { this.kernelVersion = kernelVersion; return this; } /** * Most recent time when device synced with this service. * @return value or {@code null} for none */ public String getLastSyncTime() { return lastSyncTime; } /** * Most recent time when device synced with this service. * @param lastSyncTime lastSyncTime or {@code null} for none */ public Device setLastSyncTime(String lastSyncTime) { this.lastSyncTime = lastSyncTime; return this; } /** * Output only. Management state of the device * @return value or {@code null} for none */ public java.lang.String getManagementState() { return managementState; } /** * Output only. Management state of the device * @param managementState managementState or {@code null} for none */ public Device setManagementState(java.lang.String managementState) { this.managementState = managementState; return this; } /** * Output only. Device manufacturer. Example: Motorola. * @return value or {@code null} for none */ public java.lang.String getManufacturer() { return manufacturer; } /** * Output only. Device manufacturer. Example: Motorola. * @param manufacturer manufacturer or {@code null} for none */ public Device setManufacturer(java.lang.String manufacturer) { this.manufacturer = manufacturer; return this; } /** * Output only. MEID number of device if CDMA device; empty otherwise. * @return value or {@code null} for none */ public java.lang.String getMeid() { return meid; } /** * Output only. MEID number of device if CDMA device; empty otherwise. * @param meid meid or {@code null} for none */ public Device setMeid(java.lang.String meid) { this.meid = meid; return this; } /** * Output only. Model name of device. Example: Pixel 3. * @return value or {@code null} for none */ public java.lang.String getModel() { return model; } /** * Output only. Model name of device. Example: Pixel 3. * @param model model or {@code null} for none */ public Device setModel(java.lang.String model) { this.model = model; return this; } /** * Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device * in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device * in format: `devices/{device_id}`, where device_id is the unique id assigned to the Device. * @param name name or {@code null} for none */ public Device setName(java.lang.String name) { this.name = name; return this; } /** * Output only. Mobile or network operator of device, if available. * @return value or {@code null} for none */ public java.lang.String getNetworkOperator() { return networkOperator; } /** * Output only. Mobile or network operator of device, if available. * @param networkOperator networkOperator or {@code null} for none */ public Device setNetworkOperator(java.lang.String networkOperator) { this.networkOperator = networkOperator; return this; } /** * Output only. OS version of the device. Example: Android 8.1.0. * @return value or {@code null} for none */ public java.lang.String getOsVersion() { return osVersion; } /** * Output only. OS version of the device. Example: Android 8.1.0. * @param osVersion osVersion or {@code null} for none */ public Device setOsVersion(java.lang.String osVersion) { this.osVersion = osVersion; return this; } /** * Output only. Domain name for Google accounts on device. Type for other accounts on device. On * Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. * Does not include the account signed in to the device policy app if that account's domain has * only one account. Examples: "com.example", "xyz.com". * @return value or {@code null} for none */ public java.util.List getOtherAccounts() { return otherAccounts; } /** * Output only. Domain name for Google accounts on device. Type for other accounts on device. On * Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. * Does not include the account signed in to the device policy app if that account's domain has * only one account. Examples: "com.example", "xyz.com". * @param otherAccounts otherAccounts or {@code null} for none */ public Device setOtherAccounts(java.util.List otherAccounts) { this.otherAccounts = otherAccounts; return this; } /** * Output only. Whether the device is owned by the company or an individual * @return value or {@code null} for none */ public java.lang.String getOwnerType() { return ownerType; } /** * Output only. Whether the device is owned by the company or an individual * @param ownerType ownerType or {@code null} for none */ public Device setOwnerType(java.lang.String ownerType) { this.ownerType = ownerType; return this; } /** * Output only. OS release version. Example: 6.0. * @return value or {@code null} for none */ public java.lang.String getReleaseVersion() { return releaseVersion; } /** * Output only. OS release version. Example: 6.0. * @param releaseVersion releaseVersion or {@code null} for none */ public Device setReleaseVersion(java.lang.String releaseVersion) { this.releaseVersion = releaseVersion; return this; } /** * Output only. OS security patch update time on device. * @return value or {@code null} for none */ public String getSecurityPatchTime() { return securityPatchTime; } /** * Output only. OS security patch update time on device. * @param securityPatchTime securityPatchTime or {@code null} for none */ public Device setSecurityPatchTime(String securityPatchTime) { this.securityPatchTime = securityPatchTime; return this; } /** * Serial Number of device. Example: HT82V1A01076. * @return value or {@code null} for none */ public java.lang.String getSerialNumber() { return serialNumber; } /** * Serial Number of device. Example: HT82V1A01076. * @param serialNumber serialNumber or {@code null} for none */ public Device setSerialNumber(java.lang.String serialNumber) { this.serialNumber = serialNumber; return this; } /** * WiFi MAC addresses of device. * @return value or {@code null} for none */ public java.util.List getWifiMacAddresses() { return wifiMacAddresses; } /** * WiFi MAC addresses of device. * @param wifiMacAddresses wifiMacAddresses or {@code null} for none */ public Device setWifiMacAddresses(java.util.List wifiMacAddresses) { this.wifiMacAddresses = wifiMacAddresses; return this; } @Override public Device set(String fieldName, Object value) { return (Device) super.set(fieldName, value); } @Override public Device clone() { return (Device) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy