Class: Twilio::REST::Insights::V2::ReportList::AccountReportNetworkIssuesSdk

Inherits:
Object
  • Object
show all
Defined in:
lib/twilio-ruby/rest/insights/v2/report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_percentageObject

Parameters:



178
179
180
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 178

def high_jitter_percentage
  @high_jitter_percentage
end

#high_latency_percentageObject

Parameters:



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_percentageObject

Parameters:



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_percentageObject

Parameters:



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(options = {})
{
        "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(options)
end