Package com.dropbox.core.v2.team
Class TeamFolderMetadata
java.lang.Object
com.dropbox.core.v2.team.TeamFolderMetadata
Properties of a team folder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<ContentSyncSetting> protected final booleanprotected final Stringprotected final longprotected final TeamFolderStatusprotected final SyncSettingprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionTeamFolderMetadata(String teamFolderId, String name, TeamFolderStatus status, boolean isTeamSharedDropbox, SyncSetting syncSetting, List<ContentSyncSetting> contentSyncSettings) Properties of a team folder.TeamFolderMetadata(String teamFolderId, String name, TeamFolderStatus status, boolean isTeamSharedDropbox, SyncSetting syncSetting, List<ContentSyncSetting> contentSyncSettings, long quotaLimit) Properties of a team folder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanSync settings applied to contents of this team folder.booleanTrue if this team folder is a shared team root.getName()The name of the team folder.longThe quota limit in bytes for this team folder namespace tree.The status of the team folder.The sync setting applied to this team folder.The ID of the team folder.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
teamFolderId
-
name
-
status
-
syncSetting
-
contentSyncSettings
-
quotaLimit
protected final long quotaLimit
-
-
Constructor Details
-
TeamFolderMetadata
public TeamFolderMetadata(@Nonnull String teamFolderId, @Nonnull String name, @Nonnull TeamFolderStatus status, boolean isTeamSharedDropbox, @Nonnull SyncSetting syncSetting, @Nonnull List<ContentSyncSetting> contentSyncSettings, long quotaLimit) Properties of a team folder.- Parameters:
teamFolderId- The ID of the team folder. Must match pattern "[-_0-9a-zA-Z:]+" and not benull.name- The name of the team folder. Must not benull.status- The status of the team folder. Must not benull.isTeamSharedDropbox- True if this team folder is a shared team root.syncSetting- The sync setting applied to this team folder. Must not benull.contentSyncSettings- Sync settings applied to contents of this team folder. Must not contain anullitem and not benull.quotaLimit- The quota limit in bytes for this team folder namespace tree.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
TeamFolderMetadata
public TeamFolderMetadata(@Nonnull String teamFolderId, @Nonnull String name, @Nonnull TeamFolderStatus status, boolean isTeamSharedDropbox, @Nonnull SyncSetting syncSetting, @Nonnull List<ContentSyncSetting> contentSyncSettings) Properties of a team folder.The default values for unset fields will be used.
- Parameters:
teamFolderId- The ID of the team folder. Must match pattern "[-_0-9a-zA-Z:]+" and not benull.name- The name of the team folder. Must not benull.status- The status of the team folder. Must not benull.isTeamSharedDropbox- True if this team folder is a shared team root.syncSetting- The sync setting applied to this team folder. Must not benull.contentSyncSettings- Sync settings applied to contents of this team folder. Must not contain anullitem and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getTeamFolderId
The ID of the team folder.- Returns:
- value for this field, never
null.
-
getName
The name of the team folder.- Returns:
- value for this field, never
null.
-
getStatus
The status of the team folder.- Returns:
- value for this field, never
null.
-
getSyncSetting
The sync setting applied to this team folder.- Returns:
- value for this field, never
null.
-
getContentSyncSettings
Sync settings applied to contents of this team folder.- Returns:
- value for this field, never
null.
-
getQuotaLimit
public long getQuotaLimit()The quota limit in bytes for this team folder namespace tree.- Returns:
- value for this field, or
nullif not present. Defaults to 0L.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-