Class: Softlayer::Resource::Group::Template
- Defined in:
- lib/softlayer/resource/group/template.rb,
lib/softlayer/resource/group/template/member.rb
Defined Under Namespace
Classes: Member, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Resource_Group_Template'
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#children_count ⇒ Object
Returns the value of attribute children_count.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#member_count ⇒ Object
Returns the value of attribute member_count.
-
#members ⇒ Object
Returns the value of attribute members.
-
#package ⇒ Object
Returns the value of attribute package.
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
#children ⇒ Object
Returns the value of attribute children.
12 13 14 |
# File 'lib/softlayer/resource/group/template.rb', line 12 def children @children end |
#children_count ⇒ Object
Returns the value of attribute children_count.
10 11 12 |
# File 'lib/softlayer/resource/group/template.rb', line 10 def children_count @children_count end |
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/softlayer/resource/group/template.rb', line 7 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/resource/group/template.rb', line 8 def id @id end |
#key_name ⇒ Object
Returns the value of attribute key_name.
9 10 11 |
# File 'lib/softlayer/resource/group/template.rb', line 9 def key_name @key_name end |
#member_count ⇒ Object
Returns the value of attribute member_count.
11 12 13 |
# File 'lib/softlayer/resource/group/template.rb', line 11 def member_count @member_count end |
#members ⇒ Object
Returns the value of attribute members.
13 14 15 |
# File 'lib/softlayer/resource/group/template.rb', line 13 def members @members end |
#package ⇒ Object
Returns the value of attribute package.
14 15 16 |
# File 'lib/softlayer/resource/group/template.rb', line 14 def package @package end |
Class Method Details
Instance Method Details
#get_children ⇒ Object
20 21 22 |
# File 'lib/softlayer/resource/group/template.rb', line 20 def get_children request(:get_children, Array[Softlayer::Resource::Group::Template]) end |
#get_members ⇒ Object
24 25 26 |
# File 'lib/softlayer/resource/group/template.rb', line 24 def get_members request(:get_members, Array[Softlayer::Resource::Group::Template::Member]) end |