/* Options: Date: 2026-10-31 22:44:41 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_multi_photoRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class _multi_photo implements IConvertible { String? id_operateur; String? id_tournee; String? id_client; String? num_facture; int? type; int? index; String? path; String? photo; String? photo_light; String? date; double? latitude; double? longitude; _multi_photo({this.id_operateur,this.id_tournee,this.id_client,this.num_facture,this.type,this.index,this.path,this.photo,this.photo_light,this.date,this.latitude,this.longitude}); _multi_photo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; id_client = json['id_client']; num_facture = json['num_facture']; type = json['type']; index = json['index']; path = json['path']; photo = json['photo']; photo_light = json['photo_light']; date = json['date']; latitude = JsonConverters.toDouble(json['latitude']); longitude = JsonConverters.toDouble(json['longitude']); return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'id_client': id_client, 'num_facture': num_facture, 'type': type, 'index': index, 'path': path, 'photo': photo, 'photo_light': photo_light, 'date': date, 'latitude': latitude, 'longitude': longitude }; getTypeName() => "_multi_photo"; TypeContext? context = _ctx; } class cl_multi_photoResponse implements IConvertible { String? id_operateur; String? id_tournee; List<_multi_photo>? multi_photos; cl_multi_photoResponse({this.id_operateur,this.id_tournee,this.multi_photos}); cl_multi_photoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; multi_photos = JsonConverters.fromJson(json['multi_photos'],'List<_multi_photo>',context!); return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'multi_photos': JsonConverters.toJson(multi_photos,'List<_multi_photo>',context!) }; getTypeName() => "cl_multi_photoResponse"; TypeContext? context = _ctx; } // @Route("/cl_multi_photo/{id_operateur}/{id_tournee}", "GET, POST") class cl_multi_photoRequest implements IReturn, IConvertible, IGet { String? id_operateur; String? id_tournee; List<_multi_photo>? multi_photos; cl_multi_photoRequest({this.id_operateur,this.id_tournee,this.multi_photos}); cl_multi_photoRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_operateur = json['id_operateur']; id_tournee = json['id_tournee']; multi_photos = JsonConverters.fromJson(json['multi_photos'],'List<_multi_photo>',context!); return this; } Map toJson() => { 'id_operateur': id_operateur, 'id_tournee': id_tournee, 'multi_photos': JsonConverters.toJson(multi_photos,'List<_multi_photo>',context!) }; createResponse() => cl_multi_photoResponse(); getResponseTypeName() => "cl_multi_photoResponse"; getTypeName() => "cl_multi_photoRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'freemotion_staging.milliet.paris', types: { '_multi_photo': TypeInfo(TypeOf.Class, create:() => _multi_photo()), 'cl_multi_photoResponse': TypeInfo(TypeOf.Class, create:() => cl_multi_photoResponse()), 'List<_multi_photo>': TypeInfo(TypeOf.Class, create:() => <_multi_photo>[]), 'cl_multi_photoRequest': TypeInfo(TypeOf.Class, create:() => cl_multi_photoRequest()), });