你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphPublicErrorDetail Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPublicErrorDetail
- com.
Implements
public final class MicrosoftGraphPublicErrorDetail
implements JsonSerializable<MicrosoftGraphPublicErrorDetail>
publicErrorDetail.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPublicErrorDetail() |
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 code property. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
message()
Get the message property: The message property. |
String |
target()
Get the target property: The target property. |
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 code property. |
Microsoft |
withMessage(String message)
Set the message property: The message property. |
Microsoft |
withTarget(String target)
Set the target property: The target property. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPublicErrorDetail
public MicrosoftGraphPublicErrorDetail()
Creates an instance of MicrosoftGraphPublicErrorDetail class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: publicErrorDetail.
Returns:
code
public String code()
Get the code property: The code property.
Returns:
fromJson
public static MicrosoftGraphPublicErrorDetail fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPublicErrorDetail from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The message property.
Returns:
target
public String target()
Get the target property: The target property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphPublicErrorDetail withAdditionalProperties(Map
Set the additionalProperties property: publicErrorDetail.
Parameters:
Returns:
withCode
public MicrosoftGraphPublicErrorDetail withCode(String code)
Set the code property: The code property.
Parameters:
Returns:
withMessage
public MicrosoftGraphPublicErrorDetail withMessage(String message)
Set the message property: The message property.
Parameters:
Returns:
withTarget
public MicrosoftGraphPublicErrorDetail withTarget(String target)
Set the target property: The target property.
Parameters:
Returns: