Skip to content

Commit

Permalink
Fixed JsonProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
gouldingken authored Dec 3, 2018
1 parent 668f746 commit 885661a
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 885661a

Please sign in to comment.