/* Options: Date: 2024-12-23 12:11:27 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: UnfollowRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class UnfollowResponse implements IConvertible { bool? deleted; UnfollowResponse({this.deleted}); UnfollowResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { deleted = json['deleted']; return this; } Map toJson() => { 'deleted': deleted }; getTypeName() => "UnfollowResponse"; TypeContext? context = _ctx; } // @Route("/place/Unfollow", "POST") class UnfollowRequest implements IReturn, IPost, IConvertible { int? placeId; UnfollowRequest({this.placeId}); UnfollowRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; return this; } Map toJson() => { 'placeId': placeId }; createResponse() => UnfollowResponse(); getResponseTypeName() => "UnfollowResponse"; getTypeName() => "UnfollowRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'UnfollowResponse': TypeInfo(TypeOf.Class, create:() => UnfollowResponse()), 'UnfollowRequest': TypeInfo(TypeOf.Class, create:() => UnfollowRequest()), });