GenerateSshScriptRequest.fromJson constructor

GenerateSshScriptRequest.fromJson(
  1. Map json_
)

Implementation

GenerateSshScriptRequest.fromJson(core.Map json_)
    : this(
        vm: json_.containsKey('vm') ? json_['vm'] as core.String : null,
        vmCreationConfig: json_.containsKey('vmCreationConfig')
            ? VmCreationConfig.fromJson(json_['vmCreationConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        vmPort:
            json_.containsKey('vmPort') ? json_['vmPort'] as core.int : null,
        vmSelectionConfig: json_.containsKey('vmSelectionConfig')
            ? VmSelectionConfig.fromJson(json_['vmSelectionConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );