/* Options: Date: 2024-12-22 21:38:24 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateInvoiceItems.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/invoiceitems/{InvoiceLineId}", Verbs="PUT") public static class UpdateInvoiceItems implements IReturn, IPut, IUpdateDb { public Long invoiceLineId = null; public Long invoiceId = null; public Long trackId = null; public BigDecimal unitPrice = null; public Long quantity = null; public Long getInvoiceLineId() { return invoiceLineId; } public UpdateInvoiceItems setInvoiceLineId(Long value) { this.invoiceLineId = value; return this; } public Long getInvoiceId() { return invoiceId; } public UpdateInvoiceItems setInvoiceId(Long value) { this.invoiceId = value; return this; } public Long getTrackId() { return trackId; } public UpdateInvoiceItems setTrackId(Long value) { this.trackId = value; return this; } public BigDecimal getUnitPrice() { return unitPrice; } public UpdateInvoiceItems setUnitPrice(BigDecimal value) { this.unitPrice = value; return this; } public Long getQuantity() { return quantity; } public UpdateInvoiceItems setQuantity(Long value) { this.quantity = value; return this; } private static Object responseType = IdResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class IdResponse { @DataMember(Order=1) public String id = null; @DataMember(Order=2) public ResponseStatus responseStatus = null; public String getId() { return id; } public IdResponse setId(String value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public IdResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class InvoiceItems { public Long invoiceLineId = null; public Long invoiceId = null; public Long trackId = null; public BigDecimal unitPrice = null; public Long quantity = null; public Long getInvoiceLineId() { return invoiceLineId; } public InvoiceItems setInvoiceLineId(Long value) { this.invoiceLineId = value; return this; } public Long getInvoiceId() { return invoiceId; } public InvoiceItems setInvoiceId(Long value) { this.invoiceId = value; return this; } public Long getTrackId() { return trackId; } public InvoiceItems setTrackId(Long value) { this.trackId = value; return this; } public BigDecimal getUnitPrice() { return unitPrice; } public InvoiceItems setUnitPrice(BigDecimal value) { this.unitPrice = value; return this; } public Long getQuantity() { return quantity; } public InvoiceItems setQuantity(Long value) { this.quantity = value; return this; } } }