public final class Permission extends 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 Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
Permission |
clone() |
Boolean |
getDiscoverable()
True if asset is listed and is searchable by the public.
|
String |
getEmailAddress()
The email address of the user this permission refers to.
|
String |
getId()
The ID of the permission.
|
String |
getRole()
The primary role for this user.
|
String |
getType()
The account type.
|
Permission |
set(String fieldName,
Object value) |
Permission |
setDiscoverable(Boolean discoverable)
True if asset is listed and is searchable by the public.
|
Permission |
setEmailAddress(String emailAddress)
The email address of the user this permission refers to.
|
Permission |
setId(String id)
The ID of the permission.
|
Permission |
setRole(String role)
The primary role for this user.
|
Permission |
setType(String type)
The account type.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Boolean getDiscoverable()
null for nonepublic Permission setDiscoverable(Boolean discoverable)
discoverable - discoverable or null for nonepublic String getEmailAddress()
null for nonepublic Permission setEmailAddress(String emailAddress)
emailAddress - emailAddress or null for nonepublic String getId()
null for nonepublic Permission setId(String id)
id - id or null for nonepublic String getRole()
null for nonepublic Permission setRole(String role)
role - role or null for nonepublic String getType()
null for nonepublic Permission setType(String type)
type - type or null for nonepublic Permission set(String fieldName, Object value)
set in class GenericJsonpublic Permission clone()
clone in class GenericJson