Class SerializableContentLocation
Represents a JSON serializable content location, providing details about the location of content within a migration context.
Namespace: Tableau.Migration.JsonConverters.SerializableObjects
Assembly: Tableau.Migration.dll
Syntax
public class SerializableContentLocation
Constructors
SerializableContentLocation()
Initializes a new instance of the SerializableContentLocation class.
Declaration
public SerializableContentLocation()
Properties
IsEmpty
Gets or sets a value indicating whether the content location is empty.
Declaration
public bool IsEmpty { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets or sets the name of the content at this location.
Declaration
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Path
Gets or sets the full path constructed from the path segments and separator.
Declaration
public string? Path { get; set; }
Property Value
Type | Description |
---|---|
string |
PathSegments
Gets or sets the path segments that make up the content location.
Declaration
public string[]? PathSegments { get; set; }
Property Value
Type | Description |
---|---|
string[] |
PathSeparator
Gets or sets the path separator used between path segments.
Declaration
public string? PathSeparator { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
AsContentLocation()
Returns the current object as a ContentLocation
Declaration
public ContentLocation AsContentLocation()
Returns
Type | Description |
---|---|
ContentLocation |
VerifyDeseralization()
Throw exception if any values are still null
Declaration
public void VerifyDeseralization()