Class: Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssues
- Inherits:
-
Object
- Object
- Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssues
- Defined in:
- lib/twilio-ruby/rest/insights/v2/report.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(payload) ⇒ AccountReportNetworkIssues
constructor
A new instance of AccountReportNetworkIssues.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ AccountReportNetworkIssues
Returns a new instance of AccountReportNetworkIssues.
161 162 163 164 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 161 def initialize(payload) @sdk = payload["sdk"] @twilio_gateway = payload["twilio_gateway"] end |
Instance Attribute Details
#sdk ⇒ Object
160 161 162 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 160 def sdk @sdk end |
#twilio_gateway ⇒ Object
160 161 162 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 160 def twilio_gateway @twilio_gateway end |
Instance Method Details
#to_json(options = {}) ⇒ Object
165 166 167 168 169 170 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 165 def to_json( = {}) { "sdk": @sdk, "twilio_gateway": @twilio_gateway, }.to_json() end |