/* Options: Date: 2026-02-05 06:47:14 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://unstable-consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ShareAdLinkRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ShareAdLinkResponse implements IConvertible { String? linkWithShareAdToken; ShareAdLinkResponse({this.linkWithShareAdToken}); ShareAdLinkResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { linkWithShareAdToken = json['linkWithShareAdToken']; return this; } Map toJson() => { 'linkWithShareAdToken': linkWithShareAdToken }; getTypeName() => "ShareAdLinkResponse"; TypeContext? context = _ctx; } // @Route("/share/share-ad-link", "GET") class ShareAdLinkRequest implements IReturn, IGet, IConvertible { // @Validate(Validator="NotNull") int? adId; ShareAdLinkRequest({this.adId}); ShareAdLinkRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { adId = json['adId']; return this; } Map toJson() => { 'adId': adId }; createResponse() => ShareAdLinkResponse(); getResponseTypeName() => "ShareAdLinkResponse"; getTypeName() => "ShareAdLinkRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ShareAdLinkResponse': TypeInfo(TypeOf.Class, create:() => ShareAdLinkResponse()), 'ShareAdLinkRequest': TypeInfo(TypeOf.Class, create:() => ShareAdLinkRequest()), });