SignalRUsageName Class

  • java.lang.Object
    • com.azure.resourcemanager.signalr.models.SignalRUsageName

Implements

public final class SignalRUsageName
implements JsonSerializable<SignalRUsageName>

Localizable String object containing the name and a localized value.

Constructor Summary

Constructor Description
SignalRUsageName()

Creates an instance of SignalRUsageName class.

Method Summary

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

Reads an instance of SignalRUsageName from the JsonReader.

String localizedValue()

Get the localizedValue property: Localized name of the usage.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The identifier of the usage.

SignalRUsageName withLocalizedValue(String localizedValue)

Set the localizedValue property: Localized name of the usage.

SignalRUsageName withValue(String value)

Set the value property: The identifier of the usage.

Methods inherited from java.lang.Object

Constructor Details

SignalRUsageName

public SignalRUsageName()

Creates an instance of SignalRUsageName class.

Method Details

fromJson

public static SignalRUsageName fromJson(JsonReader jsonReader)

Reads an instance of SignalRUsageName from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

localizedValue

public String localizedValue()

Get the localizedValue property: Localized name of the usage.

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: The identifier of the usage.

Returns:

the value value.

withLocalizedValue

public SignalRUsageName withLocalizedValue(String localizedValue)

Set the localizedValue property: Localized name of the usage.

Parameters:

localizedValue - the localizedValue value to set.

Returns:

the SignalRUsageName object itself.

withValue

public SignalRUsageName withValue(String value)

Set the value property: The identifier of the usage.

Parameters:

value - the value value to set.

Returns:

the SignalRUsageName object itself.

Applies to