/* Options: Date: 2025-08-04 04:15:59 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrowseProcurementAllFile.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProcurementDocumentType { static const ProcurementDocumentType BankAccountnumber = const ProcurementDocumentType._(0); static const ProcurementDocumentType EcoVadis = const ProcurementDocumentType._(1); static const ProcurementDocumentType Csr = const ProcurementDocumentType._(2); static const ProcurementDocumentType SignedProcurement = const ProcurementDocumentType._(3); final int _value; const ProcurementDocumentType._(this._value); int get value => _value; static List get values => const [BankAccountnumber,EcoVadis,Csr,SignedProcurement]; } abstract class ProcurementBase { int? TenderId; int? UserId; int? ProcurementId; ProcurementBase({this.TenderId,this.UserId,this.ProcurementId}); ProcurementBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderId = json['TenderId']; UserId = json['UserId']; ProcurementId = json['ProcurementId']; return this; } Map toJson() => { 'TenderId': TenderId, 'UserId': UserId, 'ProcurementId': ProcurementId }; getTypeName() => "ProcurementBase"; TypeContext? context = _ctx; } abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } abstract class BrowseFileResponseBase { int? Id; int? FileContentId; String? FileName; int? Size; BrowseFileResponseBase({this.Id,this.FileContentId,this.FileName,this.Size}); BrowseFileResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; FileContentId = json['FileContentId']; FileName = json['FileName']; Size = json['Size']; return this; } Map toJson() => { 'Id': Id, 'FileContentId': FileContentId, 'FileName': FileName, 'Size': Size }; getTypeName() => "BrowseFileResponseBase"; TypeContext? context = _ctx; } class ProcurementFileDetails extends BrowseFileResponseBase implements IConvertible { int? ProcurementId; ProcurementDocumentType? DocumentType; ProcurementFileDetails({this.ProcurementId,this.DocumentType}); ProcurementFileDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ProcurementId = json['ProcurementId']; DocumentType = JsonConverters.fromJson(json['DocumentType'],'ProcurementDocumentType',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ProcurementId': ProcurementId, 'DocumentType': JsonConverters.toJson(DocumentType,'ProcurementDocumentType',context!) }); getTypeName() => "ProcurementFileDetails"; TypeContext? context = _ctx; } class BrowseProcurementAllFileResponse extends ResponseBase implements IConvertible { List? ProcurementFiles; BrowseProcurementAllFileResponse({this.ProcurementFiles}); BrowseProcurementAllFileResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ProcurementFiles = JsonConverters.fromJson(json['ProcurementFiles'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ProcurementFiles': JsonConverters.toJson(ProcurementFiles,'List',context!) }); getTypeName() => "BrowseProcurementAllFileResponse"; TypeContext? context = _ctx; } // @Route("/tender/{tenderid}/user/{userid}/procurement/{procurementid}/file", "GET") class BrowseProcurementAllFile extends ProcurementBase implements IReturn, IGet, IConvertible { ProcurementDocumentType? DocumentType; BrowseProcurementAllFile({this.DocumentType}); BrowseProcurementAllFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DocumentType = JsonConverters.fromJson(json['DocumentType'],'ProcurementDocumentType',context!); return this; } Map toJson() => super.toJson()..addAll({ 'DocumentType': JsonConverters.toJson(DocumentType,'ProcurementDocumentType',context!) }); createResponse() => BrowseProcurementAllFileResponse(); getResponseTypeName() => "BrowseProcurementAllFileResponse"; getTypeName() => "BrowseProcurementAllFile"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ProcurementDocumentType': TypeInfo(TypeOf.Enum, enumValues:ProcurementDocumentType.values), 'ProcurementBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'BrowseFileResponseBase': TypeInfo(TypeOf.AbstractClass), 'ProcurementFileDetails': TypeInfo(TypeOf.Class, create:() => ProcurementFileDetails()), 'BrowseProcurementAllFileResponse': TypeInfo(TypeOf.Class, create:() => BrowseProcurementAllFileResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseProcurementAllFile': TypeInfo(TypeOf.Class, create:() => BrowseProcurementAllFile()), });