Class TeamGetInfoResult


  • public class TeamGetInfoResult
    extends java.lang.Object
    • Field Detail

      • name

        @Nonnull
        protected final java.lang.String name
      • teamId

        @Nonnull
        protected final java.lang.String teamId
      • numLicensedUsers

        protected final long numLicensedUsers
      • numProvisionedUsers

        protected final long numProvisionedUsers
      • numUsedLicenses

        protected final long numUsedLicenses
    • Constructor Detail

      • TeamGetInfoResult

        public TeamGetInfoResult​(@Nonnull
                                 java.lang.String name,
                                 @Nonnull
                                 java.lang.String teamId,
                                 long numLicensedUsers,
                                 long numProvisionedUsers,
                                 @Nonnull
                                 TeamMemberPolicies policies,
                                 long numUsedLicenses)
        Parameters:
        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.
        numUsedLicenses - The number of licenses used on the team.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • TeamGetInfoResult

        public TeamGetInfoResult​(@Nonnull
                                 java.lang.String name,
                                 @Nonnull
                                 java.lang.String teamId,
                                 long numLicensedUsers,
                                 long numProvisionedUsers,
                                 @Nonnull
                                 TeamMemberPolicies policies)
        None

        The default values for unset fields will be used.

        Parameters:
        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.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getName

        @Nonnull
        public java.lang.String getName()
        The name of the team.
        Returns:
        value for this field, never null.
      • getTeamId

        @Nonnull
        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

        @Nonnull
        public TeamMemberPolicies 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 null if not present. Defaults to 0L.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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