/* Options: Date: 2025-05-04 22:28:47 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SearchPhoneNumbers.* //ExcludeTypes: //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.*; public class dtos { /** * Search for phone numbers */ @Route(Path="/endpoints/phone-numbers/search", Verbs="GET") @Api(Description="Search for phone numbers") public static class SearchPhoneNumbers implements IReturn>, IGet { /** * The account you are searching for */ @ApiMember(Description="The account you are searching for") public String accountId = null; /** * The area code */ @ApiMember(Description="The area code") public String areaCode = null; /** * The country code you are searching for */ @ApiMember(Description="The country code you are searching for") public String countryCode = null; /** * The postal code you are searching for */ @ApiMember(Description="The postal code you are searching for") public String postalCode = null; /** * The distance from the specified postal code (default is 100) */ @ApiMember(Description="The distance from the specified postal code (default is 100)") public Integer distance = null; /** * Search for fax numbers */ @ApiMember(Description="Search for fax numbers") public Boolean isFaxNumber = null; /** * Contains specific digits */ @ApiMember(Description="Contains specific digits") public String contains = null; public String getAccountId() { return accountId; } public SearchPhoneNumbers setAccountId(String value) { this.accountId = value; return this; } public String getAreaCode() { return areaCode; } public SearchPhoneNumbers setAreaCode(String value) { this.areaCode = value; return this; } public String getCountryCode() { return countryCode; } public SearchPhoneNumbers setCountryCode(String value) { this.countryCode = value; return this; } public String getPostalCode() { return postalCode; } public SearchPhoneNumbers setPostalCode(String value) { this.postalCode = value; return this; } public Integer getDistance() { return distance; } public SearchPhoneNumbers setDistance(Integer value) { this.distance = value; return this; } public Boolean getIsFaxNumber() { return isFaxNumber; } public SearchPhoneNumbers setIsFaxNumber(Boolean value) { this.isFaxNumber = value; return this; } public String getContains() { return contains; } public SearchPhoneNumbers setContains(String value) { this.contains = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } }