| Constructor and Description |
|---|
UpdateUserBuilder() |
| Modifier and Type | Method and Description |
|---|---|
User |
build()
Builds the
User. |
Boolean |
getAdmin()
Gets the admin.
|
String |
getFirstName() |
Boolean |
getGroupAdmin() |
String |
getLastName() |
Boolean |
getLicensedSheetCreator()
Gets the licensed sheet creator.
|
Boolean |
getResourceViewer() |
Long |
getUserId()
Get the id of the user
|
User.UpdateUserBuilder |
setAdmin(Boolean admin)
Sets the admin flag which allows managing users and accounts.
|
User.UpdateUserBuilder |
setFirstName(String firstName) |
User.UpdateUserBuilder |
setGroupAdmin(Boolean groupAdmin) |
User.UpdateUserBuilder |
setLastName(String lastName) |
User.UpdateUserBuilder |
setLicensedSheetCreator(Boolean licensedSheetCreator)
Licensed sheet creator.
|
User.UpdateUserBuilder |
setResourceViewer(Boolean resourceViewer) |
User.UpdateUserBuilder |
setUserId(Long userId)
Set the user id
|
public Long getUserId()
public User.UpdateUserBuilder setUserId(Long userId)
userId - the user idpublic User.UpdateUserBuilder setAdmin(Boolean admin)
admin - the adminpublic User.UpdateUserBuilder setLicensedSheetCreator(Boolean licensedSheetCreator)
licensedSheetCreator - the licensed sheet creatorpublic Boolean getAdmin()
public Boolean getLicensedSheetCreator()
public String getFirstName()
public User.UpdateUserBuilder setFirstName(String firstName)
firstName - the firstName to setpublic String getLastName()
public User.UpdateUserBuilder setLastName(String lastName)
lastName - the lastName to setpublic Boolean getGroupAdmin()
public User.UpdateUserBuilder setGroupAdmin(Boolean groupAdmin)
groupAdmin - the groupAdmin to setpublic Boolean getResourceViewer()
public User.UpdateUserBuilder setResourceViewer(Boolean resourceViewer)
resourceViewer - the resourceViewer to setCopyright © 2014–2019 Smartsheet. All rights reserved.