public final class Entitlement
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 |
---|
Entitlement() |
Modifier and Type | Method and Description |
---|---|
Entitlement |
clone() |
java.lang.String |
getKind() |
java.lang.String |
getProductId()
The ID of the product that the entitlement is for.
|
java.lang.String |
getReason()
The reason for the entitlement.
|
Entitlement |
set(java.lang.String fieldName,
java.lang.Object value) |
Entitlement |
setKind(java.lang.String kind) |
Entitlement |
setProductId(java.lang.String productId)
The ID of the product that the entitlement is for.
|
Entitlement |
setReason(java.lang.String reason)
The reason for the entitlement.
|
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 getKind()
null
for nonepublic Entitlement setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getProductId()
null
for nonepublic Entitlement setProductId(java.lang.String productId)
productId
- productId or null
for nonepublic java.lang.String getReason()
null
for nonepublic Entitlement setReason(java.lang.String reason)
reason
- reason or null
for nonepublic Entitlement set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Entitlement clone()
clone
in class com.google.api.client.json.GenericJson