Class MicrosoftGraphResponseStatus
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResponseStatus
-
public final class MicrosoftGraphResponseStatus extends Object
responseStatus.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphResponseStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: responseStatus.MicrosoftGraphResponseType
response()
Get the response property: The response property.OffsetDateTime
time()
Get the time property: The date and time that the response was returned.void
validate()
Validates the instance.MicrosoftGraphResponseStatus
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: responseStatus.MicrosoftGraphResponseStatus
withResponse(MicrosoftGraphResponseType response)
Set the response property: The response property.MicrosoftGraphResponseStatus
withTime(OffsetDateTime time)
Set the time property: The date and time that the response was returned.
-
-
-
Method Detail
-
response
public MicrosoftGraphResponseType response()
Get the response property: The response property.- Returns:
- the response value.
-
withResponse
public MicrosoftGraphResponseStatus withResponse(MicrosoftGraphResponseType response)
Set the response property: The response property.- Parameters:
response
- the response value to set.- Returns:
- the MicrosoftGraphResponseStatus object itself.
-
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.
-
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.
-
additionalProperties
public Map<String,Object> 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.
-
-