com.microsoft.azure.management.graphrbac.GraphError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-graph-rbac Show documentation
Show all versions of azure-mgmt-graph-rbac Show documentation
This package contains Microsoft Azure Graph RBAC Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-authorization is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* Active Directory error information.
*/
@JsonFlatten
public class GraphError {
/**
* Error code.
*/
@JsonProperty(value = "odata\\.error.code")
private String code;
/**
* Error message value.
*/
@JsonProperty(value = "odata\\.error.message.value")
private String message;
/**
* Get the code value.
*
* @return the code value
*/
public String code() {
return this.code;
}
/**
* Set the code value.
*
* @param code the code value to set
* @return the GraphError object itself.
*/
public GraphError withCode(String code) {
this.code = code;
return this;
}
/**
* Get the message value.
*
* @return the message value
*/
public String message() {
return this.message;
}
/**
* Set the message value.
*
* @param message the message value to set
* @return the GraphError object itself.
*/
public GraphError withMessage(String message) {
this.message = message;
return this;
}
}