RegionCopyrights Class

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

Implements

public final class RegionCopyrights
implements JsonSerializable<RegionCopyrights>

The RegionCopyrights model.

Constructor Summary

Constructor Description
RegionCopyrights()

Creates an instance of RegionCopyrights class.

Method Summary

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

Reads an instance of RegionCopyrights from the JsonReader.

List<String> getCopyrights()

Get the copyrights property: Copyrights array.

RegionCopyrightsCountry getCountry()

Get the country property: Country property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

RegionCopyrights

public RegionCopyrights()

Creates an instance of RegionCopyrights class.

Method Details

fromJson

public static RegionCopyrights fromJson(JsonReader jsonReader)

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.

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 JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to