Class: SoftLayer::NetworkMonitorQueryType
- Inherits:
-
Struct
- Object
- Struct
- SoftLayer::NetworkMonitorQueryType
- Defined in:
- lib/softlayer/NetworkMonitor.rb
Overview
This struct represents a network monitor query type used for creating new network monitors.
Instance Attribute Summary collapse
-
#argument_description ⇒ Object
Returns the value of attribute argument_description.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#monitor_level ⇒ Object
Returns the value of attribute monitor_level.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(query_type_data) ⇒ NetworkMonitorQueryType
constructor
A new instance of NetworkMonitorQueryType.
Constructor Details
#initialize(query_type_data) ⇒ NetworkMonitorQueryType
Returns a new instance of NetworkMonitorQueryType.
45 46 47 48 49 50 |
# 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 |
Instance Attribute Details
#argument_description ⇒ Object
Returns the value of attribute argument_description
44 45 46 |
# File 'lib/softlayer/NetworkMonitor.rb', line 44 def argument_description @argument_description end |
#description ⇒ Object
Returns the value of attribute description
44 45 46 |
# File 'lib/softlayer/NetworkMonitor.rb', line 44 def description @description end |
#id ⇒ Object
Returns the value of attribute id
44 45 46 |
# File 'lib/softlayer/NetworkMonitor.rb', line 44 def id @id end |
#monitor_level ⇒ Object
Returns the value of attribute monitor_level
44 45 46 |
# File 'lib/softlayer/NetworkMonitor.rb', line 44 def monitor_level @monitor_level end |
#name ⇒ Object
Returns the value of attribute name
44 45 46 |
# File 'lib/softlayer/NetworkMonitor.rb', line 44 def name @name end |