toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final rdsHttpEndpointConfig = this.rdsHttpEndpointConfig;
  final relationalDatabaseSourceType = this.relationalDatabaseSourceType;
  return {
    if (rdsHttpEndpointConfig != null)
      'rdsHttpEndpointConfig': rdsHttpEndpointConfig,
    if (relationalDatabaseSourceType != null)
      'relationalDatabaseSourceType': relationalDatabaseSourceType.toValue(),
  };
}