Class: Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssuesSdk
- Inherits:
-
Object
- Object
- Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssuesSdk
- 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
- #ice_failures_percentage ⇒ Object
Instance Method Summary collapse
-
#initialize(payload) ⇒ AccountReportNetworkIssuesSdk
constructor
A new instance of AccountReportNetworkIssuesSdk.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ AccountReportNetworkIssuesSdk
Returns a new instance of AccountReportNetworkIssuesSdk.
179 180 181 182 183 184 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 179 def initialize(payload) @ice_failures_percentage = payload["ice_failures_percentage"] @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
178 179 180 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 178 def high_jitter_percentage @high_jitter_percentage end |
#high_latency_percentage ⇒ Object
178 179 180 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 178 def high_latency_percentage @high_latency_percentage end |
#high_packet_loss_percentage ⇒ Object
178 179 180 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 178 def high_packet_loss_percentage @high_packet_loss_percentage end |
#ice_failures_percentage ⇒ Object
178 179 180 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 178 def ice_failures_percentage @ice_failures_percentage end |
Instance Method Details
#to_json(options = {}) ⇒ Object
185 186 187 188 189 190 191 192 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 185 def to_json( = {}) { "ice_failures_percentage": @ice_failures_percentage, "high_latency_percentage": @high_latency_percentage, "high_packet_loss_percentage": @high_packet_loss_percentage, "high_jitter_percentage": @high_jitter_percentage, }.to_json() end |