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

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/configuration/template/section/profile.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Configuration_Template_Section_Profile'

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

#agent_idObject

Returns the value of attribute agent_id.



7
8
9
# File 'lib/softlayer/configuration/template/section/profile.rb', line 7

def agent_id
  @agent_id
end

#configuration_sectionObject

Returns the value of attribute configuration_section.



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

def configuration_section
  @configuration_section
end

#create_dateObject

Returns the value of attribute create_date.



8
9
10
# File 'lib/softlayer/configuration/template/section/profile.rb', line 8

def create_date
  @create_date
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/softlayer/configuration/template/section/profile.rb', line 9

def id
  @id
end

#monitoring_agentObject

Returns the value of attribute monitoring_agent.



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

def monitoring_agent
  @monitoring_agent
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#section_idObject

Returns the value of attribute section_id.



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

def section_id
  @section_id
end

Instance Method Details

#get_configuration_sectionObject



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

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

#get_monitoring_agentObject



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

def get_monitoring_agent
  request(:get_monitoring_agent, Softlayer::Monitoring::Agent)
end

#get_objectObject



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

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