namespace AIStudio.Settings.DataModel;
///
/// An external data source, accessed via an ERI server, cf. https://github.com/MindWorkAI/ERI.
///
public readonly record struct DataSourceERI : IDataSource
{
public DataSourceERI()
{
}
///
public uint Num { get; init; }
///
public string Id { get; init; } = Guid.Empty.ToString();
///
public string Name { get; init; } = string.Empty;
///
public DataSourceType Type { get; init; } = DataSourceType.NONE;
///
/// The hostname of the ERI server.
///
public string Hostname { get; init; } = string.Empty;
///
/// The port of the ERI server.
///
public int Port { get; init; }
}