Class: Google::Apis::CalendarV3::Event::Organizer
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::Event::Organizer
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The organizer's name, if available.
-
#email ⇒ String
The organizer's email address, if available.
-
#id ⇒ String
The organizer's Profile ID, if available.
-
#self ⇒ Boolean
(also: #self?)
Whether the organizer corresponds to the calendar on which this copy of the event appears.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Organizer
constructor
A new instance of Organizer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Organizer
Returns a new instance of Organizer.
1105 1106 1107 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The organizer's name, if available.
Corresponds to the JSON property displayName
1084 1085 1086 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1084 def display_name @display_name end |
#email ⇒ String
The organizer's email address, if available. It must be a valid email address
as per RFC5322.
Corresponds to the JSON property email
1090 1091 1092 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1090 def email @email end |
#id ⇒ String
The organizer's Profile ID, if available. It corresponds to theid field in the
People collection of the Google+ API
Corresponds to the JSON property id
1096 1097 1098 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1096 def id @id end |
#self ⇒ Boolean Also known as: self?
Whether the organizer corresponds to the calendar on which this copy of the
event appears. Read-only. The default is False.
Corresponds to the JSON property self
1102 1103 1104 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1102 def self @self end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1110 1111 1112 1113 1114 1115 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1110 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @id = args[:id] if args.key?(:id) @self = args[:self] if args.key?(:self) end |