Package video.api.client.api.models
Class VideoSessionLocation
java.lang.Object
video.api.client.api.models.VideoSessionLocation
- All Implemented Interfaces:
java.io.Serializable
public class VideoSessionLocation
extends java.lang.Object
implements java.io.Serializable
The location of the viewer.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERIALIZED_NAME_CITYstatic java.lang.StringSERIALIZED_NAME_COUNTRY -
Constructor Summary
Constructors Constructor Description VideoSessionLocation() -
Method Summary
Modifier and Type Method Description VideoSessionLocationcity(java.lang.String city)VideoSessionLocationcountry(java.lang.String country)booleanequals(java.lang.Object o)java.lang.StringgetCity()The city of the viewer.java.lang.StringgetCountry()The country of the viewer.inthashCode()voidsetCity(java.lang.String city)voidsetCountry(java.lang.String country)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERIALIZED_NAME_COUNTRY
public static final java.lang.String SERIALIZED_NAME_COUNTRY- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CITY
public static final java.lang.String SERIALIZED_NAME_CITY- See Also:
- Constant Field Values
-
-
Constructor Details
-
VideoSessionLocation
public VideoSessionLocation()
-
-
Method Details
-
country
-
getCountry
@Nullable public java.lang.String getCountry()The country of the viewer.- Returns:
- country
-
setCountry
public void setCountry(java.lang.String country) -
city
-
getCity
@Nullable public java.lang.String getCity()The city of the viewer.- Returns:
- city
-
setCity
public void setCity(java.lang.String city) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-