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

MicrosoftGraphContactFolder Class

public final class MicrosoftGraphContactFolder
extends MicrosoftGraphEntity

contactFolder.

Constructor Summary

Constructor Description
MicrosoftGraphContactFolder()

Creates an instance of MicrosoftGraphContactFolder class.

Method Summary

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

Get the additionalProperties property: contactFolder.

List<MicrosoftGraphContactFolder> childFolders()

Get the childFolders property: The collection of child folders in the folder.

List<MicrosoftGraphContact> contacts()

Get the contacts property: The contacts in the folder.

String displayName()

Get the displayName property: The folder's display name.

static MicrosoftGraphContactFolder fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphContactFolder from the JsonReader.

List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties()

Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder.

String parentFolderId()

Get the parentFolderId property: The ID of the folder's parent folder.

List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties()

Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphContactFolder withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: contactFolder.

MicrosoftGraphContactFolder withChildFolders(List<MicrosoftGraphContactFolder> childFolders)

Set the childFolders property: The collection of child folders in the folder.

MicrosoftGraphContactFolder withContacts(List<MicrosoftGraphContact> contacts)

Set the contacts property: The contacts in the folder.

MicrosoftGraphContactFolder withDisplayName(String displayName)

Set the displayName property: The folder's display name.

MicrosoftGraphContactFolder withId(String id)

Set the id property: Read-only.

MicrosoftGraphContactFolder withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)

Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder.

MicrosoftGraphContactFolder withParentFolderId(String parentFolderId)

Set the parentFolderId property: The ID of the folder's parent folder.

MicrosoftGraphContactFolder withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)

Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphContactFolder

public MicrosoftGraphContactFolder()

Creates an instance of MicrosoftGraphContactFolder class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: contactFolder.

Overrides:

MicrosoftGraphContactFolder.additionalProperties()

Returns:

the additionalProperties value.

childFolders

public List childFolders()

Get the childFolders property: The collection of child folders in the folder. Navigation property. Read-only. Nullable.

Returns:

the childFolders value.

contacts

public List contacts()

Get the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.

Returns:

the contacts value.

displayName

public String displayName()

Get the displayName property: The folder's display name.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphContactFolder fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphContactFolder from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

multiValueExtendedProperties

public List multiValueExtendedProperties()

Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.

Returns:

the multiValueExtendedProperties value.

parentFolderId

public String parentFolderId()

Get the parentFolderId property: The ID of the folder's parent folder.

Returns:

the parentFolderId value.

singleValueExtendedProperties

public List singleValueExtendedProperties()

Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.

Returns:

the singleValueExtendedProperties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphContactFolder.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphContactFolder.validate()

withAdditionalProperties

public MicrosoftGraphContactFolder withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: contactFolder.

Overrides:

MicrosoftGraphContactFolder.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

withChildFolders

public MicrosoftGraphContactFolder withChildFolders(List childFolders)

Set the childFolders property: The collection of child folders in the folder. Navigation property. Read-only. Nullable.

Parameters:

childFolders - the childFolders value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

withContacts

public MicrosoftGraphContactFolder withContacts(List contacts)

Set the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.

Parameters:

contacts - the contacts value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

withDisplayName

public MicrosoftGraphContactFolder withDisplayName(String displayName)

Set the displayName property: The folder's display name.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

withId

public MicrosoftGraphContactFolder withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphContactFolder.withId(String id)

Parameters:

id

withMultiValueExtendedProperties

public MicrosoftGraphContactFolder withMultiValueExtendedProperties(List multiValueExtendedProperties)

Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.

Parameters:

multiValueExtendedProperties - the multiValueExtendedProperties value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

withParentFolderId

public MicrosoftGraphContactFolder withParentFolderId(String parentFolderId)

Set the parentFolderId property: The ID of the folder's parent folder.

Parameters:

parentFolderId - the parentFolderId value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

withSingleValueExtendedProperties

public MicrosoftGraphContactFolder withSingleValueExtendedProperties(List singleValueExtendedProperties)

Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.

Parameters:

singleValueExtendedProperties - the singleValueExtendedProperties value to set.

Returns:

the MicrosoftGraphContactFolder object itself.

Applies to