Class: Teams::Api::MeetingParticipant

Inherits:
Model
  • Object
show all
Defined in:
lib/teams/api/meeting_participant.rb

Instance Attribute Summary

Attributes inherited from Model

#raw

Instance Method Summary collapse

Methods inherited from Model

#initialize, #to_h

Constructor Details

This class inherits a constructor from Teams::Api::Model

Instance Method Details

#conversationObject



27
28
29
30
# File 'lib/teams/api/meeting_participant.rb', line 27

def conversation
  value = read("conversation")
  value ? ConversationAccount.new(value) : nil
end

#meetingObject



22
23
24
25
# File 'lib/teams/api/meeting_participant.rb', line 22

def meeting
  value = read("meeting")
  value ? Meeting.new(value) : nil
end

#userObject



17
18
19
20
# File 'lib/teams/api/meeting_participant.rb', line 17

def user
  value = read("user")
  value ? Account.new(value) : nil
end