public class TeamGetInfoResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected long |
numLicensedUsers |
protected long |
numProvisionedUsers |
protected TeamMemberPolicies |
policies |
protected java.lang.String |
teamId |
Constructor and Description |
---|
TeamGetInfoResult(java.lang.String name,
java.lang.String teamId,
long numLicensedUsers,
long numProvisionedUsers,
TeamMemberPolicies policies) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the team.
|
long |
getNumLicensedUsers()
The number of licenses available to the team.
|
long |
getNumProvisionedUsers()
The number of accounts that have been invited or are already active
members of the team.
|
TeamMemberPolicies |
getPolicies() |
java.lang.String |
getTeamId()
The ID of the team.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String name
protected final java.lang.String teamId
protected final long numLicensedUsers
protected final long numProvisionedUsers
protected final TeamMemberPolicies policies
public TeamGetInfoResult(java.lang.String name, java.lang.String teamId, long numLicensedUsers, long numProvisionedUsers, TeamMemberPolicies policies)
name
- The name of the team. Must not be null
.teamId
- The ID of the team. Must not be null
.numLicensedUsers
- The number of licenses available to the team.numProvisionedUsers
- The number of accounts that have been invited
or are already active members of the team.policies
- Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getName()
null
.public java.lang.String getTeamId()
null
.public long getNumLicensedUsers()
public long getNumProvisionedUsers()
public TeamMemberPolicies getPolicies()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.