Class MicrosoftGraphWorkbookOperationError
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookOperationError
workbookOperationError.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphWorkbookOperationError class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: workbookOperationError.code()Get the code property: The error code.Get the innerError property: workbookOperationError.message()Get the message property: The error message.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookOperationError.Set the code property: The error code.withInnerError(MicrosoftGraphWorkbookOperationError innerError) Set the innerError property: workbookOperationError.withMessage(String message) Set the message property: The error message.
-
Constructor Details
-
MicrosoftGraphWorkbookOperationError
public MicrosoftGraphWorkbookOperationError()Creates an instance of MicrosoftGraphWorkbookOperationError class.
-
-
Method Details
-
code
Get the code property: The error code.- Returns:
- the code value.
-
withCode
Set the code property: The error code.- Parameters:
code- the code value to set.- Returns:
- the MicrosoftGraphWorkbookOperationError object itself.
-
innerError
Get the innerError property: workbookOperationError.- Returns:
- the innerError value.
-
withInnerError
public MicrosoftGraphWorkbookOperationError withInnerError(MicrosoftGraphWorkbookOperationError innerError) Set the innerError property: workbookOperationError.- Parameters:
innerError- the innerError value to set.- Returns:
- the MicrosoftGraphWorkbookOperationError object itself.
-
message
Get the message property: The error message.- Returns:
- the message value.
-
withMessage
Set the message property: The error message.- Parameters:
message- the message value to set.- Returns:
- the MicrosoftGraphWorkbookOperationError object itself.
-
additionalProperties
Get the additionalProperties property: workbookOperationError.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookOperationError withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookOperationError.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookOperationError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-