Class ErrorModel
java.lang.Object
com.azure.resourcemanager.purview.models.ErrorModel
Default error model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Gets or sets the code.details()
Get the details property: Gets or sets the details.message()
Get the message property: Gets or sets the messages.target()
Get the target property: Gets or sets the target.void
validate()
Validates the instance.
-
Constructor Details
-
ErrorModel
public ErrorModel()Creates an instance of ErrorModel class.
-
-
Method Details
-
code
Get the code property: Gets or sets the code.- Returns:
- the code value.
-
details
Get the details property: Gets or sets the details.- Returns:
- the details value.
-
message
Get the message property: Gets or sets the messages.- Returns:
- the message value.
-
target
Get the target property: Gets or sets the target.- Returns:
- the target value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-