Class MicrosoftGraphResponseStatus
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResponseStatus
responseStatus.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphResponseStatus class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: responseStatus.response()Get the response property: responseType.time()Get the time property: The date and time that the response was returned.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: responseStatus.withResponse(MicrosoftGraphResponseType response) Set the response property: responseType.withTime(OffsetDateTime time) Set the time property: The date and time that the response was returned.
-
Constructor Details
-
MicrosoftGraphResponseStatus
public MicrosoftGraphResponseStatus()Creates an instance of MicrosoftGraphResponseStatus class.
-
-
Method Details
-
response
Get the response property: responseType.- Returns:
- the response value.
-
withResponse
Set the response property: responseType.- Parameters:
response- the response value to set.- Returns:
- the MicrosoftGraphResponseStatus object itself.
-
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.
-
withTime
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.
-
additionalProperties
Get the additionalProperties property: responseStatus.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphResponseStatus withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: responseStatus.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphResponseStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-