Skip to content

Commit 4da5a0d

Browse files
release: v0.1.36
1 parent cff1047 commit 4da5a0d

21 files changed

Lines changed: 446 additions & 118 deletions

specs/openapi.json

Lines changed: 125 additions & 15 deletions
Large diffs are not rendered by default.

src/Generated/Astrology/Synastry/SynastryPostResponse_person1_planets.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ public partial class SynastryPostResponse_person1_planets : IAdditionalDataHolde
1616
public IDictionary<string, object> AdditionalData { get; set; }
1717
/// <summary>Degree within the sign (0-29.999).</summary>
1818
public double? Degree { get; set; }
19-
/// <summary>House this planet occupies in the person 1 chart (1-12).</summary>
19+
/// <summary>House this planet occupies in the person 1 chart (1-12). This is the placement in this person OWN chart. For the house overlay a synastry reading is built on, read houseInOtherChart.</summary>
2020
public double? House { get; set; }
21+
/// <summary>Which of person 2 houses this planet of person 1 falls into (1-12), counted on that person cusps in the same house system. This is the house OVERLAY, the half of synastry the inter-aspects do not cover: an aspect says two bodies are in relationship, an overlay says which area of the other person life this body lands in. Both people get their own overlay, so person 2 planets carry the reverse reading.</summary>
22+
public double? HouseInOtherChart { get; set; }
2123
/// <summary>True when the planet is retrograde at this moment.</summary>
2224
public bool? IsRetrograde { get; set; }
2325
/// <summary>Ecliptic longitude in degrees (0-360) measured from 0 Aries. This is the value a wheel plots.</summary>
@@ -81,6 +83,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
8183
{
8284
{ "degree", n => { Degree = n.GetDoubleValue(); } },
8385
{ "house", n => { House = n.GetDoubleValue(); } },
86+
{ "houseInOtherChart", n => { HouseInOtherChart = n.GetDoubleValue(); } },
8487
{ "isRetrograde", n => { IsRetrograde = n.GetBoolValue(); } },
8588
{ "longitude", n => { Longitude = n.GetDoubleValue(); } },
8689
{ "name", n => { Name = n.GetStringValue(); } },
@@ -98,6 +101,7 @@ public virtual void Serialize(ISerializationWriter writer)
98101
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
99102
writer.WriteDoubleValue("degree", Degree);
100103
writer.WriteDoubleValue("house", House);
104+
writer.WriteDoubleValue("houseInOtherChart", HouseInOtherChart);
101105
writer.WriteBoolValue("isRetrograde", IsRetrograde);
102106
writer.WriteDoubleValue("longitude", Longitude);
103107
writer.WriteStringValue("name", Name);

src/Generated/Astrology/Synastry/SynastryPostResponse_person2_planets.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ public partial class SynastryPostResponse_person2_planets : IAdditionalDataHolde
1616
public IDictionary<string, object> AdditionalData { get; set; }
1717
/// <summary>Degree within the sign (0-29.999).</summary>
1818
public double? Degree { get; set; }
19-
/// <summary>House this planet occupies in the person 2 chart (1-12).</summary>
19+
/// <summary>House this planet occupies in the person 2 chart (1-12). This is the placement in this person OWN chart. For the house overlay a synastry reading is built on, read houseInOtherChart.</summary>
2020
public double? House { get; set; }
21+
/// <summary>Which of person 1 houses this planet of person 2 falls into (1-12), counted on that person cusps in the same house system. This is the house OVERLAY, the half of synastry the inter-aspects do not cover: an aspect says two bodies are in relationship, an overlay says which area of the other person life this body lands in. Both people get their own overlay, so person 1 planets carry the reverse reading.</summary>
22+
public double? HouseInOtherChart { get; set; }
2123
/// <summary>True when the planet is retrograde at this moment.</summary>
2224
public bool? IsRetrograde { get; set; }
2325
/// <summary>Ecliptic longitude in degrees (0-360) measured from 0 Aries. This is the value a wheel plots.</summary>
@@ -81,6 +83,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
8183
{
8284
{ "degree", n => { Degree = n.GetDoubleValue(); } },
8385
{ "house", n => { House = n.GetDoubleValue(); } },
86+
{ "houseInOtherChart", n => { HouseInOtherChart = n.GetDoubleValue(); } },
8487
{ "isRetrograde", n => { IsRetrograde = n.GetBoolValue(); } },
8588
{ "longitude", n => { Longitude = n.GetDoubleValue(); } },
8689
{ "name", n => { Name = n.GetStringValue(); } },
@@ -98,6 +101,7 @@ public virtual void Serialize(ISerializationWriter writer)
98101
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
99102
writer.WriteDoubleValue("degree", Degree);
100103
writer.WriteDoubleValue("house", House);
104+
writer.WriteDoubleValue("houseInOtherChart", HouseInOtherChart);
101105
writer.WriteBoolValue("isRetrograde", IsRetrograde);
102106
writer.WriteDoubleValue("longitude", Longitude);
103107
writer.WriteStringValue("name", Name);

src/Generated/Biorhythm/CriticalDays/CriticalDaysPostResponse_criticalDays.cs

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ public partial class CriticalDaysPostResponse_criticalDays : IAdditionalDataHold
2222
#else
2323
public string Advisory { get; set; }
2424
#endif
25-
/// <summary>Which primary cycle crosses zero on this date.</summary>
26-
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
27-
#nullable enable
28-
public string? Cycle { get; set; }
29-
#nullable restore
30-
#else
31-
public string Cycle { get; set; }
32-
#endif
25+
/// <summary>Which primary cycle crosses zero on this date. One of: physical, emotional, intellectual. Only the three primary cycles are scanned; the secondary and composite cycles are not.</summary>
26+
public global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_cycle? Cycle { get; set; }
3327
/// <summary>Date of the zero crossing (YYYY-MM-DD).</summary>
3428
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
3529
#nullable enable
@@ -39,23 +33,11 @@ public partial class CriticalDaysPostResponse_criticalDays : IAdditionalDataHold
3933
public string Date { get; set; }
4034
#endif
4135
/// <summary>Whether the cycle is rising through zero (ascending) or falling through zero (descending).</summary>
42-
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
43-
#nullable enable
44-
public string? Direction { get; set; }
45-
#nullable restore
46-
#else
47-
public string Direction { get; set; }
48-
#endif
36+
public global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_direction? Direction { get; set; }
4937
/// <summary>Cycle period in days.</summary>
5038
public double? Period { get; set; }
51-
/// <summary>How many primary cycles are critical on this date. single, double, or triple.</summary>
52-
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
53-
#nullable enable
54-
public string? Severity { get; set; }
55-
#nullable restore
56-
#else
57-
public string Severity { get; set; }
58-
#endif
39+
/// <summary>How many primary cycles are critical on this date. One of: single, double, triple.</summary>
40+
public global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_severity? Severity { get; set; }
5941
/// <summary>
6042
/// Instantiates a new <see cref="global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays"/> and sets the default values.
6143
/// </summary>
@@ -82,11 +64,11 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
8264
return new Dictionary<string, Action<IParseNode>>
8365
{
8466
{ "advisory", n => { Advisory = n.GetStringValue(); } },
85-
{ "cycle", n => { Cycle = n.GetStringValue(); } },
67+
{ "cycle", n => { Cycle = n.GetEnumValue<global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_cycle>(); } },
8668
{ "date", n => { Date = n.GetStringValue(); } },
87-
{ "direction", n => { Direction = n.GetStringValue(); } },
69+
{ "direction", n => { Direction = n.GetEnumValue<global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_direction>(); } },
8870
{ "period", n => { Period = n.GetDoubleValue(); } },
89-
{ "severity", n => { Severity = n.GetStringValue(); } },
71+
{ "severity", n => { Severity = n.GetEnumValue<global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_severity>(); } },
9072
};
9173
}
9274
/// <summary>
@@ -97,11 +79,11 @@ public virtual void Serialize(ISerializationWriter writer)
9779
{
9880
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
9981
writer.WriteStringValue("advisory", Advisory);
100-
writer.WriteStringValue("cycle", Cycle);
82+
writer.WriteEnumValue<global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_cycle>("cycle", Cycle);
10183
writer.WriteStringValue("date", Date);
102-
writer.WriteStringValue("direction", Direction);
84+
writer.WriteEnumValue<global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_direction>("direction", Direction);
10385
writer.WriteDoubleValue("period", Period);
104-
writer.WriteStringValue("severity", Severity);
86+
writer.WriteEnumValue<global::RoxyApi.Biorhythm.CriticalDays.CriticalDaysPostResponse_criticalDays_severity>("severity", Severity);
10587
writer.WriteAdditionalData(AdditionalData);
10688
}
10789
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// <auto-generated/>
2+
using System.Runtime.Serialization;
3+
using System;
4+
namespace RoxyApi.Biorhythm.CriticalDays
5+
{
6+
/// <summary>Which primary cycle crosses zero on this date. One of: physical, emotional, intellectual. Only the three primary cycles are scanned; the secondary and composite cycles are not.</summary>
7+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
8+
public enum CriticalDaysPostResponse_criticalDays_cycle
9+
{
10+
[EnumMember(Value = "physical")]
11+
#pragma warning disable CS1591
12+
Physical,
13+
#pragma warning restore CS1591
14+
[EnumMember(Value = "emotional")]
15+
#pragma warning disable CS1591
16+
Emotional,
17+
#pragma warning restore CS1591
18+
[EnumMember(Value = "intellectual")]
19+
#pragma warning disable CS1591
20+
Intellectual,
21+
#pragma warning restore CS1591
22+
}
23+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// <auto-generated/>
2+
using System.Runtime.Serialization;
3+
using System;
4+
namespace RoxyApi.Biorhythm.CriticalDays
5+
{
6+
/// <summary>Whether the cycle is rising through zero (ascending) or falling through zero (descending).</summary>
7+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
8+
public enum CriticalDaysPostResponse_criticalDays_direction
9+
{
10+
[EnumMember(Value = "ascending")]
11+
#pragma warning disable CS1591
12+
Ascending,
13+
#pragma warning restore CS1591
14+
[EnumMember(Value = "descending")]
15+
#pragma warning disable CS1591
16+
Descending,
17+
#pragma warning restore CS1591
18+
}
19+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// <auto-generated/>
2+
using System.Runtime.Serialization;
3+
using System;
4+
namespace RoxyApi.Biorhythm.CriticalDays
5+
{
6+
/// <summary>How many primary cycles are critical on this date. One of: single, double, triple.</summary>
7+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
8+
public enum CriticalDaysPostResponse_criticalDays_severity
9+
{
10+
[EnumMember(Value = "single")]
11+
#pragma warning disable CS1591
12+
Single,
13+
#pragma warning restore CS1591
14+
[EnumMember(Value = "double")]
15+
#pragma warning disable CS1591
16+
Double,
17+
#pragma warning restore CS1591
18+
[EnumMember(Value = "triple")]
19+
#pragma warning disable CS1591
20+
Triple,
21+
#pragma warning restore CS1591
22+
}
23+
}

src/Generated/Biorhythm/Daily/DailyPostResponse.cs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,8 @@ public partial class DailyPostResponse : IAdditionalDataHolder, IParsable
4040
#endif
4141
/// <summary>Overall energy score from 1 to 10.</summary>
4242
public double? EnergyRating { get; set; }
43-
/// <summary>Summary phase. One of: high_energy, mixed, recovery, critical.</summary>
44-
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
45-
#nullable enable
46-
public string? OverallPhase { get; set; }
47-
#nullable restore
48-
#else
49-
public string OverallPhase { get; set; }
50-
#endif
43+
/// <summary>Summary phase across every cycle for the day. One of: high_energy, mixed, recovery, critical.</summary>
44+
public global::RoxyApi.Biorhythm.Daily.DailyPostResponse_overallPhase? OverallPhase { get; set; }
5145
/// <summary>The quickRead property</summary>
5246
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
5347
#nullable enable
@@ -101,7 +95,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
10195
{ "dailyMessage", n => { DailyMessage = n.GetStringValue(); } },
10296
{ "date", n => { Date = n.GetStringValue(); } },
10397
{ "energyRating", n => { EnergyRating = n.GetDoubleValue(); } },
104-
{ "overallPhase", n => { OverallPhase = n.GetStringValue(); } },
98+
{ "overallPhase", n => { OverallPhase = n.GetEnumValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_overallPhase>(); } },
10599
{ "quickRead", n => { QuickRead = n.GetObjectValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_quickRead>(global::RoxyApi.Biorhythm.Daily.DailyPostResponse_quickRead.CreateFromDiscriminatorValue); } },
106100
{ "seed", n => { Seed = n.GetStringValue(); } },
107101
{ "spotlight", n => { Spotlight = n.GetObjectValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight>(global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight.CreateFromDiscriminatorValue); } },
@@ -118,7 +112,7 @@ public virtual void Serialize(ISerializationWriter writer)
118112
writer.WriteStringValue("dailyMessage", DailyMessage);
119113
writer.WriteStringValue("date", Date);
120114
writer.WriteDoubleValue("energyRating", EnergyRating);
121-
writer.WriteStringValue("overallPhase", OverallPhase);
115+
writer.WriteEnumValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_overallPhase>("overallPhase", OverallPhase);
122116
writer.WriteObjectValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_quickRead>("quickRead", QuickRead);
123117
writer.WriteStringValue("seed", Seed);
124118
writer.WriteObjectValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight>("spotlight", Spotlight);
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// <auto-generated/>
2+
using System.Runtime.Serialization;
3+
using System;
4+
namespace RoxyApi.Biorhythm.Daily
5+
{
6+
/// <summary>Summary phase across every cycle for the day. One of: high_energy, mixed, recovery, critical.</summary>
7+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
8+
public enum DailyPostResponse_overallPhase
9+
{
10+
[EnumMember(Value = "high_energy")]
11+
#pragma warning disable CS1591
12+
High_energy,
13+
#pragma warning restore CS1591
14+
[EnumMember(Value = "mixed")]
15+
#pragma warning disable CS1591
16+
Mixed,
17+
#pragma warning restore CS1591
18+
[EnumMember(Value = "recovery")]
19+
#pragma warning disable CS1591
20+
Recovery,
21+
#pragma warning restore CS1591
22+
[EnumMember(Value = "critical")]
23+
#pragma warning disable CS1591
24+
Critical,
25+
#pragma warning restore CS1591
26+
}
27+
}

src/Generated/Biorhythm/Daily/DailyPostResponse_spotlight.cs

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@ public partial class DailyPostResponse_spotlight : IAdditionalDataHolder, IParsa
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>Which primary cycle is featured as the daily spotlight.</summary>
18-
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
19-
#nullable enable
20-
public string? Cycle { get; set; }
21-
#nullable restore
22-
#else
23-
public string Cycle { get; set; }
24-
#endif
17+
/// <summary>Which primary cycle is featured as the daily spotlight. One of: physical, emotional, intellectual.</summary>
18+
public global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight_cycle? Cycle { get; set; }
2519
/// <summary>Personalized message about the spotlight cycle and what it means for today.</summary>
2620
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
2721
#nullable enable
@@ -31,13 +25,7 @@ public partial class DailyPostResponse_spotlight : IAdditionalDataHolder, IParsa
3125
public string Message { get; set; }
3226
#endif
3327
/// <summary>Current phase of the spotlight cycle.</summary>
34-
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
35-
#nullable enable
36-
public string? Phase { get; set; }
37-
#nullable restore
38-
#else
39-
public string Phase { get; set; }
40-
#endif
28+
public global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight_phase? Phase { get; set; }
4129
/// <summary>Current value of the spotlight cycle (-100 to 100).</summary>
4230
public double? Value { get; set; }
4331
/// <summary>
@@ -65,9 +53,9 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
6553
{
6654
return new Dictionary<string, Action<IParseNode>>
6755
{
68-
{ "cycle", n => { Cycle = n.GetStringValue(); } },
56+
{ "cycle", n => { Cycle = n.GetEnumValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight_cycle>(); } },
6957
{ "message", n => { Message = n.GetStringValue(); } },
70-
{ "phase", n => { Phase = n.GetStringValue(); } },
58+
{ "phase", n => { Phase = n.GetEnumValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight_phase>(); } },
7159
{ "value", n => { Value = n.GetDoubleValue(); } },
7260
};
7361
}
@@ -78,9 +66,9 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
7866
public virtual void Serialize(ISerializationWriter writer)
7967
{
8068
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
81-
writer.WriteStringValue("cycle", Cycle);
69+
writer.WriteEnumValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight_cycle>("cycle", Cycle);
8270
writer.WriteStringValue("message", Message);
83-
writer.WriteStringValue("phase", Phase);
71+
writer.WriteEnumValue<global::RoxyApi.Biorhythm.Daily.DailyPostResponse_spotlight_phase>("phase", Phase);
8472
writer.WriteDoubleValue("value", Value);
8573
writer.WriteAdditionalData(AdditionalData);
8674
}

0 commit comments

Comments
 (0)