public class FullTeam extends Team
Modifier and Type | Field and Description |
---|---|
protected OfficeAddInPolicy |
officeAddinPolicy |
protected TeamSharingPolicies |
sharingPolicies |
Constructor and Description |
---|
FullTeam(java.lang.String id,
java.lang.String name,
TeamSharingPolicies sharingPolicies,
OfficeAddInPolicy officeAddinPolicy)
Detailed information about a team.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The team's unique ID.
|
java.lang.String |
getName()
The name of the team.
|
OfficeAddInPolicy |
getOfficeAddinPolicy()
Team policy governing the use of the Office Add-In.
|
TeamSharingPolicies |
getSharingPolicies()
Team policies governing sharing.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final TeamSharingPolicies sharingPolicies
protected final OfficeAddInPolicy officeAddinPolicy
public FullTeam(java.lang.String id, java.lang.String name, TeamSharingPolicies sharingPolicies, OfficeAddInPolicy officeAddinPolicy)
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
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getId()
public java.lang.String getName()
public TeamSharingPolicies getSharingPolicies()
null
.public OfficeAddInPolicy getOfficeAddinPolicy()
null
.public java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class Team