Class GetMembershipReport

java.lang.Object
com.dropbox.core.v2.team.BaseDfbReport
com.dropbox.core.v2.team.GetMembershipReport

public class GetMembershipReport extends BaseDfbReport
Membership Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
  • Field Details

    • teamSize

      @Nonnull protected final List<Long> teamSize
    • pendingInvites

      @Nonnull protected final List<Long> pendingInvites
    • membersJoined

      @Nonnull protected final List<Long> membersJoined
    • suspendedMembers

      @Nonnull protected final List<Long> suspendedMembers
    • licenses

      @Nonnull protected final List<Long> licenses
  • Constructor Details

    • GetMembershipReport

      public GetMembershipReport(@Nonnull String startDate, @Nonnull List<Long> teamSize, @Nonnull List<Long> pendingInvites, @Nonnull List<Long> membersJoined, @Nonnull List<Long> suspendedMembers, @Nonnull List<Long> licenses)
      Membership Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
      Parameters:
      startDate - First date present in the results as 'YYYY-MM-DD' or None. Must not be null.
      teamSize - Team size, for each day. Must not contain a null item and not be null.
      pendingInvites - The number of pending invites to the team, for each day. Must not contain a null item and not be null.
      membersJoined - The number of members that joined the team, for each day. Must not contain a null item and not be null.
      suspendedMembers - The number of suspended team members, for each day. Must not contain a null item and not be null.
      licenses - The total number of licenses the team has, for each day. Must not contain a null item and not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getStartDate

      @Nonnull public String getStartDate()
      First date present in the results as 'YYYY-MM-DD' or None.
      Overrides:
      getStartDate in class BaseDfbReport
      Returns:
      value for this field, never null.
    • getTeamSize

      @Nonnull public List<Long> getTeamSize()
      Team size, for each day.
      Returns:
      value for this field, never null.
    • getPendingInvites

      @Nonnull public List<Long> getPendingInvites()
      The number of pending invites to the team, for each day.
      Returns:
      value for this field, never null.
    • getMembersJoined

      @Nonnull public List<Long> getMembersJoined()
      The number of members that joined the team, for each day.
      Returns:
      value for this field, never null.
    • getSuspendedMembers

      @Nonnull public List<Long> getSuspendedMembers()
      The number of suspended team members, for each day.
      Returns:
      value for this field, never null.
    • getLicenses

      @Nonnull public List<Long> getLicenses()
      The total number of licenses the team has, for each day.
      Returns:
      value for this field, never null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseDfbReport
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class BaseDfbReport
    • toString

      public String toString()
      Overrides:
      toString in class BaseDfbReport
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class BaseDfbReport
      Returns:
      Formatted, multiline String representation of this object