Class: Softlayer::Account::Password

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

Defined Under Namespace

Classes: Representer, Type

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Password'

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.



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

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#type_idObject

Returns the value of attribute type_id.



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

def type_id
  @type_id
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end

Instance Method Details

#edit_object(message) ⇒ Object

template_object



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

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

#get_accountObject



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

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

#get_objectObject



24
25
26
# File 'lib/softlayer/account/password.rb', line 24

def get_object
  request(:get_object, Softlayer::Account::Password)
end

#get_typeObject



28
29
30
# File 'lib/softlayer/account/password.rb', line 28

def get_type
  request(:get_type, Softlayer::Account::Password::Type)
end