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

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

Defined Under Namespace

Classes: Representer, Type

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Authentication_Attribute'

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

#accountObject

Returns the value of attribute account.



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

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#authentication_recordObject

Returns the value of attribute authentication_record.



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

def authentication_record
  @authentication_record
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#type_idObject

Returns the value of attribute type_id.



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

def type_id
  @type_id
end

#valueObject

Returns the value of attribute value.



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

def value
  @value
end

Instance Method Details

#get_accountObject



15
16
17
# File 'lib/softlayer/account/authentication/attribute.rb', line 15

def 
  request(:get_account, Softlayer::Account)
end

#get_authentication_recordObject



19
20
21
# File 'lib/softlayer/account/authentication/attribute.rb', line 19

def get_authentication_record
  request(:get_authentication_record, Softlayer::Account::Authentication::Saml)
end

#get_objectObject



23
24
25
# File 'lib/softlayer/account/authentication/attribute.rb', line 23

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

#get_typeObject



27
28
29
# File 'lib/softlayer/account/authentication/attribute.rb', line 27

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