public class GraphFolderInfo extends BaseRestObject
Represents information about personal folder.
Constructor and Description |
---|
GraphFolderInfo(MapiPropertyCollection properties)
Initializes a new instance of the
FolderInfo class. |
Modifier and Type | Method and Description |
---|---|
String |
getContainerClass()
Gets container class of the folder object.
|
int |
getContentCount()
Gets the total number of items in the folder.
|
int |
getContentUnreadCount()
Gets the number of unread items in the folder.
|
String |
getDisplayName()
Gets the display name of folder.
|
String |
getItemId()
Gets string representation of entry ID.
|
boolean |
hasSubFolders()
Gets a value indicating whether the Folder object has any subfolders.
|
void |
setDisplayName(String value)
Gets the display name of folder.
|
String |
toString()
Returns a string that represents the current object.
|
getProperties
public GraphFolderInfo(MapiPropertyCollection properties)
Initializes a new instance of the FolderInfo
class.
properties
- MapiProperties for this folderpublic String getDisplayName()
Gets the display name of folder.
Value: The display name.public void setDisplayName(String value)
Gets the display name of folder.
Value: The display name.public int getContentCount()
Gets the total number of items in the folder.
Value: The content count.public int getContentUnreadCount()
Gets the number of unread items in the folder.
Value: The content unread count.public boolean hasSubFolders()
Gets a value indicating whether the Folder object has any subfolders.
Value: The has sub folders.public String getContainerClass()
Gets container class of the folder object.
Value: The container class.public String getItemId()
Gets string representation of entry ID.
Value: The entry id string.