Package com.dropbox.core.v2.teamlog
Class UserNameLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.UserNameLogInfo
User's name logged information
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserNameLogInfo(String givenName, String surname) User's name logged informationUserNameLogInfo(String givenName, String surname, String locale) User's name logged information -
Method Summary
-
Field Details
-
givenName
-
surname
-
locale
-
-
Constructor Details
-
UserNameLogInfo
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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
UserNameLogInfo
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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getGivenName
Given name.- Returns:
- value for this field, never
null.
-
getSurname
Surname.- Returns:
- value for this field, never
null.
-
getLocale
Locale. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-