Class MicrosoftGraphContactFolder
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContactFolder
-
public final class MicrosoftGraphContactFolder extends MicrosoftGraphEntity
contactFolder.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphContactFolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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<MicrosoftGraphContactInner>contacts()Get the contacts property: The contacts in the folder.StringdisplayName()Get the displayName property: The folder's display name.List<MicrosoftGraphMultiValueLegacyExtendedProperty>multiValueExtendedProperties()Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder.StringparentFolderId()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.voidvalidate()Validates the instance.MicrosoftGraphContactFolderwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: contactFolder.MicrosoftGraphContactFolderwithChildFolders(List<MicrosoftGraphContactFolder> childFolders)Set the childFolders property: The collection of child folders in the folder.MicrosoftGraphContactFolderwithContacts(List<MicrosoftGraphContactInner> contacts)Set the contacts property: The contacts in the folder.MicrosoftGraphContactFolderwithDisplayName(String displayName)Set the displayName property: The folder's display name.MicrosoftGraphContactFolderwithId(String id)Set the id property: Read-only.MicrosoftGraphContactFolderwithMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder.MicrosoftGraphContactFolderwithParentFolderId(String parentFolderId)Set the parentFolderId property: The ID of the folder's parent folder.MicrosoftGraphContactFolderwithSingleValueExtendedProperties(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
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The folder's display name.- Returns:
- the displayName value.
-
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.
-
parentFolderId
public String parentFolderId()
Get the parentFolderId property: The ID of the folder's parent folder.- Returns:
- the parentFolderId value.
-
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.
-
childFolders
public List<MicrosoftGraphContactFolder> childFolders()
Get the childFolders property: The collection of child folders in the folder. Navigation property. Read-only. Nullable.- Returns:
- the childFolders value.
-
withChildFolders
public MicrosoftGraphContactFolder withChildFolders(List<MicrosoftGraphContactFolder> 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.
-
contacts
public List<MicrosoftGraphContactInner> contacts()
Get the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.- Returns:
- the contacts value.
-
withContacts
public MicrosoftGraphContactFolder withContacts(List<MicrosoftGraphContactInner> 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.
-
multiValueExtendedProperties
public List<MicrosoftGraphMultiValueLegacyExtendedProperty> 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
public List<MicrosoftGraphSingleValueLegacyExtendedProperty> 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
public Map<String,Object> 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
public MicrosoftGraphContactFolder withId(String id)
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.
-
-