public final class Setting
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 Calendar 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 |
---|
Setting() |
Modifier and Type | Method and Description |
---|---|
Setting |
clone() |
java.lang.String |
getEtag()
ETag of the resource.
|
java.lang.String |
getId()
The id of the user setting.
|
java.lang.String |
getKind()
Type of the resource ("calendar#setting").
|
java.lang.String |
getValue()
Value of the user setting.
|
Setting |
set(java.lang.String fieldName,
java.lang.Object value) |
Setting |
setEtag(java.lang.String etag)
ETag of the resource.
|
Setting |
setId(java.lang.String id)
The id of the user setting.
|
Setting |
setKind(java.lang.String kind)
Type of the resource ("calendar#setting").
|
Setting |
setValue(java.lang.String value)
Value of the user setting.
|
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 getEtag()
null
for nonepublic Setting setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic Setting setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Setting setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getValue()
null
for nonepublic Setting setValue(java.lang.String value)
value
- value or null
for nonepublic Setting set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Setting clone()
clone
in class com.google.api.client.json.GenericJson