class SoftLayer::NetworkMonitorQueryResult

This struct represents a network monitor query result that shows the last state of the network monitor

Constants

STATUS_DESCRIPTIONS

This constant is a mapping of network monitor query result statuses to descriptions

Public Class Methods

new(query_result_data) click to toggle source
# File lib/softlayer/NetworkMonitor.rb, line 34
def initialize(query_result_data)
  self.finished_at     = query_result_data['finishTime']
  self.responded_in    = query_result_data['responseTime']
  self.response_status = query_result_data['responseStatus']
end