AppTemplateLocations Class

  • java.lang.Object
    • com.azure.resourcemanager.iotcentral.models.AppTemplateLocations

Implements

public final class AppTemplateLocations
implements JsonSerializable<AppTemplateLocations>

IoT Central Application Template Locations.

Constructor Summary

Constructor Description
AppTemplateLocations()

Creates an instance of AppTemplateLocations class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The display name of the location.

static AppTemplateLocations fromJson(JsonReader jsonReader)

Reads an instance of AppTemplateLocations from the JsonReader.

String id()

Get the id property: The ID of the location.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AppTemplateLocations

public AppTemplateLocations()

Creates an instance of AppTemplateLocations class.

Method Details

displayName

public String displayName()

Get the displayName property: The display name of the location.

Returns:

the displayName value.

fromJson

public static AppTemplateLocations fromJson(JsonReader jsonReader)

Reads an instance of AppTemplateLocations from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AppTemplateLocations 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 AppTemplateLocations.

id

public String id()

Get the id property: The ID of the location.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to