Package com.smartsheet.api.models
Class UserProfile
- java.lang.Object
-
- com.smartsheet.api.models.IdentifiableModel<java.lang.Long>
-
- com.smartsheet.api.models.UserModel
-
- com.smartsheet.api.models.UserProfile
-
public class UserProfile extends UserModel
A profile object that contains the basic fields that most profiles will contain.- See Also:
- User Types Help
-
-
Constructor Summary
Constructors Constructor Description UserProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
Gets the accountjava.util.List<Group>
getGroups()
Gets the groups listjava.lang.String
getLocale()
Gets the localejava.lang.String
getTimeZone()
Gets the time zoneUserProfile
setAccount(Account account)
Sets the accountUserProfile
setGroups(java.util.List<Group> groups)
Sets the groups listUserProfile
setLocale(java.lang.String locale)
Sets the localeUserProfile
setTimeZone(java.lang.String timeZone)
Sets the time zone-
Methods inherited from class com.smartsheet.api.models.UserModel
getAdmin, getAlternateEmails, getCompany, getCustomWelcomeScreenViewed, getDepartment, getEmail, getFirstName, getGroupAdmin, getLastLogin, getLastName, getLicensedSheetCreator, getMobilePhone, getProfileImage, getResourceViewer, getRole, getSheetCount, getStatus, getTitle, getWorkPhone, setAdmin, setAlternateEmails, setCompany, setCustomWelcomeScreenViewed, setDepartment, setEmail, setFirstName, setGroupAdmin, setLastLogin, setLastName, setLicensedSheetCreator, setMobilePhone, setProfileImage, setResourceViewer, setRole, setSheetCount, setStatus, setTitle, setWorkPhone
-
Methods inherited from class com.smartsheet.api.models.IdentifiableModel
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
getAccount
public Account getAccount()
Gets the account- Returns:
- the account
-
setAccount
public UserProfile setAccount(Account account)
Sets the account- Parameters:
account
- the account
-
getGroups
public java.util.List<Group> getGroups()
Gets the groups list- Returns:
- the groups list
-
setGroups
public UserProfile setGroups(java.util.List<Group> groups)
Sets the groups list- Parameters:
groups
- the list of groups
-
getLocale
public java.lang.String getLocale()
Gets the locale- Returns:
- the locale
-
setLocale
public UserProfile setLocale(java.lang.String locale)
Sets the locale- Parameters:
locale
- the locale
-
getTimeZone
public java.lang.String getTimeZone()
Gets the time zone- Returns:
- the time zone
-
setTimeZone
public UserProfile setTimeZone(java.lang.String timeZone)
Sets the time zone- Parameters:
timeZone
- the time zone
-
-