Class: Softlayer::Configuration::Template::Type

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

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Configuration_Template_Type'

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

#create_dateObject

Returns the value of attribute create_date.



6
7
8
# File 'lib/softlayer/configuration/template/type.rb', line 6

def create_date
  @create_date
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

Instance Method Details

#get_objectObject



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

def get_object
  request(:get_object, Softlayer::Configuration::Template::Type)
end