public class NonTeamMemberLogInfo extends UserLogInfo
Modifier and Type | Class and Description |
---|---|
static class |
NonTeamMemberLogInfo.Builder
Builder for
NonTeamMemberLogInfo . |
accountId, displayName, email
Constructor and Description |
---|
NonTeamMemberLogInfo()
Non team member's logged information.
|
NonTeamMemberLogInfo(java.lang.String accountId,
java.lang.String displayName,
java.lang.String email)
Non team member's logged information.
|
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.
|
int |
hashCode() |
static NonTeamMemberLogInfo.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.
|
public NonTeamMemberLogInfo(java.lang.String accountId, java.lang.String displayName, java.lang.String email)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public NonTeamMemberLogInfo()
The default values for unset fields will be used.
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 static NonTeamMemberLogInfo.Builder newBuilder()
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