Class EmbeddedCredentialsRestApiSimulatorBase<TContent, TTag>
Base class for objects that define simulation of Tableau REST API permissions, tags, and embedded credentials methods.
Inheritance
PermissionsRestApiSimulatorBase<TContent>
TagsRestApiSimulatorBase<TContent, TTag>
EmbeddedCredentialsRestApiSimulatorBase<TContent, TTag>
Inherited Members
Namespace: Tableau.Migration.Api.Simulation.Rest.Api
Assembly: Tableau.Migration.dll
Syntax
public abstract class EmbeddedCredentialsRestApiSimulatorBase<TContent, TTag> : TagsRestApiSimulatorBase<TContent, TTag> where TContent : IRestIdentifiable, INamedContent, IWithTagTypes where TTag : ITagType, new()
Type Parameters
Name | Description |
---|---|
TContent | |
TTag |
Constructors
EmbeddedCredentialsRestApiSimulatorBase(TableauApiResponseSimulator, string, Func<TableauData, ICollection<TContent>>, Func<TableauData, ConcurrentDictionary<Guid, RetrieveKeychainResponse>>)
Creates a new EmbeddedCredentialsRestApiSimulatorBase<TContent, TTag> object.
Declaration
protected EmbeddedCredentialsRestApiSimulatorBase(TableauApiResponseSimulator simulator, string contentTypeUrlPrefix, Func<TableauData, ICollection<TContent>> getContent, Func<TableauData, ConcurrentDictionary<Guid, RetrieveKeychainResponse>> getKeychains)
Parameters
Type | Name | Description |
---|---|---|
TableauApiResponseSimulator | simulator | A response simulator to setup with REST API methods. |
string | contentTypeUrlPrefix | The content type's URl prefix. |
Func<TableauData, ICollection<TContent>> | getContent | Delegate used to retrieve content items by ID. |
Func<TableauData, ConcurrentDictionary<Guid, RetrieveKeychainResponse>> | getKeychains | Delegate used to retrieve keychains of content items by ID. |
Properties
ApplyKeychain
Gets the simulated apply keychain API method.
Declaration
public MethodSimulator ApplyKeychain { get; }
Property Value
Type | Description |
---|---|
MethodSimulator |
RetrieveKeychain
Gets the simulated retrieve keychain API method.
Declaration
public MethodSimulator RetrieveKeychain { get; }
Property Value
Type | Description |
---|---|
MethodSimulator |