Package com.dropbox.core.v2.team
Class TeamGetInfoResult
- java.lang.Object
-
- com.dropbox.core.v2.team.TeamGetInfoResult
-
public class TeamGetInfoResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
protected long
numLicensedUsers
protected long
numProvisionedUsers
protected TeamMemberPolicies
policies
protected java.lang.String
teamId
-
Constructor Summary
Constructors Constructor Description TeamGetInfoResult(java.lang.String name, java.lang.String teamId, long numLicensedUsers, long numProvisionedUsers, TeamMemberPolicies policies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
name
protected final java.lang.String name
-
teamId
protected final java.lang.String teamId
-
numLicensedUsers
protected final long numLicensedUsers
-
numProvisionedUsers
protected final long numProvisionedUsers
-
policies
protected final TeamMemberPolicies policies
-
-
Constructor Detail
-
TeamGetInfoResult
public TeamGetInfoResult(java.lang.String name, java.lang.String teamId, long numLicensedUsers, long numProvisionedUsers, TeamMemberPolicies policies)
- Parameters:
name
- The name of the team. Must not benull
.teamId
- The ID of the team. Must not benull
.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 benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getName
public java.lang.String getName()
The name of the team.- Returns:
- value for this field, never
null
.
-
getTeamId
public java.lang.String getTeamId()
The ID of the team.- Returns:
- value for this field, never
null
.
-
getNumLicensedUsers
public long getNumLicensedUsers()
The number of licenses available to the team.- Returns:
- value for this field.
-
getNumProvisionedUsers
public long getNumProvisionedUsers()
The number of accounts that have been invited or are already active members of the team.- Returns:
- value for this field.
-
getPolicies
public TeamMemberPolicies getPolicies()
- Returns:
- value for this field, never
null
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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
-
-