/* Options: Date: 2024-12-23 12:54: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: ReferFriendLinkRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ReferFriendLinkResponse implements IConvertible { String? linkWithReferFriendToken; ReferFriendLinkResponse({this.linkWithReferFriendToken}); ReferFriendLinkResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { linkWithReferFriendToken = json['linkWithReferFriendToken']; return this; } Map toJson() => { 'linkWithReferFriendToken': linkWithReferFriendToken }; getTypeName() => "ReferFriendLinkResponse"; TypeContext? context = _ctx; } // @Route("/share/refer-friend-link", "GET") class ReferFriendLinkRequest implements IReturn, IGet, IConvertible { ReferFriendLinkRequest(); ReferFriendLinkRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ReferFriendLinkResponse(); getResponseTypeName() => "ReferFriendLinkResponse"; getTypeName() => "ReferFriendLinkRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ReferFriendLinkResponse': TypeInfo(TypeOf.Class, create:() => ReferFriendLinkResponse()), 'ReferFriendLinkRequest': TypeInfo(TypeOf.Class, create:() => ReferFriendLinkRequest()), });