public final class Colors
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Colors() |
| Modifier and Type | Method and Description |
|---|---|
Colors |
clone() |
java.util.Map<java.lang.String,ColorDefinition> |
getCalendar()
A global palette of calendar colors, mapping from the color ID to its definition.
|
java.util.Map<java.lang.String,ColorDefinition> |
getEvent()
A global palette of event colors, mapping from the color ID to its definition.
|
java.lang.String |
getKind()
Type of the resource ("calendar#colors").
|
com.google.api.client.util.DateTime |
getUpdated()
Last modification time of the color palette (as a RFC3339 timestamp).
|
Colors |
set(java.lang.String fieldName,
java.lang.Object value) |
Colors |
setCalendar(java.util.Map<java.lang.String,ColorDefinition> calendar)
A global palette of calendar colors, mapping from the color ID to its definition.
|
Colors |
setEvent(java.util.Map<java.lang.String,ColorDefinition> event)
A global palette of event colors, mapping from the color ID to its definition.
|
Colors |
setKind(java.lang.String kind)
Type of the resource ("calendar#colors").
|
Colors |
setUpdated(com.google.api.client.util.DateTime updated)
Last modification time of the color palette (as a RFC3339 timestamp).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.Map<java.lang.String,ColorDefinition> getCalendar()
null for nonepublic Colors setCalendar(java.util.Map<java.lang.String,ColorDefinition> calendar)
calendar - calendar or null for nonepublic java.util.Map<java.lang.String,ColorDefinition> getEvent()
null for nonepublic Colors setEvent(java.util.Map<java.lang.String,ColorDefinition> event)
event - event or null for nonepublic java.lang.String getKind()
null for nonepublic Colors setKind(java.lang.String kind)
kind - kind or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Colors setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic Colors set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Colors clone()
clone in class com.google.api.client.json.GenericJson