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 Games Services 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EventDefinition() |
| Modifier and Type | Method and Description |
|---|---|
EventDefinition |
clone() |
List<EventChild> |
getChildEvents()
A list of events that are a child of this event.
|
String |
getDescription()
Description of what this event represents.
|
String |
getDisplayName()
The name to display for the event.
|
String |
getId()
The ID of the event.
|
String |
getImageUrl()
The base URL for the image that represents the event.
|
Boolean |
getIsDefaultImageUrl()
Indicates whether the icon image being returned is a default image, or is game-provided.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getVisibility()
The visibility of event being tracked in this definition.
|
EventDefinition |
set(String fieldName,
Object value) |
EventDefinition |
setChildEvents(List<EventChild> childEvents)
A list of events that are a child of this event.
|
EventDefinition |
setDescription(String description)
Description of what this event represents.
|
EventDefinition |
setDisplayName(String displayName)
The name to display for the event.
|
EventDefinition |
setId(String id)
The ID of the event.
|
EventDefinition |
setImageUrl(String imageUrl)
The base URL for the image that represents the event.
|
EventDefinition |
setIsDefaultImageUrl(Boolean isDefaultImageUrl)
Indicates whether the icon image being returned is a default image, or is game-provided.
|
EventDefinition |
setKind(String kind)
Uniquely identifies the type of this resource.
|
EventDefinition |
setVisibility(String visibility)
The visibility of event being tracked in this definition.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<EventChild> getChildEvents()
null for nonepublic EventDefinition setChildEvents(List<EventChild> childEvents)
childEvents - childEvents or null for nonepublic String getDescription()
null for nonepublic EventDefinition setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic EventDefinition setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getId()
null for nonepublic EventDefinition setId(String id)
id - id or null for nonepublic String getImageUrl()
null for nonepublic EventDefinition setImageUrl(String imageUrl)
imageUrl - imageUrl or null for nonepublic Boolean getIsDefaultImageUrl()
null for nonepublic EventDefinition setIsDefaultImageUrl(Boolean isDefaultImageUrl)
isDefaultImageUrl - isDefaultImageUrl or null for nonepublic String getKind()
null for nonepublic EventDefinition setKind(String kind)
kind - kind or null for nonepublic String getVisibility()
null for nonepublic EventDefinition setVisibility(String visibility)
visibility - visibility or null for nonepublic EventDefinition set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EventDefinition clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.