Class SearchPattern
- java.lang.Object
-
- com.sinch.sdk.core.utils.EnumDynamic<String,SearchPattern>
-
- com.sinch.sdk.domains.numbers.models.SearchPattern
-
public final class SearchPattern extends EnumDynamic<String,SearchPattern>
Search pattern for numbers- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static SearchPatternCONTAINSThe number pattern entered is contained somewhere in the number, the location being undefined.static SearchPatternENDThe number ends with the number pattern entered.static SearchPatternSTARTNumbers that begin with the @see NumberPattern.getPattern entered.
-
-
-
Field Detail
-
START
public static final SearchPattern START
Numbers that begin with the @see NumberPattern.getPattern entered.Often used to search for a specific area code. When using START, a plus sign (+) must be included and URL encoded, so %2B.
For example, to search for area code 206 in the US, you would enter, %2b1206
-
CONTAINS
public static final SearchPattern CONTAINS
The number pattern entered is contained somewhere in the number, the location being undefined.
-
END
public static final SearchPattern END
The number ends with the number pattern entered.
-
-