/* Options: Date: 2025-08-04 04:28:31 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: BrowseSupplementaryDocumentType.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class TenderUserTenderRoundBase { int? TenderId; int? UserId; int? TenderRoundId; TenderUserTenderRoundBase({this.TenderId,this.UserId,this.TenderRoundId}); TenderUserTenderRoundBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderId = json['TenderId']; UserId = json['UserId']; TenderRoundId = json['TenderRoundId']; return this; } Map toJson() => { 'TenderId': TenderId, 'UserId': UserId, 'TenderRoundId': TenderRoundId }; getTypeName() => "TenderUserTenderRoundBase"; TypeContext? context = _ctx; } abstract class SupplementaryBase extends TenderUserTenderRoundBase { int? SupplementaryId; SupplementaryBase({this.SupplementaryId}); SupplementaryBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SupplementaryId = json['SupplementaryId']; return this; } Map toJson() => super.toJson()..addAll({ 'SupplementaryId': SupplementaryId }); getTypeName() => "SupplementaryBase"; 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; } class SupplementaryFileDirection { static const SupplementaryFileDirection Request = const SupplementaryFileDirection._(0); static const SupplementaryFileDirection Response = const SupplementaryFileDirection._(1); final int _value; const SupplementaryFileDirection._(this._value); int get value => _value; static List get values => const [Request,Response]; } class SupplementaryDocumentTypeSimple implements IConvertible { int? Id; String? DocumentType; SupplementaryFileDirection? Direction; SupplementaryDocumentTypeSimple({this.Id,this.DocumentType,this.Direction}); SupplementaryDocumentTypeSimple.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; DocumentType = json['DocumentType']; Direction = JsonConverters.fromJson(json['Direction'],'SupplementaryFileDirection',context!); return this; } Map toJson() => { 'Id': Id, 'DocumentType': DocumentType, 'Direction': JsonConverters.toJson(Direction,'SupplementaryFileDirection',context!) }; getTypeName() => "SupplementaryDocumentTypeSimple"; TypeContext? context = _ctx; } class BrowseSupplementaryDocumentTypeResponse extends ResponseBase implements IConvertible { List? DocumentTypes; BrowseSupplementaryDocumentTypeResponse({this.DocumentTypes}); BrowseSupplementaryDocumentTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DocumentTypes = JsonConverters.fromJson(json['DocumentTypes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'DocumentTypes': JsonConverters.toJson(DocumentTypes,'List',context!) }); getTypeName() => "BrowseSupplementaryDocumentTypeResponse"; TypeContext? context = _ctx; } // @Route("/tender/{tenderid}/user/{userid}/round/{tenderroundid}/supplementary/{supplementaryid}/documenttype", "GET") class BrowseSupplementaryDocumentType extends SupplementaryBase implements IReturn, IGet, IConvertible { BrowseSupplementaryDocumentType(); BrowseSupplementaryDocumentType.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => BrowseSupplementaryDocumentTypeResponse(); getResponseTypeName() => "BrowseSupplementaryDocumentTypeResponse"; getTypeName() => "BrowseSupplementaryDocumentType"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'TenderUserTenderRoundBase': TypeInfo(TypeOf.AbstractClass), 'SupplementaryBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'SupplementaryFileDirection': TypeInfo(TypeOf.Enum, enumValues:SupplementaryFileDirection.values), 'SupplementaryDocumentTypeSimple': TypeInfo(TypeOf.Class, create:() => SupplementaryDocumentTypeSimple()), 'BrowseSupplementaryDocumentTypeResponse': TypeInfo(TypeOf.Class, create:() => BrowseSupplementaryDocumentTypeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseSupplementaryDocumentType': TypeInfo(TypeOf.Class, create:() => BrowseSupplementaryDocumentType()), });