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 Details

    • MicrosoftGraphContactFolder

      public MicrosoftGraphContactFolder()
      Creates an instance of MicrosoftGraphContactFolder class.
  • Method Details

    • 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<MicrosoftGraphContact> contacts()
      Get the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.
      Returns:
      the contacts value.
    • withContacts

      public MicrosoftGraphContactFolder withContacts(List<MicrosoftGraphContact> 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:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphContactFolder withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: contactFolder.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.