Calendar API v3 (revision 41)



com.google.api.services.calendar.model
Class Event.Gadget

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.calendar.model.Event.Gadget
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Event

public static final class Event.Gadget
extends GenericJson

A gadget that extends this event.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Event.Gadget()
           
 
Method Summary
 Event.Gadget clone()
           
 String getDisplay()
          The gadget's display mode.
 Integer getHeight()
          The gadget's height in pixels.
 String getIconLink()
          The gadget's icon URL.
 String getLink()
          The gadget's URL.
 Map<String,String> getPreferences()
          Preferences.
 String getTitle()
          The gadget's title.
 String getType()
          The gadget's type.
 Integer getWidth()
          The gadget's width in pixels.
 Event.Gadget set(String fieldName, Object value)
           
 Event.Gadget setDisplay(String display)
          The gadget's display mode.
 Event.Gadget setHeight(Integer height)
          The gadget's height in pixels.
 Event.Gadget setIconLink(String iconLink)
          The gadget's icon URL.
 Event.Gadget setLink(String link)
          The gadget's URL.
 Event.Gadget setPreferences(Map<String,String> preferences)
          Preferences.
 Event.Gadget setTitle(String title)
          The gadget's title.
 Event.Gadget setType(String type)
          The gadget's type.
 Event.Gadget setWidth(Integer width)
          The gadget's width in pixels.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event.Gadget

public Event.Gadget()
Method Detail

getDisplay

public String getDisplay()
The gadget's display mode. Optional. Possible values are: - "icon" - The gadget displays next to the event's title in the calendar view. - "chip" - The gadget displays when the event is clicked.

Returns:
value or null for none

setDisplay

public Event.Gadget setDisplay(String display)
The gadget's display mode. Optional. Possible values are: - "icon" - The gadget displays next to the event's title in the calendar view. - "chip" - The gadget displays when the event is clicked.

Parameters:
display - display or null for none

getHeight

public Integer getHeight()
The gadget's height in pixels. Optional.

Returns:
value or null for none

setHeight

public Event.Gadget setHeight(Integer height)
The gadget's height in pixels. Optional.

Parameters:
height - height or null for none

getIconLink

public String getIconLink()
The gadget's icon URL.

Returns:
value or null for none

setIconLink

public Event.Gadget setIconLink(String iconLink)
The gadget's icon URL.

Parameters:
iconLink - iconLink or null for none

getLink

public String getLink()
The gadget's URL.

Returns:
value or null for none

setLink

public Event.Gadget setLink(String link)
The gadget's URL.

Parameters:
link - link or null for none

getPreferences

public Map<String,String> getPreferences()
Preferences.

Returns:
value or null for none

setPreferences

public Event.Gadget setPreferences(Map<String,String> preferences)
Preferences.

Parameters:
preferences - preferences or null for none

getTitle

public String getTitle()
The gadget's title.

Returns:
value or null for none

setTitle

public Event.Gadget setTitle(String title)
The gadget's title.

Parameters:
title - title or null for none

getType

public String getType()
The gadget's type.

Returns:
value or null for none

setType

public Event.Gadget setType(String type)
The gadget's type.

Parameters:
type - type or null for none

getWidth

public Integer getWidth()
The gadget's width in pixels. Optional.

Returns:
value or null for none

setWidth

public Event.Gadget setWidth(Integer width)
The gadget's width in pixels. Optional.

Parameters:
width - width or null for none

set

public Event.Gadget set(String fieldName,
                        Object value)
Overrides:
set in class GenericJson

clone

public Event.Gadget clone()
Overrides:
clone in class GenericJson