GooglePrivacyDlpV2JobTrigger.fromJson constructor

GooglePrivacyDlpV2JobTrigger.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2JobTrigger.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => GooglePrivacyDlpV2Error.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        inspectJob: json_.containsKey('inspectJob')
            ? GooglePrivacyDlpV2InspectJobConfig.fromJson(
                json_['inspectJob'] as core.Map<core.String, core.dynamic>)
            : null,
        lastRunTime: json_.containsKey('lastRunTime')
            ? json_['lastRunTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        triggers: json_.containsKey('triggers')
            ? (json_['triggers'] as core.List)
                .map((value) => GooglePrivacyDlpV2Trigger.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );