Skip to content

Commit 4bd611c

Browse files
committed
Upgrade .NET SDK to spec 2.20.8-nightly.15
1 parent 36728b9 commit 4bd611c

15 files changed

Lines changed: 726 additions & 41 deletions

‎.openapi-generator/FILES‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,19 @@ docs/Balance.md
4646
docs/BanGroupMemberRequest.md
4747
docs/BoopRequest.md
4848
docs/CalendarApi.md
49+
docs/CalendarDayOfWeek.md
4950
docs/CalendarEvent.md
5051
docs/CalendarEventAccess.md
5152
docs/CalendarEventCategory.md
5253
docs/CalendarEventDiscovery.md
5354
docs/CalendarEventDiscoveryInclusion.md
5455
docs/CalendarEventDiscoveryScope.md
56+
docs/CalendarEventFrequency.md
57+
docs/CalendarEventOccurrenceKind.md
5558
docs/CalendarEventPlatform.md
59+
docs/CalendarEventRecurrence.md
60+
docs/CalendarEventRecurrenceEnd.md
61+
docs/CalendarEventRecurrenceEndType.md
5662
docs/CalendarEventUserInterest.md
5763
docs/ChangeUserTagsRequest.md
5864
docs/ChangeWorldTagsRequest.md
@@ -419,13 +425,19 @@ src/VRChat.API/Model/Badge.cs
419425
src/VRChat.API/Model/Balance.cs
420426
src/VRChat.API/Model/BanGroupMemberRequest.cs
421427
src/VRChat.API/Model/BoopRequest.cs
428+
src/VRChat.API/Model/CalendarDayOfWeek.cs
422429
src/VRChat.API/Model/CalendarEvent.cs
423430
src/VRChat.API/Model/CalendarEventAccess.cs
424431
src/VRChat.API/Model/CalendarEventCategory.cs
425432
src/VRChat.API/Model/CalendarEventDiscovery.cs
426433
src/VRChat.API/Model/CalendarEventDiscoveryInclusion.cs
427434
src/VRChat.API/Model/CalendarEventDiscoveryScope.cs
435+
src/VRChat.API/Model/CalendarEventFrequency.cs
436+
src/VRChat.API/Model/CalendarEventOccurrenceKind.cs
428437
src/VRChat.API/Model/CalendarEventPlatform.cs
438+
src/VRChat.API/Model/CalendarEventRecurrence.cs
439+
src/VRChat.API/Model/CalendarEventRecurrenceEnd.cs
440+
src/VRChat.API/Model/CalendarEventRecurrenceEndType.cs
429441
src/VRChat.API/Model/CalendarEventUserInterest.cs
430442
src/VRChat.API/Model/ChangeUserTagsRequest.cs
431443
src/VRChat.API/Model/ChangeWorldTagsRequest.cs

‎package-lock.json‎

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@openapitools/openapi-generator-cli": "^2.31.1"
3+
"@openapitools/openapi-generator-cli": "^2.32.0"
44
}
55
}

‎src/VRChat.API/Client/Configuration.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Configuration : IReadableConfiguration
3333
/// Version of the package.
3434
/// </summary>
3535
/// <value>Version of the package.</value>
36-
public const string Version = "2.20.8-nightly.14";
36+
public const string Version = "2.20.8-nightly.15";
3737

3838
/// <summary>
3939
/// Identifier for ISO 8601 DateTime Format
@@ -540,7 +540,7 @@ public static string ToDebugReport()
540540
report += " OS: " + System.Environment.OSVersion + "\n";
541541
report += " .NET Framework Version: " + System.Environment.Version + "\n";
542542
report += " Version of the API: 1.20.7\n";
543-
report += " SDK Package Version: 2.20.8-nightly.14\n";
543+
report += " SDK Package Version: 2.20.8-nightly.15\n";
544544

545545
return report;
546546
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* VRChat API Documentation
3+
*
4+
*
5+
* The version of the OpenAPI document: 1.20.7
6+
* Contact: vrchatapi.lpv0t@aries.fyi
7+
* Generated by: https://github.com/openapitools/openapi-generator.git
8+
*/
9+
10+
11+
using System;
12+
using System.Collections;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Runtime.Serialization;
18+
using System.Text;
19+
using System.Text.RegularExpressions;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using Newtonsoft.Json.Linq;
23+
using System.ComponentModel.DataAnnotations;
24+
using FileParameter = VRChat.API.Client.FileParameter;
25+
using OpenAPIDateConverter = VRChat.API.Client.OpenAPIDateConverter;
26+
27+
namespace VRChat.API.Model
28+
{
29+
/// <summary>
30+
/// The day of the week, used for recurring events.
31+
/// </summary>
32+
/// <value>The day of the week, used for recurring events.</value>
33+
[JsonConverter(typeof(StringEnumConverter))]
34+
public enum CalendarDayOfWeek
35+
{
36+
/// <summary>
37+
/// Enum FR for value: FR
38+
/// </summary>
39+
[EnumMember(Value = "FR")]
40+
FR = 1,
41+
42+
/// <summary>
43+
/// Enum MO for value: MO
44+
/// </summary>
45+
[EnumMember(Value = "MO")]
46+
MO = 2,
47+
48+
/// <summary>
49+
/// Enum SA for value: SA
50+
/// </summary>
51+
[EnumMember(Value = "SA")]
52+
SA = 3,
53+
54+
/// <summary>
55+
/// Enum SU for value: SU
56+
/// </summary>
57+
[EnumMember(Value = "SU")]
58+
SU = 4,
59+
60+
/// <summary>
61+
/// Enum TH for value: TH
62+
/// </summary>
63+
[EnumMember(Value = "TH")]
64+
TH = 5,
65+
66+
/// <summary>
67+
/// Enum TU for value: TU
68+
/// </summary>
69+
[EnumMember(Value = "TU")]
70+
TU = 6,
71+
72+
/// <summary>
73+
/// Enum WE for value: WE
74+
/// </summary>
75+
[EnumMember(Value = "WE")]
76+
WE = 7
77+
}
78+
79+
}

‎src/VRChat.API/Model/CalendarEvent.cs‎

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ public partial class CalendarEvent : IEquatable<CalendarEvent>, IValidatableObje
4444
/// </summary>
4545
[DataMember(Name = "category", IsRequired = true, EmitDefaultValue = true)]
4646
public CalendarEventCategory Category { get; set; }
47+
48+
/// <summary>
49+
/// Gets or Sets OccurrenceKind
50+
/// </summary>
51+
[DataMember(Name = "occurrenceKind", EmitDefaultValue = false)]
52+
public CalendarEventOccurrenceKind? OccurrenceKind { get; set; }
4753
/// <summary>
4854
/// Initializes a new instance of the <see cref="CalendarEvent" /> class.
4955
/// </summary>
@@ -69,10 +75,10 @@ protected CalendarEvent() { }
6975
/// <param name="interestedUserCount">interestedUserCount.</param>
7076
/// <param name="isDraft">isDraft.</param>
7177
/// <param name="languages">Languages that might be spoken at this event.</param>
72-
/// <param name="occurrenceKind">So far if it exists, always the string \&quot;single\&quot;.</param>
78+
/// <param name="occurrenceKind">occurrenceKind.</param>
7379
/// <param name="ownerId">ownerId.</param>
7480
/// <param name="platforms">platforms.</param>
75-
/// <param name="recurrence">So far unused, always \&quot;null\&quot;.</param>
81+
/// <param name="recurrence">recurrence.</param>
7682
/// <param name="roleIds">Group roles that may join this event.</param>
7783
/// <param name="seriesId">So far unused, always \&quot;null\&quot;.</param>
7884
/// <param name="startsAt">startsAt (required).</param>
@@ -82,7 +88,7 @@ protected CalendarEvent() { }
8288
/// <param name="updatedAt">updatedAt.</param>
8389
/// <param name="userInterest">userInterest.</param>
8490
/// <param name="usesInstanceOverflow">usesInstanceOverflow.</param>
85-
public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCategory category = default, int closeInstanceAfterEndMinutes = default, DateTime createdAt = default, DateTime? deletedAt = default, string description = default, long durationInMs = default, DateTime endsAt = default, bool featured = default, int guestEarlyJoinMinutes = default, int hostEarlyJoinMinutes = default, string id = default, string imageId = default, string imageUrl = default, int interestedUserCount = default, bool isDraft = default, List<string> languages = default, string occurrenceKind = default, string ownerId = default, List<CalendarEventPlatform> platforms = default, string recurrence = default, List<string> roleIds = default, string seriesId = default, DateTime startsAt = default, List<string> tags = default, string title = default, string type = default, DateTime updatedAt = default, CalendarEventUserInterest userInterest = default, bool usesInstanceOverflow = default)
91+
public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCategory category = default, int closeInstanceAfterEndMinutes = default, DateTime createdAt = default, DateTime? deletedAt = default, string description = default, long durationInMs = default, DateTime endsAt = default, bool featured = default, int guestEarlyJoinMinutes = default, int hostEarlyJoinMinutes = default, string id = default, string imageId = default, string imageUrl = default, int interestedUserCount = default, bool isDraft = default, List<string> languages = default, CalendarEventOccurrenceKind? occurrenceKind = default, string ownerId = default, List<CalendarEventPlatform> platforms = default, CalendarEventRecurrence recurrence = default, List<string> roleIds = default, string seriesId = default, DateTime startsAt = default, List<string> tags = default, string title = default, string type = default, DateTime updatedAt = default, CalendarEventUserInterest userInterest = default, bool usesInstanceOverflow = default)
8692
{
8793
this.AccessType = accessType;
8894
this.Category = category;
@@ -216,13 +222,6 @@ public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCate
216222
[DataMember(Name = "languages", EmitDefaultValue = false)]
217223
public List<string> Languages { get; set; }
218224

219-
/// <summary>
220-
/// So far if it exists, always the string \&quot;single\&quot;
221-
/// </summary>
222-
/// <value>So far if it exists, always the string \&quot;single\&quot;</value>
223-
[DataMember(Name = "occurrenceKind", EmitDefaultValue = false)]
224-
public string OccurrenceKind { get; set; }
225-
226225
/// <summary>
227226
/// Gets or Sets OwnerId
228227
/// </summary>
@@ -239,11 +238,10 @@ public CalendarEvent(CalendarEventAccess accessType = default, CalendarEventCate
239238
public List<CalendarEventPlatform> Platforms { get; set; }
240239

241240
/// <summary>
242-
/// So far unused, always \&quot;null\&quot;
241+
/// Gets or Sets Recurrence
243242
/// </summary>
244-
/// <value>So far unused, always \&quot;null\&quot;</value>
245243
[DataMember(Name = "recurrence", EmitDefaultValue = true)]
246-
public string Recurrence { get; set; }
244+
public CalendarEventRecurrence Recurrence { get; set; }
247245

248246
/// <summary>
249247
/// Group roles that may join this event
@@ -457,8 +455,7 @@ public bool Equals(CalendarEvent input)
457455
) &&
458456
(
459457
this.OccurrenceKind == input.OccurrenceKind ||
460-
(this.OccurrenceKind != null &&
461-
this.OccurrenceKind.Equals(input.OccurrenceKind))
458+
this.OccurrenceKind.Equals(input.OccurrenceKind)
462459
) &&
463460
(
464461
this.OwnerId == input.OwnerId ||
@@ -574,10 +571,7 @@ public override int GetHashCode()
574571
{
575572
hashCode = (hashCode * 59) + this.Languages.GetHashCode();
576573
}
577-
if (this.OccurrenceKind != null)
578-
{
579-
hashCode = (hashCode * 59) + this.OccurrenceKind.GetHashCode();
580-
}
574+
hashCode = (hashCode * 59) + this.OccurrenceKind.GetHashCode();
581575
if (this.OwnerId != null)
582576
{
583577
hashCode = (hashCode * 59) + this.OwnerId.GetHashCode();
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
* VRChat API Documentation
3+
*
4+
*
5+
* The version of the OpenAPI document: 1.20.7
6+
* Contact: vrchatapi.lpv0t@aries.fyi
7+
* Generated by: https://github.com/openapitools/openapi-generator.git
8+
*/
9+
10+
11+
using System;
12+
using System.Collections;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Runtime.Serialization;
18+
using System.Text;
19+
using System.Text.RegularExpressions;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using Newtonsoft.Json.Linq;
23+
using System.ComponentModel.DataAnnotations;
24+
using FileParameter = VRChat.API.Client.FileParameter;
25+
using OpenAPIDateConverter = VRChat.API.Client.OpenAPIDateConverter;
26+
27+
namespace VRChat.API.Model
28+
{
29+
/// <summary>
30+
/// The time unit used to specify how often a recurring event occurs.
31+
/// </summary>
32+
/// <value>The time unit used to specify how often a recurring event occurs.</value>
33+
[JsonConverter(typeof(StringEnumConverter))]
34+
public enum CalendarEventFrequency
35+
{
36+
/// <summary>
37+
/// Enum Daily for value: daily
38+
/// </summary>
39+
[EnumMember(Value = "daily")]
40+
Daily = 1,
41+
42+
/// <summary>
43+
/// Enum Monthly for value: monthly
44+
/// </summary>
45+
[EnumMember(Value = "monthly")]
46+
Monthly = 2,
47+
48+
/// <summary>
49+
/// Enum Weekly for value: weekly
50+
/// </summary>
51+
[EnumMember(Value = "weekly")]
52+
Weekly = 3,
53+
54+
/// <summary>
55+
/// Enum Yearly for value: yearly
56+
/// </summary>
57+
[EnumMember(Value = "yearly")]
58+
Yearly = 4
59+
}
60+
61+
}

0 commit comments

Comments
 (0)