-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from hypar-io/library-versions
Upgrade Elements and Functions packages to support Design Options
- Loading branch information
Showing
8 changed files
with
153 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
//---------------------- | ||
// <auto-generated> | ||
// Generated using the NJsonSchema v10.1.21.0 (Newtonsoft.Json v13.0.0.0) (http://NJsonSchema.org) | ||
// </auto-generated> | ||
//---------------------- | ||
using Elements; | ||
using Elements.GeoJSON; | ||
using Elements.Geometry; | ||
using Elements.Geometry.Solids; | ||
using Elements.Spatial; | ||
using Elements.Validators; | ||
using Elements.Serialization.JSON; | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using Line = Elements.Geometry.Line; | ||
using Polygon = Elements.Geometry.Polygon; | ||
|
||
namespace Elements | ||
{ | ||
#pragma warning disable // Disable all warnings | ||
|
||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.1.21.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class InitialDimensions | ||
{ | ||
[JsonConstructor] | ||
public InitialDimensions(double @width, double @depth) | ||
{ | ||
this.Width = @width; | ||
this.Depth = @depth; | ||
} | ||
|
||
|
||
// Empty constructor | ||
public InitialDimensions() | ||
{ | ||
} | ||
|
||
[JsonProperty("width", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public double Width { get; set; } | ||
|
||
[JsonProperty("depth", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public double Depth { get; set; } | ||
|
||
private System.Collections.Generic.IDictionary<string, object> _additionalProperties = new System.Collections.Generic.Dictionary<string, object>(); | ||
|
||
[JsonExtensionData] | ||
public System.Collections.Generic.IDictionary<string, object> AdditionalProperties | ||
{ | ||
get { return _additionalProperties; } | ||
set { _additionalProperties = value; } | ||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
//---------------------- | ||
// <auto-generated> | ||
// Generated using the NJsonSchema v10.1.21.0 (Newtonsoft.Json v13.0.0.0) (http://NJsonSchema.org) | ||
// </auto-generated> | ||
//---------------------- | ||
using Elements; | ||
using Elements.GeoJSON; | ||
using Elements.Geometry; | ||
using Elements.Geometry.Solids; | ||
using Elements.Spatial; | ||
using Elements.Validators; | ||
using Elements.Serialization.JSON; | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using Line = Elements.Geometry.Line; | ||
using Polygon = Elements.Geometry.Polygon; | ||
|
||
namespace Elements | ||
{ | ||
#pragma warning disable // Disable all warnings | ||
|
||
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.1.21.0 (Newtonsoft.Json v13.0.0.0)")] | ||
public partial class Type | ||
{ | ||
[JsonConstructor] | ||
public Type(string @configurationSource, string @name, System.Guid @id, bool @profileLinkedToType, InitialDimensions @initialDimensions) | ||
{ | ||
this.ConfigurationSource = @configurationSource; | ||
this.Name = @name; | ||
this.Id = @id; | ||
this.ProfileLinkedToType = @profileLinkedToType; | ||
this.InitialDimensions = @initialDimensions; | ||
} | ||
|
||
|
||
// Empty constructor | ||
public Type() | ||
{ | ||
} | ||
|
||
[JsonProperty("configurationSource", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public string ConfigurationSource { get; set; } | ||
|
||
[JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public string Name { get; set; } | ||
|
||
[JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public System.Guid Id { get; set; } | ||
|
||
[JsonProperty("profileLinkedToType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public bool ProfileLinkedToType { get; set; } | ||
|
||
[JsonProperty("initialDimensions", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||
public InitialDimensions InitialDimensions { get; set; } | ||
|
||
private System.Collections.Generic.IDictionary<string, object> _additionalProperties = new System.Collections.Generic.Dictionary<string, object>(); | ||
|
||
[JsonExtensionData] | ||
public System.Collections.Generic.IDictionary<string, object> AdditionalProperties | ||
{ | ||
get { return _additionalProperties; } | ||
set { _additionalProperties = value; } | ||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters