target.apidocs.com.google.api.services.calendar.model.Event.Organizer.html Maven / Gradle / Ivy
The newest version!
Event.Organizer (Calendar API v3-rev20241101-2.0.0)
com.google.api.services.calendar.model
Class Event.Organizer
- 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.Organizer
-
- Enclosing class:
- Event
public static final class Event.Organizer
extends com.google.api.client.json.GenericJson
The organizer of the event. If the organizer is also an attendee, this is indicated with a
separate entry in attendees with the organizer field set to True. To change the organizer, use
the move operation. Read-only, except when importing an 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
Organizer()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Event.Organizer
clone()
String
getDisplayName()
The organizer's name, if available.
String
getEmail()
The organizer's email address, if available.
String
getId()
The organizer's Profile ID, if available.
Boolean
getSelf()
Whether the organizer corresponds to the calendar on which this copy of the event appears.
boolean
isSelf()
Convenience method that returns only Boolean.TRUE
or Boolean.FALSE
.
Event.Organizer
set(String fieldName,
Object value)
Event.Organizer
setDisplayName(String displayName)
The organizer's name, if available.
Event.Organizer
setEmail(String email)
The organizer's email address, if available.
Event.Organizer
setId(String id)
The organizer's Profile ID, if available.
Event.Organizer
setSelf(Boolean self)
Whether the organizer corresponds to the calendar on which this copy of the event appears.
-
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
-
getDisplayName
public String getDisplayName()
The organizer's name, if available.
- Returns:
- value or
null
for none
-
setDisplayName
public Event.Organizer setDisplayName(String displayName)
The organizer's name, if available.
- Parameters:
displayName
- displayName or null
for none
-
getEmail
public String getEmail()
The organizer's email address, if available. It must be a valid email address as per RFC5322.
- Returns:
- value or
null
for none
-
setEmail
public Event.Organizer setEmail(String email)
The organizer's email address, if available. It must be a valid email address as per RFC5322.
- Parameters:
email
- email or null
for none
-
getId
public String getId()
The organizer's Profile ID, if available.
- Returns:
- value or
null
for none
-
setId
public Event.Organizer setId(String id)
The organizer's Profile ID, if available.
- Parameters:
id
- id or null
for none
-
getSelf
public Boolean getSelf()
Whether the organizer corresponds to the calendar on which this copy of the event appears.
Read-only. The default is False.
- Returns:
- value or
null
for none
-
setSelf
public Event.Organizer setSelf(Boolean self)
Whether the organizer corresponds to the calendar on which this copy of the event appears.
Read-only. The default is False.
- Parameters:
self
- self or null
for none
-
isSelf
public boolean isSelf()
Convenience method that returns only Boolean.TRUE
or Boolean.FALSE
.
Boolean properties can have four possible values:
null
, Data.NULL_BOOLEAN
, Boolean.TRUE
or Boolean.FALSE
.
This method returns Boolean.TRUE
if the default of the property is Boolean.TRUE
and it is null
or Data.NULL_BOOLEAN
.
Boolean.FALSE
is returned if the default of the property is Boolean.FALSE
and
it is null
or Data.NULL_BOOLEAN
.
Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-
only. The default is False.
-
set
public Event.Organizer set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Event.Organizer 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