public class SharedLinkShareDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SharedLinkShareDetails.Builder
Builder for
SharedLinkShareDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ExternalUserLogInfo> |
externalUsers |
protected UserLogInfo |
sharedLinkOwner |
Constructor and Description |
---|
SharedLinkShareDetails()
Added members as audience of shared link.
|
SharedLinkShareDetails(UserLogInfo sharedLinkOwner,
java.util.List<ExternalUserLogInfo> externalUsers)
Added members as audience of shared link.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ExternalUserLogInfo> |
getExternalUsers()
Users without a Dropbox account that were added as shared link audience.
|
UserLogInfo |
getSharedLinkOwner()
Shared link owner details.
|
int |
hashCode() |
static SharedLinkShareDetails.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final UserLogInfo sharedLinkOwner
protected final java.util.List<ExternalUserLogInfo> externalUsers
public SharedLinkShareDetails(UserLogInfo sharedLinkOwner, java.util.List<ExternalUserLogInfo> externalUsers)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
sharedLinkOwner
- Shared link owner details. Might be missing due
to historical data gap.externalUsers
- Users without a Dropbox account that were added as
shared link audience. Must not contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedLinkShareDetails()
The default values for unset fields will be used.
public UserLogInfo getSharedLinkOwner()
null
if not present.public java.util.List<ExternalUserLogInfo> getExternalUsers()
null
if not present.public static SharedLinkShareDetails.Builder newBuilder()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.