/* Options: Date: 2026-10-01 10:22:55 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StigBalanceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class StigBalanceResult implements IConvertible { String? fullPhoneNumber; bool? known; bool? excluded; int? balance; int? heldStig; int? available; int? lifetimeEarned; DateTime? updatedUtc; int? statusCode; String? message; StigBalanceResult({this.fullPhoneNumber,this.known,this.excluded,this.balance,this.heldStig,this.available,this.lifetimeEarned,this.updatedUtc,this.statusCode,this.message}); StigBalanceResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fullPhoneNumber = json['fullPhoneNumber']; known = json['known']; excluded = json['excluded']; balance = json['balance']; heldStig = json['heldStig']; available = json['available']; lifetimeEarned = json['lifetimeEarned']; updatedUtc = JsonConverters.fromJson(json['updatedUtc'],'DateTime',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'fullPhoneNumber': fullPhoneNumber, 'known': known, 'excluded': excluded, 'balance': balance, 'heldStig': heldStig, 'available': available, 'lifetimeEarned': lifetimeEarned, 'updatedUtc': JsonConverters.toJson(updatedUtc,'DateTime',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "StigBalanceResult"; TypeContext? context = _ctx; } // @Route("/stig/balance", "GET") class StigBalanceRequest implements IReturn, IConvertible { String? fullPhoneNumber; StigBalanceRequest({this.fullPhoneNumber}); StigBalanceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fullPhoneNumber = json['fullPhoneNumber']; return this; } Map toJson() => { 'fullPhoneNumber': fullPhoneNumber }; createResponse() => StigBalanceResult(); getResponseTypeName() => "StigBalanceResult"; getTypeName() => "StigBalanceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'StigBalanceResult': TypeInfo(TypeOf.Class, create:() => StigBalanceResult()), 'StigBalanceRequest': TypeInfo(TypeOf.Class, create:() => StigBalanceRequest()), });