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