Package video.api.client.api.models
Class LiveStreamSessionLocation
java.lang.Object
video.api.client.api.models.LiveStreamSessionLocation
- All Implemented Interfaces:
java.io.Serializable
public class LiveStreamSessionLocation
extends java.lang.Object
implements java.io.Serializable
The location of the viewer of the live stream.
- 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 LiveStreamSessionLocation() -
Method Summary
Modifier and Type Method Description LiveStreamSessionLocationcity(java.lang.String city)LiveStreamSessionLocationcountry(java.lang.String country)booleanequals(java.lang.Object o)java.lang.StringgetCity()The city of the viewer of the live stream.java.lang.StringgetCountry()The country of the viewer of the live stream.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
-
LiveStreamSessionLocation
public LiveStreamSessionLocation()
-
-
Method Details
-
country
-
getCountry
@Nullable public java.lang.String getCountry()The country of the viewer of the live stream.- Returns:
- country
-
setCountry
public void setCountry(java.lang.String country) -
city
-
getCity
@Nullable public java.lang.String getCity()The city of the viewer of the live stream.- 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
-