toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authConfig != null) 'authConfig': authConfig!,
      if (billingConfig != null) 'billingConfig': billingConfig!,
      if (configVariables != null) 'configVariables': configVariables!,
      if (connectionRevision != null)
        'connectionRevision': connectionRevision!,
      if (connectorVersion != null) 'connectorVersion': connectorVersion!,
      if (connectorVersionInfraConfig != null)
        'connectorVersionInfraConfig': connectorVersionInfraConfig!,
      if (connectorVersionLaunchStage != null)
        'connectorVersionLaunchStage': connectorVersionLaunchStage!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (destinationConfigs != null)
        'destinationConfigs': destinationConfigs!,
      if (envoyImageLocation != null)
        'envoyImageLocation': envoyImageLocation!,
      if (eventingConfig != null) 'eventingConfig': eventingConfig!,
      if (eventingEnablementType != null)
        'eventingEnablementType': eventingEnablementType!,
      if (eventingRuntimeData != null)
        'eventingRuntimeData': eventingRuntimeData!,
      if (imageLocation != null) 'imageLocation': imageLocation!,
      if (isTrustedTester != null) 'isTrustedTester': isTrustedTester!,
      if (labels != null) 'labels': labels!,
      if (lockConfig != null) 'lockConfig': lockConfig!,
      if (logConfig != null) 'logConfig': logConfig!,
      if (name != null) 'name': name!,
      if (nodeConfig != null) 'nodeConfig': nodeConfig!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (serviceDirectory != null) 'serviceDirectory': serviceDirectory!,
      if (sslConfig != null) 'sslConfig': sslConfig!,
      if (status != null) 'status': status!,
      if (subscriptionType != null) 'subscriptionType': subscriptionType!,
      if (suspended != null) 'suspended': suspended!,
      if (updateTime != null) 'updateTime': updateTime!,
    };