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.



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

#idObject

Returns the value of attribute id.



76
77
78
# File 'lib/dtos.rb', line 76

def id
  @id
end

#installDefaultSshKeysObject

Returns the value of attribute installDefaultSshKeys.



76
77
78
# File 'lib/dtos.rb', line 76

def installDefaultSshKeys
  @installDefaultSshKeys
end

#sshKeyIdsObject

Returns the value of attribute sshKeyIds.



76
77
78
# File 'lib/dtos.rb', line 76

def sshKeyIds
  @sshKeyIds
end

#sshKeysObject

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