public class Calendar extends BaseDataObject
A set of metadata, such as a description, for a single calendar.
Modifier and Type | Field and Description |
---|---|
static String |
CALENDAR_KIND
Type of the resource 'calendar#calendar'.
|
Constructor and Description |
---|
Calendar()
Initializes a new instance of the Calendar class.
|
Calendar(String summary)
Initializes a new instance of the Calendar class.
|
Calendar(String id,
String summary)
Initializes a new instance of the Calendar class.
|
Calendar(String summary,
String description,
String location,
String timeZone)
Initializes a new instance of the Calendar class.
|
Calendar(String id,
String summary,
String description,
String location,
String timeZone)
Initializes a new instance of the Calendar class.
|
Calendar(String id,
String eTag,
String summary,
String description,
String location,
String timeZone)
Initializes a new instance of the Calendar class.
|
Modifier and Type | Method and Description |
---|---|
ConferenceProperties |
getConferenceProperties()
Gets conferencing properties for this calendar.
|
String |
getDescription()
Description of the 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.
|
void |
setDescription(String value)
Description of the calendar.
|
void |
setLocation(String value)
Geographic location of the calendar as free-form text.
|
void |
setSummary(String value)
Title of the calendar.
|
void |
setTimeZone(String value)
The time zone of the calendar.
|
String |
toString()
Returns a string which represents the object instance.
|
public static final String CALENDAR_KIND
Type of the resource 'calendar#calendar'.
public Calendar()
Initializes a new instance of the Calendar class.
public Calendar(String summary)
Initializes a new instance of the Calendar class.
summary
- Title of the calendar.public Calendar(String id, String summary)
Initializes a new instance of the Calendar class.
id
- Identifier of the resource.summary
- Title of the calendar.public Calendar(String summary, String description, String location, String timeZone)
Initializes a new instance of the Calendar class.
summary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.public Calendar(String id, String summary, String description, String location, String timeZone)
Initializes a new instance of the Calendar class.
id
- Identifier of the resource.summary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.public Calendar(String id, String eTag, String summary, String description, String location, String timeZone)
Initializes a new instance of the Calendar class.
id
- Identifier of the resource.eTag
- An entity tagsummary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.public String getSummary()
Title of the calendar.
public void setSummary(String value)
Title of the calendar.
public String getDescription()
Description of the calendar.
public void setDescription(String value)
Description of the calendar.
public String getLocation()
Geographic location of the calendar as free-form text.
public void setLocation(String value)
Geographic location of the calendar as free-form text.
public String getTimeZone()
The time zone of the calendar.
public void setTimeZone(String value)
The time zone of the calendar.
public ConferenceProperties getConferenceProperties()
Gets conferencing properties for this calendar.