Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MailboxFoldercreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the childFolderCount property value.Gets the childFolders property value.Gets the displayName property value.The deserialization information for the current modelgetItems()Gets the items property value.Gets the multiValueExtendedProperties property value.Gets the parentFolderId property value.Gets the singleValueExtendedProperties property value.Gets the totalItemCount property value.getType()Gets the type property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetChildFolderCount(Integer value) Sets the childFolderCount property value.voidsetChildFolders(List<MailboxFolder> value) Sets the childFolders property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetItems(List<MailboxItem> value) Sets the items property value.voidSets the multiValueExtendedProperties property value.voidsetParentFolderId(String value) Sets the parentFolderId property value.voidSets the singleValueExtendedProperties property value.voidsetTotalItemCount(Integer value) Sets the totalItemCount property value.voidSets the type property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MailboxFolder
public MailboxFolder()Instantiates a newMailboxFolderand 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
Gets the childFolderCount property value. The number of immediate child folders in the current folder.- Returns:
- a
Integer
-
getChildFolders
Gets the childFolders property value. The collection of child folders in this folder.- Returns:
- a
List<MailboxFolder>
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getItems
Gets the items property value. The collection of items in this folder.- Returns:
- a
List<MailboxItem>
-
getMultiValueExtendedProperties
Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the mailboxFolder.- Returns:
- a
List<MultiValueLegacyExtendedProperty>
-
getParentFolderId
Gets the parentFolderId property value. The unique identifier for the parent folder of this folder.- Returns:
- a
String
-
getSingleValueExtendedProperties
Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the mailboxFolder.- Returns:
- a
List<SingleValueLegacyExtendedProperty>
-
getTotalItemCount
Gets the totalItemCount property value. The number of items in the folder.- Returns:
- a
Integer
-
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 -
setChildFolderCount
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
Sets the childFolders property value. The collection of child folders in this folder.- Parameters:
value- Value to set for the childFolders property.
-
setDisplayName
Sets the displayName property value. The display name of the folder.- Parameters:
value- Value to set for the displayName property.
-
setItems
Sets the items property value. The collection of items in this folder.- Parameters:
value- Value to set for the items property.
-
setMultiValueExtendedProperties
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
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
Sets the totalItemCount property value. The number of items in the folder.- Parameters:
value- Value to set for the totalItemCount property.
-
setType
Sets the type property value. Describes the folder class type.- Parameters:
value- Value to set for the type property.
-