Class RestApiSimulator
Object that defines simulation of Tableau REST API methods.
Inheritance
Namespace: Tableau.Migration.Api.Simulation.Rest
Assembly: Tableau.Migration.dll
Syntax
public sealed class RestApiSimulator
Constructors
RestApiSimulator(TableauApiResponseSimulator)
Creates a new RestApiSimulator object.
Declaration
public RestApiSimulator(TableauApiResponseSimulator simulator)
Parameters
| Type | Name | Description |
|---|---|---|
| TableauApiResponseSimulator | simulator | A response simulator to setup with REST API methods. |
Properties
Auth
Gets the simulated authentication API methods.
Declaration
public AuthRestApiSimulator Auth { get; }
Property Value
| Type | Description |
|---|---|
| AuthRestApiSimulator |
CustomViews
Gets the simulated custom view API methods.
Declaration
public CustomViewsRestApiSimulator CustomViews { get; }
Property Value
| Type | Description |
|---|---|
| CustomViewsRestApiSimulator |
DataSources
Gets the simulated data source API methods.
Declaration
public DataSourcesRestApiSimulator DataSources { get; }
Property Value
| Type | Description |
|---|---|
| DataSourcesRestApiSimulator |
Favorites
Gets the simulated favorites API methods.
Declaration
public FavoritesRestApiSimulator Favorites { get; }
Property Value
| Type | Description |
|---|---|
| FavoritesRestApiSimulator |
Files
Gets the simulated file uploads API methods.
Declaration
public FileUploadsRestApiSimulator Files { get; }
Property Value
| Type | Description |
|---|---|
| FileUploadsRestApiSimulator |
GetCurrentServerSession
Gets the simulated current server session query API method.
Declaration
public MethodSimulator GetCurrentServerSession { get; }
Property Value
| Type | Description |
|---|---|
| MethodSimulator |
GroupSets
Gets the simulated group set API methods.
Declaration
public GroupSetsRestApiSimulator GroupSets { get; }
Property Value
| Type | Description |
|---|---|
| GroupSetsRestApiSimulator |
Groups
Gets the simulated group API methods.
Declaration
public GroupsRestApiSimulator Groups { get; }
Property Value
| Type | Description |
|---|---|
| GroupsRestApiSimulator |
Jobs
Gets the simulated job API methods.
Declaration
public JobsRestApiSimulator Jobs { get; }
Property Value
| Type | Description |
|---|---|
| JobsRestApiSimulator |
Projects
Gets the simulated project API methods.
Declaration
public ProjectsRestApiSimulator Projects { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsRestApiSimulator |
QueryServerInfo
Gets the simulated server info query API method.
Declaration
public MethodSimulator QueryServerInfo { get; }
Property Value
| Type | Description |
|---|---|
| MethodSimulator |
QuerySites
Gets the simulated site query API method.
Declaration
public MethodSimulator QuerySites { get; }
Property Value
| Type | Description |
|---|---|
| MethodSimulator |
Schedules
Gets the simulated schedule API methods.
Declaration
public SchedulesRestApiSimulator Schedules { get; }
Property Value
| Type | Description |
|---|---|
| SchedulesRestApiSimulator |
Sites
Gets the simulated site API methods.
Declaration
public SitesRestApiSimulator Sites { get; }
Property Value
| Type | Description |
|---|---|
| SitesRestApiSimulator |
Subscriptions
Gets the simulated subscription API methods.
Declaration
public SubscriptionsRestApiSimulator Subscriptions { get; }
Property Value
| Type | Description |
|---|---|
| SubscriptionsRestApiSimulator |
Tasks
Gets the simulated task API methods.
Declaration
public TasksRestApiSimulator Tasks { get; }
Property Value
| Type | Description |
|---|---|
| TasksRestApiSimulator |
Users
Gets the simulated user API methods.
Declaration
public UsersRestApiSimulator Users { get; }
Property Value
| Type | Description |
|---|---|
| UsersRestApiSimulator |
Views
Gets the simulated view API methods.
Declaration
public ViewsRestApiSimulator Views { get; }
Property Value
| Type | Description |
|---|---|
| ViewsRestApiSimulator |
Workbooks
Gets the simulated workbook API methods.
Declaration
public WorkbooksRestApiSimulator Workbooks { get; }
Property Value
| Type | Description |
|---|---|
| WorkbooksRestApiSimulator |