Class MailboxFolder

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

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

    • MailboxFolder

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

    • createFromDiscriminatorValue

      @Nonnull public static MailboxFolder 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 MailboxFolder
    • getChildFolderCount

      @Nullable public Integer getChildFolderCount()
      Gets the childFolderCount property value. The number of immediate child folders in the current folder.
      Returns:
      a Integer
    • getChildFolders

      @Nullable public List<MailboxFolder> getChildFolders()
      Gets the childFolders property value. The collection of child folders in this folder.
      Returns:
      a List<MailboxFolder>
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the folder.
      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>>
    • getItems

      @Nullable public List<MailboxItem> getItems()
      Gets the items property value. The collection of items in this folder.
      Returns:
      a List<MailboxItem>
    • getMultiValueExtendedProperties

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

      @Nullable public String getParentFolderId()
      Gets the parentFolderId property value. The unique identifier for the parent folder of this 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 mailboxFolder.
      Returns:
      a List<SingleValueLegacyExtendedProperty>
    • getTotalItemCount

      @Nullable public Integer getTotalItemCount()
      Gets the totalItemCount property value. The number of items in the folder.
      Returns:
      a Integer
    • getType

      @Nullable public String getType()
      Gets the type property value. Describes the folder class type.
      Returns:
      a String
    • 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
    • setChildFolderCount

      public void setChildFolderCount(@Nullable Integer value)
      Sets the childFolderCount property value. The number of immediate child folders in the current folder.
      Parameters:
      value - Value to set for the childFolderCount property.
    • setChildFolders

      public void setChildFolders(@Nullable List<MailboxFolder> value)
      Sets the childFolders property value. The collection of child folders in this folder.
      Parameters:
      value - Value to set for the childFolders property.
    • setDisplayName

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

      public void setItems(@Nullable List<MailboxItem> value)
      Sets the items property value. The collection of items in this folder.
      Parameters:
      value - Value to set for the items property.
    • setMultiValueExtendedProperties

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

      public void setParentFolderId(@Nullable String value)
      Sets the parentFolderId property value. The unique identifier for the parent folder of this 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 mailboxFolder.
      Parameters:
      value - Value to set for the singleValueExtendedProperties property.
    • setTotalItemCount

      public void setTotalItemCount(@Nullable Integer value)
      Sets the totalItemCount property value. The number of items in the folder.
      Parameters:
      value - Value to set for the totalItemCount property.
    • setType

      public void setType(@Nullable String value)
      Sets the type property value. Describes the folder class type.
      Parameters:
      value - Value to set for the type property.