Class FullTeam

java.lang.Object
com.dropbox.core.v2.users.Team
com.dropbox.core.v2.users.FullTeam

public class FullTeam extends Team
Detailed information about a team.
  • Field Details

  • Constructor Details

    • FullTeam

      public FullTeam(@Nonnull String id, @Nonnull String name, @Nonnull TeamSharingPolicies sharingPolicies, @Nonnull OfficeAddInPolicy officeAddinPolicy, @Nonnull TopLevelContentPolicy topLevelContentPolicy)
      Detailed information about a team.
      Parameters:
      id - The team's unique ID. Must not be null.
      name - The name of the team. Must not be null.
      sharingPolicies - Team policies governing sharing. Must not be null.
      officeAddinPolicy - Team policy governing the use of the Office Add-In. Must not be null.
      topLevelContentPolicy - Team policy governing whether members can edit team folders at the top level of the team space. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getId

      @Nonnull public String getId()
      The team's unique ID.
      Overrides:
      getId in class Team
      Returns:
      value for this field, never null.
    • getName

      @Nonnull public String getName()
      The name of the team.
      Overrides:
      getName in class Team
      Returns:
      value for this field, never null.
    • getSharingPolicies

      @Nonnull public TeamSharingPolicies getSharingPolicies()
      Team policies governing sharing.
      Returns:
      value for this field, never null.
    • getOfficeAddinPolicy

      @Nonnull public OfficeAddInPolicy getOfficeAddinPolicy()
      Team policy governing the use of the Office Add-In.
      Returns:
      value for this field, never null.
    • getTopLevelContentPolicy

      @Nonnull public TopLevelContentPolicy getTopLevelContentPolicy()
      Team policy governing whether members can edit team folders at the top level of the team space.
      Returns:
      value for this field, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Team
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Team
    • toString

      public String toString()
      Overrides:
      toString in class Team
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class Team
      Returns:
      Formatted, multiline String representation of this object