MicrosoftGraphOnenoteOperationError Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnenoteOperationError
- com.
Implements
public final class MicrosoftGraphOnenoteOperationError
implements JsonSerializable<MicrosoftGraphOnenoteOperationError>
Represents an onenote operation error.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphOnenoteOperationError() |
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: The error code. |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
message()
Get the message property: The 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: The error code. |
|
Microsoft |
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<String,Object> additionalProperties()
Get the additionalProperties property: onenoteOperationError.
Returns:
code
public String code()
Get the code property: The error code.
Returns:
fromJson
public static MicrosoftGraphOnenoteOperationError fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnenoteOperationError from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The error message.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphOnenoteOperationError withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenoteOperationError.
Parameters:
Returns:
withCode
public MicrosoftGraphOnenoteOperationError withCode(String code)
Set the code property: The error code.
Parameters:
Returns:
withMessage
public MicrosoftGraphOnenoteOperationError withMessage(String message)
Set the message property: The error message.
Parameters:
Returns: