Package com.smartsheet.api.models
Class SheetPublish.PublishStatusBuilder
- java.lang.Object
-
- com.smartsheet.api.models.SheetPublish.PublishStatusBuilder
-
- Enclosing class:
- SheetPublish
public static class SheetPublish.PublishStatusBuilder extends java.lang.Object
A convenience class for making aSheetPublish
object with the necessary fields to publish a sheet.
-
-
Constructor Summary
Constructors Constructor Description PublishStatusBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SheetPublish
build()
Builds the.java.lang.Boolean
getIcalEnabled()
Gets the ical enabled.java.lang.Boolean
getReadOnlyFullEnabled()
Gets the read only full enabled.java.lang.Boolean
getReadOnlyLiteEnabled()
Gets the read only lite enabled.java.lang.Boolean
getReadWriteEnabled()
Gets the read write enabled.SheetPublish.PublishStatusBuilder
setIcalEnabled(java.lang.Boolean icalEnabled)
Ical enabled.SheetPublish.PublishStatusBuilder
setReadOnlyFullEnabled(java.lang.Boolean readOnlyFullEnabled)
Read only full (fancy UI) enabled.SheetPublish.PublishStatusBuilder
setReadOnlyFullShowToolbarEnabled(java.lang.Boolean readOnlyFullShowToolbarEnabled)
Show or hide toolbar on a read only full sheetSheetPublish.PublishStatusBuilder
setReadOnlyLiteEnabled(java.lang.Boolean readOnlyLiteEnabled)
Read only lite enabled.SheetPublish.PublishStatusBuilder
setReadWriteEnabled(java.lang.Boolean readWriteEnabled)
Read write enabled.SheetPublish.PublishStatusBuilder
setReadWriteShowToolbarEnabled(java.lang.Boolean readWriteShowToolbarEnabled)
Show or hide toolbar on a read/write sheet
-
-
-
Method Detail
-
setReadWriteShowToolbarEnabled
public SheetPublish.PublishStatusBuilder setReadWriteShowToolbarEnabled(java.lang.Boolean readWriteShowToolbarEnabled)
Show or hide toolbar on a read/write sheet- Returns:
- the publish status builder
-
setReadOnlyFullShowToolbarEnabled
public SheetPublish.PublishStatusBuilder setReadOnlyFullShowToolbarEnabled(java.lang.Boolean readOnlyFullShowToolbarEnabled)
Show or hide toolbar on a read only full sheet- Returns:
- the publish status builder
-
setReadOnlyLiteEnabled
public SheetPublish.PublishStatusBuilder setReadOnlyLiteEnabled(java.lang.Boolean readOnlyLiteEnabled)
Read only lite enabled.- Parameters:
readOnlyLiteEnabled
- the read only lite (static html UI) enabled- Returns:
- the publish status builder
-
setReadOnlyFullEnabled
public SheetPublish.PublishStatusBuilder setReadOnlyFullEnabled(java.lang.Boolean readOnlyFullEnabled)
Read only full (fancy UI) enabled.- Parameters:
readOnlyFullEnabled
- the read only full enabled- Returns:
- the publish status builder
-
setReadWriteEnabled
public SheetPublish.PublishStatusBuilder setReadWriteEnabled(java.lang.Boolean readWriteEnabled)
Read write enabled.- Parameters:
readWriteEnabled
- the read write enabled- Returns:
- the publish status builder
-
setIcalEnabled
public SheetPublish.PublishStatusBuilder setIcalEnabled(java.lang.Boolean icalEnabled)
Ical enabled.- Parameters:
icalEnabled
- the ical enabled- Returns:
- the publish status builder
-
getReadOnlyLiteEnabled
public java.lang.Boolean getReadOnlyLiteEnabled()
Gets the read only lite enabled.- Returns:
- the read only lite enabled
-
getReadOnlyFullEnabled
public java.lang.Boolean getReadOnlyFullEnabled()
Gets the read only full enabled.- Returns:
- the read only full enabled
-
getReadWriteEnabled
public java.lang.Boolean getReadWriteEnabled()
Gets the read write enabled.- Returns:
- the read write enabled
-
getIcalEnabled
public java.lang.Boolean getIcalEnabled()
Gets the ical enabled.- Returns:
- the ical enabled
-
build
public SheetPublish build()
Builds the.- Returns:
- the sheet publish
-
-