Class: Twilio::REST::Chat::V1::ServiceContext::ChannelInstanceMetadata
- Inherits:
-
InstanceResourceMetadata
- Object
- InstanceResourceMetadata
- Twilio::REST::Chat::V1::ServiceContext::ChannelInstanceMetadata
- Defined in:
- lib/twilio-ruby/rest/chat/v1/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.
492 493 494 495 |
# File 'lib/twilio-ruby/rest/chat/v1/service/channel.rb', line 492 def initialize(version, channel_instance, headers, status_code) super(version, headers, status_code) @channel_instance = channel_instance end |
Instance Method Details
#channel ⇒ Object
497 498 499 |
# File 'lib/twilio-ruby/rest/chat/v1/service/channel.rb', line 497 def channel @channel_instance end |
#headers ⇒ Object
501 502 503 |
# File 'lib/twilio-ruby/rest/chat/v1/service/channel.rb', line 501 def headers @headers end |
#status_code ⇒ Object
505 506 507 |
# File 'lib/twilio-ruby/rest/chat/v1/service/channel.rb', line 505 def status_code @status_code end |
#to_s ⇒ Object
509 510 511 |
# File 'lib/twilio-ruby/rest/chat/v1/service/channel.rb', line 509 def to_s "<Twilio.Api.V2010.ChannelInstanceMetadata status=#{@status_code}>" end |