Copyright Class

  • java.lang.Object
    • com.azure.maps.render.models.Copyright

Implements

public final class Copyright
implements JsonSerializable<Copyright>

This object is returned from a successful copyright request.

Constructor Summary

Constructor Description
Copyright()

Creates an instance of Copyright class.

Method Summary

Modifier and Type Method and Description
static Copyright fromJson(JsonReader jsonReader)

Reads an instance of Copyright from the JsonReader.

String getFormatVersion()

Get the formatVersion property: Format Version property.

List<String> getGeneralCopyrights()

Get the generalCopyrights property: General Copyrights array.

List<RegionCopyrights> getRegions()

Get the regions property: Regions array.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

public Copyright()

Creates an instance of Copyright class.

Method Details

public static Copyright fromJson(JsonReader jsonReader)

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.

public String getFormatVersion()

Get the formatVersion property: Format Version property.

Returns:

the formatVersion value.

public List<String> getGeneralCopyrights()

Get the generalCopyrights property: General Copyrights array.

Returns:

the generalCopyrights value.

public List<RegionCopyrights> getRegions()

Get the regions property: Regions array.

Returns:

the regions value.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to