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

target.apidocs.com.google.api.services.directory.model.MobileDevice.html Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version






MobileDevice (Admin SDK API directory_v1-rev20220125-1.32.1)












com.google.api.services.directory.model

Class MobileDevice

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class MobileDevice
    extends GenericJson
    Google Workspace Mobile Management includes Android, [Google Sync](https://support.google.com/a/answer/135937), and iOS devices. For more information about common group mobile device API tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides /manage-mobile-devices.html).

    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.
    • Constructor Detail

      • MobileDevice

        public MobileDevice()
    • Method Detail

      • getAdbStatus

        public Boolean getAdbStatus()
        Adb (USB debugging) enabled or disabled on device (Read-only)
        Returns:
        value or null for none
      • setAdbStatus

        public MobileDevice setAdbStatus(Boolean adbStatus)
        Adb (USB debugging) enabled or disabled on device (Read-only)
        Parameters:
        adbStatus - adbStatus or null for none
      • getApplications

        public List<MobileDevice.Applications> getApplications()
        The list of applications installed on an Android mobile device. It is not applicable to Google Sync and iOS devices. The list includes any Android applications that access Google Workspace data. When updating an applications list, it is important to note that updates replace the existing list. If the Android device has two existing applications and the API updates the list with five applications, the is now the updated list of five applications.
        Returns:
        value or null for none
      • setApplications

        public MobileDevice setApplications(List<MobileDevice.Applications> applications)
        The list of applications installed on an Android mobile device. It is not applicable to Google Sync and iOS devices. The list includes any Android applications that access Google Workspace data. When updating an applications list, it is important to note that updates replace the existing list. If the Android device has two existing applications and the API updates the list with five applications, the is now the updated list of five applications.
        Parameters:
        applications - applications or null for none
      • getBasebandVersion

        public String getBasebandVersion()
        The device's baseband version.
        Returns:
        value or null for none
      • setBasebandVersion

        public MobileDevice setBasebandVersion(String basebandVersion)
        The device's baseband version.
        Parameters:
        basebandVersion - basebandVersion or null for none
      • getBootloaderVersion

        public String getBootloaderVersion()
        Mobile Device Bootloader version (Read-only)
        Returns:
        value or null for none
      • setBootloaderVersion

        public MobileDevice setBootloaderVersion(String bootloaderVersion)
        Mobile Device Bootloader version (Read-only)
        Parameters:
        bootloaderVersion - bootloaderVersion or null for none
      • getBrand

        public String getBrand()
        Mobile Device Brand (Read-only)
        Returns:
        value or null for none
      • setBrand

        public MobileDevice setBrand(String brand)
        Mobile Device Brand (Read-only)
        Parameters:
        brand - brand or null for none
      • getBuildNumber

        public String getBuildNumber()
        The device's operating system build number.
        Returns:
        value or null for none
      • setBuildNumber

        public MobileDevice setBuildNumber(String buildNumber)
        The device's operating system build number.
        Parameters:
        buildNumber - buildNumber or null for none
      • getDefaultLanguage

        public String getDefaultLanguage()
        The default locale used on the device.
        Returns:
        value or null for none
      • setDefaultLanguage

        public MobileDevice setDefaultLanguage(String defaultLanguage)
        The default locale used on the device.
        Parameters:
        defaultLanguage - defaultLanguage or null for none
      • getDeveloperOptionsStatus

        public Boolean getDeveloperOptionsStatus()
        Developer options enabled or disabled on device (Read-only)
        Returns:
        value or null for none
      • setDeveloperOptionsStatus

        public MobileDevice setDeveloperOptionsStatus(Boolean developerOptionsStatus)
        Developer options enabled or disabled on device (Read-only)
        Parameters:
        developerOptionsStatus - developerOptionsStatus or null for none
      • getDeviceCompromisedStatus

        public String getDeviceCompromisedStatus()
        The compromised device status.
        Returns:
        value or null for none
      • setDeviceCompromisedStatus

        public MobileDevice setDeviceCompromisedStatus(String deviceCompromisedStatus)
        The compromised device status.
        Parameters:
        deviceCompromisedStatus - deviceCompromisedStatus or null for none
      • getDeviceId

        public String getDeviceId()
        The serial number for a Google Sync mobile device. For Android and iOS devices, this is a software generated unique identifier.
        Returns:
        value or null for none
      • setDeviceId

        public MobileDevice setDeviceId(String deviceId)
        The serial number for a Google Sync mobile device. For Android and iOS devices, this is a software generated unique identifier.
        Parameters:
        deviceId - deviceId or null for none
      • getDevicePasswordStatus

        public String getDevicePasswordStatus()
        DevicePasswordStatus (Read-only)
        Returns:
        value or null for none
      • setDevicePasswordStatus

        public MobileDevice setDevicePasswordStatus(String devicePasswordStatus)
        DevicePasswordStatus (Read-only)
        Parameters:
        devicePasswordStatus - devicePasswordStatus or null for none
      • getEmail

        public List<String> getEmail()
        List of owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
        Returns:
        value or null for none
      • setEmail

        public MobileDevice setEmail(List<String> email)
        List of owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
        Parameters:
        email - email or null for none
      • getEncryptionStatus

        public String getEncryptionStatus()
        Mobile Device Encryption Status (Read-only)
        Returns:
        value or null for none
      • setEncryptionStatus

        public MobileDevice setEncryptionStatus(String encryptionStatus)
        Mobile Device Encryption Status (Read-only)
        Parameters:
        encryptionStatus - encryptionStatus or null for none
      • getEtag

        public String getEtag()
        ETag of the resource.
        Returns:
        value or null for none
      • setEtag

        public MobileDevice setEtag(String etag)
        ETag of the resource.
        Parameters:
        etag - etag or null for none
      • getFirstSync

        public DateTime getFirstSync()
        Date and time the device was first synchronized with the policy settings in the G Suite administrator control panel (Read-only)
        Returns:
        value or null for none
      • setFirstSync

        public MobileDevice setFirstSync(DateTime firstSync)
        Date and time the device was first synchronized with the policy settings in the G Suite administrator control panel (Read-only)
        Parameters:
        firstSync - firstSync or null for none
      • getHardware

        public String getHardware()
        Mobile Device Hardware (Read-only)
        Returns:
        value or null for none
      • setHardware

        public MobileDevice setHardware(String hardware)
        Mobile Device Hardware (Read-only)
        Parameters:
        hardware - hardware or null for none
      • getHardwareId

        public String getHardwareId()
        The IMEI/MEID unique identifier for Android hardware. It is not applicable to Google Sync devices. When adding an Android mobile device, this is an optional property. When updating one of these devices, this is a read-only property.
        Returns:
        value or null for none
      • setHardwareId

        public MobileDevice setHardwareId(String hardwareId)
        The IMEI/MEID unique identifier for Android hardware. It is not applicable to Google Sync devices. When adding an Android mobile device, this is an optional property. When updating one of these devices, this is a read-only property.
        Parameters:
        hardwareId - hardwareId or null for none
      • getImei

        public String getImei()
        The device's IMEI number.
        Returns:
        value or null for none
      • setImei

        public MobileDevice setImei(String imei)
        The device's IMEI number.
        Parameters:
        imei - imei or null for none
      • getKernelVersion

        public String getKernelVersion()
        The device's kernel version.
        Returns:
        value or null for none
      • setKernelVersion

        public MobileDevice setKernelVersion(String kernelVersion)
        The device's kernel version.
        Parameters:
        kernelVersion - kernelVersion or null for none
      • getKind

        public String getKind()
        The type of the API resource. For Mobiledevices resources, the value is `admin#directory#mobiledevice`.
        Returns:
        value or null for none
      • setKind

        public MobileDevice setKind(String kind)
        The type of the API resource. For Mobiledevices resources, the value is `admin#directory#mobiledevice`.
        Parameters:
        kind - kind or null for none
      • getLastSync

        public DateTime getLastSync()
        Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)
        Returns:
        value or null for none
      • setLastSync

        public MobileDevice setLastSync(DateTime lastSync)
        Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)
        Parameters:
        lastSync - lastSync or null for none
      • getManagedAccountIsOnOwnerProfile

        public Boolean getManagedAccountIsOnOwnerProfile()
        Boolean indicating if this account is on owner/primary profile or not.
        Returns:
        value or null for none
      • setManagedAccountIsOnOwnerProfile

        public MobileDevice setManagedAccountIsOnOwnerProfile(Boolean managedAccountIsOnOwnerProfile)
        Boolean indicating if this account is on owner/primary profile or not.
        Parameters:
        managedAccountIsOnOwnerProfile - managedAccountIsOnOwnerProfile or null for none
      • getManufacturer

        public String getManufacturer()
        Mobile Device manufacturer (Read-only)
        Returns:
        value or null for none
      • setManufacturer

        public MobileDevice setManufacturer(String manufacturer)
        Mobile Device manufacturer (Read-only)
        Parameters:
        manufacturer - manufacturer or null for none
      • getMeid

        public String getMeid()
        The device's MEID number.
        Returns:
        value or null for none
      • setMeid

        public MobileDevice setMeid(String meid)
        The device's MEID number.
        Parameters:
        meid - meid or null for none
      • getModel

        public String getModel()
        The mobile device's model name, for example Nexus S. This property can be [updated](/admin- sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile=devices#update_mobile_device).
        Returns:
        value or null for none
      • setModel

        public MobileDevice setModel(String model)
        The mobile device's model name, for example Nexus S. This property can be [updated](/admin- sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile=devices#update_mobile_device).
        Parameters:
        model - model or null for none
      • getName

        public List<String> getName()
        List of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For more information about retrieving mobile device user information, see the [Developer's Guide ](/admin-sdk/directory/v1/guides/manage-users#get_user).
        Returns:
        value or null for none
      • setName

        public MobileDevice setName(List<String> name)
        List of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For more information about retrieving mobile device user information, see the [Developer's Guide ](/admin-sdk/directory/v1/guides/manage-users#get_user).
        Parameters:
        name - name or null for none
      • getNetworkOperator

        public String getNetworkOperator()
        Mobile Device mobile or network operator (if available) (Read-only)
        Returns:
        value or null for none
      • setNetworkOperator

        public MobileDevice setNetworkOperator(String networkOperator)
        Mobile Device mobile or network operator (if available) (Read-only)
        Parameters:
        networkOperator - networkOperator or null for none
      • getOs

        public String getOs()
        The mobile device's operating system, for example IOS 4.3 or Android 2.3.5. This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile- devices#update_mobile_device).
        Returns:
        value or null for none
      • setOs

        public MobileDevice setOs(String os)
        The mobile device's operating system, for example IOS 4.3 or Android 2.3.5. This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile- devices#update_mobile_device).
        Parameters:
        os - os or null for none
      • getOtherAccountsInfo

        public List<String> getOtherAccountsInfo()
        List of accounts added on device (Read-only)
        Returns:
        value or null for none
      • setOtherAccountsInfo

        public MobileDevice setOtherAccountsInfo(List<String> otherAccountsInfo)
        List of accounts added on device (Read-only)
        Parameters:
        otherAccountsInfo - otherAccountsInfo or null for none
      • getPrivilege

        public String getPrivilege()
        DMAgentPermission (Read-only)
        Returns:
        value or null for none
      • setPrivilege

        public MobileDevice setPrivilege(String privilege)
        DMAgentPermission (Read-only)
        Parameters:
        privilege - privilege or null for none
      • getReleaseVersion

        public String getReleaseVersion()
        Mobile Device release version version (Read-only)
        Returns:
        value or null for none
      • setReleaseVersion

        public MobileDevice setReleaseVersion(String releaseVersion)
        Mobile Device release version version (Read-only)
        Parameters:
        releaseVersion - releaseVersion or null for none
      • getResourceId

        public String getResourceId()
        The unique ID the API service uses to identify the mobile device.
        Returns:
        value or null for none
      • setResourceId

        public MobileDevice setResourceId(String resourceId)
        The unique ID the API service uses to identify the mobile device.
        Parameters:
        resourceId - resourceId or null for none
      • getSecurityPatchLevel

        public Long getSecurityPatchLevel()
        Mobile Device Security patch level (Read-only)
        Returns:
        value or null for none
      • setSecurityPatchLevel

        public MobileDevice setSecurityPatchLevel(Long securityPatchLevel)
        Mobile Device Security patch level (Read-only)
        Parameters:
        securityPatchLevel - securityPatchLevel or null for none
      • getSerialNumber

        public String getSerialNumber()
        The device's serial number.
        Returns:
        value or null for none
      • setSerialNumber

        public MobileDevice setSerialNumber(String serialNumber)
        The device's serial number.
        Parameters:
        serialNumber - serialNumber or null for none
      • getStatus

        public String getStatus()
        The device's status.
        Returns:
        value or null for none
      • setStatus

        public MobileDevice setStatus(String status)
        The device's status.
        Parameters:
        status - status or null for none
      • getSupportsWorkProfile

        public Boolean getSupportsWorkProfile()
        Work profile supported on device (Read-only)
        Returns:
        value or null for none
      • setSupportsWorkProfile

        public MobileDevice setSupportsWorkProfile(Boolean supportsWorkProfile)
        Work profile supported on device (Read-only)
        Parameters:
        supportsWorkProfile - supportsWorkProfile or null for none
      • getType

        public String getType()
        The type of mobile device.
        Returns:
        value or null for none
      • setType

        public MobileDevice setType(String type)
        The type of mobile device.
        Parameters:
        type - type or null for none
      • getUnknownSourcesStatus

        public Boolean getUnknownSourcesStatus()
        Unknown sources enabled or disabled on device (Read-only)
        Returns:
        value or null for none
      • setUnknownSourcesStatus

        public MobileDevice setUnknownSourcesStatus(Boolean unknownSourcesStatus)
        Unknown sources enabled or disabled on device (Read-only)
        Parameters:
        unknownSourcesStatus - unknownSourcesStatus or null for none
      • getUserAgent

        public String getUserAgent()
        Gives information about the device such as `os` version. This property can be [updated](/admin- sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device).
        Returns:
        value or null for none
      • setUserAgent

        public MobileDevice setUserAgent(String userAgent)
        Gives information about the device such as `os` version. This property can be [updated](/admin- sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device).
        Parameters:
        userAgent - userAgent or null for none
      • getWifiMacAddress

        public String getWifiMacAddress()
        The device's MAC address on Wi-Fi networks.
        Returns:
        value or null for none
      • setWifiMacAddress

        public MobileDevice setWifiMacAddress(String wifiMacAddress)
        The device's MAC address on Wi-Fi networks.
        Parameters:
        wifiMacAddress - wifiMacAddress or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy