你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphResponseStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResponseStatus

Implements

public final class MicrosoftGraphResponseStatus
implements JsonSerializable<MicrosoftGraphResponseStatus>

responseStatus.

Constructor Summary

Constructor Description
MicrosoftGraphResponseStatus()

Creates an instance of MicrosoftGraphResponseStatus class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: responseStatus.

static MicrosoftGraphResponseStatus fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphResponseStatus from the JsonReader.

MicrosoftGraphResponseType response()

Get the response property: responseType.

OffsetDateTime time()

Get the time property: The date and time that the response was returned.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphResponseStatus withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: responseStatus.

MicrosoftGraphResponseStatus withResponse(MicrosoftGraphResponseType response)

Set the response property: responseType.

MicrosoftGraphResponseStatus 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 additionalProperties()

Get the additionalProperties property: responseStatus.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphResponseStatus fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphResponseStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

response

public MicrosoftGraphResponseType response()

Get the response property: responseType.

Returns:

the response value.

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:

the time value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphResponseStatus withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: responseStatus.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphResponseStatus object itself.

withResponse

public MicrosoftGraphResponseStatus withResponse(MicrosoftGraphResponseType response)

Set the response property: responseType.

Parameters:

response - the response value to set.

Returns:

the MicrosoftGraphResponseStatus object itself.

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:

time - the time value to set.

Returns:

the MicrosoftGraphResponseStatus object itself.

Applies to