public class VenueCi extends Object
Constructor and Description |
---|
VenueCi(ExportableVenueCi exportable) |
VenueCi(com.sportradar.uf.sportsapi.datamodel.SapiVenue venue,
Locale locale)
Initializes a new instance of the
VenueCi class |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified object is equal to the current object
|
ExportableVenueCi |
export() |
Integer |
getCapacity()
Returns the capacity of the venue associated with current instance, or a null
reference if the capacity is not specified
|
String |
getCityName(Locale locale)
Returns the city name of the venue in the specified language
|
String |
getCoordinates()
Returns the map coordinates specifying the exact location of the venue represented by current instance
|
String |
getCountryCode()
Returns the associated country code
|
String |
getCountryName(Locale locale)
Returns the country name of the venue in the specified language
|
List<CourseCi> |
getCourses()
Returns state/province of the country
|
Urn |
getId()
Returns the
Urn of the represented sport entity |
String |
getName(Locale locale)
Returns the name of the venue in the specified language
|
String |
getState()
Returns state/province of the country
|
int |
hashCode()
Serves as the default hash function
|
boolean |
hasTranslationsFor(List<Locale> locales) |
void |
merge(com.sportradar.uf.sportsapi.datamodel.SapiVenue venue,
Locale locale)
Merges the information from the provided
SapiVenue into the current instance |
public VenueCi(com.sportradar.uf.sportsapi.datamodel.SapiVenue venue, Locale locale)
VenueCi
classvenue
- - SapiVenue
containing information about the venuelocale
- - Locale
specifying the language of the venuepublic VenueCi(ExportableVenueCi exportable)
public void merge(com.sportradar.uf.sportsapi.datamodel.SapiVenue venue, Locale locale)
SapiVenue
into the current instancevenue
- - SapiVenue
containing information about the venuelocale
- - Locale
specifying the language of the venuepublic String getName(Locale locale)
locale
- - Locale
specifying the language of the returned namepublic String getCityName(Locale locale)
locale
- - Locale
specifying the language of the returned namepublic String getCountryName(Locale locale)
locale
- - Locale
specifying the language of the returned namepublic Integer getCapacity()
public String getCoordinates()
public String getCountryCode()
public String getState()
public ExportableVenueCi export()
public Urn getId()
Urn
of the represented sport entityUrn
of the represented sport entitypublic boolean equals(Object obj)
Copyright © 2016–2025. All rights reserved.