RestoreClusterRequest.fromJson constructor

RestoreClusterRequest.fromJson(
  1. Map json_
)

Implementation

RestoreClusterRequest.fromJson(core.Map json_)
    : this(
        backupSource: json_.containsKey('backupSource')
            ? BackupSource.fromJson(
                json_['backupSource'] as core.Map<core.String, core.dynamic>)
            : null,
        cluster: json_.containsKey('cluster')
            ? Cluster.fromJson(
                json_['cluster'] as core.Map<core.String, core.dynamic>)
            : null,
        clusterId: json_.containsKey('clusterId')
            ? json_['clusterId'] as core.String
            : null,
        continuousBackupSource: json_.containsKey('continuousBackupSource')
            ? ContinuousBackupSource.fromJson(json_['continuousBackupSource']
                as core.Map<core.String, core.dynamic>)
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
        validateOnly: json_.containsKey('validateOnly')
            ? json_['validateOnly'] as core.bool
            : null,
      );