Class: Bmc::Sdk::ServerResetSpec
- Inherits:
-
Object
- Object
- Bmc::Sdk::ServerResetSpec
- Defined in:
- lib/dtos.rb
Overview
ServerResetSpec is used to transmit details on ServerReset commands.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#installDefaultSshKeys ⇒ Object
Returns the value of attribute installDefaultSshKeys.
-
#sshKeyIds ⇒ Object
Returns the value of attribute sshKeyIds.
-
#sshKeys ⇒ Object
Returns the value of attribute sshKeys.
Instance Method Summary collapse
-
#initialize(id, sshKeys, sshKeyIds, installDefaultSshKeys) ⇒ ServerResetSpec
constructor
A new instance of ServerResetSpec.
- #to_json(*a) ⇒ Object
Constructor Details
#initialize(id, sshKeys, sshKeyIds, installDefaultSshKeys) ⇒ ServerResetSpec
Returns a new instance of ServerResetSpec.
77 78 79 80 81 82 |
# File 'lib/dtos.rb', line 77 def initialize(id, sshKeys, sshKeyIds, installDefaultSshKeys) @id = id @sshKeys = sshKeys @sshKeyIds = sshKeyIds @installDefaultSshKeys = installDefaultSshKeys end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
76 77 78 |
# File 'lib/dtos.rb', line 76 def id @id end |
#installDefaultSshKeys ⇒ Object
Returns the value of attribute installDefaultSshKeys.
76 77 78 |
# File 'lib/dtos.rb', line 76 def installDefaultSshKeys @installDefaultSshKeys end |
#sshKeyIds ⇒ Object
Returns the value of attribute sshKeyIds.
76 77 78 |
# File 'lib/dtos.rb', line 76 def sshKeyIds @sshKeyIds end |
#sshKeys ⇒ Object
Returns the value of attribute sshKeys.
76 77 78 |
# File 'lib/dtos.rb', line 76 def sshKeys @sshKeys end |
Instance Method Details
#to_json(*a) ⇒ Object
83 84 85 |
# File 'lib/dtos.rb', line 83 def to_json(*a) {id: @id, status: @status, sshKeys: @sshKeys, sshKeyIds: @sshKeyIds, installDefaultSshKeys: @installDefaultSshKeys}.to_json(*a) end |