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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GroupLicense() |
Modifier and Type | Method and Description |
---|---|
GroupLicense |
clone() |
String |
getAcquisitionKind()
How this group license was acquired.
|
String |
getApproval()
Whether the product to which this group license relates is currently approved by the
enterprise.
|
String |
getKind()
Identifies what kind of resource this is.
|
Integer |
getNumProvisioned()
The total number of provisioned licenses for this product.
|
Integer |
getNumPurchased()
The number of purchased licenses (possibly in multiple purchases).
|
String |
getPermissions()
The permission approval status of the product.
|
String |
getProductId()
The ID of the product that the license is for.
|
GroupLicense |
set(String fieldName,
Object value) |
GroupLicense |
setAcquisitionKind(String acquisitionKind)
How this group license was acquired.
|
GroupLicense |
setApproval(String approval)
Whether the product to which this group license relates is currently approved by the
enterprise.
|
GroupLicense |
setKind(String kind)
Identifies what kind of resource this is.
|
GroupLicense |
setNumProvisioned(Integer numProvisioned)
The total number of provisioned licenses for this product.
|
GroupLicense |
setNumPurchased(Integer numPurchased)
The number of purchased licenses (possibly in multiple purchases).
|
GroupLicense |
setPermissions(String permissions)
The permission approval status of the product.
|
GroupLicense |
setProductId(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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAcquisitionKind()
null
for nonepublic GroupLicense setAcquisitionKind(String acquisitionKind)
acquisitionKind
- acquisitionKind or null
for nonepublic String getApproval()
null
for nonepublic GroupLicense setApproval(String approval)
approval
- approval or null
for nonepublic String getKind()
null
for nonepublic GroupLicense setKind(String kind)
kind
- kind or null
for nonepublic Integer getNumProvisioned()
null
for nonepublic GroupLicense setNumProvisioned(Integer numProvisioned)
numProvisioned
- numProvisioned or null
for nonepublic Integer getNumPurchased()
null
for nonepublic GroupLicense setNumPurchased(Integer numPurchased)
numPurchased
- numPurchased or null
for nonepublic String getPermissions()
null
for nonepublic GroupLicense setPermissions(String permissions)
permissions
- permissions or null
for nonepublic String getProductId()
null
for nonepublic GroupLicense setProductId(String productId)
productId
- productId or null
for nonepublic GroupLicense set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public GroupLicense clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.