Package com.smartsheet.api.models
Class User.UpdateUserBuilder
- java.lang.Object
-
- com.smartsheet.api.models.User.UpdateUserBuilder
-
-
Constructor Summary
Constructors Constructor Description UpdateUserBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
build()
Builds theUser
.java.lang.Boolean
getAdmin()
Gets the admin.java.lang.String
getFirstName()
java.lang.Boolean
getGroupAdmin()
java.lang.String
getLastName()
java.lang.Boolean
getLicensedSheetCreator()
Gets the licensed sheet creator.java.lang.Boolean
getResourceViewer()
java.lang.Long
getUserId()
Get the id of the userUser.UpdateUserBuilder
setAdmin(java.lang.Boolean admin)
Sets the admin flag which allows managing users and accounts.User.UpdateUserBuilder
setFirstName(java.lang.String firstName)
User.UpdateUserBuilder
setGroupAdmin(java.lang.Boolean groupAdmin)
User.UpdateUserBuilder
setLastName(java.lang.String lastName)
User.UpdateUserBuilder
setLicensedSheetCreator(java.lang.Boolean licensedSheetCreator)
Licensed sheet creator.User.UpdateUserBuilder
setResourceViewer(java.lang.Boolean resourceViewer)
User.UpdateUserBuilder
setUserId(java.lang.Long userId)
Set the user id
-
-
-
Method Detail
-
getUserId
public java.lang.Long getUserId()
Get the id of the user- Returns:
- the id
-
setUserId
public User.UpdateUserBuilder setUserId(java.lang.Long userId)
Set the user id- Parameters:
userId
- the user id- Returns:
- the updateSheetBuilder object
-
setAdmin
public User.UpdateUserBuilder setAdmin(java.lang.Boolean admin)
Sets the admin flag which allows managing users and accounts.- Parameters:
admin
- the admin- Returns:
- the update user builder
-
setLicensedSheetCreator
public User.UpdateUserBuilder setLicensedSheetCreator(java.lang.Boolean licensedSheetCreator)
Licensed sheet creator.- Parameters:
licensedSheetCreator
- the licensed sheet creator- Returns:
- the update user builder
-
getAdmin
public java.lang.Boolean getAdmin()
Gets the admin.- Returns:
- the admin
-
getLicensedSheetCreator
public java.lang.Boolean getLicensedSheetCreator()
Gets the licensed sheet creator.- Returns:
- the licensed sheet creator
-
getFirstName
public java.lang.String getFirstName()
- Returns:
- the firstName
-
setFirstName
public User.UpdateUserBuilder setFirstName(java.lang.String firstName)
- Parameters:
firstName
- the firstName to set- Returns:
- the builder
-
getLastName
public java.lang.String getLastName()
- Returns:
- the lastName
-
setLastName
public User.UpdateUserBuilder setLastName(java.lang.String lastName)
- Parameters:
lastName
- the lastName to set- Returns:
- the builder
-
getGroupAdmin
public java.lang.Boolean getGroupAdmin()
- Returns:
- the groupAdmin
-
setGroupAdmin
public User.UpdateUserBuilder setGroupAdmin(java.lang.Boolean groupAdmin)
- Parameters:
groupAdmin
- the groupAdmin to set- Returns:
- the builder
-
getResourceViewer
public java.lang.Boolean getResourceViewer()
- Returns:
- the resourceViewer
-
setResourceViewer
public User.UpdateUserBuilder setResourceViewer(java.lang.Boolean resourceViewer)
- Parameters:
resourceViewer
- the resourceViewer to set- Returns:
- the builder
-
-