/* Options: Date: 2026-01-22 01:53:53 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pecuario-backend.develsystems.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetCitiesByRegion.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/api/v1/utils/cities/{RegionId}", Verbs="GET") open class GetCitiesByRegion : IReturn, IGet { var regionId:Int? = null companion object { private val responseType = GetCitiesByRegionResponse::class.java } override fun getResponseType(): Any? = GetCitiesByRegion.responseType } open class GetCitiesByRegionResponse : BaseResponse() { var cities:ArrayList = ArrayList() } open class Status { var message:String? = null var statusCode:Int? = null } open class BaseResponse { var status:Status? = null } open class Country { var id:Int? = null @Required() @StringLength(2) var code:String? = null @Required() @StringLength(3) var phoneCode:String? = null @Required() @StringLength(200) var name:String? = null @Required() @StringLength(5) var currencySymbol:String? = null @Required() @StringLength(200) var currencyName:String? = null @Required() var order:Int? = null } open class Region { var id:Int? = null @References(Country.class) var countryId:Int? = null @Required() @StringLength(200) var name:String? = null } open class City { var id:Int? = null @References(Region.class) var regionId:Int? = null @Required() @StringLength(200) var name:String? = null }