GoogleCloudPolicysimulatorV1beta1ReplayResult.fromJson constructor

GoogleCloudPolicysimulatorV1beta1ReplayResult.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPolicysimulatorV1beta1ReplayResult.fromJson(core.Map _json)
    : this(
        accessTuple: _json.containsKey('accessTuple')
            ? GoogleCloudPolicysimulatorV1beta1AccessTuple.fromJson(
                _json['accessTuple'] as core.Map<core.String, core.dynamic>)
            : null,
        diff: _json.containsKey('diff')
            ? GoogleCloudPolicysimulatorV1beta1ReplayDiff.fromJson(
                _json['diff'] as core.Map<core.String, core.dynamic>)
            : null,
        error: _json.containsKey('error')
            ? GoogleRpcStatus.fromJson(
                _json['error'] as core.Map<core.String, core.dynamic>)
            : null,
        lastSeenDate: _json.containsKey('lastSeenDate')
            ? GoogleTypeDate.fromJson(
                _json['lastSeenDate'] as core.Map<core.String, core.dynamic>)
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        parent: _json.containsKey('parent')
            ? _json['parent'] as core.String
            : null,
      );