Class FullTeam


  • public class FullTeam
    extends Team
    Detailed information about a team.
    • Constructor Detail

      • FullTeam

        public FullTeam​(java.lang.String id,
                        java.lang.String name,
                        TeamSharingPolicies sharingPolicies,
                        OfficeAddInPolicy officeAddinPolicy)
        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.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getId

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

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

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

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

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

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

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

        public java.lang.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