Class: Softlayer::Network::Monitor::Version1::Query::Host
- Defined in:
- lib/softlayer/network/monitor/version1/query/host.rb,
lib/softlayer/network/monitor/version1/query/host/stratum.rb
Defined Under Namespace
Classes: Representer, Stratum
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Monitor_Version1_Query_Host'
Instance Attribute Summary collapse
-
#arg1_value ⇒ Object
Returns the value of attribute arg1_value.
-
#guest_id ⇒ Object
Returns the value of attribute guest_id.
-
#hardware ⇒ Object
Returns the value of attribute hardware.
-
#hardware_id ⇒ Object
Returns the value of attribute hardware_id.
-
#host_id ⇒ Object
Returns the value of attribute host_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#last_result ⇒ Object
Returns the value of attribute last_result.
-
#query_type ⇒ Object
Returns the value of attribute query_type.
-
#query_type_id ⇒ Object
Returns the value of attribute query_type_id.
-
#response_action ⇒ Object
Returns the value of attribute response_action.
-
#response_action_id ⇒ Object
Returns the value of attribute response_action_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#wait_cycles ⇒ Object
Returns the value of attribute wait_cycles.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.create_objects(message) ⇒ Object
template_objects.
-
.delete_objects(message) ⇒ Object
template_objects.
-
.edit_objects(message) ⇒ Object
template_objects.
-
.find_by_hardware_id(message) ⇒ Object
hardware_id.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_hardware ⇒ Object
- #get_last_result ⇒ Object
- #get_object ⇒ Object
- #get_query_type ⇒ Object
- #get_response_action ⇒ Object
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
#arg1_value ⇒ Object
Returns the value of attribute arg1_value.
9 10 11 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 9 def arg1_value @arg1_value end |
#guest_id ⇒ Object
Returns the value of attribute guest_id.
10 11 12 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 10 def guest_id @guest_id end |
#hardware ⇒ Object
Returns the value of attribute hardware.
19 20 21 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 19 def hardware @hardware end |
#hardware_id ⇒ Object
Returns the value of attribute hardware_id.
11 12 13 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 11 def hardware_id @hardware_id end |
#host_id ⇒ Object
Returns the value of attribute host_id.
12 13 14 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 12 def host_id @host_id end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 13 def id @id end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
14 15 16 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 14 def ip_address @ip_address end |
#last_result ⇒ Object
Returns the value of attribute last_result.
20 21 22 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 20 def last_result @last_result end |
#query_type ⇒ Object
Returns the value of attribute query_type.
21 22 23 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 21 def query_type @query_type end |
#query_type_id ⇒ Object
Returns the value of attribute query_type_id.
15 16 17 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 15 def query_type_id @query_type_id end |
#response_action ⇒ Object
Returns the value of attribute response_action.
22 23 24 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 22 def response_action @response_action end |
#response_action_id ⇒ Object
Returns the value of attribute response_action_id.
16 17 18 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 16 def response_action_id @response_action_id end |
#status ⇒ Object
Returns the value of attribute status.
17 18 19 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 17 def status @status end |
#wait_cycles ⇒ Object
Returns the value of attribute wait_cycles.
18 19 20 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 18 def wait_cycles @wait_cycles end |
Class Method Details
.create_object(message) ⇒ Object
template_object
25 26 27 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 25 def self.create_object() request(:create_object, Softlayer::Network::Monitor::Version1::Query::Host, ) end |
.create_objects(message) ⇒ Object
template_objects
30 31 32 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 30 def self.create_objects() request(:create_objects, Array[Softlayer::Network::Monitor::Version1::Query::Host], ) end |
.delete_objects(message) ⇒ Object
template_objects
39 40 41 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 39 def self.delete_objects() request(:delete_objects, Boolean, ) end |
.edit_objects(message) ⇒ Object
template_objects
49 50 51 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 49 def self.edit_objects() request(:edit_objects, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
34 35 36 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 34 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
44 45 46 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 44 def edit_object() request(:edit_object, Boolean, ) end |
#get_hardware ⇒ Object
58 59 60 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 58 def get_hardware request(:get_hardware, Softlayer::Hardware) end |
#get_last_result ⇒ Object
62 63 64 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 62 def get_last_result request(:get_last_result, Softlayer::Network::Monitor::Version1::Query::Result) end |
#get_object ⇒ Object
66 67 68 |
# File 'lib/softlayer/network/monitor/version1/query/host.rb', line 66 def get_object request(:get_object, Softlayer::Network::Monitor::Version1::Query::Host) end |