/* Options: Date: 2025-08-04 04:08:42 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: BrowsePurchaseOrder.* //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="/user/{supplieruserid}/purchaseorder/{purchaseorderid}", Verbs="GET") public static class BrowsePurchaseOrder extends PurchaseOrderBase implements IReturn, IGet { private static Object responseType = BrowsePurchaseOrderResponse.class; public Object getResponseType() { return responseType; } } public static class BrowsePurchaseOrderResponse extends ResponseBase { public PurchaseOrderDetails PurchaseOrder = null; public PurchaseOrderDetails getPurchaseOrder() { return PurchaseOrder; } public BrowsePurchaseOrderResponse setPurchaseOrder(PurchaseOrderDetails value) { this.PurchaseOrder = value; return this; } } public static interface IConcurrencyStamp { public String ConcurrencyStamp = null; } public static class PurchaseOrderBase { public Integer PurchaseOrderId = null; public Integer SupplierUserId = null; public Integer getPurchaseOrderId() { return PurchaseOrderId; } public PurchaseOrderBase setPurchaseOrderId(Integer value) { this.PurchaseOrderId = value; return this; } public Integer getSupplierUserId() { return SupplierUserId; } public PurchaseOrderBase setSupplierUserId(Integer value) { this.SupplierUserId = value; return this; } } public static class ModifyPurchaseOrderBase extends ModifyRequestBase { public String PurchaseOrderIdentifier = null; public Integer TenderUserId = null; public Integer SupplierUserId = null; public String Buyer = null; public String Subject = null; public Date ConfirmationDeadline = null; public String getPurchaseOrderIdentifier() { return PurchaseOrderIdentifier; } public ModifyPurchaseOrderBase setPurchaseOrderIdentifier(String value) { this.PurchaseOrderIdentifier = value; return this; } public Integer getTenderUserId() { return TenderUserId; } public ModifyPurchaseOrderBase setTenderUserId(Integer value) { this.TenderUserId = value; return this; } public Integer getSupplierUserId() { return SupplierUserId; } public ModifyPurchaseOrderBase setSupplierUserId(Integer value) { this.SupplierUserId = value; return this; } public String getBuyer() { return Buyer; } public ModifyPurchaseOrderBase setBuyer(String value) { this.Buyer = value; return this; } public String getSubject() { return Subject; } public ModifyPurchaseOrderBase setSubject(String value) { this.Subject = value; return this; } public Date getConfirmationDeadline() { return ConfirmationDeadline; } public ModifyPurchaseOrderBase 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 PurchaseOrderDetails extends ModifyPurchaseOrderBase { public Integer Id = null; public Date CancellationDateTime = null; public Boolean IsCancelled = null; public HashMap Meta = null; public Integer TenderUserId = null; public Integer TenderId = null; public Integer UserId = null; public ArrayList PurchaseOrderVersions = null; public Integer getId() { return Id; } public PurchaseOrderDetails setId(Integer value) { this.Id = value; return this; } public Date getCancellationDateTime() { return CancellationDateTime; } public PurchaseOrderDetails setCancellationDateTime(Date value) { this.CancellationDateTime = value; return this; } public Boolean getIsCancelled() { return IsCancelled; } public PurchaseOrderDetails setIsCancelled(Boolean value) { this.IsCancelled = value; return this; } public HashMap getMeta() { return Meta; } public PurchaseOrderDetails setMeta(HashMap value) { this.Meta = value; return this; } public Integer getTenderUserId() { return TenderUserId; } public PurchaseOrderDetails setTenderUserId(Integer value) { this.TenderUserId = value; return this; } public Integer getTenderId() { return TenderId; } public PurchaseOrderDetails setTenderId(Integer value) { this.TenderId = value; return this; } public Integer getUserId() { return UserId; } public PurchaseOrderDetails setUserId(Integer value) { this.UserId = value; return this; } public ArrayList getPurchaseOrderVersions() { return PurchaseOrderVersions; } public PurchaseOrderDetails setPurchaseOrderVersions(ArrayList value) { this.PurchaseOrderVersions = 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 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 PurchaseOrderVersionSimple { public Integer Id = null; public Integer PurchaseOrderId = null; public Integer SupplierUserId = null; public Integer Version = null; public Boolean IsViewed = null; public ReviewStatus Status = null; public Integer getId() { return Id; } public PurchaseOrderVersionSimple setId(Integer value) { this.Id = value; return this; } public Integer getPurchaseOrderId() { return PurchaseOrderId; } public PurchaseOrderVersionSimple setPurchaseOrderId(Integer value) { this.PurchaseOrderId = value; return this; } public Integer getSupplierUserId() { return SupplierUserId; } public PurchaseOrderVersionSimple setSupplierUserId(Integer value) { this.SupplierUserId = value; return this; } public Integer getVersion() { return Version; } public PurchaseOrderVersionSimple setVersion(Integer value) { this.Version = value; return this; } public Boolean getIsViewed() { return IsViewed; } public PurchaseOrderVersionSimple setIsViewed(Boolean value) { this.IsViewed = value; return this; } public ReviewStatus getStatus() { return Status; } public PurchaseOrderVersionSimple setStatus(ReviewStatus value) { this.Status = value; return this; } } }