Class: Softlayer::Configuration::Template::Section::Definition::Group

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/configuration/template/section/definition/group.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Configuration_Template_Section_Definition_Group'

Instance Attribute Summary collapse

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

#create_date ⇒ Object

Returns the value of attribute create_date.



8
9
10
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 8

def create_date
  @create_date
end

#description ⇒ Object

Returns the value of attribute description.



9
10
11
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 9

def description
  @description
end

#id ⇒ Object

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 10

def id
  @id
end

#name ⇒ Object

Returns the value of attribute name.



11
12
13
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 11

def name
  @name
end

#parent ⇒ Object

Returns the value of attribute parent.



13
14
15
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 13

def parent
  @parent
end

#sort_order ⇒ Object

Returns the value of attribute sort_order.



12
13
14
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 12

def sort_order
  @sort_order
end

Class Method Details

.get_all_groups ⇒ Object



15
16
17
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 15

def self.get_all_groups
  request(:get_all_groups, Array[Softlayer::Configuration::Template::Section::Definition::Group])
end

Instance Method Details

#get_object ⇒ Object



19
20
21
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 19

def get_object
  request(:get_object, Softlayer::Configuration::Template::Section::Definition::Group)
end

#get_parent ⇒ Object



23
24
25
# File 'lib/softlayer/configuration/template/section/definition/group.rb', line 23

def get_parent
  request(:get_parent, Softlayer::Configuration::Template::Section::Definition::Group)
end