Package com.dropbox.core.v2.team
Class GroupFullInfo
- java.lang.Object
- 
- com.dropbox.core.v2.teamcommon.GroupSummary
- 
- com.dropbox.core.v2.team.GroupFullInfo
 
 
- 
 public class GroupFullInfo extends GroupSummary Full description of a group.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGroupFullInfo.BuilderBuilder forGroupFullInfo.
 - 
Field SummaryFields Modifier and Type Field Description protected longcreatedprotected java.util.List<GroupMemberInfo>members- 
Fields inherited from class com.dropbox.core.v2.teamcommon.GroupSummarygroupExternalId, groupId, groupManagementType, groupName, memberCount
 
- 
 - 
Constructor SummaryConstructors Constructor Description GroupFullInfo(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, long created)Full description of a group.GroupFullInfo(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, long created, java.lang.String groupExternalId, java.lang.Long memberCount, java.util.List<GroupMemberInfo> members)Full description of a group.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetCreated()The group creation time as a UTC timestamp in milliseconds since the Unix epoch.java.lang.StringgetGroupExternalId()External ID of group.java.lang.StringgetGroupId()GroupManagementTypegetGroupManagementType()Who is allowed to manage the group.java.lang.StringgetGroupName()java.lang.LonggetMemberCount()The number of members in the group.java.util.List<GroupMemberInfo>getMembers()List of group members.inthashCode()static GroupFullInfo.BuildernewBuilder(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, long created)Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.- 
Methods inherited from class com.dropbox.core.v2.teamcommon.GroupSummarynewBuilder
 
- 
 
- 
- 
- 
Field Detail- 
membersprotected final java.util.List<GroupMemberInfo> members 
 - 
createdprotected final long created 
 
- 
 - 
Constructor Detail- 
GroupFullInfopublic GroupFullInfo(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, long created, java.lang.String groupExternalId, java.lang.Long memberCount, java.util.List<GroupMemberInfo> members)Full description of a group.Use newBuilder(java.lang.String,java.lang.String,com.dropbox.core.v2.teamcommon.GroupManagementType,long)to create instances of this class without specifying values for all optional fields.- Parameters:
- groupName- Must not be- null.
- groupId- Must not be- null.
- groupManagementType- Who is allowed to manage the group. Must not be- null.
- created- The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
- groupExternalId- External ID of group. This is an arbitrary ID that an admin can attach to a group.
- memberCount- The number of members in the group.
- members- List of group members. Must not contain a- nullitem.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
GroupFullInfopublic GroupFullInfo(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, long created)Full description of a group.The default values for unset fields will be used. - Parameters:
- groupName- Must not be- null.
- groupId- Must not be- null.
- groupManagementType- Who is allowed to manage the group. Must not be- null.
- created- The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getGroupNamepublic java.lang.String getGroupName() - Overrides:
- getGroupNamein class- GroupSummary
- Returns:
- value for this field, never null.
 
 - 
getGroupIdpublic java.lang.String getGroupId() - Overrides:
- getGroupIdin class- GroupSummary
- Returns:
- value for this field, never null.
 
 - 
getGroupManagementTypepublic GroupManagementType getGroupManagementType() Who is allowed to manage the group.- Overrides:
- getGroupManagementTypein class- GroupSummary
- Returns:
- value for this field, never null.
 
 - 
getCreatedpublic long getCreated() The group creation time as a UTC timestamp in milliseconds since the Unix epoch.- Returns:
- value for this field.
 
 - 
getGroupExternalIdpublic java.lang.String getGroupExternalId() External ID of group. This is an arbitrary ID that an admin can attach to a group.- Overrides:
- getGroupExternalIdin class- GroupSummary
- Returns:
- value for this field, or nullif not present.
 
 - 
getMemberCountpublic java.lang.Long getMemberCount() The number of members in the group.- Overrides:
- getMemberCountin class- GroupSummary
- Returns:
- value for this field, or nullif not present.
 
 - 
getMemberspublic java.util.List<GroupMemberInfo> getMembers() List of group members.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static GroupFullInfo.Builder newBuilder(java.lang.String groupName, java.lang.String groupId, GroupManagementType groupManagementType, long created) Returns a new builder for creating an instance of this class.- Parameters:
- groupName- Must not be- null.
- groupId- Must not be- null.
- groupManagementType- Who is allowed to manage the group. Must not be- null.
- created- The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
- Returns:
- builder for this class.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- GroupSummary
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- GroupSummary
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- GroupSummary
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- GroupSummary
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-