GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson constructor

GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(core.Map json_)
  : this(
      differenceCount: json_['differenceCount'] as core.int?,
      errorCount: json_['errorCount'] as core.int?,
      logCount: json_['logCount'] as core.int?,
      newestDate: json_.containsKey('newestDate')
          ? GoogleTypeDate.fromJson(
              json_['newestDate'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      oldestDate: json_.containsKey('oldestDate')
          ? GoogleTypeDate.fromJson(
              json_['oldestDate'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      unchangedCount: json_['unchangedCount'] as core.int?,
    );