Class ContactFolder

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ContactFolder
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ContactFolder extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ContactFolder

      public ContactFolder()
      Instantiates a new ContactFolder and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ContactFolder createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ContactFolder
    • getChildFolders

      @Nullable public List<ContactFolder> getChildFolders()
      Gets the childFolders property value. The collection of child folders in the folder. Navigation property. Read-only. Nullable.
      Returns:
      a List<ContactFolder>
    • getContacts

      @Nullable public List<Contact> getContacts()
      Gets the contacts property value. The contacts in the folder. Navigation property. Read-only. Nullable.
      Returns:
      a List<Contact>
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The folder's display name.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMultiValueExtendedProperties

      @Nullable public List<MultiValueLegacyExtendedProperty> getMultiValueExtendedProperties()
      Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
      Returns:
      a List<MultiValueLegacyExtendedProperty>
    • getParentFolderId

      @Nullable public String getParentFolderId()
      Gets the parentFolderId property value. The ID of the folder's parent folder.
      Returns:
      a String
    • getSingleValueExtendedProperties

      @Nullable public List<SingleValueLegacyExtendedProperty> getSingleValueExtendedProperties()
      Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
      Returns:
      a List<SingleValueLegacyExtendedProperty>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setChildFolders

      public void setChildFolders(@Nullable List<ContactFolder> value)
      Sets the childFolders property value. The collection of child folders in the folder. Navigation property. Read-only. Nullable.
      Parameters:
      value - Value to set for the childFolders property.
    • setContacts

      public void setContacts(@Nullable List<Contact> value)
      Sets the contacts property value. The contacts in the folder. Navigation property. Read-only. Nullable.
      Parameters:
      value - Value to set for the contacts property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The folder's display name.
      Parameters:
      value - Value to set for the displayName property.
    • setMultiValueExtendedProperties

      public void setMultiValueExtendedProperties(@Nullable List<MultiValueLegacyExtendedProperty> value)
      Sets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
      Parameters:
      value - Value to set for the multiValueExtendedProperties property.
    • setParentFolderId

      public void setParentFolderId(@Nullable String value)
      Sets the parentFolderId property value. The ID of the folder's parent folder.
      Parameters:
      value - Value to set for the parentFolderId property.
    • setSingleValueExtendedProperties

      public void setSingleValueExtendedProperties(@Nullable List<SingleValueLegacyExtendedProperty> value)
      Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
      Parameters:
      value - Value to set for the singleValueExtendedProperties property.