GoogleCloudPolicysimulatorV1ReplayResult.fromJson constructor

GoogleCloudPolicysimulatorV1ReplayResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1ReplayResult.fromJson(core.Map json_)
    : this(
        accessTuple: json_.containsKey('accessTuple')
            ? GoogleCloudPolicysimulatorV1AccessTuple.fromJson(
                json_['accessTuple'] as core.Map<core.String, core.dynamic>)
            : null,
        diff: json_.containsKey('diff')
            ? GoogleCloudPolicysimulatorV1ReplayDiff.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,
      );