/* Options: Date: 2024-12-23 12:00:43 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: UserDeleteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class UserDeleteResponse implements IConvertible { String? deletedUserGuid; String? deletedUserPhone; UserDeleteResponse({this.deletedUserGuid,this.deletedUserPhone}); UserDeleteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { deletedUserGuid = json['deletedUserGuid']; deletedUserPhone = json['deletedUserPhone']; return this; } Map toJson() => { 'deletedUserGuid': deletedUserGuid, 'deletedUserPhone': deletedUserPhone }; getTypeName() => "UserDeleteResponse"; TypeContext? context = _ctx; } // @Route("/user/delete", "POST") class UserDeleteRequest implements IReturn, IPost, IConvertible { bool? confirmedByUser; UserDeleteRequest({this.confirmedByUser}); UserDeleteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { confirmedByUser = json['confirmedByUser']; return this; } Map toJson() => { 'confirmedByUser': confirmedByUser }; createResponse() => UserDeleteResponse(); getResponseTypeName() => "UserDeleteResponse"; getTypeName() => "UserDeleteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'UserDeleteResponse': TypeInfo(TypeOf.Class, create:() => UserDeleteResponse()), 'UserDeleteRequest': TypeInfo(TypeOf.Class, create:() => UserDeleteRequest()), });