Package com.smartsheet.api.models
Class Folder.UpdateFolderBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Folder.UpdateFolderBuilder
-
- Enclosing class:
- Folder
public static class Folder.UpdateFolderBuilder extends java.lang.ObjectA convenience class for setting up a folder with the appropriate fields for updating the folder.
-
-
Constructor Summary
Constructors Constructor Description UpdateFolderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Folderbuild()Builds the folder.java.lang.LonggetId()Gets the folder id.java.lang.StringgetName()Gets the name.Folder.UpdateFolderBuildersetId(java.lang.Long id)Sets the folder id.Folder.UpdateFolderBuildersetName(java.lang.String name)Name.
-
-
-
Method Detail
-
setName
public Folder.UpdateFolderBuilder setName(java.lang.String name)
Name.- Parameters:
name- the name- Returns:
- the update folder builder
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
getId
public java.lang.Long getId()
Gets the folder id.- Returns:
- the folder id.
-
setId
public Folder.UpdateFolderBuilder setId(java.lang.Long id)
Sets the folder id.- Parameters:
id- the id of the folder.- Returns:
- the builder
-
build
public Folder build()
Builds the folder.- Returns:
- the folder
-
-