public abstract class MtgObject extends java.lang.Object implements IZITravelEntity
| Modifier and Type | Field and Description |
|---|---|
Category |
category
Category of tour.
|
CompactMtgObject |
city
Compact version of city.
|
ContentProvider |
contentProvider
Content provider.
|
CompactMtgObject |
country
Compact version of country.
|
java.lang.String |
countryCode
Country code (ISO 3166-1) (typical for country).
|
int |
distance
Distance of tour (in meters).
|
int |
duration
Total duration of tour (in seconds).
|
java.lang.String |
hash
SHA1 hash from "uuid + last updated" string.
|
boolean |
hidden
Tourist attraction map visibility.
|
java.lang.String[] |
languages
Array of all available languages of MtgObject content (ISO 639-1).
|
Location |
location
Location of MtgObject.
|
Map |
map
Object with mapping details.
|
Placement |
placement
Tour placement.
|
CompactMtgObject |
publisher
Publisher.
|
Purchase |
purchase
Object with product purchasing details.
|
ReviewsResponse.Estimation |
reviews
The average of ratings/reviews.
|
Status |
status
Content publication status.
|
Translation[] |
translations
Available translations of the locality name (typical for city and country).
|
TriggerZone[] |
triggerZones
Array of trigger zones.
|
MtgObjectType |
type
Type of MtgObject.
|
java.lang.String |
uuid
Universally Unique Identifier of MtgObject.
|
boolean |
visible
Typical for city.
|
| Constructor and Description |
|---|
MtgObject() |
public java.lang.String uuid
public MtgObjectType type
public Category category
public Status status
public CompactMtgObject publisher
public ContentProvider contentProvider
public java.lang.String[] languages
EXCEPTION: For countries and cities is an array of languages for which there are MTGObject in this locality.
public Location location
public CompactMtgObject country
public CompactMtgObject city
public TriggerZone[] triggerZones
public Map map
public Placement placement
public int distance
public int duration
NOTE: Value is calculated as: distance / category speed.
public Purchase purchase
public Translation[] translations
public java.lang.String countryCode
public ReviewsResponse.Estimation reviews
public boolean hidden
public boolean visible
public java.lang.String hash