/* Options: Date: 2025-08-04 04:39:54 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: BrowseTender.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IConcurrencyStamp { String? ConcurrencyStamp; } class ProcedureType { static const ProcedureType Competition = const ProcedureType._(0); static const ProcedureType Simplified = const ProcedureType._(1); final int _value; const ProcedureType._(this._value); int get value => _value; static List get values => const [Competition,Simplified]; } class TenderType { static const TenderType Private = const TenderType._(0); static const TenderType Public = const TenderType._(1); final int _value; const TenderType._(this._value); int get value => _value; static List get values => const [Private,Public]; } class TenderStatus { static const TenderStatus FirstRound = const TenderStatus._(0); static const TenderStatus SecondRound = const TenderStatus._(1); static const TenderStatus ThirdRound = const TenderStatus._(2); static const TenderStatus Successful = const TenderStatus._(3); static const TenderStatus UnSuccessful = const TenderStatus._(4); static const TenderStatus Revoked = const TenderStatus._(5); final int _value; const TenderStatus._(this._value); int get value => _value; static List get values => const [FirstRound,SecondRound,ThirdRound,Successful,UnSuccessful,Revoked]; } abstract class TenderBase { String? TenderIdentifier; TenderType? TenderType; String? Subject; String? ProcurementContact; String? ProcurementContactEmail; String? ProcurementContactPhone; String? ProfessionalContact; String? ProfessionalContactEmail; String? ProfessionalContactPhone; String? Result; TenderStatus? Status; TenderBase({this.TenderIdentifier,this.TenderType,this.Subject,this.ProcurementContact,this.ProcurementContactEmail,this.ProcurementContactPhone,this.ProfessionalContact,this.ProfessionalContactEmail,this.ProfessionalContactPhone,this.Result,this.Status}); TenderBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderIdentifier = json['TenderIdentifier']; TenderType = JsonConverters.fromJson(json['TenderType'],'TenderType',context!); Subject = json['Subject']; ProcurementContact = json['ProcurementContact']; ProcurementContactEmail = json['ProcurementContactEmail']; ProcurementContactPhone = json['ProcurementContactPhone']; ProfessionalContact = json['ProfessionalContact']; ProfessionalContactEmail = json['ProfessionalContactEmail']; ProfessionalContactPhone = json['ProfessionalContactPhone']; Result = json['Result']; Status = JsonConverters.fromJson(json['Status'],'TenderStatus',context!); return this; } Map toJson() => { 'TenderIdentifier': TenderIdentifier, 'TenderType': JsonConverters.toJson(TenderType,'TenderType',context!), 'Subject': Subject, 'ProcurementContact': ProcurementContact, 'ProcurementContactEmail': ProcurementContactEmail, 'ProcurementContactPhone': ProcurementContactPhone, 'ProfessionalContact': ProfessionalContact, 'ProfessionalContactEmail': ProfessionalContactEmail, 'ProfessionalContactPhone': ProfessionalContactPhone, 'Result': Result, 'Status': JsonConverters.toJson(Status,'TenderStatus',context!) }; getTypeName() => "TenderBase"; 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 TenderFileDetails extends BrowseFileResponseBase implements IConvertible { int? TenderId; String? DocumentType; bool? IsTenderAnnouncement; TenderFileDetails({this.TenderId,this.DocumentType,this.IsTenderAnnouncement}); TenderFileDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TenderId = json['TenderId']; DocumentType = json['DocumentType']; IsTenderAnnouncement = json['IsTenderAnnouncement']; return this; } Map toJson() => super.toJson()..addAll({ 'TenderId': TenderId, 'DocumentType': DocumentType, 'IsTenderAnnouncement': IsTenderAnnouncement }); getTypeName() => "TenderFileDetails"; TypeContext? context = _ctx; } class TenderRoundSimple implements IConvertible { int? Id; String? Name; bool? IsQuestionEnabled; DateTime? QuestionDeadline; DateTime? AnswerDeadline; DateTime? SubmissionDeadline; bool? IsSupplementaryEnabled; DateTime? SupplementaryRequestDeadline; DateTime? SupplementaryDeadline; DateTime? AnnouncementDateTime; int? Status; TenderRoundSimple({this.Id,this.Name,this.IsQuestionEnabled,this.QuestionDeadline,this.AnswerDeadline,this.SubmissionDeadline,this.IsSupplementaryEnabled,this.SupplementaryRequestDeadline,this.SupplementaryDeadline,this.AnnouncementDateTime,this.Status}); TenderRoundSimple.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; IsQuestionEnabled = json['IsQuestionEnabled']; QuestionDeadline = JsonConverters.fromJson(json['QuestionDeadline'],'DateTime',context!); AnswerDeadline = JsonConverters.fromJson(json['AnswerDeadline'],'DateTime',context!); SubmissionDeadline = JsonConverters.fromJson(json['SubmissionDeadline'],'DateTime',context!); IsSupplementaryEnabled = json['IsSupplementaryEnabled']; SupplementaryRequestDeadline = JsonConverters.fromJson(json['SupplementaryRequestDeadline'],'DateTime',context!); SupplementaryDeadline = JsonConverters.fromJson(json['SupplementaryDeadline'],'DateTime',context!); AnnouncementDateTime = JsonConverters.fromJson(json['AnnouncementDateTime'],'DateTime',context!); Status = json['Status']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'IsQuestionEnabled': IsQuestionEnabled, 'QuestionDeadline': JsonConverters.toJson(QuestionDeadline,'DateTime',context!), 'AnswerDeadline': JsonConverters.toJson(AnswerDeadline,'DateTime',context!), 'SubmissionDeadline': JsonConverters.toJson(SubmissionDeadline,'DateTime',context!), 'IsSupplementaryEnabled': IsSupplementaryEnabled, 'SupplementaryRequestDeadline': JsonConverters.toJson(SupplementaryRequestDeadline,'DateTime',context!), 'SupplementaryDeadline': JsonConverters.toJson(SupplementaryDeadline,'DateTime',context!), 'AnnouncementDateTime': JsonConverters.toJson(AnnouncementDateTime,'DateTime',context!), 'Status': Status }; getTypeName() => "TenderRoundSimple"; TypeContext? context = _ctx; } class TenderDetails extends TenderBase implements IConcurrencyStamp, IConvertible { int? Id; int? StarterTenderRoundId; ProcedureType? ProcedureType; Map? Meta; List? TenderFiles; List? TenderRounds; String? ConcurrencyStamp; bool? IsProcurementEnabled; bool? IsComplianceEnabled; TenderDetails({this.Id,this.StarterTenderRoundId,this.ProcedureType,this.Meta,this.TenderFiles,this.TenderRounds,this.ConcurrencyStamp,this.IsProcurementEnabled,this.IsComplianceEnabled}); TenderDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; StarterTenderRoundId = json['StarterTenderRoundId']; ProcedureType = JsonConverters.fromJson(json['ProcedureType'],'ProcedureType',context!); Meta = JsonConverters.toStringMap(json['Meta']); TenderFiles = JsonConverters.fromJson(json['TenderFiles'],'List',context!); TenderRounds = JsonConverters.fromJson(json['TenderRounds'],'List',context!); ConcurrencyStamp = json['ConcurrencyStamp']; IsProcurementEnabled = json['IsProcurementEnabled']; IsComplianceEnabled = json['IsComplianceEnabled']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'StarterTenderRoundId': StarterTenderRoundId, 'ProcedureType': JsonConverters.toJson(ProcedureType,'ProcedureType',context!), 'Meta': Meta, 'TenderFiles': JsonConverters.toJson(TenderFiles,'List',context!), 'TenderRounds': JsonConverters.toJson(TenderRounds,'List',context!), 'ConcurrencyStamp': ConcurrencyStamp, 'IsProcurementEnabled': IsProcurementEnabled, 'IsComplianceEnabled': IsComplianceEnabled }); getTypeName() => "TenderDetails"; TypeContext? context = _ctx; } class BrowseTenderResponse extends ResponseBase implements IConvertible { TenderDetails? Tender; BrowseTenderResponse({this.Tender}); BrowseTenderResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Tender = JsonConverters.fromJson(json['Tender'],'TenderDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Tender': JsonConverters.toJson(Tender,'TenderDetails',context!) }); getTypeName() => "BrowseTenderResponse"; TypeContext? context = _ctx; } // @Route("/tender/{tenderid}", "GET") class BrowseTender implements IReturn, IGet, IConvertible { int? TenderId; BrowseTender({this.TenderId}); BrowseTender.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderId = json['TenderId']; return this; } Map toJson() => { 'TenderId': TenderId }; createResponse() => BrowseTenderResponse(); getResponseTypeName() => "BrowseTenderResponse"; getTypeName() => "BrowseTender"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'ProcedureType': TypeInfo(TypeOf.Enum, enumValues:ProcedureType.values), 'TenderType': TypeInfo(TypeOf.Enum, enumValues:TenderType.values), 'TenderStatus': TypeInfo(TypeOf.Enum, enumValues:TenderStatus.values), 'TenderBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'BrowseFileResponseBase': TypeInfo(TypeOf.AbstractClass), 'TenderFileDetails': TypeInfo(TypeOf.Class, create:() => TenderFileDetails()), 'TenderRoundSimple': TypeInfo(TypeOf.Class, create:() => TenderRoundSimple()), 'TenderDetails': TypeInfo(TypeOf.Class, create:() => TenderDetails()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseTenderResponse': TypeInfo(TypeOf.Class, create:() => BrowseTenderResponse()), 'BrowseTender': TypeInfo(TypeOf.Class, create:() => BrowseTender()), });