/* Options: Date: 2025-05-06 15:42:50 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: SystemInfoRequest.* //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; } class SystemInfo implements IConvertible { String? redirectTo; bool? acceptingPayments; bool? canSaveCard; String? errorResponse; int? minVersion; SystemInfo({this.redirectTo,this.acceptingPayments,this.canSaveCard,this.errorResponse,this.minVersion}); SystemInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { redirectTo = json['redirectTo']; acceptingPayments = json['acceptingPayments']; canSaveCard = json['canSaveCard']; errorResponse = json['errorResponse']; minVersion = json['minVersion']; return this; } Map toJson() => { 'redirectTo': redirectTo, 'acceptingPayments': acceptingPayments, 'canSaveCard': canSaveCard, 'errorResponse': errorResponse, 'minVersion': minVersion }; getTypeName() => "SystemInfo"; TypeContext? context = _ctx; } // @Route("/system/info", "GET POST") class SystemInfoRequest implements IReturn, IConvertible { String? phoneFullNumber; String? deviceId; int? requestUnixUTCTimeStamp; RequestSignature? signature; SystemInfoRequest({this.phoneFullNumber,this.deviceId,this.requestUnixUTCTimeStamp,this.signature}); SystemInfoRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phoneFullNumber = json['phoneFullNumber']; deviceId = json['deviceId']; requestUnixUTCTimeStamp = json['requestUnixUTCTimeStamp']; signature = JsonConverters.fromJson(json['signature'],'RequestSignature',context!); return this; } Map toJson() => { 'phoneFullNumber': phoneFullNumber, 'deviceId': deviceId, 'requestUnixUTCTimeStamp': requestUnixUTCTimeStamp, 'signature': JsonConverters.toJson(signature,'RequestSignature',context!) }; createResponse() => SystemInfo(); getResponseTypeName() => "SystemInfo"; getTypeName() => "SystemInfoRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'RequestSignature': TypeInfo(TypeOf.Class, create:() => RequestSignature()), 'SystemInfo': TypeInfo(TypeOf.Class, create:() => SystemInfo()), 'SystemInfoRequest': TypeInfo(TypeOf.Class, create:() => SystemInfoRequest()), });