Class: Bmc::Sdk::ServerResetSpec

Inherits:
Object
  • Object
show all
Defined in:
lib/dtos.rb

Overview

ServerResetSpec is used to transmit details on ServerReset commands.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

Returns the value of attribute id.



79
80
81
# File 'lib/dtos.rb', line 79

def id
  @id
end

#installDefaultSshKeysObject

Returns the value of attribute installDefaultSshKeys.



79
80
81
# File 'lib/dtos.rb', line 79

def installDefaultSshKeys
  @installDefaultSshKeys
end

#sshKeyIdsObject

Returns the value of attribute sshKeyIds.



79
80
81
# File 'lib/dtos.rb', line 79

def sshKeyIds
  @sshKeyIds
end

#sshKeysObject

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