Class TeamFolderMetadata


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

      • teamFolderId

        @Nonnull
        protected final java.lang.String teamFolderId
      • name

        @Nonnull
        protected final java.lang.String name
      • 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 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

        @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 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