ReimageInstanceRequest.fromJson constructor

ReimageInstanceRequest.fromJson(
  1. Map json_
)

Implementation

ReimageInstanceRequest.fromJson(core.Map json_)
    : this(
        kmsKeyVersion: json_.containsKey('kmsKeyVersion')
            ? json_['kmsKeyVersion'] as core.String
            : null,
        osImage: json_.containsKey('osImage')
            ? json_['osImage'] as core.String
            : null,
        sshKeys: json_.containsKey('sshKeys')
            ? (json_['sshKeys'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );