toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final columnConfiguration = this.columnConfiguration;
  final connectionConfiguration = this.connectionConfiguration;
  final databaseEngineType = this.databaseEngineType;
  final aclConfiguration = this.aclConfiguration;
  final sqlConfiguration = this.sqlConfiguration;
  final vpcConfiguration = this.vpcConfiguration;
  return {
    'ColumnConfiguration': columnConfiguration,
    'ConnectionConfiguration': connectionConfiguration,
    'DatabaseEngineType': databaseEngineType.toValue(),
    if (aclConfiguration != null) 'AclConfiguration': aclConfiguration,
    if (sqlConfiguration != null) 'SqlConfiguration': sqlConfiguration,
    if (vpcConfiguration != null) 'VpcConfiguration': vpcConfiguration,
  };
}