Class MapAttribution

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

public final class MapAttribution extends Object implements com.azure.json.JsonSerializable<MapAttribution>
Copyright attribution for the requested section of a tileset.
  • Constructor Details

    • MapAttribution

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

    • getCopyrights

      public List<String> getCopyrights()
      Get the copyrights property: A list of copyright strings.
      Returns:
      the copyrights value.
    • setCopyrights

      public MapAttribution setCopyrights(List<String> copyrights)
      Set the copyrights property: A list of copyright strings.
      Parameters:
      copyrights - the copyrights value to set.
      Returns:
      the MapAttribution object itself.
    • toJson

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

      public static MapAttribution fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MapAttribution from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MapAttribution 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 MapAttribution.