public final class EventDefinition
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 Game Services API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
EventDefinition() |
| Modifier and Type | Method and Description |
|---|---|
EventDefinition |
clone() |
java.util.List<EventChild> |
getChildEvents()
A list of events that are a child of this event.
|
java.lang.String |
getDescription()
Description of what this event represents.
|
java.lang.String |
getDisplayName()
The name to display for the event.
|
java.lang.String |
getId()
The ID of the event.
|
java.lang.String |
getImageUrl()
The base URL for the image that represents the event.
|
java.lang.Boolean |
getIsDefaultImageUrl()
Indicates whether the icon image being returned is a default image, or is game-provided.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getVisibility()
The visibility of event being tracked in this definition.
|
EventDefinition |
set(java.lang.String fieldName,
java.lang.Object value) |
EventDefinition |
setChildEvents(java.util.List<EventChild> childEvents)
A list of events that are a child of this event.
|
EventDefinition |
setDescription(java.lang.String description)
Description of what this event represents.
|
EventDefinition |
setDisplayName(java.lang.String displayName)
The name to display for the event.
|
EventDefinition |
setId(java.lang.String id)
The ID of the event.
|
EventDefinition |
setImageUrl(java.lang.String imageUrl)
The base URL for the image that represents the event.
|
EventDefinition |
setIsDefaultImageUrl(java.lang.Boolean isDefaultImageUrl)
Indicates whether the icon image being returned is a default image, or is game-provided.
|
EventDefinition |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
EventDefinition |
setVisibility(java.lang.String visibility)
The visibility of event being tracked in this definition.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<EventChild> getChildEvents()
null for nonepublic EventDefinition setChildEvents(java.util.List<EventChild> childEvents)
childEvents - childEvents or null for nonepublic java.lang.String getDescription()
null for nonepublic EventDefinition setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getDisplayName()
null for nonepublic EventDefinition setDisplayName(java.lang.String displayName)
displayName - displayName or null for nonepublic java.lang.String getId()
null for nonepublic EventDefinition setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getImageUrl()
null for nonepublic EventDefinition setImageUrl(java.lang.String imageUrl)
imageUrl - imageUrl or null for nonepublic java.lang.Boolean getIsDefaultImageUrl()
null for nonepublic EventDefinition setIsDefaultImageUrl(java.lang.Boolean isDefaultImageUrl)
isDefaultImageUrl - isDefaultImageUrl or null for nonepublic java.lang.String getKind()
null for nonepublic EventDefinition setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getVisibility()
null for nonepublic EventDefinition setVisibility(java.lang.String visibility)
visibility - visibility or null for nonepublic EventDefinition set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic EventDefinition clone()
clone in class com.google.api.client.json.GenericJson