/* Options: Date: 2025-10-27 22:21:22 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: TwoFAEnableSubmitRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class TwoFAEnableSubmitResponse implements IConvertible { List? RecoveryCodes; TwoFAEnableSubmitResponse({this.RecoveryCodes}); TwoFAEnableSubmitResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RecoveryCodes = JsonConverters.fromJson(json['RecoveryCodes'],'List',context!); return this; } Map toJson() => { 'RecoveryCodes': JsonConverters.toJson(RecoveryCodes,'List',context!) }; getTypeName() => "TwoFAEnableSubmitResponse"; TypeContext? context = _ctx; } // @Route("/twofa/enable", "POST") class TwoFAEnableSubmitRequest implements IReturn, IConvertible, IPost { // @Required() int? VerificationCode; TwoFAEnableSubmitRequest({this.VerificationCode}); TwoFAEnableSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { VerificationCode = json['VerificationCode']; return this; } Map toJson() => { 'VerificationCode': VerificationCode }; createResponse() => TwoFAEnableSubmitResponse(); getResponseTypeName() => "TwoFAEnableSubmitResponse"; getTypeName() => "TwoFAEnableSubmitRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'TwoFAEnableSubmitResponse': TypeInfo(TypeOf.Class, create:() => TwoFAEnableSubmitResponse()), 'TwoFAEnableSubmitRequest': TypeInfo(TypeOf.Class, create:() => TwoFAEnableSubmitRequest()), });