/* Options: Date: 2026-08-01 06:31:06 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RoutePlanCrewsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RoutePlanCrew implements IConvertible { int? CrewID; String? CrewName; String? CrewColor; String? HomeZip; double? YardLat; double? YardLng; int? DailyCapacityMin; int? WeeklyCapacityMin; bool? Specialist; RoutePlanCrew({this.CrewID,this.CrewName,this.CrewColor,this.HomeZip,this.YardLat,this.YardLng,this.DailyCapacityMin,this.WeeklyCapacityMin,this.Specialist}); RoutePlanCrew.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CrewID = json['CrewID']; CrewName = json['CrewName']; CrewColor = json['CrewColor']; HomeZip = json['HomeZip']; YardLat = JsonConverters.toDouble(json['YardLat']); YardLng = JsonConverters.toDouble(json['YardLng']); DailyCapacityMin = json['DailyCapacityMin']; WeeklyCapacityMin = json['WeeklyCapacityMin']; Specialist = json['Specialist']; return this; } Map toJson() => { 'CrewID': CrewID, 'CrewName': CrewName, 'CrewColor': CrewColor, 'HomeZip': HomeZip, 'YardLat': YardLat, 'YardLng': YardLng, 'DailyCapacityMin': DailyCapacityMin, 'WeeklyCapacityMin': WeeklyCapacityMin, 'Specialist': Specialist }; getTypeName() => "RoutePlanCrew"; TypeContext? context = _ctx; } class RoutePlanCrewsResponse implements IConvertible { List? Crews = []; ResponseStatus? ResponseStatus; RoutePlanCrewsResponse({this.Crews,this.ResponseStatus}); RoutePlanCrewsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Crews = JsonConverters.fromJson(json['Crews'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Crews': JsonConverters.toJson(Crews,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "RoutePlanCrewsResponse"; TypeContext? context = _ctx; } // @Route("/v1/routeplan/crews", "GET,OPTIONS") class RoutePlanCrewsRequest implements IReturn, IConvertible, IGet { RoutePlanCrewsRequest(); RoutePlanCrewsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => RoutePlanCrewsResponse(); getResponseTypeName() => "RoutePlanCrewsResponse"; getTypeName() => "RoutePlanCrewsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'RoutePlanCrew': TypeInfo(TypeOf.Class, create:() => RoutePlanCrew()), 'RoutePlanCrewsResponse': TypeInfo(TypeOf.Class, create:() => RoutePlanCrewsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RoutePlanCrewsRequest': TypeInfo(TypeOf.Class, create:() => RoutePlanCrewsRequest()), });