/* Options: Date: 2025-08-04 04:26:51 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: EditCompliance.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IConcurrencyStamp { String? ConcurrencyStamp; } abstract class ModifyRequestBase implements IConcurrencyStamp { String? ConcurrencyStamp; ModifyRequestBase({this.ConcurrencyStamp}); ModifyRequestBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConcurrencyStamp = json['ConcurrencyStamp']; return this; } Map toJson() => { 'ConcurrencyStamp': ConcurrencyStamp }; getTypeName() => "ModifyRequestBase"; TypeContext? context = _ctx; } abstract class ModifyComplianceBase extends ModifyRequestBase { bool? IsPreventCorruptionRisk; String? AntiCorruptionMeasuresDescription; bool? IsPartnerCorrupt; bool? IsCorruptionInspection; String? CriminalJudgement; bool? IsPartnerConvictedCorruption; String? PartnerConvictedEDocument; String? PartnerConvictedDetails; bool? IsSelfExoneration; String? SelfExonerationDetails; bool? IsPartnerPEPContact; String? PartnerPEPContactDetails; bool? IsPartnerPEP; String? PartnerPEPDetails; String? Other; bool? IsActualOwner; String? ActualOwnerComment; bool? IsPrivateOwner; bool? IsOrganizationOwner; ModifyComplianceBase({this.IsPreventCorruptionRisk,this.AntiCorruptionMeasuresDescription,this.IsPartnerCorrupt,this.IsCorruptionInspection,this.CriminalJudgement,this.IsPartnerConvictedCorruption,this.PartnerConvictedEDocument,this.PartnerConvictedDetails,this.IsSelfExoneration,this.SelfExonerationDetails,this.IsPartnerPEPContact,this.PartnerPEPContactDetails,this.IsPartnerPEP,this.PartnerPEPDetails,this.Other,this.IsActualOwner,this.ActualOwnerComment,this.IsPrivateOwner,this.IsOrganizationOwner}); ModifyComplianceBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); IsPreventCorruptionRisk = json['IsPreventCorruptionRisk']; AntiCorruptionMeasuresDescription = json['AntiCorruptionMeasuresDescription']; IsPartnerCorrupt = json['IsPartnerCorrupt']; IsCorruptionInspection = json['IsCorruptionInspection']; CriminalJudgement = json['CriminalJudgement']; IsPartnerConvictedCorruption = json['IsPartnerConvictedCorruption']; PartnerConvictedEDocument = json['PartnerConvictedEDocument']; PartnerConvictedDetails = json['PartnerConvictedDetails']; IsSelfExoneration = json['IsSelfExoneration']; SelfExonerationDetails = json['SelfExonerationDetails']; IsPartnerPEPContact = json['IsPartnerPEPContact']; PartnerPEPContactDetails = json['PartnerPEPContactDetails']; IsPartnerPEP = json['IsPartnerPEP']; PartnerPEPDetails = json['PartnerPEPDetails']; Other = json['Other']; IsActualOwner = json['IsActualOwner']; ActualOwnerComment = json['ActualOwnerComment']; IsPrivateOwner = json['IsPrivateOwner']; IsOrganizationOwner = json['IsOrganizationOwner']; return this; } Map toJson() => super.toJson()..addAll({ 'IsPreventCorruptionRisk': IsPreventCorruptionRisk, 'AntiCorruptionMeasuresDescription': AntiCorruptionMeasuresDescription, 'IsPartnerCorrupt': IsPartnerCorrupt, 'IsCorruptionInspection': IsCorruptionInspection, 'CriminalJudgement': CriminalJudgement, 'IsPartnerConvictedCorruption': IsPartnerConvictedCorruption, 'PartnerConvictedEDocument': PartnerConvictedEDocument, 'PartnerConvictedDetails': PartnerConvictedDetails, 'IsSelfExoneration': IsSelfExoneration, 'SelfExonerationDetails': SelfExonerationDetails, 'IsPartnerPEPContact': IsPartnerPEPContact, 'PartnerPEPContactDetails': PartnerPEPContactDetails, 'IsPartnerPEP': IsPartnerPEP, 'PartnerPEPDetails': PartnerPEPDetails, 'Other': Other, 'IsActualOwner': IsActualOwner, 'ActualOwnerComment': ActualOwnerComment, 'IsPrivateOwner': IsPrivateOwner, 'IsOrganizationOwner': IsOrganizationOwner }); getTypeName() => "ModifyComplianceBase"; 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}/user/{userid}/compliance/{complianceid}", "PUT") class EditCompliance extends ModifyComplianceBase implements IReturn, IPut, IConvertible { int? TenderId; int? UserId; int? ComplianceId; EditCompliance({this.TenderId,this.UserId,this.ComplianceId}); EditCompliance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TenderId = json['TenderId']; UserId = json['UserId']; ComplianceId = json['ComplianceId']; return this; } Map toJson() => super.toJson()..addAll({ 'TenderId': TenderId, 'UserId': UserId, 'ComplianceId': ComplianceId }); createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "EditCompliance"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'ModifyRequestBase': TypeInfo(TypeOf.AbstractClass), 'ModifyComplianceBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'EditCompliance': TypeInfo(TypeOf.Class, create:() => EditCompliance()), });