Class TeamFolderMetadata


  • public class TeamFolderMetadata
    extends java.lang.Object
    Properties of a team folder.
    • Field Detail

      • teamFolderId

        protected final java.lang.String teamFolderId
      • name

        protected final java.lang.String name
      • isTeamSharedDropbox

        protected final boolean isTeamSharedDropbox
      • contentSyncSettings

        protected final java.util.List<ContentSyncSetting> contentSyncSettings
    • Constructor Detail

      • TeamFolderMetadata

        public 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.
        Parameters:
        teamFolderId - The ID of the team folder. Must match pattern "[-_0-9a-zA-Z:]+" and not be null.
        name - The name of the team folder. Must not be null.
        status - The status of the team folder. Must not be null.
        isTeamSharedDropbox - True if this team folder is a shared team root.
        syncSetting - The sync setting applied to this team folder. Must not be null.
        contentSyncSettings - Sync settings applied to contents of this team folder. Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getTeamFolderId

        public java.lang.String getTeamFolderId()
        The ID of the team folder.
        Returns:
        value for this field, never null.
      • getName

        public java.lang.String getName()
        The name of the team folder.
        Returns:
        value for this field, never null.
      • getStatus

        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

        public SyncSetting getSyncSetting()
        The sync setting applied to this team folder.
        Returns:
        value for this field, never null.
      • getContentSyncSettings

        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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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