class Google::Apis::CalendarV3::EventAttendee

Attributes

additional_guests[RW]

Number of additional guests. Optional. The default is 0. Corresponds to the JSON property `additionalGuests` @return [Fixnum]

comment[RW]

The attendee's response comment. Optional. Corresponds to the JSON property `comment` @return [String]

display_name[RW]

The attendee's name, if available. Optional. Corresponds to the JSON property `displayName` @return [String]

email[RW]

The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. Required when adding an attendee. Corresponds to the JSON property `email` @return [String]

id[RW]

The attendee's Profile ID, if available. Corresponds to the JSON property `id` @return [String]

optional[RW]

Whether this is an optional attendee. Optional. The default is False. Corresponds to the JSON property `optional` @return [Boolean]

optional?[RW]

Whether this is an optional attendee. Optional. The default is False. Corresponds to the JSON property `optional` @return [Boolean]

organizer[RW]

Whether the attendee is the organizer of the event. Read-only. The default is False. Corresponds to the JSON property `organizer` @return [Boolean]

organizer?[RW]

Whether the attendee is the organizer of the event. Read-only. The default is False. Corresponds to the JSON property `organizer` @return [Boolean]

resource[RW]

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. Corresponds to the JSON property `resource` @return [Boolean]

resource?[RW]

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. Corresponds to the JSON property `resource` @return [Boolean]

response_status[RW]

The attendee's response status. Possible values are:

  • “needsAction” - The attendee has not responded to the invitation.

  • “declined” - The attendee has declined the invitation.

  • “tentative” - The attendee has tentatively accepted the invitation.

  • “accepted” - The attendee has accepted the invitation.

Corresponds to the JSON property `responseStatus` @return [String]

self[RW]

Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. Corresponds to the JSON property `self` @return [Boolean]

self?[RW]

Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. Corresponds to the JSON property `self` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/calendar_v3/classes.rb, line 1729
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/calendar_v3/classes.rb, line 1734
def update!(**args)
  @additional_guests = args[:additional_guests] if args.key?(:additional_guests)
  @comment = args[:comment] if args.key?(:comment)
  @display_name = args[:display_name] if args.key?(:display_name)
  @email = args[:email] if args.key?(:email)
  @id = args[:id] if args.key?(:id)
  @optional = args[:optional] if args.key?(:optional)
  @organizer = args[:organizer] if args.key?(:organizer)
  @resource = args[:resource] if args.key?(:resource)
  @response_status = args[:response_status] if args.key?(:response_status)
  @self = args[:self] if args.key?(:self)
end