Table of Contents

Class TokenPaginationParameters

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

Base class for token-based pagination parameters with common properties.

public class TokenPaginationParameters
Inheritance
TokenPaginationParameters
Derived
Inherited Members

Constructors

TokenPaginationParameters(string?, int?)

Base constructor for token-based pagination parameters.

public TokenPaginationParameters(string? lastKey, int? maxItems)

Parameters

lastKey string

The token to continue pagination from. Null for first page.

maxItems int?

The maximum number of items to return per page.

Properties

LastKey

The token to continue pagination from. Null for first page.

public string? LastKey { get; set; }

Property Value

string

MaxItems

The maximum number of items to return per page.

public int? MaxItems { get; set; }

Property Value

int?

Methods

ToQueryString()

Returns a formatted string of query string parameters.

public string ToQueryString()

Returns

string

the query string

toDictionary()

Returns a dictionary of query string parameters. Derived classes should override this method to add their specific parameters.

public virtual IDictionary<string, string> toDictionary()

Returns

IDictionary<string, string>