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. Content type is returned from list step, pre-pull. |
Fields
CloudToCloudExtractRefreshTasks
Gets the Cloud to Cloud extract refresh tasks MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType CloudToCloudExtractRefreshTasks
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
CloudToCloudSubscriptions
Gets the Cloud to Cloud subscriptions MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType CloudToCloudSubscriptions
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
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 |
ServerToCloudSubscriptions
Gets the Server to Cloud subscriptions MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType ServerToCloudSubscriptions
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
ServerToServerExtractRefreshTasks
Gets the Server to Server extract refresh tasks MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType ServerToServerExtractRefreshTasks
Field Value
Type | Description |
---|---|
MigrationPipelineContentType |
ServerToServerSubscriptions
Gets the Server to Server subscriptions MigrationPipelineContentType.
Declaration
public static readonly MigrationPipelineContentType ServerToServerSubscriptions
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. Content type is returned from list step, pre-pull.
Declaration
public Type ContentType { get; init; }
Property Value
Type | Description |
---|---|
Type |
PrepareType
Gets the preparation type that is pulled and converted for publishing. The Prepare type is the post-pull, pre-conversion type.
Declaration
public Type PrepareType { get; }
Property Value
Type | Description |
---|---|
Type |
PublishType
Gets the publish type. The publish type is post-conversion, ready to publish.
Declaration
public Type PublishType { get; }
Property Value
Type | Description |
---|---|
Type |
ResultType
Gets the result type returned by publishing.
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
GetAllMigrationPipelineContentTypes()
Gets all static instances of MigrationPipelineContentType.
Declaration
public static IEnumerable<MigrationPipelineContentType> GetAllMigrationPipelineContentTypes()
Returns
Type | Description |
---|---|
IEnumerable<MigrationPipelineContentType> |
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[] |
GetDisplayNameForType(Type, bool)
Gets the friendly display name for a content type.
Declaration
public static string GetDisplayNameForType(Type contentType, bool plural = false)
Parameters
Type | Name | Description |
---|---|---|
Type | contentType | The content type. |
bool | plural | Whether the display name should be in plural form. |
Returns
Type | Description |
---|---|
string | The display name string. |
GetMigrationPipelineContentTypes(PipelineProfile)
Gets the content types for a given profile.
Declaration
public static ImmutableArray<MigrationPipelineContentType> GetMigrationPipelineContentTypes(PipelineProfile profile)
Parameters
Type | Name | Description |
---|---|---|
PipelineProfile | profile | Profile to get the types for. |
Returns
Type | Description |
---|---|
ImmutableArray<MigrationPipelineContentType> | Array of content types supported by the given pipeline profile. |
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[] |
WithPrepareType(Type)
Creates a new MigrationPipelineContentType instance with the specified preparation type. Preperation type is post-pull, pre-conversion.
Declaration
public MigrationPipelineContentType WithPrepareType(Type prepareType)
Parameters
Type | Name | Description |
---|---|---|
Type | prepareType | The preparation type. |
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
WithPrepareType<TPrepare>()
Creates a new MigrationPipelineContentType instance with the specified preparation type. Preperation type is post-pull, pre-conversion.
Declaration
public MigrationPipelineContentType WithPrepareType<TPrepare>()
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
Type Parameters
Name | Description |
---|---|
TPrepare |
WithPublishType(Type)
Creates a new MigrationPipelineContentType instance with the specified publish type. Publish type is post-conversion, ready to publish.
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. Publish type is post-conversion, ready to publish.
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. Result type is post-publish.
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. Result type is post-publish.
Declaration
public MigrationPipelineContentType WithResultType<TResult>()
Returns
Type | Description |
---|---|
MigrationPipelineContentType |
Type Parameters
Name | Description |
---|---|
TResult |