public final class Bookshelf 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 Books API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Bookshelf() |
| Modifier and Type | Method and Description |
|---|---|
Bookshelf |
clone() |
String |
getAccess()
Whether this bookshelf is PUBLIC or PRIVATE.
|
DateTime |
getCreated()
Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).
|
String |
getDescription()
Description of this bookshelf.
|
Integer |
getId()
Id of this bookshelf, only unique by user.
|
String |
getKind()
Resource type for bookshelf metadata.
|
String |
getSelfLink()
URL to this resource.
|
String |
getTitle()
Title of this bookshelf.
|
DateTime |
getUpdated()
Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).
|
Integer |
getVolumeCount()
Number of volumes in this bookshelf.
|
DateTime |
getVolumesLastUpdated()
Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with
millisecond resolution).
|
Bookshelf |
set(String fieldName,
Object value) |
Bookshelf |
setAccess(String access)
Whether this bookshelf is PUBLIC or PRIVATE.
|
Bookshelf |
setCreated(DateTime created)
Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).
|
Bookshelf |
setDescription(String description)
Description of this bookshelf.
|
Bookshelf |
setId(Integer id)
Id of this bookshelf, only unique by user.
|
Bookshelf |
setKind(String kind)
Resource type for bookshelf metadata.
|
Bookshelf |
setSelfLink(String selfLink)
URL to this resource.
|
Bookshelf |
setTitle(String title)
Title of this bookshelf.
|
Bookshelf |
setUpdated(DateTime updated)
Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).
|
Bookshelf |
setVolumeCount(Integer volumeCount)
Number of volumes in this bookshelf.
|
Bookshelf |
setVolumesLastUpdated(DateTime volumesLastUpdated)
Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with
millisecond resolution).
|
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 String getAccess()
null for nonepublic Bookshelf setAccess(String access)
access - access or null for nonepublic DateTime getCreated()
null for nonepublic Bookshelf setCreated(DateTime created)
created - created or null for nonepublic String getDescription()
null for nonepublic Bookshelf setDescription(String description)
description - description or null for nonepublic Integer getId()
null for nonepublic Bookshelf setId(Integer id)
id - id or null for nonepublic String getKind()
null for nonepublic Bookshelf setKind(String kind)
kind - kind or null for nonepublic String getSelfLink()
null for nonepublic Bookshelf setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getTitle()
null for nonepublic Bookshelf setTitle(String title)
title - title or null for nonepublic DateTime getUpdated()
null for nonepublic Bookshelf setUpdated(DateTime updated)
updated - updated or null for nonepublic Integer getVolumeCount()
null for nonepublic Bookshelf setVolumeCount(Integer volumeCount)
volumeCount - volumeCount or null for nonepublic DateTime getVolumesLastUpdated()
null for nonepublic Bookshelf setVolumesLastUpdated(DateTime volumesLastUpdated)
volumesLastUpdated - volumesLastUpdated or null for nonepublic Bookshelf set(String fieldName, Object value)
set in class GenericJsonpublic Bookshelf clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.