BackupDisasterRecovery.fromJson constructor

BackupDisasterRecovery.fromJson(
  1. Map json_
)

Implementation

BackupDisasterRecovery.fromJson(core.Map json_)
    : this(
        appliance: json_.containsKey('appliance')
            ? json_['appliance'] as core.String
            : null,
        applications: json_.containsKey('applications')
            ? (json_['applications'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        backupCreateTime: json_.containsKey('backupCreateTime')
            ? json_['backupCreateTime'] as core.String
            : null,
        backupTemplate: json_.containsKey('backupTemplate')
            ? json_['backupTemplate'] as core.String
            : null,
        backupType: json_.containsKey('backupType')
            ? json_['backupType'] as core.String
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        policies: json_.containsKey('policies')
            ? (json_['policies'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        policyOptions: json_.containsKey('policyOptions')
            ? (json_['policyOptions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        profile: json_.containsKey('profile')
            ? json_['profile'] as core.String
            : null,
        storagePool: json_.containsKey('storagePool')
            ? json_['storagePool'] as core.String
            : null,
      );