/* Options: Date: 2026-10-31 22:45:26 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://freemotion-staging.milliet.paris/ws-cl //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: cl_alerte_tourneeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class _alerte_tournee_ligne implements IConvertible { String? id_operateur; String? id_tournee; String? id_evenement; String? date; String? num_facture; _alerte_tournee_ligne({this.id_operateur,this.id_tournee,this.id_evenement,this.date,this.num_facture}); _alerte_tournee_ligne.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; id_evenement = json['id_evenement']; date = json['date']; num_facture = json['num_facture']; return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'id_evenement': id_evenement, 'date': date, 'num_facture': num_facture }; getTypeName() => "_alerte_tournee_ligne"; TypeContext? context = _ctx; } class _alerte_tournee implements IConvertible { String? id_operateur; String? id_tournee; String? id_evenement; String? date; double? latitude; double? longitude; double? duree; List<_alerte_tournee_ligne>? factures_non_livrees; _alerte_tournee({this.id_operateur,this.id_tournee,this.id_evenement,this.date,this.latitude,this.longitude,this.duree,this.factures_non_livrees}); _alerte_tournee.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; id_evenement = json['id_evenement']; date = json['date']; latitude = JsonConverters.toDouble(json['latitude']); longitude = JsonConverters.toDouble(json['longitude']); duree = JsonConverters.toDouble(json['duree']); factures_non_livrees = JsonConverters.fromJson(json['factures_non_livrees'],'List<_alerte_tournee_ligne>',context!); return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'id_evenement': id_evenement, 'date': date, 'latitude': latitude, 'longitude': longitude, 'duree': duree, 'factures_non_livrees': JsonConverters.toJson(factures_non_livrees,'List<_alerte_tournee_ligne>',context!) }; getTypeName() => "_alerte_tournee"; TypeContext? context = _ctx; } class cl_alerte_tourneeResponse implements IConvertible { String? id_operateur; String? id_tournee; List<_alerte_tournee>? alertes_tournees; cl_alerte_tourneeResponse({this.id_operateur,this.id_tournee,this.alertes_tournees}); cl_alerte_tourneeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; alertes_tournees = JsonConverters.fromJson(json['alertes_tournees'],'List<_alerte_tournee>',context!); return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'alertes_tournees': JsonConverters.toJson(alertes_tournees,'List<_alerte_tournee>',context!) }; getTypeName() => "cl_alerte_tourneeResponse"; TypeContext? context = _ctx; } // @Route("/cl_alerte_tournee/{id_operateur}/{id_tournee}", "GET, POST") class cl_alerte_tourneeRequest implements IReturn, IConvertible, IGet { String? id_operateur; String? id_tournee; List<_alerte_tournee>? alertes_tournees; cl_alerte_tourneeRequest({this.id_operateur,this.id_tournee,this.alertes_tournees}); cl_alerte_tourneeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; alertes_tournees = JsonConverters.fromJson(json['alertes_tournees'],'List<_alerte_tournee>',context!); return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'alertes_tournees': JsonConverters.toJson(alertes_tournees,'List<_alerte_tournee>',context!) }; createResponse() => cl_alerte_tourneeResponse(); getResponseTypeName() => "cl_alerte_tourneeResponse"; getTypeName() => "cl_alerte_tourneeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'freemotion_staging.milliet.paris', types: { '_alerte_tournee_ligne': TypeInfo(TypeOf.Class, create:() => _alerte_tournee_ligne()), '_alerte_tournee': TypeInfo(TypeOf.Class, create:() => _alerte_tournee()), 'List<_alerte_tournee_ligne>': TypeInfo(TypeOf.Class, create:() => <_alerte_tournee_ligne>[]), 'cl_alerte_tourneeResponse': TypeInfo(TypeOf.Class, create:() => cl_alerte_tourneeResponse()), 'List<_alerte_tournee>': TypeInfo(TypeOf.Class, create:() => <_alerte_tournee>[]), 'cl_alerte_tourneeRequest': TypeInfo(TypeOf.Class, create:() => cl_alerte_tourneeRequest()), });