/* 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: GetRegionsByCountry.* //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/utils/regions/{CountryId}", Verbs="GET") // @Route(Path="/api/v1/utils/regions", Verbs="GET") public static class GetRegionsByCountry implements IReturn, IGet { public Integer countryId = null; public Integer getCountryId() { return countryId; } public GetRegionsByCountry setCountryId(Integer value) { this.countryId = value; return this; } private static Object responseType = GetRegionsByCountryResponse.class; public Object getResponseType() { return responseType; } } public static class GetRegionsByCountryResponse extends BaseResponse { public ArrayList regions = null; public ArrayList getRegions() { return regions; } public GetRegionsByCountryResponse setRegions(ArrayList value) { this.regions = 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; } } public static class Country { public Integer id = null; @Required() @StringLength(2) public String code = null; @Required() @StringLength(3) public String phoneCode = null; @Required() @StringLength(200) public String name = null; @Required() @StringLength(5) public String currencySymbol = null; @Required() @StringLength(200) public String currencyName = null; @Required() public Integer order = null; public Integer getId() { return id; } public Country setId(Integer value) { this.id = value; return this; } public String getCode() { return code; } public Country setCode(String value) { this.code = value; return this; } public String getPhoneCode() { return phoneCode; } public Country setPhoneCode(String value) { this.phoneCode = value; return this; } public String getName() { return name; } public Country setName(String value) { this.name = value; return this; } public String getCurrencySymbol() { return currencySymbol; } public Country setCurrencySymbol(String value) { this.currencySymbol = value; return this; } public String getCurrencyName() { return currencyName; } public Country setCurrencyName(String value) { this.currencyName = value; return this; } public Integer getOrder() { return order; } public Country setOrder(Integer value) { this.order = value; return this; } } public static class Region { public Integer id = null; @References(Country.class) public Integer countryId = null; @Required() @StringLength(200) public String name = null; public Integer getId() { return id; } public Region setId(Integer value) { this.id = value; return this; } public Integer getCountryId() { return countryId; } public Region setCountryId(Integer value) { this.countryId = value; return this; } public String getName() { return name; } public Region setName(String value) { this.name = value; return this; } } }