Files
speckle-sharp-connectors/DUI3/Speckle.Connectors.DUI/Models/Card/ReceiverModelCard.cs
T
Adam Hathcock 891a18819b React to sdk renaming (#113)
* react to renamespacing

* merge dev

* fmt

* initialize things with typeloader

* autocad initialization

* add arcgis

* add more projects to local

* instrument rhino more

* update nugets

* fmt
2024-08-08 10:32:01 +00:00

27 lines
762 B
C#

using Speckle.Connectors.Utils.Operations;
using Speckle.Sdk.Common;
namespace Speckle.Connectors.DUI.Models.Card;
public class ReceiverModelCard : ModelCard
{
public string? ProjectName { get; set; }
public string? ModelName { get; set; }
public string? SelectedVersionId { get; set; }
public string? LatestVersionId { get; set; }
public bool HasDismissedUpdateWarning { get; set; }
public List<string>? BakedObjectIds { get; set; }
public ReceiveInfo GetReceiveInfo(string sourceApplication) =>
new(
AccountId.NotNull(),
new Uri(ServerUrl.NotNull()),
ProjectId.NotNull(),
ProjectName.NotNull(),
ModelId.NotNull(),
ModelName.NotNull(),
SelectedVersionId.NotNull(),
sourceApplication
);
}