public class GraphError extends Object
Constructor and Description |
---|
GraphError() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value.
|
String |
message()
Get the message value.
|
GraphError |
withCode(String code)
Set the code value.
|
GraphError |
withMessage(String message)
Set the message value.
|
public String code()
public GraphError withCode(String code)
code
- the code value to setpublic String message()
public GraphError withMessage(String message)
message
- the message value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/