public final class GroupLicense
extends com.google.api.client.json.GenericJson
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 Google Play EMM API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
GroupLicense() |
Modifier and Type | Method and Description |
---|---|
GroupLicense |
clone() |
java.lang.String |
getAcquisitionKind()
How this group license was acquired.
|
java.lang.String |
getApproval()
Whether the product to which this group license relates is currently approved by the
enterprise.
|
java.lang.String |
getKind() |
java.lang.Integer |
getNumProvisioned()
The total number of provisioned licenses for this product.
|
java.lang.Integer |
getNumPurchased()
The number of purchased licenses (possibly in multiple purchases).
|
java.lang.String |
getPermissions()
The permission approval status of the product.
|
java.lang.String |
getProductId()
The ID of the product that the license is for.
|
GroupLicense |
set(java.lang.String fieldName,
java.lang.Object value) |
GroupLicense |
setAcquisitionKind(java.lang.String acquisitionKind)
How this group license was acquired.
|
GroupLicense |
setApproval(java.lang.String approval)
Whether the product to which this group license relates is currently approved by the
enterprise.
|
GroupLicense |
setKind(java.lang.String kind) |
GroupLicense |
setNumProvisioned(java.lang.Integer numProvisioned)
The total number of provisioned licenses for this product.
|
GroupLicense |
setNumPurchased(java.lang.Integer numPurchased)
The number of purchased licenses (possibly in multiple purchases).
|
GroupLicense |
setPermissions(java.lang.String permissions)
The permission approval status of the product.
|
GroupLicense |
setProductId(java.lang.String productId)
The ID of the product that the license is for.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAcquisitionKind()
null
for nonepublic GroupLicense setAcquisitionKind(java.lang.String acquisitionKind)
acquisitionKind
- acquisitionKind or null
for nonepublic java.lang.String getApproval()
null
for nonepublic GroupLicense setApproval(java.lang.String approval)
approval
- approval or null
for nonepublic java.lang.String getKind()
null
for nonepublic GroupLicense setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.Integer getNumProvisioned()
null
for nonepublic GroupLicense setNumProvisioned(java.lang.Integer numProvisioned)
numProvisioned
- numProvisioned or null
for nonepublic java.lang.Integer getNumPurchased()
null
for nonepublic GroupLicense setNumPurchased(java.lang.Integer numPurchased)
numPurchased
- numPurchased or null
for nonepublic java.lang.String getPermissions()
null
for nonepublic GroupLicense setPermissions(java.lang.String permissions)
permissions
- permissions or null
for nonepublic java.lang.String getProductId()
null
for nonepublic GroupLicense setProductId(java.lang.String productId)
productId
- productId or null
for nonepublic GroupLicense set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GroupLicense clone()
clone
in class com.google.api.client.json.GenericJson