Package com.dropbox.core.v2.teamlog
Class FolderLogInfo
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.FileOrFolderLogInfo
- 
- com.dropbox.core.v2.teamlog.FolderLogInfo
 
 
- 
 public class FolderLogInfo extends FileOrFolderLogInfo Folder's logged information.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classFolderLogInfo.BuilderBuilder forFolderLogInfo.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.LongfileCount- 
Fields inherited from class com.dropbox.core.v2.teamlog.FileOrFolderLogInfodisplayName, fileId, fileSize, path
 
- 
 - 
Constructor SummaryConstructors Constructor Description FolderLogInfo(PathLogInfo path)Folder's logged information.FolderLogInfo(PathLogInfo path, java.lang.String displayName, java.lang.String fileId, java.lang.Long fileSize, java.lang.Long fileCount)Folder's logged information.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDisplayName()Display name.java.lang.LonggetFileCount()Number of files within the folder.java.lang.StringgetFileId()Unique ID.java.lang.LonggetFileSize()File or folder size in bytes.PathLogInfogetPath()Path relative to event context.inthashCode()static FolderLogInfo.BuildernewBuilder(PathLogInfo path)Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
FolderLogInfopublic FolderLogInfo(PathLogInfo path, java.lang.String displayName, java.lang.String fileId, java.lang.Long fileSize, java.lang.Long fileCount) Folder's logged information.Use newBuilder(com.dropbox.core.v2.teamlog.PathLogInfo)to create instances of this class without specifying values for all optional fields.- Parameters:
- path- Path relative to event context. Must not be- null.
- displayName- Display name.
- fileId- Unique ID.
- fileSize- File or folder size in bytes.
- fileCount- Number of files within the folder.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
FolderLogInfopublic FolderLogInfo(PathLogInfo path) Folder's logged information.The default values for unset fields will be used. - Parameters:
- path- Path relative to event context. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getPathpublic PathLogInfo getPath() Path relative to event context.- Overrides:
- getPathin class- FileOrFolderLogInfo
- Returns:
- value for this field, never null.
 
 - 
getDisplayNamepublic java.lang.String getDisplayName() Display name.- Overrides:
- getDisplayNamein class- FileOrFolderLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getFileIdpublic java.lang.String getFileId() Unique ID.- Overrides:
- getFileIdin class- FileOrFolderLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getFileSizepublic java.lang.Long getFileSize() File or folder size in bytes.- Overrides:
- getFileSizein class- FileOrFolderLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getFileCountpublic java.lang.Long getFileCount() Number of files within the folder.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static FolderLogInfo.Builder newBuilder(PathLogInfo path) Returns a new builder for creating an instance of this class.- Parameters:
- path- Path relative to event context. Must not be- null.
- Returns:
- builder for this class.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- FileOrFolderLogInfo
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- FileOrFolderLogInfo
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- FileOrFolderLogInfo
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- FileOrFolderLogInfo
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-