Package com.dropbox.core.v2.teamlog
Class UserNameLogInfo
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.UserNameLogInfo
-
public class UserNameLogInfo extends java.lang.Object
User's name logged information
-
-
Constructor Summary
Constructors Constructor Description UserNameLogInfo(java.lang.String givenName, java.lang.String surname)
User's name logged informationUserNameLogInfo(java.lang.String givenName, java.lang.String surname, java.lang.String locale)
User's name logged information
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getGivenName()
Given name.java.lang.String
getLocale()
Locale.java.lang.String
getSurname()
Surname.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
UserNameLogInfo
public UserNameLogInfo(java.lang.String givenName, java.lang.String surname, java.lang.String locale)
User's name logged information- Parameters:
givenName
- Given name. Must not benull
.surname
- Surname. Must not benull
.locale
- Locale. Might be missing due to historical data gap.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
UserNameLogInfo
public UserNameLogInfo(java.lang.String givenName, java.lang.String surname)
User's name logged informationThe default values for unset fields will be used.
- Parameters:
givenName
- Given name. Must not benull
.surname
- Surname. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getGivenName
public java.lang.String getGivenName()
Given name.- Returns:
- value for this field, never
null
.
-
getSurname
public java.lang.String getSurname()
Surname.- Returns:
- value for this field, never
null
.
-
getLocale
public java.lang.String getLocale()
Locale. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String 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
-
-