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.
810 811 812 813 814 815 816 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 810 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
903 904 905 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 903 def headers @headers end |
#participant ⇒ Object
899 900 901 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 899 def participant @participant end |
#participant_instance ⇒ Object
818 819 820 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 818 def participant_instance @instance end |
#status_code ⇒ Object
907 908 909 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 907 def status_code @status_code end |