All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    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.
    • Constructor Detail

      • Gadget

        public Gadget()
    • 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