Interface IPageBuilder
Interface for a class that can build REST API page query strings. See Tableau API Reference for more details.
Namespace: Tableau.Migration.Net.Rest.Paging
Assembly: Tableau.Migration.dll
Syntax
public interface IPageBuilder
Properties
IsEmpty
Gets whether the builder contains a page.
Declaration
bool IsEmpty { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
AppendQueryString(IQueryStringBuilder)
Appends the page to the specified IQueryStringBuilder instance.
Declaration
void AppendQueryString(IQueryStringBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| IQueryStringBuilder | builder | The IQueryStringBuilder to append to. |
Build()
Builds the string value for the page for use in query strings.
Declaration
string Build()
Returns
| Type | Description |
|---|---|
| string | The formatted string representation of the page. |
SetPage(Page)
Sets the page for the builder.
Declaration
IPageBuilder SetPage(Page page)
Parameters
| Type | Name | Description |
|---|---|---|
| Page | page | The page to set. |
Returns
| Type | Description |
|---|---|
| IPageBuilder | The current IPageBuilder instance. |