Skip to content

Commit ce18c37

Browse files
ariesclarkgithub-actions[bot]
authored andcommitted
Regenerated from spec
1 parent eee7b1a commit ce18c37

21 files changed

+241
-241
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.17.0
1+
7.18.0

vrchat_dart_generated/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ commit-access to the project. It also means we are very open and welcoming of ne
8383
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8484

8585
- API version: 1.20.6
86-
- Generator version: 7.17.0
86+
- Generator version: 7.18.0
8787
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
8888
For more information, please visit [https://github.com/VRChatAPI](https://github.com/VRChatAPI)
8989

@@ -133,7 +133,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
133133
try {
134134
final response = await api.cancelPending2FA();
135135
print(response);
136-
} catch on DioException (e) {
136+
} on DioException catch (e) {
137137
print("Exception when calling AuthenticationApi->cancelPending2FA: $e\n");
138138
}
139139

vrchat_dart_generated/doc/AuthenticationApi.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
5151
try {
5252
final response = api.cancelPending2FA();
5353
print(response);
54-
} catch on DioException (e) {
54+
} on DioException catch (e) {
5555
print('Exception when calling AuthenticationApi->cancelPending2FA: $e\n');
5656
}
5757
```
@@ -94,7 +94,7 @@ final String excludeUserId = excludeUserId_example; // String | Exclude by UserI
9494
try {
9595
final response = api.checkUserExists(email, displayName, username, excludeUserId);
9696
print(response);
97-
} catch on DioException (e) {
97+
} on DioException catch (e) {
9898
print('Exception when calling AuthenticationApi->checkUserExists: $e\n');
9999
}
100100
```
@@ -140,7 +140,7 @@ final String verifyEmail = eml_00000000-0000-0000-0000-000000000000; // String |
140140
141141
try {
142142
api.confirmEmail(id, verifyEmail);
143-
} catch on DioException (e) {
143+
} on DioException catch (e) {
144144
print('Exception when calling AuthenticationApi->confirmEmail: $e\n');
145145
}
146146
```
@@ -188,7 +188,7 @@ final CreateAvatarModerationRequest createAvatarModerationRequest = ; // CreateA
188188
try {
189189
final response = api.createGlobalAvatarModeration(createAvatarModerationRequest);
190190
print(response);
191-
} catch on DioException (e) {
191+
} on DioException catch (e) {
192192
print('Exception when calling AuthenticationApi->createGlobalAvatarModeration: $e\n');
193193
}
194194
```
@@ -236,7 +236,7 @@ final AvatarModerationType avatarModerationType = ; // AvatarModerationType | Th
236236
try {
237237
final response = api.deleteGlobalAvatarModeration(targetAvatarId, avatarModerationType);
238238
print(response);
239-
} catch on DioException (e) {
239+
} on DioException catch (e) {
240240
print('Exception when calling AuthenticationApi->deleteGlobalAvatarModeration: $e\n');
241241
}
242242
```
@@ -284,7 +284,7 @@ final String userId = userId_example; // String | Must be a valid user ID.
284284
try {
285285
final response = api.deleteUser(userId);
286286
print(response);
287-
} catch on DioException (e) {
287+
} on DioException catch (e) {
288288
print('Exception when calling AuthenticationApi->deleteUser: $e\n');
289289
}
290290
```
@@ -330,7 +330,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
330330
try {
331331
final response = api.disable2FA();
332332
print(response);
333-
} catch on DioException (e) {
333+
} on DioException catch (e) {
334334
print('Exception when calling AuthenticationApi->disable2FA: $e\n');
335335
}
336336
```
@@ -373,7 +373,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
373373
try {
374374
final response = api.enable2FA();
375375
print(response);
376-
} catch on DioException (e) {
376+
} on DioException catch (e) {
377377
print('Exception when calling AuthenticationApi->enable2FA: $e\n');
378378
}
379379
```
@@ -423,7 +423,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
423423
try {
424424
final response = api.getCurrentUser();
425425
print(response);
426-
} catch on DioException (e) {
426+
} on DioException catch (e) {
427427
print('Exception when calling AuthenticationApi->getCurrentUser: $e\n');
428428
}
429429
```
@@ -466,7 +466,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
466466
try {
467467
final response = api.getGlobalAvatarModerations();
468468
print(response);
469-
} catch on DioException (e) {
469+
} on DioException catch (e) {
470470
print('Exception when calling AuthenticationApi->getGlobalAvatarModerations: $e\n');
471471
}
472472
```
@@ -509,7 +509,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
509509
try {
510510
final response = api.getRecoveryCodes();
511511
print(response);
512-
} catch on DioException (e) {
512+
} on DioException catch (e) {
513513
print('Exception when calling AuthenticationApi->getRecoveryCodes: $e\n');
514514
}
515515
```
@@ -552,7 +552,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
552552
try {
553553
final response = api.logout();
554554
print(response);
555-
} catch on DioException (e) {
555+
} on DioException catch (e) {
556556
print('Exception when calling AuthenticationApi->logout: $e\n');
557557
}
558558
```
@@ -592,7 +592,7 @@ final RegisterUserAccountRequest registerUserAccountRequest = ; // RegisterUserA
592592
try {
593593
final response = api.registerUserAccount(registerUserAccountRequest);
594594
print(response);
595-
} catch on DioException (e) {
595+
} on DioException catch (e) {
596596
print('Exception when calling AuthenticationApi->registerUserAccount: $e\n');
597597
}
598598
```
@@ -638,7 +638,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
638638
try {
639639
final response = api.resendEmailConfirmation();
640640
print(response);
641-
} catch on DioException (e) {
641+
} on DioException catch (e) {
642642
print('Exception when calling AuthenticationApi->resendEmailConfirmation: $e\n');
643643
}
644644
```
@@ -682,7 +682,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode |
682682
try {
683683
final response = api.verify2FA(twoFactorAuthCode);
684684
print(response);
685-
} catch on DioException (e) {
685+
} on DioException catch (e) {
686686
print('Exception when calling AuthenticationApi->verify2FA: $e\n');
687687
}
688688
```
@@ -729,7 +729,7 @@ final TwoFactorEmailCode twoFactorEmailCode = ; // TwoFactorEmailCode |
729729
try {
730730
final response = api.verify2FAEmailCode(twoFactorEmailCode);
731731
print(response);
732-
} catch on DioException (e) {
732+
} on DioException catch (e) {
733733
print('Exception when calling AuthenticationApi->verify2FAEmailCode: $e\n');
734734
}
735735
```
@@ -775,7 +775,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
775775
try {
776776
final response = api.verifyAuthToken();
777777
print(response);
778-
} catch on DioException (e) {
778+
} on DioException catch (e) {
779779
print('Exception when calling AuthenticationApi->verifyAuthToken: $e\n');
780780
}
781781
```
@@ -815,7 +815,7 @@ final String userId = userId_example; // String | Filter by UserID.
815815
816816
try {
817817
api.verifyLoginPlace(token, userId);
818-
} catch on DioException (e) {
818+
} on DioException catch (e) {
819819
print('Exception when calling AuthenticationApi->verifyLoginPlace: $e\n');
820820
}
821821
```
@@ -863,7 +863,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode |
863863
try {
864864
final response = api.verifyPending2FA(twoFactorAuthCode);
865865
print(response);
866-
} catch on DioException (e) {
866+
} on DioException catch (e) {
867867
print('Exception when calling AuthenticationApi->verifyPending2FA: $e\n');
868868
}
869869
```
@@ -910,7 +910,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode |
910910
try {
911911
final response = api.verifyRecoveryCode(twoFactorAuthCode);
912912
print(response);
913-
} catch on DioException (e) {
913+
} on DioException catch (e) {
914914
print('Exception when calling AuthenticationApi->verifyRecoveryCode: $e\n');
915915
}
916916
```

vrchat_dart_generated/doc/AvatarsApi.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ final CreateAvatarRequest createAvatarRequest = ; // CreateAvatarRequest |
4646
try {
4747
final response = api.createAvatar(createAvatarRequest);
4848
print(response);
49-
} catch on DioException (e) {
49+
} on DioException catch (e) {
5050
print('Exception when calling AvatarsApi->createAvatar: $e\n');
5151
}
5252
```
@@ -93,7 +93,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID.
9393
try {
9494
final response = api.deleteAvatar(avatarId);
9595
print(response);
96-
} catch on DioException (e) {
96+
} on DioException catch (e) {
9797
print('Exception when calling AvatarsApi->deleteAvatar: $e\n');
9898
}
9999
```
@@ -139,7 +139,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID.
139139
140140
try {
141141
api.deleteImpostor(avatarId);
142-
} catch on DioException (e) {
142+
} on DioException catch (e) {
143143
print('Exception when calling AvatarsApi->deleteImpostor: $e\n');
144144
}
145145
```
@@ -186,7 +186,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID.
186186
try {
187187
final response = api.enqueueImpostor(avatarId);
188188
print(response);
189-
} catch on DioException (e) {
189+
} on DioException catch (e) {
190190
print('Exception when calling AvatarsApi->enqueueImpostor: $e\n');
191191
}
192192
```
@@ -233,7 +233,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID.
233233
try {
234234
final response = api.getAvatar(avatarId);
235235
print(response);
236-
} catch on DioException (e) {
236+
} on DioException catch (e) {
237237
print('Exception when calling AvatarsApi->getAvatar: $e\n');
238238
}
239239
```
@@ -275,7 +275,7 @@ final api = VrchatDartGenerated().getAvatarsApi();
275275
try {
276276
final response = api.getAvatarStyles();
277277
print(response);
278-
} catch on DioException (e) {
278+
} on DioException catch (e) {
279279
print('Exception when calling AvatarsApi->getAvatarStyles: $e\n');
280280
}
281281
```
@@ -331,7 +331,7 @@ final String userId = userId_example; // String | Target user to see information
331331
try {
332332
final response = api.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId);
333333
print(response);
334-
} catch on DioException (e) {
334+
} on DioException catch (e) {
335335
print('Exception when calling AvatarsApi->getFavoritedAvatars: $e\n');
336336
}
337337
```
@@ -389,7 +389,7 @@ final api = VrchatDartGenerated().getAvatarsApi();
389389
try {
390390
final response = api.getImpostorQueueStats();
391391
print(response);
392-
} catch on DioException (e) {
392+
} on DioException catch (e) {
393393
print('Exception when calling AvatarsApi->getImpostorQueueStats: $e\n');
394394
}
395395
```
@@ -434,7 +434,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort
434434
try {
435435
final response = api.getLicensedAvatars(n, offset);
436436
print(response);
437-
} catch on DioException (e) {
437+
} on DioException catch (e) {
438438
print('Exception when calling AvatarsApi->getLicensedAvatars: $e\n');
439439
}
440440
```
@@ -482,7 +482,7 @@ final String userId = userId_example; // String | Must be a valid user ID.
482482
try {
483483
final response = api.getOwnAvatar(userId);
484484
print(response);
485-
} catch on DioException (e) {
485+
} on DioException catch (e) {
486486
print('Exception when calling AvatarsApi->getOwnAvatar: $e\n');
487487
}
488488
```
@@ -541,7 +541,7 @@ final String platform = platform_example; // String | The platform the asset sup
541541
try {
542542
final response = api.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform);
543543
print(response);
544-
} catch on DioException (e) {
544+
} on DioException catch (e) {
545545
print('Exception when calling AvatarsApi->searchAvatars: $e\n');
546546
}
547547
```
@@ -600,7 +600,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID.
600600
try {
601601
final response = api.selectAvatar(avatarId);
602602
print(response);
603-
} catch on DioException (e) {
603+
} on DioException catch (e) {
604604
print('Exception when calling AvatarsApi->selectAvatar: $e\n');
605605
}
606606
```
@@ -647,7 +647,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID.
647647
try {
648648
final response = api.selectFallbackAvatar(avatarId);
649649
print(response);
650-
} catch on DioException (e) {
650+
} on DioException catch (e) {
651651
print('Exception when calling AvatarsApi->selectFallbackAvatar: $e\n');
652652
}
653653
```
@@ -695,7 +695,7 @@ final UpdateAvatarRequest updateAvatarRequest = ; // UpdateAvatarRequest |
695695
try {
696696
final response = api.updateAvatar(avatarId, updateAvatarRequest);
697697
print(response);
698-
} catch on DioException (e) {
698+
} on DioException catch (e) {
699699
print('Exception when calling AvatarsApi->updateAvatar: $e\n');
700700
}
701701
```

0 commit comments

Comments
 (0)