Class MicrosoftGraphPublicInnerError
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPublicInnerError
-
public final class MicrosoftGraphPublicInnerError extends Object
publicInnerError.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPublicInnerError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: publicInnerError.String
code()
Get the code property: The code property.List<MicrosoftGraphPublicErrorDetail>
details()
Get the details property: The details property.String
message()
Get the message property: The message property.String
target()
Get the target property: The target property.void
validate()
Validates the instance.MicrosoftGraphPublicInnerError
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: publicInnerError.MicrosoftGraphPublicInnerError
withCode(String code)
Set the code property: The code property.MicrosoftGraphPublicInnerError
withDetails(List<MicrosoftGraphPublicErrorDetail> details)
Set the details property: The details property.MicrosoftGraphPublicInnerError
withMessage(String message)
Set the message property: The message property.MicrosoftGraphPublicInnerError
withTarget(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 MicrosoftGraphPublicInnerError withCode(String code)
Set the code property: The code property.- Parameters:
code
- the code value to set.- Returns:
- the MicrosoftGraphPublicInnerError object itself.
-
details
public List<MicrosoftGraphPublicErrorDetail> details()
Get the details property: The details property.- Returns:
- the details value.
-
withDetails
public MicrosoftGraphPublicInnerError withDetails(List<MicrosoftGraphPublicErrorDetail> details)
Set the details property: The details property.- Parameters:
details
- the details value to set.- Returns:
- the MicrosoftGraphPublicInnerError object itself.
-
message
public String message()
Get the message property: The message property.- Returns:
- the message value.
-
withMessage
public MicrosoftGraphPublicInnerError withMessage(String message)
Set the message property: The message property.- Parameters:
message
- the message value to set.- Returns:
- the MicrosoftGraphPublicInnerError object itself.
-
target
public String target()
Get the target property: The target property.- Returns:
- the target value.
-
withTarget
public MicrosoftGraphPublicInnerError withTarget(String target)
Set the target property: The target property.- Parameters:
target
- the target value to set.- Returns:
- the MicrosoftGraphPublicInnerError object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: publicInnerError.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPublicInnerError withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: publicInnerError.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPublicInnerError object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-