SignalRServiceUsageName Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.SignalRServiceUsageName

Implements

public final class SignalRServiceUsageName
implements JsonSerializable<SignalRServiceUsageName>

Localizable String object containing the name and a localized value.

Constructor Summary

Constructor Description
SignalRServiceUsageName()

Creates an instance of SignalRServiceUsageName class.

Method Summary

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

Reads an instance of SignalRServiceUsageName 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.

SignalRServiceUsageName withLocalizedValue(String localizedValue)

Set the localizedValue property: Localized name of the usage.

SignalRServiceUsageName withValue(String value)

Set the value property: The identifier of the usage.

Methods inherited from java.lang.Object

Constructor Details

SignalRServiceUsageName

public SignalRServiceUsageName()

Creates an instance of SignalRServiceUsageName class.

Method Details

fromJson

public static SignalRServiceUsageName fromJson(JsonReader jsonReader)

Reads an instance of SignalRServiceUsageName from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 SignalRServiceUsageName withLocalizedValue(String localizedValue)

Set the localizedValue property: Localized name of the usage.

Parameters:

localizedValue - the localizedValue value to set.

Returns:

the SignalRServiceUsageName object itself.

withValue

public SignalRServiceUsageName withValue(String value)

Set the value property: The identifier of the usage.

Parameters:

value - the value value to set.

Returns:

the SignalRServiceUsageName object itself.

Applies to