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

MicrosoftGraphOnenoteOperationError Class

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

Implements

public final class MicrosoftGraphOnenoteOperationError
implements JsonSerializable<MicrosoftGraphOnenoteOperationError>

onenoteOperationError.

Constructor Summary

Constructor Description
MicrosoftGraphOnenoteOperationError()

Creates an instance of MicrosoftGraphOnenoteOperationError class.

Method Summary

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

Get the additionalProperties property: onenoteOperationError.

String code()

Get the code property: The error code.

static MicrosoftGraphOnenoteOperationError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenoteOperationError from the JsonReader.

String message()

Get the message property: The error message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOnenoteOperationError withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenoteOperationError.

MicrosoftGraphOnenoteOperationError withCode(String code)

Set the code property: The error code.

MicrosoftGraphOnenoteOperationError withMessage(String message)

Set the message property: The error message.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenoteOperationError

public MicrosoftGraphOnenoteOperationError()

Creates an instance of MicrosoftGraphOnenoteOperationError class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenoteOperationError.

Returns:

the additionalProperties value.

code

public String code()

Get the code property: The error code.

Returns:

the code value.

fromJson

public static MicrosoftGraphOnenoteOperationError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnenoteOperationError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOnenoteOperationError 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 MicrosoftGraphOnenoteOperationError.

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 MicrosoftGraphOnenoteOperationError withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenoteOperationError.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenoteOperationError object itself.

withCode

public MicrosoftGraphOnenoteOperationError withCode(String code)

Set the code property: The error code.

Parameters:

code - the code value to set.

Returns:

the MicrosoftGraphOnenoteOperationError object itself.

withMessage

public MicrosoftGraphOnenoteOperationError withMessage(String message)

Set the message property: The error message.

Parameters:

message - the message value to set.

Returns:

the MicrosoftGraphOnenoteOperationError object itself.

Applies to