target.apidocs.com.google.api.services.calendar.model.Event.Gadget.html Maven / Gradle / Ivy
The newest version!
Event.Gadget (Calendar API v3-rev20241101-2.0.0)
com.google.api.services.calendar.model
Class Event.Gadget
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.calendar.model.Event.Gadget
-
- Enclosing class:
- Event
public static final class Event.Gadget
extends com.google.api.client.json.GenericJson
A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for
returning birthday calendar metadata.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Gadget()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDisplay
public String getDisplay()
The gadget's display mode. Deprecated. 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. Deprecated. 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. The height must be an integer greater than 0. Optional.
Deprecated.
- Returns:
- value or
null
for none
-
setHeight
public Event.Gadget setHeight(Integer height)
The gadget's height in pixels. The height must be an integer greater than 0. Optional.
Deprecated.
- Parameters:
height
- height or null
for none
-
getIconLink
public String getIconLink()
The gadget's icon URL. The URL scheme must be HTTPS. Deprecated.
- Returns:
- value or
null
for none
-
setIconLink
public Event.Gadget setIconLink(String iconLink)
The gadget's icon URL. The URL scheme must be HTTPS. Deprecated.
- Parameters:
iconLink
- iconLink or null
for none
-
getLink
public String getLink()
The gadget's URL. The URL scheme must be HTTPS. Deprecated.
- Returns:
- value or
null
for none
-
setLink
public Event.Gadget setLink(String link)
The gadget's URL. The URL scheme must be HTTPS. Deprecated.
- 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. Deprecated.
- Returns:
- value or
null
for none
-
setTitle
public Event.Gadget setTitle(String title)
The gadget's title. Deprecated.
- Parameters:
title
- title or null
for none
-
getType
public String getType()
The gadget's type. Deprecated.
- Returns:
- value or
null
for none
-
setType
public Event.Gadget setType(String type)
The gadget's type. Deprecated.
- Parameters:
type
- type or null
for none
-
getWidth
public Integer getWidth()
The gadget's width in pixels. The width must be an integer greater than 0. Optional.
Deprecated.
- Returns:
- value or
null
for none
-
setWidth
public Event.Gadget setWidth(Integer width)
The gadget's width in pixels. The width must be an integer greater than 0. Optional.
Deprecated.
- Parameters:
width
- width or null
for none
-
set
public Event.Gadget set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Event.Gadget clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy