Delen via


SettingLabel Class

  • java.lang.Object
    • com.azure.data.appconfiguration.models.SettingLabel

Implements

public final class SettingLabel
implements JsonSerializable<SettingLabel>

The SettingLabel model.

Constructor Summary

Constructor Description
SettingLabel()

Creates an instance of SettingLabel class.

Method Summary

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

Reads an instance of SettingLabel from the JsonReader.

String getName()

Get the name property: The name of the label.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SettingLabel

public SettingLabel()

Creates an instance of SettingLabel class.

Method Details

fromJson

public static SettingLabel fromJson(JsonReader jsonReader)

Reads an instance of SettingLabel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getName

public String getName()

Get the name property: The name of the label.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to