/* Options: Date: 2026-03-13 22:10:02 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://milliet.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: barcode_forced.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum eapi_barcode_type_enum { code39, ean13, qrcode, } // @Route("/barcode/{BarcodeType}/{BarcodeValue}", "GET") class barcode implements IReturn, IConvertible, IGet { /** * barcode type */ // @ApiMember(DataType="string", Description="barcode type", IsRequired=true, Name="BarcodeType", ParameterType="query") eapi_barcode_type_enum? barcodeType; /** * barcode value */ // @ApiMember(DataType="string", Description="barcode value", IsRequired=true, Name="BarcodeValue", ParameterType="query") String? barcodeValue; barcode({this.barcodeType,this.barcodeValue}); barcode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { barcodeType = JsonConverters.fromJson(json['barcodeType'],'eapi_barcode_type_enum',context!); barcodeValue = json['barcodeValue']; return this; } Map toJson() => { 'barcodeType': JsonConverters.toJson(barcodeType,'eapi_barcode_type_enum',context!), 'barcodeValue': barcodeValue }; createResponse() => dynamic(); getResponseTypeName() => "dynamic"; getTypeName() => "barcode"; TypeContext? context = _ctx; } /** * Service de création de barcodes (OLD SCHOOL) */ // @Route("/barcode_forced/{BasicAuth}/{MimeType}/{BarcodeType}/{BarcodeValue}", "GET") // @Api(Description="Service de création de barcodes (OLD SCHOOL)") class barcode_forced implements IReturn, IConvertible, IGet { /** * Basic Auth */ // @ApiMember(DataType="string", Description="Basic Auth", IsRequired=true, Name="BasicAuth", ParameterType="query") String? basicAuth; /** * mime-type */ // @ApiMember(DataType="string", Description="mime-type", IsRequired=true, Name="MimeType", ParameterType="query") String? mimeType; /** * barcode type */ // @ApiMember(DataType="string", Description="barcode type", IsRequired=true, Name="BarcodeType", ParameterType="query") eapi_barcode_type_enum? barcodeType; /** * barcode value */ // @ApiMember(DataType="string", Description="barcode value", IsRequired=true, Name="BarcodeValue", ParameterType="query") String? barcodeValue; barcode? barcode; barcode_forced({this.basicAuth,this.mimeType,this.barcodeType,this.barcodeValue,this.barcode}); barcode_forced.fromJson(Map json) { fromMap(json); } fromMap(Map json) { basicAuth = json['basicAuth']; mimeType = json['mimeType']; barcodeType = JsonConverters.fromJson(json['barcodeType'],'eapi_barcode_type_enum',context!); barcodeValue = json['barcodeValue']; barcode = JsonConverters.fromJson(json['barcode'],'barcode',context!); return this; } Map toJson() => { 'basicAuth': basicAuth, 'mimeType': mimeType, 'barcodeType': JsonConverters.toJson(barcodeType,'eapi_barcode_type_enum',context!), 'barcodeValue': barcodeValue, 'barcode': JsonConverters.toJson(barcode,'barcode',context!) }; createResponse() => dynamic(); getResponseTypeName() => "dynamic"; getTypeName() => "barcode_forced"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'milliet.io', types: { 'eapi_barcode_type_enum': TypeInfo(TypeOf.Enum, enumValues:eapi_barcode_type_enum.values), 'barcode': TypeInfo(TypeOf.Class, create:() => barcode()), 'barcode_forced': TypeInfo(TypeOf.Class, create:() => barcode_forced()), });