/* Options: Date: 2025-05-06 15:02:19 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CardTokensRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RequestSignature implements IConvertible { String? systemId; String? systemSecret; String? signature; RequestSignature({this.systemId,this.systemSecret,this.signature}); RequestSignature.fromJson(Map json) { fromMap(json); } fromMap(Map json) { systemId = json['systemId']; systemSecret = json['systemSecret']; signature = json['signature']; return this; } Map toJson() => { 'systemId': systemId, 'systemSecret': systemSecret, 'signature': signature }; getTypeName() => "RequestSignature"; TypeContext? context = _ctx; } // @Route("/cardTokens", "GET POST") class CardTokensRequest implements IReturn>, IConvertible { String? phoneVerificationNumber; String? deviceId; DateTime? timeStamp; RequestSignature? signature; CardTokensRequest({this.phoneVerificationNumber,this.deviceId,this.timeStamp,this.signature}); CardTokensRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phoneVerificationNumber = json['phoneVerificationNumber']; deviceId = json['deviceId']; timeStamp = JsonConverters.fromJson(json['timeStamp'],'DateTime',context!); signature = JsonConverters.fromJson(json['signature'],'RequestSignature',context!); return this; } Map toJson() => { 'phoneVerificationNumber': phoneVerificationNumber, 'deviceId': deviceId, 'timeStamp': JsonConverters.toJson(timeStamp,'DateTime',context!), 'signature': JsonConverters.toJson(signature,'RequestSignature',context!) }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "CardTokensRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'RequestSignature': TypeInfo(TypeOf.Class, create:() => RequestSignature()), 'CardTokensRequest': TypeInfo(TypeOf.Class, create:() => CardTokensRequest()), });