Class SerializableManifestEntry
Represents a JSON serializable entry in a migration manifest. This class implements IMigrationManifestEntry to allow for easy conversion between the manifest entry and its JSON representation.
Namespace: Tableau.Migration.JsonConverters.SerializableObjects
Assembly: Tableau.Migration.dll
Syntax
public class SerializableManifestEntry : IMigrationManifestEntry, IEquatable<IMigrationManifestEntry>
Constructors
SerializableManifestEntry()
Initializes a new instance of the SerializableManifestEntry class.
Declaration
public SerializableManifestEntry()
Properties
Destination
Gets or sets the destination content reference.
Declaration
public SerializableContentReference? Destination { get; set; }
Property Value
Type | Description |
---|---|
SerializableContentReference |
Errors
Gets or sets the list of errors encountered during the migration of this entry.
Declaration
public List<SerializableException>? Errors { get; set; }
Property Value
Type | Description |
---|---|
List<SerializableException> |
HasMigrated
Gets or sets a value indicating whether the content has been migrated.
Declaration
public bool HasMigrated { get; set; }
Property Value
Type | Description |
---|---|
bool |
MappedLocation
Gets or sets the mapped location for the content.
Declaration
public SerializableContentLocation? MappedLocation { get; set; }
Property Value
Type | Description |
---|---|
SerializableContentLocation |
Source
Gets or sets the source content reference.
Declaration
public SerializableContentReference? Source { get; set; }
Property Value
Type | Description |
---|---|
SerializableContentReference |
Status
Gets or sets the status of the migration for this entry.
Declaration
public string? Status { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
AsMigrationManifestEntry(IMigrationManifestEntryBuilder)
Returns current object as a IMigrationManifestEntry
Declaration
public IMigrationManifestEntry AsMigrationManifestEntry(IMigrationManifestEntryBuilder partition)
Parameters
Type | Name | Description |
---|---|---|
IMigrationManifestEntryBuilder | partition |
Returns
Type | Description |
---|---|
IMigrationManifestEntry |
Equals(IMigrationManifestEntry?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(IMigrationManifestEntry? other)
Parameters
Type | Name | Description |
---|---|---|
IMigrationManifestEntry | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
SetErrors(List<Exception>)
Sets the list of errors encountered during the migration of this entry.
Declaration
public void SetErrors(List<Exception> errors)
Parameters
Type | Name | Description |
---|---|---|
List<Exception> | errors | The list of errors to set. |
VerifyDeseralization()
Throw exception if any values are still null
Declaration
public void VerifyDeseralization()