Class: Twilio::REST::Insights::V2::ReportList::StirShakenCallCount
- Inherits:
-
Object
- Object
- Twilio::REST::Insights::V2::ReportList::StirShakenCallCount
- Defined in:
- lib/twilio-ruby/rest/insights/v2/report.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(payload) ⇒ StirShakenCallCount
constructor
A new instance of StirShakenCallCount.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ StirShakenCallCount
Returns a new instance of StirShakenCallCount.
383 384 385 386 387 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 383 def initialize(payload) @stsh_a = payload["stsh_a"] @stsh_b = payload["stsh_b"] @stsh_c = payload["stsh_c"] end |
Instance Attribute Details
#stsh_a ⇒ Object
382 383 384 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 382 def stsh_a @stsh_a end |
#stsh_b ⇒ Object
382 383 384 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 382 def stsh_b @stsh_b end |
#stsh_c ⇒ Object
382 383 384 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 382 def stsh_c @stsh_c end |
Instance Method Details
#to_json(options = {}) ⇒ Object
388 389 390 391 392 393 394 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 388 def to_json( = {}) { "stsh_a": @stsh_a, "stsh_b": @stsh_b, "stsh_c": @stsh_c, }.to_json() end |