你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphWorkbookOperationError Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookOperationError

Implements

public final class MicrosoftGraphWorkbookOperationError
implements JsonSerializable<MicrosoftGraphWorkbookOperationError>

workbookOperationError.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookOperationError()

Creates an instance of MicrosoftGraphWorkbookOperationError class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookOperationError.

String code()

Get the code property: The error code.

static MicrosoftGraphWorkbookOperationError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookOperationError from the JsonReader.

MicrosoftGraphWorkbookOperationError innerError()

Get the innerError property: workbookOperationError.

String message()

Get the message property: The error message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookOperationError withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookOperationError.

MicrosoftGraphWorkbookOperationError withCode(String code)

Set the code property: The error code.

MicrosoftGraphWorkbookOperationError withInnerError(MicrosoftGraphWorkbookOperationError innerError)

Set the innerError property: workbookOperationError.

MicrosoftGraphWorkbookOperationError withMessage(String message)

Set the message property: The error message.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookOperationError

public MicrosoftGraphWorkbookOperationError()

Creates an instance of MicrosoftGraphWorkbookOperationError class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookOperationError.

Returns:

the additionalProperties value.

code

public String code()

Get the code property: The error code.

Returns:

the code value.

fromJson

public static MicrosoftGraphWorkbookOperationError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookOperationError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookOperationError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookOperationError.

innerError

public MicrosoftGraphWorkbookOperationError innerError()

Get the innerError property: workbookOperationError.

Returns:

the innerError value.

message

public String message()

Get the message property: The error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphWorkbookOperationError withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookOperationError.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookOperationError object itself.

withCode

public MicrosoftGraphWorkbookOperationError withCode(String code)

Set the code property: The error code.

Parameters:

code - the code value to set.

Returns:

the MicrosoftGraphWorkbookOperationError object itself.

withInnerError

public MicrosoftGraphWorkbookOperationError withInnerError(MicrosoftGraphWorkbookOperationError innerError)

Set the innerError property: workbookOperationError.

Parameters:

innerError - the innerError value to set.

Returns:

the MicrosoftGraphWorkbookOperationError object itself.

withMessage

public MicrosoftGraphWorkbookOperationError withMessage(String message)

Set the message property: The error message.

Parameters:

message - the message value to set.

Returns:

the MicrosoftGraphWorkbookOperationError object itself.

Applies to