Class MicrosoftGraphContactFolder
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContactFolder
contactFolder.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphContactFolder class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: contactFolder.Get the childFolders property: The collection of child folders in the folder.contacts()Get the contacts property: The contacts in the folder.Get the displayName property: The folder's display name.Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder.Get the parentFolderId property: The ID of the folder's parent folder.Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: contactFolder.withChildFolders(List<MicrosoftGraphContactFolder> childFolders) Set the childFolders property: The collection of child folders in the folder.withContacts(List<MicrosoftGraphContact> contacts) Set the contacts property: The contacts in the folder.withDisplayName(String displayName) Set the displayName property: The folder's display name.Set the id property: Read-only.withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties) Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder.withParentFolderId(String parentFolderId) Set the parentFolderId property: The ID of the folder's parent folder.withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties) Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphContactFolder
public MicrosoftGraphContactFolder()Creates an instance of MicrosoftGraphContactFolder class.
-
-
Method Details
-
displayName
Get the displayName property: The folder's display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The folder's display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphContactFolder object itself.
-
parentFolderId
Get the parentFolderId property: The ID of the folder's parent folder.- Returns:
- the parentFolderId value.
-
withParentFolderId
Set the parentFolderId property: The ID of the folder's parent folder.- Parameters:
parentFolderId- the parentFolderId value to set.- Returns:
- the MicrosoftGraphContactFolder object itself.
-
childFolders
Get the childFolders property: The collection of child folders in the folder. Navigation property. Read-only. Nullable.- Returns:
- the childFolders value.
-
withChildFolders
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.
-
contacts
Get the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.- Returns:
- the contacts value.
-
withContacts
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.
-
multiValueExtendedProperties
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.- Returns:
- the multiValueExtendedProperties value.
-
withMultiValueExtendedProperties
public MicrosoftGraphContactFolder withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> 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.
-
singleValueExtendedProperties
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.- Returns:
- the singleValueExtendedProperties value.
-
withSingleValueExtendedProperties
public MicrosoftGraphContactFolder withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> 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.
-
additionalProperties
Get the additionalProperties property: contactFolder.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContactFolder withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: contactFolder.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContactFolder object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-