Package com.dropbox.core.v2.team
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 Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Long>
licenses
protected java.util.List<java.lang.Long>
membersJoined
protected java.util.List<java.lang.Long>
pendingInvites
protected java.util.List<java.lang.Long>
suspendedMembers
protected java.util.List<java.lang.Long>
teamSize
-
Fields inherited from class com.dropbox.core.v2.team.BaseDfbReport
startDate
-
-
Constructor Summary
Constructors Constructor Description GetMembershipReport(java.lang.String startDate, java.util.List<java.lang.Long> teamSize, java.util.List<java.lang.Long> pendingInvites, java.util.List<java.lang.Long> membersJoined, java.util.List<java.lang.Long> suspendedMembers, java.util.List<java.lang.Long> licenses)
Membership Report Result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<java.lang.Long>
getLicenses()
The total number of licenses the team has, for each day.java.util.List<java.lang.Long>
getMembersJoined()
The number of members that joined the team, for each day.java.util.List<java.lang.Long>
getPendingInvites()
The number of pending invites to the team, for each day.java.lang.String
getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.java.util.List<java.lang.Long>
getSuspendedMembers()
The number of suspended team members, for each day.java.util.List<java.lang.Long>
getTeamSize()
Team size, for each day.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
teamSize
@Nonnull protected final java.util.List<java.lang.Long> teamSize
-
pendingInvites
@Nonnull protected final java.util.List<java.lang.Long> pendingInvites
-
membersJoined
@Nonnull protected final java.util.List<java.lang.Long> membersJoined
-
suspendedMembers
@Nonnull protected final java.util.List<java.lang.Long> suspendedMembers
-
licenses
@Nonnull protected final java.util.List<java.lang.Long> licenses
-
-
Constructor Detail
-
GetMembershipReport
public GetMembershipReport(@Nonnull java.lang.String startDate, @Nonnull java.util.List<java.lang.Long> teamSize, @Nonnull java.util.List<java.lang.Long> pendingInvites, @Nonnull java.util.List<java.lang.Long> membersJoined, @Nonnull java.util.List<java.lang.Long> suspendedMembers, @Nonnull java.util.List<java.lang.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 benull
.teamSize
- Team size, for each day. Must not contain anull
item and not benull
.pendingInvites
- The number of pending invites to the team, for each day. Must not contain anull
item and not benull
.membersJoined
- The number of members that joined the team, for each day. Must not contain anull
item and not benull
.suspendedMembers
- The number of suspended team members, for each day. Must not contain anull
item and not benull
.licenses
- The total number of licenses the team has, for each day. Must not contain anull
item and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getStartDate
@Nonnull public java.lang.String getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
getStartDate
in classBaseDfbReport
- Returns:
- value for this field, never
null
.
-
getTeamSize
@Nonnull public java.util.List<java.lang.Long> getTeamSize()
Team size, for each day.- Returns:
- value for this field, never
null
.
-
getPendingInvites
@Nonnull public java.util.List<java.lang.Long> getPendingInvites()
The number of pending invites to the team, for each day.- Returns:
- value for this field, never
null
.
-
getMembersJoined
@Nonnull public java.util.List<java.lang.Long> getMembersJoined()
The number of members that joined the team, for each day.- Returns:
- value for this field, never
null
.
-
getSuspendedMembers
@Nonnull public java.util.List<java.lang.Long> getSuspendedMembers()
The number of suspended team members, for each day.- Returns:
- value for this field, never
null
.
-
getLicenses
@Nonnull public java.util.List<java.lang.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 classBaseDfbReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classBaseDfbReport
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBaseDfbReport
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultiline
in classBaseDfbReport
- Returns:
- Formatted, multiline String representation of this object
-
-