Package com.azure.maps.render.models
Class Copyright
java.lang.Object
com.azure.maps.render.models.Copyright
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Copyright>
This object is returned from a successful copyright request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Copyright
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of Copyright from the JsonReader.Get the formatVersion property: Format Version property.Get the generalCopyrights property: General Copyrights array.Get the regions property: Regions array.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
Copyright
public Copyright()Creates an instance of Copyright class.
-
-
Method Details
-
getFormatVersion
Get the formatVersion property: Format Version property.- Returns:
- the formatVersion value.
-
getGeneralCopyrights
Get the generalCopyrights property: General Copyrights array.- Returns:
- the generalCopyrights value.
-
getRegions
Get the regions property: Regions array.- Returns:
- the regions value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<Copyright>
- Throws:
IOException
-
fromJson
Reads an instance of Copyright from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of Copyright if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the Copyright.
-