Intersection Class
- java.
lang. Object - com.
azure. maps. search. models. Intersection
- com.
Implements
public final class Intersection
implements JsonSerializable<Intersection>
The address of the result.
Constructor Summary
| Constructor | Description |
|---|---|
| Intersection() |
Creates an instance of Intersection class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Intersection |
fromJson(JsonReader jsonReader)
Reads an instance of Intersection from the Json |
| String |
getBaseStreet()
Get the base |
| String |
getDisplayName()
Get the display |
| String |
getIntersectionType()
Get the intersection |
| String |
getSecondaryStreet1()
Get the secondary |
| String |
getSecondaryStreet2()
Get the secondary |
| Intersection |
setBaseStreet(String baseStreet)
Set the base |
| Intersection |
setDisplayName(String displayName)
Set the display |
| Intersection |
setIntersectionType(String intersectionType)
Set the intersection |
| Intersection |
setSecondaryStreet1(String secondaryStreet1)
Set the secondary |
| Intersection |
setSecondaryStreet2(String secondaryStreet2)
Set the secondary |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
Intersection
public Intersection()
Creates an instance of Intersection class.
Method Details
fromJson
public static Intersection fromJson(JsonReader jsonReader)
Reads an instance of Intersection from the JsonReader.
Parameters:
Returns:
Throws:
getBaseStreet
public String getBaseStreet()
Get the baseStreet property: Primary street for the location.
Returns:
getDisplayName
public String getDisplayName()
Get the displayName property: Complete name of the intersection.
Returns:
getIntersectionType
public String getIntersectionType()
Get the intersectionType property: Type of intersection.
Returns:
getSecondaryStreet1
public String getSecondaryStreet1()
Get the secondaryStreet1 property: The first intersecting street.
Returns:
getSecondaryStreet2
public String getSecondaryStreet2()
Get the secondaryStreet2 property: If any, the second intersecting street.
Returns:
setBaseStreet
public Intersection setBaseStreet(String baseStreet)
Set the baseStreet property: Primary street for the location.
Parameters:
Returns:
setDisplayName
public Intersection setDisplayName(String displayName)
Set the displayName property: Complete name of the intersection.
Parameters:
Returns:
setIntersectionType
public Intersection setIntersectionType(String intersectionType)
Set the intersectionType property: Type of intersection.
Parameters:
Returns:
setSecondaryStreet1
public Intersection setSecondaryStreet1(String secondaryStreet1)
Set the secondaryStreet1 property: The first intersecting street.
Parameters:
Returns:
setSecondaryStreet2
public Intersection setSecondaryStreet2(String secondaryStreet2)
Set the secondaryStreet2 property: If any, the second intersecting street.
Parameters:
Returns: