你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphPublicInnerError Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPublicInnerError

Implements

public final class MicrosoftGraphPublicInnerError
implements JsonSerializable<MicrosoftGraphPublicInnerError>

publicInnerError.

Constructor Summary

Constructor Description
MicrosoftGraphPublicInnerError()

Creates an instance of MicrosoftGraphPublicInnerError class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: publicInnerError.

String code()

Get the code property: The code property.

List<MicrosoftGraphPublicErrorDetail> details()

Get the details property: The details property.

static MicrosoftGraphPublicInnerError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPublicInnerError from the JsonReader.

String message()

Get the message property: The message property.

String target()

Get the target property: The target property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPublicInnerError withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: publicInnerError.

MicrosoftGraphPublicInnerError withCode(String code)

Set the code property: The code property.

MicrosoftGraphPublicInnerError withDetails(List<MicrosoftGraphPublicErrorDetail> details)

Set the details property: The details property.

MicrosoftGraphPublicInnerError withMessage(String message)

Set the message property: The message property.

MicrosoftGraphPublicInnerError withTarget(String target)

Set the target property: The target property.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPublicInnerError

public MicrosoftGraphPublicInnerError()

Creates an instance of MicrosoftGraphPublicInnerError class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: publicInnerError.

Returns:

the additionalProperties value.

code

public String code()

Get the code property: The code property.

Returns:

the code value.

details

public List details()

Get the details property: The details property.

Returns:

the details value.

fromJson

public static MicrosoftGraphPublicInnerError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPublicInnerError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphPublicInnerError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphPublicInnerError.

message

public String message()

Get the message property: The message property.

Returns:

the message value.

target

public String target()

Get the target property: The target property.

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphPublicInnerError withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: publicInnerError.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPublicInnerError object itself.

withCode

public MicrosoftGraphPublicInnerError withCode(String code)

Set the code property: The code property.

Parameters:

code - the code value to set.

Returns:

the MicrosoftGraphPublicInnerError object itself.

withDetails

public MicrosoftGraphPublicInnerError withDetails(List details)

Set the details property: The details property.

Parameters:

details - the details value to set.

Returns:

the MicrosoftGraphPublicInnerError object itself.

withMessage

public MicrosoftGraphPublicInnerError withMessage(String message)

Set the message property: The message property.

Parameters:

message - the message value to set.

Returns:

the MicrosoftGraphPublicInnerError object itself.

withTarget

public MicrosoftGraphPublicInnerError withTarget(String target)

Set the target property: The target property.

Parameters:

target - the target value to set.

Returns:

the MicrosoftGraphPublicInnerError object itself.

Applies to