Class SitesRestApiSimulator
Object that defines simulation of Tableau REST API site methods.
Namespace: Tableau.Migration.Api.Simulation.Rest.Api
Assembly: Tableau.Migration.dll
Syntax
public sealed class SitesRestApiSimulator
Constructors
SitesRestApiSimulator(TableauApiResponseSimulator)
Creates a new SitesRestApiSimulator object.
Declaration
public SitesRestApiSimulator(TableauApiResponseSimulator simulator)
Parameters
Type | Name | Description |
---|---|---|
TableauApiResponseSimulator | simulator | A response simulator to setup with REST API methods. |
Properties
QuerySiteByContentUrl
Gets the simulated site query by content URL API method.
Declaration
public MethodSimulator QuerySiteByContentUrl { get; }
Property Value
Type | Description |
---|---|
MethodSimulator |
QuerySiteById
Gets the simulated site query by ID API method.
Declaration
public MethodSimulator QuerySiteById { get; }
Property Value
Type | Description |
---|---|
MethodSimulator |
UpdateSite
Gets the simulated update site API method.
Declaration
public MethodSimulator UpdateSite { get; }
Property Value
Type | Description |
---|---|
MethodSimulator |