Class: Softlayer::Software::Component::Password
- 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
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#software ⇒ Object
Returns the value of attribute software.
-
#software_id ⇒ Object
Returns the value of attribute software_id.
-
#ssh_key_count ⇒ Object
Returns the value of attribute ssh_key_count.
-
#ssh_keys ⇒ Object
Returns the value of attribute ssh_keys.
-
#username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
- .create_object(template_object = nil) ⇒ Object
- .create_objects(template_objects = nil) ⇒ Object
- .delete_objects(template_objects = nil) ⇒ Object
- .edit_objects(template_objects = nil) ⇒ Object
Instance Method Summary collapse
- #delete_object ⇒ Object
- #edit_object(template_object = nil) ⇒ Object
- #get_object ⇒ Object
- #get_software ⇒ Object
- #get_ssh_keys ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #to_hash
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#create_date ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/software/component/password.rb', line 8 def id @id end |
#modify_date ⇒ Object
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 |
#notes ⇒ Object
Returns the value of attribute notes.
10 11 12 |
# File 'lib/softlayer/software/component/password.rb', line 10 def notes @notes end |
#password ⇒ Object
Returns the value of attribute password.
11 12 13 |
# File 'lib/softlayer/software/component/password.rb', line 11 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
12 13 14 |
# File 'lib/softlayer/software/component/password.rb', line 12 def port @port end |
#software ⇒ Object
Returns the value of attribute software.
16 17 18 |
# File 'lib/softlayer/software/component/password.rb', line 16 def software @software end |
#software_id ⇒ Object
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_count ⇒ Object
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_keys ⇒ Object
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 |
#username ⇒ Object
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(template_object = nil) ⇒ Object
19 20 21 22 |
# File 'lib/softlayer/software/component/password.rb', line 19 def self.create_object(template_object = nil) = {template_object: template_object} request(:create_object, Softlayer::Software::Component::Password, ) end |
.create_objects(template_objects = nil) ⇒ Object
24 25 26 27 |
# File 'lib/softlayer/software/component/password.rb', line 24 def self.create_objects(template_objects = nil) = {template_objects: template_objects} request(:create_objects, Boolean, ) end |
.delete_objects(template_objects = nil) ⇒ Object
33 34 35 36 |
# File 'lib/softlayer/software/component/password.rb', line 33 def self.delete_objects(template_objects = nil) = {template_objects: template_objects} request(:delete_objects, Boolean, ) end |
.edit_objects(template_objects = nil) ⇒ Object
43 44 45 46 |
# File 'lib/softlayer/software/component/password.rb', line 43 def self.edit_objects(template_objects = nil) = {template_objects: template_objects} request(:edit_objects, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
29 30 31 |
# File 'lib/softlayer/software/component/password.rb', line 29 def delete_object request(:delete_object, Boolean) end |
#edit_object(template_object = nil) ⇒ Object
38 39 40 41 |
# File 'lib/softlayer/software/component/password.rb', line 38 def edit_object(template_object = nil) = {template_object: template_object} request(:edit_object, Boolean, ) end |
#get_object ⇒ Object
48 49 50 |
# File 'lib/softlayer/software/component/password.rb', line 48 def get_object request(:get_object, Softlayer::Software::Component::Password) end |