Package com.smartsheet.api.models
Class Sheet.CreateFromTemplateOrSheetBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Sheet.CreateFromTemplateOrSheetBuilder
-
- Enclosing class:
- Sheet
public static class Sheet.CreateFromTemplateOrSheetBuilder extends java.lang.ObjectA class to simplify the creation of a sheet from another sheet or another template.
-
-
Constructor Summary
Constructors Constructor Description CreateFromTemplateOrSheetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sheetbuild()Creates a sheet by using the values from setters in this builder.java.lang.LonggetFromId()Gets the from id.java.lang.StringgetName()Returns the name for the sheet.Sheet.CreateFromTemplateOrSheetBuildersetFromId(java.lang.Long id)Set the from Id.Sheet.CreateFromTemplateOrSheetBuildersetName(java.lang.String name)Sets the name for the sheet being created.
-
-
-
Method Detail
-
setName
public Sheet.CreateFromTemplateOrSheetBuilder setName(java.lang.String name)
Sets the name for the sheet being created.- Parameters:
name- The name for the sheet being created.- Returns:
- the creates the from template or sheet builder
-
getName
public java.lang.String getName()
Returns the name for the sheet.- Returns:
- the name
-
setFromId
public Sheet.CreateFromTemplateOrSheetBuilder setFromId(java.lang.Long id)
Set the from Id.- Parameters:
id- the id- Returns:
- the creates the from template or sheet builder
-
getFromId
public java.lang.Long getFromId()
Gets the from id.- Returns:
- the from id
-
build
public Sheet build()
Creates a sheet by using the values from setters in this builder.- Returns:
- the sheet
-
-