Package com.dropbox.core.v2.teamlog
Class TrustedNonTeamMemberLogInfo
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.UserLogInfo
-
- com.dropbox.core.v2.teamlog.TrustedNonTeamMemberLogInfo
-
public class TrustedNonTeamMemberLogInfo extends UserLogInfo
User that is not a member of the team but considered trusted.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TrustedNonTeamMemberLogInfo.Builder
Builder forTrustedNonTeamMemberLogInfo
.
-
Field Summary
Fields Modifier and Type Field Description protected TeamLogInfo
team
protected TrustedNonTeamMemberType
trustedNonTeamMemberType
-
Fields inherited from class com.dropbox.core.v2.teamlog.UserLogInfo
accountId, displayName, email
-
-
Constructor Summary
Constructors Constructor Description TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType)
User that is not a member of the team but considered trusted.TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType, java.lang.String accountId, java.lang.String displayName, java.lang.String email, TeamLogInfo team)
User that is not a member of the team but considered trusted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAccountId()
User unique ID.java.lang.String
getDisplayName()
User display name.java.lang.String
getEmail()
User email address.TeamLogInfo
getTeam()
Details about this useru2019s trusted team.TrustedNonTeamMemberType
getTrustedNonTeamMemberType()
Indicates the type of the member of a trusted team.int
hashCode()
static TrustedNonTeamMemberLogInfo.Builder
newBuilder(TrustedNonTeamMemberType trustedNonTeamMemberType)
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.-
Methods inherited from class com.dropbox.core.v2.teamlog.UserLogInfo
newBuilder
-
-
-
-
Field Detail
-
trustedNonTeamMemberType
protected final TrustedNonTeamMemberType trustedNonTeamMemberType
-
team
protected final TeamLogInfo team
-
-
Constructor Detail
-
TrustedNonTeamMemberLogInfo
public TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType, java.lang.String accountId, java.lang.String displayName, java.lang.String email, TeamLogInfo team)
User that is not a member of the team but considered trusted.Use
newBuilder(com.dropbox.core.v2.teamlog.TrustedNonTeamMemberType)
to create instances of this class without specifying values for all optional fields.- Parameters:
trustedNonTeamMemberType
- Indicates the type of the member of a trusted team. Must not benull
.accountId
- User unique ID. Might be missing due to historical data gap. Must have length of at least 40 and have length of at most 40.displayName
- User display name. Might be missing due to historical data gap.email
- User email address. Might be missing due to historical data gap. Must have length of at most 255.team
- Details about this useru2019s trusted team.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
TrustedNonTeamMemberLogInfo
public TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType)
User that is not a member of the team but considered trusted.The default values for unset fields will be used.
- Parameters:
trustedNonTeamMemberType
- Indicates the type of the member of a trusted team. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getTrustedNonTeamMemberType
public TrustedNonTeamMemberType getTrustedNonTeamMemberType()
Indicates the type of the member of a trusted team.- Returns:
- value for this field, never
null
.
-
getAccountId
public java.lang.String getAccountId()
User unique ID. Might be missing due to historical data gap.- Overrides:
getAccountId
in classUserLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getDisplayName
public java.lang.String getDisplayName()
User display name. Might be missing due to historical data gap.- Overrides:
getDisplayName
in classUserLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getEmail
public java.lang.String getEmail()
User email address. Might be missing due to historical data gap.- Overrides:
getEmail
in classUserLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getTeam
public TeamLogInfo getTeam()
Details about this useru2019s trusted team.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static TrustedNonTeamMemberLogInfo.Builder newBuilder(TrustedNonTeamMemberType trustedNonTeamMemberType)
Returns a new builder for creating an instance of this class.- Parameters:
trustedNonTeamMemberType
- Indicates the type of the member of a trusted team. Must not benull
.- Returns:
- builder for this class.
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUserLogInfo
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classUserLogInfo
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUserLogInfo
-
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 classUserLogInfo
- Returns:
- Formatted, multiline String representation of this object
-
-