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

MicrosoftGraphFreeBusyError Class

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

Implements

public final class MicrosoftGraphFreeBusyError
implements JsonSerializable<MicrosoftGraphFreeBusyError>

freeBusyError.

Constructor Summary

Constructor Description
MicrosoftGraphFreeBusyError()

Creates an instance of MicrosoftGraphFreeBusyError class.

Method Summary

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

Get the additionalProperties property: freeBusyError.

static MicrosoftGraphFreeBusyError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphFreeBusyError from the JsonReader.

String message()

Get the message property: Describes the error.

String responseCode()

Get the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphFreeBusyError withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: freeBusyError.

MicrosoftGraphFreeBusyError withMessage(String message)

Set the message property: Describes the error.

MicrosoftGraphFreeBusyError withResponseCode(String responseCode)

Set the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphFreeBusyError

public MicrosoftGraphFreeBusyError()

Creates an instance of MicrosoftGraphFreeBusyError class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: freeBusyError.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphFreeBusyError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphFreeBusyError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphFreeBusyError 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 MicrosoftGraphFreeBusyError.

message

public String message()

Get the message property: Describes the error.

Returns:

the message value.

responseCode

public String responseCode()

Get the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.

Returns:

the responseCode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphFreeBusyError withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: freeBusyError.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphFreeBusyError object itself.

withMessage

public MicrosoftGraphFreeBusyError withMessage(String message)

Set the message property: Describes the error.

Parameters:

message - the message value to set.

Returns:

the MicrosoftGraphFreeBusyError object itself.

withResponseCode

public MicrosoftGraphFreeBusyError withResponseCode(String responseCode)

Set the responseCode property: The response code from querying for the availability of the user, distribution list, or resource.

Parameters:

responseCode - the responseCode value to set.

Returns:

the MicrosoftGraphFreeBusyError object itself.

Applies to