/* Options: Date: 2024-12-23 11:20:07 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteSavedSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class DeleteSavedSearchResponse implements IConvertible { bool? success; DeleteSavedSearchResponse({this.success}); DeleteSavedSearchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "DeleteSavedSearchResponse"; TypeContext? context = _ctx; } // @Route("/searches/DeleteSavedSearch", "DELETE") class DeleteSavedSearchRequest implements IReturn, IDelete, IConvertible { int? id; DeleteSavedSearchRequest({this.id}); DeleteSavedSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; createResponse() => DeleteSavedSearchResponse(); getResponseTypeName() => "DeleteSavedSearchResponse"; getTypeName() => "DeleteSavedSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'DeleteSavedSearchResponse': TypeInfo(TypeOf.Class, create:() => DeleteSavedSearchResponse()), 'DeleteSavedSearchRequest': TypeInfo(TypeOf.Class, create:() => DeleteSavedSearchRequest()), });