你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOperationError Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOperationError
- com.
Implements
public final class MicrosoftGraphOperationError
implements JsonSerializable<MicrosoftGraphOperationError>
operationError.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOperationError() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
code()
Get the code property: Operation error code. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
message()
Get the message property: Operation error message. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCode(String code)
Set the code property: Operation error code. |
Microsoft |
withMessage(String message)
Set the message property: Operation error message. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOperationError
public MicrosoftGraphOperationError()
Creates an instance of MicrosoftGraphOperationError class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: operationError.
Returns:
code
public String code()
Get the code property: Operation error code.
Returns:
fromJson
public static MicrosoftGraphOperationError fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOperationError from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Operation error message.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphOperationError withAdditionalProperties(Map
Set the additionalProperties property: operationError.
Parameters:
Returns:
withCode
public MicrosoftGraphOperationError withCode(String code)
Set the code property: Operation error code.
Parameters:
Returns:
withMessage
public MicrosoftGraphOperationError withMessage(String message)
Set the message property: Operation error message.
Parameters:
Returns: