Class SerializableMigrationManifest
Represents a serializable version of a migration manifest, which can be used for JSON serialization and deserialization.
Namespace: Tableau.Migration.JsonConverters.SerializableObjects
Assembly: Tableau.Migration.dll
Syntax
public class SerializableMigrationManifest
Constructors
SerializableMigrationManifest()
Initializes a new instance of the SerializableMigrationManifest class.
Declaration
public SerializableMigrationManifest()
SerializableMigrationManifest(IMigrationManifest)
Initializes a new instance of the SerializableMigrationManifest class with details from an IMigrationManifest.
Declaration
public SerializableMigrationManifest(IMigrationManifest manifest)
Parameters
Type | Name | Description |
---|---|---|
IMigrationManifest | manifest | The migration manifest to serialize. |
Properties
Entries
Gets or sets the collection of entries that are part of the migration manifest.
Declaration
public SerializableEntryCollection? Entries { get; set; }
Property Value
Type | Description |
---|---|
SerializableEntryCollection |
Errors
Gets or sets the list of errors encountered during the migration process.
Declaration
public List<SerializableException>? Errors { get; set; }
Property Value
Type | Description |
---|---|
List<SerializableException> |
ManifestVersion
Gets or sets the version of the migration manifest.
Declaration
public uint? ManifestVersion { get; set; }
Property Value
Type | Description |
---|---|
uint? |
MigrationId
Gets or sets the unique identifier for the migration.
Declaration
public Guid? MigrationId { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
PlanId
Gets or sets the unique identifier for the migration plan.
Declaration
public Guid? PlanId { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
Methods
ToMigrationManifest(ISharedResourcesLocalizer, ILoggerFactory)
Converts the serializable migration manifest back into an IMigrationManifest instance.
Declaration
public IMigrationManifest ToMigrationManifest(ISharedResourcesLocalizer localizer, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
ISharedResourcesLocalizer | localizer | The shared resources localizer. |
ILoggerFactory | loggerFactory | The logger factory. |
Returns
Type | Description |
---|---|
IMigrationManifest | An instance of IMigrationManifest. |