target.apidocs.com.google.api.services.calendar.model.Calendar.html Maven / Gradle / Ivy
The newest version!
Calendar (Calendar API v3-rev20241101-2.0.0)
com.google.api.services.calendar.model
Class Calendar
- 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.Calendar
-
public final class Calendar
extends com.google.api.client.json.GenericJson
Model definition for Calendar.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Calendar API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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
Calendar()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Calendar
clone()
ConferenceProperties
getConferenceProperties()
Conferencing properties for this calendar, for example what types of conferences are allowed.
String
getDescription()
Description of the calendar.
String
getEtag()
ETag of the resource.
String
getId()
Identifier of the calendar.
String
getKind()
Type of the resource ("calendar#calendar").
String
getLocation()
Geographic location of the calendar as free-form text.
String
getSummary()
Title of the calendar.
String
getTimeZone()
The time zone of the calendar.
Calendar
set(String fieldName,
Object value)
Calendar
setConferenceProperties(ConferenceProperties conferenceProperties)
Conferencing properties for this calendar, for example what types of conferences are allowed.
Calendar
setDescription(String description)
Description of the calendar.
Calendar
setEtag(String etag)
ETag of the resource.
Calendar
setId(String id)
Identifier of the calendar.
Calendar
setKind(String kind)
Type of the resource ("calendar#calendar").
Calendar
setLocation(String location)
Geographic location of the calendar as free-form text.
Calendar
setSummary(String summary)
Title of the calendar.
Calendar
setTimeZone(String timeZone)
The time zone of the calendar.
-
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
-
getConferenceProperties
public ConferenceProperties getConferenceProperties()
Conferencing properties for this calendar, for example what types of conferences are allowed.
- Returns:
- value or
null
for none
-
setConferenceProperties
public Calendar setConferenceProperties(ConferenceProperties conferenceProperties)
Conferencing properties for this calendar, for example what types of conferences are allowed.
- Parameters:
conferenceProperties
- conferenceProperties or null
for none
-
getDescription
public String getDescription()
Description of the calendar. Optional.
- Returns:
- value or
null
for none
-
setDescription
public Calendar setDescription(String description)
Description of the calendar. Optional.
- Parameters:
description
- description or null
for none
-
getEtag
public String getEtag()
ETag of the resource.
- Returns:
- value or
null
for none
-
setEtag
public Calendar setEtag(String etag)
ETag of the resource.
- Parameters:
etag
- etag or null
for none
-
getId
public String getId()
Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
- Returns:
- value or
null
for none
-
setId
public Calendar setId(String id)
Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
Type of the resource ("calendar#calendar").
- Returns:
- value or
null
for none
-
setKind
public Calendar setKind(String kind)
Type of the resource ("calendar#calendar").
- Parameters:
kind
- kind or null
for none
-
getLocation
public String getLocation()
Geographic location of the calendar as free-form text. Optional.
- Returns:
- value or
null
for none
-
setLocation
public Calendar setLocation(String location)
Geographic location of the calendar as free-form text. Optional.
- Parameters:
location
- location or null
for none
-
getSummary
public String getSummary()
Title of the calendar.
- Returns:
- value or
null
for none
-
setSummary
public Calendar setSummary(String summary)
Title of the calendar.
- Parameters:
summary
- summary or null
for none
-
getTimeZone
public String getTimeZone()
The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g.
"Europe/Zurich".) Optional.
- Returns:
- value or
null
for none
-
setTimeZone
public Calendar setTimeZone(String timeZone)
The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g.
"Europe/Zurich".) Optional.
- Parameters:
timeZone
- timeZone or null
for none
-
set
public Calendar set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Calendar 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