Class: Softlayer::Configuration::Template::Section

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/configuration/template/section.rb,
lib/softlayer/configuration/template/section/type.rb,
lib/softlayer/configuration/template/section/profile.rb,
lib/softlayer/configuration/template/section/attribute.rb,
lib/softlayer/configuration/template/section/reference.rb,
lib/softlayer/configuration/template/section/definition.rb,
lib/softlayer/configuration/template/section/definition/type.rb,
lib/softlayer/configuration/template/section/definition/group.rb,
lib/softlayer/configuration/template/section/definition/value.rb,
lib/softlayer/configuration/template/section/definition/attribute.rb,
lib/softlayer/configuration/template/section/definition/attribute/type.rb

Defined Under Namespace

Classes: Attribute, Definition, Profile, Reference, Representer, Type

Constant Summary collapse

SERVICE =
'SoftLayer_Configuration_Template_Section'

Instance Attribute 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_dateObject

Returns the value of attribute create_date.



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

def create_date
  @create_date
end

#definition_countObject

Returns the value of attribute definition_count.



21
22
23
# File 'lib/softlayer/configuration/template/section.rb', line 21

def definition_count
  @definition_count
end

#definitionsObject

Returns the value of attribute definitions.



24
25
26
# File 'lib/softlayer/configuration/template/section.rb', line 24

def definitions
  @definitions
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#disallowed_deletion_flagObject

Returns the value of attribute disallowed_deletion_flag.



25
26
27
# File 'lib/softlayer/configuration/template/section.rb', line 25

def disallowed_deletion_flag
  @disallowed_deletion_flag
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#linked_templateObject

Returns the value of attribute linked_template.



26
27
28
# File 'lib/softlayer/configuration/template/section.rb', line 26

def linked_template
  @linked_template
end

#linked_template_idObject

Returns the value of attribute linked_template_id.



14
15
16
# File 'lib/softlayer/configuration/template/section.rb', line 14

def linked_template_id
  @linked_template_id
end

#linked_template_referenceObject

Returns the value of attribute linked_template_reference.



27
28
29
# File 'lib/softlayer/configuration/template/section.rb', line 27

def linked_template_reference
  @linked_template_reference
end

#modify_dateObject

Returns the value of attribute modify_date.



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

def modify_date
  @modify_date
end

#nameObject

Returns the value of attribute name.



16
17
18
# File 'lib/softlayer/configuration/template/section.rb', line 16

def name
  @name
end

#parent_idObject

Returns the value of attribute parent_id.



17
18
19
# File 'lib/softlayer/configuration/template/section.rb', line 17

def parent_id
  @parent_id
end

#profile_countObject

Returns the value of attribute profile_count.



22
23
24
# File 'lib/softlayer/configuration/template/section.rb', line 22

def profile_count
  @profile_count
end

#profilesObject

Returns the value of attribute profiles.



28
29
30
# File 'lib/softlayer/configuration/template/section.rb', line 28

def profiles
  @profiles
end

#section_typeObject

Returns the value of attribute section_type.



29
30
31
# File 'lib/softlayer/configuration/template/section.rb', line 29

def section_type
  @section_type
end

#section_type_nameObject

Returns the value of attribute section_type_name.



30
31
32
# File 'lib/softlayer/configuration/template/section.rb', line 30

def section_type_name
  @section_type_name
end

#sortObject

Returns the value of attribute sort.



18
19
20
# File 'lib/softlayer/configuration/template/section.rb', line 18

def sort
  @sort
end

#sub_section_countObject

Returns the value of attribute sub_section_count.



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

def sub_section_count
  @sub_section_count
end

#sub_sectionsObject

Returns the value of attribute sub_sections.



31
32
33
# File 'lib/softlayer/configuration/template/section.rb', line 31

def sub_sections
  @sub_sections
end

#templateObject

Returns the value of attribute template.



32
33
34
# File 'lib/softlayer/configuration/template/section.rb', line 32

def template
  @template
end

#template_idObject

Returns the value of attribute template_id.



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

def template_id
  @template_id
end

#type_idObject

Returns the value of attribute type_id.



20
21
22
# File 'lib/softlayer/configuration/template/section.rb', line 20

def type_id
  @type_id
end

Instance Method Details

#get_definitionsObject



34
35
36
# File 'lib/softlayer/configuration/template/section.rb', line 34

def get_definitions
  request(:get_definitions, Array[Softlayer::Configuration::Template::Section::Definition])
end

#get_disallowed_deletion_flagObject



38
39
40
# File 'lib/softlayer/configuration/template/section.rb', line 38

def get_disallowed_deletion_flag
  request(:get_disallowed_deletion_flag, Boolean)
end

#get_linked_templateObject



42
43
44
# File 'lib/softlayer/configuration/template/section.rb', line 42

def get_linked_template
  request(:get_linked_template, Softlayer::Configuration::Template)
end

#get_linked_template_referenceObject



46
47
48
# File 'lib/softlayer/configuration/template/section.rb', line 46

def get_linked_template_reference
  request(:get_linked_template_reference, Softlayer::Configuration::Template::Section::Reference)
end

#get_objectObject



50
51
52
# File 'lib/softlayer/configuration/template/section.rb', line 50

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

#get_profilesObject



54
55
56
# File 'lib/softlayer/configuration/template/section.rb', line 54

def get_profiles
  request(:get_profiles, Array[Softlayer::Configuration::Template::Section::Profile])
end

#get_section_typeObject



58
59
60
# File 'lib/softlayer/configuration/template/section.rb', line 58

def get_section_type
  request(:get_section_type, Softlayer::Configuration::Template::Section::Type)
end

#get_section_type_nameObject



62
63
64
# File 'lib/softlayer/configuration/template/section.rb', line 62

def get_section_type_name
  request(:get_section_type_name, String)
end

#get_sub_sectionsObject



66
67
68
# File 'lib/softlayer/configuration/template/section.rb', line 66

def get_sub_sections
  request(:get_sub_sections, Array[Softlayer::Configuration::Template::Section])
end

#get_templateObject



70
71
72
# File 'lib/softlayer/configuration/template/section.rb', line 70

def get_template
  request(:get_template, Softlayer::Configuration::Template)
end

#has_sub_sectionsObject



74
75
76
# File 'lib/softlayer/configuration/template/section.rb', line 74

def has_sub_sections
  request(:has_sub_sections, Boolean)
end