Package com.smartsheet.api.models
Class DeleteUserParameters
- java.lang.Object
-
- com.smartsheet.api.models.DeleteUserParameters
-
public class DeleteUserParameters extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DeleteUserParameters()
Constructor for creating the DeleteUserParameters objectDeleteUserParameters(java.lang.Long transferToId, java.lang.Boolean transferSheets, java.lang.Boolean removeFromSharing)
Constructor for creating the DeleteUserParameters object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getTransferToId()
Gets the id of the user to transfer ownership tojava.lang.Boolean
isRemoveFromSharing()
Gets whether or not the user is removed from sharingjava.lang.Boolean
isTransferSheets()
Gets transfer sheets flagDeleteUserParameters
setRemoveFromSharing(boolean removeFromSharing)
Sets the remove from sharing flagDeleteUserParameters
setTransferSheets(boolean transferSheets)
Sets the transfer sheets flagDeleteUserParameters
setTransferToId(java.lang.Long transferToId)
Sets the id of the user to transfer ownership tojava.lang.String
toQueryString()
Convert to a query string
-
-
-
Constructor Detail
-
DeleteUserParameters
public DeleteUserParameters()
Constructor for creating the DeleteUserParameters object
-
DeleteUserParameters
public DeleteUserParameters(java.lang.Long transferToId, java.lang.Boolean transferSheets, java.lang.Boolean removeFromSharing)
Constructor for creating the DeleteUserParameters object- Parameters:
transferToId
- the transferToIdtransferSheets
- the transferSheets flagremoveFromSharing
- the removeFromSharing flag
-
-
Method Detail
-
getTransferToId
public java.lang.Long getTransferToId()
Gets the id of the user to transfer ownership to- Returns:
- the user id
-
setTransferToId
public DeleteUserParameters setTransferToId(java.lang.Long transferToId)
Sets the id of the user to transfer ownership to- Parameters:
transferToId
- the user id
-
isTransferSheets
public java.lang.Boolean isTransferSheets()
Gets transfer sheets flag- Returns:
- the transfer sheets flag
-
setTransferSheets
public DeleteUserParameters setTransferSheets(boolean transferSheets)
Sets the transfer sheets flag- Parameters:
transferSheets
- the transfer sheets flag
-
isRemoveFromSharing
public java.lang.Boolean isRemoveFromSharing()
Gets whether or not the user is removed from sharing- Returns:
- the remove sharing flag
-
setRemoveFromSharing
public DeleteUserParameters setRemoveFromSharing(boolean removeFromSharing)
Sets the remove from sharing flag- Parameters:
removeFromSharing
- the remove from sharing flag
-
toQueryString
public java.lang.String toQueryString()
Convert to a query string
-
-