Package com.dropbox.core.v2.team
Class TeamGetInfoResult
java.lang.Object
com.dropbox.core.v2.team.TeamGetInfoResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final longprotected final longprotected final longprotected final TeamMemberPoliciesprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionTeamGetInfoResult(String name, String teamId, long numLicensedUsers, long numProvisionedUsers, TeamMemberPolicies policies) NoneTeamGetInfoResult(String name, String teamId, long numLicensedUsers, long numProvisionedUsers, TeamMemberPolicies policies, long numUsedLicenses) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()The name of the team.longThe number of licenses available to the team.longThe number of accounts that have been invited or are already active members of the team.longThe number of licenses used on the team.The ID of the team.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
name
-
teamId
-
numLicensedUsers
protected final long numLicensedUsers -
numProvisionedUsers
protected final long numProvisionedUsers -
numUsedLicenses
protected final long numUsedLicenses -
policies
-
-
Constructor Details
-
TeamGetInfoResult
public TeamGetInfoResult(@Nonnull String name, @Nonnull String teamId, long numLicensedUsers, long numProvisionedUsers, @Nonnull TeamMemberPolicies policies, long numUsedLicenses) - 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.numUsedLicenses- The number of licenses used on the team.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
TeamGetInfoResult
public TeamGetInfoResult(@Nonnull String name, @Nonnull String teamId, long numLicensedUsers, long numProvisionedUsers, @Nonnull TeamMemberPolicies policies) NoneThe default values for unset fields will be used.
- 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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getName
The name of the team.- Returns:
- value for this field, never
null.
-
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
- Returns:
- value for this field, never
null.
-
getNumUsedLicenses
public long getNumUsedLicenses()The number of licenses used on the team.- Returns:
- value for this field, or
nullif not present. Defaults to 0L.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-