Class Copyright

java.lang.Object
com.azure.maps.render.models.Copyright
All Implemented Interfaces:
com.azure.json.JsonSerializable<Copyright>

public final class Copyright extends Object implements com.azure.json.JsonSerializable<Copyright>
This object is returned from a successful copyright request.
  • Constructor Details

    • Copyright

      public Copyright()
      Creates an instance of Copyright class.
  • Method Details

    • getFormatVersion

      public String getFormatVersion()
      Get the formatVersion property: Format Version property.
      Returns:
      the formatVersion value.
    • getGeneralCopyrights

      public List<String> getGeneralCopyrights()
      Get the generalCopyrights property: General Copyrights array.
      Returns:
      the generalCopyrights value.
    • getRegions

      public List<RegionCopyrights> getRegions()
      Get the regions property: Regions array.
      Returns:
      the regions value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<Copyright>
      Throws:
      IOException
    • fromJson

      public static Copyright fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.