Class: Softlayer::Security::Ssh::Key
- Defined in:
- lib/softlayer/security/ssh/key.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Security_Ssh_Key'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#block_device_template_group_count ⇒ Object
Returns the value of attribute block_device_template_group_count.
-
#block_device_template_groups ⇒ Object
Returns the value of attribute block_device_template_groups.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
-
#id ⇒ Object
Returns the value of attribute id.
-
#key ⇒ Object
Returns the value of attribute key.
-
#label ⇒ Object
Returns the value of attribute label.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#software_password_count ⇒ Object
Returns the value of attribute software_password_count.
-
#software_passwords ⇒ Object
Returns the value of attribute software_passwords.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_block_device_template_groups ⇒ Object
- #get_object ⇒ Object
- #get_software_passwords ⇒ Object
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
#account ⇒ Object
Returns the value of attribute account.
15 16 17 |
# File 'lib/softlayer/security/ssh/key.rb', line 15 def account @account end |
#block_device_template_group_count ⇒ Object
Returns the value of attribute block_device_template_group_count.
13 14 15 |
# File 'lib/softlayer/security/ssh/key.rb', line 13 def block_device_template_group_count @block_device_template_group_count end |
#block_device_template_groups ⇒ Object
Returns the value of attribute block_device_template_groups.
16 17 18 |
# File 'lib/softlayer/security/ssh/key.rb', line 16 def block_device_template_groups @block_device_template_groups end |
#create_date ⇒ Object
Returns the value of attribute create_date.
6 7 8 |
# File 'lib/softlayer/security/ssh/key.rb', line 6 def create_date @create_date end |
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
7 8 9 |
# File 'lib/softlayer/security/ssh/key.rb', line 7 def fingerprint @fingerprint end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/security/ssh/key.rb', line 8 def id @id end |
#key ⇒ Object
Returns the value of attribute key.
9 10 11 |
# File 'lib/softlayer/security/ssh/key.rb', line 9 def key @key end |
#label ⇒ Object
Returns the value of attribute label.
10 11 12 |
# File 'lib/softlayer/security/ssh/key.rb', line 10 def label @label end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
11 12 13 |
# File 'lib/softlayer/security/ssh/key.rb', line 11 def modify_date @modify_date end |
#notes ⇒ Object
Returns the value of attribute notes.
12 13 14 |
# File 'lib/softlayer/security/ssh/key.rb', line 12 def notes @notes end |
#software_password_count ⇒ Object
Returns the value of attribute software_password_count.
14 15 16 |
# File 'lib/softlayer/security/ssh/key.rb', line 14 def software_password_count @software_password_count end |
#software_passwords ⇒ Object
Returns the value of attribute software_passwords.
17 18 19 |
# File 'lib/softlayer/security/ssh/key.rb', line 17 def software_passwords @software_passwords end |
Class Method Details
Instance Method Details
#delete_object ⇒ Object
24 25 26 |
# File 'lib/softlayer/security/ssh/key.rb', line 24 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
29 30 31 |
# File 'lib/softlayer/security/ssh/key.rb', line 29 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
33 34 35 |
# File 'lib/softlayer/security/ssh/key.rb', line 33 def get_account request(:get_account, Softlayer::Account) end |
#get_block_device_template_groups ⇒ Object
37 38 39 |
# File 'lib/softlayer/security/ssh/key.rb', line 37 def get_block_device_template_groups request(:get_block_device_template_groups, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group]) end |