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

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

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Monitoring_Agent_Configuration_Template_Group_Reference'

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

#configuration_templateObject

Returns the value of attribute configuration_template.



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

def configuration_template
  @configuration_template
end

#configuration_template_idObject

Returns the value of attribute configuration_template_id.



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

def configuration_template_id
  @configuration_template_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#template_groupObject

Returns the value of attribute template_group.



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

def template_group
  @template_group
end

#template_group_idObject

Returns the value of attribute template_group_id.



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

def template_group_id
  @template_group_id
end

Class Method Details

.create_object(message) ⇒ Object

template_object



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

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

.create_objects(message) ⇒ Object

template_objects



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

def self.create_objects(message)
  request(:create_objects, Boolean, message)
end

.edit_objects(message) ⇒ Object

template_objects



31
32
33
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 31

def self.edit_objects(message)
  request(:edit_objects, Boolean, message)
end

.get_all_objectsObject



35
36
37
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 35

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

Instance Method Details

#edit_object(message) ⇒ Object

template_object



26
27
28
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 26

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

#get_configuration_templateObject



39
40
41
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 39

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

#get_objectObject



43
44
45
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 43

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

#get_template_groupObject



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

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