GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson constructor

GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPolicysimulatorV1ReplayResultsSummary.fromJson(core.Map _json)
    : this(
        differenceCount: _json.containsKey('differenceCount')
            ? _json['differenceCount'] as core.int
            : null,
        errorCount: _json.containsKey('errorCount')
            ? _json['errorCount'] as core.int
            : null,
        logCount: _json.containsKey('logCount')
            ? _json['logCount'] as core.int
            : null,
        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.containsKey('unchangedCount')
            ? _json['unchangedCount'] as core.int
            : null,
      );