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