Skip to content

Commit

Permalink
fix(schema): update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed Aug 12, 2024
1 parent 1d292cb commit 7c7a9b1
Show file tree
Hide file tree
Showing 8 changed files with 9,873 additions and 9,699 deletions.
19,478 changes: 9,813 additions & 9,665 deletions .openapi-docs/model_inheritance.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .openapi-docs/model_mapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"Room2DEnergyPropertiesAbridged": "dragonfly_schema.energy.properties",
"Room2DPropertiesAbridged": "dragonfly_schema.model",
"Room2DRadiancePropertiesAbridged": "dragonfly_schema.radiance.properties",
"RoomDoe2Properties": "honeybee_schema.doe2.properties",
"RoomEnergyPropertiesAbridged": "honeybee_schema.energy.properties",
"RoomGridParameter": "dragonfly_schema.radiance.gridpar",
"RoomPropertiesAbridged": "honeybee_schema.model",
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/.openapi-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packageName": "DragonflySchema",
"projectName": "DragonflySchema",
"packageUrl": "https://github.com/ladybug-tools/dragonfly-schema",
"packageVersion": "1.11.1",
"packageVersion": "1.12.0",
"targetFramework": "v4.5",
"sourceFolder": "src",
"sortParamsByRequiredFlag": true,
Expand Down
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ docs/Room2DPropertiesAbridgedAllOf.md
docs/Room2DRadiancePropertiesAbridged.md
docs/Room2DRadiancePropertiesAbridgedAllOf.md
docs/RoomAllOf.md
docs/RoomDoe2Properties.md
docs/RoomDoe2PropertiesAllOf.md
docs/RoomEnergyPropertiesAbridged.md
docs/RoomEnergyPropertiesAbridgedAllOf.md
docs/RoomGridParameter.md
Expand Down Expand Up @@ -765,6 +767,8 @@ src/DragonflySchema.Test/Model/Room2DRadiancePropertiesAbridgedAllOfTests.cs
src/DragonflySchema.Test/Model/Room2DRadiancePropertiesAbridgedTests.cs
src/DragonflySchema.Test/Model/Room2DTests.cs
src/DragonflySchema.Test/Model/RoomAllOfTests.cs
src/DragonflySchema.Test/Model/RoomDoe2PropertiesAllOfTests.cs
src/DragonflySchema.Test/Model/RoomDoe2PropertiesTests.cs
src/DragonflySchema.Test/Model/RoomEnergyPropertiesAbridgedAllOfTests.cs
src/DragonflySchema.Test/Model/RoomEnergyPropertiesAbridgedTests.cs
src/DragonflySchema.Test/Model/RoomGridParameterAllOfTests.cs
Expand Down Expand Up @@ -1223,6 +1227,8 @@ src/DragonflySchema/Model/Room2DPropertiesAbridgedAllOf.cs
src/DragonflySchema/Model/Room2DRadiancePropertiesAbridged.cs
src/DragonflySchema/Model/Room2DRadiancePropertiesAbridgedAllOf.cs
src/DragonflySchema/Model/RoomAllOf.cs
src/DragonflySchema/Model/RoomDoe2Properties.cs
src/DragonflySchema/Model/RoomDoe2PropertiesAllOf.cs
src/DragonflySchema/Model/RoomEnergyPropertiesAbridged.cs
src/DragonflySchema/Model/RoomEnergyPropertiesAbridgedAllOf.cs
src/DragonflySchema/Model/RoomGridParameter.cs
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Documentation for Dragonfly model schema

This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.11.1
- SDK version: 1.11.1
- API version: 1.12.0
- SDK version: 1.12.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://github.com/ladybug-tools/dragonfly-core](https://github.com/ladybug-tools/dragonfly-core)

Expand Down Expand Up @@ -414,6 +414,8 @@ Class | Method | HTTP request | Description
- [Model.Room2DRadiancePropertiesAbridged](docs/Room2DRadiancePropertiesAbridged.md)
- [Model.Room2DRadiancePropertiesAbridgedAllOf](docs/Room2DRadiancePropertiesAbridgedAllOf.md)
- [Model.RoomAllOf](docs/RoomAllOf.md)
- [Model.RoomDoe2Properties](docs/RoomDoe2Properties.md)
- [Model.RoomDoe2PropertiesAllOf](docs/RoomDoe2PropertiesAllOf.md)
- [Model.RoomEnergyPropertiesAbridged](docs/RoomEnergyPropertiesAbridged.md)
- [Model.RoomEnergyPropertiesAbridgedAllOf](docs/RoomEnergyPropertiesAbridgedAllOf.md)
- [Model.RoomGridParameter](docs/RoomGridParameter.md)
Expand Down
1 change: 1 addition & 0 deletions docs/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**Type** | **string** | | [optional] [readonly] [default to "Building"]
**UniqueStories** | [**List<Story>**](Story.md) | An array of unique dragonfly Story objects that together form the entire building. Stories should generally be ordered from lowest floor to highest floor, though this is not required. Note that, if a given Story is repeated several times over the height of the building and this is represented by the multiplier, the unique story included in this list should be the first (lowest) story of the repeated floors. | [optional]
**Room3ds** | [**List<Room>**](Room.md) | An optional array of 3D Honeybee Room objects for additional Rooms that are a part of the Building but are not represented within the unique_stories. This is useful when there are parts of the Building geometry that cannot easily be represented with the extruded floor plate and sloped roof assumptions that underlie Dragonfly Room2Ds and RoofSpecification. Cases where this input is most useful include sloped walls and certain types of domed roofs that become tedious to implement with RoofSpecification. Matching the Honeybee Room.story property to the Dragonfly Story.display_name of an object within the unique_stories will effectively place the Honeybee Room on that Story for the purposes of floor_area, exterior_wall_area, etc. However, note that the Honeybee Room.multiplier property takes precedence over whatever multiplier is assigned to the Dragonfly Story that the Room.story may reference. (Default: None). | [optional]
**Roof** | [**RoofSpecification**](RoofSpecification.md) | An optional RoofSpecification object that provides an alternative way to describe roof geometry over rooms (instead of specifying roofs on each story). If trying to decide between the two, specifying geometry on each story is closer to how dragonfly natively works with roof geometry as it relates to rooms. However, when it is unknown which roof geometries correspond to which stories, this Building-level attribute may be used and each roof geometry will automatically be added to the best Story in the Building upon serialization to Python. This automatic assignment will happen by checking for overlaps between the Story Room2Ds and the Roof geometry in plan. When a given roof geometry overlaps with several Stories, the top-most Story will get the roof geometry assigned to it unless this top Story has a floor_height above the roof geometry, in which case the next highest story will be checked until a compatible one is found. | [optional]

[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
Expand Down
6 changes: 3 additions & 3 deletions src/DragonflySchema/DragonflySchema.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net452</TargetFrameworks>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Version>1.11.1.0</Version>
<Version>1.12.0.0</Version>
<Authors>Ladybug Tools</Authors>
<Description>This is the .Net version of Dragonfly Schema</Description>
<Copyright>Copyright © 2024 Ladybug Tools LLC</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://www.ladybug.tools/dragonfly-schema</PackageProjectUrl>
<AssemblyVersion>1.11.1.0</AssemblyVersion>
<FileVersion>1.11.1.0</FileVersion>
<AssemblyVersion>1.12.0.0</AssemblyVersion>
<FileVersion>1.12.0.0</FileVersion>
<RepositoryUrl>https://github.com/ladybug-tools/dragonfly-schema-dotnet</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<SignAssembly>true</SignAssembly>
Expand Down
Loading

0 comments on commit 7c7a9b1

Please sign in to comment.