Class: Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssuesTwilioGateway
- Inherits:
-
Object
- Object
- Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssuesTwilioGateway
- Defined in:
- lib/twilio-ruby/rest/insights/v2/report.rb
Instance Attribute Summary collapse
- #high_jitter_percentage ⇒ Object
- #high_latency_percentage ⇒ Object
- #high_packet_loss_percentage ⇒ Object
Instance Method Summary collapse
-
#initialize(payload) ⇒ AccountReportNetworkIssuesTwilioGateway
constructor
A new instance of AccountReportNetworkIssuesTwilioGateway.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ AccountReportNetworkIssuesTwilioGateway
Returns a new instance of AccountReportNetworkIssuesTwilioGateway.
200 201 202 203 204 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 200 def initialize(payload) @high_latency_percentage = payload["high_latency_percentage"] @high_packet_loss_percentage = payload["high_packet_loss_percentage"] @high_jitter_percentage = payload["high_jitter_percentage"] end |
Instance Attribute Details
#high_jitter_percentage ⇒ Object
199 200 201 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 199 def high_jitter_percentage @high_jitter_percentage end |
#high_latency_percentage ⇒ Object
199 200 201 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 199 def high_latency_percentage @high_latency_percentage end |
#high_packet_loss_percentage ⇒ Object
199 200 201 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 199 def high_packet_loss_percentage @high_packet_loss_percentage end |
Instance Method Details
#to_json(options = {}) ⇒ Object
205 206 207 208 209 210 211 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 205 def to_json( = {}) { "high_latency_percentage": @high_latency_percentage, "high_packet_loss_percentage": @high_packet_loss_percentage, "high_jitter_percentage": @high_jitter_percentage, }.to_json() end |