Class: Twilio::REST::FlexApi::V1::InsightsSettingsAnswerSetsInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::FlexApi::V1::InsightsSettingsAnswerSetsInstance
- Defined in:
- lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.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.
-
#answer_set_categories ⇒ Hash
Categories of Answer Set.
-
#answer_sets ⇒ Hash
Answer Set list.
-
#initialize(version, payload) ⇒ InsightsSettingsAnswerSetsInstance
constructor
Initialize the InsightsSettingsAnswerSetsInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#not_applicable ⇒ Hash
NA answer set.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#url ⇒ String
The url.
Constructor Details
#initialize(version, payload) ⇒ InsightsSettingsAnswerSetsInstance
Initialize the InsightsSettingsAnswerSetsInstance
86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 86 def initialize(version, payload) super(version) # Marshaled Properties @properties = { 'account_sid' => payload['account_sid'], 'answer_sets' => payload['answer_sets'], 'answer_set_categories' => payload['answer_set_categories'], 'not_applicable' => payload['not_applicable'], 'url' => payload['url'], } end |
Instance Method Details
#account_sid ⇒ String
101 102 103 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 101 def account_sid @properties['account_sid'] end |
#answer_set_categories ⇒ Hash
113 114 115 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 113 def answer_set_categories @properties['answer_set_categories'] end |
#answer_sets ⇒ Hash
107 108 109 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 107 def answer_sets @properties['answer_sets'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
137 138 139 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 137 def inspect "<Twilio.FlexApi.V1.InsightsSettingsAnswerSetsInstance>" end |
#not_applicable ⇒ Hash
119 120 121 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 119 def not_applicable @properties['not_applicable'] end |
#to_s ⇒ Object
Provide a user friendly representation
131 132 133 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 131 def to_s "<Twilio.FlexApi.V1.InsightsSettingsAnswerSetsInstance>" end |
#url ⇒ String
125 126 127 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answersets.rb', line 125 def url @properties['url'] end |