/* Options: Date: 2025-08-04 04:07:12 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: BrowseAllQuestionFileByTenderUserTenderRound.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; 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 QuestionFileDetails extends BrowseFileResponseBase implements IConvertible { int? TenderUserTenderRoundId; int? SubmittedById; DateTime? SubmissionDateTime; bool? IsSubmitted; QuestionFileDetails({this.TenderUserTenderRoundId,this.SubmittedById,this.SubmissionDateTime,this.IsSubmitted}); QuestionFileDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TenderUserTenderRoundId = json['TenderUserTenderRoundId']; SubmittedById = json['SubmittedById']; SubmissionDateTime = JsonConverters.fromJson(json['SubmissionDateTime'],'DateTime',context!); IsSubmitted = json['IsSubmitted']; return this; } Map toJson() => super.toJson()..addAll({ 'TenderUserTenderRoundId': TenderUserTenderRoundId, 'SubmittedById': SubmittedById, 'SubmissionDateTime': JsonConverters.toJson(SubmissionDateTime,'DateTime',context!), 'IsSubmitted': IsSubmitted }); getTypeName() => "QuestionFileDetails"; TypeContext? context = _ctx; } class BrowseAllQuestionResponse extends ResponseBase implements IConvertible { List? QuestionFiles; BrowseAllQuestionResponse({this.QuestionFiles}); BrowseAllQuestionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); QuestionFiles = JsonConverters.fromJson(json['QuestionFiles'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'QuestionFiles': JsonConverters.toJson(QuestionFiles,'List',context!) }); getTypeName() => "BrowseAllQuestionResponse"; TypeContext? context = _ctx; } // @Route("/tenderusertenderround/{tenderusertenderroundid}/question", "GET") class BrowseAllQuestionFileByTenderUserTenderRound implements IReturn, IGet, IConvertible { int? TenderUserTenderRoundId; BrowseAllQuestionFileByTenderUserTenderRound({this.TenderUserTenderRoundId}); BrowseAllQuestionFileByTenderUserTenderRound.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderUserTenderRoundId = json['TenderUserTenderRoundId']; return this; } Map toJson() => { 'TenderUserTenderRoundId': TenderUserTenderRoundId }; createResponse() => BrowseAllQuestionResponse(); getResponseTypeName() => "BrowseAllQuestionResponse"; getTypeName() => "BrowseAllQuestionFileByTenderUserTenderRound"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'BrowseFileResponseBase': TypeInfo(TypeOf.AbstractClass), 'QuestionFileDetails': TypeInfo(TypeOf.Class, create:() => QuestionFileDetails()), 'BrowseAllQuestionResponse': TypeInfo(TypeOf.Class, create:() => BrowseAllQuestionResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseAllQuestionFileByTenderUserTenderRound': TypeInfo(TypeOf.Class, create:() => BrowseAllQuestionFileByTenderUserTenderRound()), });