toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (additionalVariables != null)
    'additionalVariables': additionalVariables!,
  if (authConfig != null) 'authConfig': authConfig!,
  if (deadLetterConfig != null) 'deadLetterConfig': deadLetterConfig!,
  if (enrichmentConfig != null) 'enrichmentConfig': enrichmentConfig!,
  if (enrichmentEnabled != null) 'enrichmentEnabled': enrichmentEnabled!,
  if (eventsListenerIngressEndpoint != null)
    'eventsListenerIngressEndpoint': eventsListenerIngressEndpoint!,
  if (listenerAuthConfig != null) 'listenerAuthConfig': listenerAuthConfig!,
  if (privateConnectivityAllowlistedProjects != null)
    'privateConnectivityAllowlistedProjects':
        privateConnectivityAllowlistedProjects!,
  if (privateConnectivityEnabled != null)
    'privateConnectivityEnabled': privateConnectivityEnabled!,
  if (proxyDestinationConfig != null)
    'proxyDestinationConfig': proxyDestinationConfig!,
  if (registrationDestinationConfig != null)
    'registrationDestinationConfig': registrationDestinationConfig!,
  if (sslConfig != null) 'sslConfig': sslConfig!,
};