Class: Twilio::REST::Chat::V2::ServiceContext::ChannelInstanceMetadata
- Inherits:
-
InstanceResourceMetadata
- Object
- InstanceResourceMetadata
- Twilio::REST::Chat::V2::ServiceContext::ChannelInstanceMetadata
- Defined in:
- lib/twilio-ruby/rest/chat/v2/service/channel.rb
Instance Method Summary collapse
- #channel ⇒ Object
- #headers ⇒ Object
-
#initialize(version, channel_instance, headers, status_code) ⇒ ChannelInstanceMetadata
constructor
Initializes a new ChannelInstanceMetadata.
- #status_code ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(version, channel_instance, headers, status_code) ⇒ ChannelInstanceMetadata
Initializes a new ChannelInstanceMetadata.
570 571 572 573 |
# File 'lib/twilio-ruby/rest/chat/v2/service/channel.rb', line 570 def initialize(version, channel_instance, headers, status_code) super(version, headers, status_code) @channel_instance = channel_instance end |
Instance Method Details
#channel ⇒ Object
575 576 577 |
# File 'lib/twilio-ruby/rest/chat/v2/service/channel.rb', line 575 def channel @channel_instance end |
#headers ⇒ Object
579 580 581 |
# File 'lib/twilio-ruby/rest/chat/v2/service/channel.rb', line 579 def headers @headers end |
#status_code ⇒ Object
583 584 585 |
# File 'lib/twilio-ruby/rest/chat/v2/service/channel.rb', line 583 def status_code @status_code end |
#to_s ⇒ Object
587 588 589 |
# File 'lib/twilio-ruby/rest/chat/v2/service/channel.rb', line 587 def to_s "<Twilio.Api.V2010.ChannelInstanceMetadata status=#{@status_code}>" end |