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_answer_sets.rb
Instance Method Summary collapse
-
#account_sid ⇒ String
The SID of the [Account](www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource.
-
#answer_set_categories ⇒ Hash
The list of answer set categories.
-
#answer_sets ⇒ Hash
The lis of answer sets.
-
#initialize(version, payload) ⇒ InsightsSettingsAnswerSetsInstance
constructor
Initialize the InsightsSettingsAnswerSetsInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#not_applicable ⇒ Hash
The details for not applicable answer set.
-
#to_s ⇒ Object
Provide a user friendly representation.
- #url ⇒ String
Constructor Details
#initialize(version, payload) ⇒ InsightsSettingsAnswerSetsInstance
Initialize the InsightsSettingsAnswerSetsInstance
190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 190 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
Returns The SID of the [Account](www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource.
207 208 209 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 207 def account_sid @properties['account_sid'] end |
#answer_set_categories ⇒ Hash
Returns The list of answer set categories.
219 220 221 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 219 def answer_set_categories @properties['answer_set_categories'] end |
#answer_sets ⇒ Hash
Returns The lis of answer sets.
213 214 215 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 213 def answer_sets @properties['answer_sets'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
243 244 245 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 243 def inspect "<Twilio.FlexApi.V1.InsightsSettingsAnswerSetsInstance>" end |
#not_applicable ⇒ Hash
Returns The details for not applicable answer set.
225 226 227 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 225 def not_applicable @properties['not_applicable'] end |
#to_s ⇒ Object
Provide a user friendly representation
237 238 239 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 237 def to_s "<Twilio.FlexApi.V1.InsightsSettingsAnswerSetsInstance>" end |
#url ⇒ String
231 232 233 |
# File 'lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb', line 231 def url @properties['url'] end |