
target.apidocs.com.google.api.services.gamesManagement.model.GamesPlayerExperienceInfoResource.html Maven / Gradle / Ivy
GamesPlayerExperienceInfoResource (Google Play Game Management v1management-rev20241209-2.0.0)
com.google.api.services.gamesManagement.model
Class GamesPlayerExperienceInfoResource
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.gamesManagement.model.GamesPlayerExperienceInfoResource
-
public final class GamesPlayerExperienceInfoResource
extends com.google.api.client.json.GenericJson
1P/3P metadata about the player's experience.
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 Management. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
GamesPlayerExperienceInfoResource()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GamesPlayerExperienceInfoResource
clone()
Long
getCurrentExperiencePoints()
The current number of experience points for the player.
GamesPlayerLevelResource
getCurrentLevel()
The current level of the player.
Long
getLastLevelUpTimestampMillis()
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
GamesPlayerLevelResource
getNextLevel()
The next level of the player.
GamesPlayerExperienceInfoResource
set(String fieldName,
Object value)
GamesPlayerExperienceInfoResource
setCurrentExperiencePoints(Long currentExperiencePoints)
The current number of experience points for the player.
GamesPlayerExperienceInfoResource
setCurrentLevel(GamesPlayerLevelResource currentLevel)
The current level of the player.
GamesPlayerExperienceInfoResource
setLastLevelUpTimestampMillis(Long lastLevelUpTimestampMillis)
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
GamesPlayerExperienceInfoResource
setNextLevel(GamesPlayerLevelResource nextLevel)
The next level of the player.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCurrentExperiencePoints
public Long getCurrentExperiencePoints()
The current number of experience points for the player.
- Returns:
- value or
null
for none
-
setCurrentExperiencePoints
public GamesPlayerExperienceInfoResource setCurrentExperiencePoints(Long currentExperiencePoints)
The current number of experience points for the player.
- Parameters:
currentExperiencePoints
- currentExperiencePoints or null
for none
-
getCurrentLevel
public GamesPlayerLevelResource getCurrentLevel()
The current level of the player.
- Returns:
- value or
null
for none
-
setCurrentLevel
public GamesPlayerExperienceInfoResource setCurrentLevel(GamesPlayerLevelResource currentLevel)
The current level of the player.
- Parameters:
currentLevel
- currentLevel or null
for none
-
getLastLevelUpTimestampMillis
public Long getLastLevelUpTimestampMillis()
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
- Returns:
- value or
null
for none
-
setLastLevelUpTimestampMillis
public GamesPlayerExperienceInfoResource setLastLevelUpTimestampMillis(Long lastLevelUpTimestampMillis)
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
- Parameters:
lastLevelUpTimestampMillis
- lastLevelUpTimestampMillis or null
for none
-
getNextLevel
public GamesPlayerLevelResource getNextLevel()
The next level of the player. If the current level is the maximum level, this should be same as
the current level.
- Returns:
- value or
null
for none
-
setNextLevel
public GamesPlayerExperienceInfoResource setNextLevel(GamesPlayerLevelResource nextLevel)
The next level of the player. If the current level is the maximum level, this should be same as
the current level.
- Parameters:
nextLevel
- nextLevel or null
for none
-
set
public GamesPlayerExperienceInfoResource set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public GamesPlayerExperienceInfoResource clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy