Class: Twilio::REST::FlexApi::V1::InsightsSettingsCommentInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::FlexApi::V1::InsightsSettingsCommentInstance
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb
Overview
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
Instance Method Summary collapse
-
#account_sid ⇒ String
The SID of the Account that created the resource and owns this Flex Insights.
-
#comments ⇒ Hash
The comments.
-
#initialize(version, payload) ⇒ InsightsSettingsCommentInstance
constructor
Initialize the InsightsSettingsCommentInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#url ⇒ String
The url.
Constructor Details
#initialize(version, payload) ⇒ InsightsSettingsCommentInstance
Initialize the InsightsSettingsCommentInstance
86 87 88 89 90 91 92 93 94 95 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 86 def initialize(version, payload) super(version) # Marshaled Properties @properties = { 'account_sid' => payload['account_sid'], 'comments' => payload['comments'], 'url' => payload['url'], } end |
Instance Method Details
#account_sid ⇒ String
Returns The SID of the Account that created the resource and owns this Flex Insights.
99 100 101 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 99 def account_sid @properties['account_sid'] end |
#comments ⇒ Hash
Returns The comments.
105 106 107 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 105 def comments @properties['comments'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
123 124 125 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 123 def inspect "<Twilio.FlexApi.V1.InsightsSettingsCommentInstance>" end |
#to_s ⇒ Object
Provide a user friendly representation
117 118 119 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 117 def to_s "<Twilio.FlexApi.V1.InsightsSettingsCommentInstance>" end |
#url ⇒ String
Returns The url.
111 112 113 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb', line 111 def url @properties['url'] end |