target.apidocs.com.google.api.services.calendar.model.Event.Source.html Maven / Gradle / Ivy
The newest version!
Event.Source (Calendar API v3-rev20241101-2.0.0)
com.google.api.services.calendar.model
Class Event.Source
- 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.Source
-
- Enclosing class:
- Event
public static final class Event.Source
extends com.google.api.client.json.GenericJson
Source from which the event was created. For example, a web page, an email message or any
document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the
creator of the event.
-
-
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
Source()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Event.Source
clone()
String
getTitle()
Title of the source; for example a title of a web page or an email subject.
String
getUrl()
URL of the source pointing to a resource.
Event.Source
set(String fieldName,
Object value)
Event.Source
setTitle(String title)
Title of the source; for example a title of a web page or an email subject.
Event.Source
setUrl(String url)
URL of the source pointing to a resource.
-
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
-
getTitle
public String getTitle()
Title of the source; for example a title of a web page or an email subject.
- Returns:
- value or
null
for none
-
setTitle
public Event.Source setTitle(String title)
Title of the source; for example a title of a web page or an email subject.
- Parameters:
title
- title or null
for none
-
getUrl
public String getUrl()
URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
- Returns:
- value or
null
for none
-
setUrl
public Event.Source setUrl(String url)
URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
- Parameters:
url
- url or null
for none
-
set
public Event.Source set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Event.Source 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