From ce18c3745bb6f83aa52081f63d4c06f3f1b1829d Mon Sep 17 00:00:00 2001 From: ariesclark <10256477+ariesclark@users.noreply.github.com> Date: Sat, 27 Dec 2025 09:35:02 +0000 Subject: [PATCH] Regenerated from spec --- .../.openapi-generator/VERSION | 2 +- vrchat_dart_generated/README.md | 4 +- .../doc/AuthenticationApi.md | 40 ++++----- vrchat_dart_generated/doc/AvatarsApi.md | 28 +++--- vrchat_dart_generated/doc/CalendarApi.md | 24 ++--- vrchat_dart_generated/doc/EconomyApi.md | 48 +++++----- vrchat_dart_generated/doc/FavoritesApi.md | 16 ++-- vrchat_dart_generated/doc/FilesApi.md | 34 +++---- vrchat_dart_generated/doc/FriendsApi.md | 12 +-- vrchat_dart_generated/doc/GroupsApi.md | 88 +++++++++---------- vrchat_dart_generated/doc/InstancesApi.md | 12 +-- vrchat_dart_generated/doc/InventoryApi.md | 24 ++--- vrchat_dart_generated/doc/InviteApi.md | 22 ++--- vrchat_dart_generated/doc/JamsApi.md | 6 +- vrchat_dart_generated/doc/MiscellaneousApi.md | 18 ++-- vrchat_dart_generated/doc/NotificationsApi.md | 12 +-- .../doc/PlayermoderationApi.md | 8 +- vrchat_dart_generated/doc/PrintsApi.md | 10 +-- vrchat_dart_generated/doc/PropsApi.md | 2 +- vrchat_dart_generated/doc/UsersApi.md | 42 ++++----- vrchat_dart_generated/doc/WorldsApi.md | 30 +++---- 21 files changed, 241 insertions(+), 241 deletions(-) diff --git a/vrchat_dart_generated/.openapi-generator/VERSION b/vrchat_dart_generated/.openapi-generator/VERSION index 6328c542..1b2d969d 100644 --- a/vrchat_dart_generated/.openapi-generator/VERSION +++ b/vrchat_dart_generated/.openapi-generator/VERSION @@ -1 +1 @@ -7.17.0 +7.18.0 diff --git a/vrchat_dart_generated/README.md b/vrchat_dart_generated/README.md index 3eb7406a..501a23dd 100644 --- a/vrchat_dart_generated/README.md +++ b/vrchat_dart_generated/README.md @@ -83,7 +83,7 @@ commit-access to the project. It also means we are very open and welcoming of ne This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.20.6 -- Generator version: 7.17.0 +- Generator version: 7.18.0 - Build package: org.openapitools.codegen.languages.DartDioClientCodegen For more information, please visit [https://github.com/VRChatAPI](https://github.com/VRChatAPI) @@ -133,7 +133,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = await api.cancelPending2FA(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print("Exception when calling AuthenticationApi->cancelPending2FA: $e\n"); } diff --git a/vrchat_dart_generated/doc/AuthenticationApi.md b/vrchat_dart_generated/doc/AuthenticationApi.md index 10c72b50..769aa4a5 100644 --- a/vrchat_dart_generated/doc/AuthenticationApi.md +++ b/vrchat_dart_generated/doc/AuthenticationApi.md @@ -51,7 +51,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.cancelPending2FA(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->cancelPending2FA: $e\n'); } ``` @@ -94,7 +94,7 @@ final String excludeUserId = excludeUserId_example; // String | Exclude by UserI try { final response = api.checkUserExists(email, displayName, username, excludeUserId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->checkUserExists: $e\n'); } ``` @@ -140,7 +140,7 @@ final String verifyEmail = eml_00000000-0000-0000-0000-000000000000; // String | try { api.confirmEmail(id, verifyEmail); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->confirmEmail: $e\n'); } ``` @@ -188,7 +188,7 @@ final CreateAvatarModerationRequest createAvatarModerationRequest = ; // CreateA try { final response = api.createGlobalAvatarModeration(createAvatarModerationRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->createGlobalAvatarModeration: $e\n'); } ``` @@ -236,7 +236,7 @@ final AvatarModerationType avatarModerationType = ; // AvatarModerationType | Th try { final response = api.deleteGlobalAvatarModeration(targetAvatarId, avatarModerationType); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->deleteGlobalAvatarModeration: $e\n'); } ``` @@ -284,7 +284,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.deleteUser(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->deleteUser: $e\n'); } ``` @@ -330,7 +330,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.disable2FA(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->disable2FA: $e\n'); } ``` @@ -373,7 +373,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.enable2FA(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->enable2FA: $e\n'); } ``` @@ -423,7 +423,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.getCurrentUser(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->getCurrentUser: $e\n'); } ``` @@ -466,7 +466,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.getGlobalAvatarModerations(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->getGlobalAvatarModerations: $e\n'); } ``` @@ -509,7 +509,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.getRecoveryCodes(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->getRecoveryCodes: $e\n'); } ``` @@ -552,7 +552,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.logout(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->logout: $e\n'); } ``` @@ -592,7 +592,7 @@ final RegisterUserAccountRequest registerUserAccountRequest = ; // RegisterUserA try { final response = api.registerUserAccount(registerUserAccountRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->registerUserAccount: $e\n'); } ``` @@ -638,7 +638,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.resendEmailConfirmation(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->resendEmailConfirmation: $e\n'); } ``` @@ -682,7 +682,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode | try { final response = api.verify2FA(twoFactorAuthCode); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->verify2FA: $e\n'); } ``` @@ -729,7 +729,7 @@ final TwoFactorEmailCode twoFactorEmailCode = ; // TwoFactorEmailCode | try { final response = api.verify2FAEmailCode(twoFactorEmailCode); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->verify2FAEmailCode: $e\n'); } ``` @@ -775,7 +775,7 @@ final api = VrchatDartGenerated().getAuthenticationApi(); try { final response = api.verifyAuthToken(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->verifyAuthToken: $e\n'); } ``` @@ -815,7 +815,7 @@ final String userId = userId_example; // String | Filter by UserID. try { api.verifyLoginPlace(token, userId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->verifyLoginPlace: $e\n'); } ``` @@ -863,7 +863,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode | try { final response = api.verifyPending2FA(twoFactorAuthCode); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->verifyPending2FA: $e\n'); } ``` @@ -910,7 +910,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode | try { final response = api.verifyRecoveryCode(twoFactorAuthCode); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AuthenticationApi->verifyRecoveryCode: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/AvatarsApi.md b/vrchat_dart_generated/doc/AvatarsApi.md index c0051803..185f0b52 100644 --- a/vrchat_dart_generated/doc/AvatarsApi.md +++ b/vrchat_dart_generated/doc/AvatarsApi.md @@ -46,7 +46,7 @@ final CreateAvatarRequest createAvatarRequest = ; // CreateAvatarRequest | try { final response = api.createAvatar(createAvatarRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->createAvatar: $e\n'); } ``` @@ -93,7 +93,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID. try { final response = api.deleteAvatar(avatarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->deleteAvatar: $e\n'); } ``` @@ -139,7 +139,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID. try { api.deleteImpostor(avatarId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->deleteImpostor: $e\n'); } ``` @@ -186,7 +186,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID. try { final response = api.enqueueImpostor(avatarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->enqueueImpostor: $e\n'); } ``` @@ -233,7 +233,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID. try { final response = api.getAvatar(avatarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->getAvatar: $e\n'); } ``` @@ -275,7 +275,7 @@ final api = VrchatDartGenerated().getAvatarsApi(); try { final response = api.getAvatarStyles(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->getAvatarStyles: $e\n'); } ``` @@ -331,7 +331,7 @@ final String userId = userId_example; // String | Target user to see information try { final response = api.getFavoritedAvatars(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->getFavoritedAvatars: $e\n'); } ``` @@ -389,7 +389,7 @@ final api = VrchatDartGenerated().getAvatarsApi(); try { final response = api.getImpostorQueueStats(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->getImpostorQueueStats: $e\n'); } ``` @@ -434,7 +434,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getLicensedAvatars(n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->getLicensedAvatars: $e\n'); } ``` @@ -482,7 +482,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getOwnAvatar(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->getOwnAvatar: $e\n'); } ``` @@ -541,7 +541,7 @@ final String platform = platform_example; // String | The platform the asset sup try { final response = api.searchAvatars(featured, sort, user, userId, n, order, offset, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->searchAvatars: $e\n'); } ``` @@ -600,7 +600,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID. try { final response = api.selectAvatar(avatarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->selectAvatar: $e\n'); } ``` @@ -647,7 +647,7 @@ final String avatarId = avatarId_example; // String | Must be a valid avatar ID. try { final response = api.selectFallbackAvatar(avatarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->selectFallbackAvatar: $e\n'); } ``` @@ -695,7 +695,7 @@ final UpdateAvatarRequest updateAvatarRequest = ; // UpdateAvatarRequest | try { final response = api.updateAvatar(avatarId, updateAvatarRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling AvatarsApi->updateAvatar: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/CalendarApi.md b/vrchat_dart_generated/doc/CalendarApi.md index 61f0b6c3..55c8055d 100644 --- a/vrchat_dart_generated/doc/CalendarApi.md +++ b/vrchat_dart_generated/doc/CalendarApi.md @@ -45,7 +45,7 @@ final CreateCalendarEventRequest createCalendarEventRequest = ; // CreateCalenda try { final response = api.createGroupCalendarEvent(groupId, createCalendarEventRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->createGroupCalendarEvent: $e\n'); } ``` @@ -94,7 +94,7 @@ final String calendarId = cal_00000000-0000-0000-0000-000000000000; // String | try { final response = api.deleteGroupCalendarEvent(groupId, calendarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->deleteGroupCalendarEvent: $e\n'); } ``` @@ -152,7 +152,7 @@ final String nextCursor = nextCursor_example; // String | Cursor returned from p try { final response = api.discoverCalendarEvents(scope, categories, tags, featuredResults, nonFeaturedResults, personalizedResults, minimumInterestCount, minimumRemainingMinutes, upcomingOffsetMinutes, n, nextCursor); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->discoverCalendarEvents: $e\n'); } ``` @@ -211,7 +211,7 @@ final FollowCalendarEventRequest followCalendarEventRequest = ; // FollowCalenda try { final response = api.followGroupCalendarEvent(groupId, calendarId, followCalendarEventRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->followGroupCalendarEvent: $e\n'); } ``` @@ -262,7 +262,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getCalendarEvents(date, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->getCalendarEvents: $e\n'); } ``` @@ -313,7 +313,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getFeaturedCalendarEvents(date, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->getFeaturedCalendarEvents: $e\n'); } ``` @@ -364,7 +364,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getFollowedCalendarEvents(date, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->getFollowedCalendarEvents: $e\n'); } ``` @@ -414,7 +414,7 @@ final String calendarId = cal_00000000-0000-0000-0000-000000000000; // String | try { final response = api.getGroupCalendarEvent(groupId, calendarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->getGroupCalendarEvent: $e\n'); } ``` @@ -459,7 +459,7 @@ final String calendarId = cal_00000000-0000-0000-0000-000000000000; // String | try { final response = api.getGroupCalendarEventICS(groupId, calendarId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->getGroupCalendarEventICS: $e\n'); } ``` @@ -510,7 +510,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getGroupCalendarEvents(groupId, date, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->getGroupCalendarEvents: $e\n'); } ``` @@ -563,7 +563,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.searchCalendarEvents(searchTerm, utcOffset, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->searchCalendarEvents: $e\n'); } ``` @@ -615,7 +615,7 @@ final UpdateCalendarEventRequest updateCalendarEventRequest = ; // UpdateCalenda try { final response = api.updateGroupCalendarEvent(groupId, calendarId, updateCalendarEventRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling CalendarApi->updateGroupCalendarEvent: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/EconomyApi.md b/vrchat_dart_generated/doc/EconomyApi.md index a77e688b..3a30bf77 100644 --- a/vrchat_dart_generated/doc/EconomyApi.md +++ b/vrchat_dart_generated/doc/EconomyApi.md @@ -55,7 +55,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getActiveLicenses(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getActiveLicenses: $e\n'); } ``` @@ -99,7 +99,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getBalance(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getBalance: $e\n'); } ``` @@ -146,7 +146,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getBalanceEarnings(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getBalanceEarnings: $e\n'); } ``` @@ -193,7 +193,7 @@ final bool mostRecent = true; // bool | try { final response = api.getBulkGiftPurchases(mostRecent); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getBulkGiftPurchases: $e\n'); } ``` @@ -239,7 +239,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getCurrentSubscriptions(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getCurrentSubscriptions: $e\n'); } ``` @@ -283,7 +283,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getEconomyAccount(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getEconomyAccount: $e\n'); } ``` @@ -330,7 +330,7 @@ final String licenseGroupId = licenseGroupId_example; // String | Must be a vali try { final response = api.getLicenseGroup(licenseGroupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getLicenseGroup: $e\n'); } ``` @@ -378,7 +378,7 @@ final bool hydrate = true; // bool | Populates some fields and changes types of try { final response = api.getProductListing(productId, hydrate); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getProductListing: $e\n'); } ``` @@ -426,7 +426,7 @@ final String productId = productId_example; // String | Must be a valid product try { final response = api.getProductListingAlternate(productId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getProductListingAlternate: $e\n'); } ``` @@ -478,7 +478,7 @@ final bool active = true; // bool | Filter for users' listings and inventory bun try { final response = api.getProductListings(userId, n, offset, hydrate, groupId, active); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getProductListings: $e\n'); } ``` @@ -535,7 +535,7 @@ final OrderOptionShort order = ; // OrderOptionShort | Result ordering try { final response = api.getProductPurchases(buyerId, n, offset, mostRecent, sort, order); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getProductPurchases: $e\n'); } ``` @@ -586,7 +586,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getRecentSubscription(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getRecentSubscription: $e\n'); } ``` @@ -630,7 +630,7 @@ final String transactionId = transactionId_example; // String | Must be a valid try { final response = api.getSteamTransaction(transactionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getSteamTransaction: $e\n'); } ``` @@ -676,7 +676,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getSteamTransactions(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getSteamTransactions: $e\n'); } ``` @@ -722,7 +722,7 @@ final bool hydrateProducts = true; // bool | Products fields will be populated. try { final response = api.getStore(storeId, hydrateListings, hydrateProducts); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getStore: $e\n'); } ``` @@ -773,7 +773,7 @@ final StoreView fetch = ; // StoreView | try { final response = api.getStoreShelves(storeId, hydrateListings, fetch); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getStoreShelves: $e\n'); } ``` @@ -821,7 +821,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getSubscriptions(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getSubscriptions: $e\n'); } ``` @@ -864,7 +864,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getTiliaStatus(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getTiliaStatus: $e\n'); } ``` @@ -908,7 +908,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getTiliaTos(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getTiliaTos: $e\n'); } ``` @@ -954,7 +954,7 @@ final api = VrchatDartGenerated().getEconomyApi(); try { final response = api.getTokenBundles(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getTokenBundles: $e\n'); } ``` @@ -999,7 +999,7 @@ final String subscriptionId = subscriptionId_example; // String | try { final response = api.getUserCreditsEligible(userId, subscriptionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getUserCreditsEligible: $e\n'); } ``` @@ -1048,7 +1048,7 @@ final String steamId = game night; // String | The Steam ID of the user. try { final response = api.getUserSubscriptionEligible(userId, steamId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->getUserSubscriptionEligible: $e\n'); } ``` @@ -1096,7 +1096,7 @@ final PurchaseProductListingRequest purchaseProductListingRequest = ; // Purchas try { final response = api.purchaseProductListing(purchaseProductListingRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->purchaseProductListing: $e\n'); } ``` @@ -1144,7 +1144,7 @@ final UpdateTiliaTOSRequest updateTiliaTOSRequest = ; // UpdateTiliaTOSRequest | try { final response = api.updateTiliaTos(userId, updateTiliaTOSRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling EconomyApi->updateTiliaTos: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/FavoritesApi.md b/vrchat_dart_generated/doc/FavoritesApi.md index e6bda0ef..cea94844 100644 --- a/vrchat_dart_generated/doc/FavoritesApi.md +++ b/vrchat_dart_generated/doc/FavoritesApi.md @@ -40,7 +40,7 @@ final AddFavoriteRequest addFavoriteRequest = {"type":"avatar","favoriteId":"avt try { final response = api.addFavorite(addFavoriteRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->addFavorite: $e\n'); } ``` @@ -89,7 +89,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.clearFavoriteGroup(favoriteGroupType, favoriteGroupName, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->clearFavoriteGroup: $e\n'); } ``` @@ -140,7 +140,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getFavoriteGroup(favoriteGroupType, favoriteGroupName, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->getFavoriteGroup: $e\n'); } ``` @@ -192,7 +192,7 @@ final String ownerId = ownerId_example; // String | The owner of whoms favorite try { final response = api.getFavoriteGroups(n, offset, userId, ownerId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->getFavoriteGroups: $e\n'); } ``` @@ -241,7 +241,7 @@ final api = VrchatDartGenerated().getFavoritesApi(); try { final response = api.getFavoriteLimits(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->getFavoriteLimits: $e\n'); } ``` @@ -288,7 +288,7 @@ final String tag = tag_example; // String | Tags to include (comma-separated). A try { final response = api.getFavorites(n, offset, type, tag); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->getFavorites: $e\n'); } ``` @@ -338,7 +338,7 @@ final String favoriteId = favoriteId_example; // String | Must be a valid favori try { final response = api.removeFavorite(favoriteId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->removeFavorite: $e\n'); } ``` @@ -387,7 +387,7 @@ final UpdateFavoriteGroupRequest updateFavoriteGroupRequest = ; // UpdateFavorit try { api.updateFavoriteGroup(favoriteGroupType, favoriteGroupName, userId, updateFavoriteGroupRequest); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FavoritesApi->updateFavoriteGroup: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/FilesApi.md b/vrchat_dart_generated/doc/FilesApi.md index 3bab29d6..88c5e02c 100644 --- a/vrchat_dart_generated/doc/FilesApi.md +++ b/vrchat_dart_generated/doc/FilesApi.md @@ -49,7 +49,7 @@ final CreateFileRequest createFileRequest = ; // CreateFileRequest | try { final response = api.createFile(createFileRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->createFile: $e\n'); } ``` @@ -97,7 +97,7 @@ final CreateFileVersionRequest createFileVersionRequest = ; // CreateFileVersion try { final response = api.createFileVersion(fileId, createFileVersionRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->createFileVersion: $e\n'); } ``` @@ -145,7 +145,7 @@ final String fileId = file_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.deleteFile(fileId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->deleteFile: $e\n'); } ``` @@ -193,7 +193,7 @@ final int versionId = 1; // int | Version ID of the asset. try { final response = api.deleteFileVersion(fileId, versionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->deleteFileVersion: $e\n'); } ``` @@ -242,7 +242,7 @@ final int versionId = 1; // int | Version ID of the asset. try { final response = api.downloadFileVersion(fileId, versionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->downloadFileVersion: $e\n'); } ``` @@ -293,7 +293,7 @@ final FinishFileDataUploadRequest finishFileDataUploadRequest = {"etags":["xxxxx try { final response = api.finishFileDataUpload(fileId, versionId, fileType, finishFileDataUploadRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->finishFileDataUpload: $e\n'); } ``` @@ -343,7 +343,7 @@ final String adminAssetBundleId = aab_e159e72c-ce54-4fbe-8c37-96af02f6d18d; // S try { final response = api.getAdminAssetBundle(adminAssetBundleId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getAdminAssetBundle: $e\n'); } ``` @@ -390,7 +390,7 @@ final String fileId = file_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.getFile(fileId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getFile: $e\n'); } ``` @@ -438,7 +438,7 @@ final int versionId = 1; // int | Version ID of the asset. try { final response = api.getFileAnalysis(fileId, versionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getFileAnalysis: $e\n'); } ``` @@ -487,7 +487,7 @@ final int versionId = 1; // int | Version ID of the asset. try { final response = api.getFileAnalysisSecurity(fileId, versionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getFileAnalysisSecurity: $e\n'); } ``` @@ -536,7 +536,7 @@ final int versionId = 1; // int | Version ID of the asset. try { final response = api.getFileAnalysisStandard(fileId, versionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getFileAnalysisStandard: $e\n'); } ``` @@ -586,7 +586,7 @@ final String fileType = file; // String | Type of file. try { final response = api.getFileDataUploadStatus(fileId, versionId, fileType); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getFileDataUploadStatus: $e\n'); } ``` @@ -638,7 +638,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getFiles(tag, userId, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->getFiles: $e\n'); } ``` @@ -691,7 +691,7 @@ final int partNumber = 1; // int | The part number to start uploading. If not pr try { final response = api.startFileDataUpload(fileId, versionId, fileType, partNumber); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->startFileDataUpload: $e\n'); } ``` @@ -741,7 +741,7 @@ final MultipartFile file = BINARY_DATA_HERE; // MultipartFile | The binary blob try { final response = api.uploadGalleryImage(file); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->uploadGalleryImage: $e\n'); } ``` @@ -788,7 +788,7 @@ final MultipartFile file = BINARY_DATA_HERE; // MultipartFile | The binary blob try { final response = api.uploadIcon(file); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->uploadIcon: $e\n'); } ``` @@ -840,7 +840,7 @@ final String maskTag = maskTag_example; // String | Mask of the sticker, optiona try { final response = api.uploadImage(file, tag, animationStyle, frames, framesOverTime, maskTag); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FilesApi->uploadImage: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/FriendsApi.md b/vrchat_dart_generated/doc/FriendsApi.md index fff4231a..fcf13467 100644 --- a/vrchat_dart_generated/doc/FriendsApi.md +++ b/vrchat_dart_generated/doc/FriendsApi.md @@ -39,7 +39,7 @@ final BoopRequest boopRequest = ; // BoopRequest | try { final response = api.boop(userId, boopRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FriendsApi->boop: $e\n'); } ``` @@ -87,7 +87,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.deleteFriendRequest(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FriendsApi->deleteFriendRequest: $e\n'); } ``` @@ -134,7 +134,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.friend(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FriendsApi->friend: $e\n'); } ``` @@ -181,7 +181,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getFriendStatus(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FriendsApi->getFriendStatus: $e\n'); } ``` @@ -230,7 +230,7 @@ final bool offline = true; // bool | Returns *only* offline users if true, retur try { final response = api.getFriends(offset, n, offline); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FriendsApi->getFriends: $e\n'); } ``` @@ -279,7 +279,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.unfriend(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling FriendsApi->unfriend: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/GroupsApi.md b/vrchat_dart_generated/doc/GroupsApi.md index d2e8438c..20b7f046 100644 --- a/vrchat_dart_generated/doc/GroupsApi.md +++ b/vrchat_dart_generated/doc/GroupsApi.md @@ -78,7 +78,7 @@ final AddGroupGalleryImageRequest addGroupGalleryImageRequest = ; // AddGroupGal try { final response = api.addGroupGalleryImage(groupId, groupGalleryId, addGroupGalleryImageRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->addGroupGalleryImage: $e\n'); } ``` @@ -129,7 +129,7 @@ final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String try { final response = api.addGroupMemberRole(groupId, userId, groupRoleId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->addGroupMemberRole: $e\n'); } ``` @@ -179,7 +179,7 @@ final CreateGroupPostRequest createGroupPostRequest = ; // CreateGroupPostReques try { final response = api.addGroupPost(groupId, createGroupPostRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->addGroupPost: $e\n'); } ``` @@ -228,7 +228,7 @@ final BanGroupMemberRequest banGroupMemberRequest = ; // BanGroupMemberRequest | try { final response = api.banGroupMember(groupId, banGroupMemberRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->banGroupMember: $e\n'); } ``` @@ -275,7 +275,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { api.cancelGroupRequest(groupId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->cancelGroupRequest: $e\n'); } ``` @@ -322,7 +322,7 @@ final CreateGroupRequest createGroupRequest = ; // CreateGroupRequest | try { final response = api.createGroup(createGroupRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->createGroup: $e\n'); } ``` @@ -370,7 +370,7 @@ final CreateGroupAnnouncementRequest createGroupAnnouncementRequest = ; // Creat try { final response = api.createGroupAnnouncement(groupId, createGroupAnnouncementRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->createGroupAnnouncement: $e\n'); } ``` @@ -419,7 +419,7 @@ final CreateGroupGalleryRequest createGroupGalleryRequest = ; // CreateGroupGall try { final response = api.createGroupGallery(groupId, createGroupGalleryRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->createGroupGallery: $e\n'); } ``` @@ -467,7 +467,7 @@ final CreateGroupInviteRequest createGroupInviteRequest = ; // CreateGroupInvite try { api.createGroupInvite(groupId, createGroupInviteRequest); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->createGroupInvite: $e\n'); } ``` @@ -516,7 +516,7 @@ final CreateGroupRoleRequest createGroupRoleRequest = ; // CreateGroupRoleReques try { final response = api.createGroupRole(groupId, createGroupRoleRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->createGroupRole: $e\n'); } ``` @@ -564,7 +564,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.deleteGroup(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroup: $e\n'); } ``` @@ -611,7 +611,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.deleteGroupAnnouncement(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroupAnnouncement: $e\n'); } ``` @@ -659,7 +659,7 @@ final String groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // Stri try { final response = api.deleteGroupGallery(groupId, groupGalleryId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroupGallery: $e\n'); } ``` @@ -709,7 +709,7 @@ final String groupGalleryImageId = ggim_00000000-0000-0000-0000-000000000000; // try { final response = api.deleteGroupGalleryImage(groupId, groupGalleryId, groupGalleryImageId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroupGalleryImage: $e\n'); } ``` @@ -758,7 +758,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { api.deleteGroupInvite(groupId, userId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroupInvite: $e\n'); } ``` @@ -807,7 +807,7 @@ final String notificationId = notificationId_example; // String | Must be a vali try { final response = api.deleteGroupPost(groupId, notificationId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroupPost: $e\n'); } ``` @@ -856,7 +856,7 @@ final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String try { final response = api.deleteGroupRole(groupId, groupRoleId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->deleteGroupRole: $e\n'); } ``` @@ -905,7 +905,7 @@ final bool includeRoles = true; // bool | Include roles for the Group object. De try { final response = api.getGroup(groupId, includeRoles); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroup: $e\n'); } ``` @@ -953,7 +953,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.getGroupAnnouncements(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupAnnouncements: $e\n'); } ``` @@ -1007,7 +1007,7 @@ final String targetIds = usr_00000000-0000-0000-0000-000000000000,usr_11111111-1 try { final response = api.getGroupAuditLogs(groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupAuditLogs: $e\n'); } ``` @@ -1063,7 +1063,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getGroupBans(groupId, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupBans: $e\n'); } ``` @@ -1116,7 +1116,7 @@ final bool approved = true; // bool | If specified, only returns images that hav try { final response = api.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupGalleryImages: $e\n'); } ``` @@ -1167,7 +1167,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.getGroupInstances(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupInstances: $e\n'); } ``` @@ -1216,7 +1216,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getGroupInvites(groupId, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupInvites: $e\n'); } ``` @@ -1266,7 +1266,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getGroupMember(groupId, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupMember: $e\n'); } ``` @@ -1318,7 +1318,7 @@ final String roleId = roleId_example; // String | Only returns members with a sp try { final response = api.getGroupMembers(groupId, n, offset, sort, roleId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupMembers: $e\n'); } ``` @@ -1369,7 +1369,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.getGroupPermissions(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupPermissions: $e\n'); } ``` @@ -1419,7 +1419,7 @@ final bool publicOnly = true; // bool | See public posts only. try { final response = api.getGroupPosts(groupId, n, offset, publicOnly); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupPosts: $e\n'); } ``` @@ -1472,7 +1472,7 @@ final bool blocked = true; // bool | See blocked join requests try { final response = api.getGroupRequests(groupId, n, offset, blocked); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupRequests: $e\n'); } ``` @@ -1521,7 +1521,7 @@ final api = VrchatDartGenerated().getGroupsApi(); try { final response = api.getGroupRoleTemplates(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupRoleTemplates: $e\n'); } ``` @@ -1565,7 +1565,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.getGroupRoles(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->getGroupRoles: $e\n'); } ``` @@ -1612,7 +1612,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.joinGroup(groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->joinGroup: $e\n'); } ``` @@ -1659,7 +1659,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { api.kickGroupMember(groupId, userId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->kickGroupMember: $e\n'); } ``` @@ -1706,7 +1706,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { api.leaveGroup(groupId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->leaveGroup: $e\n'); } ``` @@ -1755,7 +1755,7 @@ final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String try { final response = api.removeGroupMemberRole(groupId, userId, groupRoleId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->removeGroupMemberRole: $e\n'); } ``` @@ -1805,7 +1805,7 @@ final RespondGroupJoinRequest respondGroupJoinRequest = ; // RespondGroupJoinReq try { api.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->respondGroupJoinRequest: $e\n'); } ``` @@ -1852,7 +1852,7 @@ final int n = 56; // int | The number of objects to return. try { final response = api.searchGroups(query, offset, n); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->searchGroups: $e\n'); } ``` @@ -1902,7 +1902,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.unbanGroupMember(groupId, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->unbanGroupMember: $e\n'); } ``` @@ -1951,7 +1951,7 @@ final UpdateGroupRequest updateGroupRequest = ; // UpdateGroupRequest | try { final response = api.updateGroup(groupId, updateGroupRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->updateGroup: $e\n'); } ``` @@ -2001,7 +2001,7 @@ final UpdateGroupGalleryRequest updateGroupGalleryRequest = ; // UpdateGroupGall try { final response = api.updateGroupGallery(groupId, groupGalleryId, updateGroupGalleryRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->updateGroupGallery: $e\n'); } ``` @@ -2052,7 +2052,7 @@ final UpdateGroupMemberRequest updateGroupMemberRequest = ; // UpdateGroupMember try { final response = api.updateGroupMember(groupId, userId, updateGroupMemberRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->updateGroupMember: $e\n'); } ``` @@ -2103,7 +2103,7 @@ final CreateGroupPostRequest createGroupPostRequest = ; // CreateGroupPostReques try { final response = api.updateGroupPost(groupId, notificationId, createGroupPostRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->updateGroupPost: $e\n'); } ``` @@ -2153,7 +2153,7 @@ final UpdateGroupRepresentationRequest updateGroupRepresentationRequest = ; // U try { final response = api.updateGroupRepresentation(groupId, updateGroupRepresentationRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->updateGroupRepresentation: $e\n'); } ``` @@ -2203,7 +2203,7 @@ final UpdateGroupRoleRequest updateGroupRoleRequest = ; // UpdateGroupRoleReques try { final response = api.updateGroupRole(groupId, groupRoleId, updateGroupRoleRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling GroupsApi->updateGroupRole: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/InstancesApi.md b/vrchat_dart_generated/doc/InstancesApi.md index 7770d0fa..2a0e8f7b 100644 --- a/vrchat_dart_generated/doc/InstancesApi.md +++ b/vrchat_dart_generated/doc/InstancesApi.md @@ -41,7 +41,7 @@ final DateTime closedAt = 2013-10-20T19:20:30+01:00; // DateTime | The time afte try { final response = api.closeInstance(worldId, instanceId, hardClose, closedAt); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InstancesApi->closeInstance: $e\n'); } ``` @@ -91,7 +91,7 @@ final CreateInstanceRequest createInstanceRequest = ; // CreateInstanceRequest | try { final response = api.createInstance(createInstanceRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InstancesApi->createInstance: $e\n'); } ``` @@ -139,7 +139,7 @@ final String instanceId = instanceId_example; // String | Must be a valid instan try { final response = api.getInstance(worldId, instanceId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InstancesApi->getInstance: $e\n'); } ``` @@ -187,7 +187,7 @@ final String shortName = shortName_example; // String | Must be a valid instance try { final response = api.getInstanceByShortName(shortName); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InstancesApi->getInstanceByShortName: $e\n'); } ``` @@ -235,7 +235,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getRecentLocations(n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InstancesApi->getRecentLocations: $e\n'); } ``` @@ -284,7 +284,7 @@ final String instanceId = instanceId_example; // String | Must be a valid instan try { final response = api.getShortName(worldId, instanceId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InstancesApi->getShortName: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/InventoryApi.md b/vrchat_dart_generated/doc/InventoryApi.md index 1aecae84..5624611d 100644 --- a/vrchat_dart_generated/doc/InventoryApi.md +++ b/vrchat_dart_generated/doc/InventoryApi.md @@ -44,7 +44,7 @@ final String inventoryItemId = inv_00000000-0000-0000-0000-000000000000; // Stri try { final response = api.consumeOwnInventoryItem(inventoryItemId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->consumeOwnInventoryItem: $e\n'); } ``` @@ -91,7 +91,7 @@ final String inventoryItemId = inv_00000000-0000-0000-0000-000000000000; // Stri try { final response = api.deleteOwnInventoryItem(inventoryItemId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->deleteOwnInventoryItem: $e\n'); } ``` @@ -139,7 +139,7 @@ final EquipInventoryItemRequest equipInventoryItemRequest = ; // EquipInventoryI try { final response = api.equipOwnInventoryItem(inventoryItemId, equipInventoryItemRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->equipOwnInventoryItem: $e\n'); } ``` @@ -197,7 +197,7 @@ final bool archived = true; // bool | Filter archived status for inventory retri try { final response = api.getInventory(n, offset, holderId, equipSlot, order, tags, types, flags, notTypes, notFlags, archived); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->getInventory: $e\n'); } ``` @@ -254,7 +254,7 @@ final bool active = true; // bool | Filter for users' listings and inventory bun try { final response = api.getInventoryDrops(active); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->getInventoryDrops: $e\n'); } ``` @@ -301,7 +301,7 @@ final String inventoryTemplateId = invt_00000000-0000-0000-0000-000000000000; // try { final response = api.getInventoryTemplate(inventoryTemplateId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->getInventoryTemplate: $e\n'); } ``` @@ -348,7 +348,7 @@ final String inventoryItemId = inv_00000000-0000-0000-0000-000000000000; // Stri try { final response = api.getOwnInventoryItem(inventoryItemId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->getOwnInventoryItem: $e\n'); } ``` @@ -397,7 +397,7 @@ final ShareInventoryItemDirectRequest shareInventoryItemDirectRequest = ; // Sha try { final response = api.shareInventoryItemDirect(itemId, duration, shareInventoryItemDirectRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->shareInventoryItemDirect: $e\n'); } ``` @@ -447,7 +447,7 @@ final int duration = 56; // int | The duration before the sharing pedestal despa try { final response = api.shareInventoryItemPedestal(itemId, duration); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->shareInventoryItemPedestal: $e\n'); } ``` @@ -495,7 +495,7 @@ final String id = id_example; // String | Id for inventory item spawning. try { final response = api.spawnInventoryItem(id); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->spawnInventoryItem: $e\n'); } ``` @@ -542,7 +542,7 @@ final InventoryEquipSlot inventoryItemId = ; // InventoryEquipSlot | Selector fo try { final response = api.unequipOwnInventorySlot(inventoryItemId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->unequipOwnInventorySlot: $e\n'); } ``` @@ -590,7 +590,7 @@ final UpdateInventoryItemRequest updateInventoryItemRequest = ; // UpdateInvento try { final response = api.updateOwnInventoryItem(inventoryItemId, updateInventoryItemRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InventoryApi->updateOwnInventoryItem: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/InviteApi.md b/vrchat_dart_generated/doc/InviteApi.md index 66cd0ee6..30894b5c 100644 --- a/vrchat_dart_generated/doc/InviteApi.md +++ b/vrchat_dart_generated/doc/InviteApi.md @@ -45,7 +45,7 @@ final int slot = 56; // int | The message slot to fetch of a given message type. try { final response = api.getInviteMessage(userId, messageType, slot); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->getInviteMessage: $e\n'); } ``` @@ -95,7 +95,7 @@ final InviteMessageType messageType = ; // InviteMessageType | The type of messa try { final response = api.getInviteMessages(userId, messageType); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->getInviteMessages: $e\n'); } ``` @@ -144,7 +144,7 @@ final String instanceId = instanceId_example; // String | Must be a valid instan try { final response = api.inviteMyselfTo(worldId, instanceId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->inviteMyselfTo: $e\n'); } ``` @@ -193,7 +193,7 @@ final InviteRequest inviteRequest = ; // InviteRequest | Slot number of the Invi try { final response = api.inviteUser(userId, inviteRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->inviteUser: $e\n'); } ``` @@ -243,7 +243,7 @@ final MultipartFile image = BINARY_DATA_HERE; // MultipartFile | The binary blob try { final response = api.inviteUserWithPhoto(userId, data, image); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->inviteUserWithPhoto: $e\n'); } ``` @@ -293,7 +293,7 @@ final RequestInviteRequest requestInviteRequest = ; // RequestInviteRequest | Sl try { final response = api.requestInvite(userId, requestInviteRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->requestInvite: $e\n'); } ``` @@ -343,7 +343,7 @@ final MultipartFile image = BINARY_DATA_HERE; // MultipartFile | The binary blob try { final response = api.requestInviteWithPhoto(userId, data, image); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->requestInviteWithPhoto: $e\n'); } ``` @@ -394,7 +394,7 @@ final int slot = 56; // int | The message slot to fetch of a given message type. try { final response = api.resetInviteMessage(userId, messageType, slot); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->resetInviteMessage: $e\n'); } ``` @@ -444,7 +444,7 @@ final InviteResponse inviteResponse = ; // InviteResponse | Slot number of the R try { final response = api.respondInvite(notificationId, inviteResponse); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->respondInvite: $e\n'); } ``` @@ -494,7 +494,7 @@ final MultipartFile image = BINARY_DATA_HERE; // MultipartFile | The binary blob try { final response = api.respondInviteWithPhoto(notificationId, data, image); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->respondInviteWithPhoto: $e\n'); } ``` @@ -546,7 +546,7 @@ final UpdateInviteMessageRequest updateInviteMessageRequest = ; // UpdateInviteM try { final response = api.updateInviteMessage(userId, messageType, slot, updateInviteMessageRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling InviteApi->updateInviteMessage: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/JamsApi.md b/vrchat_dart_generated/doc/JamsApi.md index 08c08d29..5909478c 100644 --- a/vrchat_dart_generated/doc/JamsApi.md +++ b/vrchat_dart_generated/doc/JamsApi.md @@ -35,7 +35,7 @@ final String jamId = jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9; // String | Must try { final response = api.getJam(jamId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling JamsApi->getJam: $e\n'); } ``` @@ -82,7 +82,7 @@ final String jamId = jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9; // String | Must try { final response = api.getJamSubmissions(jamId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling JamsApi->getJamSubmissions: $e\n'); } ``` @@ -129,7 +129,7 @@ final String type = avatar; // String | Only show jams of this type (`avatar` or try { final response = api.getJams(type); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling JamsApi->getJams: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/MiscellaneousApi.md b/vrchat_dart_generated/doc/MiscellaneousApi.md index 775ba766..cfcad475 100644 --- a/vrchat_dart_generated/doc/MiscellaneousApi.md +++ b/vrchat_dart_generated/doc/MiscellaneousApi.md @@ -40,7 +40,7 @@ final api = VrchatDartGenerated().getMiscellaneousApi(); try { final response = api.getAssignedPermissions(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getAssignedPermissions: $e\n'); } ``` @@ -81,7 +81,7 @@ final String branch = branch_example; // String | Specifies which git branch the try { final response = api.getCSS(variant, branch); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getCSS: $e\n'); } ``` @@ -124,7 +124,7 @@ final api = VrchatDartGenerated().getMiscellaneousApi(); try { final response = api.getConfig(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getConfig: $e\n'); } ``` @@ -163,7 +163,7 @@ final api = VrchatDartGenerated().getMiscellaneousApi(); try { final response = api.getCurrentOnlineUsers(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getCurrentOnlineUsers: $e\n'); } ``` @@ -202,7 +202,7 @@ final api = VrchatDartGenerated().getMiscellaneousApi(); try { final response = api.getHealth(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getHealth: $e\n'); } ``` @@ -243,7 +243,7 @@ final String include = include_example; // String | Tags to include (comma-separ try { final response = api.getInfoPush(require, include); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getInfoPush: $e\n'); } ``` @@ -288,7 +288,7 @@ final String branch = branch_example; // String | Specifies which git branch the try { final response = api.getJavaScript(variant, branch); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getJavaScript: $e\n'); } ``` @@ -336,7 +336,7 @@ final String permissionId = permissionId_example; // String | Must be a valid pe try { final response = api.getPermission(permissionId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getPermission: $e\n'); } ``` @@ -378,7 +378,7 @@ final api = VrchatDartGenerated().getMiscellaneousApi(); try { final response = api.getSystemTime(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling MiscellaneousApi->getSystemTime: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/NotificationsApi.md b/vrchat_dart_generated/doc/NotificationsApi.md index 469767a5..84cd9d0c 100644 --- a/vrchat_dart_generated/doc/NotificationsApi.md +++ b/vrchat_dart_generated/doc/NotificationsApi.md @@ -38,7 +38,7 @@ final String notificationId = notificationId_example; // String | Must be a vali try { final response = api.acceptFriendRequest(notificationId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling NotificationsApi->acceptFriendRequest: $e\n'); } ``` @@ -84,7 +84,7 @@ final api = VrchatDartGenerated().getNotificationsApi(); try { final response = api.clearNotifications(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling NotificationsApi->clearNotifications: $e\n'); } ``` @@ -128,7 +128,7 @@ final String notificationId = notificationId_example; // String | Must be a vali try { final response = api.deleteNotification(notificationId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling NotificationsApi->deleteNotification: $e\n'); } ``` @@ -175,7 +175,7 @@ final String notificationId = notificationId_example; // String | Must be a vali try { final response = api.getNotification(notificationId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling NotificationsApi->getNotification: $e\n'); } ``` @@ -227,7 +227,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getNotifications(type, sent, hidden, after, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling NotificationsApi->getNotifications: $e\n'); } ``` @@ -279,7 +279,7 @@ final String notificationId = notificationId_example; // String | Must be a vali try { final response = api.markNotificationAsRead(notificationId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling NotificationsApi->markNotificationAsRead: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/PlayermoderationApi.md b/vrchat_dart_generated/doc/PlayermoderationApi.md index fb2cb474..757b9f72 100644 --- a/vrchat_dart_generated/doc/PlayermoderationApi.md +++ b/vrchat_dart_generated/doc/PlayermoderationApi.md @@ -35,7 +35,7 @@ final api = VrchatDartGenerated().getPlayermoderationApi(); try { final response = api.clearAllPlayerModerations(); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PlayermoderationApi->clearAllPlayerModerations: $e\n'); } ``` @@ -80,7 +80,7 @@ final String targetUserId = targetUserId_example; // String | Must be valid User try { final response = api.getPlayerModerations(type, targetUserId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PlayermoderationApi->getPlayerModerations: $e\n'); } ``` @@ -128,7 +128,7 @@ final ModerateUserRequest moderateUserRequest = ; // ModerateUserRequest | try { final response = api.moderateUser(moderateUserRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PlayermoderationApi->moderateUser: $e\n'); } ``` @@ -175,7 +175,7 @@ final ModerateUserRequest moderateUserRequest = ; // ModerateUserRequest | try { final response = api.unmoderateUser(moderateUserRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PlayermoderationApi->unmoderateUser: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/PrintsApi.md b/vrchat_dart_generated/doc/PrintsApi.md index 03e0a4a8..a0f74e88 100644 --- a/vrchat_dart_generated/doc/PrintsApi.md +++ b/vrchat_dart_generated/doc/PrintsApi.md @@ -36,7 +36,7 @@ final String printId = prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa; // String | Pr try { api.deletePrint(printId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PrintsApi->deletePrint: $e\n'); } ``` @@ -85,7 +85,7 @@ final String note = note_example; // String | The caption for the image. try { final response = api.editPrint(printId, image, note); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PrintsApi->editPrint: $e\n'); } ``` @@ -134,7 +134,7 @@ final String printId = prnt_0a0aa0a0-85ea-42eb-b2f7-4840d7f341fa; // String | Pr try { final response = api.getPrint(printId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PrintsApi->getPrint: $e\n'); } ``` @@ -181,7 +181,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getUserPrints(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PrintsApi->getUserPrints: $e\n'); } ``` @@ -232,7 +232,7 @@ final String worldName = worldName_example; // String | The name of the world in try { final response = api.uploadPrint(image, timestamp, note, worldId, worldName); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PrintsApi->uploadPrint: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/PropsApi.md b/vrchat_dart_generated/doc/PropsApi.md index 472b7393..d95c3e33 100644 --- a/vrchat_dart_generated/doc/PropsApi.md +++ b/vrchat_dart_generated/doc/PropsApi.md @@ -33,7 +33,7 @@ final String propId = prop_829ba6f6-b837-49d9-b9a9-056b82103b58; // String | Pro try { final response = api.getProp(propId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling PropsApi->getProp: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/UsersApi.md b/vrchat_dart_generated/doc/UsersApi.md index 3bc09850..503784b7 100644 --- a/vrchat_dart_generated/doc/UsersApi.md +++ b/vrchat_dart_generated/doc/UsersApi.md @@ -54,7 +54,7 @@ final ChangeUserTagsRequest changeUserTagsRequest = ; // ChangeUserTagsRequest | try { final response = api.addTags(userId, changeUserTagsRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->addTags: $e\n'); } ``` @@ -102,7 +102,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.checkUserPersistenceExists(userId, worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->checkUserPersistenceExists: $e\n'); } ``` @@ -150,7 +150,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.deleteUserPersistence(userId, worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->deleteUserPersistence: $e\n'); } ``` @@ -200,7 +200,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getMutualFriends(userId, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getMutualFriends: $e\n'); } ``` @@ -251,7 +251,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getMutualGroups(userId, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getMutualGroups: $e\n'); } ``` @@ -300,7 +300,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getMutuals(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getMutuals: $e\n'); } ``` @@ -347,7 +347,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getUser(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUser: $e\n'); } ``` @@ -394,7 +394,7 @@ final String username = username_example; // String | Username of the user try { final response = api.getUserByName(username); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserByName: $e\n'); } ``` @@ -444,7 +444,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getUserFeedback(userId, contentId, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserFeedback: $e\n'); } ``` @@ -494,7 +494,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getUserGroupInstances(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserGroupInstances: $e\n'); } ``` @@ -542,7 +542,7 @@ final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Mus try { final response = api.getUserGroupInstancesForGroup(userId, groupId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserGroupInstancesForGroup: $e\n'); } ``` @@ -590,7 +590,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getUserGroupRequests(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserGroupRequests: $e\n'); } ``` @@ -637,7 +637,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getUserGroups(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserGroups: $e\n'); } ``` @@ -684,7 +684,7 @@ final String userNoteId = userNoteId_example; // String | Must be a valid user n try { final response = api.getUserNote(userNoteId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserNote: $e\n'); } ``` @@ -732,7 +732,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.getUserNotes(n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserNotes: $e\n'); } ``` @@ -780,7 +780,7 @@ final String userId = userId_example; // String | Must be a valid user ID. try { final response = api.getUserRepresentedGroup(userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->getUserRepresentedGroup: $e\n'); } ``` @@ -828,7 +828,7 @@ final ChangeUserTagsRequest changeUserTagsRequest = ; // ChangeUserTagsRequest | try { final response = api.removeTags(userId, changeUserTagsRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->removeTags: $e\n'); } ``` @@ -879,7 +879,7 @@ final int offset = 56; // int | A zero-based offset from the default object sort try { final response = api.searchUsers(search, developerType, n, offset); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->searchUsers: $e\n'); } ``` @@ -930,7 +930,7 @@ final UpdateUserBadgeRequest updateUserBadgeRequest = ; // UpdateUserBadgeReques try { api.updateBadge(userId, badgeId, updateUserBadgeRequest); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->updateBadge: $e\n'); } ``` @@ -980,7 +980,7 @@ final UpdateUserRequest updateUserRequest = ; // UpdateUserRequest | try { final response = api.updateUser(userId, updateUserRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->updateUser: $e\n'); } ``` @@ -1028,7 +1028,7 @@ final UpdateUserNoteRequest updateUserNoteRequest = ; // UpdateUserNoteRequest | try { final response = api.updateUserNote(updateUserNoteRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling UsersApi->updateUserNote: $e\n'); } ``` diff --git a/vrchat_dart_generated/doc/WorldsApi.md b/vrchat_dart_generated/doc/WorldsApi.md index abe8fc74..479d4c64 100644 --- a/vrchat_dart_generated/doc/WorldsApi.md +++ b/vrchat_dart_generated/doc/WorldsApi.md @@ -47,7 +47,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.checkUserPersistenceExists(userId, worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->checkUserPersistenceExists: $e\n'); } ``` @@ -91,7 +91,7 @@ final CreateWorldRequest createWorldRequest = ; // CreateWorldRequest | try { final response = api.createWorld(createWorldRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->createWorld: $e\n'); } ``` @@ -138,7 +138,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.deleteUserPersistence(userId, worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->deleteUserPersistence: $e\n'); } ``` @@ -185,7 +185,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.deleteWorld(worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->deleteWorld: $e\n'); } ``` @@ -244,7 +244,7 @@ final String noplatform = noplatform_example; // String | The platform the asset try { final response = api.getActiveWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, noplatform); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getActiveWorlds: $e\n'); } ``` @@ -315,7 +315,7 @@ final String userId = userId_example; // String | Target user to see information try { final response = api.getFavoritedWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getFavoritedWorlds: $e\n'); } ``` @@ -386,7 +386,7 @@ final String userId = userId_example; // String | Target user to see information try { final response = api.getRecentWorlds(featured, sort, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, userId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getRecentWorlds: $e\n'); } ``` @@ -441,7 +441,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { final response = api.getWorld(worldId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getWorld: $e\n'); } ``` @@ -489,7 +489,7 @@ final String instanceId = instanceId_example; // String | Must be a valid instan try { final response = api.getWorldInstance(worldId, instanceId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getWorldInstance: $e\n'); } ``` @@ -537,7 +537,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { final response = api.getWorldMetadata(worldId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getWorldMetadata: $e\n'); } ``` @@ -584,7 +584,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { final response = api.getWorldPublishStatus(worldId); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->getWorldPublishStatus: $e\n'); } ``` @@ -630,7 +630,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.publishWorld(worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->publishWorld: $e\n'); } ``` @@ -693,7 +693,7 @@ final bool avatarSpecific = true; // bool | Only search for avatar worlds. try { final response = api.searchWorlds(featured, sort, user, userId, n, order, offset, search, tag, notag, releaseStatus, maxUnityVersion, minUnityVersion, platform, noplatform, fuzzy, avatarSpecific); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->searchWorlds: $e\n'); } ``` @@ -755,7 +755,7 @@ final String worldId = worldId_example; // String | Must be a valid world ID. try { api.unpublishWorld(worldId); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->unpublishWorld: $e\n'); } ``` @@ -803,7 +803,7 @@ final UpdateWorldRequest updateWorldRequest = ; // UpdateWorldRequest | try { final response = api.updateWorld(worldId, updateWorldRequest); print(response); -} catch on DioException (e) { +} on DioException catch (e) { print('Exception when calling WorldsApi->updateWorld: $e\n'); } ```