/* Options: Date: 2024-12-23 11:26:52 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: AndroidPwaInstallPromptOutcomeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; enum AndroidPwaInstallPromptOutcome { Accepted, Dismissed, } enum AndroidPwaInstallPromptOutcomeHandled { Stored, Cleared, NoChange, } class AndroidPwaInstallPromptOutcomeResponse implements IConvertible { AndroidPwaInstallPromptOutcomeHandled? handling; AndroidPwaInstallPromptOutcomeResponse({this.handling}); AndroidPwaInstallPromptOutcomeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { handling = JsonConverters.fromJson(json['handling'],'AndroidPwaInstallPromptOutcomeHandled',context!); return this; } Map toJson() => { 'handling': JsonConverters.toJson(handling,'AndroidPwaInstallPromptOutcomeHandled',context!) }; getTypeName() => "AndroidPwaInstallPromptOutcomeResponse"; TypeContext? context = _ctx; } // @Route("/user/android-install-prompt-outcome", "POST") class AndroidPwaInstallPromptOutcomeRequest implements IReturn, IPost, IConvertible { // @Validate(Validator="NotNull") AndroidPwaInstallPromptOutcome? outcome; AndroidPwaInstallPromptOutcomeRequest({this.outcome}); AndroidPwaInstallPromptOutcomeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { outcome = JsonConverters.fromJson(json['outcome'],'AndroidPwaInstallPromptOutcome',context!); return this; } Map toJson() => { 'outcome': JsonConverters.toJson(outcome,'AndroidPwaInstallPromptOutcome',context!) }; createResponse() => AndroidPwaInstallPromptOutcomeResponse(); getResponseTypeName() => "AndroidPwaInstallPromptOutcomeResponse"; getTypeName() => "AndroidPwaInstallPromptOutcomeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'AndroidPwaInstallPromptOutcome': TypeInfo(TypeOf.Enum, enumValues:AndroidPwaInstallPromptOutcome.values), 'AndroidPwaInstallPromptOutcomeHandled': TypeInfo(TypeOf.Enum, enumValues:AndroidPwaInstallPromptOutcomeHandled.values), 'AndroidPwaInstallPromptOutcomeResponse': TypeInfo(TypeOf.Class, create:() => AndroidPwaInstallPromptOutcomeResponse()), 'AndroidPwaInstallPromptOutcomeRequest': TypeInfo(TypeOf.Class, create:() => AndroidPwaInstallPromptOutcomeRequest()), });