Class: Softlayer::Network::Message::Queue::Node
- Defined in:
- lib/softlayer/network/message/queue/node.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Message_Queue_Node'
Instance Attribute Summary collapse
-
#account_name ⇒ Object
Returns the value of attribute account_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#message_queue ⇒ Object
Returns the value of attribute message_queue.
-
#message_queue_id ⇒ Object
Returns the value of attribute message_queue_id.
-
#metric_tracking_object ⇒ Object
Returns the value of attribute metric_tracking_object.
-
#name ⇒ Object
Returns the value of attribute name.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#service_resource ⇒ Object
Returns the value of attribute service_resource.
Instance Method Summary collapse
-
#add_user(message) ⇒ Object
username.
-
#delete_user(message) ⇒ Object
username.
- #get_all_users ⇒ Object
- #get_message_queue ⇒ Object
- #get_metric_tracking_object ⇒ Object
- #get_object ⇒ Object
- #get_service_resource ⇒ Object
-
#get_usage(message) ⇒ Object
start_date end_date.
-
#get_usage_graph(message) ⇒ Object
graph_data.
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
#account_name ⇒ Object
Returns the value of attribute account_name.
7 8 9 |
# File 'lib/softlayer/network/message/queue/node.rb', line 7 def account_name @account_name end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/network/message/queue/node.rb', line 8 def id @id end |
#message_queue ⇒ Object
Returns the value of attribute message_queue.
12 13 14 |
# File 'lib/softlayer/network/message/queue/node.rb', line 12 def @message_queue end |
#message_queue_id ⇒ Object
Returns the value of attribute message_queue_id.
9 10 11 |
# File 'lib/softlayer/network/message/queue/node.rb', line 9 def @message_queue_id end |
#metric_tracking_object ⇒ Object
Returns the value of attribute metric_tracking_object.
13 14 15 |
# File 'lib/softlayer/network/message/queue/node.rb', line 13 def metric_tracking_object @metric_tracking_object end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/softlayer/network/message/queue/node.rb', line 10 def name @name end |
#notes ⇒ Object
Returns the value of attribute notes.
11 12 13 |
# File 'lib/softlayer/network/message/queue/node.rb', line 11 def notes @notes end |
#service_resource ⇒ Object
Returns the value of attribute service_resource.
14 15 16 |
# File 'lib/softlayer/network/message/queue/node.rb', line 14 def service_resource @service_resource end |
Instance Method Details
#add_user(message) ⇒ Object
username
17 18 19 |
# File 'lib/softlayer/network/message/queue/node.rb', line 17 def add_user() request(:add_user, Boolean, ) end |
#delete_user(message) ⇒ Object
username
22 23 24 |
# File 'lib/softlayer/network/message/queue/node.rb', line 22 def delete_user() request(:delete_user, Boolean, ) end |
#get_all_users ⇒ Object
26 27 28 |
# File 'lib/softlayer/network/message/queue/node.rb', line 26 def get_all_users request(:get_all_users, Array[String]) end |
#get_message_queue ⇒ Object
30 31 32 |
# File 'lib/softlayer/network/message/queue/node.rb', line 30 def request(:get_message_queue, Softlayer::Network::Message::Queue) end |
#get_metric_tracking_object ⇒ Object
34 35 36 |
# File 'lib/softlayer/network/message/queue/node.rb', line 34 def get_metric_tracking_object request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object) end |
#get_object ⇒ Object
38 39 40 |
# File 'lib/softlayer/network/message/queue/node.rb', line 38 def get_object request(:get_object, Softlayer::Network::Message::Queue::Node) end |
#get_service_resource ⇒ Object
42 43 44 |
# File 'lib/softlayer/network/message/queue/node.rb', line 42 def get_service_resource request(:get_service_resource, Softlayer::Network::Service::Resource) end |