Class: Twilio::REST::Api::V2010::AccountContext::ConferenceContext::ParticipantListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Api::V2010::AccountContext::ConferenceContext::ParticipantListResponse
- Defined in:
- lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb,
lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ ParticipantListResponse
constructor
A new instance of ParticipantListResponse.
- #participant ⇒ Object
- #participant_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ ParticipantListResponse
Returns a new instance of ParticipantListResponse.
824 825 826 827 828 829 830 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 824 def initialize(version, payload, key) @participant_instance = payload.body[key].map do |data| ParticipantInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
917 918 919 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 917 def headers @headers end |
#participant ⇒ Object
913 914 915 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 913 def participant @participant end |
#participant_instance ⇒ Object
832 833 834 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 832 def participant_instance @instance end |
#status_code ⇒ Object
921 922 923 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 921 def status_code @status_code end |