Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Add "Name" Property to SpeckleObject #93

Merged
merged 1 commit into from
Dec 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions SpeckleCore/Models/ModelObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ [ Newtonsoft.Json.JsonProperty( "geometryHash", Required = Newtonsoft.Json.Requi
/// <summary>The id/guid that the origin application identifies this object by.</summary>
[Newtonsoft.Json.JsonProperty( "applicationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore )]
public string ApplicationId { get; set; }

/// <summary>The name of this object in the origin application GUI.</summary>
[Newtonsoft.Json.JsonProperty( "name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore )]
public string Name { get; set; }

/// <summary>The extra properties field of a speckle object.</summary>
[Newtonsoft.Json.JsonProperty( "properties", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore )]
Expand Down