/* Options: Date: 2025-08-03 14:51:53 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: BrowseCompliance.* //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 ComplianceBase { int? TenderId; int? UserId; int? ComplianceId; ComplianceBase({this.TenderId,this.UserId,this.ComplianceId}); ComplianceBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderId = json['TenderId']; UserId = json['UserId']; ComplianceId = json['ComplianceId']; return this; } Map toJson() => { 'TenderId': TenderId, 'UserId': UserId, 'ComplianceId': ComplianceId }; getTypeName() => "ComplianceBase"; TypeContext? context = _ctx; } abstract class ModifyPrivateOwnerBase extends ModifyRequestBase { int? ComplianceId; String? Name; DateTime? BirthDate; double? Ownership; ModifyPrivateOwnerBase({this.ComplianceId,this.Name,this.BirthDate,this.Ownership}); ModifyPrivateOwnerBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ComplianceId = json['ComplianceId']; Name = json['Name']; BirthDate = JsonConverters.fromJson(json['BirthDate'],'DateTime',context!); Ownership = JsonConverters.toDouble(json['Ownership']); return this; } Map toJson() => super.toJson()..addAll({ 'ComplianceId': ComplianceId, 'Name': Name, 'BirthDate': JsonConverters.toJson(BirthDate,'DateTime',context!), 'Ownership': Ownership }); getTypeName() => "ModifyPrivateOwnerBase"; TypeContext? context = _ctx; } abstract class ModifyActualOwnerBase extends ModifyRequestBase { int? ComplianceId; String? Name; DateTime? BirthDate; double? Ownership; ModifyActualOwnerBase({this.ComplianceId,this.Name,this.BirthDate,this.Ownership}); ModifyActualOwnerBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ComplianceId = json['ComplianceId']; Name = json['Name']; BirthDate = JsonConverters.fromJson(json['BirthDate'],'DateTime',context!); Ownership = JsonConverters.toDouble(json['Ownership']); return this; } Map toJson() => super.toJson()..addAll({ 'ComplianceId': ComplianceId, 'Name': Name, 'BirthDate': JsonConverters.toJson(BirthDate,'DateTime',context!), 'Ownership': Ownership }); getTypeName() => "ModifyActualOwnerBase"; TypeContext? context = _ctx; } abstract class ModifyOrganizationOwnerBase extends ModifyRequestBase { int? ComplianceId; int? CountryId; String? VatNumber; String? RegistrationNumber; String? Name; String? ShortName; String? Address; String? MainActivity; DateTime? EstablishedDate; double? Ownership; ModifyOrganizationOwnerBase({this.ComplianceId,this.CountryId,this.VatNumber,this.RegistrationNumber,this.Name,this.ShortName,this.Address,this.MainActivity,this.EstablishedDate,this.Ownership}); ModifyOrganizationOwnerBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ComplianceId = json['ComplianceId']; CountryId = json['CountryId']; VatNumber = json['VatNumber']; RegistrationNumber = json['RegistrationNumber']; Name = json['Name']; ShortName = json['ShortName']; Address = json['Address']; MainActivity = json['MainActivity']; EstablishedDate = JsonConverters.fromJson(json['EstablishedDate'],'DateTime',context!); Ownership = JsonConverters.toDouble(json['Ownership']); return this; } Map toJson() => super.toJson()..addAll({ 'ComplianceId': ComplianceId, 'CountryId': CountryId, 'VatNumber': VatNumber, 'RegistrationNumber': RegistrationNumber, 'Name': Name, 'ShortName': ShortName, 'Address': Address, 'MainActivity': MainActivity, 'EstablishedDate': JsonConverters.toJson(EstablishedDate,'DateTime',context!), 'Ownership': Ownership }); getTypeName() => "ModifyOrganizationOwnerBase"; 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 PrivateOwnerDetails extends ModifyPrivateOwnerBase implements IConvertible { int? Id; PrivateOwnerDetails({this.Id}); PrivateOwnerDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "PrivateOwnerDetails"; TypeContext? context = _ctx; } class ActualOwnerDetails extends ModifyActualOwnerBase implements IConvertible { int? Id; ActualOwnerDetails({this.Id}); ActualOwnerDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "ActualOwnerDetails"; TypeContext? context = _ctx; } class OrganizationOwnerDetails extends ModifyOrganizationOwnerBase implements IConvertible { int? Id; String? CountryName; String? CountryCode; OrganizationOwnerDetails({this.Id,this.CountryName,this.CountryCode}); OrganizationOwnerDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; CountryName = json['CountryName']; CountryCode = json['CountryCode']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'CountryName': CountryName, 'CountryCode': CountryCode }); getTypeName() => "OrganizationOwnerDetails"; TypeContext? context = _ctx; } class ComplianceDetails extends ModifyComplianceBase implements IConvertible { int? Id; int? SubmittedById; DateTime? SubmissionDateTime; bool? IsSubmitted; List? PrivateOwners; List? ActualOwners; List? OrganizationOwners; ComplianceDetails({this.Id,this.SubmittedById,this.SubmissionDateTime,this.IsSubmitted,this.PrivateOwners,this.ActualOwners,this.OrganizationOwners}); ComplianceDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; SubmittedById = json['SubmittedById']; SubmissionDateTime = JsonConverters.fromJson(json['SubmissionDateTime'],'DateTime',context!); IsSubmitted = json['IsSubmitted']; PrivateOwners = JsonConverters.fromJson(json['PrivateOwners'],'List',context!); ActualOwners = JsonConverters.fromJson(json['ActualOwners'],'List',context!); OrganizationOwners = JsonConverters.fromJson(json['OrganizationOwners'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'SubmittedById': SubmittedById, 'SubmissionDateTime': JsonConverters.toJson(SubmissionDateTime,'DateTime',context!), 'IsSubmitted': IsSubmitted, 'PrivateOwners': JsonConverters.toJson(PrivateOwners,'List',context!), 'ActualOwners': JsonConverters.toJson(ActualOwners,'List',context!), 'OrganizationOwners': JsonConverters.toJson(OrganizationOwners,'List',context!) }); getTypeName() => "ComplianceDetails"; TypeContext? context = _ctx; } class BrowseComplianceResponse extends ResponseBase implements IConvertible { ComplianceDetails? Compliance; BrowseComplianceResponse({this.Compliance}); BrowseComplianceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Compliance = JsonConverters.fromJson(json['Compliance'],'ComplianceDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Compliance': JsonConverters.toJson(Compliance,'ComplianceDetails',context!) }); getTypeName() => "BrowseComplianceResponse"; TypeContext? context = _ctx; } // @Route("/tender/{tenderid}/user/{userid}/compliance/{complianceid}", "GET") class BrowseCompliance extends ComplianceBase implements IReturn, IGet, IConvertible { BrowseCompliance(); BrowseCompliance.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => BrowseComplianceResponse(); getResponseTypeName() => "BrowseComplianceResponse"; getTypeName() => "BrowseCompliance"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'ModifyRequestBase': TypeInfo(TypeOf.AbstractClass), 'ModifyComplianceBase': TypeInfo(TypeOf.AbstractClass), 'ComplianceBase': TypeInfo(TypeOf.AbstractClass), 'ModifyPrivateOwnerBase': TypeInfo(TypeOf.AbstractClass), 'ModifyActualOwnerBase': TypeInfo(TypeOf.AbstractClass), 'ModifyOrganizationOwnerBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'PrivateOwnerDetails': TypeInfo(TypeOf.Class, create:() => PrivateOwnerDetails()), 'ActualOwnerDetails': TypeInfo(TypeOf.Class, create:() => ActualOwnerDetails()), 'OrganizationOwnerDetails': TypeInfo(TypeOf.Class, create:() => OrganizationOwnerDetails()), 'ComplianceDetails': TypeInfo(TypeOf.Class, create:() => ComplianceDetails()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseComplianceResponse': TypeInfo(TypeOf.Class, create:() => BrowseComplianceResponse()), 'BrowseCompliance': TypeInfo(TypeOf.Class, create:() => BrowseCompliance()), });