Package com.dropbox.core.v2.team
Class TeamFolderMetadata
- java.lang.Object
-
- com.dropbox.core.v2.team.TeamFolderMetadata
-
public class TeamFolderMetadata extends java.lang.Object
Properties of a team folder.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ContentSyncSetting>
contentSyncSettings
protected boolean
isTeamSharedDropbox
protected java.lang.String
name
protected TeamFolderStatus
status
protected SyncSetting
syncSetting
protected java.lang.String
teamFolderId
-
Constructor Summary
Constructors Constructor Description TeamFolderMetadata(java.lang.String teamFolderId, java.lang.String name, TeamFolderStatus status, boolean isTeamSharedDropbox, SyncSetting syncSetting, java.util.List<ContentSyncSetting> contentSyncSettings)
Properties of a team folder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<ContentSyncSetting>
getContentSyncSettings()
Sync settings applied to contents of this team folder.boolean
getIsTeamSharedDropbox()
True if this team folder is a shared team root.java.lang.String
getName()
The name of the team folder.TeamFolderStatus
getStatus()
The status of the team folder.SyncSetting
getSyncSetting()
The sync setting applied to this team folder.java.lang.String
getTeamFolderId()
The ID of the team folder.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
teamFolderId
@Nonnull protected final java.lang.String teamFolderId
-
name
@Nonnull protected final java.lang.String name
-
status
@Nonnull protected final TeamFolderStatus status
-
isTeamSharedDropbox
protected final boolean isTeamSharedDropbox
-
syncSetting
@Nonnull protected final SyncSetting syncSetting
-
contentSyncSettings
@Nonnull protected final java.util.List<ContentSyncSetting> contentSyncSettings
-
-
Constructor Detail
-
TeamFolderMetadata
public TeamFolderMetadata(@Nonnull java.lang.String teamFolderId, @Nonnull java.lang.String name, @Nonnull TeamFolderStatus status, boolean isTeamSharedDropbox, @Nonnull SyncSetting syncSetting, @Nonnull java.util.List<ContentSyncSetting> contentSyncSettings)
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 anull
item and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getTeamFolderId
@Nonnull public java.lang.String getTeamFolderId()
The ID of the team folder.- Returns:
- value for this field, never
null
.
-
getName
@Nonnull public java.lang.String getName()
The name of the team folder.- Returns:
- value for this field, never
null
.
-
getStatus
@Nonnull public TeamFolderStatus getStatus()
The status of the team folder.- Returns:
- value for this field, never
null
.
-
getIsTeamSharedDropbox
public boolean getIsTeamSharedDropbox()
True if this team folder is a shared team root.- Returns:
- value for this field.
-
getSyncSetting
@Nonnull public SyncSetting getSyncSetting()
The sync setting applied to this team folder.- Returns:
- value for this field, never
null
.
-
getContentSyncSettings
@Nonnull public java.util.List<ContentSyncSetting> getContentSyncSettings()
Sync settings applied to contents of this team folder.- Returns:
- value for this field, never
null
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String 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
-
-