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