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.
80 81 82 83 84 85 |
# File 'lib/dtos.rb', line 80 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.
79 80 81 |
# File 'lib/dtos.rb', line 79 def id @id end |
#installDefaultSshKeys ⇒ Object
Returns the value of attribute installDefaultSshKeys.
79 80 81 |
# File 'lib/dtos.rb', line 79 def installDefaultSshKeys @installDefaultSshKeys end |
#sshKeyIds ⇒ Object
Returns the value of attribute sshKeyIds.
79 80 81 |
# File 'lib/dtos.rb', line 79 def sshKeyIds @sshKeyIds end |
#sshKeys ⇒ Object
Returns the value of attribute sshKeys.
79 80 81 |
# File 'lib/dtos.rb', line 79 def sshKeys @sshKeys end |
Instance Method Details
#to_json(*a) ⇒ Object
86 87 88 |
# File 'lib/dtos.rb', line 86 def to_json(*a) {id: @id, status: @status, sshKeys: @sshKeys, sshKeyIds: @sshKeyIds, installDefaultSshKeys: @installDefaultSshKeys}.to_json(*a) end |