Class SheetPublish.PublishStatusBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class for making a SheetPublish object with the necessary fields to publish a sheet.
public class SheetPublish.PublishStatusBuilder
- Inheritance
-
SheetPublish.PublishStatusBuilder
- Inherited Members
Constructors
PublishStatusBuilder(bool?, bool?, bool?, bool?)
Sets the required properties to publish a Sheet
public PublishStatusBuilder(bool? readOnlyLiteEnabled, bool? readOnlyFullEnabled, bool? readWriteEnabled, bool? icalEnabled)
Parameters
readOnlyLiteEnabled
bool?Status of Read-Only HTML
readOnlyFullEnabled
bool?Status of Read-Only Full
readWriteEnabled
bool?Status of Edit by Anyone
icalEnabled
bool?Status of iCal
Properties
IcalEnabled
Gets the ical enabled.
public bool? IcalEnabled { get; }
Property Value
- bool?
the ical enabled
ReadOnlyFullEnabled
Gets the read only full enabled.
public bool? ReadOnlyFullEnabled { get; }
Property Value
- bool?
the read only full enabled
ReadOnlyLiteEnabled
Gets the read only lite enabled.
public bool? ReadOnlyLiteEnabled { get; }
Property Value
- bool?
the read only lite enabled
ReadWriteEnabled
Gets the read write enabled.
public bool? ReadWriteEnabled { get; }
Property Value
- bool?
the read write enabled
Methods
Build()
Builds the.
public SheetPublish Build()
Returns
- SheetPublish
the sheet publish
SetIcalEnabled(bool?)
Ical enabled.
public SheetPublish.PublishStatusBuilder SetIcalEnabled(bool? icalEnabled)
Parameters
icalEnabled
bool?the ical enabled
Returns
- SheetPublish.PublishStatusBuilder
the publish Status builder
SetReadOnlyFullEnabled(bool?)
Read only full (fancy UI) enabled.
public SheetPublish.PublishStatusBuilder SetReadOnlyFullEnabled(bool? readOnlyFullEnabled)
Parameters
readOnlyFullEnabled
bool?the read only full enabled
Returns
- SheetPublish.PublishStatusBuilder
the publish Status builder
SetReadOnlyLiteEnabled(bool?)
Read only lite enabled.
public SheetPublish.PublishStatusBuilder SetReadOnlyLiteEnabled(bool? readOnlyLiteEnabled)
Parameters
readOnlyLiteEnabled
bool?the read only lite (static html UI) enabled
Returns
- SheetPublish.PublishStatusBuilder
the publish Status builder
SetReadWriteEnabled(bool?)
Read write enabled.
public SheetPublish.PublishStatusBuilder SetReadWriteEnabled(bool? readWriteEnabled)
Parameters
readWriteEnabled
bool?the read write enabled
Returns
- SheetPublish.PublishStatusBuilder
the publish Status builder