public final class EventAttendee
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
EventAttendee() |
Modifier and Type | Method and Description |
---|---|
EventAttendee |
clone() |
java.lang.Integer |
getAdditionalGuests()
Number of additional guests.
|
java.lang.String |
getComment()
The attendee's response comment.
|
java.lang.String |
getDisplayName()
The attendee's name, if available.
|
java.lang.String |
getEmail()
The attendee's email address, if available.
|
java.lang.String |
getId()
The attendee's Profile ID, if available.
|
java.lang.Boolean |
getOptional()
Whether this is an optional attendee.
|
java.lang.Boolean |
getOrganizer()
Whether the attendee is the organizer of the event.
|
java.lang.Boolean |
getResource()
Whether the attendee is a resource.
|
java.lang.String |
getResponseStatus()
The attendee's response status.
|
java.lang.Boolean |
getSelf()
Whether this entry represents the calendar on which this copy of the event appears.
|
boolean |
isOptional()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE . |
boolean |
isResource()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE . |
boolean |
isSelf()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE . |
EventAttendee |
set(java.lang.String fieldName,
java.lang.Object value) |
EventAttendee |
setAdditionalGuests(java.lang.Integer additionalGuests)
Number of additional guests.
|
EventAttendee |
setComment(java.lang.String comment)
The attendee's response comment.
|
EventAttendee |
setDisplayName(java.lang.String displayName)
The attendee's name, if available.
|
EventAttendee |
setEmail(java.lang.String email)
The attendee's email address, if available.
|
EventAttendee |
setId(java.lang.String id)
The attendee's Profile ID, if available.
|
EventAttendee |
setOptional(java.lang.Boolean optional)
Whether this is an optional attendee.
|
EventAttendee |
setOrganizer(java.lang.Boolean organizer)
Whether the attendee is the organizer of the event.
|
EventAttendee |
setResource(java.lang.Boolean resource)
Whether the attendee is a resource.
|
EventAttendee |
setResponseStatus(java.lang.String responseStatus)
The attendee's response status.
|
EventAttendee |
setSelf(java.lang.Boolean self)
Whether this entry represents the calendar on which this copy of the event appears.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getAdditionalGuests()
null
for nonepublic EventAttendee setAdditionalGuests(java.lang.Integer additionalGuests)
additionalGuests
- additionalGuests or null
for nonepublic java.lang.String getComment()
null
for nonepublic EventAttendee setComment(java.lang.String comment)
comment
- comment or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic EventAttendee setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getEmail()
null
for nonepublic EventAttendee setEmail(java.lang.String email)
email
- email or null
for nonepublic java.lang.String getId()
null
for nonepublic EventAttendee setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.Boolean getOptional()
null
for nonepublic EventAttendee setOptional(java.lang.Boolean optional)
optional
- optional or null
for nonepublic boolean isOptional()
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 this is an optional attendee. Optional. The default is False.
public java.lang.Boolean getOrganizer()
null
for nonepublic EventAttendee setOrganizer(java.lang.Boolean organizer)
organizer
- organizer or null
for nonepublic java.lang.Boolean getResource()
null
for nonepublic EventAttendee setResource(java.lang.Boolean resource)
resource
- resource or null
for nonepublic boolean isResource()
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 attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.
public java.lang.String getResponseStatus()
null
for nonepublic EventAttendee setResponseStatus(java.lang.String responseStatus)
responseStatus
- responseStatus or null
for nonepublic java.lang.Boolean getSelf()
null
for nonepublic EventAttendee setSelf(java.lang.Boolean self)
self
- self or null
for nonepublic boolean isSelf()
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 this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.
public EventAttendee set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public EventAttendee clone()
clone
in class com.google.api.client.json.GenericJson