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