Interface IFieldBuilder
Interface for a class that can build REST API field query strings.
See Tableau API Reference for more details.
Namespace: Tableau.Migration.Net.Rest.Fields
Assembly: Tableau.Migration.dll
Syntax
public interface IFieldBuilder
Properties
IsEmpty
Gets whether the builder contains any fields.
Declaration
bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
AddField(Field)
Adds a field to the builder.
Declaration
IFieldBuilder AddField(Field field)
Parameters
Type | Name | Description |
---|---|---|
Field | field | The field to add. |
Returns
Type | Description |
---|---|
IFieldBuilder | The current IFieldBuilder instance. |
AddFields(params Field[])
Adds fields to the builder.
Declaration
IFieldBuilder AddFields(params Field[] fields)
Parameters
Type | Name | Description |
---|---|---|
Field[] | fields | The fields to add. |
Returns
Type | Description |
---|---|
IFieldBuilder | The current IFieldBuilder instance. |
AppendQueryString(IQueryStringBuilder)
Appends the added fields 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 fields for use in query strings.
Declaration
string Build()
Returns
Type | Description |
---|---|
string | The formatted string representation of the fields. |