GooglePrivacyDlpV2TimespanConfig.fromJson constructor

GooglePrivacyDlpV2TimespanConfig.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2TimespanConfig.fromJson(core.Map json_)
    : this(
        enableAutoPopulationOfTimespanConfig:
            json_.containsKey('enableAutoPopulationOfTimespanConfig')
                ? json_['enableAutoPopulationOfTimespanConfig'] as core.bool
                : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        timestampField: json_.containsKey('timestampField')
            ? GooglePrivacyDlpV2FieldId.fromJson(json_['timestampField']
                as core.Map<core.String, core.dynamic>)
            : null,
      );