Class RestApiSimulator
Object that defines simulation of Tableau REST API methods.
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 |
Files
Gets the simulated workbook 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 |
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 |
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 |