public class TrustedNonTeamMemberLogInfo extends UserLogInfo
Modifier and Type | Class and Description |
---|---|
static class |
TrustedNonTeamMemberLogInfo.Builder
Builder for
TrustedNonTeamMemberLogInfo . |
Modifier and Type | Field and Description |
---|---|
protected TeamLogInfo |
team |
protected TrustedNonTeamMemberType |
trustedNonTeamMemberType |
accountId, displayName, email
Constructor and 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.
|
Modifier and Type | Method and 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.
|
newBuilder
protected final TrustedNonTeamMemberType trustedNonTeamMemberType
protected final TeamLogInfo team
public TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType, java.lang.String accountId, java.lang.String displayName, java.lang.String email, TeamLogInfo team)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
trustedNonTeamMemberType
- Indicates the type of the member of a
trusted team. Must not be null
.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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType)
The default values for unset fields will be used.
trustedNonTeamMemberType
- Indicates the type of the member of a
trusted team. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TrustedNonTeamMemberType getTrustedNonTeamMemberType()
null
.public java.lang.String getAccountId()
getAccountId
in class UserLogInfo
null
if not present.public java.lang.String getDisplayName()
getDisplayName
in class UserLogInfo
null
if not present.public java.lang.String getEmail()
getEmail
in class UserLogInfo
null
if not present.public TeamLogInfo getTeam()
null
if not present.public static TrustedNonTeamMemberLogInfo.Builder newBuilder(TrustedNonTeamMemberType trustedNonTeamMemberType)
trustedNonTeamMemberType
- Indicates the type of the member of a
trusted team. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public int hashCode()
hashCode
in class UserLogInfo
public boolean equals(java.lang.Object obj)
equals
in class UserLogInfo
public java.lang.String toString()
toString
in class UserLogInfo
public java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class UserLogInfo