你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphKeyValue Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphKeyValue
- com.
Implements
public final class MicrosoftGraphKeyValue
implements JsonSerializable<MicrosoftGraphKeyValue>
keyValue.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphKeyValue() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
key()
Get the key property: Key for the key-value pair. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Value for the key-value pair. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withKey(String key)
Set the key property: Key for the key-value pair. |
Microsoft |
withValue(String value)
Set the value property: Value for the key-value pair. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphKeyValue
public MicrosoftGraphKeyValue()
Creates an instance of MicrosoftGraphKeyValue class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: keyValue.
Returns:
fromJson
public static MicrosoftGraphKeyValue fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphKeyValue from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: Key for the key-value pair.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value for the key-value pair.
Returns:
withAdditionalProperties
public MicrosoftGraphKeyValue withAdditionalProperties(Map
Set the additionalProperties property: keyValue.
Parameters:
Returns:
withKey
public MicrosoftGraphKeyValue withKey(String key)
Set the key property: Key for the key-value pair.
Parameters:
Returns:
withValue
public MicrosoftGraphKeyValue withValue(String value)
Set the value property: Value for the key-value pair.
Parameters:
Returns: