Class: Google::Apis::CalendarV3::EventAttendee
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CalendarV3::EventAttendee
 
 
- Defined in:
 - generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #additional_guests  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of additional guests.
 - 
  
    
      #comment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The attendee's response comment.
 - 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The attendee's name, if available.
 - 
  
    
      #email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The attendee's email address, if available.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The attendee's Profile ID, if available.
 - 
  
    
      #optional  ⇒ Boolean 
    
    
      (also: #optional?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether this is an optional attendee.
 - 
  
    
      #organizer  ⇒ Boolean 
    
    
      (also: #organizer?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the attendee is the organizer of the event.
 - 
  
    
      #resource  ⇒ Boolean 
    
    
      (also: #resource?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the attendee is a resource.
 - 
  
    
      #response_status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The attendee's response status.
 - 
  
    
      #self  ⇒ Boolean 
    
    
      (also: #self?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether this entry represents the calendar on which this copy of the event appears.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EventAttendee 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of EventAttendee.
 - 
  
    
      #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) ⇒ EventAttendee
Returns a new instance of EventAttendee
      1718 1719 1720  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1718 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#additional_guests ⇒ Fixnum
Number of additional guests. Optional. The default is 0.
Corresponds to the JSON property additionalGuests
      1656 1657 1658  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1656 def additional_guests @additional_guests end  | 
  
#comment ⇒ String
The attendee's response comment. Optional.
Corresponds to the JSON property comment
      1661 1662 1663  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1661 def comment @comment end  | 
  
#display_name ⇒ String
The attendee's name, if available. Optional.
Corresponds to the JSON property displayName
      1666 1667 1668  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1666 def display_name @display_name end  | 
  
#email ⇒ String
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
      1673 1674 1675  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1673 def email @email end  | 
  
#id ⇒ String
The attendee's Profile ID, if available. It corresponds to the id field in the
People collection of the Google+ API
Corresponds to the JSON property id
      1679 1680 1681  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1679 def id @id end  | 
  
#optional ⇒ Boolean Also known as: optional?
Whether this is an optional attendee. Optional. The default is False.
Corresponds to the JSON property optional
      1684 1685 1686  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1684 def optional @optional end  | 
  
#organizer ⇒ Boolean Also known as: organizer?
Whether the attendee is the organizer of the event. Read-only. The default is
False.
Corresponds to the JSON property organizer
      1691 1692 1693  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1691 def organizer @organizer end  | 
  
#resource ⇒ Boolean Also known as: resource?
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
      1699 1700 1701  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1699 def resource @resource end  | 
  
#response_status ⇒ String
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 
      1709 1710 1711  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1709 def response_status @response_status end  | 
  
#self ⇒ Boolean Also known as: self?
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
      1715 1716 1717  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1715 def self @self end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 1723 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  |