/* Options: Date: 2026-05-19 09:52:53 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetStockSlim.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GetStockSlimResponse implements IConvertible { /** * Total Product Count */ // @ApiMember(Description="Total Product Count", IsRequired=true) int? totalProductCount; /** * Total Consignment Count */ // @ApiMember(Description="Total Consignment Count", IsRequired=true) int? totalConsignmentCount; /** * Articles */ // @ApiMember(Description="Articles", IsRequired=true) List? elements; GetStockSlimResponse({this.totalProductCount,this.totalConsignmentCount,this.elements}); GetStockSlimResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { totalProductCount = json['totalProductCount']; totalConsignmentCount = json['totalConsignmentCount']; elements = JsonConverters.fromJson(json['elements'],'List',context!); return this; } Map toJson() => { 'totalProductCount': totalProductCount, 'totalConsignmentCount': totalConsignmentCount, 'elements': JsonConverters.toJson(elements,'List',context!) }; getTypeName() => "GetStockSlimResponse"; TypeContext? context = _ctx; } // @Route("/stock/{brand}/slim", "GET") class GetStockSlim implements IReturn, IConvertible, IGet { /** * Brand */ // @ApiMember(Description="Brand", IsRequired=true) String? brand; /** * POS Legacy */ // @ApiMember(Description="POS Legacy") List? posCodes; /** * Article Codes */ // @ApiMember(Description="Article Codes") List? articleCodes; /** * Cluster Id */ // @ApiMember(Description="Cluster Id") List? clusterIds; /** * Include Extra Info */ // @ApiMember(Description="Include Extra Info") bool? includeExtraInfo; /** * Include Consignment NotAuthorized POS */ // @ApiMember(Description="Include Consignment NotAuthorized POS") bool? includeConsignmentNotAuthorizedPOS; /** * Item type, 'standard' OR 'consigned'. By default, all are coming */ // @ApiMember(Description="Item type, 'standard' OR 'consigned'. By default, all are coming") String? type; GetStockSlim({this.brand,this.posCodes,this.articleCodes,this.clusterIds,this.includeExtraInfo,this.includeConsignmentNotAuthorizedPOS,this.type}); GetStockSlim.fromJson(Map json) { fromMap(json); } fromMap(Map json) { brand = json['brand']; posCodes = JsonConverters.fromJson(json['posCodes'],'List',context!); articleCodes = JsonConverters.fromJson(json['articleCodes'],'List',context!); clusterIds = JsonConverters.fromJson(json['clusterIds'],'List',context!); includeExtraInfo = json['includeExtraInfo']; includeConsignmentNotAuthorizedPOS = json['includeConsignmentNotAuthorizedPOS']; type = json['type']; return this; } Map toJson() => { 'brand': brand, 'posCodes': JsonConverters.toJson(posCodes,'List',context!), 'articleCodes': JsonConverters.toJson(articleCodes,'List',context!), 'clusterIds': JsonConverters.toJson(clusterIds,'List',context!), 'includeExtraInfo': includeExtraInfo, 'includeConsignmentNotAuthorizedPOS': includeConsignmentNotAuthorizedPOS, 'type': type }; createResponse() => GetStockSlimResponse(); getResponseTypeName() => "GetStockSlimResponse"; getTypeName() => "GetStockSlim"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'GetStockSlimResponse': TypeInfo(TypeOf.Class, create:() => GetStockSlimResponse()), 'GetStockSlim': TypeInfo(TypeOf.Class, create:() => GetStockSlim()), });