Class: Softlayer::Monitoring::Agent::Configuration::Template::Group

Inherits:
Entity show all
Defined in:
lib/softlayer/monitoring/agent/configuration/template/group.rb,
lib/softlayer/monitoring/agent/configuration/template/group/reference.rb

Defined Under Namespace

Classes: Reference, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Monitoring_Agent_Configuration_Template_Group'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Softlayer::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 Softlayer::Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#accountObject

Returns the value of attribute account.



18
19
20
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 18

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#configuration_template_countObject

Returns the value of attribute configuration_template_count.



16
17
18
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 16

def configuration_template_count
  @configuration_template_count
end

#configuration_template_reference_countObject

Returns the value of attribute configuration_template_reference_count.



17
18
19
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 17

def configuration_template_reference_count
  @configuration_template_reference_count
end

#configuration_template_referencesObject

Returns the value of attribute configuration_template_references.



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

def configuration_template_references
  @configuration_template_references
end

#configuration_templatesObject

Returns the value of attribute configuration_templates.



20
21
22
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 20

def configuration_templates
  @configuration_templates
end

#create_dateObject

Returns the value of attribute create_date.



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

def create_date
  @create_date
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#itemObject

Returns the value of attribute item.



21
22
23
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 21

def item
  @item
end

#item_idObject

Returns the value of attribute item_id.



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

def item_id
  @item_id
end

#modify_dateObject

Returns the value of attribute modify_date.



14
15
16
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 14

def modify_date
  @modify_date
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

Class Method Details

.create_object(message) ⇒ Object

template_object



24
25
26
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 24

def self.create_object(message)
  request(:create_object, Softlayer::Monitoring::Agent::Configuration::Template::Group, message)
end

.get_all_objectsObject



41
42
43
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 41

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Monitoring::Agent::Configuration::Template::Group])
end

.get_configuration_groups(message) ⇒ Object

package_id



46
47
48
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 46

def self.get_configuration_groups(message)
  request(:get_configuration_groups, Array[Softlayer::Monitoring::Agent::Configuration::Template::Group], message)
end

Instance Method Details

#delete_objectObject



28
29
30
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 28

def delete_object
  request(:delete_object, Boolean)
end

#edit_object(message) ⇒ Object

template_object



33
34
35
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 33

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_accountObject



37
38
39
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 37

def 
  request(:get_account, Softlayer::Account)
end

#get_configuration_template_referencesObject



50
51
52
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 50

def get_configuration_template_references
  request(:get_configuration_template_references, Array[Softlayer::Monitoring::Agent::Configuration::Template::Group::Reference])
end

#get_configuration_templatesObject



54
55
56
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 54

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

#get_itemObject



58
59
60
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 58

def get_item
  request(:get_item, Softlayer::Product::Item)
end

#get_objectObject



62
63
64
# File 'lib/softlayer/monitoring/agent/configuration/template/group.rb', line 62

def get_object
  request(:get_object, Softlayer::Monitoring::Agent::Configuration::Template::Group)
end