Class Region
- java.lang.Object
-
- com.sinch.sdk.domains.numbers.models.Region
-
public class Region extends Object
Region information related to assigned numbers- Since:
- 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegion.Builder
-
Constructor Summary
Constructors Constructor Description Region(String regionCode, String regionName, Collection<NumberType> types)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Region.Builderbuilder()StringgetRegionCode()StringgetRegionName()Collection<NumberType>getTypes()StringtoString()
-
-
-
Constructor Detail
-
Region
public Region(String regionCode, String regionName, Collection<NumberType> types)
- Parameters:
regionCode- ISO 3166-1 alpha-2 region code. Examples: US, UK or SE.regionName- Display name of the region. Examples: United States, United Kingdom or Sweden.types- A list of the different number types available.
-
-
Method Detail
-
getRegionCode
public String getRegionCode()
-
getRegionName
public String getRegionName()
-
getTypes
public Collection<NumberType> getTypes()
-
builder
public static Region.Builder builder()
-
-