Class: Softlayer::Account::Authentication::Attribute::Type

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/account/authentication/attribute/type.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Authentication_Attribute_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

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#key_nameObject

Returns the value of attribute key_name.



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

def key_name
  @key_name
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#value_exampleObject

Returns the value of attribute value_example.



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

def value_example
  @value_example
end

Class Method Details

.get_all_objectsObject



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

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

Instance Method Details

#get_objectObject



17
18
19
# File 'lib/softlayer/account/authentication/attribute/type.rb', line 17

def get_object
  request(:get_object, Softlayer::Account::Authentication::Attribute::Type)
end