Class MigrationPipelineContentType
Object that represents a definition of a content type that a pipeline migrates.
Implements
Namespace: Tableau.Migration.Engine.Pipelines
Assembly: Tableau.Migration.dll
Syntax
public record MigrationPipelineContentType : IEquatable<MigrationPipelineContentType>
Constructors
MigrationPipelineContentType(Type)
Object that represents a definition of a content type that a pipeline migrates.
Declaration
public MigrationPipelineContentType(Type ContentType)
Parameters
Type | Name | Description |
---|---|---|
Type | ContentType | The content type. |
Fields
CustomViews
Gets the custom views MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType CustomViews
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
DataSources
Gets the data sources MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType DataSources
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
Groups
Gets the groups MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType Groups
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
Projects
Gets the projects MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType Projects
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
ServerToCloudExtractRefreshTasks
Gets the Server to Cloud extract refresh tasks MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType ServerToCloudExtractRefreshTasks
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
Users
Gets the user MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType Users
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
Views
Gets the views MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType Views
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
Workbooks
Gets the workbooks MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType Workbooks
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
Properties
ContentType
The content type.
Declaration
public Type ContentType { get; init; }
Property Value
Type | Description |
---|---|
Type |
PublishType
Gets the publish type.
Declaration
public Type PublishType { get; }
Property Value
Type | Description |
---|---|
Type |
ResultType
Gets the result type.
Declaration
public Type ResultType { get; }
Property Value
Type | Description |
---|---|
Type |
Types
Gets the types for this instance.
Declaration
public IImmutableList<Type> Types { get; }
Property Value
Type | Description |
---|---|
IImmutableList<Type> |
Methods
GetConfigKey()
Gets the config key for this content type.
Declaration
public string GetConfigKey()
Returns
Type | Description |
---|---|
string | The config key string. |
GetConfigKeyForType(Type)
Gets the config key for a content type.
Declaration
public static string GetConfigKeyForType(Type contentType)
Parameters
Type | Name | Description |
---|---|---|
Type | contentType | The content type. |
Returns
Type | Description |
---|---|
string | The config key string. |
GetContentTypeForInterface(Type)
Gets the ContentType value if it implements the given interface, or null if it does not.
Declaration
public Type[]? GetContentTypeForInterface(Type @interface)
Parameters
Type | Name | Description |
---|---|---|
Type | interface | The interface to search for. |
Returns
Type | Description |
---|---|
Type[] |
GetPostPublishTypesForInterface(Type)
Gets the PublishType and ResultType array if it implements the given interface, or null if it does not.
Declaration
public Type[]? GetPostPublishTypesForInterface(Type @interface)
Parameters
Type | Name | Description |
---|---|---|
Type | interface | The interface to search for. |
Returns
Type | Description |
---|---|
Type[] |
GetPublishTypeForInterface(Type)
Gets the PublishType value if it implements the given interface, or null if it does not.
Declaration
public Type[]? GetPublishTypeForInterface(Type @interface)
Parameters
Type | Name | Description |
---|---|---|
Type | interface | The interface to search for. |
Returns
Type | Description |
---|---|
Type[] |
WithPublishType(Type)
Creates a new MigrationPipelineContentType instance with the specified publish type.
Declaration
public MigrationPipelineContentType WithPublishType(Type publishType)
Parameters
Type | Name | Description |
---|---|---|
Type | publishType | The publish type. |
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
WithPublishType<TPublish>()
Creates a new MigrationPipelineContentType instance with the specified publish type.
Declaration
public MigrationPipelineContentType WithPublishType<TPublish>()
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
Type Parameters
Name | Description |
---|---|
TPublish |
WithResultType(Type)
Creates a new MigrationPipelineContentType instance with the specified result type.
Declaration
public MigrationPipelineContentType WithResultType(Type resultType)
Parameters
Type | Name | Description |
---|---|---|
Type | resultType | The result type. |
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
WithResultType<TResult>()
Creates a new MigrationPipelineContentType instance with the specified result type.
Declaration
public MigrationPipelineContentType WithResultType<TResult>()
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
Type Parameters
Name | Description |
---|---|
TResult |