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