Class MicrosoftGraphFreeBusyError
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphFreeBusyError
freeBusyError.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphFreeBusyError class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: freeBusyError.message()Get the message property: Describes the error.Get the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: freeBusyError.withMessage(String message) Set the message property: Describes the error.withResponseCode(String responseCode) Set the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.
-
Constructor Details
-
MicrosoftGraphFreeBusyError
public MicrosoftGraphFreeBusyError()Creates an instance of MicrosoftGraphFreeBusyError class.
-
-
Method Details
-
message
Get the message property: Describes the error.- Returns:
- the message value.
-
withMessage
Set the message property: Describes the error.- Parameters:
message- the message value to set.- Returns:
- the MicrosoftGraphFreeBusyError object itself.
-
responseCode
Get the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.- Returns:
- the responseCode value.
-
withResponseCode
Set the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.- Parameters:
responseCode- the responseCode value to set.- Returns:
- the MicrosoftGraphFreeBusyError object itself.
-
additionalProperties
Get the additionalProperties property: freeBusyError.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphFreeBusyError withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: freeBusyError.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphFreeBusyError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-