Condividi tramite


LocalizableString Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.LocalizableString

Implements

public final class LocalizableString
implements JsonSerializable<LocalizableString>

Localizable string object containing the name and a localized value.

Method Summary

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

Reads an instance of LocalizableString from the JsonReader.

String localizedValue()

Get the localizedValue property: Localized name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Non-localized name.

Methods inherited from java.lang.Object

Method Details

fromJson

public static LocalizableString fromJson(JsonReader jsonReader)

Reads an instance of LocalizableString from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

localizedValue

public String localizedValue()

Get the localizedValue property: Localized name.

Returns:

the localizedValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Non-localized name.

Returns:

the value value.

Applies to