/* Options: Date: 2025-05-04 23:19:26 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SearchPhoneNumbers.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* /** * Search for phone numbers */ @Route(Path="/endpoints/phone-numbers/search", Verbs="GET") @Api(Description="Search for phone numbers") open class SearchPhoneNumbers : IReturn>, IGet { /** * The account you are searching for */ @ApiMember(Description="The account you are searching for") open var accountId:String? = null /** * The area code */ @ApiMember(Description="The area code") open var areaCode:String? = null /** * The country code you are searching for */ @ApiMember(Description="The country code you are searching for") open var countryCode:String? = null /** * The postal code you are searching for */ @ApiMember(Description="The postal code you are searching for") open var postalCode:String? = null /** * The distance from the specified postal code (default is 100) */ @ApiMember(Description="The distance from the specified postal code (default is 100)") open var distance:Int? = null /** * Search for fax numbers */ @ApiMember(Description="Search for fax numbers") open var isFaxNumber:Boolean? = null /** * Contains specific digits */ @ApiMember(Description="Contains specific digits") open var contains:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = SearchPhoneNumbers.responseType }