/* Options: Date: 2026-01-22 01:49:47 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pecuario-backend.develsystems.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PublishAnimals.* //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="/api/v1/marketplace/animals", Verbs="POST") public static class PublishAnimals implements IReturn, IPost { public String name = null; public String phoneNumber = null; public Integer regionId = null; public Integer cityId = null; public Integer categoryId = null; public Integer purposeId = null; public String description = null; public Integer quantity = null; public Integer priceTypeId = null; public BigDecimal price = null; public String getName() { return name; } public PublishAnimals setName(String value) { this.name = value; return this; } public String getPhoneNumber() { return phoneNumber; } public PublishAnimals setPhoneNumber(String value) { this.phoneNumber = value; return this; } public Integer getRegionId() { return regionId; } public PublishAnimals setRegionId(Integer value) { this.regionId = value; return this; } public Integer getCityId() { return cityId; } public PublishAnimals setCityId(Integer value) { this.cityId = value; return this; } public Integer getCategoryId() { return categoryId; } public PublishAnimals setCategoryId(Integer value) { this.categoryId = value; return this; } public Integer getPurposeId() { return purposeId; } public PublishAnimals setPurposeId(Integer value) { this.purposeId = value; return this; } public String getDescription() { return description; } public PublishAnimals setDescription(String value) { this.description = value; return this; } public Integer getQuantity() { return quantity; } public PublishAnimals setQuantity(Integer value) { this.quantity = value; return this; } public Integer getPriceTypeId() { return priceTypeId; } public PublishAnimals setPriceTypeId(Integer value) { this.priceTypeId = value; return this; } public BigDecimal getPrice() { return price; } public PublishAnimals setPrice(BigDecimal value) { this.price = value; return this; } private static Object responseType = PublishAnimalsResponse.class; public Object getResponseType() { return responseType; } } public static class PublishAnimalsResponse extends BaseResponse { public String id = null; public String getId() { return id; } public PublishAnimalsResponse setId(String value) { this.id = value; return this; } } public static class Status { public String message = null; public Integer statusCode = null; public String getMessage() { return message; } public Status setMessage(String value) { this.message = value; return this; } public Integer getStatusCode() { return statusCode; } public Status setStatusCode(Integer value) { this.statusCode = value; return this; } } public static class BaseResponse { public Status status = null; public Status getStatus() { return status; } public BaseResponse setStatus(Status value) { this.status = value; return this; } } }