Package com.dropbox.core.v2.teamlog
Class GroupLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.GroupLogInfo
Group's logged information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupLogInfo(String displayName) Group's logged information.GroupLogInfo(String displayName, String groupId, String externalId) Group's logged information. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe name of this group.External group ID.The unique id of this group.inthashCode()static GroupLogInfo.BuildernewBuilder(String displayName) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
groupId
-
displayName
-
externalId
-
-
Constructor Details
-
GroupLogInfo
public GroupLogInfo(@Nonnull String displayName, @Nullable String groupId, @Nullable String externalId) Group's logged information.Use
newBuilder(java.lang.String)to create instances of this class without specifying values for all optional fields.- Parameters:
displayName- The name of this group. Must not benull.groupId- The unique id of this group.externalId- External group ID.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GroupLogInfo
Group's logged information.The default values for unset fields will be used.
- Parameters:
displayName- The name of this group. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getDisplayName
The name of this group.- Returns:
- value for this field, never
null.
-
getGroupId
The unique id of this group.- Returns:
- value for this field, or
nullif not present.
-
getExternalId
External group ID.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Parameters:
displayName- The name of this group. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
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
-