Condividi tramite


KeyValuePairStringObject Class

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

Implements

public final class KeyValuePairStringObject
implements JsonSerializable<KeyValuePairStringObject>

The KeyValuePairStringObject model.

Method Summary

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

Reads an instance of KeyValuePairStringObject from the JsonReader.

String key()

Get the key property: The key property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Object value()

Get the value property: Any object.

Methods inherited from java.lang.Object

Method Details

fromJson

public static KeyValuePairStringObject fromJson(JsonReader jsonReader)

Reads an instance of KeyValuePairStringObject from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

key

public String key()

Get the key property: The key property.

Returns:

the key value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: Any object.

Returns:

the value value.

Applies to