/* Options: Date: 2026-10-01 10:23:14 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: FanSyncFollowsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FanSyncFollowRow implements IConvertible { String? phone; String? teamNumber; String? followedAt; FanSyncFollowRow({this.phone,this.teamNumber,this.followedAt}); FanSyncFollowRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phone = json['phone']; teamNumber = json['teamNumber']; followedAt = json['followedAt']; return this; } Map toJson() => { 'phone': phone, 'teamNumber': teamNumber, 'followedAt': followedAt }; getTypeName() => "FanSyncFollowRow"; TypeContext? context = _ctx; } class FanSyncFollowsResult implements IConvertible { String? runId; int? received; int? kept; int? droppedNoOwner; int? droppedNotFanPhone; int? deduped; bool? swapped; int? liveRows; int? statusCode; String? message; FanSyncFollowsResult({this.runId,this.received,this.kept,this.droppedNoOwner,this.droppedNotFanPhone,this.deduped,this.swapped,this.liveRows,this.statusCode,this.message}); FanSyncFollowsResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { runId = json['runId']; received = json['received']; kept = json['kept']; droppedNoOwner = json['droppedNoOwner']; droppedNotFanPhone = json['droppedNotFanPhone']; deduped = json['deduped']; swapped = json['swapped']; liveRows = json['liveRows']; statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'runId': runId, 'received': received, 'kept': kept, 'droppedNoOwner': droppedNoOwner, 'droppedNotFanPhone': droppedNotFanPhone, 'deduped': deduped, 'swapped': swapped, 'liveRows': liveRows, 'statusCode': statusCode, 'message': message }; getTypeName() => "FanSyncFollowsResult"; TypeContext? context = _ctx; } // @Route("/FanSync/Follows", "POST") class FanSyncFollowsRequest implements IReturn, IConvertible { String? runId; int? chunk; bool? Final; List? rows; FanSyncFollowsRequest({this.runId,this.chunk,this.Final,this.rows}); FanSyncFollowsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { runId = json['runId']; chunk = json['chunk']; Final = json['final']; rows = JsonConverters.fromJson(json['rows'],'List',context!); return this; } Map toJson() => { 'runId': runId, 'chunk': chunk, 'final': Final, 'rows': JsonConverters.toJson(rows,'List',context!) }; createResponse() => FanSyncFollowsResult(); getResponseTypeName() => "FanSyncFollowsResult"; getTypeName() => "FanSyncFollowsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'FanSyncFollowRow': TypeInfo(TypeOf.Class, create:() => FanSyncFollowRow()), 'FanSyncFollowsResult': TypeInfo(TypeOf.Class, create:() => FanSyncFollowsResult()), 'FanSyncFollowsRequest': TypeInfo(TypeOf.Class, create:() => FanSyncFollowsRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });