/* Options: Date: 2025-09-22 22:12:39 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://accounts.dev.healthmonix.com/api/ //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateProduct.* //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="/products/{id}", Verbs="PUT") public static class UpdateProduct implements IReturn { public String id = null; public String name = null; public String description = null; public BigDecimal price = null; public String productType = null; public Integer year = null; public String applicationId = null; public String requiredProductId = null; public String scope = null; public String feature = null; public ArrayList childProductIds = null; public HashMap volumeDiscounts = null; public String getId() { return id; } public UpdateProduct setId(String value) { this.id = value; return this; } public String getName() { return name; } public UpdateProduct setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public UpdateProduct setDescription(String value) { this.description = value; return this; } public BigDecimal getPrice() { return price; } public UpdateProduct setPrice(BigDecimal value) { this.price = value; return this; } public String getProductType() { return productType; } public UpdateProduct setProductType(String value) { this.productType = value; return this; } public Integer getYear() { return year; } public UpdateProduct setYear(Integer value) { this.year = value; return this; } public String getApplicationId() { return applicationId; } public UpdateProduct setApplicationId(String value) { this.applicationId = value; return this; } public String getRequiredProductId() { return requiredProductId; } public UpdateProduct setRequiredProductId(String value) { this.requiredProductId = value; return this; } public String getScope() { return scope; } public UpdateProduct setScope(String value) { this.scope = value; return this; } public String getFeature() { return feature; } public UpdateProduct setFeature(String value) { this.feature = value; return this; } public ArrayList getChildProductIds() { return childProductIds; } public UpdateProduct setChildProductIds(ArrayList value) { this.childProductIds = value; return this; } public HashMap getVolumeDiscounts() { return volumeDiscounts; } public UpdateProduct setVolumeDiscounts(HashMap value) { this.volumeDiscounts = value; return this; } private static Object responseType = UpdateProductResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateProductResponse { public String message = null; public HttpStatusCode status = null; public ResponseStatus responseStatus = null; public String getMessage() { return message; } public UpdateProductResponse setMessage(String value) { this.message = value; return this; } public HttpStatusCode getStatus() { return status; } public UpdateProductResponse setStatus(HttpStatusCode value) { this.status = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateProductResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }