public final class GoogleExampleLibraryagentV1Book
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 Library Agent 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 |
---|
GoogleExampleLibraryagentV1Book() |
Modifier and Type | Method and Description |
---|---|
GoogleExampleLibraryagentV1Book |
clone() |
java.lang.String |
getAuthor()
The name of the book author.
|
java.lang.String |
getName()
The resource name of the book.
|
java.lang.Boolean |
getRead()
Value indicating whether the book has been read.
|
java.lang.String |
getTitle()
The title of the book.
|
GoogleExampleLibraryagentV1Book |
set(java.lang.String fieldName,
java.lang.Object value) |
GoogleExampleLibraryagentV1Book |
setAuthor(java.lang.String author)
The name of the book author.
|
GoogleExampleLibraryagentV1Book |
setName(java.lang.String name)
The resource name of the book.
|
GoogleExampleLibraryagentV1Book |
setRead(java.lang.Boolean read)
Value indicating whether the book has been read.
|
GoogleExampleLibraryagentV1Book |
setTitle(java.lang.String title)
The title of the book.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAuthor()
null
for nonepublic GoogleExampleLibraryagentV1Book setAuthor(java.lang.String author)
author
- author or null
for nonepublic java.lang.String getName()
null
for nonepublic GoogleExampleLibraryagentV1Book setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Boolean getRead()
null
for nonepublic GoogleExampleLibraryagentV1Book setRead(java.lang.Boolean read)
read
- read or null
for nonepublic java.lang.String getTitle()
null
for nonepublic GoogleExampleLibraryagentV1Book setTitle(java.lang.String title)
title
- title or null
for nonepublic GoogleExampleLibraryagentV1Book set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GoogleExampleLibraryagentV1Book clone()
clone
in class com.google.api.client.json.GenericJson