你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphResponseStatus Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphResponseStatus
- com.
Implements
public final class MicrosoftGraphResponseStatus
implements JsonSerializable<MicrosoftGraphResponseStatus>
responseStatus.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphResponseStatus() |
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 |
Microsoft |
response()
Get the response property: response |
Offset |
time()
Get the time property: The date and time that the response was returned. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withResponse(MicrosoftGraphResponseType response)
Set the response property: response |
Microsoft |
withTime(OffsetDateTime time)
Set the time property: The date and time that the response was returned. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphResponseStatus
public MicrosoftGraphResponseStatus()
Creates an instance of MicrosoftGraphResponseStatus class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: responseStatus.
Returns:
fromJson
public static MicrosoftGraphResponseStatus fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphResponseStatus from the JsonReader.
Parameters:
Returns:
Throws:
response
public MicrosoftGraphResponseType response()
Get the response property: responseType.
Returns:
time
public OffsetDateTime time()
Get the time property: The date and time that the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphResponseStatus withAdditionalProperties(Map
Set the additionalProperties property: responseStatus.
Parameters:
Returns:
withResponse
public MicrosoftGraphResponseStatus withResponse(MicrosoftGraphResponseType response)
Set the response property: responseType.
Parameters:
Returns:
withTime
public MicrosoftGraphResponseStatus withTime(OffsetDateTime time)
Set the time property: The date and time that the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Parameters:
Returns: