Class: Softlayer::Software::Component::Password

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/software/component/password.rb,
lib/softlayer/software/component/password/history.rb

Defined Under Namespace

Classes: History, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Software_Component_Password'

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

#create_dateObject

Returns the value of attribute create_date.



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

def create_date
  @create_date
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#modify_dateObject

Returns the value of attribute modify_date.



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

def modify_date
  @modify_date
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#portObject

Returns the value of attribute port.



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

def port
  @port
end

#softwareObject

Returns the value of attribute software.



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

def software
  @software
end

#software_idObject

Returns the value of attribute software_id.



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

def software_id
  @software_id
end

#ssh_key_countObject

Returns the value of attribute ssh_key_count.



15
16
17
# File 'lib/softlayer/software/component/password.rb', line 15

def ssh_key_count
  @ssh_key_count
end

#ssh_keysObject

Returns the value of attribute ssh_keys.



17
18
19
# File 'lib/softlayer/software/component/password.rb', line 17

def ssh_keys
  @ssh_keys
end

#usernameObject

Returns the value of attribute username.



14
15
16
# File 'lib/softlayer/software/component/password.rb', line 14

def username
  @username
end

Class Method Details

.create_object(message) ⇒ Object

template_object



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

def self.create_object(message)
  request(:create_object, Softlayer::Software::Component::Password, message)
end

.create_objects(message) ⇒ Object

template_objects



25
26
27
# File 'lib/softlayer/software/component/password.rb', line 25

def self.create_objects(message)
  request(:create_objects, Boolean, message)
end

.delete_objects(message) ⇒ Object

template_objects



34
35
36
# File 'lib/softlayer/software/component/password.rb', line 34

def self.delete_objects(message)
  request(:delete_objects, Boolean, message)
end

.edit_objects(message) ⇒ Object

template_objects



44
45
46
# File 'lib/softlayer/software/component/password.rb', line 44

def self.edit_objects(message)
  request(:edit_objects, Boolean, message)
end

Instance Method Details

#delete_objectObject



29
30
31
# File 'lib/softlayer/software/component/password.rb', line 29

def delete_object
  request(:delete_object, Boolean)
end

#edit_object(message) ⇒ Object

template_object



39
40
41
# File 'lib/softlayer/software/component/password.rb', line 39

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

#get_objectObject



48
49
50
# File 'lib/softlayer/software/component/password.rb', line 48

def get_object
  request(:get_object, Softlayer::Software::Component::Password)
end

#get_softwareObject



52
53
54
# File 'lib/softlayer/software/component/password.rb', line 52

def get_software
  request(:get_software, Softlayer::Software::Component)
end

#get_ssh_keysObject



56
57
58
# File 'lib/softlayer/software/component/password.rb', line 56

def get_ssh_keys
  request(:get_ssh_keys, Array[Softlayer::Security::Ssh::Key])
end