Class: Softlayer::Network::Monitor::Version1::Query::Host::Stratum
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Monitor_Version1_Query_Host_Stratum'
Instance Attribute Summary collapse
-
#hardware ⇒ Object
Returns the value of attribute hardware.
-
#monitor_level ⇒ Object
Returns the value of attribute monitor_level.
-
#response_level ⇒ Object
Returns the value of attribute response_level.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#hardware ⇒ Object
Returns the value of attribute hardware.
11 12 13 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 11 def hardware @hardware end |
#monitor_level ⇒ Object
Returns the value of attribute monitor_level.
9 10 11 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 9 def monitor_level @monitor_level end |
#response_level ⇒ Object
Returns the value of attribute response_level.
10 11 12 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 10 def response_level @response_level end |
Class Method Details
.get_all_query_types ⇒ Object
13 14 15 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 13 def self.get_all_query_types request(:get_all_query_types, Array[Softlayer::Network::Monitor::Version1::Query::Type]) end |
.get_all_response_types ⇒ Object
17 18 19 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 17 def self.get_all_response_types request(:get_all_response_types, Array[Softlayer::Network::Monitor::Version1::Query::ResponseType]) end |
Instance Method Details
#get_hardware ⇒ Object
21 22 23 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 21 def get_hardware request(:get_hardware, Softlayer::Hardware) end |
#get_object ⇒ Object
25 26 27 |
# File 'lib/softlayer/network/monitor/version1/query/host/stratum.rb', line 25 def get_object request(:get_object, Softlayer::Network::Monitor::Version1::Query::Host::Stratum) end |