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.
878 879 880 881 882 883 884 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 878 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
971 972 973 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 971 def headers @headers end |
#participant ⇒ Object
967 968 969 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 967 def participant @participant end |
#participant_instance ⇒ Object
886 887 888 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 886 def participant_instance @instance end |
#status_code ⇒ Object
975 976 977 |
# File 'lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb', line 975 def status_code @status_code end |