Table of Contents

Class RowWrapper.InsertRowsBuilder

Namespace
Smartsheet.Api.Models
Assembly
smartsheet-csharp-sdk.dll

A convenience class for creating a RowWrapper with the necessary fields for inserting a Row or set of Rows.

public class RowWrapper.InsertRowsBuilder
Inheritance
RowWrapper.InsertRowsBuilder
Inherited Members

Properties

ParentId

Gets the parent Id.

public long? ParentId { get; }

Property Value

long?

the parent Id

Rows

Gets the Rows.

public IList<Row> Rows { get; }

Property Value

IList<Row>

the Rows

SiblingId

Gets the sibling Id.

public long? SiblingId { get; }

Property Value

long?

the sibling Id

ToBottom

Gets the to bottom.

public bool? ToBottom { get; }

Property Value

bool?

the to bottom

ToTop

Gets the to top.

public bool? ToTop { get; }

Property Value

bool?

the to top

Methods

Build()

Builds the RowWrapper.

public RowWrapper Build()

Returns

RowWrapper

the row wrapper

SetParentId(long?)

Sets the parent Id that puts the row as the first child of the specified Id.

public RowWrapper.InsertRowsBuilder SetParentId(long? parentId)

Parameters

parentId long?

the parent Id

Returns

RowWrapper.InsertRowsBuilder

the insert Rows builder

SetRows(IList<Row>)

Sets the Rows.

public RowWrapper.InsertRowsBuilder SetRows(IList<Row> rows)

Parameters

rows IList<Row>

the Rows

Returns

RowWrapper.InsertRowsBuilder

the insert Rows builder

SetSiblingId(long?)

Sets the sibling Id that puts the row as the next row at the same hierarchical level of this row.

public RowWrapper.InsertRowsBuilder SetSiblingId(long? siblingId)

Parameters

siblingId long?

the sibling Id

Returns

RowWrapper.InsertRowsBuilder

the insert Rows builder

SetToBottom(bool?)

Sets the to bottom flag that puts the row at the bottom of the sheet.

public RowWrapper.InsertRowsBuilder SetToBottom(bool? toBottom)

Parameters

toBottom bool?

the to bottom

Returns

RowWrapper.InsertRowsBuilder

the insert Rows builder

SetToTop(bool?)

Sets the to top flag that puts the row at the top of the sheet.

public RowWrapper.InsertRowsBuilder SetToTop(bool? toTop)

Parameters

toTop bool?

the to top flag

Returns

RowWrapper.InsertRowsBuilder

the insert Rows builder