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

Inherits:
Entity
  • Object
show all
Defined in:
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, Group, Representer, Type, Value

Constant Summary collapse

SERVICE =
'SoftLayer_Configuration_Template_Section_Definition'

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

#attribute_countObject

Returns the value of attribute attribute_count.



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

def attribute_count
  @attribute_count
end

#attributesObject

Returns the value of attribute attributes.



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

def attributes
  @attributes
end

#create_dateObject

Returns the value of attribute create_date.



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

def create_date
  @create_date
end

#default_valueObject

Returns the value of attribute default_value.



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

def default_value
  @default_value
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#enumeration_valuesObject

Returns the value of attribute enumeration_values.



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

def enumeration_values
  @enumeration_values
end

#groupObject

Returns the value of attribute group.



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

def group
  @group
end

#group_idObject

Returns the value of attribute group_id.



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

def group_id
  @group_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#maximum_valueObject

Returns the value of attribute maximum_value.



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

def maximum_value
  @maximum_value
end

#minimum_valueObject

Returns the value of attribute minimum_value.



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

def minimum_value
  @minimum_value
end

#modify_dateObject

Returns the value of attribute modify_date.



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

def modify_date
  @modify_date
end

#monitoring_data_flagObject

Returns the value of attribute monitoring_data_flag.



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

def monitoring_data_flag
  @monitoring_data_flag
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

#require_value_flagObject

Returns the value of attribute require_value_flag.



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

def require_value_flag
  @require_value_flag
end

#sectionObject

Returns the value of attribute section.



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

def section
  @section
end

#section_idObject

Returns the value of attribute section_id.



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

def section_id
  @section_id
end

#short_nameObject

Returns the value of attribute short_name.



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

def short_name
  @short_name
end

#sortObject

Returns the value of attribute sort.



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

def sort
  @sort
end

#type_idObject

Returns the value of attribute type_id.



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

def type_id
  @type_id
end

#value_typeObject

Returns the value of attribute value_type.



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

def value_type
  @value_type
end

Instance Method Details

#get_attributesObject



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

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

#get_default_valueObject



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

def get_default_value
  request(:get_default_value, Softlayer::Configuration::Template::Section::Definition::Value)
end

#get_groupObject



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

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

#get_monitoring_data_flagObject



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

def get_monitoring_data_flag
  request(:get_monitoring_data_flag, Boolean)
end

#get_objectObject



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

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

#get_sectionObject



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

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

#get_value_typeObject



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

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