/* Options: Date: 2026-11-08 11:52:00 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ClientMappingsByTypeAndTargetRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IApiRequest { } abstract class IApiResponse { } class ClientMap implements IConvertible { int? ClientMapID; String? TheirVal; String? OurVal; int? KeyTypeID; String? KeyTypeDesc; int? TypeID; String? TypeDesc; int? KeyValue; String? MapTarget; ClientMap({this.ClientMapID,this.TheirVal,this.OurVal,this.KeyTypeID,this.KeyTypeDesc,this.TypeID,this.TypeDesc,this.KeyValue,this.MapTarget}); ClientMap.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientMapID = json['ClientMapID']; TheirVal = json['TheirVal']; OurVal = json['OurVal']; KeyTypeID = json['KeyTypeID']; KeyTypeDesc = json['KeyTypeDesc']; TypeID = json['TypeID']; TypeDesc = json['TypeDesc']; KeyValue = json['KeyValue']; MapTarget = json['MapTarget']; return this; } Map toJson() => { 'ClientMapID': ClientMapID, 'TheirVal': TheirVal, 'OurVal': OurVal, 'KeyTypeID': KeyTypeID, 'KeyTypeDesc': KeyTypeDesc, 'TypeID': TypeID, 'TypeDesc': TypeDesc, 'KeyValue': KeyValue, 'MapTarget': MapTarget }; getTypeName() => "ClientMap"; TypeContext? context = _ctx; } class ClientMappingsRs implements IApiResponse, IConvertible { List? ClientMappings; ClientMappingsRs({this.ClientMappings}); ClientMappingsRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientMappings = JsonConverters.fromJson(json['ClientMappings'],'List',context!); return this; } Map toJson() => { 'ClientMappings': JsonConverters.toJson(ClientMappings,'List',context!) }; getTypeName() => "ClientMappingsRs"; TypeContext? context = _ctx; } // @Route("/api/client/mappings/type/{typeDesc}/target/{target}", "GET") class ClientMappingsByTypeAndTargetRq implements IReturn, IApiRequest, IConvertible { String? TypeDesc; String? Target; ClientMappingsByTypeAndTargetRq({this.TypeDesc,this.Target}); ClientMappingsByTypeAndTargetRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TypeDesc = json['TypeDesc']; Target = json['Target']; return this; } Map toJson() => { 'TypeDesc': TypeDesc, 'Target': Target }; createResponse() => ClientMappingsRs(); getResponseTypeName() => "ClientMappingsRs"; getTypeName() => "ClientMappingsByTypeAndTargetRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IApiRequest': TypeInfo(TypeOf.Interface), 'IApiResponse': TypeInfo(TypeOf.Interface), 'ClientMap': TypeInfo(TypeOf.Class, create:() => ClientMap()), 'ClientMappingsRs': TypeInfo(TypeOf.Class, create:() => ClientMappingsRs()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ClientMappingsByTypeAndTargetRq': TypeInfo(TypeOf.Class, create:() => ClientMappingsByTypeAndTargetRq()), });