Skip to content

Commit c24ee1c

Browse files
committed
Upgrade .NET SDK to spec 2.20.8-nightly.9-hotfix.1
1 parent 6efc7fd commit c24ee1c

19 files changed

Lines changed: 548 additions & 548 deletions

src/VRChat.API/Api/AuthenticationApi.cs

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

src/VRChat.API/Api/AvatarsApi.cs

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

src/VRChat.API/Api/CalendarApi.cs

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

src/VRChat.API/Api/EconomyApi.cs

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

src/VRChat.API/Api/FavoritesApi.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ public VRChat.API.Client.ApiResponse<Favorite> AddFavoriteWithHttpInfo(AddFavori
712712
catch (VRChat.API.Client.ApiException ex)
713713
{
714714
// Return response with error information instead of throwing
715-
return new VRChat.API.Client.ApiResponse<Favorite>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Favorite), ex.Message);
715+
return new VRChat.API.Client.ApiResponse<Favorite>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Favorite), ex.Message);
716716
}
717717
}
718718

@@ -783,7 +783,7 @@ public async System.Threading.Tasks.Task<Favorite> AddFavoriteAsync(AddFavoriteR
783783
catch (VRChat.API.Client.ApiException ex)
784784
{
785785
// Return response with error information instead of throwing
786-
return new VRChat.API.Client.ApiResponse<Favorite>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Favorite), ex.Message);
786+
return new VRChat.API.Client.ApiResponse<Favorite>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Favorite), ex.Message);
787787
}
788788
}
789789

@@ -867,7 +867,7 @@ public VRChat.API.Client.ApiResponse<Success> ClearFavoriteGroupWithHttpInfo(str
867867
catch (VRChat.API.Client.ApiException ex)
868868
{
869869
// Return response with error information instead of throwing
870-
return new VRChat.API.Client.ApiResponse<Success>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
870+
return new VRChat.API.Client.ApiResponse<Success>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
871871
}
872872
}
873873

@@ -955,7 +955,7 @@ public async System.Threading.Tasks.Task<Success> ClearFavoriteGroupAsync(string
955955
catch (VRChat.API.Client.ApiException ex)
956956
{
957957
// Return response with error information instead of throwing
958-
return new VRChat.API.Client.ApiResponse<Success>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
958+
return new VRChat.API.Client.ApiResponse<Success>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
959959
}
960960
}
961961

@@ -1039,7 +1039,7 @@ public VRChat.API.Client.ApiResponse<FavoriteGroup> GetFavoriteGroupWithHttpInfo
10391039
catch (VRChat.API.Client.ApiException ex)
10401040
{
10411041
// Return response with error information instead of throwing
1042-
return new VRChat.API.Client.ApiResponse<FavoriteGroup>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteGroup), ex.Message);
1042+
return new VRChat.API.Client.ApiResponse<FavoriteGroup>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteGroup), ex.Message);
10431043
}
10441044
}
10451045

@@ -1127,7 +1127,7 @@ public async System.Threading.Tasks.Task<FavoriteGroup> GetFavoriteGroupAsync(st
11271127
catch (VRChat.API.Client.ApiException ex)
11281128
{
11291129
// Return response with error information instead of throwing
1130-
return new VRChat.API.Client.ApiResponse<FavoriteGroup>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteGroup), ex.Message);
1130+
return new VRChat.API.Client.ApiResponse<FavoriteGroup>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteGroup), ex.Message);
11311131
}
11321132
}
11331133

@@ -1214,7 +1214,7 @@ public VRChat.API.Client.ApiResponse<List<FavoriteGroup>> GetFavoriteGroupsWithH
12141214
catch (VRChat.API.Client.ApiException ex)
12151215
{
12161216
// Return response with error information instead of throwing
1217-
return new VRChat.API.Client.ApiResponse<List<FavoriteGroup>>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<FavoriteGroup>), ex.Message);
1217+
return new VRChat.API.Client.ApiResponse<List<FavoriteGroup>>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<FavoriteGroup>), ex.Message);
12181218
}
12191219
}
12201220

@@ -1305,7 +1305,7 @@ public async System.Threading.Tasks.Task<List<FavoriteGroup>> GetFavoriteGroupsA
13051305
catch (VRChat.API.Client.ApiException ex)
13061306
{
13071307
// Return response with error information instead of throwing
1308-
return new VRChat.API.Client.ApiResponse<List<FavoriteGroup>>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<FavoriteGroup>), ex.Message);
1308+
return new VRChat.API.Client.ApiResponse<List<FavoriteGroup>>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<FavoriteGroup>), ex.Message);
13091309
}
13101310
}
13111311

@@ -1368,7 +1368,7 @@ public VRChat.API.Client.ApiResponse<FavoriteLimits> GetFavoriteLimitsWithHttpIn
13681368
catch (VRChat.API.Client.ApiException ex)
13691369
{
13701370
// Return response with error information instead of throwing
1371-
return new VRChat.API.Client.ApiResponse<FavoriteLimits>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteLimits), ex.Message);
1371+
return new VRChat.API.Client.ApiResponse<FavoriteLimits>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteLimits), ex.Message);
13721372
}
13731373
}
13741374

@@ -1435,7 +1435,7 @@ public async System.Threading.Tasks.Task<FavoriteLimits> GetFavoriteLimitsAsync(
14351435
catch (VRChat.API.Client.ApiException ex)
14361436
{
14371437
// Return response with error information instead of throwing
1438-
return new VRChat.API.Client.ApiResponse<FavoriteLimits>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteLimits), ex.Message);
1438+
return new VRChat.API.Client.ApiResponse<FavoriteLimits>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(FavoriteLimits), ex.Message);
14391439
}
14401440
}
14411441

@@ -1522,7 +1522,7 @@ public VRChat.API.Client.ApiResponse<List<Favorite>> GetFavoritesWithHttpInfo(in
15221522
catch (VRChat.API.Client.ApiException ex)
15231523
{
15241524
// Return response with error information instead of throwing
1525-
return new VRChat.API.Client.ApiResponse<List<Favorite>>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<Favorite>), ex.Message);
1525+
return new VRChat.API.Client.ApiResponse<List<Favorite>>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<Favorite>), ex.Message);
15261526
}
15271527
}
15281528

@@ -1613,7 +1613,7 @@ public async System.Threading.Tasks.Task<List<Favorite>> GetFavoritesAsync(int?
16131613
catch (VRChat.API.Client.ApiException ex)
16141614
{
16151615
// Return response with error information instead of throwing
1616-
return new VRChat.API.Client.ApiResponse<List<Favorite>>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<Favorite>), ex.Message);
1616+
return new VRChat.API.Client.ApiResponse<List<Favorite>>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(List<Favorite>), ex.Message);
16171617
}
16181618
}
16191619

@@ -1683,7 +1683,7 @@ public VRChat.API.Client.ApiResponse<Success> RemoveFavoriteWithHttpInfo(string
16831683
catch (VRChat.API.Client.ApiException ex)
16841684
{
16851685
// Return response with error information instead of throwing
1686-
return new VRChat.API.Client.ApiResponse<Success>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
1686+
return new VRChat.API.Client.ApiResponse<Success>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
16871687
}
16881688
}
16891689

@@ -1757,7 +1757,7 @@ public async System.Threading.Tasks.Task<Success> RemoveFavoriteAsync(string fav
17571757
catch (VRChat.API.Client.ApiException ex)
17581758
{
17591759
// Return response with error information instead of throwing
1760-
return new VRChat.API.Client.ApiResponse<Success>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
1760+
return new VRChat.API.Client.ApiResponse<Success>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Success), ex.Message);
17611761
}
17621762
}
17631763

@@ -1843,7 +1843,7 @@ public VRChat.API.Client.ApiResponse<Object> UpdateFavoriteGroupWithHttpInfo(str
18431843
catch (VRChat.API.Client.ApiException ex)
18441844
{
18451845
// Return response with error information instead of throwing
1846-
return new VRChat.API.Client.ApiResponse<Object>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Object), ex.Message);
1846+
return new VRChat.API.Client.ApiResponse<Object>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Object), ex.Message);
18471847
}
18481848
}
18491849

@@ -1933,7 +1933,7 @@ public async System.Threading.Tasks.Task UpdateFavoriteGroupAsync(string favorit
19331933
catch (VRChat.API.Client.ApiException ex)
19341934
{
19351935
// Return response with error information instead of throwing
1936-
return new VRChat.API.Client.ApiResponse<Object>(ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Object), ex.Message);
1936+
return new VRChat.API.Client.ApiResponse<Object>((System.Net.HttpStatusCode)ex.ErrorCode, new VRChat.API.Client.Multimap<string, string>(), default(Object), ex.Message);
19371937
}
19381938
}
19391939

0 commit comments

Comments
 (0)