public final class Snapshot
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Snapshot() |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
clone() |
SnapshotImage |
getCoverImage()
The cover image of this snapshot.
|
java.lang.String |
getDescription()
The description of this snapshot.
|
java.lang.String |
getDriveId()
The ID of the file underlying this snapshot in the Drive API.
|
java.lang.Long |
getDurationMillis()
The duration associated with this snapshot, in millis.
|
java.lang.String |
getId()
The ID of the snapshot.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Long |
getLastModifiedMillis()
The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
|
java.lang.Long |
getProgressValue()
The progress value (64-bit integer set by developer) associated with this snapshot.
|
java.lang.String |
getTitle()
The title of this snapshot.
|
java.lang.String |
getType()
The type of this snapshot.
|
java.lang.String |
getUniqueName()
The unique name provided when the snapshot was created.
|
Snapshot |
set(java.lang.String fieldName,
java.lang.Object value) |
Snapshot |
setCoverImage(SnapshotImage coverImage)
The cover image of this snapshot.
|
Snapshot |
setDescription(java.lang.String description)
The description of this snapshot.
|
Snapshot |
setDriveId(java.lang.String driveId)
The ID of the file underlying this snapshot in the Drive API.
|
Snapshot |
setDurationMillis(java.lang.Long durationMillis)
The duration associated with this snapshot, in millis.
|
Snapshot |
setId(java.lang.String id)
The ID of the snapshot.
|
Snapshot |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
Snapshot |
setLastModifiedMillis(java.lang.Long lastModifiedMillis)
The timestamp (in millis since Unix epoch) of the last modification to this snapshot.
|
Snapshot |
setProgressValue(java.lang.Long progressValue)
The progress value (64-bit integer set by developer) associated with this snapshot.
|
Snapshot |
setTitle(java.lang.String title)
The title of this snapshot.
|
Snapshot |
setType(java.lang.String type)
The type of this snapshot.
|
Snapshot |
setUniqueName(java.lang.String uniqueName)
The unique name provided when the snapshot was created.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic SnapshotImage getCoverImage()
null for nonepublic Snapshot setCoverImage(SnapshotImage coverImage)
coverImage - coverImage or null for nonepublic java.lang.String getDescription()
null for nonepublic Snapshot setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getDriveId()
null for nonepublic Snapshot setDriveId(java.lang.String driveId)
driveId - driveId or null for nonepublic java.lang.Long getDurationMillis()
null for nonepublic Snapshot setDurationMillis(java.lang.Long durationMillis)
durationMillis - durationMillis or null for nonepublic java.lang.String getId()
null for nonepublic Snapshot setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Snapshot setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getLastModifiedMillis()
null for nonepublic Snapshot setLastModifiedMillis(java.lang.Long lastModifiedMillis)
lastModifiedMillis - lastModifiedMillis or null for nonepublic java.lang.Long getProgressValue()
null for nonepublic Snapshot setProgressValue(java.lang.Long progressValue)
progressValue - progressValue or null for nonepublic java.lang.String getTitle()
null for nonepublic Snapshot setTitle(java.lang.String title)
title - title or null for nonepublic java.lang.String getType()
null for nonepublic Snapshot setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getUniqueName()
null for nonepublic Snapshot setUniqueName(java.lang.String uniqueName)
uniqueName - uniqueName or null for nonepublic Snapshot set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Snapshot clone()
clone in class com.google.api.client.json.GenericJson