Class: Softlayer::Monitoring::Agent::Configuration::Template::Group::Reference
- Inherits:
-
Softlayer::Model
- Object
- Softlayer::Model
- Softlayer::Monitoring::Agent::Configuration::Template::Group::Reference
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
all, all_request_for, create, find, parse, request, #request, #to_hash
Instance Attribute Details
#configuration_template ⇒ Object
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_id ⇒ Object
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
|
#id ⇒ Object
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_group ⇒ Object
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_id ⇒ Object
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(template_object = nil) ⇒ Object
15
16
17
18
|
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 15
def self.create_object(template_object = nil)
message = {template_object: template_object}
request(:create_object, Softlayer::Monitoring::Agent::Configuration::Template::Group::Reference, message)
end
|
.create_objects(template_objects = nil) ⇒ Object
20
21
22
23
|
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 20
def self.create_objects(template_objects = nil)
message = {template_objects: template_objects}
request(:create_objects, Boolean, message)
end
|
.edit_objects(template_objects = nil) ⇒ Object
30
31
32
33
|
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 30
def self.edit_objects(template_objects = nil)
message = {template_objects: template_objects}
request(:edit_objects, Boolean, message)
end
|
.get_all_objects ⇒ Object
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(template_object = nil) ⇒ Object
25
26
27
28
|
# File 'lib/softlayer/monitoring/agent/configuration/template/group/reference.rb', line 25
def edit_object(template_object = nil)
message = {template_object: template_object}
request(:edit_object, Boolean, message)
end
|
#get_configuration_template ⇒ Object
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_object ⇒ Object
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_group ⇒ Object
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
|