target.apidocs.com.google.api.services.directory.model.MobileDevice.Applications.html Maven / Gradle / Ivy
MobileDevice.Applications (Admin SDK API directory_v1-rev20220802-2.0.0)
com.google.api.services.directory.model
Class MobileDevice.Applications
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.MobileDevice.Applications
-
- Enclosing class:
- MobileDevice
public static final class MobileDevice.Applications
extends GenericJson
Model definition for MobileDeviceApplications.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Applications()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MobileDevice.Applications
clone()
String
getDisplayName()
The application's display name.
String
getPackageName()
The application's package name.
List<String>
getPermission()
The list of permissions of this application.
Integer
getVersionCode()
The application's version code.
String
getVersionName()
The application's version name.
MobileDevice.Applications
set(String fieldName,
Object value)
MobileDevice.Applications
setDisplayName(String displayName)
The application's display name.
MobileDevice.Applications
setPackageName(String packageName)
The application's package name.
MobileDevice.Applications
setPermission(List<String> permission)
The list of permissions of this application.
MobileDevice.Applications
setVersionCode(Integer versionCode)
The application's version code.
MobileDevice.Applications
setVersionName(String versionName)
The application's version name.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
The application's display name. An example is `Browser`.
- Returns:
- value or
null
for none
-
setDisplayName
public MobileDevice.Applications setDisplayName(String displayName)
The application's display name. An example is `Browser`.
- Parameters:
displayName
- displayName or null
for none
-
getPackageName
public String getPackageName()
The application's package name. An example is `com.android.browser`.
- Returns:
- value or
null
for none
-
setPackageName
public MobileDevice.Applications setPackageName(String packageName)
The application's package name. An example is `com.android.browser`.
- Parameters:
packageName
- packageName or null
for none
-
getPermission
public List<String> getPermission()
The list of permissions of this application. These can be either a standard Android permission
or one defined by the application, and are found in an application's [Android
manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html).
Examples of a Calendar application's permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`.
- Returns:
- value or
null
for none
-
setPermission
public MobileDevice.Applications setPermission(List<String> permission)
The list of permissions of this application. These can be either a standard Android permission
or one defined by the application, and are found in an application's [Android
manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html).
Examples of a Calendar application's permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`.
- Parameters:
permission
- permission or null
for none
-
getVersionCode
public Integer getVersionCode()
The application's version code. An example is `13`.
- Returns:
- value or
null
for none
-
setVersionCode
public MobileDevice.Applications setVersionCode(Integer versionCode)
The application's version code. An example is `13`.
- Parameters:
versionCode
- versionCode or null
for none
-
getVersionName
public String getVersionName()
The application's version name. An example is `3.2-140714`.
- Returns:
- value or
null
for none
-
setVersionName
public MobileDevice.Applications setVersionName(String versionName)
The application's version name. An example is `3.2-140714`.
- Parameters:
versionName
- versionName or null
for none
-
set
public MobileDevice.Applications set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public MobileDevice.Applications clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.