class SoftLayer::NetworkMonitorQueryType

This struct represents a network monitor query type used for creating new network monitors.

Public Class Methods

new(query_type_data) click to toggle source
# File lib/softlayer/NetworkMonitor.rb, line 45
def initialize(query_type_data)
  self.argument_description = query_type_data['arugmentDescription']
  self.description          = query_type_data['description']
  self.id                   = query_type_data['monitorLevel']
  self.name                 = query_type_data['name']
end