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.Stringnameprotected longnumLicensedUsersprotected longnumProvisionedUsersprotected TeamMemberPoliciespoliciesprotected java.lang.StringteamId
-
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 booleanequals(java.lang.Object obj)java.lang.StringgetName()The name of the team.longgetNumLicensedUsers()The number of licenses available to the team.longgetNumProvisionedUsers()The number of accounts that have been invited or are already active members of the team.TeamMemberPoliciesgetPolicies()java.lang.StringgetTeamId()The ID of the team.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-