Class MicrosoftGraphOnenoteOperationError
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenoteOperationError
-
public final class MicrosoftGraphOnenoteOperationError extends Object
onenoteOperationError.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOnenoteOperationError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: onenoteOperationError.String
code()
Get the code property: The error code.String
message()
Get the message property: The error message.void
validate()
Validates the instance.MicrosoftGraphOnenoteOperationError
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperationError.MicrosoftGraphOnenoteOperationError
withCode(String code)
Set the code property: The error code.MicrosoftGraphOnenoteOperationError
withMessage(String message)
Set the message property: The error message.
-
-
-
Method Detail
-
code
public String code()
Get the code property: The error code.- Returns:
- the code value.
-
withCode
public MicrosoftGraphOnenoteOperationError withCode(String code)
Set the code property: The error code.- Parameters:
code
- the code value to set.- Returns:
- the MicrosoftGraphOnenoteOperationError object itself.
-
message
public String message()
Get the message property: The error message.- Returns:
- the message value.
-
withMessage
public MicrosoftGraphOnenoteOperationError withMessage(String message)
Set the message property: The error message.- Parameters:
message
- the message value to set.- Returns:
- the MicrosoftGraphOnenoteOperationError object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenoteOperationError.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenoteOperationError withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperationError.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenoteOperationError object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-