/* Options: Date: 2025-05-04 23:38:11 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindDuplicates.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FindDuplicateEntry implements IConvertible { String? fieldValue; List? endpoints; FindDuplicateEntry({this.fieldValue,this.endpoints}); FindDuplicateEntry.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fieldValue = json['fieldValue']; endpoints = JsonConverters.fromJson(json['endpoints'],'List',context!); return this; } Map toJson() => { 'fieldValue': fieldValue, 'endpoints': JsonConverters.toJson(endpoints,'List',context!) }; getTypeName() => "FindDuplicateEntry"; TypeContext? context = _ctx; } class FindDuplicatesResponse implements IConvertible { List? duplicates; FindDuplicatesResponse({this.duplicates}); FindDuplicatesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { duplicates = JsonConverters.fromJson(json['duplicates'],'List',context!); return this; } Map toJson() => { 'duplicates': JsonConverters.toJson(duplicates,'List',context!) }; getTypeName() => "FindDuplicatesResponse"; TypeContext? context = _ctx; } // @Route("/endpoints/duplicates") class FindDuplicates implements IReturn, IConvertible, IGet { /** * The account ID to check */ // @ApiMember(Description="The account ID to check") String? accountId; /** * The field name to search for */ // @ApiMember(Description="The field name to search for") String? endpointFieldName; FindDuplicates({this.accountId,this.endpointFieldName}); FindDuplicates.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; endpointFieldName = json['endpointFieldName']; return this; } Map toJson() => { 'accountId': accountId, 'endpointFieldName': endpointFieldName }; createResponse() => FindDuplicatesResponse(); getResponseTypeName() => "FindDuplicatesResponse"; getTypeName() => "FindDuplicates"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'FindDuplicateEntry': TypeInfo(TypeOf.Class, create:() => FindDuplicateEntry()), 'FindDuplicatesResponse': TypeInfo(TypeOf.Class, create:() => FindDuplicatesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FindDuplicates': TypeInfo(TypeOf.Class, create:() => FindDuplicates()), });