Files
speckle-sharp-connectors/DUI3/Speckle.Connectors.DUI/Models/Card/ModelCard.cs
T
Oğuzhan Koral 7cdf86345b DUI3-126 shared files (#12)
* Account service to get account first from id otherwise from server Url

- And other simplications, removing dup code etc.

* Add TransportException to all bindings

* Register AccountService as singleton and add doc
2024-07-09 22:00:35 +01:00

36 lines
915 B
C#

using Speckle.Connectors.DUI.Settings;
using Speckle.Connectors.DUI.Utils;
namespace Speckle.Connectors.DUI.Models.Card;
public class ModelCard : DiscriminatedObject
{
/// <summary>
/// This is a unique id generated by the ui to make model cards easier to reference around.
/// It's not the actual model (branch) id.
/// </summary>
public string? ModelCardId { get; set; }
/// <summary>
/// Model id. FKA branch id.
/// </summary>
public string? ModelId { get; set; }
/// <summary>
/// Project id. FKA stream id.
/// </summary>
public string? ProjectId { get; set; }
/// <summary>
/// Account id that model card created with it initially.
/// </summary>
public string? AccountId { get; set; }
/// <summary>
/// Server that model card created on it initially.
/// </summary>
public string? ServerUrl { get; set; }
public List<CardSetting>? Settings { get; set; }
}