/* Options: Date: 2025-08-04 04:13:09 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: BrowseContractByVeoliaAdmin.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/contract/{contractid}", Verbs="GET") public static class BrowseContractByVeoliaAdmin implements IReturn, IGet { public Integer ContractId = null; public Integer getContractId() { return ContractId; } public BrowseContractByVeoliaAdmin setContractId(Integer value) { this.ContractId = value; return this; } private static Object responseType = BrowseContractResponse.class; public Object getResponseType() { return responseType; } } public static class BrowseContractResponse extends ResponseBase { public ContractDetails Contract = null; public ContractDetails getContract() { return Contract; } public BrowseContractResponse setContract(ContractDetails value) { this.Contract = value; return this; } } public static interface IConcurrencyStamp { public String ConcurrencyStamp = null; } public static enum ProcedureType { @SerializedName("0") Competition(0), @SerializedName("1") Simplified(1); private final int value; ProcedureType(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum TenderType { @SerializedName("0") Private(0), @SerializedName("1") Public(1); private final int value; TenderType(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum TenderStatus { @SerializedName("0") FirstRound(0), @SerializedName("1") SecondRound(1), @SerializedName("2") ThirdRound(2), @SerializedName("3") Successful(3), @SerializedName("4") UnSuccessful(4), @SerializedName("5") Revoked(5); private final int value; TenderStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class TenderBase { public String TenderIdentifier = null; public TenderType TenderType = null; public String Subject = null; public String ProcurementContact = null; public String ProcurementContactEmail = null; public String ProcurementContactPhone = null; public String ProfessionalContact = null; public String ProfessionalContactEmail = null; public String ProfessionalContactPhone = null; public String Result = null; public TenderStatus Status = null; public String getTenderIdentifier() { return TenderIdentifier; } public TenderBase setTenderIdentifier(String value) { this.TenderIdentifier = value; return this; } public TenderType getTenderType() { return TenderType; } public TenderBase setTenderType(TenderType value) { this.TenderType = value; return this; } public String getSubject() { return Subject; } public TenderBase setSubject(String value) { this.Subject = value; return this; } public String getProcurementContact() { return ProcurementContact; } public TenderBase setProcurementContact(String value) { this.ProcurementContact = value; return this; } public String getProcurementContactEmail() { return ProcurementContactEmail; } public TenderBase setProcurementContactEmail(String value) { this.ProcurementContactEmail = value; return this; } public String getProcurementContactPhone() { return ProcurementContactPhone; } public TenderBase setProcurementContactPhone(String value) { this.ProcurementContactPhone = value; return this; } public String getProfessionalContact() { return ProfessionalContact; } public TenderBase setProfessionalContact(String value) { this.ProfessionalContact = value; return this; } public String getProfessionalContactEmail() { return ProfessionalContactEmail; } public TenderBase setProfessionalContactEmail(String value) { this.ProfessionalContactEmail = value; return this; } public String getProfessionalContactPhone() { return ProfessionalContactPhone; } public TenderBase setProfessionalContactPhone(String value) { this.ProfessionalContactPhone = value; return this; } public String getResult() { return Result; } public TenderBase setResult(String value) { this.Result = value; return this; } public TenderStatus getStatus() { return Status; } public TenderBase setStatus(TenderStatus value) { this.Status = value; return this; } } public static class ModifyContractBase extends ModifyRequestBase { public Integer TenderUserId = null; public String ContractIdentifier = null; public Integer SupplierUserId = null; public String Buyer = null; public String Subject = null; public Date ConfirmationDeadline = null; public Integer getTenderUserId() { return TenderUserId; } public ModifyContractBase setTenderUserId(Integer value) { this.TenderUserId = value; return this; } public String getContractIdentifier() { return ContractIdentifier; } public ModifyContractBase setContractIdentifier(String value) { this.ContractIdentifier = value; return this; } public Integer getSupplierUserId() { return SupplierUserId; } public ModifyContractBase setSupplierUserId(Integer value) { this.SupplierUserId = value; return this; } public String getBuyer() { return Buyer; } public ModifyContractBase setBuyer(String value) { this.Buyer = value; return this; } public String getSubject() { return Subject; } public ModifyContractBase setSubject(String value) { this.Subject = value; return this; } public Date getConfirmationDeadline() { return ConfirmationDeadline; } public ModifyContractBase setConfirmationDeadline(Date value) { this.ConfirmationDeadline = value; return this; } } public static class ResponseBase { public ResponseStatus ResponseStatus = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public ResponseBase setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class ContractDetails extends ModifyContractBase { public Integer Id = null; public Date CancellationDateTime = null; public Boolean IsCancelled = null; public HashMap Meta = null; public ArrayList ContractVersions = null; public TenderDetails Tender = null; public Integer getId() { return Id; } public ContractDetails setId(Integer value) { this.Id = value; return this; } public Date getCancellationDateTime() { return CancellationDateTime; } public ContractDetails setCancellationDateTime(Date value) { this.CancellationDateTime = value; return this; } public Boolean getIsCancelled() { return IsCancelled; } public ContractDetails setIsCancelled(Boolean value) { this.IsCancelled = value; return this; } public HashMap getMeta() { return Meta; } public ContractDetails setMeta(HashMap value) { this.Meta = value; return this; } public ArrayList getContractVersions() { return ContractVersions; } public ContractDetails setContractVersions(ArrayList value) { this.ContractVersions = value; return this; } public TenderDetails getTender() { return Tender; } public ContractDetails setTender(TenderDetails value) { this.Tender = value; return this; } } public static class TenderDetails extends TenderBase implements IConcurrencyStamp { public Integer Id = null; public Integer StarterTenderRoundId = null; public ProcedureType ProcedureType = null; public HashMap Meta = null; public ArrayList TenderFiles = null; public ArrayList TenderRounds = null; public String ConcurrencyStamp = null; public Boolean IsProcurementEnabled = null; public Boolean IsComplianceEnabled = null; public Integer getId() { return Id; } public TenderDetails setId(Integer value) { this.Id = value; return this; } public Integer getStarterTenderRoundId() { return StarterTenderRoundId; } public TenderDetails setStarterTenderRoundId(Integer value) { this.StarterTenderRoundId = value; return this; } public ProcedureType getProcedureType() { return ProcedureType; } public TenderDetails setProcedureType(ProcedureType value) { this.ProcedureType = value; return this; } public HashMap getMeta() { return Meta; } public TenderDetails setMeta(HashMap value) { this.Meta = value; return this; } public ArrayList getTenderFiles() { return TenderFiles; } public TenderDetails setTenderFiles(ArrayList value) { this.TenderFiles = value; return this; } public ArrayList getTenderRounds() { return TenderRounds; } public TenderDetails setTenderRounds(ArrayList value) { this.TenderRounds = value; return this; } public String getConcurrencyStamp() { return ConcurrencyStamp; } public TenderDetails setConcurrencyStamp(String value) { this.ConcurrencyStamp = value; return this; } public Boolean getIsProcurementEnabled() { return IsProcurementEnabled; } public TenderDetails setIsProcurementEnabled(Boolean value) { this.IsProcurementEnabled = value; return this; } public Boolean getIsComplianceEnabled() { return IsComplianceEnabled; } public TenderDetails setIsComplianceEnabled(Boolean value) { this.IsComplianceEnabled = value; return this; } } public static class TenderFileDetails extends BrowseFileResponseBase { public Integer TenderId = null; public String DocumentType = null; public Boolean IsTenderAnnouncement = null; public Integer getTenderId() { return TenderId; } public TenderFileDetails setTenderId(Integer value) { this.TenderId = value; return this; } public String getDocumentType() { return DocumentType; } public TenderFileDetails setDocumentType(String value) { this.DocumentType = value; return this; } public Boolean getIsTenderAnnouncement() { return IsTenderAnnouncement; } public TenderFileDetails setIsTenderAnnouncement(Boolean value) { this.IsTenderAnnouncement = value; return this; } } public static class ModifyRequestBase implements IConcurrencyStamp { public String ConcurrencyStamp = null; public String getConcurrencyStamp() { return ConcurrencyStamp; } public ModifyRequestBase setConcurrencyStamp(String value) { this.ConcurrencyStamp = value; return this; } } public static class ContractVersionSimple { public Integer Id = null; public Integer ContractId = null; public Integer Version = null; public Boolean IsViewed = null; public ReviewStatus Status = null; public Integer getId() { return Id; } public ContractVersionSimple setId(Integer value) { this.Id = value; return this; } public Integer getContractId() { return ContractId; } public ContractVersionSimple setContractId(Integer value) { this.ContractId = value; return this; } public Integer getVersion() { return Version; } public ContractVersionSimple setVersion(Integer value) { this.Version = value; return this; } public Boolean getIsViewed() { return IsViewed; } public ContractVersionSimple setIsViewed(Boolean value) { this.IsViewed = value; return this; } public ReviewStatus getStatus() { return Status; } public ContractVersionSimple setStatus(ReviewStatus value) { this.Status = value; return this; } } public static enum ReviewStatus { @SerializedName("0") Draft(0), @SerializedName("1") Commented(1), @SerializedName("2") Accepted(2); private final int value; ReviewStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class BrowseFileResponseBase { public Integer Id = null; public Integer FileContentId = null; public String FileName = null; public Long Size = null; public Integer getId() { return Id; } public BrowseFileResponseBase setId(Integer value) { this.Id = value; return this; } public Integer getFileContentId() { return FileContentId; } public BrowseFileResponseBase setFileContentId(Integer value) { this.FileContentId = value; return this; } public String getFileName() { return FileName; } public BrowseFileResponseBase setFileName(String value) { this.FileName = value; return this; } public Long getSize() { return Size; } public BrowseFileResponseBase setSize(Long value) { this.Size = value; return this; } } public static class TenderRoundSimple { public Integer Id = null; public String Name = null; public Boolean IsQuestionEnabled = null; public Date QuestionDeadline = null; public Date AnswerDeadline = null; public Date SubmissionDeadline = null; public Boolean IsSupplementaryEnabled = null; public Date SupplementaryRequestDeadline = null; public Date SupplementaryDeadline = null; public Date AnnouncementDateTime = null; public Integer Status = null; public Integer getId() { return Id; } public TenderRoundSimple setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public TenderRoundSimple setName(String value) { this.Name = value; return this; } public Boolean getIsQuestionEnabled() { return IsQuestionEnabled; } public TenderRoundSimple setIsQuestionEnabled(Boolean value) { this.IsQuestionEnabled = value; return this; } public Date getQuestionDeadline() { return QuestionDeadline; } public TenderRoundSimple setQuestionDeadline(Date value) { this.QuestionDeadline = value; return this; } public Date getAnswerDeadline() { return AnswerDeadline; } public TenderRoundSimple setAnswerDeadline(Date value) { this.AnswerDeadline = value; return this; } public Date getSubmissionDeadline() { return SubmissionDeadline; } public TenderRoundSimple setSubmissionDeadline(Date value) { this.SubmissionDeadline = value; return this; } public Boolean getIsSupplementaryEnabled() { return IsSupplementaryEnabled; } public TenderRoundSimple setIsSupplementaryEnabled(Boolean value) { this.IsSupplementaryEnabled = value; return this; } public Date getSupplementaryRequestDeadline() { return SupplementaryRequestDeadline; } public TenderRoundSimple setSupplementaryRequestDeadline(Date value) { this.SupplementaryRequestDeadline = value; return this; } public Date getSupplementaryDeadline() { return SupplementaryDeadline; } public TenderRoundSimple setSupplementaryDeadline(Date value) { this.SupplementaryDeadline = value; return this; } public Date getAnnouncementDateTime() { return AnnouncementDateTime; } public TenderRoundSimple setAnnouncementDateTime(Date value) { this.AnnouncementDateTime = value; return this; } public Integer getStatus() { return Status; } public TenderRoundSimple setStatus(Integer value) { this.Status = value; return this; } } }