Class: Softlayer::Account::Note::Type

Inherits:
Entity show all
Defined in:
lib/softlayer/account/note/type.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Note_Type'

Instance Attribute Summary collapse

Class Method 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

#brand_idObject

Returns the value of attribute brand_id.



6
7
8
# File 'lib/softlayer/account/note/type.rb', line 6

def brand_id
  @brand_id
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/softlayer/account/note/type.rb', line 7

def create_date
  @create_date
end

#descriptionObject

Returns the value of attribute description.



8
9
10
# File 'lib/softlayer/account/note/type.rb', line 8

def description
  @description
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/softlayer/account/note/type.rb', line 9

def id
  @id
end

#key_nameObject

Returns the value of attribute key_name.



10
11
12
# File 'lib/softlayer/account/note/type.rb', line 10

def key_name
  @key_name
end

#modify_dateObject

Returns the value of attribute modify_date.



11
12
13
# File 'lib/softlayer/account/note/type.rb', line 11

def modify_date
  @modify_date
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/softlayer/account/note/type.rb', line 12

def name
  @name
end

#value_expressionObject

Returns the value of attribute value_expression.



13
14
15
# File 'lib/softlayer/account/note/type.rb', line 13

def value_expression
  @value_expression
end

Class Method Details

.create_object(message) ⇒ Object

template_object



16
17
18
# File 'lib/softlayer/account/note/type.rb', line 16

def self.create_object(message)
  request(:create_object, Softlayer::Account::Note::Type, message)
end

.get_all_objectsObject



29
30
31
# File 'lib/softlayer/account/note/type.rb', line 29

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Account::Note::Type])
end

Instance Method Details

#delete_objectObject



20
21
22
# File 'lib/softlayer/account/note/type.rb', line 20

def delete_object
  request(:delete_object, Boolean)
end

#edit_object(message) ⇒ Object

template_object



25
26
27
# File 'lib/softlayer/account/note/type.rb', line 25

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

#get_objectObject



33
34
35
# File 'lib/softlayer/account/note/type.rb', line 33

def get_object
  request(:get_object, Softlayer::Account::Note::Type)
end