Class RegionCopyrights

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

public final class RegionCopyrights extends Object implements com.azure.json.JsonSerializable<RegionCopyrights>
The RegionCopyrights model.
  • Constructor Details

    • RegionCopyrights

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

    • getCopyrights

      public List<String> getCopyrights()
      Get the copyrights property: Copyrights array.
      Returns:
      the copyrights value.
    • getCountry

      public RegionCopyrightsCountry getCountry()
      Get the country property: Country property.
      Returns:
      the country value.
    • toJson

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

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