/// <summary>
 /// Finishes initialization of object after deserialization from JSON
 /// </summary>
 /// <param name="proKnow">The root object for interfacing with the ProKnow API</param>
 /// <param name="workspaceId">The ProKnow ID for the workspace</param>
 /// <param name="structureSetItem">The parent structure set</param>
 internal void PostProcessDeserialization(ProKnowApi proKnow, string workspaceId, StructureSetItem structureSetItem)
 {
     _proKnow               = proKnow;
     _structureSetItem      = structureSetItem;
     _jsonSerializerOptions = new JsonSerializerOptions();
     _jsonSerializerOptions.Converters.Add(new ColorJsonConverter());
     WorkspaceId = workspaceId;
 }
 /// <summary>
 /// Finishes initialization of object after deserialization from JSON
 /// </summary>
 /// <param name="proKnow">The root object for interfacing with the ProKnow API</param>
 /// <param name="structureSetItem">The structure set to which this data belongs</param>
 /// <param name="structureSetRoiItem">The ROI to which this data belongs</param>
 internal void PostProcessDeserialization(ProKnowApi proKnow, StructureSetItem structureSetItem, StructureSetRoiItem structureSetRoiItem)
 {
     _proKnow               = proKnow;
     _workspaceId           = structureSetItem.WorkspaceId;
     _structureSetItem      = structureSetItem;
     _structureSetRoiItem   = structureSetRoiItem;
     _jsonSerializerOptions = new JsonSerializerOptions();
     _jsonSerializerOptions.Converters.Add(new Points3DJsonConverter());
 }
 /// <summary>
 /// Creates a StructureSetDraftLockRenewer
 /// </summary>
 /// <param name="proKnow">Root object for interfacing with the ProKnow API</param>
 /// <param name="structureSet">The structure set</param>
 public StructureSetDraftLockRenewer(ProKnowApi proKnow, StructureSetItem structureSet)
 {
     _proKnow              = proKnow;
     _structureSet         = structureSet;
     _timer                = null;
     _hasStarted           = false;
     _lockRenewalBuffer    = new TimeSpan(0, 0, proKnow.LockRenewalBuffer);
     _timerDisposalTimeout = TimeSpan.FromSeconds(10);
 }