EventingConfig.fromJson constructor

EventingConfig.fromJson(
  1. Map json_
)

Implementation

EventingConfig.fromJson(core.Map json_)
    : this(
        additionalVariables: json_.containsKey('additionalVariables')
            ? (json_['additionalVariables'] as core.List)
                .map((value) => ConfigVariable.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        authConfig: json_.containsKey('authConfig')
            ? AuthConfig.fromJson(
                json_['authConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        deadLetterConfig: json_.containsKey('deadLetterConfig')
            ? DeadLetterConfig.fromJson(json_['deadLetterConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        enrichmentEnabled: json_.containsKey('enrichmentEnabled')
            ? json_['enrichmentEnabled'] as core.bool
            : null,
        eventsListenerIngressEndpoint:
            json_.containsKey('eventsListenerIngressEndpoint')
                ? json_['eventsListenerIngressEndpoint'] as core.String
                : null,
        listenerAuthConfig: json_.containsKey('listenerAuthConfig')
            ? AuthConfig.fromJson(json_['listenerAuthConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        privateConnectivityEnabled:
            json_.containsKey('privateConnectivityEnabled')
                ? json_['privateConnectivityEnabled'] as core.bool
                : null,
        proxyDestinationConfig: json_.containsKey('proxyDestinationConfig')
            ? DestinationConfig.fromJson(json_['proxyDestinationConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        registrationDestinationConfig:
            json_.containsKey('registrationDestinationConfig')
                ? DestinationConfig.fromJson(
                    json_['registrationDestinationConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );