/* Options: Date: 2026-08-17 08:32:30 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: WebshopVariantCreateRequest.* //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="/Webshop/Variant", Verbs="POST") public static class WebshopVariantCreateRequest implements IReturn { public WebshopProductVariant item = null; public Integer ownerId = null; public WebshopProductVariant getItem() { return item; } public WebshopVariantCreateRequest setItem(WebshopProductVariant value) { this.item = value; return this; } public Integer getOwnerId() { return ownerId; } public WebshopVariantCreateRequest setOwnerId(Integer value) { this.ownerId = value; return this; } private static Object responseType = WebshopVariantResult.class; public Object getResponseType() { return responseType; } } public static class WebshopVariantResult { public WebshopVariantSummary variant = null; public Integer statusCode = null; public String message = null; public WebshopVariantSummary getVariant() { return variant; } public WebshopVariantResult setVariant(WebshopVariantSummary value) { this.variant = value; return this; } public Integer getStatusCode() { return statusCode; } public WebshopVariantResult setStatusCode(Integer value) { this.statusCode = value; return this; } public String getMessage() { return message; } public WebshopVariantResult setMessage(String value) { this.message = value; return this; } } public static class WebshopProductVariant { public Integer id = null; public Integer productId = null; @StringLength(50) public String size = null; @StringLength(50) public String color = null; public Integer stockOnHand = null; public Integer quantitySold = null; @StringLength(20) public String status = null; public Integer version = null; public Integer legacyDetailId = null; public Date createdAt = null; public Date updatedAt = null; public Integer getId() { return id; } public WebshopProductVariant setId(Integer value) { this.id = value; return this; } public Integer getProductId() { return productId; } public WebshopProductVariant setProductId(Integer value) { this.productId = value; return this; } public String getSize() { return size; } public WebshopProductVariant setSize(String value) { this.size = value; return this; } public String getColor() { return color; } public WebshopProductVariant setColor(String value) { this.color = value; return this; } public Integer getStockOnHand() { return stockOnHand; } public WebshopProductVariant setStockOnHand(Integer value) { this.stockOnHand = value; return this; } public Integer getQuantitySold() { return quantitySold; } public WebshopProductVariant setQuantitySold(Integer value) { this.quantitySold = value; return this; } public String getStatus() { return status; } public WebshopProductVariant setStatus(String value) { this.status = value; return this; } public Integer getVersion() { return version; } public WebshopProductVariant setVersion(Integer value) { this.version = value; return this; } public Integer getLegacyDetailId() { return legacyDetailId; } public WebshopProductVariant setLegacyDetailId(Integer value) { this.legacyDetailId = value; return this; } public Date getCreatedAt() { return createdAt; } public WebshopProductVariant setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getUpdatedAt() { return updatedAt; } public WebshopProductVariant setUpdatedAt(Date value) { this.updatedAt = value; return this; } } public static class WebshopVariantSummary { public Integer id = null; public Integer productId = null; public String size = null; public String color = null; public Integer stockOnHand = null; public Integer quantitySold = null; public Integer availableQuantity = null; public String status = null; public Integer getId() { return id; } public WebshopVariantSummary setId(Integer value) { this.id = value; return this; } public Integer getProductId() { return productId; } public WebshopVariantSummary setProductId(Integer value) { this.productId = value; return this; } public String getSize() { return size; } public WebshopVariantSummary setSize(String value) { this.size = value; return this; } public String getColor() { return color; } public WebshopVariantSummary setColor(String value) { this.color = value; return this; } public Integer getStockOnHand() { return stockOnHand; } public WebshopVariantSummary setStockOnHand(Integer value) { this.stockOnHand = value; return this; } public Integer getQuantitySold() { return quantitySold; } public WebshopVariantSummary setQuantitySold(Integer value) { this.quantitySold = value; return this; } public Integer getAvailableQuantity() { return availableQuantity; } public WebshopVariantSummary setAvailableQuantity(Integer value) { this.availableQuantity = value; return this; } public String getStatus() { return status; } public WebshopVariantSummary setStatus(String value) { this.status = value; return this; } } }