class Bmc::Sdk::ServerResetSpec

ServerResetSpec is used to transmit details on ServerReset commands.

@see developers.phoenixnap.com/docs/bmc/1/types/ServerReset

Attributes

id[RW]
installDefaultSshKeys[RW]
sshKeyIds[RW]
sshKeys[RW]

Public Class Methods

new(id, sshKeys, sshKeyIds, installDefaultSshKeys) click to toggle source
# File lib/dtos.rb, line 77
def initialize(id, sshKeys, sshKeyIds, installDefaultSshKeys)
  @id = id
  @sshKeys = sshKeys
  @sshKeyIds = sshKeyIds
  @installDefaultSshKeys = installDefaultSshKeys
end

Public Instance Methods

to_json(*a) click to toggle source
# File lib/dtos.rb, line 83
def to_json(*a)
  {id: @id, status: @status, sshKeys: @sshKeys, sshKeyIds: @sshKeyIds, installDefaultSshKeys: @installDefaultSshKeys}.to_json(*a)
end