VmwareAdminSeesawConfig.fromJson constructor

VmwareAdminSeesawConfig.fromJson(
  1. Map json_
)

Implementation

VmwareAdminSeesawConfig.fromJson(core.Map json_)
    : this(
        enableHa: json_.containsKey('enableHa')
            ? json_['enableHa'] as core.bool
            : null,
        group:
            json_.containsKey('group') ? json_['group'] as core.String : null,
        ipBlocks: json_.containsKey('ipBlocks')
            ? (json_['ipBlocks'] as core.List)
                .map((value) => VmwareIpBlock.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        masterIp: json_.containsKey('masterIp')
            ? json_['masterIp'] as core.String
            : null,
        stackdriverName: json_.containsKey('stackdriverName')
            ? json_['stackdriverName'] as core.String
            : null,
        vms: json_.containsKey('vms')
            ? (json_['vms'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );