Class ContactLocation
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ContactLocation
-
public final class ContactLocation extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContactLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactLocation.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getCity()java.util.Optional<java.lang.String>getCountry()java.util.Optional<java.lang.String>getRegion()java.util.Optional<java.lang.String>getType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.util.Optional<java.lang.String> getType()
- Returns:
- Always location
-
getCountry
public java.util.Optional<java.lang.String> getCountry()
- Returns:
- The country that the contact is located in
-
getRegion
public java.util.Optional<java.lang.String> getRegion()
- Returns:
- The overal region that the contact is located in
-
getCity
public java.util.Optional<java.lang.String> getCity()
- Returns:
- The city that the contact is located in
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ContactLocation.Builder builder()
-
-