NameValuePair Class
- java.
lang. Object - com.
azure. compute. batch. models. NameValuePair
- com.
Implements
public final class NameValuePair
implements JsonSerializable<NameValuePair>
Represents a name-value pair.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Name |
fromJson(JsonReader jsonReader)
Reads an instance of Name |
| String |
getName()
Get the name property: The name in the name-value pair. |
| String |
getValue()
Get the value property: The value in the name-value pair. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static NameValuePair fromJson(JsonReader jsonReader)
Reads an instance of NameValuePair from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name in the name-value pair.
Returns:
getValue
public String getValue()
Get the value property: The value in the name-value pair.
Returns: