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