/* Options: Date: 2024-12-23 11:36:12 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: ReferBusinessLinkRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ReferBusinessLinkResponse implements IConvertible { String? linkWithReferBusinessToken; ReferBusinessLinkResponse({this.linkWithReferBusinessToken}); ReferBusinessLinkResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { linkWithReferBusinessToken = json['linkWithReferBusinessToken']; return this; } Map toJson() => { 'linkWithReferBusinessToken': linkWithReferBusinessToken }; getTypeName() => "ReferBusinessLinkResponse"; TypeContext? context = _ctx; } // @Route("/share/refer-business-link", "GET") class ReferBusinessLinkRequest implements IReturn, IGet, IConvertible { // @Validate(Validator="NotNull") int? placeId; ReferBusinessLinkRequest({this.placeId}); ReferBusinessLinkRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; return this; } Map toJson() => { 'placeId': placeId }; createResponse() => ReferBusinessLinkResponse(); getResponseTypeName() => "ReferBusinessLinkResponse"; getTypeName() => "ReferBusinessLinkRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ReferBusinessLinkResponse': TypeInfo(TypeOf.Class, create:() => ReferBusinessLinkResponse()), 'ReferBusinessLinkRequest': TypeInfo(TypeOf.Class, create:() => ReferBusinessLinkRequest()), });