EnterpriseCrmEventbusProtoLogSettings.fromJson constructor

EnterpriseCrmEventbusProtoLogSettings.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoLogSettings.fromJson(core.Map json_)
    : this(
        logFieldName: json_.containsKey('logFieldName')
            ? json_['logFieldName'] as core.String
            : null,
        sanitizeOptions: json_.containsKey('sanitizeOptions')
            ? EnterpriseCrmLoggingGwsSanitizeOptions.fromJson(
                json_['sanitizeOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        seedPeriod: json_.containsKey('seedPeriod')
            ? json_['seedPeriod'] as core.String
            : null,
        seedScope: json_.containsKey('seedScope')
            ? json_['seedScope'] as core.String
            : null,
        shorteningLimits: json_.containsKey('shorteningLimits')
            ? EnterpriseCrmLoggingGwsFieldLimits.fromJson(
                json_['shorteningLimits']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );