/* Options: Date: 2026-01-12 03:00:17 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://qa-business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ShareAdLinkRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; 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: 'BusinessApi', types: { 'ShareAdLinkResponse': TypeInfo(TypeOf.Class, create:() => ShareAdLinkResponse()), 'ShareAdLinkRequest': TypeInfo(TypeOf.Class, create:() => ShareAdLinkRequest()), });