/* Options: Date: 2026-10-01 12:31:19 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: StigHistoryRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LocalizedMessage implements IConvertible { String? Is; String? en; LocalizedMessage({this.Is,this.en}); LocalizedMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Is = json['is']; en = json['en']; return this; } Map toJson() => { 'is': Is, 'en': en }; getTypeName() => "LocalizedMessage"; TypeContext? context = _ctx; } class StigHistoryEntry implements IConvertible { int? id; String? kind; LocalizedMessage? label; int? amount; bool? affectsBalance; int? eventId; String? eventName; DateTime? eventTimeUtc; int? ownerId; String? ownerName; int? ticketId; String? orderReference; int? sourceAmountMinor; int? multiplierBasisPoints; String? campaignCode; String? status; DateTime? createdUtc; String? note; StigHistoryEntry({this.id,this.kind,this.label,this.amount,this.affectsBalance,this.eventId,this.eventName,this.eventTimeUtc,this.ownerId,this.ownerName,this.ticketId,this.orderReference,this.sourceAmountMinor,this.multiplierBasisPoints,this.campaignCode,this.status,this.createdUtc,this.note}); StigHistoryEntry.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; kind = json['kind']; label = JsonConverters.fromJson(json['label'],'LocalizedMessage',context!); amount = json['amount']; affectsBalance = json['affectsBalance']; eventId = json['eventId']; eventName = json['eventName']; eventTimeUtc = JsonConverters.fromJson(json['eventTimeUtc'],'DateTime',context!); ownerId = json['ownerId']; ownerName = json['ownerName']; ticketId = json['ticketId']; orderReference = json['orderReference']; sourceAmountMinor = json['sourceAmountMinor']; multiplierBasisPoints = json['multiplierBasisPoints']; campaignCode = json['campaignCode']; status = json['status']; createdUtc = JsonConverters.fromJson(json['createdUtc'],'DateTime',context!); note = json['note']; return this; } Map toJson() => { 'id': id, 'kind': kind, 'label': JsonConverters.toJson(label,'LocalizedMessage',context!), 'amount': amount, 'affectsBalance': affectsBalance, 'eventId': eventId, 'eventName': eventName, 'eventTimeUtc': JsonConverters.toJson(eventTimeUtc,'DateTime',context!), 'ownerId': ownerId, 'ownerName': ownerName, 'ticketId': ticketId, 'orderReference': orderReference, 'sourceAmountMinor': sourceAmountMinor, 'multiplierBasisPoints': multiplierBasisPoints, 'campaignCode': campaignCode, 'status': status, 'createdUtc': JsonConverters.toJson(createdUtc,'DateTime',context!), 'note': note }; getTypeName() => "StigHistoryEntry"; TypeContext? context = _ctx; } class StigHistoryResult implements IConvertible { String? fullPhoneNumber; bool? known; List? items; int? totalCount; int? skip; int? take; int? statusCode; String? message; StigHistoryResult({this.fullPhoneNumber,this.known,this.items,this.totalCount,this.skip,this.take,this.statusCode,this.message}); StigHistoryResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fullPhoneNumber = json['fullPhoneNumber']; known = json['known']; items = JsonConverters.fromJson(json['items'],'List',context!); totalCount = json['totalCount']; skip = json['skip']; take = json['take']; statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'fullPhoneNumber': fullPhoneNumber, 'known': known, 'items': JsonConverters.toJson(items,'List',context!), 'totalCount': totalCount, 'skip': skip, 'take': take, 'statusCode': statusCode, 'message': message }; getTypeName() => "StigHistoryResult"; TypeContext? context = _ctx; } // @Route("/stig/history", "GET") class StigHistoryRequest implements IReturn, IConvertible { String? fullPhoneNumber; int? skip; int? take; bool? includeHolds; StigHistoryRequest({this.fullPhoneNumber,this.skip,this.take,this.includeHolds}); StigHistoryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fullPhoneNumber = json['fullPhoneNumber']; skip = json['skip']; take = json['take']; includeHolds = json['includeHolds']; return this; } Map toJson() => { 'fullPhoneNumber': fullPhoneNumber, 'skip': skip, 'take': take, 'includeHolds': includeHolds }; createResponse() => StigHistoryResult(); getResponseTypeName() => "StigHistoryResult"; getTypeName() => "StigHistoryRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'LocalizedMessage': TypeInfo(TypeOf.Class, create:() => LocalizedMessage()), 'StigHistoryEntry': TypeInfo(TypeOf.Class, create:() => StigHistoryEntry()), 'StigHistoryResult': TypeInfo(TypeOf.Class, create:() => StigHistoryResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StigHistoryRequest': TypeInfo(TypeOf.Class, create:() => StigHistoryRequest()), });