/* Options: Date: 2025-08-04 04:13:08 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: EditTenderRound.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class TenderRoundBase { String? Name; bool? IsQuestionEnabled; DateTime? QuestionDeadline; DateTime? AnswerDeadline; DateTime? SubmissionDeadline; bool? IsSupplementaryEnabled; DateTime? SupplementaryRequestDeadline; DateTime? SupplementaryDeadline; DateTime? AnnouncementDateTime; TenderRoundBase({this.Name,this.IsQuestionEnabled,this.QuestionDeadline,this.AnswerDeadline,this.SubmissionDeadline,this.IsSupplementaryEnabled,this.SupplementaryRequestDeadline,this.SupplementaryDeadline,this.AnnouncementDateTime}); TenderRoundBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { 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!); return this; } Map toJson() => { '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!) }; getTypeName() => "TenderRoundBase"; 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 ModifyEntityResponse extends ResponseBase implements IConvertible { int? Id; ModifyEntityResponse({this.Id}); ModifyEntityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "ModifyEntityResponse"; TypeContext? context = _ctx; } // @Route("/tender/{tenderid}/round/{tenderroundid}", "PUT") class EditTenderRound extends TenderRoundBase implements IReturn, IPut, IConvertible { int? TenderId; int? TenderRoundId; EditTenderRound({this.TenderId,this.TenderRoundId}); EditTenderRound.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TenderId = json['TenderId']; TenderRoundId = json['TenderRoundId']; return this; } Map toJson() => super.toJson()..addAll({ 'TenderId': TenderId, 'TenderRoundId': TenderRoundId }); createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "EditTenderRound"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'TenderRoundBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'EditTenderRound': TypeInfo(TypeOf.Class, create:() => EditTenderRound()), });